2017-12-19 13:53:46 +01:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
|
|
|
|
import { SharedModule } from '../../shared/shared.module';
|
|
|
|
import { DirectLinkingComponent } from './directLinking.component';
|
|
|
|
|
|
|
|
import {SelectedProjectsModule} from '../linking/selected/selectedProjects.module';
|
|
|
|
import {SelectedContextsModule} from '../linking/selected/selectedContexts.module';
|
|
|
|
import {SelectedPublicationsModule} from '../linking/selected/selectedResults.module';
|
|
|
|
import {InsertClaimsModule} from '../linking/insertClaim/insertClaim.module';
|
|
|
|
import {StartOverModule} from '../claim-utils/startOver.module';
|
|
|
|
|
|
|
|
import {EntitySearchServiceModule} from '../../utils/entitiesAutoComplete/entitySearchService.module';
|
|
|
|
import {PublicationsServiceModule} from '../../services/publicationsService.module';
|
|
|
|
import {DatasetsServiceModule} from '../../services/datasetsService.module';
|
|
|
|
import {SoftwareServiceModule} from '../../services/softwareService.module';
|
|
|
|
import {LoginGuard} from'../../login/loginGuard.guard';
|
|
|
|
import {PreviousRouteRecorder} from '../../utils/piwik/previousRouteRecorder.guard';
|
|
|
|
import {HelperModule} from '../../utils/helper/helper.module';
|
|
|
|
import {ClaimContextSearchFormModule} from '../claim-utils/claimContextSearchForm.module';
|
|
|
|
import {ClaimProjectsSearchFormModule} from '../claim-utils/claimProjectSearchForm.module';
|
|
|
|
import {ClaimResultSearchFormModule} from '../claim-utils/claimResultSearchForm.module';
|
|
|
|
import {IsRouteEnabled} from '../../error/isRouteEnabled.guard';
|
|
|
|
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
SharedModule,
|
2018-01-03 14:12:31 +01:00
|
|
|
SelectedProjectsModule, SelectedContextsModule, SelectedPublicationsModule, InsertClaimsModule,
|
2017-12-19 13:53:46 +01:00
|
|
|
EntitySearchServiceModule, PublicationsServiceModule, DatasetsServiceModule, StartOverModule, HelperModule,
|
|
|
|
ClaimContextSearchFormModule, ClaimProjectsSearchFormModule, ClaimResultSearchFormModule
|
|
|
|
|
|
|
|
|
|
|
|
],
|
|
|
|
providers:[LoginGuard, PreviousRouteRecorder, IsRouteEnabled],
|
|
|
|
declarations: [
|
|
|
|
DirectLinkingComponent
|
|
|
|
], exports:[DirectLinkingComponent]
|
|
|
|
})
|
|
|
|
export class DirectLinkingModule { }
|