52 lines
2.4 KiB
TypeScript
52 lines
2.4 KiB
TypeScript
|
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';
|
||
|
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 {DatasetsServiceModule} from '../../services/datasetsService.module';
|
||
|
import {ProjectsServiceModule} from '../../services/projectsService.module';
|
||
|
import {PublicationsServiceModule} from '../../services/publicationsService.module';
|
||
|
|
||
|
// import { DataProviderRoutingModule } from './dataProvider-routing.module';
|
||
|
import {FreeGuard} from'../../login/freeGuard.guard';
|
||
|
import {IsRouteEnabled} from '../../error/isRouteEnabled.guard';
|
||
|
|
||
|
@NgModule({
|
||
|
imports:
|
||
|
[CommonModule, FormsModule, RouterModule,
|
||
|
TabResultModule, IFrameModule, ErrorMessagesModule, MetricsModule, LandingModule,
|
||
|
DataProvidersServiceModule, DatasetsServiceModule, ProjectsServiceModule, PublicationsServiceModule,
|
||
|
PagingModule],
|
||
|
declarations:
|
||
|
[PublicationsTabComponent, DatasetsTabComponent, StatisticsTabComponent, ProjectsTabComponent, DatasourcesTabComponent, OrganizationsTabComponent,
|
||
|
RelatedDatasourcesTabComponent, DataProviderComponent
|
||
|
],
|
||
|
providers:[
|
||
|
DataProviderService, FreeGuard, IsRouteEnabled],
|
||
|
exports: [
|
||
|
DataProviderComponent
|
||
|
]
|
||
|
|
||
|
})
|
||
|
export class DataProviderModule { }
|