From 3523b64a03d677c2f8df61c121ff4fcb1d9db7f9 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 14 Sep 2017 22:16:39 +0200 Subject: Optimize imports --- client/src/app/shared/rest/rest-table.ts | 3 ++- client/src/app/shared/rest/rest.service.ts | 2 +- client/src/app/shared/shared.module.ts | 3 ++- client/src/app/shared/video-abuse/video-abuse.service.ts | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) (limited to 'client/src/app/shared') diff --git a/client/src/app/shared/rest/rest-table.ts b/client/src/app/shared/rest/rest-table.ts index db2cb5e14..d04d91c68 100644 --- a/client/src/app/shared/rest/rest-table.ts +++ b/client/src/app/shared/rest/rest-table.ts @@ -1,4 +1,5 @@ -import { LazyLoadEvent, SortMeta } from 'primeng/primeng' +import { LazyLoadEvent } from 'primeng/components/common/lazyloadevent' +import { SortMeta } from 'primeng/components/common/sortmeta' import { RestPagination } from './rest-pagination' diff --git a/client/src/app/shared/rest/rest.service.ts b/client/src/app/shared/rest/rest.service.ts index f7838ba06..a1c301050 100644 --- a/client/src/app/shared/rest/rest.service.ts +++ b/client/src/app/shared/rest/rest.service.ts @@ -1,6 +1,6 @@ import { Injectable } from '@angular/core' import { HttpParams } from '@angular/common/http' -import { SortMeta } from 'primeng/primeng' +import { SortMeta } from 'primeng/components/common/sortmeta' import { RestPagination } from './rest-pagination' diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts index a28ac322d..56da62fc4 100644 --- a/client/src/app/shared/shared.module.ts +++ b/client/src/app/shared/shared.module.ts @@ -10,7 +10,8 @@ import { BsDropdownModule } from 'ngx-bootstrap/dropdown' import { ProgressbarModule } from 'ngx-bootstrap/progressbar' import { PaginationModule } from 'ngx-bootstrap/pagination' import { ModalModule } from 'ngx-bootstrap/modal' -import { DataTableModule, SharedModule as PrimeSharedModule } from 'primeng/primeng' +import { DataTableModule } from 'primeng/components/datatable/datatable' +import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared' import { AUTH_INTERCEPTOR_PROVIDER } from './auth' import { RestExtractor, RestService } from './rest' diff --git a/client/src/app/shared/video-abuse/video-abuse.service.ts b/client/src/app/shared/video-abuse/video-abuse.service.ts index 984581114..8d979de31 100644 --- a/client/src/app/shared/video-abuse/video-abuse.service.ts +++ b/client/src/app/shared/video-abuse/video-abuse.service.ts @@ -4,7 +4,7 @@ import 'rxjs/add/operator/catch' import 'rxjs/add/operator/map' import { Observable } from 'rxjs/Observable' -import { SortMeta } from 'primeng/primeng' +import { SortMeta } from 'primeng/components/common/sortmeta' import { AuthService } from '../core' import { RestExtractor, RestPagination, RestService } from '../rest' -- cgit v1.2.3