1
|
import { NgModule } from '@angular/core';
|
2
|
import { SourcesRouting } from './sources.routing';
|
3
|
import { SourcesComponent } from './sources.component';
|
4
|
import { SourcesRegisterComponent } from './sources-register.component';
|
5
|
import { CommonModule } from '@angular/common';
|
6
|
import { TabsModule } from 'ngx-bootstrap';
|
7
|
import { SrLiteratureComponent } from './sources-register/sr-literature.component';
|
8
|
import { ReusableComponentsModule } from '../../shared/reusablecomponents/reusable-components.module';
|
9
|
import { FormsModule, ReactiveFormsModule } from '@angular/forms';
|
10
|
import { RepoFilter } from './sourcesPipes';
|
11
|
import { SrDataComponent } from './sources-register/sr-data.component';
|
12
|
import { RegisterDatasourceSelectExistingComponent } from './sources-register/register-datasource-select-existing.component';
|
13
|
import { SrJournalComponent } from './sources-register/sr-journal.component';
|
14
|
import { SrAggregatorComponent } from './sources-register/sr-aggregator.component';
|
15
|
import { RegisterNewDatasourceComponent } from './sources-register/register-new-datasource.component';
|
16
|
import { RegisterExistingDatasourceComponent } from './sources-register/register-existing-datasource.component';
|
17
|
import { DatasourceUpdateTermsFormComponent } from '../../shared/reusablecomponents/sources-forms/datasource-update-terms-form.component';
|
18
|
|
19
|
@NgModule ({
|
20
|
imports: [
|
21
|
CommonModule,
|
22
|
TabsModule.forRoot(),
|
23
|
FormsModule,
|
24
|
ReactiveFormsModule,
|
25
|
SourcesRouting,
|
26
|
ReusableComponentsModule
|
27
|
],
|
28
|
exports: [
|
29
|
DatasourceUpdateTermsFormComponent
|
30
|
],
|
31
|
declarations: [
|
32
|
SourcesComponent,
|
33
|
SourcesRegisterComponent,
|
34
|
RegisterNewDatasourceComponent,
|
35
|
RegisterExistingDatasourceComponent,
|
36
|
SrLiteratureComponent,
|
37
|
SrDataComponent,
|
38
|
SrJournalComponent,
|
39
|
SrAggregatorComponent,
|
40
|
RegisterDatasourceSelectExistingComponent,
|
41
|
DatasourceUpdateTermsFormComponent,
|
42
|
RepoFilter // a pipe that searches for string in repository name
|
43
|
]
|
44
|
})
|
45
|
|
46
|
export class SourcesModule {}
|