67 lines
3.4 KiB
TypeScript
67 lines
3.4 KiB
TypeScript
import {NgModule} from '@angular/core';
|
|
import {CommonModule} from '@angular/common';
|
|
import {FormsModule} from '@angular/forms';
|
|
import {RouterModule} from '@angular/router';
|
|
|
|
import {SharedModule} from '../../../openaireLibrary/shared/shared.module';
|
|
import {MetricsModule} from '../landing-utils/metrics/metrics.module';
|
|
import {LandingModule} from '../landing-utils/landing.module';
|
|
import {CiteThisModule} from '../landing-utils/citeThis/citeThis.module';
|
|
import {IFrameModule} from '../../utils/iframe.module';
|
|
import {AltMetricsModule} from '../../utils/altmetrics.module';
|
|
import {PagingModule} from '../../utils/paging.module';
|
|
|
|
import {ResultLandingService} from './resultLanding.service';
|
|
import {ResultLandingComponent} from './resultLanding.component';
|
|
import {Schema2jsonldModule} from '../../sharedComponents/schema2jsonld/schema2jsonld.module';
|
|
import {SEOServiceModule} from '../../sharedComponents/SEO/SEOService.module';
|
|
|
|
import {DeletedByInferenceModule} from './deletedByInference/deletedByInference.module';
|
|
import {ShowAuthorsModule} from "../../utils/authors/showAuthors.module";
|
|
import {HelperModule} from "../../utils/helper/helper.module";
|
|
import {ResultLandingUtilsModule} from "../landing-utils/resultLandingUtils.module";
|
|
import {AlertModalModule} from "../../utils/modal/alertModal.module";
|
|
import {AnnotationModule} from "../annotation/annotation.module";
|
|
import {LandingHeaderModule} from "../landing-utils/landing-header/landing-header.module";
|
|
import {NoLoadPaging} from "../../searchPages/searchUtils/no-load-paging.module";
|
|
import {ResultPreviewModule} from "../../utils/result-preview/result-preview.module";
|
|
import {FeedbackModule} from "../feedback/feedback.module";
|
|
import {TabsModule} from "../../utils/tabs/tabs.module";
|
|
import {LoadingModule} from "../../utils/loading/loading.module";
|
|
import {OrcidModule} from "../../orcid/orcid.module";
|
|
import {MatFormFieldModule} from "@angular/material/form-field";
|
|
import {MatSelectModule} from "@angular/material/select";
|
|
import {IconsModule} from "../../utils/icons/icons.module";
|
|
import {IconsService} from "../../utils/icons/icons.service";
|
|
import {cite, fire, graph, landmark, link, link_to, quotes, rocket, versions} from "../../utils/icons/icons";
|
|
import {InputModule} from "../../sharedComponents/input/input.module";
|
|
import {EGIDataTransferModule} from "../../utils/dataTransfer/transferData.module";
|
|
import {RecaptchaModule} from 'ng-recaptcha';
|
|
import {SdgFosSuggestModule} from '../landing-utils/sdg-fos-suggest/sdg-fos-suggest.module';
|
|
|
|
@NgModule({
|
|
imports: [
|
|
CommonModule, FormsModule, LandingModule, SharedModule, RouterModule,
|
|
CiteThisModule, PagingModule, IFrameModule,
|
|
MetricsModule, AltMetricsModule, Schema2jsonldModule, SEOServiceModule,
|
|
DeletedByInferenceModule, ShowAuthorsModule, HelperModule, ResultLandingUtilsModule, AlertModalModule,
|
|
AnnotationModule, LandingHeaderModule, NoLoadPaging, ResultPreviewModule, FeedbackModule, TabsModule, LoadingModule,
|
|
OrcidModule, MatFormFieldModule, MatSelectModule, IconsModule, InputModule, EGIDataTransferModule, RecaptchaModule,
|
|
SdgFosSuggestModule
|
|
],
|
|
declarations: [
|
|
ResultLandingComponent
|
|
],
|
|
providers: [
|
|
ResultLandingService
|
|
],
|
|
exports: [
|
|
ResultLandingComponent
|
|
]
|
|
})
|
|
export class ResultLandingModule {
|
|
constructor(private iconsService: IconsService) {
|
|
this.iconsService.registerIcons([link, graph, quotes, cite, link_to, versions, rocket, fire, landmark])
|
|
}
|
|
}
|