NgbPopoverModule,
NgbTooltipModule
} 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 { AccountService, SignupLabelComponent } from './account'
import {
+ 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, TopMenuDropdownComponent } from './misc'
+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 { LiveVideoService, 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'
RouterModule,
HttpClientModule,
+ LoadingBarHttpClientModule,
+ LoadingBarModule,
+
NgbDropdownModule,
NgbModalModule,
NgbPopoverModule,
],
declarations: [
- AvatarComponent,
- ActorAvatarInfoComponent,
-
FromNowPipe,
NumberFormatterPipe,
BytesPipe,
DurationFormatterPipe,
+ AutofocusDirective,
+ DeferLoadingDirective,
InfiniteScrollerDirective,
PeerTubeTemplateDirective,
+ LinkComponent,
+ LoginLinkComponent,
ActionDropdownComponent,
ButtonComponent,
FeedComponent,
LoaderComponent,
- SmallLoaderComponent,
+ ChannelsSetupMessageComponent,
HelpComponent,
ListOverflowComponent,
TopMenuDropdownComponent,
+ SimpleSearchInputComponent,
UserQuotaComponent,
- UserNotificationsComponent
+ UserNotificationsComponent,
+
+ SignupLabelComponent,
+
+ EmbedComponent,
+
+ PluginPlaceholderComponent,
+ PluginSelectorDirective
],
exports: [
RouterModule,
HttpClientModule,
+ LoadingBarHttpClientModule,
+ LoadingBarModule,
+
NgbDropdownModule,
NgbModalModule,
NgbPopoverModule,
PrimeSharedModule,
- AvatarComponent,
- ActorAvatarInfoComponent,
-
FromNowPipe,
BytesPipe,
NumberFormatterPipe,
DurationFormatterPipe,
+ AutofocusDirective,
+ DeferLoadingDirective,
InfiniteScrollerDirective,
PeerTubeTemplateDirective,
+ LinkComponent,
+ LoginLinkComponent,
ActionDropdownComponent,
ButtonComponent,
FeedComponent,
LoaderComponent,
- SmallLoaderComponent,
+ ChannelsSetupMessageComponent,
HelpComponent,
ListOverflowComponent,
TopMenuDropdownComponent,
+ SimpleSearchInputComponent,
UserQuotaComponent,
- UserNotificationsComponent
+ UserNotificationsComponent,
+
+ SignupLabelComponent,
+
+ EmbedComponent,
+
+ PluginPlaceholderComponent,
+ PluginSelectorDirective
],
providers: [
RedundancyService,
VideoImportService,
VideoOwnershipService,
- LiveVideoService,
VideoService,
+ VideoFileTokenService,
+ VideoResolver,
VideoCaptionService,
- VideoChannelService
+ VideoChannelService,
+
+ CustomPageService,
+
+ ActorRedirectGuard
]
})
export class SharedMainModule { }