]>
Commit | Line | Data |
---|---|---|
67ed6552 C |
1 | |
2 | import { NgModule } from '@angular/core' | |
3 | import { FormsModule, ReactiveFormsModule } from '@angular/forms' | |
4 | import { BatchDomainsValidatorsService } from '@app/shared/shared-forms/form-validators/batch-domains-validators.service' | |
5 | import { SharedGlobalIconModule } from '../shared-icons' | |
6 | import { SharedMainModule } from '../shared-main/shared-main.module' | |
7 | import { | |
8 | CustomConfigValidatorsService, | |
9 | FormValidatorService, | |
10 | InstanceValidatorsService, | |
11 | LoginValidatorsService, | |
12 | ResetPasswordValidatorsService, | |
13 | UserValidatorsService, | |
d95d1559 | 14 | AbuseValidatorsService, |
67ed6552 C |
15 | VideoAcceptOwnershipValidatorsService, |
16 | VideoBlockValidatorsService, | |
17 | VideoCaptionsValidatorsService, | |
18 | VideoChangeOwnershipValidatorsService, | |
19 | VideoChannelValidatorsService, | |
20 | VideoCommentValidatorsService, | |
21 | VideoPlaylistValidatorsService, | |
22 | VideoValidatorsService | |
23 | } from './form-validators' | |
24 | import { InputReadonlyCopyComponent } from './input-readonly-copy.component' | |
25 | import { MarkdownTextareaComponent } from './markdown-textarea.component' | |
26 | import { PeertubeCheckboxComponent } from './peertube-checkbox.component' | |
27 | import { PreviewUploadComponent } from './preview-upload.component' | |
28 | import { ReactiveFileComponent } from './reactive-file.component' | |
29 | import { TextareaAutoResizeDirective } from './textarea-autoresize.directive' | |
30 | import { TimestampInputComponent } from './timestamp-input.component' | |
02c01341 RK |
31 | import { SelectChannelComponent } from './select-channel.component' |
32 | import { SelectOptionsComponent } from './select-options.component' | |
33 | import { SelectTagsComponent } from './select-tags.component' | |
67ed6552 C |
34 | |
35 | @NgModule({ | |
36 | imports: [ | |
37 | FormsModule, | |
38 | ReactiveFormsModule, | |
39 | ||
40 | SharedMainModule, | |
41 | SharedGlobalIconModule | |
42 | ], | |
43 | ||
44 | declarations: [ | |
45 | InputReadonlyCopyComponent, | |
46 | MarkdownTextareaComponent, | |
47 | PeertubeCheckboxComponent, | |
48 | PreviewUploadComponent, | |
49 | ReactiveFileComponent, | |
50 | TextareaAutoResizeDirective, | |
02c01341 RK |
51 | TimestampInputComponent, |
52 | SelectChannelComponent, | |
53 | SelectOptionsComponent, | |
54 | SelectTagsComponent | |
67ed6552 C |
55 | ], |
56 | ||
57 | exports: [ | |
58 | FormsModule, | |
59 | ReactiveFormsModule, | |
60 | ||
61 | InputReadonlyCopyComponent, | |
62 | MarkdownTextareaComponent, | |
63 | PeertubeCheckboxComponent, | |
64 | PreviewUploadComponent, | |
65 | ReactiveFileComponent, | |
66 | TextareaAutoResizeDirective, | |
02c01341 RK |
67 | TimestampInputComponent, |
68 | SelectChannelComponent, | |
69 | SelectOptionsComponent, | |
70 | SelectTagsComponent | |
67ed6552 C |
71 | ], |
72 | ||
73 | providers: [ | |
74 | CustomConfigValidatorsService, | |
75 | FormValidatorService, | |
76 | LoginValidatorsService, | |
77 | InstanceValidatorsService, | |
78 | LoginValidatorsService, | |
79 | ResetPasswordValidatorsService, | |
80 | UserValidatorsService, | |
d95d1559 | 81 | AbuseValidatorsService, |
67ed6552 C |
82 | VideoAcceptOwnershipValidatorsService, |
83 | VideoBlockValidatorsService, | |
84 | VideoCaptionsValidatorsService, | |
85 | VideoChangeOwnershipValidatorsService, | |
86 | VideoChannelValidatorsService, | |
87 | VideoCommentValidatorsService, | |
88 | VideoPlaylistValidatorsService, | |
89 | VideoValidatorsService, | |
90 | BatchDomainsValidatorsService | |
91 | ] | |
92 | }) | |
93 | export class SharedFormModule { } |