]>
Commit | Line | Data |
---|---|---|
1 | import { QRCodeModule } from 'angularx-qrcode' | |
2 | import { NgModule } from '@angular/core' | |
3 | import { SharedFormModule } from '@app/shared/shared-forms' | |
4 | import { SharedGlobalIconModule } from '@app/shared/shared-icons' | |
5 | import { SharedMainModule } from '@app/shared/shared-main' | |
6 | import { SharedModerationModule } from '@app/shared/shared-moderation' | |
7 | import { SharedUserSubscriptionModule } from '@app/shared/shared-user-subscription' | |
8 | import { SharedVideoCommentModule } from '@app/shared/shared-video-comment' | |
9 | import { SharedVideoMiniatureModule } from '@app/shared/shared-video-miniature' | |
10 | import { SharedVideoPlaylistModule } from '@app/shared/shared-video-playlist' | |
11 | import { NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap' | |
12 | import { VideoCommentService } from '../../shared/shared-video-comment/video-comment.service' | |
13 | import { VideoCommentAddComponent } from './comment/video-comment-add.component' | |
14 | import { VideoCommentComponent } from './comment/video-comment.component' | |
15 | import { VideoCommentsComponent } from './comment/video-comments.component' | |
16 | import { VideoShareComponent } from './modal/video-share.component' | |
17 | import { VideoSupportComponent } from './modal/video-support.component' | |
18 | import { RecommendationsModule } from './recommendations/recommendations.module' | |
19 | import { TimestampRouteTransformerDirective } from './timestamp-route-transformer.directive' | |
20 | import { VideoDurationPipe } from './video-duration-formatter.pipe' | |
21 | import { VideoWatchPlaylistComponent } from './video-watch-playlist.component' | |
22 | import { VideoWatchRoutingModule } from './video-watch-routing.module' | |
23 | import { VideoWatchComponent } from './video-watch.component' | |
24 | ||
25 | @NgModule({ | |
26 | imports: [ | |
27 | VideoWatchRoutingModule, | |
28 | NgbTooltipModule, | |
29 | QRCodeModule, | |
30 | RecommendationsModule, | |
31 | ||
32 | SharedMainModule, | |
33 | SharedFormModule, | |
34 | SharedVideoMiniatureModule, | |
35 | SharedVideoPlaylistModule, | |
36 | SharedUserSubscriptionModule, | |
37 | SharedModerationModule, | |
38 | SharedGlobalIconModule, | |
39 | SharedVideoCommentModule | |
40 | ], | |
41 | ||
42 | declarations: [ | |
43 | VideoWatchComponent, | |
44 | VideoWatchPlaylistComponent, | |
45 | ||
46 | VideoShareComponent, | |
47 | VideoSupportComponent, | |
48 | VideoCommentsComponent, | |
49 | VideoCommentAddComponent, | |
50 | VideoCommentComponent, | |
51 | ||
52 | TimestampRouteTransformerDirective, | |
53 | VideoDurationPipe, | |
54 | TimestampRouteTransformerDirective | |
55 | ], | |
56 | ||
57 | exports: [ | |
58 | VideoWatchComponent, | |
59 | ||
60 | TimestampRouteTransformerDirective | |
61 | ], | |
62 | ||
63 | providers: [ | |
64 | VideoCommentService | |
65 | ] | |
66 | }) | |
67 | export class VideoWatchModule { } |