Fix deprecated ng-bootstrap methods
[oweals/peertube.git] / client / src / app / videos / +video-watch / video-watch.module.ts
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 { ClipboardModule } from 'ngx-clipboard'
5 import { SharedModule } from '../../shared'
6 import { MarkdownService } from '../shared'
7 import { VideoCommentAddComponent } from './comment/video-comment-add.component'
8 import { VideoCommentComponent } from './comment/video-comment.component'
9 import { VideoCommentService } from './comment/video-comment.service'
10 import { VideoCommentsComponent } from './comment/video-comments.component'
11 import { VideoDownloadComponent } from './modal/video-download.component'
12 import { VideoReportComponent } from './modal/video-report.component'
13 import { VideoShareComponent } from './modal/video-share.component'
14 import { VideoWatchRoutingModule } from './video-watch-routing.module'
15 import { VideoWatchComponent } from './video-watch.component'
16 import { NgxQRCodeModule } from 'ngx-qrcode2'
17 import { NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap'
18 import { VideoBlacklistComponent } from '@app/videos/+video-watch/modal/video-blacklist.component'
19
20 @NgModule({
21   imports: [
22     VideoWatchRoutingModule,
23     SharedModule,
24     ClipboardModule,
25     NgbTooltipModule,
26     NgxQRCodeModule
27   ],
28
29   declarations: [
30     VideoWatchComponent,
31
32     VideoDownloadComponent,
33     VideoShareComponent,
34     VideoReportComponent,
35     VideoBlacklistComponent,
36     VideoSupportComponent,
37     VideoCommentsComponent,
38     VideoCommentAddComponent,
39     VideoCommentComponent
40   ],
41
42   exports: [
43     VideoWatchComponent
44   ],
45
46   providers: [
47     MarkdownService,
48     LinkifierService,
49     VideoCommentService
50   ]
51 })
52 export class VideoWatchModule { }