]>
Commit | Line | Data |
---|---|---|
1 | import { NgModule } from '@angular/core' | |
2 | import { LinkifierService } from '@app/videos/+video-watch/comment/linkifier.service' | |
3 | import { VideoSupportComponent } from '@app/videos/+video-watch/modal/video-support.component' | |
4 | import { TooltipModule } from 'ngx-bootstrap/tooltip' | |
5 | import { ClipboardModule } from 'ngx-clipboard' | |
6 | import { SharedModule } from '../../shared' | |
7 | import { MarkdownService } from '../shared' | |
8 | import { VideoCommentAddComponent } from './comment/video-comment-add.component' | |
9 | import { VideoCommentComponent } from './comment/video-comment.component' | |
10 | import { VideoCommentService } from './comment/video-comment.service' | |
11 | import { VideoCommentsComponent } from './comment/video-comments.component' | |
12 | import { VideoDownloadComponent } from './modal/video-download.component' | |
13 | import { VideoReportComponent } from './modal/video-report.component' | |
14 | import { VideoShareComponent } from './modal/video-share.component' | |
15 | ||
16 | import { VideoWatchRoutingModule } from './video-watch-routing.module' | |
17 | ||
18 | import { VideoWatchComponent } from './video-watch.component' | |
19 | ||
20 | @NgModule({ | |
21 | imports: [ | |
22 | VideoWatchRoutingModule, | |
23 | SharedModule, | |
24 | ClipboardModule, | |
25 | TooltipModule.forRoot() | |
26 | ], | |
27 | ||
28 | declarations: [ | |
29 | VideoWatchComponent, | |
30 | ||
31 | VideoDownloadComponent, | |
32 | VideoShareComponent, | |
33 | VideoReportComponent, | |
34 | VideoSupportComponent, | |
35 | VideoCommentsComponent, | |
36 | VideoCommentAddComponent, | |
37 | VideoCommentComponent | |
38 | ], | |
39 | ||
40 | exports: [ | |
41 | VideoWatchComponent | |
42 | ], | |
43 | ||
44 | providers: [ | |
45 | MarkdownService, | |
46 | LinkifierService, | |
47 | VideoCommentService | |
48 | ] | |
49 | }) | |
50 | export class VideoWatchModule { } |