1 import { CommonModule } from '@angular/common'
2 import { HttpClientModule } from '@angular/common/http'
3 import { NgModule } from '@angular/core'
4 import { FormsModule, ReactiveFormsModule } from '@angular/forms'
5 import { RouterModule } from '@angular/router'
6 import { MarkdownTextareaComponent } from '@app/shared/forms/markdown-textarea.component'
7 import { HelpComponent } from '@app/shared/misc/help.component'
8 import { InfiniteScrollerDirective } from '@app/shared/video/infinite-scroller.directive'
10 import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes'
11 import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared'
13 import { AUTH_INTERCEPTOR_PROVIDER } from './auth'
14 import { ButtonComponent } from './buttons/button.component'
15 import { DeleteButtonComponent } from './buttons/delete-button.component'
16 import { EditButtonComponent } from './buttons/edit-button.component'
17 import { LoaderComponent } from './misc/loader.component'
18 import { RestExtractor, RestService } from './rest'
19 import { UserService } from './users'
20 import { VideoAbuseService } from './video-abuse'
21 import { VideoBlacklistService } from './video-blacklist'
22 import { VideoOwnershipService } from './video-ownership'
23 import { VideoMiniatureComponent } from './video/video-miniature.component'
24 import { FeedComponent } from './video/feed.component'
25 import { VideoThumbnailComponent } from './video/video-thumbnail.component'
26 import { VideoService } from './video/video.service'
27 import { AccountService } from '@app/shared/account/account.service'
28 import { VideoChannelService } from '@app/shared/video-channel/video-channel.service'
29 import { I18n } from '@ngx-translate/i18n-polyfill'
30 import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service'
32 CustomConfigValidatorsService,
33 InstanceValidatorsService,
34 LoginValidatorsService,
35 ReactiveFileComponent,
36 ResetPasswordValidatorsService,
37 TextareaAutoResizeDirective,
38 UserValidatorsService,
39 VideoAbuseValidatorsService,
40 VideoAcceptOwnershipValidatorsService,
41 VideoBlacklistValidatorsService,
42 VideoChangeOwnershipValidatorsService,
43 VideoChannelValidatorsService,
44 VideoCommentValidatorsService,
45 VideoPlaylistValidatorsService,
46 VideoValidatorsService
47 } from '@app/shared/forms'
48 import { I18nPrimengCalendarService } from '@app/shared/i18n/i18n-primeng-calendar'
49 import { InputMaskModule } from 'primeng/inputmask'
50 import { ScreenService } from '@app/shared/misc/screen.service'
51 import { VideoCaptionsValidatorsService } from '@app/shared/forms/form-validators/video-captions-validators.service'
52 import { VideoCaptionService } from '@app/shared/video-caption'
53 import { PeertubeCheckboxComponent } from '@app/shared/forms/peertube-checkbox.component'
54 import { VideoImportService } from '@app/shared/video-import/video-import.service'
55 import { ActionDropdownComponent } from '@app/shared/buttons/action-dropdown.component'
63 } from '@ng-bootstrap/ng-bootstrap'
64 import { RemoteSubscribeComponent, SubscribeButtonComponent, UserSubscriptionService } from '@app/shared/user-subscription'
65 import { InstanceFeaturesTableComponent } from '@app/shared/instance/instance-features-table.component'
66 import { OverviewService } from '@app/shared/overview'
67 import { UserBanModalComponent } from '@app/shared/moderation'
68 import { UserModerationDropdownComponent } from '@app/shared/moderation/user-moderation-dropdown.component'
69 import { BlocklistService } from '@app/shared/blocklist'
70 import { TopMenuDropdownComponent } from '@app/shared/menu/top-menu-dropdown.component'
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 { InstanceService } from '@app/shared/instance/instance.service'
75 import { HtmlRendererService, LinkifierService, MarkdownService } from '@app/shared/renderer'
76 import { ConfirmComponent } from '@app/shared/confirm/confirm.component'
77 import { SmallLoaderComponent } from '@app/shared/misc/small-loader.component'
78 import { VideoPlaylistService } from '@app/shared/video-playlist/video-playlist.service'
79 import { PreviewUploadComponent } from '@app/shared/images/preview-upload.component'
80 import { GlobalIconComponent } from '@app/shared/images/global-icon.component'
81 import { VideoPlaylistMiniatureComponent } from '@app/shared/video-playlist/video-playlist-miniature.component'
82 import { VideoAddToPlaylistComponent } from '@app/shared/video-playlist/video-add-to-playlist.component'
83 import { TimestampInputComponent } from '@app/shared/forms/timestamp-input.component'
84 import { VideoPlaylistElementMiniatureComponent } from '@app/shared/video-playlist/video-playlist-element-miniature.component'
85 import { VideosSelectionComponent } from '@app/shared/video/videos-selection.component'
86 import { NumberFormatterPipe } from '@app/shared/angular/number-formatter.pipe'
87 import { ObjectLengthPipe } from '@app/shared/angular/object-length.pipe'
88 import { FromNowPipe } from '@app/shared/angular/from-now.pipe'
89 import { PeerTubeTemplateDirective } from '@app/shared/angular/peertube-template.directive'
90 import { VideoActionsDropdownComponent } from '@app/shared/video/video-actions-dropdown.component'
91 import { VideoBlacklistComponent } from '@app/shared/video/modals/video-blacklist.component'
92 import { VideoDownloadComponent } from '@app/shared/video/modals/video-download.component'
93 import { VideoReportComponent } from '@app/shared/video/modals/video-report.component'
94 import { ClipboardModule } from 'ngx-clipboard'
95 import { FollowService } from '@app/shared/instance/follow.service'
121 SmallLoaderComponent,
123 VideoThumbnailComponent,
124 VideoMiniatureComponent,
125 VideoPlaylistMiniatureComponent,
126 VideoAddToPlaylistComponent,
127 VideoPlaylistElementMiniatureComponent,
128 VideosSelectionComponent,
129 VideoActionsDropdownComponent,
131 VideoDownloadComponent,
132 VideoReportComponent,
133 VideoBlacklistComponent,
138 DeleteButtonComponent,
144 PeerTubeTemplateDirective,
146 ActionDropdownComponent,
147 MarkdownTextareaComponent,
148 InfiniteScrollerDirective,
149 TextareaAutoResizeDirective,
152 ReactiveFileComponent,
153 PeertubeCheckboxComponent,
154 TimestampInputComponent,
156 SubscribeButtonComponent,
157 RemoteSubscribeComponent,
158 InstanceFeaturesTableComponent,
159 UserBanModalComponent,
160 UserModerationDropdownComponent,
161 TopMenuDropdownComponent,
162 UserNotificationsComponent,
166 PreviewUploadComponent
191 SmallLoaderComponent,
193 VideoThumbnailComponent,
194 VideoMiniatureComponent,
195 VideoPlaylistMiniatureComponent,
196 VideoAddToPlaylistComponent,
197 VideoPlaylistElementMiniatureComponent,
198 VideosSelectionComponent,
199 VideoActionsDropdownComponent,
201 VideoDownloadComponent,
202 VideoReportComponent,
203 VideoBlacklistComponent,
208 DeleteButtonComponent,
211 ActionDropdownComponent,
212 MarkdownTextareaComponent,
213 InfiniteScrollerDirective,
214 TextareaAutoResizeDirective,
217 ReactiveFileComponent,
218 PeertubeCheckboxComponent,
219 TimestampInputComponent,
221 SubscribeButtonComponent,
222 RemoteSubscribeComponent,
223 InstanceFeaturesTableComponent,
224 UserBanModalComponent,
225 UserModerationDropdownComponent,
226 TopMenuDropdownComponent,
227 UserNotificationsComponent,
231 PreviewUploadComponent,
236 PeerTubeTemplateDirective
240 AUTH_INTERCEPTOR_PROVIDER,
244 VideoBlacklistService,
245 VideoOwnershipService,
250 VideoPlaylistService,
253 UserSubscriptionService,
255 FormValidatorService,
256 CustomConfigValidatorsService,
257 LoginValidatorsService,
258 ResetPasswordValidatorsService,
259 UserValidatorsService,
260 VideoPlaylistValidatorsService,
261 VideoAbuseValidatorsService,
262 VideoChannelValidatorsService,
263 VideoCommentValidatorsService,
264 VideoValidatorsService,
265 VideoCaptionsValidatorsService,
266 VideoBlacklistValidatorsService,
268 VideoChangeOwnershipValidatorsService,
269 VideoAcceptOwnershipValidatorsService,
270 InstanceValidatorsService,
279 I18nPrimengCalendarService,
282 UserNotificationService,
289 export class SharedModule { }