1
|
/*
|
2
|
* created by myrto
|
3
|
*/
|
4
|
|
5
|
import { NgModule } from '@angular/core';
|
6
|
import { SourcesRouting } from './sources.routing';
|
7
|
import { SourcesComponent } from './sources.component';
|
8
|
import { SourcesRegisterComponent } from './sources-register.component';
|
9
|
import { CommonModule } from '@angular/common';
|
10
|
import { TabsModule } from 'ngx-bootstrap';
|
11
|
import { SourcesUpdateComponent } from './sources-update.component';
|
12
|
import { SrLiteratureComponent } from './sources-register/sr-literature.component';
|
13
|
import { ReusableComponentsModule } from '../../shared/reusablecomponents/reusable-components.module';
|
14
|
import { SourcesUpdateRepoComponent } from './sources-update-repo.component';
|
15
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
16
|
import { RepoFilter } from './sourcesPipes';
|
17
|
import { DatasourceInterfaceFormComponent } from './sources-forms/datasource-interface-form.component';
|
18
|
import { SrDataComponent } from './sources-register/sr-data.component';
|
19
|
import { RegisterDatasourceShareableComponent } from './sources-register/register-datasource-shareable.component';
|
20
|
import { DatasourceUpdateFormComponent } from './sources-forms/datasource-update-form.component';
|
21
|
import { SrJournalComponent } from './sources-register/sr-journal.component';
|
22
|
import { SrAggregatorComponent } from './sources-register/sr-aggregator.component';
|
23
|
import { DatasourceCreateFormComponent } from './sources-forms/datasource-create-form.component';
|
24
|
import {ComponentLibraryModule} from "component-library";
|
25
|
|
26
|
@NgModule ({
|
27
|
imports: [
|
28
|
CommonModule,
|
29
|
TabsModule.forRoot(),
|
30
|
FormsModule,
|
31
|
ReactiveFormsModule,
|
32
|
SourcesRouting,
|
33
|
ReusableComponentsModule,
|
34
|
ComponentLibraryModule
|
35
|
],
|
36
|
entryComponents : [
|
37
|
DatasourceInterfaceFormComponent
|
38
|
],
|
39
|
declarations: [
|
40
|
SourcesComponent,
|
41
|
SourcesRegisterComponent,
|
42
|
SourcesUpdateComponent,
|
43
|
SrLiteratureComponent,
|
44
|
SrDataComponent,
|
45
|
SrJournalComponent,
|
46
|
SrAggregatorComponent,
|
47
|
SourcesUpdateRepoComponent,
|
48
|
RegisterDatasourceShareableComponent,
|
49
|
DatasourceUpdateFormComponent,
|
50
|
DatasourceCreateFormComponent,
|
51
|
DatasourceInterfaceFormComponent,
|
52
|
RepoFilter //a pipe that searches for string in repository name
|
53
|
]
|
54
|
})
|
55
|
|
56
|
export class SourcesModule {}
|