aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src
diff options
context:
space:
mode:
Diffstat (limited to 'client/src')
-rw-r--r--client/src/app/shared/shared-forms/shared-form.module.ts14
-rw-r--r--client/src/app/shared/shared-main/shared-main.module.ts17
2 files changed, 16 insertions, 15 deletions
diff --git a/client/src/app/shared/shared-forms/shared-form.module.ts b/client/src/app/shared/shared-forms/shared-form.module.ts
index 19d812948..ea6270083 100644
--- a/client/src/app/shared/shared-forms/shared-form.module.ts
+++ b/client/src/app/shared/shared-forms/shared-form.module.ts
@@ -1,6 +1,10 @@
1 1
2import { NgModule } from '@angular/core' 2import { NgModule } from '@angular/core'
3import { FormsModule, ReactiveFormsModule } from '@angular/forms' 3import { FormsModule, ReactiveFormsModule } from '@angular/forms'
4import { InputMaskModule } from 'primeng/inputmask'
5import { InputSwitchModule } from 'primeng/inputswitch'
6import { MultiSelectModule } from 'primeng/multiselect'
7import { NgSelectModule } from '@ng-select/ng-select'
4import { BatchDomainsValidatorsService } from '@app/shared/shared-forms/form-validators/batch-domains-validators.service' 8import { BatchDomainsValidatorsService } from '@app/shared/shared-forms/form-validators/batch-domains-validators.service'
5import { SharedGlobalIconModule } from '../shared-icons' 9import { SharedGlobalIconModule } from '../shared-icons'
6import { SharedMainModule } from '../shared-main/shared-main.module' 10import { SharedMainModule } from '../shared-main/shared-main.module'
@@ -37,6 +41,11 @@ import { SelectTagsComponent } from './select-tags.component'
37 FormsModule, 41 FormsModule,
38 ReactiveFormsModule, 42 ReactiveFormsModule,
39 43
44 InputMaskModule,
45 InputSwitchModule,
46 MultiSelectModule,
47 NgSelectModule,
48
40 SharedMainModule, 49 SharedMainModule,
41 SharedGlobalIconModule 50 SharedGlobalIconModule
42 ], 51 ],
@@ -58,6 +67,11 @@ import { SelectTagsComponent } from './select-tags.component'
58 FormsModule, 67 FormsModule,
59 ReactiveFormsModule, 68 ReactiveFormsModule,
60 69
70 InputMaskModule,
71 InputSwitchModule,
72 MultiSelectModule,
73 NgSelectModule,
74
61 InputReadonlyCopyComponent, 75 InputReadonlyCopyComponent,
62 MarkdownTextareaComponent, 76 MarkdownTextareaComponent,
63 PeertubeCheckboxComponent, 77 PeertubeCheckboxComponent,
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: [