2017-12-19 13:53:46 +01:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { RouterModule } from '@angular/router';
|
|
|
|
|
2018-01-03 14:12:31 +01:00
|
|
|
import {DataTablesModule} from 'angular-datatables';
|
2017-12-19 13:53:46 +01:00
|
|
|
|
|
|
|
import { SharedModule } from '../../shared/shared.module';
|
|
|
|
import { ClaimsByTokenComponent } from './claimsByToken.component';
|
|
|
|
import { ClaimsByTokenService } from './claimsByToken.service';
|
|
|
|
import {ClaimEntityFormatterModule} from '../claim-utils/entityFormatter/claimEntityFormatter.module';
|
|
|
|
import {SelectModalModule} from '../../utils/modal/selectModal.module';
|
|
|
|
import {LoadingModalModule} from '../../utils/modal/loadingModal.module';
|
|
|
|
|
|
|
|
import {LoginGuard} from'../../login/loginGuard.guard';
|
|
|
|
|
|
|
|
import {PagingModule} from '../../utils/paging.module';
|
|
|
|
import {ClaimsDatatablePipe} from '../../utils/pipes/claimsDatatable.pipe';
|
|
|
|
import {PreviousRouteRecorder} from '../../utils/piwik/previousRouteRecorder.guard';
|
|
|
|
import {IsRouteEnabled} from '../../error/isRouteEnabled.guard';
|
2018-06-29 15:24:49 +02:00
|
|
|
import {ErrorMessagesModule} from '../../utils/errorMessages.module';
|
2017-12-19 13:53:46 +01:00
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
imports: [
|
|
|
|
RouterModule,
|
2018-01-03 14:12:31 +01:00
|
|
|
DataTablesModule,
|
2017-12-19 13:53:46 +01:00
|
|
|
SharedModule,
|
|
|
|
ClaimEntityFormatterModule,
|
|
|
|
SelectModalModule,
|
|
|
|
LoadingModalModule,
|
2018-06-29 15:24:49 +02:00
|
|
|
PagingModule,
|
|
|
|
ErrorMessagesModule
|
2017-12-19 13:53:46 +01:00
|
|
|
],
|
|
|
|
providers:[
|
|
|
|
ClaimsByTokenService,
|
|
|
|
LoginGuard, PreviousRouteRecorder, IsRouteEnabled
|
|
|
|
],
|
|
|
|
declarations: [
|
|
|
|
ClaimsByTokenComponent, ClaimsDatatablePipe
|
|
|
|
],
|
|
|
|
exports: [
|
|
|
|
ClaimsByTokenComponent, ClaimsDatatablePipe
|
|
|
|
]
|
|
|
|
})
|
|
|
|
export class ClaimsByTokenModule { }
|