1
|
import {NgModule} from '@angular/core';
|
2
|
import {CommonModule} from '@angular/common';
|
3
|
import {RouterModule} from '@angular/router';
|
4
|
|
5
|
import {AnalyticsComponent} from './analytics.component';
|
6
|
import {MatAutocompleteModule} from '@angular/material/autocomplete';
|
7
|
import {ReactiveFormsModule} from '@angular/forms';
|
8
|
import {MatFormFieldModule} from '@angular/material/form-field';
|
9
|
import {MatInputModule} from '@angular/material/input';
|
10
|
import {Schema2jsonldModule} from '../openaireLibrary/sharedComponents/schema2jsonld/schema2jsonld.module';
|
11
|
import {IconsModule} from '../openaireLibrary/utils/icons/icons.module';
|
12
|
import {IconsService} from '../openaireLibrary/utils/icons/icons.service';
|
13
|
import {arrow_down} from '../openaireLibrary/utils/icons/icons';
|
14
|
import {LoadingModule} from '../openaireLibrary/utils/loading/loading.module';
|
15
|
import {SearchInputModule} from '../openaireLibrary/sharedComponents/search-input/search-input.module';
|
16
|
|
17
|
@NgModule({
|
18
|
imports: [
|
19
|
CommonModule,
|
20
|
ReactiveFormsModule,
|
21
|
RouterModule.forChild([{
|
22
|
path: '', component: AnalyticsComponent
|
23
|
}]),
|
24
|
Schema2jsonldModule,
|
25
|
IconsModule,
|
26
|
LoadingModule,
|
27
|
SearchInputModule
|
28
|
],
|
29
|
declarations: [AnalyticsComponent],
|
30
|
exports: [AnalyticsComponent]
|
31
|
})
|
32
|
export class AnalyticsModule {
|
33
|
constructor(private iconsService: IconsService) {
|
34
|
this.iconsService.registerIcons([arrow_down]);
|
35
|
}
|
36
|
}
|