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 { DatasourceNewInterfaceFormComponent } from './sources-forms/datasource-new-interface-form.component';
|
19
|
import { SrDataComponent } from './sources-register/sr-data.component';
|
20
|
import { RegisterDatasourceSelectExistingComponent } from './sources-register/register-datasource-select-existing.component';
|
21
|
import { DatasourceUpdateFormComponent } from './sources-forms/datasource-update-form.component';
|
22
|
import { SrJournalComponent } from './sources-register/sr-journal.component';
|
23
|
import { SrAggregatorComponent } from './sources-register/sr-aggregator.component';
|
24
|
import { DatasourceCreateFormComponent } from './sources-forms/datasource-create-form.component';
|
25
|
import { RegisterNewDatasourceComponent } from './sources-register/register-new-datasource.component';
|
26
|
import { RegisterExistingDatasourceComponent } from './sources-register/register-existing-datasource.component';
|
27
|
|
28
|
@NgModule ({
|
29
|
imports: [
|
30
|
CommonModule,
|
31
|
TabsModule.forRoot(),
|
32
|
FormsModule,
|
33
|
ReactiveFormsModule,
|
34
|
SourcesRouting,
|
35
|
ReusableComponentsModule
|
36
|
],
|
37
|
entryComponents : [
|
38
|
DatasourceInterfaceFormComponent
|
39
|
],
|
40
|
declarations: [
|
41
|
SourcesComponent,
|
42
|
SourcesRegisterComponent,
|
43
|
SourcesUpdateComponent,
|
44
|
RegisterNewDatasourceComponent,
|
45
|
RegisterExistingDatasourceComponent,
|
46
|
SrLiteratureComponent,
|
47
|
SrDataComponent,
|
48
|
SrJournalComponent,
|
49
|
SrAggregatorComponent,
|
50
|
SourcesUpdateRepoComponent,
|
51
|
RegisterDatasourceSelectExistingComponent,
|
52
|
DatasourceUpdateFormComponent,
|
53
|
DatasourceCreateFormComponent,
|
54
|
DatasourceInterfaceFormComponent,
|
55
|
DatasourceNewInterfaceFormComponent,
|
56
|
RepoFilter // a pipe that searches for string in repository name
|
57
|
]
|
58
|
})
|
59
|
|
60
|
export class SourcesModule {}
|