]>
Commit | Line | Data |
---|---|---|
1 | import { NgModule } from '@angular/core' | |
2 | import { VideoSupportComponent } from '@app/videos/+video-watch/modal/video-support.component' | |
3 | import { SharedModule } from '../../shared' | |
4 | import { VideoCommentAddComponent } from './comment/video-comment-add.component' | |
5 | import { VideoCommentComponent } from './comment/video-comment.component' | |
6 | import { VideoCommentService } from './comment/video-comment.service' | |
7 | import { VideoCommentsComponent } from './comment/video-comments.component' | |
8 | import { VideoShareComponent } from './modal/video-share.component' | |
9 | import { VideoWatchRoutingModule } from './video-watch-routing.module' | |
10 | import { VideoWatchComponent } from './video-watch.component' | |
11 | import { NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap' | |
12 | import { RecommendationsModule } from '@app/videos/recommendations/recommendations.module' | |
13 | import { VideoWatchPlaylistComponent } from '@app/videos/+video-watch/video-watch-playlist.component' | |
14 | import { QRCodeModule } from 'angularx-qrcode' | |
15 | import { InputSwitchModule } from 'primeng/inputswitch' | |
16 | import { TimestampRouteTransformerDirective } from '@app/shared/angular/timestamp-route-transformer.directive' | |
17 | ||
18 | @NgModule({ | |
19 | imports: [ | |
20 | VideoWatchRoutingModule, | |
21 | SharedModule, | |
22 | NgbTooltipModule, | |
23 | QRCodeModule, | |
24 | RecommendationsModule, | |
25 | InputSwitchModule | |
26 | ], | |
27 | ||
28 | declarations: [ | |
29 | VideoWatchComponent, | |
30 | VideoWatchPlaylistComponent, | |
31 | ||
32 | VideoShareComponent, | |
33 | VideoSupportComponent, | |
34 | VideoCommentsComponent, | |
35 | VideoCommentAddComponent, | |
36 | VideoCommentComponent, | |
37 | ||
38 | TimestampRouteTransformerDirective | |
39 | ], | |
40 | ||
41 | exports: [ | |
42 | VideoWatchComponent, | |
43 | ||
44 | TimestampRouteTransformerDirective | |
45 | ], | |
46 | ||
47 | providers: [ | |
48 | VideoCommentService | |
49 | ] | |
50 | }) | |
51 | export class VideoWatchModule { } |