2019-11-04 12:50:25 +01:00
|
|
|
import {NgModule} from '@angular/core';
|
|
|
|
import {CommonModule} from '@angular/common';
|
|
|
|
|
|
|
|
import {PreviousRouteRecorder} from '../openaireLibrary/utils/piwik/previousRouteRecorder.guard';
|
|
|
|
|
|
|
|
import {PiwikService} from '../openaireLibrary/utils/piwik/piwik.service';
|
|
|
|
import {TopicComponent} from "./topic.component";
|
|
|
|
import {TopicRoutingModule} from "./topic-routing.module";
|
|
|
|
import {RouterModule} from "@angular/router";
|
2019-11-19 15:25:19 +01:00
|
|
|
import {FormsModule, ReactiveFormsModule} from "@angular/forms";
|
2019-11-08 16:47:47 +01:00
|
|
|
import {IndicatorsComponent} from "./indicators.component";
|
2019-11-12 16:55:37 +01:00
|
|
|
import {AlertModalModule} from "../openaireLibrary/utils/modal/alertModal.module";
|
2020-11-12 18:57:57 +01:00
|
|
|
import {InputModule} from "../openaireLibrary/sharedComponents/input/input.module";
|
2019-12-15 14:17:01 +01:00
|
|
|
import {ClickModule} from "../openaireLibrary/utils/click/click.module";
|
2020-10-23 15:58:16 +02:00
|
|
|
import {IconsService} from "../openaireLibrary/utils/icons/icons.service";
|
2020-11-04 14:30:22 +01:00
|
|
|
import {
|
|
|
|
add,
|
2022-03-08 19:55:01 +01:00
|
|
|
arrow_right,
|
|
|
|
bullet,
|
|
|
|
close,
|
|
|
|
cloud_upload,
|
|
|
|
done,
|
2020-11-04 14:30:22 +01:00
|
|
|
earth,
|
2022-03-08 19:55:01 +01:00
|
|
|
incognito,
|
|
|
|
preview,
|
2020-11-04 14:30:22 +01:00
|
|
|
refresh,
|
2022-03-08 19:55:01 +01:00
|
|
|
restricted
|
2020-11-04 14:30:22 +01:00
|
|
|
} from "../openaireLibrary/utils/icons/icons";
|
2020-10-23 15:58:16 +02:00
|
|
|
import {IconsModule} from "../openaireLibrary/utils/icons/icons.module";
|
2020-11-01 16:41:56 +01:00
|
|
|
import {PageContentModule} from "../openaireLibrary/dashboard/sharedComponents/page-content/page-content.module";
|
2020-11-05 00:11:00 +01:00
|
|
|
import {LoadingModule} from "../openaireLibrary/utils/loading/loading.module";
|
2021-03-04 12:35:10 +01:00
|
|
|
import {NotifyFormModule} from "../openaireLibrary/notifications/notify-form/notify-form.module";
|
2019-11-04 12:50:25 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
2019-12-15 14:17:01 +01:00
|
|
|
CommonModule, TopicRoutingModule, ClickModule, RouterModule, FormsModule, AlertModalModule,
|
2021-03-04 12:35:10 +01:00
|
|
|
ReactiveFormsModule, InputModule, IconsModule, PageContentModule, LoadingModule, NotifyFormModule
|
2019-11-04 12:50:25 +01:00
|
|
|
],
|
|
|
|
declarations: [
|
2019-11-08 16:47:47 +01:00
|
|
|
TopicComponent, IndicatorsComponent
|
2019-11-04 12:50:25 +01:00
|
|
|
],
|
|
|
|
providers: [
|
2021-03-01 19:26:58 +01:00
|
|
|
PreviousRouteRecorder,
|
2019-11-04 12:50:25 +01:00
|
|
|
PiwikService
|
|
|
|
],
|
|
|
|
exports: [
|
|
|
|
TopicComponent
|
|
|
|
]
|
|
|
|
})
|
|
|
|
export class TopicModule {
|
2020-10-23 15:58:16 +02:00
|
|
|
constructor(private iconsService: IconsService) {
|
2022-03-08 19:55:01 +01:00
|
|
|
this.iconsService.registerIcons([preview, bullet, add, earth, incognito, restricted, refresh, close, arrow_right, done, cloud_upload]);
|
2020-10-23 15:58:16 +02:00
|
|
|
}
|
2019-11-04 12:50:25 +01:00
|
|
|
}
|