X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared.module.ts;h=b2eb13f7391c6b530aec4b465e4dfb22de979640;hb=6b0c3c7ca917ad09a011c2821f5bd1a2485aebca;hp=f6991a66da8ccfb5ef4b56b9ac71f9f92a800cf0;hpb=3d05209c9a9f1e229f8c704ee5fe06a5c97c9840;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts index f6991a66d..b2eb13f73 100644 --- a/client/src/app/shared/shared.module.ts +++ b/client/src/app/shared/shared.module.ts @@ -66,6 +66,7 @@ import { OverviewService } from '@app/shared/overview' import { UserBanModalComponent } from '@app/shared/moderation' import { UserModerationDropdownComponent } from '@app/shared/moderation/user-moderation-dropdown.component' import { BlocklistService } from '@app/shared/blocklist' +import { AvatarComponent } from '@app/shared/channel/avatar.component' import { TopMenuDropdownComponent } from '@app/shared/menu/top-menu-dropdown.component' import { UserHistoryService } from '@app/shared/users/user-history.service' import { UserNotificationService } from '@app/shared/users/user-notification.service' @@ -73,6 +74,7 @@ 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 { DateToggleComponent } from '@app/shared/date/date-toggle.component' import { SmallLoaderComponent } from '@app/shared/misc/small-loader.component' import { VideoPlaylistService } from '@app/shared/video-playlist/video-playlist.service' import { PreviewUploadComponent } from '@app/shared/images/preview-upload.component' @@ -83,6 +85,7 @@ import { TimestampInputComponent } from '@app/shared/forms/timestamp-input.compo import { VideoPlaylistElementMiniatureComponent } from '@app/shared/video-playlist/video-playlist-element-miniature.component' import { VideosSelectionComponent } from '@app/shared/video/videos-selection.component' import { NumberFormatterPipe } from '@app/shared/angular/number-formatter.pipe' +import { VideoDurationPipe } from '@app/shared/angular/video-duration-formatter.pipe' import { ObjectLengthPipe } from '@app/shared/angular/object-length.pipe' import { FromNowPipe } from '@app/shared/angular/from-now.pipe' import { PeerTubeTemplateDirective } from '@app/shared/angular/peertube-template.directive' @@ -94,6 +97,7 @@ import { ClipboardModule } from 'ngx-clipboard' import { FollowService } from '@app/shared/instance/follow.service' import { MultiSelectModule } from 'primeng/multiselect' import { FeatureBooleanComponent } from '@app/shared/instance/feature-boolean.component' +import { InputReadonlyCopyComponent } from '@app/shared/forms/input-readonly-copy.component' @NgModule({ imports: [ @@ -144,6 +148,7 @@ import { FeatureBooleanComponent } from '@app/shared/instance/feature-boolean.co ObjectLengthPipe, FromNowPipe, PeerTubeTemplateDirective, + VideoDurationPipe, ActionDropdownComponent, MarkdownTextareaComponent, @@ -154,7 +159,9 @@ import { FeatureBooleanComponent } from '@app/shared/instance/feature-boolean.co ReactiveFileComponent, PeertubeCheckboxComponent, TimestampInputComponent, + InputReadonlyCopyComponent, + AvatarComponent, SubscribeButtonComponent, RemoteSubscribeComponent, InstanceFeaturesTableComponent, @@ -165,6 +172,7 @@ import { FeatureBooleanComponent } from '@app/shared/instance/feature-boolean.co TopMenuDropdownComponent, UserNotificationsComponent, ConfirmComponent, + DateToggleComponent, GlobalIconComponent, PreviewUploadComponent @@ -218,11 +226,13 @@ import { FeatureBooleanComponent } from '@app/shared/instance/feature-boolean.co InfiniteScrollerDirective, TextareaAutoResizeDirective, HelpComponent, + InputReadonlyCopyComponent, ReactiveFileComponent, PeertubeCheckboxComponent, TimestampInputComponent, + AvatarComponent, SubscribeButtonComponent, RemoteSubscribeComponent, InstanceFeaturesTableComponent, @@ -232,6 +242,7 @@ import { FeatureBooleanComponent } from '@app/shared/instance/feature-boolean.co TopMenuDropdownComponent, UserNotificationsComponent, ConfirmComponent, + DateToggleComponent, GlobalIconComponent, PreviewUploadComponent, @@ -239,7 +250,8 @@ import { FeatureBooleanComponent } from '@app/shared/instance/feature-boolean.co NumberFormatterPipe, ObjectLengthPipe, FromNowPipe, - PeerTubeTemplateDirective + PeerTubeTemplateDirective, + VideoDurationPipe ], providers: [