2019-06-11 15:52:12 +02:00
|
|
|
import {NgModule} from '@angular/core';
|
|
|
|
import {CommonModule} from '@angular/common';
|
2021-05-19 13:40:29 +02:00
|
|
|
import {FormsModule, ReactiveFormsModule} from '@angular/forms';
|
2019-06-11 15:52:12 +02:00
|
|
|
import {RouterModule} from '@angular/router';
|
|
|
|
|
|
|
|
import {AffiliationsComponent} from './affiliations.component';
|
|
|
|
|
|
|
|
import {AffiliationsRoutingModule} from './affiliations-routing.module';
|
|
|
|
import {AffiliationService} from '../../openaireLibrary/connect/affiliations/affiliation.service';
|
|
|
|
import {AlertModalModule} from '../../openaireLibrary/utils/modal/alertModal.module';
|
|
|
|
import {UtilitiesService} from '../../openaireLibrary/services/utilities.service';
|
2021-05-19 13:40:29 +02:00
|
|
|
import {InputModule} from "../../openaireLibrary/sharedComponents/input/input.module";
|
|
|
|
import {PageContentModule} from "../../openaireLibrary/dashboard/sharedComponents/page-content/page-content.module";
|
|
|
|
import {CommunityInfoModule} from "../community-info/community-info.module";
|
|
|
|
import {IconsModule} from "../../openaireLibrary/utils/icons/icons.module";
|
|
|
|
import {IconsService} from "../../openaireLibrary/utils/icons/icons.service";
|
|
|
|
import {add, edit, preview, remove} from "../../openaireLibrary/utils/icons/icons";
|
|
|
|
import {NoLoadPaging} from "../../openaireLibrary/searchPages/searchUtils/no-load-paging.module";
|
|
|
|
import {LoadingModule} from "../../openaireLibrary/utils/loading/loading.module";
|
|
|
|
import {UrlPrefixModule} from "../../openaireLibrary/utils/pipes/url-prefix.module";
|
|
|
|
import {HelpContentService} from "../../services/help-content.service";
|
2022-06-30 17:23:14 +02:00
|
|
|
import {PagingModule} from "../../openaireLibrary/utils/paging.module";
|
2019-06-11 15:52:12 +02:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
AffiliationsRoutingModule, CommonModule, FormsModule, RouterModule,
|
2022-06-30 17:23:14 +02:00
|
|
|
AlertModalModule, ReactiveFormsModule, InputModule, PageContentModule, CommunityInfoModule, IconsModule, NoLoadPaging, LoadingModule, UrlPrefixModule, PagingModule
|
2019-06-11 15:52:12 +02:00
|
|
|
],
|
|
|
|
declarations: [
|
|
|
|
AffiliationsComponent
|
|
|
|
],
|
|
|
|
providers: [
|
2021-05-19 13:40:29 +02:00
|
|
|
AffiliationService, UtilitiesService, HelpContentService
|
2019-06-11 15:52:12 +02:00
|
|
|
],
|
|
|
|
exports: [
|
|
|
|
AffiliationsComponent
|
|
|
|
]
|
|
|
|
})
|
|
|
|
|
2021-05-19 13:40:29 +02:00
|
|
|
export class AffiliationsModule {
|
|
|
|
|
|
|
|
constructor(private iconsService: IconsService) {
|
2022-06-30 12:41:36 +02:00
|
|
|
this.iconsService.registerIcons([add, preview, remove])
|
2021-05-19 13:40:29 +02:00
|
|
|
}
|
|
|
|
}
|