2018-04-11 17:09:23 +02:00
|
|
|
// import {MaterialModule} from '@angular/material';
|
|
|
|
import {NgModule} from '@angular/core';
|
|
|
|
import {CommonModule} from '@angular/common';
|
|
|
|
import {FormsModule} from '@angular/forms';
|
|
|
|
import {RouterModule} from '@angular/router';
|
|
|
|
|
|
|
|
import {SharedModule} from '../../shared/shared.module';
|
|
|
|
|
|
|
|
import {DatasetComponent} from './dataset.component';
|
|
|
|
|
|
|
|
import {CiteThisModule} from '../landing-utils/citeThis/citeThis.module';
|
|
|
|
// import {DatasetRoutingModule} from './dataset-routing.module';
|
|
|
|
import {LandingModule} from '../landing-utils/landing.module';
|
|
|
|
import {ResultLandingModule} from '../landing-utils/resultLanding.module';
|
|
|
|
import {MetricsModule} from '../landing-utils/metrics.module';
|
|
|
|
import {AltMetricsModule} from '../../utils/altmetrics.module';
|
|
|
|
import {ConfigurationServiceModule} from '../../utils/configuration/configurationService.module';
|
|
|
|
import {IFrameModule} from '../../utils/iframe.module';
|
|
|
|
|
|
|
|
import {DatasetService} from './dataset.service';
|
|
|
|
|
|
|
|
import {FreeGuard} from'../../login/freeGuard.guard';
|
|
|
|
import {IsRouteEnabled} from '../../error/isRouteEnabled.guard';
|
2018-05-17 10:29:22 +02:00
|
|
|
import {Schema2jsonldModule} from '../landing-utils/schema2jsonld/schema2jsonld.module';
|
2017-12-19 13:53:46 +01:00
|
|
|
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
//MaterialModule.forRoot(),
|
2018-04-11 17:09:23 +02:00
|
|
|
CommonModule, FormsModule, SharedModule, RouterModule, LandingModule,
|
|
|
|
CiteThisModule, ResultLandingModule, MetricsModule, IFrameModule,
|
2018-05-17 10:29:22 +02:00
|
|
|
AltMetricsModule, ConfigurationServiceModule, Schema2jsonldModule
|
2017-12-19 13:53:46 +01:00
|
|
|
],
|
|
|
|
declarations: [
|
2018-04-11 17:09:23 +02:00
|
|
|
DatasetComponent
|
2017-12-19 13:53:46 +01:00
|
|
|
],
|
|
|
|
providers:[
|
|
|
|
DatasetService, FreeGuard, IsRouteEnabled
|
2018-04-11 17:09:23 +02:00
|
|
|
],
|
2017-12-19 13:53:46 +01:00
|
|
|
exports: [
|
2018-04-11 17:09:23 +02:00
|
|
|
DatasetComponent
|
|
|
|
]
|
2017-12-19 13:53:46 +01:00
|
|
|
})
|
2018-04-11 17:09:23 +02:00
|
|
|
|
2017-12-19 13:53:46 +01:00
|
|
|
export class DatasetModule { }
|