X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-main%2Fshared-main.module.ts;h=3e21d491a21acd2843f7cad5264f69138466a5c4;hb=a3664dfdc95897075e7b8abd670706e53f5a1ec3;hp=bca67b193275b3b0bbbc497ca00c6528c779072b;hpb=c6c0fa6cd8fe8f752463d8982c3dbcd448739c4e;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 bca67b193..3e21d491a 100644 --- a/client/src/app/shared/shared-main/shared-main.module.ts +++ b/client/src/app/shared/shared-main/shared-main.module.ts @@ -11,19 +11,30 @@ import { NgbModalModule, NgbNavModule, NgbPopoverModule, - NgbTooltipModule + NgbTooltipModule, + NgbButtonsModule } 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 { + AutofocusDirective, + 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' import { FeedComponent } from './feeds' import { LoaderComponent, SmallLoaderComponent } from './loaders' -import { HelpComponent, ListOverflowComponent, TopMenuDropdownComponent } from './misc' +import { HelpComponent, ListOverflowComponent, TopMenuDropdownComponent, SimpleSearchInputComponent } from './misc' import { UserHistoryService, UserNotificationsComponent, UserNotificationService, UserQuotaComponent } from './users' -import { RedundancyService, VideoImportService, VideoOwnershipService, VideoService, VideoLiveService } from './video' +import { RedundancyService, VideoImportService, VideoOwnershipService, VideoService } from './video' import { VideoCaptionService } from './video-caption' import { VideoChannelService } from './video-channel' @@ -35,12 +46,16 @@ import { VideoChannelService } from './video-channel' RouterModule, HttpClientModule, + LoadingBarHttpClientModule, + LoadingBarModule, + NgbDropdownModule, NgbModalModule, NgbPopoverModule, NgbNavModule, NgbTooltipModule, NgbCollapseModule, + NgbButtonsModule, ClipboardModule, @@ -50,12 +65,15 @@ import { VideoChannelService } from './video-channel' ], declarations: [ - AvatarComponent, + VideoAvatarChannelComponent, ActorAvatarInfoComponent, FromNowPipe, NumberFormatterPipe, BytesPipe, + DurationFormatterPipe, + AutofocusDirective, + InfiniteScrollerDirective, PeerTubeTemplateDirective, @@ -74,6 +92,7 @@ import { VideoChannelService } from './video-channel' HelpComponent, ListOverflowComponent, TopMenuDropdownComponent, + SimpleSearchInputComponent, UserQuotaComponent, UserNotificationsComponent @@ -86,23 +105,29 @@ import { VideoChannelService } from './video-channel' RouterModule, HttpClientModule, + LoadingBarHttpClientModule, + LoadingBarModule, + NgbDropdownModule, NgbModalModule, NgbPopoverModule, NgbNavModule, NgbTooltipModule, NgbCollapseModule, + NgbButtonsModule, ClipboardModule, PrimeSharedModule, - AvatarComponent, + VideoAvatarChannelComponent, ActorAvatarInfoComponent, FromNowPipe, BytesPipe, NumberFormatterPipe, + DurationFormatterPipe, + AutofocusDirective, InfiniteScrollerDirective, PeerTubeTemplateDirective, @@ -122,6 +147,7 @@ import { VideoChannelService } from './video-channel' HelpComponent, ListOverflowComponent, TopMenuDropdownComponent, + SimpleSearchInputComponent, UserQuotaComponent, UserNotificationsComponent @@ -142,7 +168,6 @@ import { VideoChannelService } from './video-channel' RedundancyService, VideoImportService, VideoOwnershipService, - VideoLiveService, VideoService, VideoCaptionService,