X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared-main%2Fshared-main.module.ts;h=c1523bc5021af307a2c5c6bea32943e5d7190df1;hb=b1dbb9fefc870a90b25f5c0153589f45c9e75e3e;hp=c8dd01429b8988663b311ab78d7fb8ace853bbeb;hpb=012580d98f489e599d44a9a2a0bdc892b9455a90;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..c1523bc50 100644 --- a/client/src/app/shared/shared-main/shared-main.module.ts +++ b/client/src/app/shared/shared-main/shared-main.module.ts @@ -4,9 +4,8 @@ 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, NgbDropdownModule, NgbModalModule, @@ -21,9 +20,11 @@ import { AccountService } from './account' import { AutofocusDirective, BytesPipe, + DeferLoadingDirective, DurationFormatterPipe, FromNowPipe, InfiniteScrollerDirective, + LinkComponent, NumberFormatterPipe, PeerTubeTemplateDirective } from './angular' @@ -32,14 +33,28 @@ import { ActionDropdownComponent, ButtonComponent, DeleteButtonComponent, EditBu 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, + VideoFileTokenService, + VideoImportService, + VideoOwnershipService, + VideoResolver, + VideoService +} from './video' import { VideoCaptionService } from './video-caption' import { VideoChannelService } from './video-channel' -import { ActorRedirectGuard } from './router' @NgModule({ imports: [ @@ -58,7 +73,6 @@ import { ActorRedirectGuard } from './router' NgbNavModule, NgbTooltipModule, NgbCollapseModule, - NgbButtonsModule, ClipboardModule, @@ -73,9 +87,11 @@ import { ActorRedirectGuard } from './router' BytesPipe, DurationFormatterPipe, AutofocusDirective, + DeferLoadingDirective, InfiniteScrollerDirective, PeerTubeTemplateDirective, + LinkComponent, ActionDropdownComponent, ButtonComponent, @@ -87,8 +103,8 @@ import { ActorRedirectGuard } from './router' FeedComponent, LoaderComponent, - SmallLoaderComponent, + ChannelsSetupMessageComponent, HelpComponent, ListOverflowComponent, TopMenuDropdownComponent, @@ -97,7 +113,10 @@ import { ActorRedirectGuard } from './router' UserQuotaComponent, UserNotificationsComponent, - PluginPlaceholderComponent + EmbedComponent, + + PluginPlaceholderComponent, + PluginSelectorDirective ], exports: [ @@ -116,7 +135,6 @@ import { ActorRedirectGuard } from './router' NgbNavModule, NgbTooltipModule, NgbCollapseModule, - NgbButtonsModule, ClipboardModule, @@ -127,9 +145,11 @@ import { ActorRedirectGuard } from './router' NumberFormatterPipe, DurationFormatterPipe, AutofocusDirective, + DeferLoadingDirective, InfiniteScrollerDirective, PeerTubeTemplateDirective, + LinkComponent, ActionDropdownComponent, ButtonComponent, @@ -141,8 +161,8 @@ import { ActorRedirectGuard } from './router' FeedComponent, LoaderComponent, - SmallLoaderComponent, + ChannelsSetupMessageComponent, HelpComponent, ListOverflowComponent, TopMenuDropdownComponent, @@ -151,7 +171,10 @@ import { ActorRedirectGuard } from './router' UserQuotaComponent, UserNotificationsComponent, - PluginPlaceholderComponent + EmbedComponent, + + PluginPlaceholderComponent, + PluginSelectorDirective ], providers: [ @@ -170,6 +193,8 @@ import { ActorRedirectGuard } from './router' VideoImportService, VideoOwnershipService, VideoService, + VideoFileTokenService, + VideoResolver, VideoCaptionService,