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 { ResultLandingModule } from '../resultLanding.module';
|
|
|
|
import {TabResultModule } from '../../searchPages/searchUtils/tabResult.module';
|
|
|
|
import {MetricsModule} from '../landing-utils/metrics.module';
|
|
|
|
import {LandingModule} from '../landing-utils/landing.module';
|
|
|
|
import {PagingModule} from '../../utils/paging.module';
|
|
|
|
|
|
|
|
import {PublicationsTabComponent} from './publicationsTab.component';
|
|
|
|
import {DatasetsTabComponent} from './datasetsTab.component';
|
2018-05-08 14:59:30 +02:00
|
|
|
import {SoftwareTabComponent} from './softwareTab.component';
|
2018-07-26 18:38:59 +02:00
|
|
|
import {OrpsTabComponent} from './orpsTab.component';
|
2017-12-19 13:53:46 +01:00
|
|
|
import {StatisticsTabComponent} from './statisticsTab.component';
|
|
|
|
import {ProjectsTabComponent} from './projectsTab.component';
|
|
|
|
import {DatasourcesTabComponent} from './datasourcesTab.component';
|
|
|
|
import {OrganizationsTabComponent} from './organizationsTab.component';
|
|
|
|
import {RelatedDatasourcesTabComponent} from './relatedDatasourcesTab.component';
|
|
|
|
// import {TabsComponent} from './tabs.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
|
|
|
|
|
|
|
import {FreeGuard} from'../../login/freeGuard.guard';
|
|
|
|
import {IsRouteEnabled} from '../../error/isRouteEnabled.guard';
|
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";
|
2017-12-19 13:53:46 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports:
|
2019-07-22 11:16:50 +02:00
|
|
|
[CommonModule, FormsModule, RouterModule,
|
|
|
|
TabResultModule, IFrameModule, ErrorMessagesModule, MetricsModule, LandingModule,
|
2019-09-11 11:45:54 +02:00
|
|
|
DataProvidersServiceModule, ProjectsServiceModule, SearchResearchResultsServiceModule,
|
|
|
|
PagingModule, Schema2jsonldModule, SEOServiceModule, ShowPublisherModule, HelperModule],
|
2017-12-19 13:53:46 +01:00
|
|
|
declarations:
|
|
|
|
[PublicationsTabComponent, DatasetsTabComponent, StatisticsTabComponent, ProjectsTabComponent, DatasourcesTabComponent, OrganizationsTabComponent,
|
2018-07-26 18:38:59 +02:00
|
|
|
RelatedDatasourcesTabComponent, DataProviderComponent, SoftwareTabComponent, OrpsTabComponent
|
2017-12-19 13:53:46 +01:00
|
|
|
],
|
|
|
|
providers:[
|
|
|
|
DataProviderService, FreeGuard, IsRouteEnabled],
|
|
|
|
exports: [
|
|
|
|
DataProviderComponent
|
|
|
|
]
|
|
|
|
|
|
|
|
})
|
|
|
|
export class DataProviderModule { }
|