Migrate to bootstrap 4 and ng-bootstrap
[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
19 @NgModule({
20   imports: [
21     VideoWatchRoutingModule,
22     SharedModule,
23     ClipboardModule,
24     NgbTooltipModule.forRoot(),
25     NgxQRCodeModule
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 { }