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"; import {FormsModule, ReactiveFormsModule} from "@angular/forms"; import {IndicatorsComponent} from "./indicators.component"; import {AlertModalModule} from "../openaireLibrary/utils/modal/alertModal.module"; import {InputModule} from "../openaireLibrary/sharedComponents/input/input.module"; import {ClickModule} from "../openaireLibrary/utils/click/click.module"; import {IconsService} from "../openaireLibrary/utils/icons/icons.service"; import { add, arrow_right, bullet, close, cloud_upload, done, earth, incognito, preview, refresh, restricted } from "../openaireLibrary/utils/icons/icons"; import {IconsModule} from "../openaireLibrary/utils/icons/icons.module"; import {PageContentModule} from "../openaireLibrary/dashboard/sharedComponents/page-content/page-content.module"; import {LoadingModule} from "../openaireLibrary/utils/loading/loading.module"; import {NotifyFormModule} from "../openaireLibrary/notifications/notify-form/notify-form.module"; @NgModule({ imports: [ CommonModule, TopicRoutingModule, ClickModule, RouterModule, FormsModule, AlertModalModule, ReactiveFormsModule, InputModule, IconsModule, PageContentModule, LoadingModule, NotifyFormModule ], declarations: [ TopicComponent, IndicatorsComponent ], providers: [ PreviousRouteRecorder, PiwikService ], exports: [ TopicComponent ] }) export class TopicModule { constructor(private iconsService: IconsService) { this.iconsService.registerIcons([preview, bullet, add, earth, incognito, restricted, refresh, close, arrow_right, done, cloud_upload]); } }