2017-12-19 13:53:46 +01:00
|
|
|
/* This module contains all common components for Publication & Daasets Landing Pages */
|
|
|
|
import { NgModule} from '@angular/core';
|
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
import { FormsModule } from '@angular/forms';
|
|
|
|
import { RouterModule } from '@angular/router';
|
|
|
|
import {PagingModule} from '../../utils/paging.module';
|
|
|
|
import {ShowIdentifiersComponent} from './showIdentifiers.component';
|
|
|
|
import {ShowSubjectsComponent} from './showSubjects.component';
|
|
|
|
import {FundedByComponent} from './fundedBy.component';
|
|
|
|
import {AvailableOnComponent} from './availableOn.component';
|
|
|
|
import {TabTableComponent} from './tabTable.component';
|
2019-05-22 17:04:10 +02:00
|
|
|
import {ShowPublisherComponent} from "./showPublisher.component";
|
2019-05-27 12:36:09 +02:00
|
|
|
import {ShowPublisherModule} from "./showPublisher.module";
|
2019-10-02 16:20:34 +02:00
|
|
|
import {RelatedToComponent} from "./relatedTo.component";
|
2022-04-12 14:15:04 +02:00
|
|
|
import {FosComponent} from "./fos.component";
|
|
|
|
import {SdgComponent} from "./sdg.component";
|
|
|
|
import {IconsModule} from "../../utils/icons/icons.module";
|
2022-04-16 09:47:30 +02:00
|
|
|
import {AlertModalModule} from "../../utils/modal/alertModal.module";
|
2023-02-16 11:59:18 +01:00
|
|
|
import { SearchInputModule } from '../../sharedComponents/search-input/search-input.module';
|
2023-02-17 18:40:05 +01:00
|
|
|
import {EntityMetadataComponent} from "./entity-metadata.component";
|
|
|
|
import {IconsService} from "../../utils/icons/icons.service";
|
2023-05-08 09:53:38 +02:00
|
|
|
import {closed_access, open_access, unknown_access} from "../../utils/icons/icons";
|
2023-02-21 15:10:21 +01:00
|
|
|
import {FullScreenModalModule} from "../../utils/modal/full-screen-modal/full-screen-modal.module";
|
2019-05-27 12:36:09 +02:00
|
|
|
|
2017-12-19 13:53:46 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
2023-02-16 11:59:18 +01:00
|
|
|
CommonModule, FormsModule, RouterModule, PagingModule, ShowPublisherModule, IconsModule, AlertModalModule,
|
2023-02-21 15:10:21 +01:00
|
|
|
SearchInputModule, FullScreenModalModule
|
2017-12-19 13:53:46 +01:00
|
|
|
],
|
|
|
|
declarations: [
|
2019-05-29 14:24:43 +02:00
|
|
|
ShowIdentifiersComponent,ShowSubjectsComponent,
|
2021-04-20 17:18:15 +02:00
|
|
|
FundedByComponent,AvailableOnComponent,TabTableComponent,
|
2023-02-17 18:40:05 +01:00
|
|
|
RelatedToComponent, FosComponent, SdgComponent,
|
|
|
|
EntityMetadataComponent
|
2017-12-19 13:53:46 +01:00
|
|
|
],
|
|
|
|
providers:[
|
|
|
|
],
|
|
|
|
exports: [
|
2019-05-29 14:24:43 +02:00
|
|
|
ShowIdentifiersComponent, ShowSubjectsComponent,
|
2021-04-20 17:18:15 +02:00
|
|
|
FundedByComponent,AvailableOnComponent, TabTableComponent, ShowPublisherComponent,
|
2023-02-17 18:47:47 +01:00
|
|
|
RelatedToComponent, FosComponent, SdgComponent, EntityMetadataComponent
|
2017-12-19 13:53:46 +01:00
|
|
|
]
|
|
|
|
})
|
2023-02-17 18:40:05 +01:00
|
|
|
export class ResultLandingUtilsModule {
|
|
|
|
constructor(private iconsService: IconsService) {
|
2023-05-08 09:53:38 +02:00
|
|
|
this.iconsService.registerIcons([open_access, closed_access, unknown_access]);
|
2023-02-17 18:40:05 +01:00
|
|
|
}
|
|
|
|
}
|