diff options
Diffstat (limited to 'client/src/app/shared/shared-forms/shared-form.module.ts')
-rw-r--r-- | client/src/app/shared/shared-forms/shared-form.module.ts | 10 |
1 files changed, 6 insertions, 4 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 a28988f87..060abc995 100644 --- a/client/src/app/shared/shared-forms/shared-form.module.ts +++ b/client/src/app/shared/shared-forms/shared-form.module.ts | |||
@@ -1,13 +1,14 @@ | |||
1 | 1 | ||
2 | import { InputMaskModule } from 'primeng/inputmask' | 2 | import { InputMaskModule } from 'primeng/inputmask' |
3 | import { InputSwitchModule } from 'primeng/inputswitch' | ||
4 | import { NgModule } from '@angular/core' | 3 | import { NgModule } from '@angular/core' |
5 | import { FormsModule, ReactiveFormsModule } from '@angular/forms' | 4 | import { FormsModule, ReactiveFormsModule } from '@angular/forms' |
6 | import { NgSelectModule } from '@ng-select/ng-select' | 5 | import { NgSelectModule } from '@ng-select/ng-select' |
7 | import { SharedGlobalIconModule } from '../shared-icons' | 6 | import { SharedGlobalIconModule } from '../shared-icons' |
8 | import { SharedMainModule } from '../shared-main/shared-main.module' | 7 | import { SharedMainModule } from '../shared-main/shared-main.module' |
8 | import { DynamicFormFieldComponent } from './dynamic-form-field.component' | ||
9 | import { FormValidatorService } from './form-validator.service' | 9 | import { FormValidatorService } from './form-validator.service' |
10 | import { InputReadonlyCopyComponent } from './input-readonly-copy.component' | 10 | import { InputReadonlyCopyComponent } from './input-readonly-copy.component' |
11 | import { InputSwitchComponent } from './input-switch.component' | ||
11 | import { MarkdownTextareaComponent } from './markdown-textarea.component' | 12 | import { MarkdownTextareaComponent } from './markdown-textarea.component' |
12 | import { PeertubeCheckboxComponent } from './peertube-checkbox.component' | 13 | import { PeertubeCheckboxComponent } from './peertube-checkbox.component' |
13 | import { PreviewUploadComponent } from './preview-upload.component' | 14 | import { PreviewUploadComponent } from './preview-upload.component' |
@@ -15,7 +16,6 @@ import { ReactiveFileComponent } from './reactive-file.component' | |||
15 | import { SelectChannelComponent, SelectCheckboxComponent, SelectOptionsComponent, SelectTagsComponent } from './select' | 16 | import { SelectChannelComponent, SelectCheckboxComponent, SelectOptionsComponent, SelectTagsComponent } from './select' |
16 | import { TextareaAutoResizeDirective } from './textarea-autoresize.directive' | 17 | import { TextareaAutoResizeDirective } from './textarea-autoresize.directive' |
17 | import { TimestampInputComponent } from './timestamp-input.component' | 18 | import { TimestampInputComponent } from './timestamp-input.component' |
18 | import { DynamicFormFieldComponent } from './dynamic-form-field.component' | ||
19 | 19 | ||
20 | @NgModule({ | 20 | @NgModule({ |
21 | imports: [ | 21 | imports: [ |
@@ -23,7 +23,6 @@ import { DynamicFormFieldComponent } from './dynamic-form-field.component' | |||
23 | ReactiveFormsModule, | 23 | ReactiveFormsModule, |
24 | 24 | ||
25 | InputMaskModule, | 25 | InputMaskModule, |
26 | InputSwitchModule, | ||
27 | NgSelectModule, | 26 | NgSelectModule, |
28 | 27 | ||
29 | SharedMainModule, | 28 | SharedMainModule, |
@@ -39,6 +38,8 @@ import { DynamicFormFieldComponent } from './dynamic-form-field.component' | |||
39 | TextareaAutoResizeDirective, | 38 | TextareaAutoResizeDirective, |
40 | TimestampInputComponent, | 39 | TimestampInputComponent, |
41 | 40 | ||
41 | InputSwitchComponent, | ||
42 | |||
42 | SelectChannelComponent, | 43 | SelectChannelComponent, |
43 | SelectOptionsComponent, | 44 | SelectOptionsComponent, |
44 | SelectTagsComponent, | 45 | SelectTagsComponent, |
@@ -52,7 +53,6 @@ import { DynamicFormFieldComponent } from './dynamic-form-field.component' | |||
52 | ReactiveFormsModule, | 53 | ReactiveFormsModule, |
53 | 54 | ||
54 | InputMaskModule, | 55 | InputMaskModule, |
55 | InputSwitchModule, | ||
56 | NgSelectModule, | 56 | NgSelectModule, |
57 | 57 | ||
58 | InputReadonlyCopyComponent, | 58 | InputReadonlyCopyComponent, |
@@ -63,6 +63,8 @@ import { DynamicFormFieldComponent } from './dynamic-form-field.component' | |||
63 | TextareaAutoResizeDirective, | 63 | TextareaAutoResizeDirective, |
64 | TimestampInputComponent, | 64 | TimestampInputComponent, |
65 | 65 | ||
66 | InputSwitchComponent, | ||
67 | |||
66 | SelectChannelComponent, | 68 | SelectChannelComponent, |
67 | SelectOptionsComponent, | 69 | SelectOptionsComponent, |
68 | SelectTagsComponent, | 70 | SelectTagsComponent, |