aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared/shared.module.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared/shared.module.ts')
-rw-r--r--client/src/app/shared/shared.module.ts337
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 @@
1import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes'
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'
7import { CommonModule } from '@angular/common'
8import { HttpClientModule } from '@angular/common/http'
9import { NgModule } from '@angular/core'
10import { FormsModule, ReactiveFormsModule } from '@angular/forms'
11import { RouterModule } from '@angular/router'
12import { BatchDomainsValidatorsService } from '@app/+admin/config/shared/batch-domains-validators.service'
13import { BatchDomainsModalComponent } from '@app/+admin/config/shared/batch-domains-modal.component'
14import { MyAccountInterfaceSettingsComponent } from '@app/+my-account/my-account-settings/my-account-interface'
15import { MyAccountVideoSettingsComponent } from '@app/+my-account/my-account-settings/my-account-video-settings'
16import { ActorAvatarInfoComponent } from '@app/+my-account/shared/actor-avatar-info.component'
17import { AccountService } from '@app/shared/account/account.service'
18import { FromNowPipe } from '@app/shared/angular/from-now.pipe'
19import { HighlightPipe } from '@app/shared/angular/highlight.pipe'
20import { NumberFormatterPipe } from '@app/shared/angular/number-formatter.pipe'
21import { ObjectLengthPipe } from '@app/shared/angular/object-length.pipe'
22import { PeerTubeTemplateDirective } from '@app/shared/angular/peertube-template.directive'
23import { VideoDurationPipe } from '@app/shared/angular/video-duration-formatter.pipe'
24import { BlocklistService } from '@app/shared/blocklist'
25import { ActionDropdownComponent } from '@app/shared/buttons/action-dropdown.component'
26import { AvatarComponent } from '@app/shared/channel/avatar.component'
27import { ConfirmComponent } from '@app/shared/confirm/confirm.component'
28import { DateToggleComponent } from '@app/shared/date/date-toggle.component'
29import {
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'
46import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service'
47import { VideoCaptionsValidatorsService } from '@app/shared/forms/form-validators/video-captions-validators.service'
48import { InputReadonlyCopyComponent } from '@app/shared/forms/input-readonly-copy.component'
49import { MarkdownTextareaComponent } from '@app/shared/forms/markdown-textarea.component'
50import { PeertubeCheckboxComponent } from '@app/shared/forms/peertube-checkbox.component'
51import { TimestampInputComponent } from '@app/shared/forms/timestamp-input.component'
52import { I18nPrimengCalendarService } from '@app/shared/i18n/i18n-primeng-calendar'
53import { GlobalIconComponent } from '@app/shared/images/global-icon.component'
54import { PreviewUploadComponent } from '@app/shared/images/preview-upload.component'
55import { FeatureBooleanComponent } from '@app/shared/instance/feature-boolean.component'
56import { FollowService } from '@app/shared/instance/follow.service'
57import { InstanceFeaturesTableComponent } from '@app/shared/instance/instance-features-table.component'
58import { InstanceStatisticsComponent } from '@app/shared/instance/instance-statistics.component'
59import { InstanceService } from '@app/shared/instance/instance.service'
60import { TopMenuDropdownComponent } from '@app/shared/menu/top-menu-dropdown.component'
61import { HelpComponent } from '@app/shared/misc/help.component'
62import { ListOverflowComponent } from '@app/shared/misc/list-overflow.component'
63import { ScreenService } from '@app/shared/misc/screen.service'
64import { SmallLoaderComponent } from '@app/shared/misc/small-loader.component'
65import { LocalStorageService, SessionStorageService } from '@app/shared/misc/storage.service'
66import { UserBanModalComponent } from '@app/shared/moderation'
67import { UserModerationDropdownComponent } from '@app/shared/moderation/user-moderation-dropdown.component'
68import { OverviewService } from '@app/shared/overview'
69import { HtmlRendererService, LinkifierService, MarkdownService } from '@app/shared/renderer'
70import { RemoteSubscribeComponent, SubscribeButtonComponent, UserSubscriptionService } from '@app/shared/user-subscription'
71import { UserHistoryService } from '@app/shared/users/user-history.service'
72import { UserNotificationService } from '@app/shared/users/user-notification.service'
73import { UserNotificationsComponent } from '@app/shared/users/user-notifications.component'
74import { VideoCaptionService } from '@app/shared/video-caption'
75import { VideoChannelService } from '@app/shared/video-channel/video-channel.service'
76import { VideoImportService } from '@app/shared/video-import/video-import.service'
77import { VideoAddToPlaylistComponent } from '@app/shared/video-playlist/video-add-to-playlist.component'
78import { VideoPlaylistElementMiniatureComponent } from '@app/shared/video-playlist/video-playlist-element-miniature.component'
79import { VideoPlaylistMiniatureComponent } from '@app/shared/video-playlist/video-playlist-miniature.component'
80import { VideoPlaylistService } from '@app/shared/video-playlist/video-playlist.service'
81import { InfiniteScrollerDirective } from '@app/shared/video/infinite-scroller.directive'
82import { VideoBlockComponent } from '@app/shared/video/modals/video-block.component'
83import { VideoDownloadComponent } from '@app/shared/video/modals/video-download.component'
84import { VideoReportComponent } from '@app/shared/video/modals/video-report.component'
85import { RedundancyService } from '@app/shared/video/redundancy.service'
86import { VideoActionsDropdownComponent } from '@app/shared/video/video-actions-dropdown.component'
87import { VideosSelectionComponent } from '@app/shared/video/videos-selection.component'
88import {
89 NgbCollapseModule,
90 NgbDropdownModule,
91 NgbModalModule,
92 NgbNavModule,
93 NgbPopoverModule,
94 NgbTooltipModule
95} from '@ng-bootstrap/ng-bootstrap'
96import { I18n } from '@ngx-translate/i18n-polyfill'
97import { AUTH_INTERCEPTOR_PROVIDER } from './auth'
98import { BulkService } from './bulk/bulk.service'
99import { ButtonComponent } from './buttons/button.component'
100import { DeleteButtonComponent } from './buttons/delete-button.component'
101import { EditButtonComponent } from './buttons/edit-button.component'
102import { LoaderComponent } from './misc/loader.component'
103import { RestExtractor, RestService } from './rest'
104import { UserService } from './users'
105import { VideoAbuseService } from './video-abuse'
106import { VideoBlockService } from './video-block'
107import { VideoOwnershipService } from './video-ownership'
108import { FeedComponent } from './video/feed.component'
109import { VideoMiniatureComponent } from './video/video-miniature.component'
110import { VideoThumbnailComponent } from './video/video-thumbnail.component'
111import { 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})
337export class SharedModule { }