]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-main/shared-main.module.ts
Bumped to version v5.2.1
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-main / shared-main.module.ts
index fd96a42a0ed57200c7d498bc055bcb8a3aa91043..d3ec31d6eea84e110e06c7fb1a3cc71457589d27 100644 (file)
@@ -1,8 +1,4 @@
-import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes'
 import { SharedModule as PrimeSharedModule } from 'primeng/api'
-import { InputMaskModule } from 'primeng/inputmask'
-import { InputSwitchModule } from 'primeng/inputswitch'
-import { MultiSelectModule } from 'primeng/multiselect'
 import { ClipboardModule } from '@angular/cdk/clipboard'
 import { CommonModule, DatePipe } from '@angular/common'
 import { HttpClientModule } from '@angular/common/http'
@@ -17,20 +13,50 @@ import {
   NgbPopoverModule,
   NgbTooltipModule
 } from '@ng-bootstrap/ng-bootstrap'
-import { I18n } from '@ngx-translate/i18n-polyfill'
+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 } from './angular'
+import { AccountService, SignupLabelComponent } from './account'
+import {
+  AutoColspanDirective,
+  AutofocusDirective,
+  BytesPipe,
+  DeferLoadingDirective,
+  DurationFormatterPipe,
+  FromNowPipe,
+  InfiniteScrollerDirective,
+  LinkComponent,
+  LoginLinkComponent,
+  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 } from './misc'
-import { UserHistoryService, UserNotificationsComponent, UserNotificationService } from './users'
-import { RedundancyService, VideoImportService, VideoOwnershipService, VideoService } from './video'
+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 {
+  EmbedComponent,
+  RedundancyService,
+  VideoFileTokenService,
+  VideoImportService,
+  VideoOwnershipService,
+  VideoResolver,
+  VideoService
+} from './video'
 import { VideoCaptionService } from './video-caption'
 import { VideoChannelService } from './video-channel'
-import { AUTH_INTERCEPTOR_PROVIDER } from './auth'
 
 @NgModule({
   imports: [
@@ -40,6 +66,9 @@ import { AUTH_INTERCEPTOR_PROVIDER } from './auth'
     RouterModule,
     HttpClientModule,
 
+    LoadingBarHttpClientModule,
+    LoadingBarModule,
+
     NgbDropdownModule,
     NgbModalModule,
     NgbPopoverModule,
@@ -50,22 +79,23 @@ import { AUTH_INTERCEPTOR_PROVIDER } from './auth'
     ClipboardModule,
 
     PrimeSharedModule,
-    InputMaskModule,
-    NgPipesModule,
-    MultiSelectModule,
-    InputSwitchModule,
 
     SharedGlobalIconModule
   ],
 
   declarations: [
-    AvatarComponent,
-    ActorAvatarInfoComponent,
-
     FromNowPipe,
-    InfiniteScrollerDirective,
     NumberFormatterPipe,
+    BytesPipe,
+    DurationFormatterPipe,
+    AutofocusDirective,
+    DeferLoadingDirective,
+    AutoColspanDirective,
+
+    InfiniteScrollerDirective,
     PeerTubeTemplateDirective,
+    LinkComponent,
+    LoginLinkComponent,
 
     ActionDropdownComponent,
     ButtonComponent,
@@ -77,14 +107,22 @@ import { AUTH_INTERCEPTOR_PROVIDER } from './auth'
     FeedComponent,
 
     LoaderComponent,
-    SmallLoaderComponent,
 
+    ChannelsSetupMessageComponent,
     HelpComponent,
     ListOverflowComponent,
+    TopMenuDropdownComponent,
+    SimpleSearchInputComponent,
 
+    UserQuotaComponent,
     UserNotificationsComponent,
 
-    FeedComponent
+    SignupLabelComponent,
+
+    EmbedComponent,
+
+    PluginPlaceholderComponent,
+    PluginSelectorDirective
   ],
 
   exports: [
@@ -94,6 +132,9 @@ import { AUTH_INTERCEPTOR_PROVIDER } from './auth'
     RouterModule,
     HttpClientModule,
 
+    LoadingBarHttpClientModule,
+    LoadingBarModule,
+
     NgbDropdownModule,
     NgbModalModule,
     NgbPopoverModule,
@@ -104,18 +145,19 @@ import { AUTH_INTERCEPTOR_PROVIDER } from './auth'
     ClipboardModule,
 
     PrimeSharedModule,
-    InputMaskModule,
-    BytesPipe,
-    KeysPipe,
-    MultiSelectModule,
-
-    AvatarComponent,
-    ActorAvatarInfoComponent,
 
     FromNowPipe,
-    InfiniteScrollerDirective,
+    BytesPipe,
     NumberFormatterPipe,
+    DurationFormatterPipe,
+    AutofocusDirective,
+    DeferLoadingDirective,
+    AutoColspanDirective,
+
+    InfiniteScrollerDirective,
     PeerTubeTemplateDirective,
+    LinkComponent,
+    LoginLinkComponent,
 
     ActionDropdownComponent,
     ButtonComponent,
@@ -127,19 +169,25 @@ import { AUTH_INTERCEPTOR_PROVIDER } from './auth'
     FeedComponent,
 
     LoaderComponent,
-    SmallLoaderComponent,
 
+    ChannelsSetupMessageComponent,
     HelpComponent,
     ListOverflowComponent,
+    TopMenuDropdownComponent,
+    SimpleSearchInputComponent,
 
+    UserQuotaComponent,
     UserNotificationsComponent,
 
-    FeedComponent
+    SignupLabelComponent,
+
+    EmbedComponent,
+
+    PluginPlaceholderComponent,
+    PluginSelectorDirective
   ],
 
   providers: [
-    I18n,
-
     DatePipe,
 
     FromNowPipe,
@@ -155,10 +203,16 @@ import { AUTH_INTERCEPTOR_PROVIDER } from './auth'
     VideoImportService,
     VideoOwnershipService,
     VideoService,
+    VideoFileTokenService,
+    VideoResolver,
 
     VideoCaptionService,
 
-    VideoChannelService
+    VideoChannelService,
+
+    CustomPageService,
+
+    ActorRedirectGuard
   ]
 })
 export class SharedMainModule { }