aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared-main
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-11 09:54:42 +0200
committerChocobozzz <me@florianbigard.com>2020-08-11 09:54:42 +0200
commit3d25d5de33d8aa0ba00d7514522b25d22bf0e0a1 (patch)
treecc8255bf4022d725dd64c20af88fb8ed1b5ab247 /client/src/app/shared/shared-main
parentc9ea405f1024d6cf7ec41869c4d6b0fac551f64f (diff)
downloadPeerTube-3d25d5de33d8aa0ba00d7514522b25d22bf0e0a1.tar.gz
PeerTube-3d25d5de33d8aa0ba00d7514522b25d22bf0e0a1.tar.zst
PeerTube-3d25d5de33d8aa0ba00d7514522b25d22bf0e0a1.zip
Move form modules in the form shared module
Diffstat (limited to 'client/src/app/shared/shared-main')
-rw-r--r--client/src/app/shared/shared-main/shared-main.module.ts17
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 @@
1import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes' 1import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes'
2import { SharedModule as PrimeSharedModule } from 'primeng/api' 2import { SharedModule as PrimeSharedModule } from 'primeng/api'
3import { InputMaskModule } from 'primeng/inputmask'
4import { InputSwitchModule } from 'primeng/inputswitch'
5import { MultiSelectModule } from 'primeng/multiselect'
6import { ClipboardModule } from '@angular/cdk/clipboard' 3import { ClipboardModule } from '@angular/cdk/clipboard'
7import { CommonModule, DatePipe } from '@angular/common' 4import { CommonModule, DatePipe } from '@angular/common'
8import { HttpClientModule } from '@angular/common/http' 5import { 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'
20import { NgSelectModule } from '@ng-select/ng-select'
21import { I18n } from '@ngx-translate/i18n-polyfill' 17import { I18n } from '@ngx-translate/i18n-polyfill'
22import { SharedGlobalIconModule } from '../shared-icons' 18import { SharedGlobalIconModule } from '../shared-icons'
23import { AccountService, ActorAvatarInfoComponent, AvatarComponent } from './account' 19import { AccountService, ActorAvatarInfoComponent, AvatarComponent } from './account'
24import { FromNowPipe, InfiniteScrollerDirective, NumberFormatterPipe, PeerTubeTemplateDirective } from './angular' 20import { FromNowPipe, InfiniteScrollerDirective, NumberFormatterPipe, PeerTubeTemplateDirective } from './angular'
21import { AUTH_INTERCEPTOR_PROVIDER } from './auth'
25import { ActionDropdownComponent, ButtonComponent, DeleteButtonComponent, EditButtonComponent } from './buttons' 22import { ActionDropdownComponent, ButtonComponent, DeleteButtonComponent, EditButtonComponent } from './buttons'
26import { DateToggleComponent } from './date' 23import { DateToggleComponent } from './date'
27import { FeedComponent } from './feeds' 24import { FeedComponent } from './feeds'
@@ -31,7 +28,6 @@ import { UserHistoryService, UserNotificationsComponent, UserNotificationService
31import { RedundancyService, VideoImportService, VideoOwnershipService, VideoService } from './video' 28import { RedundancyService, VideoImportService, VideoOwnershipService, VideoService } from './video'
32import { VideoCaptionService } from './video-caption' 29import { VideoCaptionService } from './video-caption'
33import { VideoChannelService } from './video-channel' 30import { VideoChannelService } from './video-channel'
34import { 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: [