2018-07-25 15:30:12 +02:00
|
|
|
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 {OrpComponent} from './orp.component';
|
|
|
|
|
|
|
|
import {CiteThisModule} from '../landing-utils/citeThis/citeThis.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 {OrpService} from './orp.service';
|
|
|
|
|
|
|
|
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-07-25 15:30:12 +02:00
|
|
|
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
CommonModule, FormsModule, SharedModule, RouterModule, LandingModule,
|
|
|
|
CiteThisModule, ResultLandingModule, MetricsModule, IFrameModule,
|
|
|
|
AltMetricsModule, ConfigurationServiceModule, Schema2jsonldModule
|
|
|
|
],
|
|
|
|
declarations: [
|
|
|
|
OrpComponent
|
|
|
|
],
|
|
|
|
providers:[
|
|
|
|
OrpService, FreeGuard, IsRouteEnabled
|
|
|
|
],
|
|
|
|
exports: [
|
|
|
|
OrpComponent
|
|
|
|
]
|
|
|
|
})
|
|
|
|
|
|
|
|
export class OrpModule { }
|