]>
Commit | Line | Data |
---|---|---|
1 | import { NgModule } from '@angular/core' | |
2 | import { ProgressBarModule } from 'primeng/primeng' | |
3 | import { SharedModule } from '../../shared' | |
4 | import { VideoEditModule } from './shared/video-edit.module' | |
5 | import { VideoAddRoutingModule } from './video-add-routing.module' | |
6 | import { VideoAddComponent } from './video-add.component' | |
7 | import { CanDeactivateGuard } from '../../shared/guards/can-deactivate-guard.service' | |
8 | import { VideoUploadComponent } from '@app/videos/+video-edit/video-upload.component' | |
9 | import { VideoImportComponent } from '@app/videos/+video-edit/video-import.component' | |
10 | ||
11 | @NgModule({ | |
12 | imports: [ | |
13 | VideoAddRoutingModule, | |
14 | VideoEditModule, | |
15 | SharedModule, | |
16 | ProgressBarModule | |
17 | ], | |
18 | declarations: [ | |
19 | VideoAddComponent, | |
20 | VideoUploadComponent, | |
21 | VideoImportComponent | |
22 | ], | |
23 | exports: [ | |
24 | VideoAddComponent | |
25 | ], | |
26 | providers: [ | |
27 | CanDeactivateGuard | |
28 | ] | |
29 | }) | |
30 | export class VideoAddModule { } |