X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared.module.ts;h=05da0d82926f4a68a1cd088b764c04cb80b48bda;hb=15e9d5ca39e0b792f61453fbf3885a0fc446afa7;hp=6f8625c7e926f83f8a5eaaf38d60cbb5afa889c7;hpb=457bb213b273a9b206cc5654eb085cede4e916ad;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts index 6f8625c7e..05da0d829 100644 --- a/client/src/app/shared/shared.module.ts +++ b/client/src/app/shared/shared.module.ts @@ -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' @@ -68,7 +70,13 @@ import { UserNotificationsComponent } from '@app/shared/users/user-notifications 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 { GlobalIconComponent } from '@app/shared/icons/global-icon.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: [ @@ -85,17 +93,25 @@ import { GlobalIconComponent } from '@app/shared/icons/global-icon.component' NgbTooltipModule, PrimeSharedModule, + InputMaskModule, NgPipesModule ], declarations: [ LoaderComponent, + SmallLoaderComponent, + VideoThumbnailComponent, VideoMiniatureComponent, + VideoPlaylistMiniatureComponent, + VideoAddToPlaylistComponent, + FeedComponent, + ButtonComponent, DeleteButtonComponent, EditButtonComponent, + ActionDropdownComponent, NumberFormatterPipe, ObjectLengthPipe, @@ -104,8 +120,11 @@ import { GlobalIconComponent } from '@app/shared/icons/global-icon.component' InfiniteScrollerDirective, TextareaAutoResizeDirective, HelpComponent, + ReactiveFileComponent, PeertubeCheckboxComponent, + TimestampInputComponent, + SubscribeButtonComponent, RemoteSubscribeComponent, InstanceFeaturesTableComponent, @@ -114,7 +133,9 @@ import { GlobalIconComponent } from '@app/shared/icons/global-icon.component' TopMenuDropdownComponent, UserNotificationsComponent, ConfirmComponent, - GlobalIconComponent + + GlobalIconComponent, + ImageUploadComponent ], exports: [ @@ -131,23 +152,34 @@ import { GlobalIconComponent } from '@app/shared/icons/global-icon.component' 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, @@ -156,7 +188,9 @@ import { GlobalIconComponent } from '@app/shared/icons/global-icon.component' TopMenuDropdownComponent, UserNotificationsComponent, ConfirmComponent, + GlobalIconComponent, + ImageUploadComponent, NumberFormatterPipe, ObjectLengthPipe, @@ -174,6 +208,7 @@ import { GlobalIconComponent } from '@app/shared/icons/global-icon.component' VideoService, AccountService, VideoChannelService, + VideoPlaylistService, VideoCaptionService, VideoImportService, UserSubscriptionService, @@ -183,6 +218,7 @@ import { GlobalIconComponent } from '@app/shared/icons/global-icon.component' LoginValidatorsService, ResetPasswordValidatorsService, UserValidatorsService, + VideoPlaylistValidatorsService, VideoAbuseValidatorsService, VideoChannelValidatorsService, VideoCommentValidatorsService,