2020-03-12 14:49:10 +01:00
|
|
|
import {NgModule} from "@angular/core";
|
|
|
|
import {CommonModule} from "@angular/common";
|
|
|
|
import {ResultPreviewComponent} from "./result-preview.component";
|
|
|
|
import {RouterModule} from "@angular/router";
|
|
|
|
import {ShowAuthorsModule} from "../authors/showAuthors.module";
|
|
|
|
import {ResultLandingUtilsModule} from "../../landingPages/landing-utils/resultLandingUtils.module";
|
2022-04-16 09:47:30 +02:00
|
|
|
import {IconsModule} from "../icons/icons.module";
|
2023-02-17 18:40:05 +01:00
|
|
|
import {IconsService} from "../icons/icons.service";
|
2023-12-08 12:18:24 +01:00
|
|
|
import {cite, fire, landmark, link, link_to, quotes, rocket} from "../icons/icons";
|
2023-02-20 15:59:07 +01:00
|
|
|
import {EntityActionsModule} from "../entity-actions/entity-actions.module";
|
2023-12-08 12:18:24 +01:00
|
|
|
import {EntityMetadataModule} from "../../landingPages/landing-utils/entity-metadata.module";
|
2024-03-14 08:28:33 +01:00
|
|
|
import {OrcidCoreModule} from "../../orcid/orcid-core.module";
|
2020-03-12 14:49:10 +01:00
|
|
|
|
|
|
|
@NgModule({
|
2024-03-14 08:28:33 +01:00
|
|
|
imports: [CommonModule, RouterModule, ShowAuthorsModule, ResultLandingUtilsModule, OrcidCoreModule, IconsModule, EntityActionsModule, EntityMetadataModule],
|
2020-03-12 14:49:10 +01:00
|
|
|
declarations: [ResultPreviewComponent],
|
|
|
|
exports: [ResultPreviewComponent]
|
|
|
|
})
|
2023-02-17 18:40:05 +01:00
|
|
|
export class ResultPreviewModule {
|
|
|
|
constructor(private iconsService: IconsService) {
|
|
|
|
this.iconsService.registerIcons([link, quotes, cite, link_to, rocket, fire, landmark])
|
|
|
|
}
|
|
|
|
}
|