diff options
Diffstat (limited to 'client/src/app/shared/shared.module.ts')
-rw-r--r-- | client/src/app/shared/shared.module.ts | 337 |
1 files changed, 0 insertions, 337 deletions
diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts deleted file mode 100644 index 98fab9e16..000000000 --- a/client/src/app/shared/shared.module.ts +++ /dev/null | |||
@@ -1,337 +0,0 @@ | |||
1 | import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes' | ||
2 | import { SharedModule as PrimeSharedModule } from 'primeng/api' | ||
3 | import { InputMaskModule } from 'primeng/inputmask' | ||
4 | import { InputSwitchModule } from 'primeng/inputswitch' | ||
5 | import { MultiSelectModule } from 'primeng/multiselect' | ||
6 | import { ClipboardModule } from '@angular/cdk/clipboard' | ||
7 | import { CommonModule } from '@angular/common' | ||
8 | import { HttpClientModule } from '@angular/common/http' | ||
9 | import { NgModule } from '@angular/core' | ||
10 | import { FormsModule, ReactiveFormsModule } from '@angular/forms' | ||
11 | import { RouterModule } from '@angular/router' | ||
12 | import { BatchDomainsValidatorsService } from '@app/+admin/config/shared/batch-domains-validators.service' | ||
13 | import { BatchDomainsModalComponent } from '@app/+admin/config/shared/batch-domains-modal.component' | ||
14 | import { MyAccountInterfaceSettingsComponent } from '@app/+my-account/my-account-settings/my-account-interface' | ||
15 | import { MyAccountVideoSettingsComponent } from '@app/+my-account/my-account-settings/my-account-video-settings' | ||
16 | import { ActorAvatarInfoComponent } from '@app/+my-account/shared/actor-avatar-info.component' | ||
17 | import { AccountService } from '@app/shared/account/account.service' | ||
18 | import { FromNowPipe } from '@app/shared/angular/from-now.pipe' | ||
19 | import { HighlightPipe } from '@app/shared/angular/highlight.pipe' | ||
20 | import { NumberFormatterPipe } from '@app/shared/angular/number-formatter.pipe' | ||
21 | import { ObjectLengthPipe } from '@app/shared/angular/object-length.pipe' | ||
22 | import { PeerTubeTemplateDirective } from '@app/shared/angular/peertube-template.directive' | ||
23 | import { VideoDurationPipe } from '@app/shared/angular/video-duration-formatter.pipe' | ||
24 | import { BlocklistService } from '@app/shared/blocklist' | ||
25 | import { ActionDropdownComponent } from '@app/shared/buttons/action-dropdown.component' | ||
26 | import { AvatarComponent } from '@app/shared/channel/avatar.component' | ||
27 | import { ConfirmComponent } from '@app/shared/confirm/confirm.component' | ||
28 | import { DateToggleComponent } from '@app/shared/date/date-toggle.component' | ||
29 | import { | ||
30 | CustomConfigValidatorsService, | ||
31 | InstanceValidatorsService, | ||
32 | LoginValidatorsService, | ||
33 | ReactiveFileComponent, | ||
34 | ResetPasswordValidatorsService, | ||
35 | TextareaAutoResizeDirective, | ||
36 | UserValidatorsService, | ||
37 | VideoAbuseValidatorsService, | ||
38 | VideoAcceptOwnershipValidatorsService, | ||
39 | VideoBlockValidatorsService, | ||
40 | VideoChangeOwnershipValidatorsService, | ||
41 | VideoChannelValidatorsService, | ||
42 | VideoCommentValidatorsService, | ||
43 | VideoPlaylistValidatorsService, | ||
44 | VideoValidatorsService | ||
45 | } from '@app/shared/forms' | ||
46 | import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service' | ||
47 | import { VideoCaptionsValidatorsService } from '@app/shared/forms/form-validators/video-captions-validators.service' | ||
48 | import { InputReadonlyCopyComponent } from '@app/shared/forms/input-readonly-copy.component' | ||
49 | import { MarkdownTextareaComponent } from '@app/shared/forms/markdown-textarea.component' | ||
50 | import { PeertubeCheckboxComponent } from '@app/shared/forms/peertube-checkbox.component' | ||
51 | import { TimestampInputComponent } from '@app/shared/forms/timestamp-input.component' | ||
52 | import { I18nPrimengCalendarService } from '@app/shared/i18n/i18n-primeng-calendar' | ||
53 | import { GlobalIconComponent } from '@app/shared/images/global-icon.component' | ||
54 | import { PreviewUploadComponent } from '@app/shared/images/preview-upload.component' | ||
55 | import { FeatureBooleanComponent } from '@app/shared/instance/feature-boolean.component' | ||
56 | import { FollowService } from '@app/shared/instance/follow.service' | ||
57 | import { InstanceFeaturesTableComponent } from '@app/shared/instance/instance-features-table.component' | ||
58 | import { InstanceStatisticsComponent } from '@app/shared/instance/instance-statistics.component' | ||
59 | import { InstanceService } from '@app/shared/instance/instance.service' | ||
60 | import { TopMenuDropdownComponent } from '@app/shared/menu/top-menu-dropdown.component' | ||
61 | import { HelpComponent } from '@app/shared/misc/help.component' | ||
62 | import { ListOverflowComponent } from '@app/shared/misc/list-overflow.component' | ||
63 | import { ScreenService } from '@app/shared/misc/screen.service' | ||
64 | import { SmallLoaderComponent } from '@app/shared/misc/small-loader.component' | ||
65 | import { LocalStorageService, SessionStorageService } from '@app/shared/misc/storage.service' | ||
66 | import { UserBanModalComponent } from '@app/shared/moderation' | ||
67 | import { UserModerationDropdownComponent } from '@app/shared/moderation/user-moderation-dropdown.component' | ||
68 | import { OverviewService } from '@app/shared/overview' | ||
69 | import { HtmlRendererService, LinkifierService, MarkdownService } from '@app/shared/renderer' | ||
70 | import { RemoteSubscribeComponent, SubscribeButtonComponent, UserSubscriptionService } from '@app/shared/user-subscription' | ||
71 | import { UserHistoryService } from '@app/shared/users/user-history.service' | ||
72 | import { UserNotificationService } from '@app/shared/users/user-notification.service' | ||
73 | import { UserNotificationsComponent } from '@app/shared/users/user-notifications.component' | ||
74 | import { VideoCaptionService } from '@app/shared/video-caption' | ||
75 | import { VideoChannelService } from '@app/shared/video-channel/video-channel.service' | ||
76 | import { VideoImportService } from '@app/shared/video-import/video-import.service' | ||
77 | import { VideoAddToPlaylistComponent } from '@app/shared/video-playlist/video-add-to-playlist.component' | ||
78 | import { VideoPlaylistElementMiniatureComponent } from '@app/shared/video-playlist/video-playlist-element-miniature.component' | ||
79 | import { VideoPlaylistMiniatureComponent } from '@app/shared/video-playlist/video-playlist-miniature.component' | ||
80 | import { VideoPlaylistService } from '@app/shared/video-playlist/video-playlist.service' | ||
81 | import { InfiniteScrollerDirective } from '@app/shared/video/infinite-scroller.directive' | ||
82 | import { VideoBlockComponent } from '@app/shared/video/modals/video-block.component' | ||
83 | import { VideoDownloadComponent } from '@app/shared/video/modals/video-download.component' | ||
84 | import { VideoReportComponent } from '@app/shared/video/modals/video-report.component' | ||
85 | import { RedundancyService } from '@app/shared/video/redundancy.service' | ||
86 | import { VideoActionsDropdownComponent } from '@app/shared/video/video-actions-dropdown.component' | ||
87 | import { VideosSelectionComponent } from '@app/shared/video/videos-selection.component' | ||
88 | import { | ||
89 | NgbCollapseModule, | ||
90 | NgbDropdownModule, | ||
91 | NgbModalModule, | ||
92 | NgbNavModule, | ||
93 | NgbPopoverModule, | ||
94 | NgbTooltipModule | ||
95 | } from '@ng-bootstrap/ng-bootstrap' | ||
96 | import { I18n } from '@ngx-translate/i18n-polyfill' | ||
97 | import { AUTH_INTERCEPTOR_PROVIDER } from './auth' | ||
98 | import { BulkService } from './bulk/bulk.service' | ||
99 | import { ButtonComponent } from './buttons/button.component' | ||
100 | import { DeleteButtonComponent } from './buttons/delete-button.component' | ||
101 | import { EditButtonComponent } from './buttons/edit-button.component' | ||
102 | import { LoaderComponent } from './misc/loader.component' | ||
103 | import { RestExtractor, RestService } from './rest' | ||
104 | import { UserService } from './users' | ||
105 | import { VideoAbuseService } from './video-abuse' | ||
106 | import { VideoBlockService } from './video-block' | ||
107 | import { VideoOwnershipService } from './video-ownership' | ||
108 | import { FeedComponent } from './video/feed.component' | ||
109 | import { VideoMiniatureComponent } from './video/video-miniature.component' | ||
110 | import { VideoThumbnailComponent } from './video/video-thumbnail.component' | ||
111 | import { VideoService } from './video/video.service' | ||
112 | |||
113 | @NgModule({ | ||
114 | imports: [ | ||
115 | CommonModule, | ||
116 | FormsModule, | ||
117 | ReactiveFormsModule, | ||
118 | RouterModule, | ||
119 | HttpClientModule, | ||
120 | |||
121 | NgbDropdownModule, | ||
122 | NgbModalModule, | ||
123 | NgbPopoverModule, | ||
124 | NgbNavModule, | ||
125 | NgbTooltipModule, | ||
126 | NgbCollapseModule, | ||
127 | |||
128 | ClipboardModule, | ||
129 | |||
130 | PrimeSharedModule, | ||
131 | InputMaskModule, | ||
132 | NgPipesModule, | ||
133 | MultiSelectModule, | ||
134 | InputSwitchModule | ||
135 | ], | ||
136 | |||
137 | declarations: [ | ||
138 | LoaderComponent, | ||
139 | SmallLoaderComponent, | ||
140 | |||
141 | VideoThumbnailComponent, | ||
142 | VideoMiniatureComponent, | ||
143 | VideoPlaylistMiniatureComponent, | ||
144 | VideoAddToPlaylistComponent, | ||
145 | VideoPlaylistElementMiniatureComponent, | ||
146 | VideosSelectionComponent, | ||
147 | VideoActionsDropdownComponent, | ||
148 | |||
149 | VideoDownloadComponent, | ||
150 | VideoReportComponent, | ||
151 | VideoBlockComponent, | ||
152 | |||
153 | FeedComponent, | ||
154 | |||
155 | ButtonComponent, | ||
156 | DeleteButtonComponent, | ||
157 | EditButtonComponent, | ||
158 | |||
159 | NumberFormatterPipe, | ||
160 | ObjectLengthPipe, | ||
161 | FromNowPipe, | ||
162 | HighlightPipe, | ||
163 | PeerTubeTemplateDirective, | ||
164 | VideoDurationPipe, | ||
165 | |||
166 | ActionDropdownComponent, | ||
167 | MarkdownTextareaComponent, | ||
168 | InfiniteScrollerDirective, | ||
169 | TextareaAutoResizeDirective, | ||
170 | HelpComponent, | ||
171 | ListOverflowComponent, | ||
172 | |||
173 | ReactiveFileComponent, | ||
174 | PeertubeCheckboxComponent, | ||
175 | TimestampInputComponent, | ||
176 | InputReadonlyCopyComponent, | ||
177 | |||
178 | AvatarComponent, | ||
179 | SubscribeButtonComponent, | ||
180 | RemoteSubscribeComponent, | ||
181 | InstanceFeaturesTableComponent, | ||
182 | InstanceStatisticsComponent, | ||
183 | FeatureBooleanComponent, | ||
184 | UserBanModalComponent, | ||
185 | UserModerationDropdownComponent, | ||
186 | TopMenuDropdownComponent, | ||
187 | UserNotificationsComponent, | ||
188 | ConfirmComponent, | ||
189 | DateToggleComponent, | ||
190 | |||
191 | GlobalIconComponent, | ||
192 | PreviewUploadComponent, | ||
193 | |||
194 | MyAccountVideoSettingsComponent, | ||
195 | MyAccountInterfaceSettingsComponent, | ||
196 | ActorAvatarInfoComponent, | ||
197 | BatchDomainsModalComponent | ||
198 | ], | ||
199 | |||
200 | exports: [ | ||
201 | CommonModule, | ||
202 | FormsModule, | ||
203 | ReactiveFormsModule, | ||
204 | RouterModule, | ||
205 | HttpClientModule, | ||
206 | |||
207 | NgbDropdownModule, | ||
208 | NgbModalModule, | ||
209 | NgbPopoverModule, | ||
210 | NgbNavModule, | ||
211 | NgbTooltipModule, | ||
212 | NgbCollapseModule, | ||
213 | |||
214 | ClipboardModule, | ||
215 | |||
216 | PrimeSharedModule, | ||
217 | InputMaskModule, | ||
218 | BytesPipe, | ||
219 | KeysPipe, | ||
220 | MultiSelectModule, | ||
221 | |||
222 | LoaderComponent, | ||
223 | SmallLoaderComponent, | ||
224 | |||
225 | VideoThumbnailComponent, | ||
226 | VideoMiniatureComponent, | ||
227 | VideoPlaylistMiniatureComponent, | ||
228 | VideoAddToPlaylistComponent, | ||
229 | VideoPlaylistElementMiniatureComponent, | ||
230 | VideosSelectionComponent, | ||
231 | VideoActionsDropdownComponent, | ||
232 | |||
233 | VideoDownloadComponent, | ||
234 | VideoReportComponent, | ||
235 | VideoBlockComponent, | ||
236 | |||
237 | FeedComponent, | ||
238 | |||
239 | ButtonComponent, | ||
240 | DeleteButtonComponent, | ||
241 | EditButtonComponent, | ||
242 | |||
243 | ActionDropdownComponent, | ||
244 | MarkdownTextareaComponent, | ||
245 | InfiniteScrollerDirective, | ||
246 | TextareaAutoResizeDirective, | ||
247 | HelpComponent, | ||
248 | ListOverflowComponent, | ||
249 | InputReadonlyCopyComponent, | ||
250 | |||
251 | ReactiveFileComponent, | ||
252 | PeertubeCheckboxComponent, | ||
253 | TimestampInputComponent, | ||
254 | |||
255 | AvatarComponent, | ||
256 | SubscribeButtonComponent, | ||
257 | RemoteSubscribeComponent, | ||
258 | InstanceFeaturesTableComponent, | ||
259 | InstanceStatisticsComponent, | ||
260 | UserBanModalComponent, | ||
261 | UserModerationDropdownComponent, | ||
262 | TopMenuDropdownComponent, | ||
263 | UserNotificationsComponent, | ||
264 | ConfirmComponent, | ||
265 | DateToggleComponent, | ||
266 | |||
267 | GlobalIconComponent, | ||
268 | PreviewUploadComponent, | ||
269 | |||
270 | NumberFormatterPipe, | ||
271 | ObjectLengthPipe, | ||
272 | FromNowPipe, | ||
273 | HighlightPipe, | ||
274 | PeerTubeTemplateDirective, | ||
275 | VideoDurationPipe, | ||
276 | |||
277 | MyAccountVideoSettingsComponent, | ||
278 | MyAccountInterfaceSettingsComponent, | ||
279 | ActorAvatarInfoComponent, | ||
280 | BatchDomainsModalComponent | ||
281 | ], | ||
282 | |||
283 | providers: [ | ||
284 | AUTH_INTERCEPTOR_PROVIDER, | ||
285 | RestExtractor, | ||
286 | RestService, | ||
287 | VideoAbuseService, | ||
288 | VideoBlockService, | ||
289 | VideoOwnershipService, | ||
290 | UserService, | ||
291 | VideoService, | ||
292 | AccountService, | ||
293 | VideoChannelService, | ||
294 | VideoPlaylistService, | ||
295 | VideoCaptionService, | ||
296 | VideoImportService, | ||
297 | UserSubscriptionService, | ||
298 | |||
299 | FormValidatorService, | ||
300 | CustomConfigValidatorsService, | ||
301 | LoginValidatorsService, | ||
302 | ResetPasswordValidatorsService, | ||
303 | UserValidatorsService, | ||
304 | BatchDomainsValidatorsService, | ||
305 | VideoPlaylistValidatorsService, | ||
306 | VideoAbuseValidatorsService, | ||
307 | VideoChannelValidatorsService, | ||
308 | VideoCommentValidatorsService, | ||
309 | VideoValidatorsService, | ||
310 | VideoCaptionsValidatorsService, | ||
311 | VideoBlockValidatorsService, | ||
312 | OverviewService, | ||
313 | VideoChangeOwnershipValidatorsService, | ||
314 | VideoAcceptOwnershipValidatorsService, | ||
315 | InstanceValidatorsService, | ||
316 | BlocklistService, | ||
317 | UserHistoryService, | ||
318 | InstanceService, | ||
319 | BulkService, | ||
320 | |||
321 | MarkdownService, | ||
322 | LinkifierService, | ||
323 | HtmlRendererService, | ||
324 | |||
325 | I18nPrimengCalendarService, | ||
326 | ScreenService, | ||
327 | LocalStorageService, SessionStorageService, | ||
328 | |||
329 | UserNotificationService, | ||
330 | |||
331 | FollowService, | ||
332 | RedundancyService, | ||
333 | |||
334 | I18n | ||
335 | ] | ||
336 | }) | ||
337 | export class SharedModule { } | ||