X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared.module.ts;h=05da0d82926f4a68a1cd088b764c04cb80b48bda;hb=15e9d5ca39e0b792f61453fbf3885a0fc446afa7;hp=c99c87c00cd50a00229d35a99bcb129b1b39088c;hpb=2f1548fda32c3ba9e53913270394eedfacd55986;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts index c99c87c00..05da0d829 100644 --- a/client/src/app/shared/shared.module.ts +++ b/client/src/app/shared/shared.module.ts @@ -6,7 +6,6 @@ import { RouterModule } from '@angular/router' import { MarkdownTextareaComponent } from '@app/shared/forms/markdown-textarea.component' import { HelpComponent } from '@app/shared/misc/help.component' import { InfiniteScrollerDirective } from '@app/shared/video/infinite-scroller.directive' -import { MarkdownService } from '@app/videos/shared' import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes' import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared' @@ -34,6 +33,7 @@ import { I18n } from '@ngx-translate/i18n-polyfill' import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service' import { CustomConfigValidatorsService, + InstanceValidatorsService, LoginValidatorsService, ReactiveFileComponent, ResetPasswordValidatorsService, @@ -45,9 +45,11 @@ import { VideoChangeOwnershipValidatorsService, VideoChannelValidatorsService, VideoCommentValidatorsService, + VideoPlaylistValidatorsService, VideoValidatorsService } from '@app/shared/forms' import { I18nPrimengCalendarService } from '@app/shared/i18n/i18n-primeng-calendar' +import { InputMaskModule } from 'primeng/inputmask' import { ScreenService } from '@app/shared/misc/screen.service' import { VideoCaptionsValidatorsService } from '@app/shared/forms/form-validators/video-captions-validators.service' import { VideoCaptionService } from '@app/shared/video-caption' @@ -65,6 +67,16 @@ import { TopMenuDropdownComponent } from '@app/shared/menu/top-menu-dropdown.com import { UserHistoryService } from '@app/shared/users/user-history.service' import { UserNotificationService } from '@app/shared/users/user-notification.service' import { UserNotificationsComponent } from '@app/shared/users/user-notifications.component' +import { InstanceService } from '@app/shared/instance/instance.service' +import { HtmlRendererService, LinkifierService, MarkdownService } from '@app/shared/renderer' +import { ConfirmComponent } from '@app/shared/confirm/confirm.component' +import { SmallLoaderComponent } from '@app/shared/misc/small-loader.component' +import { VideoPlaylistService } from '@app/shared/video-playlist/video-playlist.service' +import { ImageUploadComponent } from '@app/shared/images/image-upload.component' +import { GlobalIconComponent } from '@app/shared/images/global-icon.component' +import { VideoPlaylistMiniatureComponent } from '@app/shared/video-playlist/video-playlist-miniature.component' +import { VideoAddToPlaylistComponent } from '@app/shared/video-playlist/video-add-to-playlist.component' +import { TimestampInputComponent } from '@app/shared/forms/timestamp-input.component' @NgModule({ imports: [ @@ -81,17 +93,25 @@ import { UserNotificationsComponent } from '@app/shared/users/user-notifications NgbTooltipModule, PrimeSharedModule, + InputMaskModule, NgPipesModule ], declarations: [ LoaderComponent, + SmallLoaderComponent, + VideoThumbnailComponent, VideoMiniatureComponent, + VideoPlaylistMiniatureComponent, + VideoAddToPlaylistComponent, + FeedComponent, + ButtonComponent, DeleteButtonComponent, EditButtonComponent, + ActionDropdownComponent, NumberFormatterPipe, ObjectLengthPipe, @@ -100,15 +120,22 @@ import { UserNotificationsComponent } from '@app/shared/users/user-notifications InfiniteScrollerDirective, TextareaAutoResizeDirective, HelpComponent, + ReactiveFileComponent, PeertubeCheckboxComponent, + TimestampInputComponent, + SubscribeButtonComponent, RemoteSubscribeComponent, InstanceFeaturesTableComponent, UserBanModalComponent, UserModerationDropdownComponent, TopMenuDropdownComponent, - UserNotificationsComponent + UserNotificationsComponent, + ConfirmComponent, + + GlobalIconComponent, + ImageUploadComponent ], exports: [ @@ -125,23 +152,34 @@ import { UserNotificationsComponent } from '@app/shared/users/user-notifications NgbTooltipModule, PrimeSharedModule, + InputMaskModule, BytesPipe, KeysPipe, LoaderComponent, + SmallLoaderComponent, + VideoThumbnailComponent, VideoMiniatureComponent, + VideoPlaylistMiniatureComponent, + VideoAddToPlaylistComponent, + FeedComponent, + ButtonComponent, DeleteButtonComponent, EditButtonComponent, + ActionDropdownComponent, MarkdownTextareaComponent, InfiniteScrollerDirective, TextareaAutoResizeDirective, HelpComponent, + ReactiveFileComponent, PeertubeCheckboxComponent, + TimestampInputComponent, + SubscribeButtonComponent, RemoteSubscribeComponent, InstanceFeaturesTableComponent, @@ -149,6 +187,10 @@ import { UserNotificationsComponent } from '@app/shared/users/user-notifications UserModerationDropdownComponent, TopMenuDropdownComponent, UserNotificationsComponent, + ConfirmComponent, + + GlobalIconComponent, + ImageUploadComponent, NumberFormatterPipe, ObjectLengthPipe, @@ -165,8 +207,8 @@ import { UserNotificationsComponent } from '@app/shared/users/user-notifications UserService, VideoService, AccountService, - MarkdownService, VideoChannelService, + VideoPlaylistService, VideoCaptionService, VideoImportService, UserSubscriptionService, @@ -176,6 +218,7 @@ import { UserNotificationsComponent } from '@app/shared/users/user-notifications LoginValidatorsService, ResetPasswordValidatorsService, UserValidatorsService, + VideoPlaylistValidatorsService, VideoAbuseValidatorsService, VideoChannelValidatorsService, VideoCommentValidatorsService, @@ -185,8 +228,14 @@ import { UserNotificationsComponent } from '@app/shared/users/user-notifications OverviewService, VideoChangeOwnershipValidatorsService, VideoAcceptOwnershipValidatorsService, + InstanceValidatorsService, BlocklistService, UserHistoryService, + InstanceService, + + MarkdownService, + LinkifierService, + HtmlRendererService, I18nPrimengCalendarService, ScreenService,