X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-main%2Fshared-main.module.ts;h=123b5a3e39b280b208428cd52c29157788cb2f6d;hb=c86fa51b8a84210f3b9fcbeebc3f03f280d5982d;hp=0580872f46ecf4460eda1e179d09d2a5ca3261ec;hpb=a5cf76afa378aae81af2a9b0ce548e5d2582f832;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/shared-main/shared-main.module.ts b/client/src/app/shared/shared-main/shared-main.module.ts index 0580872f4..123b5a3e3 100644 --- a/client/src/app/shared/shared-main/shared-main.module.ts +++ b/client/src/app/shared/shared-main/shared-main.module.ts @@ -13,9 +13,18 @@ import { NgbPopoverModule, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap' +import { LoadingBarModule } from '@ngx-loading-bar/core' +import { LoadingBarHttpClientModule } from '@ngx-loading-bar/http-client' import { SharedGlobalIconModule } from '../shared-icons' -import { AccountService, ActorAvatarInfoComponent, AvatarComponent } from './account' -import { FromNowPipe, InfiniteScrollerDirective, NumberFormatterPipe, PeerTubeTemplateDirective, BytesPipe } from './angular' +import { AccountService, ActorAvatarInfoComponent, VideoAvatarChannelComponent } from './account' +import { + BytesPipe, + DurationFormatterPipe, + FromNowPipe, + InfiniteScrollerDirective, + NumberFormatterPipe, + PeerTubeTemplateDirective +} from './angular' import { AUTH_INTERCEPTOR_PROVIDER } from './auth' import { ActionDropdownComponent, ButtonComponent, DeleteButtonComponent, EditButtonComponent } from './buttons' import { DateToggleComponent } from './date' @@ -23,7 +32,7 @@ import { FeedComponent } from './feeds' import { LoaderComponent, SmallLoaderComponent } from './loaders' import { HelpComponent, ListOverflowComponent, TopMenuDropdownComponent } from './misc' import { UserHistoryService, UserNotificationsComponent, UserNotificationService, UserQuotaComponent } from './users' -import { RedundancyService, VideoImportService, VideoOwnershipService, VideoService, LiveVideoService } from './video' +import { RedundancyService, VideoImportService, VideoOwnershipService, VideoService } from './video' import { VideoCaptionService } from './video-caption' import { VideoChannelService } from './video-channel' @@ -35,6 +44,9 @@ import { VideoChannelService } from './video-channel' RouterModule, HttpClientModule, + LoadingBarHttpClientModule, + LoadingBarModule, + NgbDropdownModule, NgbModalModule, NgbPopoverModule, @@ -50,12 +62,14 @@ import { VideoChannelService } from './video-channel' ], declarations: [ - AvatarComponent, + VideoAvatarChannelComponent, ActorAvatarInfoComponent, FromNowPipe, NumberFormatterPipe, BytesPipe, + DurationFormatterPipe, + InfiniteScrollerDirective, PeerTubeTemplateDirective, @@ -86,6 +100,9 @@ import { VideoChannelService } from './video-channel' RouterModule, HttpClientModule, + LoadingBarHttpClientModule, + LoadingBarModule, + NgbDropdownModule, NgbModalModule, NgbPopoverModule, @@ -97,12 +114,13 @@ import { VideoChannelService } from './video-channel' PrimeSharedModule, - AvatarComponent, + VideoAvatarChannelComponent, ActorAvatarInfoComponent, FromNowPipe, BytesPipe, NumberFormatterPipe, + DurationFormatterPipe, InfiniteScrollerDirective, PeerTubeTemplateDirective, @@ -142,7 +160,6 @@ import { VideoChannelService } from './video-channel' RedundancyService, VideoImportService, VideoOwnershipService, - LiveVideoService, VideoService, VideoCaptionService,