2022-02-14 17:02:00 +01:00
|
|
|
import {NgModule} from '@angular/core';
|
|
|
|
import {CommonModule} from '@angular/common';
|
|
|
|
import {FormsModule} from '@angular/forms';
|
|
|
|
import {RouterModule} from '@angular/router';
|
|
|
|
import {ErrorMessagesModule} from '../../utils/errorMessages.module';
|
2020-06-05 14:56:28 +02:00
|
|
|
import {PortalSearchResultComponent} from "./portal-search-result.component";
|
2019-04-05 19:21:23 +02:00
|
|
|
import {AlertModalModule} from "../../utils/modal/alertModal.module";
|
2019-04-08 16:53:09 +02:00
|
|
|
import {ManageModule} from "../../utils/manage/manage.module";
|
2020-11-02 17:55:05 +01:00
|
|
|
import {IconsModule} from "../../utils/icons/icons.module";
|
2021-03-04 14:24:20 +01:00
|
|
|
import {UrlPrefixModule} from "../../utils/pipes/url-prefix.module";
|
2021-10-19 14:20:30 +02:00
|
|
|
import {IconsService} from "../../utils/icons/icons.service";
|
2022-02-22 23:37:18 +01:00
|
|
|
import {incognito, restricted} from "../../utils/icons/icons";
|
2021-11-12 13:07:55 +01:00
|
|
|
import {LogoUrlPipeModule} from "../../utils/pipes/logoUrlPipe.module";
|
2019-04-05 19:21:23 +02:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
CommonModule, FormsModule,
|
|
|
|
RouterModule, ErrorMessagesModule,
|
2021-11-12 13:07:55 +01:00
|
|
|
AlertModalModule, ManageModule, IconsModule, UrlPrefixModule, LogoUrlPipeModule
|
2019-04-05 19:21:23 +02:00
|
|
|
],
|
|
|
|
declarations: [
|
2020-06-05 14:56:28 +02:00
|
|
|
PortalSearchResultComponent
|
2019-04-05 19:21:23 +02:00
|
|
|
],
|
|
|
|
providers:[
|
|
|
|
],
|
|
|
|
exports: [
|
2020-06-05 14:56:28 +02:00
|
|
|
PortalSearchResultComponent
|
2019-04-05 19:21:23 +02:00
|
|
|
]
|
|
|
|
})
|
2020-11-02 17:55:05 +01:00
|
|
|
export class PortalSearchResultModule {
|
2021-10-19 14:20:30 +02:00
|
|
|
constructor(private iconsService: IconsService) {
|
2022-02-22 23:37:18 +01:00
|
|
|
this.iconsService.registerIcons([incognito, restricted])
|
2021-10-19 14:20:30 +02:00
|
|
|
}
|
2020-11-02 17:55:05 +01:00
|
|
|
}
|