import { FormsModule, ReactiveFormsModule } from '@angular/forms'
import { RouterModule } from '@angular/router'
import {
+ NgbButtonsModule,
NgbCollapseModule,
NgbDropdownModule,
NgbModalModule,
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 } from './account'
import {
+ AutofocusDirective,
BytesPipe,
DurationFormatterPipe,
FromNowPipe,
import { DateToggleComponent } from './date'
import { FeedComponent } from './feeds'
import { LoaderComponent, SmallLoaderComponent } from './loaders'
-import { HelpComponent, ListOverflowComponent, TopMenuDropdownComponent } from './misc'
+import { HelpComponent, ListOverflowComponent, SimpleSearchInputComponent, TopMenuDropdownComponent } from './misc'
+import { PluginPlaceholderComponent } from './plugins'
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,
- ActorAvatarInfoComponent,
-
FromNowPipe,
NumberFormatterPipe,
BytesPipe,
DurationFormatterPipe,
+ AutofocusDirective,
InfiniteScrollerDirective,
PeerTubeTemplateDirective,
HelpComponent,
ListOverflowComponent,
TopMenuDropdownComponent,
+ SimpleSearchInputComponent,
UserQuotaComponent,
- UserNotificationsComponent
+ UserNotificationsComponent,
+
+ PluginPlaceholderComponent
],
exports: [
RouterModule,
HttpClientModule,
+ LoadingBarHttpClientModule,
+ LoadingBarModule,
+
NgbDropdownModule,
NgbModalModule,
NgbPopoverModule,
NgbNavModule,
NgbTooltipModule,
NgbCollapseModule,
+ NgbButtonsModule,
ClipboardModule,
PrimeSharedModule,
- AvatarComponent,
- ActorAvatarInfoComponent,
-
FromNowPipe,
BytesPipe,
NumberFormatterPipe,
DurationFormatterPipe,
+ AutofocusDirective,
InfiniteScrollerDirective,
PeerTubeTemplateDirective,
HelpComponent,
ListOverflowComponent,
TopMenuDropdownComponent,
+ SimpleSearchInputComponent,
UserQuotaComponent,
- UserNotificationsComponent
+ UserNotificationsComponent,
+
+ PluginPlaceholderComponent
],
providers: [