1 import { SharedModule as PrimeSharedModule } from 'primeng/api'
2 import { ClipboardModule } from '@angular/cdk/clipboard'
3 import { CommonModule, DatePipe } from '@angular/common'
4 import { HttpClientModule } from '@angular/common/http'
5 import { NgModule } from '@angular/core'
6 import { FormsModule, ReactiveFormsModule } from '@angular/forms'
7 import { RouterModule } from '@angular/router'
16 } from '@ng-bootstrap/ng-bootstrap'
17 import { LoadingBarModule } from '@ngx-loading-bar/core'
18 import { LoadingBarHttpClientModule } from '@ngx-loading-bar/http-client'
19 import { SharedGlobalIconModule } from '../shared-icons'
20 import { AccountService, ActorAvatarInfoComponent, VideoAvatarChannelComponent } from './account'
23 DurationFormatterPipe,
25 InfiniteScrollerDirective,
27 PeerTubeTemplateDirective
29 import { AUTH_INTERCEPTOR_PROVIDER } from './auth'
30 import { ActionDropdownComponent, ButtonComponent, DeleteButtonComponent, EditButtonComponent } from './buttons'
31 import { DateToggleComponent } from './date'
32 import { FeedComponent } from './feeds'
33 import { LoaderComponent, SmallLoaderComponent } from './loaders'
34 import { HelpComponent, ListOverflowComponent, TopMenuDropdownComponent, SimpleSearchInputComponent } from './misc'
35 import { UserHistoryService, UserNotificationsComponent, UserNotificationService, UserQuotaComponent } from './users'
36 import { RedundancyService, VideoImportService, VideoOwnershipService, VideoService } from './video'
37 import { VideoCaptionService } from './video-caption'
38 import { VideoChannelService } from './video-channel'
48 LoadingBarHttpClientModule,
63 SharedGlobalIconModule
67 VideoAvatarChannelComponent,
68 ActorAvatarInfoComponent,
73 DurationFormatterPipe,
75 InfiniteScrollerDirective,
76 PeerTubeTemplateDirective,
78 ActionDropdownComponent,
80 DeleteButtonComponent,
91 ListOverflowComponent,
92 TopMenuDropdownComponent,
93 SimpleSearchInputComponent,
96 UserNotificationsComponent
106 LoadingBarHttpClientModule,
121 VideoAvatarChannelComponent,
122 ActorAvatarInfoComponent,
127 DurationFormatterPipe,
129 InfiniteScrollerDirective,
130 PeerTubeTemplateDirective,
132 ActionDropdownComponent,
134 DeleteButtonComponent,
142 SmallLoaderComponent,
145 ListOverflowComponent,
146 TopMenuDropdownComponent,
147 SimpleSearchInputComponent,
150 UserNotificationsComponent
158 AUTH_INTERCEPTOR_PROVIDER,
163 UserNotificationService,
167 VideoOwnershipService,
175 export class SharedMainModule { }