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 { FromNowPipe } from './misc/from-now.pipe'
18 import { LoaderComponent } from './misc/loader.component'
19 import { NumberFormatterPipe } from './misc/number-formatter.pipe'
20 import { ObjectLengthPipe } from './misc/object-length.pipe'
21 import { RestExtractor, RestService } from './rest'
22 import { UserService } from './users'
23 import { VideoAbuseService } from './video-abuse'
24 import { VideoBlacklistService } from './video-blacklist'
25 import { VideoOwnershipService } from './video-ownership'
26 import { VideoMiniatureComponent } from './video/video-miniature.component'
27 import { FeedComponent } from './video/feed.component'
28 import { VideoThumbnailComponent } from './video/video-thumbnail.component'
29 import { VideoService } from './video/video.service'
30 import { AccountService } from '@app/shared/account/account.service'
31 import { VideoChannelService } from '@app/shared/video-channel/video-channel.service'
32 import { I18n } from '@ngx-translate/i18n-polyfill'
33 import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service'
35 CustomConfigValidatorsService,
36 InstanceValidatorsService,
37 LoginValidatorsService,
38 ReactiveFileComponent,
39 ResetPasswordValidatorsService,
40 TextareaAutoResizeDirective,
41 UserValidatorsService,
42 VideoAbuseValidatorsService,
43 VideoAcceptOwnershipValidatorsService,
44 VideoBlacklistValidatorsService,
45 VideoChangeOwnershipValidatorsService,
46 VideoChannelValidatorsService,
47 VideoCommentValidatorsService,
48 VideoValidatorsService
49 } from '@app/shared/forms'
50 import { I18nPrimengCalendarService } from '@app/shared/i18n/i18n-primeng-calendar'
51 import { ScreenService } from '@app/shared/misc/screen.service'
52 import { VideoCaptionsValidatorsService } from '@app/shared/forms/form-validators/video-captions-validators.service'
53 import { VideoCaptionService } from '@app/shared/video-caption'
54 import { PeertubeCheckboxComponent } from '@app/shared/forms/peertube-checkbox.component'
55 import { VideoImportService } from '@app/shared/video-import/video-import.service'
56 import { ActionDropdownComponent } from '@app/shared/buttons/action-dropdown.component'
57 import { NgbDropdownModule, NgbModalModule, NgbPopoverModule, NgbTabsetModule, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap'
58 import { RemoteSubscribeComponent, SubscribeButtonComponent, UserSubscriptionService } from '@app/shared/user-subscription'
59 import { InstanceFeaturesTableComponent } from '@app/shared/instance/instance-features-table.component'
60 import { OverviewService } from '@app/shared/overview'
61 import { UserBanModalComponent } from '@app/shared/moderation'
62 import { UserModerationDropdownComponent } from '@app/shared/moderation/user-moderation-dropdown.component'
63 import { BlocklistService } from '@app/shared/blocklist'
64 import { TopMenuDropdownComponent } from '@app/shared/menu/top-menu-dropdown.component'
65 import { UserHistoryService } from '@app/shared/users/user-history.service'
66 import { UserNotificationService } from '@app/shared/users/user-notification.service'
67 import { UserNotificationsComponent } from '@app/shared/users/user-notifications.component'
68 import { InstanceService } from '@app/shared/instance/instance.service'
69 import { HtmlRendererService, LinkifierService, MarkdownService } from '@app/shared/renderer'
70 import { ConfirmComponent } from '@app/shared/confirm/confirm.component'
71 import { GlobalIconComponent } from '@app/shared/icons/global-icon.component'
72 import { SmallLoaderComponent } from '@app/shared/misc/small-loader.component'
95 VideoThumbnailComponent,
96 VideoMiniatureComponent,
99 DeleteButtonComponent,
101 ActionDropdownComponent,
105 MarkdownTextareaComponent,
106 InfiniteScrollerDirective,
107 TextareaAutoResizeDirective,
109 ReactiveFileComponent,
110 PeertubeCheckboxComponent,
111 SubscribeButtonComponent,
112 RemoteSubscribeComponent,
113 InstanceFeaturesTableComponent,
114 UserBanModalComponent,
115 UserModerationDropdownComponent,
116 TopMenuDropdownComponent,
117 UserNotificationsComponent,
140 SmallLoaderComponent,
141 VideoThumbnailComponent,
142 VideoMiniatureComponent,
145 DeleteButtonComponent,
147 ActionDropdownComponent,
148 MarkdownTextareaComponent,
149 InfiniteScrollerDirective,
150 TextareaAutoResizeDirective,
152 ReactiveFileComponent,
153 PeertubeCheckboxComponent,
154 SubscribeButtonComponent,
155 RemoteSubscribeComponent,
156 InstanceFeaturesTableComponent,
157 UserBanModalComponent,
158 UserModerationDropdownComponent,
159 TopMenuDropdownComponent,
160 UserNotificationsComponent,
170 AUTH_INTERCEPTOR_PROVIDER,
174 VideoBlacklistService,
175 VideoOwnershipService,
182 UserSubscriptionService,
184 FormValidatorService,
185 CustomConfigValidatorsService,
186 LoginValidatorsService,
187 ResetPasswordValidatorsService,
188 UserValidatorsService,
189 VideoAbuseValidatorsService,
190 VideoChannelValidatorsService,
191 VideoCommentValidatorsService,
192 VideoValidatorsService,
193 VideoCaptionsValidatorsService,
194 VideoBlacklistValidatorsService,
196 VideoChangeOwnershipValidatorsService,
197 VideoAcceptOwnershipValidatorsService,
198 InstanceValidatorsService,
207 I18nPrimengCalendarService,
210 UserNotificationService,
215 export class SharedModule { }