diff options
Diffstat (limited to 'client/src/app/shared/shared.module.ts')
-rw-r--r-- | client/src/app/shared/shared.module.ts | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts index 456ce851e..c7ea6e603 100644 --- a/client/src/app/shared/shared.module.ts +++ b/client/src/app/shared/shared.module.ts | |||
@@ -1,25 +1,26 @@ | |||
1 | import { NgModule } from '@angular/core' | ||
2 | import { HttpClientModule } from '@angular/common/http' | ||
3 | import { CommonModule } from '@angular/common' | 1 | import { CommonModule } from '@angular/common' |
2 | import { HttpClientModule } from '@angular/common/http' | ||
3 | import { NgModule } from '@angular/core' | ||
4 | import { FormsModule, ReactiveFormsModule } from '@angular/forms' | 4 | import { FormsModule, ReactiveFormsModule } from '@angular/forms' |
5 | import { RouterModule } from '@angular/router' | 5 | import { RouterModule } from '@angular/router' |
6 | 6 | ||
7 | import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe' | ||
8 | import { KeysPipe } from 'angular-pipes/src/object/keys.pipe' | ||
9 | import { BsDropdownModule } from 'ngx-bootstrap/dropdown' | 7 | import { BsDropdownModule } from 'ngx-bootstrap/dropdown' |
10 | import { ProgressbarModule } from 'ngx-bootstrap/progressbar' | ||
11 | import { PaginationModule } from 'ngx-bootstrap/pagination' | ||
12 | import { ModalModule } from 'ngx-bootstrap/modal' | 8 | import { ModalModule } from 'ngx-bootstrap/modal' |
13 | import { DataTableModule } from 'primeng/components/datatable/datatable' | 9 | import { PaginationModule } from 'ngx-bootstrap/pagination' |
10 | import { ProgressbarModule } from 'ngx-bootstrap/progressbar' | ||
11 | import { BytesPipe, KeysPipe } from 'ngx-pipes' | ||
14 | import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared' | 12 | import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared' |
13 | import { DataTableModule } from 'primeng/components/datatable/datatable' | ||
15 | 14 | ||
16 | import { AUTH_INTERCEPTOR_PROVIDER } from './auth' | 15 | import { AUTH_INTERCEPTOR_PROVIDER } from './auth' |
16 | import { LoaderComponent } from './misc/loader.component' | ||
17 | import { RestExtractor, RestService } from './rest' | 17 | import { RestExtractor, RestService } from './rest' |
18 | import { SearchComponent, SearchService } from './search' | 18 | import { SearchComponent, SearchService } from './search' |
19 | import { UserService } from './users' | 19 | import { UserService } from './users' |
20 | import { VideoAbuseService } from './video-abuse' | 20 | import { VideoAbuseService } from './video-abuse' |
21 | import { VideoBlacklistService } from './video-blacklist' | 21 | import { VideoBlacklistService } from './video-blacklist' |
22 | import { LoaderComponent } from './misc/loader.component' | 22 | import { NumberFormatterPipe } from './misc/number-formatter.pipe' |
23 | import { FromNowPipe } from './misc/from-now.pipe' | ||
23 | 24 | ||
24 | @NgModule({ | 25 | @NgModule({ |
25 | imports: [ | 26 | imports: [ |
@@ -42,7 +43,9 @@ import { LoaderComponent } from './misc/loader.component' | |||
42 | BytesPipe, | 43 | BytesPipe, |
43 | KeysPipe, | 44 | KeysPipe, |
44 | SearchComponent, | 45 | SearchComponent, |
45 | LoaderComponent | 46 | LoaderComponent, |
47 | NumberFormatterPipe, | ||
48 | FromNowPipe | ||
46 | ], | 49 | ], |
47 | 50 | ||
48 | exports: [ | 51 | exports: [ |
@@ -62,7 +65,10 @@ import { LoaderComponent } from './misc/loader.component' | |||
62 | KeysPipe, | 65 | KeysPipe, |
63 | 66 | ||
64 | SearchComponent, | 67 | SearchComponent, |
65 | LoaderComponent | 68 | LoaderComponent, |
69 | |||
70 | NumberFormatterPipe, | ||
71 | FromNowPipe | ||
66 | ], | 72 | ], |
67 | 73 | ||
68 | providers: [ | 74 | providers: [ |