]>
Commit | Line | Data |
---|---|---|
df98563e | 1 | import { CommonModule } from '@angular/common' |
9bf9d2a5 C |
2 | import { HttpClientModule } from '@angular/common/http' |
3 | import { NgModule } from '@angular/core' | |
df98563e C |
4 | import { FormsModule, ReactiveFormsModule } from '@angular/forms' |
5 | import { RouterModule } from '@angular/router' | |
66b16caf | 6 | import { MarkdownTextareaComponent } from '@app/shared/forms/markdown-textarea.component' |
8a8e02a4 | 7 | import { HelpComponent } from '@app/shared/misc/help.component' |
0cd4344f | 8 | import { InfiniteScrollerDirective } from '@app/shared/video/infinite-scroller.directive' |
693b1aba | 9 | |
62e23e40 | 10 | import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes' |
3523b64a | 11 | import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared' |
693b1aba | 12 | |
d592e0a9 | 13 | import { AUTH_INTERCEPTOR_PROVIDER } from './auth' |
74d63469 | 14 | import { ButtonComponent } from './buttons/button.component' |
eacb25c4 C |
15 | import { DeleteButtonComponent } from './buttons/delete-button.component' |
16 | import { EditButtonComponent } from './buttons/edit-button.component' | |
2bbb3412 | 17 | import { FromNowPipe } from './misc/from-now.pipe' |
9bf9d2a5 | 18 | import { LoaderComponent } from './misc/loader.component' |
2bbb3412 | 19 | import { NumberFormatterPipe } from './misc/number-formatter.pipe' |
244e76a5 | 20 | import { ObjectLengthPipe } from './misc/object-length.pipe' |
df98563e | 21 | import { RestExtractor, RestService } from './rest' |
df98563e C |
22 | import { UserService } from './users' |
23 | import { VideoAbuseService } from './video-abuse' | |
35bf0c83 | 24 | import { VideoBlacklistService } from './video-blacklist' |
74d63469 | 25 | import { VideoOwnershipService } from './video-ownership' |
b1fa3eba | 26 | import { VideoMiniatureComponent } from './video/video-miniature.component' |
c199c427 | 27 | import { FeedComponent } from './video/feed.component' |
202f6b6c C |
28 | import { VideoThumbnailComponent } from './video/video-thumbnail.component' |
29 | import { VideoService } from './video/video.service' | |
0626e7af | 30 | import { AccountService } from '@app/shared/account/account.service' |
d3e91a5f | 31 | import { VideoChannelService } from '@app/shared/video-channel/video-channel.service' |
989e526a | 32 | import { I18n } from '@ngx-translate/i18n-polyfill' |
d18d6478 | 33 | import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service' |
e309822b C |
34 | import { |
35 | CustomConfigValidatorsService, | |
1506307f | 36 | InstanceValidatorsService, |
57c36b27 C |
37 | LoginValidatorsService, |
38 | ReactiveFileComponent, | |
e309822b | 39 | ResetPasswordValidatorsService, |
2fbe7f19 | 40 | TextareaAutoResizeDirective, |
57c36b27 | 41 | UserValidatorsService, |
22a16e36 | 42 | VideoAbuseValidatorsService, |
2fbe7f19 | 43 | VideoAcceptOwnershipValidatorsService, |
22a16e36 | 44 | VideoBlacklistValidatorsService, |
2fbe7f19 | 45 | VideoChangeOwnershipValidatorsService, |
57c36b27 C |
46 | VideoChannelValidatorsService, |
47 | VideoCommentValidatorsService, | |
830b4faf | 48 | VideoPlaylistValidatorsService, |
2fbe7f19 | 49 | VideoValidatorsService |
e309822b | 50 | } from '@app/shared/forms' |
bbe0f064 | 51 | import { I18nPrimengCalendarService } from '@app/shared/i18n/i18n-primeng-calendar' |
f0a39880 | 52 | import { InputMaskModule } from 'primeng/inputmask' |
bbe0f064 | 53 | import { ScreenService } from '@app/shared/misc/screen.service' |
40e87e9e C |
54 | import { VideoCaptionsValidatorsService } from '@app/shared/forms/form-validators/video-captions-validators.service' |
55 | import { VideoCaptionService } from '@app/shared/video-caption' | |
0f7fedc3 | 56 | import { PeertubeCheckboxComponent } from '@app/shared/forms/peertube-checkbox.component' |
fbad87b0 | 57 | import { VideoImportService } from '@app/shared/video-import/video-import.service' |
eacb25c4 | 58 | import { ActionDropdownComponent } from '@app/shared/buttons/action-dropdown.component' |
63347a0f | 59 | import { NgbDropdownModule, NgbModalModule, NgbPopoverModule, NgbTabsetModule, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap' |
2fbe7f19 | 60 | import { RemoteSubscribeComponent, SubscribeButtonComponent, UserSubscriptionService } from '@app/shared/user-subscription' |
41a676db | 61 | import { InstanceFeaturesTableComponent } from '@app/shared/instance/instance-features-table.component' |
2d3741d6 | 62 | import { OverviewService } from '@app/shared/overview' |
e724fa93 C |
63 | import { UserBanModalComponent } from '@app/shared/moderation' |
64 | import { UserModerationDropdownComponent } from '@app/shared/moderation/user-moderation-dropdown.component' | |
af5767ff | 65 | import { BlocklistService } from '@app/shared/blocklist' |
ddb83e49 | 66 | import { TopMenuDropdownComponent } from '@app/shared/menu/top-menu-dropdown.component' |
80bfd33c | 67 | import { UserHistoryService } from '@app/shared/users/user-history.service' |
2f1548fd C |
68 | import { UserNotificationService } from '@app/shared/users/user-notification.service' |
69 | import { UserNotificationsComponent } from '@app/shared/users/user-notifications.component' | |
d3e56c0c | 70 | import { InstanceService } from '@app/shared/instance/instance.service' |
1506307f | 71 | import { HtmlRendererService, LinkifierService, MarkdownService } from '@app/shared/renderer' |
457bb213 | 72 | import { ConfirmComponent } from '@app/shared/confirm/confirm.component' |
b28e4e5e | 73 | import { SmallLoaderComponent } from '@app/shared/misc/small-loader.component' |
830b4faf C |
74 | import { VideoPlaylistService } from '@app/shared/video-playlist/video-playlist.service' |
75 | import { ImageUploadComponent } from '@app/shared/images/image-upload.component' | |
76 | import { GlobalIconComponent } from '@app/shared/images/global-icon.component' | |
77 | import { VideoPlaylistMiniatureComponent } from '@app/shared/video-playlist/video-playlist-miniature.component' | |
f0a39880 C |
78 | import { VideoAddToPlaylistComponent } from '@app/shared/video-playlist/video-add-to-playlist.component' |
79 | import { TimestampInputComponent } from '@app/shared/forms/timestamp-input.component' | |
693b1aba C |
80 | |
81 | @NgModule({ | |
82 | imports: [ | |
83 | CommonModule, | |
84 | FormsModule, | |
85 | ReactiveFormsModule, | |
693b1aba | 86 | RouterModule, |
d592e0a9 | 87 | HttpClientModule, |
693b1aba | 88 | |
d77ad726 C |
89 | NgbDropdownModule, |
90 | NgbModalModule, | |
91 | NgbPopoverModule, | |
92 | NgbTabsetModule, | |
93 | NgbTooltipModule, | |
d396a937 | 94 | |
202f6b6c | 95 | PrimeSharedModule, |
f0a39880 | 96 | InputMaskModule, |
6de36768 | 97 | NgPipesModule |
693b1aba C |
98 | ], |
99 | ||
100 | declarations: [ | |
9bf9d2a5 | 101 | LoaderComponent, |
b28e4e5e | 102 | SmallLoaderComponent, |
830b4faf | 103 | |
202f6b6c | 104 | VideoThumbnailComponent, |
b1fa3eba | 105 | VideoMiniatureComponent, |
830b4faf | 106 | VideoPlaylistMiniatureComponent, |
f0a39880 | 107 | VideoAddToPlaylistComponent, |
830b4faf | 108 | |
c199c427 | 109 | FeedComponent, |
f0a39880 | 110 | |
74d63469 | 111 | ButtonComponent, |
cd83ea1b C |
112 | DeleteButtonComponent, |
113 | EditButtonComponent, | |
f0a39880 | 114 | |
eacb25c4 | 115 | ActionDropdownComponent, |
9bf9d2a5 | 116 | NumberFormatterPipe, |
244e76a5 | 117 | ObjectLengthPipe, |
66b16caf | 118 | FromNowPipe, |
0cd4344f | 119 | MarkdownTextareaComponent, |
8a8e02a4 | 120 | InfiniteScrollerDirective, |
2fbe7f19 | 121 | TextareaAutoResizeDirective, |
40e87e9e | 122 | HelpComponent, |
f0a39880 | 123 | |
0f7fedc3 | 124 | ReactiveFileComponent, |
22a16e36 | 125 | PeertubeCheckboxComponent, |
f0a39880 C |
126 | TimestampInputComponent, |
127 | ||
41a676db | 128 | SubscribeButtonComponent, |
660d11e9 | 129 | RemoteSubscribeComponent, |
e724fa93 C |
130 | InstanceFeaturesTableComponent, |
131 | UserBanModalComponent, | |
ddb83e49 | 132 | UserModerationDropdownComponent, |
2f1548fd | 133 | TopMenuDropdownComponent, |
457bb213 C |
134 | UserNotificationsComponent, |
135 | ConfirmComponent, | |
830b4faf C |
136 | |
137 | GlobalIconComponent, | |
138 | ImageUploadComponent | |
693b1aba C |
139 | ], |
140 | ||
141 | exports: [ | |
142 | CommonModule, | |
143 | FormsModule, | |
144 | ReactiveFormsModule, | |
693b1aba | 145 | RouterModule, |
d592e0a9 | 146 | HttpClientModule, |
693b1aba | 147 | |
63347a0f C |
148 | NgbDropdownModule, |
149 | NgbModalModule, | |
150 | NgbPopoverModule, | |
151 | NgbTabsetModule, | |
152 | NgbTooltipModule, | |
153 | ||
d592e0a9 | 154 | PrimeSharedModule, |
f0a39880 | 155 | InputMaskModule, |
693b1aba | 156 | BytesPipe, |
99fdec46 | 157 | KeysPipe, |
693b1aba | 158 | |
9bf9d2a5 | 159 | LoaderComponent, |
b28e4e5e | 160 | SmallLoaderComponent, |
830b4faf | 161 | |
202f6b6c | 162 | VideoThumbnailComponent, |
b1fa3eba | 163 | VideoMiniatureComponent, |
830b4faf | 164 | VideoPlaylistMiniatureComponent, |
f0a39880 | 165 | VideoAddToPlaylistComponent, |
830b4faf | 166 | |
c199c427 | 167 | FeedComponent, |
f0a39880 | 168 | |
74d63469 | 169 | ButtonComponent, |
cd83ea1b C |
170 | DeleteButtonComponent, |
171 | EditButtonComponent, | |
f0a39880 | 172 | |
eacb25c4 | 173 | ActionDropdownComponent, |
66b16caf | 174 | MarkdownTextareaComponent, |
0cd4344f | 175 | InfiniteScrollerDirective, |
2fbe7f19 | 176 | TextareaAutoResizeDirective, |
8a8e02a4 | 177 | HelpComponent, |
f0a39880 | 178 | |
40e87e9e | 179 | ReactiveFileComponent, |
0f7fedc3 | 180 | PeertubeCheckboxComponent, |
f0a39880 C |
181 | TimestampInputComponent, |
182 | ||
22a16e36 | 183 | SubscribeButtonComponent, |
660d11e9 | 184 | RemoteSubscribeComponent, |
41a676db | 185 | InstanceFeaturesTableComponent, |
e724fa93 C |
186 | UserBanModalComponent, |
187 | UserModerationDropdownComponent, | |
ddb83e49 | 188 | TopMenuDropdownComponent, |
2f1548fd | 189 | UserNotificationsComponent, |
457bb213 | 190 | ConfirmComponent, |
830b4faf | 191 | |
457bb213 | 192 | GlobalIconComponent, |
830b4faf | 193 | ImageUploadComponent, |
9bf9d2a5 C |
194 | |
195 | NumberFormatterPipe, | |
244e76a5 | 196 | ObjectLengthPipe, |
9bf9d2a5 | 197 | FromNowPipe |
693b1aba C |
198 | ], |
199 | ||
200 | providers: [ | |
d592e0a9 | 201 | AUTH_INTERCEPTOR_PROVIDER, |
693b1aba C |
202 | RestExtractor, |
203 | RestService, | |
e2a2d6c8 | 204 | VideoAbuseService, |
35bf0c83 | 205 | VideoBlacklistService, |
74d63469 | 206 | VideoOwnershipService, |
202f6b6c | 207 | UserService, |
66b16caf | 208 | VideoService, |
0626e7af | 209 | AccountService, |
989e526a | 210 | VideoChannelService, |
830b4faf | 211 | VideoPlaylistService, |
40e87e9e | 212 | VideoCaptionService, |
26b7305a | 213 | VideoImportService, |
22a16e36 | 214 | UserSubscriptionService, |
e309822b | 215 | |
d18d6478 | 216 | FormValidatorService, |
e309822b C |
217 | CustomConfigValidatorsService, |
218 | LoginValidatorsService, | |
219 | ResetPasswordValidatorsService, | |
220 | UserValidatorsService, | |
830b4faf | 221 | VideoPlaylistValidatorsService, |
e309822b C |
222 | VideoAbuseValidatorsService, |
223 | VideoChannelValidatorsService, | |
224 | VideoCommentValidatorsService, | |
225 | VideoValidatorsService, | |
40e87e9e | 226 | VideoCaptionsValidatorsService, |
26b7305a | 227 | VideoBlacklistValidatorsService, |
2d3741d6 | 228 | OverviewService, |
74d63469 GR |
229 | VideoChangeOwnershipValidatorsService, |
230 | VideoAcceptOwnershipValidatorsService, | |
d3e56c0c | 231 | InstanceValidatorsService, |
af5767ff | 232 | BlocklistService, |
80bfd33c | 233 | UserHistoryService, |
d3e56c0c | 234 | InstanceService, |
e309822b | 235 | |
1506307f C |
236 | MarkdownService, |
237 | LinkifierService, | |
238 | HtmlRendererService, | |
239 | ||
bbe0f064 C |
240 | I18nPrimengCalendarService, |
241 | ScreenService, | |
242 | ||
2f1548fd C |
243 | UserNotificationService, |
244 | ||
989e526a | 245 | I18n |
693b1aba C |
246 | ] |
247 | }) | |
248 | export class SharedModule { } |