X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-main%2Fshared-main.module.ts;h=5629640bc59ef6f34b928185ece88535b49bde35;hb=5079082d0d94b9e91e8bb75f877d93e54e77b647;hp=c8dd01429b8988663b311ab78d7fb8ace853bbeb;hpb=4d7ce9218a3f695bf3d013cbdce1c5c6a5221927;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 c8dd01429..5629640bc 100644 --- a/client/src/app/shared/shared-main/shared-main.module.ts +++ b/client/src/app/shared/shared-main/shared-main.module.ts @@ -4,7 +4,7 @@ import { CommonModule, DatePipe } from '@angular/common' import { HttpClientModule } from '@angular/common/http' import { NgModule } from '@angular/core' import { FormsModule, ReactiveFormsModule } from '@angular/forms' -import { ActivatedRouteSnapshot, RouterModule } from '@angular/router' +import { RouterModule } from '@angular/router' import { NgbButtonsModule, NgbCollapseModule, @@ -21,9 +21,11 @@ import { AccountService } from './account' import { AutofocusDirective, BytesPipe, + DeferLoadingDirective, DurationFormatterPipe, FromNowPipe, InfiniteScrollerDirective, + LinkComponent, NumberFormatterPipe, PeerTubeTemplateDirective } from './angular' @@ -33,13 +35,19 @@ 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 { + 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' -import { ActorRedirectGuard } from './router' @NgModule({ imports: [ @@ -73,9 +81,11 @@ import { ActorRedirectGuard } from './router' BytesPipe, DurationFormatterPipe, AutofocusDirective, + DeferLoadingDirective, InfiniteScrollerDirective, PeerTubeTemplateDirective, + LinkComponent, ActionDropdownComponent, ButtonComponent, @@ -89,6 +99,7 @@ import { ActorRedirectGuard } from './router' LoaderComponent, SmallLoaderComponent, + ChannelsSetupMessageComponent, HelpComponent, ListOverflowComponent, TopMenuDropdownComponent, @@ -97,7 +108,10 @@ import { ActorRedirectGuard } from './router' UserQuotaComponent, UserNotificationsComponent, - PluginPlaceholderComponent + EmbedComponent, + + PluginPlaceholderComponent, + PluginSelectorDirective ], exports: [ @@ -127,9 +141,11 @@ import { ActorRedirectGuard } from './router' NumberFormatterPipe, DurationFormatterPipe, AutofocusDirective, + DeferLoadingDirective, InfiniteScrollerDirective, PeerTubeTemplateDirective, + LinkComponent, ActionDropdownComponent, ButtonComponent, @@ -143,6 +159,7 @@ import { ActorRedirectGuard } from './router' LoaderComponent, SmallLoaderComponent, + ChannelsSetupMessageComponent, HelpComponent, ListOverflowComponent, TopMenuDropdownComponent, @@ -151,7 +168,10 @@ import { ActorRedirectGuard } from './router' UserQuotaComponent, UserNotificationsComponent, - PluginPlaceholderComponent + EmbedComponent, + + PluginPlaceholderComponent, + PluginSelectorDirective ], providers: [ @@ -170,6 +190,7 @@ import { ActorRedirectGuard } from './router' VideoImportService, VideoOwnershipService, VideoService, + VideoResolver, VideoCaptionService,