]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+videos/+video-watch/video-watch.module.ts
Lazy load all routes
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / +video-watch / video-watch.module.ts
CommitLineData
67ed6552 1import { QRCodeModule } from 'angularx-qrcode'
a685e25c 2import { NgModule } from '@angular/core'
67ed6552
C
3import { SharedFormModule } from '@app/shared/shared-forms'
4import { SharedGlobalIconModule } from '@app/shared/shared-icons'
5import { SharedMainModule } from '@app/shared/shared-main'
6import { SharedModerationModule } from '@app/shared/shared-moderation'
7import { SharedUserSubscriptionModule } from '@app/shared/shared-user-subscription'
8import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature'
9import { SharedVideoPlaylistModule } from '@app/shared/shared-video-playlist'
1942f11d 10import { RecommendationsModule } from './recommendations/recommendations.module'
67ed6552 11import { NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap'
4635f59d
C
12import { VideoCommentAddComponent } from './comment/video-comment-add.component'
13import { VideoCommentComponent } from './comment/video-comment.component'
14import { VideoCommentService } from './comment/video-comment.service'
15import { VideoCommentsComponent } from './comment/video-comments.component'
4635f59d 16import { VideoShareComponent } from './modal/video-share.component'
67ed6552
C
17import { VideoSupportComponent } from './modal/video-support.component'
18import { TimestampRouteTransformerDirective } from './timestamp-route-transformer.directive'
19import { VideoDurationPipe } from './video-duration-formatter.pipe'
20import { VideoWatchPlaylistComponent } from './video-watch-playlist.component'
a685e25c 21import { VideoWatchRoutingModule } from './video-watch-routing.module'
a685e25c 22import { VideoWatchComponent } from './video-watch.component'
a685e25c
C
23
24@NgModule({
25 imports: [
26 VideoWatchRoutingModule,
d77ad726 27 NgbTooltipModule,
f36da21e 28 QRCodeModule,
67ed6552
C
29 RecommendationsModule,
30
31 SharedMainModule,
32 SharedFormModule,
33 SharedVideoMiniatureModule,
34 SharedVideoPlaylistModule,
35 SharedUserSubscriptionModule,
36 SharedModerationModule,
37 SharedGlobalIconModule
a685e25c
C
38 ],
39
40 declarations: [
41 VideoWatchComponent,
72675ebe 42 VideoWatchPlaylistComponent,
a685e25c 43
a685e25c 44 VideoShareComponent,
07fa4c97 45 VideoSupportComponent,
4635f59d
C
46 VideoCommentsComponent,
47 VideoCommentAddComponent,
b29bf61d
RK
48 VideoCommentComponent,
49
67ed6552
C
50 TimestampRouteTransformerDirective,
51 VideoDurationPipe,
b29bf61d 52 TimestampRouteTransformerDirective
a685e25c
C
53 ],
54
55 exports: [
b29bf61d
RK
56 VideoWatchComponent,
57
58 TimestampRouteTransformerDirective
a685e25c
C
59 ],
60
61 providers: [
4635f59d 62 VideoCommentService
a685e25c
C
63 ]
64})
65export class VideoWatchModule { }