diff options
Diffstat (limited to 'client/src/app/shared/shared-main')
-rw-r--r-- | client/src/app/shared/shared-main/shared-main.module.ts | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/client/src/app/shared/shared-main/shared-main.module.ts b/client/src/app/shared/shared-main/shared-main.module.ts index a4d18d562..c6192f6f8 100644 --- a/client/src/app/shared/shared-main/shared-main.module.ts +++ b/client/src/app/shared/shared-main/shared-main.module.ts | |||
@@ -1,8 +1,5 @@ | |||
1 | import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes' | 1 | import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes' |
2 | import { SharedModule as PrimeSharedModule } from 'primeng/api' | 2 | import { SharedModule as PrimeSharedModule } from 'primeng/api' |
3 | import { InputMaskModule } from 'primeng/inputmask' | ||
4 | import { InputSwitchModule } from 'primeng/inputswitch' | ||
5 | import { MultiSelectModule } from 'primeng/multiselect' | ||
6 | import { ClipboardModule } from '@angular/cdk/clipboard' | 3 | import { ClipboardModule } from '@angular/cdk/clipboard' |
7 | import { CommonModule, DatePipe } from '@angular/common' | 4 | import { CommonModule, DatePipe } from '@angular/common' |
8 | import { HttpClientModule } from '@angular/common/http' | 5 | import { HttpClientModule } from '@angular/common/http' |
@@ -17,11 +14,11 @@ import { | |||
17 | NgbPopoverModule, | 14 | NgbPopoverModule, |
18 | NgbTooltipModule | 15 | NgbTooltipModule |
19 | } from '@ng-bootstrap/ng-bootstrap' | 16 | } from '@ng-bootstrap/ng-bootstrap' |
20 | import { NgSelectModule } from '@ng-select/ng-select' | ||
21 | import { I18n } from '@ngx-translate/i18n-polyfill' | 17 | import { I18n } from '@ngx-translate/i18n-polyfill' |
22 | import { SharedGlobalIconModule } from '../shared-icons' | 18 | import { SharedGlobalIconModule } from '../shared-icons' |
23 | import { AccountService, ActorAvatarInfoComponent, AvatarComponent } from './account' | 19 | import { AccountService, ActorAvatarInfoComponent, AvatarComponent } from './account' |
24 | import { FromNowPipe, InfiniteScrollerDirective, NumberFormatterPipe, PeerTubeTemplateDirective } from './angular' | 20 | import { FromNowPipe, InfiniteScrollerDirective, NumberFormatterPipe, PeerTubeTemplateDirective } from './angular' |
21 | import { AUTH_INTERCEPTOR_PROVIDER } from './auth' | ||
25 | import { ActionDropdownComponent, ButtonComponent, DeleteButtonComponent, EditButtonComponent } from './buttons' | 22 | import { ActionDropdownComponent, ButtonComponent, DeleteButtonComponent, EditButtonComponent } from './buttons' |
26 | import { DateToggleComponent } from './date' | 23 | import { DateToggleComponent } from './date' |
27 | import { FeedComponent } from './feeds' | 24 | import { FeedComponent } from './feeds' |
@@ -31,7 +28,6 @@ import { UserHistoryService, UserNotificationsComponent, UserNotificationService | |||
31 | import { RedundancyService, VideoImportService, VideoOwnershipService, VideoService } from './video' | 28 | import { RedundancyService, VideoImportService, VideoOwnershipService, VideoService } from './video' |
32 | import { VideoCaptionService } from './video-caption' | 29 | import { VideoCaptionService } from './video-caption' |
33 | import { VideoChannelService } from './video-channel' | 30 | import { VideoChannelService } from './video-channel' |
34 | import { AUTH_INTERCEPTOR_PROVIDER } from './auth' | ||
35 | 31 | ||
36 | @NgModule({ | 32 | @NgModule({ |
37 | imports: [ | 33 | imports: [ |
@@ -51,12 +47,7 @@ import { AUTH_INTERCEPTOR_PROVIDER } from './auth' | |||
51 | ClipboardModule, | 47 | ClipboardModule, |
52 | 48 | ||
53 | PrimeSharedModule, | 49 | PrimeSharedModule, |
54 | InputMaskModule, | ||
55 | NgPipesModule, | 50 | NgPipesModule, |
56 | MultiSelectModule, | ||
57 | InputSwitchModule, | ||
58 | |||
59 | NgSelectModule, | ||
60 | 51 | ||
61 | SharedGlobalIconModule | 52 | SharedGlobalIconModule |
62 | ], | 53 | ], |
@@ -107,10 +98,8 @@ import { AUTH_INTERCEPTOR_PROVIDER } from './auth' | |||
107 | ClipboardModule, | 98 | ClipboardModule, |
108 | 99 | ||
109 | PrimeSharedModule, | 100 | PrimeSharedModule, |
110 | InputMaskModule, | ||
111 | BytesPipe, | 101 | BytesPipe, |
112 | KeysPipe, | 102 | KeysPipe, |
113 | MultiSelectModule, | ||
114 | 103 | ||
115 | AvatarComponent, | 104 | AvatarComponent, |
116 | ActorAvatarInfoComponent, | 105 | ActorAvatarInfoComponent, |
@@ -137,9 +126,7 @@ import { AUTH_INTERCEPTOR_PROVIDER } from './auth' | |||
137 | TopMenuDropdownComponent, | 126 | TopMenuDropdownComponent, |
138 | 127 | ||
139 | UserQuotaComponent, | 128 | UserQuotaComponent, |
140 | UserNotificationsComponent, | 129 | UserNotificationsComponent |
141 | |||
142 | NgSelectModule | ||
143 | ], | 130 | ], |
144 | 131 | ||
145 | providers: [ | 132 | providers: [ |