2022-07-18 17:56:59 +02:00
|
|
|
import {NgModule} from '@angular/core';
|
|
|
|
import {MatSelectModule} from "@angular/material/select";
|
2017-12-19 13:53:46 +01:00
|
|
|
|
2022-08-29 13:04:20 +02:00
|
|
|
import {SharedModule} from '../../../openaireLibrary/shared/shared.module';
|
2017-12-19 13:53:46 +01:00
|
|
|
import {SelectedProjectsModule} from './selected/selectedProjects.module';
|
|
|
|
import {SelectedContextsModule} from './selected/selectedContexts.module';
|
|
|
|
import {SelectedPublicationsModule} from './selected/selectedResults.module';
|
|
|
|
import {LinkingGenericComponent} from './linkingGeneric.component';
|
|
|
|
import {StartOverModule} from '../claim-utils/startOver.module';
|
2022-07-18 17:56:59 +02:00
|
|
|
import {LoginGuard} from '../../login/loginGuard.guard';
|
2017-12-19 13:53:46 +01:00
|
|
|
import {PreviousRouteRecorder} from '../../utils/piwik/previousRouteRecorder.guard';
|
|
|
|
import {ClaimContextSearchFormModule} from '../claim-utils/claimContextSearchForm.module';
|
|
|
|
import {ClaimProjectsSearchFormModule} from '../claim-utils/claimProjectSearchForm.module';
|
|
|
|
import {BulkClaimModule} from './bulkClaim/bulkClaim.module';
|
|
|
|
import {ClaimResultSearchFormModule} from '../claim-utils/claimResultSearchForm.module';
|
|
|
|
import {HelperModule} from '../../utils/helper/helper.module';
|
|
|
|
import {IsRouteEnabled} from '../../error/isRouteEnabled.guard';
|
2018-11-14 11:38:53 +01:00
|
|
|
import {Schema2jsonldModule} from '../../sharedComponents/schema2jsonld/schema2jsonld.module';
|
2022-07-18 17:56:59 +02:00
|
|
|
import {SEOServiceModule} from '../../sharedComponents/SEO/SEOService.module';
|
2019-07-23 14:23:12 +02:00
|
|
|
import {MetadataPreviewModule} from './selected/metadataPreview.module';
|
|
|
|
import {ClaimEntitiesMetadataModule} from "./selected/ClaimEntitiesMetadata.module";
|
|
|
|
import {AlertModalModule} from '../../utils/modal/alertModal.module';
|
2019-08-02 16:55:32 +02:00
|
|
|
import {PiwikServiceModule} from "../../utils/piwik/piwikService.module";
|
2022-02-25 13:52:36 +01:00
|
|
|
import {BreadcrumbsModule} from "../../utils/breadcrumbs/breadcrumbs.module";
|
2022-03-16 17:54:22 +01:00
|
|
|
import {StepperModule} from "../../sharedComponents/stepper/stepper.module";
|
2022-06-06 14:49:01 +02:00
|
|
|
import {IconsModule} from "../../utils/icons/icons.module";
|
2022-07-18 17:56:59 +02:00
|
|
|
import {IconsService} from "../../utils/icons/icons.service";
|
|
|
|
import {link} from "../../utils/icons/icons";
|
2017-12-19 13:53:46 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
2019-07-23 14:23:12 +02:00
|
|
|
SharedModule, SelectedProjectsModule, SelectedContextsModule,
|
2017-12-19 13:53:46 +01:00
|
|
|
SelectedPublicationsModule,
|
2022-02-25 13:52:36 +01:00
|
|
|
StartOverModule,
|
2018-11-14 11:38:53 +01:00
|
|
|
ClaimContextSearchFormModule, ClaimProjectsSearchFormModule, BulkClaimModule, ClaimResultSearchFormModule,
|
2019-08-02 16:55:32 +02:00
|
|
|
HelperModule, Schema2jsonldModule, SEOServiceModule, MetadataPreviewModule, ClaimEntitiesMetadataModule, AlertModalModule,
|
2020-03-12 11:48:04 +01:00
|
|
|
PiwikServiceModule,
|
2022-06-06 14:49:01 +02:00
|
|
|
MatSelectModule, BreadcrumbsModule, StepperModule, IconsModule
|
2017-12-19 13:53:46 +01:00
|
|
|
],
|
2022-07-18 17:56:59 +02:00
|
|
|
providers: [LoginGuard, PreviousRouteRecorder, IsRouteEnabled],
|
2017-12-19 13:53:46 +01:00
|
|
|
declarations: [
|
|
|
|
LinkingGenericComponent
|
2022-07-18 17:56:59 +02:00
|
|
|
], exports: [
|
|
|
|
LinkingGenericComponent]
|
2017-12-19 13:53:46 +01:00
|
|
|
})
|
2022-07-18 17:56:59 +02:00
|
|
|
export class LinkingGenericModule {
|
|
|
|
constructor(private iconsService: IconsService) {
|
|
|
|
this.iconsService.registerIcons([link]);
|
|
|
|
}
|
|
|
|
}
|