X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-main%2Fshared-main.module.ts;h=04b223cc5bee3b3493d25f070447f727e0e6c162;hb=3afe0ec3b32d2bd9183541ecbf40278710f8707d;hp=05a5d77c7dd814710f1b8f1627f06e2af78a8b6f;hpb=69e076ddb0deda9e4120bab095d3369bb19fbd1e;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 05a5d77c7..04b223cc5 100644 --- a/client/src/app/shared/shared-main/shared-main.module.ts +++ b/client/src/app/shared/shared-main/shared-main.module.ts @@ -6,7 +6,6 @@ import { NgModule } from '@angular/core' import { FormsModule, ReactiveFormsModule } from '@angular/forms' import { RouterModule } from '@angular/router' import { - NgbButtonsModule, NgbCollapseModule, NgbDropdownModule, NgbModalModule, @@ -17,25 +16,35 @@ import { import { LoadingBarModule } from '@ngx-loading-bar/core' import { LoadingBarHttpClientModule } from '@ngx-loading-bar/http-client' import { SharedGlobalIconModule } from '../shared-icons' -import { AccountService, ActorService } from './account' +import { AccountService } from './account' import { AutofocusDirective, BytesPipe, + DeferLoadingDirective, DurationFormatterPipe, FromNowPipe, InfiniteScrollerDirective, + LinkComponent, NumberFormatterPipe, PeerTubeTemplateDirective } from './angular' import { AUTH_INTERCEPTOR_PROVIDER } from './auth' import { ActionDropdownComponent, ButtonComponent, DeleteButtonComponent, EditButtonComponent } from './buttons' +import { CustomPageService } from './custom-page' import { DateToggleComponent } from './date' import { FeedComponent } from './feeds' -import { LoaderComponent, SmallLoaderComponent } from './loaders' -import { HelpComponent, ListOverflowComponent, SimpleSearchInputComponent, TopMenuDropdownComponent } from './misc' -import { PluginPlaceholderComponent } from './plugins' +import { LoaderComponent } from './loaders' +import { + ChannelsSetupMessageComponent, + HelpComponent, + ListOverflowComponent, + SimpleSearchInputComponent, + TopMenuDropdownComponent +} from './misc' +import { PluginPlaceholderComponent, PluginSelectorDirective } from './plugins' +import { ActorRedirectGuard } from './router' import { UserHistoryService, UserNotificationsComponent, UserNotificationService, UserQuotaComponent } from './users' -import { RedundancyService, VideoImportService, VideoOwnershipService, VideoService } from './video' +import { EmbedComponent, RedundancyService, VideoImportService, VideoOwnershipService, VideoResolver, VideoService } from './video' import { VideoCaptionService } from './video-caption' import { VideoChannelService } from './video-channel' @@ -56,7 +65,6 @@ import { VideoChannelService } from './video-channel' NgbNavModule, NgbTooltipModule, NgbCollapseModule, - NgbButtonsModule, ClipboardModule, @@ -71,9 +79,11 @@ import { VideoChannelService } from './video-channel' BytesPipe, DurationFormatterPipe, AutofocusDirective, + DeferLoadingDirective, InfiniteScrollerDirective, PeerTubeTemplateDirective, + LinkComponent, ActionDropdownComponent, ButtonComponent, @@ -85,8 +95,8 @@ import { VideoChannelService } from './video-channel' FeedComponent, LoaderComponent, - SmallLoaderComponent, + ChannelsSetupMessageComponent, HelpComponent, ListOverflowComponent, TopMenuDropdownComponent, @@ -95,7 +105,10 @@ import { VideoChannelService } from './video-channel' UserQuotaComponent, UserNotificationsComponent, - PluginPlaceholderComponent + EmbedComponent, + + PluginPlaceholderComponent, + PluginSelectorDirective ], exports: [ @@ -114,7 +127,6 @@ import { VideoChannelService } from './video-channel' NgbNavModule, NgbTooltipModule, NgbCollapseModule, - NgbButtonsModule, ClipboardModule, @@ -125,9 +137,11 @@ import { VideoChannelService } from './video-channel' NumberFormatterPipe, DurationFormatterPipe, AutofocusDirective, + DeferLoadingDirective, InfiniteScrollerDirective, PeerTubeTemplateDirective, + LinkComponent, ActionDropdownComponent, ButtonComponent, @@ -139,8 +153,8 @@ import { VideoChannelService } from './video-channel' FeedComponent, LoaderComponent, - SmallLoaderComponent, + ChannelsSetupMessageComponent, HelpComponent, ListOverflowComponent, TopMenuDropdownComponent, @@ -149,7 +163,10 @@ import { VideoChannelService } from './video-channel' UserQuotaComponent, UserNotificationsComponent, - PluginPlaceholderComponent + EmbedComponent, + + PluginPlaceholderComponent, + PluginSelectorDirective ], providers: [ @@ -160,7 +177,6 @@ import { VideoChannelService } from './video-channel' AUTH_INTERCEPTOR_PROVIDER, AccountService, - ActorService, UserHistoryService, UserNotificationService, @@ -169,10 +185,15 @@ import { VideoChannelService } from './video-channel' VideoImportService, VideoOwnershipService, VideoService, + VideoResolver, VideoCaptionService, - VideoChannelService + VideoChannelService, + + CustomPageService, + + ActorRedirectGuard ] }) export class SharedMainModule { }