2017-12-19 13:53:46 +01:00
|
|
|
import { NgModule} from '@angular/core';
|
|
|
|
import { CommonModule } from '@angular/common';
|
|
|
|
import { FormsModule } from '@angular/forms';
|
|
|
|
import { RouterModule } from '@angular/router';
|
|
|
|
|
|
|
|
import {IFrameModule} from '../../utils/iframe.module';
|
|
|
|
import {ErrorMessagesModule} from '../../utils/errorMessages.module';
|
|
|
|
import {LandingModule} from '../landing-utils/landing.module';
|
|
|
|
import {PagingModule} from '../../utils/paging.module';
|
|
|
|
|
|
|
|
import {StatisticsTabComponent} from './statisticsTab.component';
|
|
|
|
import {RelatedDatasourcesTabComponent} from './relatedDatasourcesTab.component';
|
|
|
|
|
|
|
|
import {DataProviderComponent} from './dataProvider.component';
|
|
|
|
import {DataProviderService} from './dataProvider.service';
|
|
|
|
import {DataProvidersServiceModule} from '../../services/dataProvidersService.module';
|
|
|
|
import {ProjectsServiceModule} from '../../services/projectsService.module';
|
2019-09-11 11:45:54 +02:00
|
|
|
import {SearchResearchResultsServiceModule} from '../../services/searchResearchResultsService.module';
|
2017-12-19 13:53:46 +01:00
|
|
|
|
2018-11-12 16:36:20 +01:00
|
|
|
import {Schema2jsonldModule} from '../../sharedComponents/schema2jsonld/schema2jsonld.module';
|
2018-11-14 11:38:53 +01:00
|
|
|
import { SEOServiceModule } from '../../sharedComponents/SEO/SEOService.module';
|
2019-05-27 12:36:09 +02:00
|
|
|
import {ShowPublisherModule} from "../landing-utils/showPublisher.module";
|
2019-07-22 11:16:50 +02:00
|
|
|
import {HelperModule} from "../../utils/helper/helper.module";
|
2020-03-16 14:09:46 +01:00
|
|
|
import {LandingHeaderModule} from "../landing-utils/landing-header/landing-header.module";
|
|
|
|
import {AlertModalModule} from "../../utils/modal/alertModal.module";
|
|
|
|
import {NoLoadPaging} from "../../searchPages/searchUtils/no-load-paging.module";
|
|
|
|
import {FeedbackModule} from "../feedback/feedback.module";
|
2020-05-26 22:36:14 +02:00
|
|
|
import {TabsModule} from "../../utils/tabs/tabs.module";
|
2020-05-31 15:44:52 +02:00
|
|
|
import {SearchTabModule} from "../../utils/tabs/contents/search-tab.module";
|
2022-05-03 13:22:53 +02:00
|
|
|
import {LoadingModule} from "../../utils/loading/loading.module";
|
|
|
|
import {IconsModule} from "../../utils/icons/icons.module";
|
|
|
|
import {IconsService} from "../../utils/icons/icons.service";
|
|
|
|
import {graph} from "../../utils/icons/icons";
|
|
|
|
import {LoadingModalModule} from "../../utils/modal/loadingModal.module";
|
2022-05-16 16:01:35 +02:00
|
|
|
import {ResultLandingUtilsModule} from "../landing-utils/resultLandingUtils.module";
|
2023-03-01 15:49:42 +01:00
|
|
|
import {FullScreenModalModule} from '../../utils/modal/full-screen-modal/full-screen-modal.module';
|
2023-03-27 15:32:41 +02:00
|
|
|
import {SafeHtmlPipeModule} from '../../utils/pipes/safeHTMLPipe.module';
|
2023-04-21 11:49:14 +02:00
|
|
|
import {EntityActionsModule} from "../../utils/entity-actions/entity-actions.module";
|
2024-02-28 13:33:44 +01:00
|
|
|
import {DataProviderRoutingModule} from "./dataProvider-routing.module";
|
2017-12-19 13:53:46 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports:
|
2019-07-22 11:16:50 +02:00
|
|
|
[CommonModule, FormsModule, RouterModule,
|
2024-02-28 13:33:44 +01:00
|
|
|
DataProviderRoutingModule,
|
2023-07-25 18:09:09 +02:00
|
|
|
IFrameModule, ErrorMessagesModule, LandingModule,
|
2019-09-11 11:45:54 +02:00
|
|
|
DataProvidersServiceModule, ProjectsServiceModule, SearchResearchResultsServiceModule,
|
2020-03-16 14:09:46 +01:00
|
|
|
PagingModule, Schema2jsonldModule, SEOServiceModule, ShowPublisherModule, HelperModule,
|
2020-05-26 22:36:14 +02:00
|
|
|
LandingHeaderModule, AlertModalModule, NoLoadPaging, FeedbackModule,
|
2023-03-01 15:49:42 +01:00
|
|
|
TabsModule, SearchTabModule, LoadingModule, IconsModule, LoadingModalModule, ResultLandingUtilsModule,
|
2023-04-21 11:49:14 +02:00
|
|
|
FullScreenModalModule, SafeHtmlPipeModule, EntityActionsModule
|
2020-03-16 14:09:46 +01:00
|
|
|
],
|
2017-12-19 13:53:46 +01:00
|
|
|
declarations:
|
2022-05-10 11:44:10 +02:00
|
|
|
[StatisticsTabComponent,
|
|
|
|
RelatedDatasourcesTabComponent, DataProviderComponent
|
2017-12-19 13:53:46 +01:00
|
|
|
],
|
|
|
|
providers:[
|
2020-11-11 15:43:13 +01:00
|
|
|
DataProviderService],
|
2017-12-19 13:53:46 +01:00
|
|
|
exports: [
|
|
|
|
DataProviderComponent
|
|
|
|
]
|
|
|
|
|
|
|
|
})
|
2022-05-03 13:22:53 +02:00
|
|
|
export class DataProviderModule {
|
|
|
|
constructor(private iconsService: IconsService) {
|
|
|
|
this.iconsService.registerIcons([graph])
|
|
|
|
}
|
|
|
|
}
|