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'
15 } from '@ng-bootstrap/ng-bootstrap'
16 import { LoadingBarModule } from '@ngx-loading-bar/core'
17 import { LoadingBarHttpClientModule } from '@ngx-loading-bar/http-client'
18 import { SharedGlobalIconModule } from '../shared-icons'
19 import { AccountService, ActorAvatarInfoComponent, VideoAvatarChannelComponent } from './account'
22 DurationFormatterPipe,
24 InfiniteScrollerDirective,
26 PeerTubeTemplateDirective
28 import { AUTH_INTERCEPTOR_PROVIDER } from './auth'
29 import { ActionDropdownComponent, ButtonComponent, DeleteButtonComponent, EditButtonComponent } from './buttons'
30 import { DateToggleComponent } from './date'
31 import { FeedComponent } from './feeds'
32 import { LoaderComponent, SmallLoaderComponent } from './loaders'
33 import { HelpComponent, ListOverflowComponent, TopMenuDropdownComponent, SimpleSearchInputComponent } from './misc'
34 import { UserHistoryService, UserNotificationsComponent, UserNotificationService, UserQuotaComponent } from './users'
35 import { RedundancyService, VideoImportService, VideoOwnershipService, VideoService } from './video'
36 import { VideoCaptionService } from './video-caption'
37 import { VideoChannelService } from './video-channel'
47 LoadingBarHttpClientModule,
61 SharedGlobalIconModule
65 VideoAvatarChannelComponent,
66 ActorAvatarInfoComponent,
71 DurationFormatterPipe,
73 InfiniteScrollerDirective,
74 PeerTubeTemplateDirective,
76 ActionDropdownComponent,
78 DeleteButtonComponent,
89 ListOverflowComponent,
90 TopMenuDropdownComponent,
91 SimpleSearchInputComponent,
94 UserNotificationsComponent
104 LoadingBarHttpClientModule,
118 VideoAvatarChannelComponent,
119 ActorAvatarInfoComponent,
124 DurationFormatterPipe,
126 InfiniteScrollerDirective,
127 PeerTubeTemplateDirective,
129 ActionDropdownComponent,
131 DeleteButtonComponent,
139 SmallLoaderComponent,
142 ListOverflowComponent,
143 TopMenuDropdownComponent,
144 SimpleSearchInputComponent,
147 UserNotificationsComponent
155 AUTH_INTERCEPTOR_PROVIDER,
160 UserNotificationService,
164 VideoOwnershipService,
172 export class SharedMainModule { }