NgbModalModule,
NgbNavModule,
NgbPopoverModule,
- NgbTooltipModule
+ NgbTooltipModule,
+ NgbButtonsModule
} 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, BytesPipe } from './angular'
+import { AccountService, ActorAvatarInfoComponent, VideoAvatarChannelComponent } from './account'
+import {
+ AutofocusDirective,
+ BytesPipe,
+ DurationFormatterPipe,
+ FromNowPipe,
+ InfiniteScrollerDirective,
+ NumberFormatterPipe,
+ PeerTubeTemplateDirective
+} from './angular'
import { AUTH_INTERCEPTOR_PROVIDER } from './auth'
import { ActionDropdownComponent, ButtonComponent, DeleteButtonComponent, EditButtonComponent } from './buttons'
import { DateToggleComponent } from './date'
import { FeedComponent } from './feeds'
import { LoaderComponent, SmallLoaderComponent } from './loaders'
-import { HelpComponent, ListOverflowComponent, TopMenuDropdownComponent } from './misc'
+import { HelpComponent, ListOverflowComponent, TopMenuDropdownComponent, SimpleSearchInputComponent } from './misc'
import { UserHistoryService, UserNotificationsComponent, UserNotificationService, UserQuotaComponent } from './users'
import { RedundancyService, VideoImportService, VideoOwnershipService, VideoService } from './video'
import { VideoCaptionService } from './video-caption'
RouterModule,
HttpClientModule,
+ LoadingBarHttpClientModule,
+ LoadingBarModule,
+
NgbDropdownModule,
NgbModalModule,
NgbPopoverModule,
NgbNavModule,
NgbTooltipModule,
NgbCollapseModule,
+ NgbButtonsModule,
ClipboardModule,
],
declarations: [
- AvatarComponent,
+ VideoAvatarChannelComponent,
ActorAvatarInfoComponent,
FromNowPipe,
NumberFormatterPipe,
BytesPipe,
+ DurationFormatterPipe,
+ AutofocusDirective,
+
InfiniteScrollerDirective,
PeerTubeTemplateDirective,
HelpComponent,
ListOverflowComponent,
TopMenuDropdownComponent,
+ SimpleSearchInputComponent,
UserQuotaComponent,
UserNotificationsComponent
RouterModule,
HttpClientModule,
+ LoadingBarHttpClientModule,
+ LoadingBarModule,
+
NgbDropdownModule,
NgbModalModule,
NgbPopoverModule,
NgbNavModule,
NgbTooltipModule,
NgbCollapseModule,
+ NgbButtonsModule,
ClipboardModule,
PrimeSharedModule,
- AvatarComponent,
+ VideoAvatarChannelComponent,
ActorAvatarInfoComponent,
FromNowPipe,
BytesPipe,
NumberFormatterPipe,
+ DurationFormatterPipe,
+ AutofocusDirective,
InfiniteScrollerDirective,
PeerTubeTemplateDirective,
HelpComponent,
ListOverflowComponent,
TopMenuDropdownComponent,
+ SimpleSearchInputComponent,
UserQuotaComponent,
UserNotificationsComponent
],
providers: [
- I18n,
-
DatePipe,
FromNowPipe,