]>
Commit | Line | Data |
---|---|---|
1 | import { CommonModule } from '@angular/common' | |
2 | import { NgModule } from '@angular/core' | |
3 | import { SharedActorImageModule } from '../shared-actor-image/shared-actor-image.module' | |
4 | import { SharedGlobalIconModule } from '../shared-icons' | |
5 | import { SharedMainModule } from '../shared-main' | |
6 | import { SharedVideoMiniatureModule } from '../shared-video-miniature' | |
7 | import { SharedVideoPlaylistModule } from '../shared-video-playlist' | |
8 | import { CustomMarkupContainerComponent } from './custom-markup-container.component' | |
9 | import { CustomMarkupHelpComponent } from './custom-markup-help.component' | |
10 | import { CustomMarkupService } from './custom-markup.service' | |
11 | import { DynamicElementService } from './dynamic-element.service' | |
12 | import { | |
13 | ButtonMarkupComponent, | |
14 | ChannelMiniatureMarkupComponent, | |
15 | EmbedMarkupComponent, | |
16 | PlaylistMiniatureMarkupComponent, | |
17 | VideoMiniatureMarkupComponent, | |
18 | VideosListMarkupComponent | |
19 | } from './peertube-custom-tags' | |
20 | ||
21 | @NgModule({ | |
22 | imports: [ | |
23 | CommonModule, | |
24 | ||
25 | SharedMainModule, | |
26 | SharedGlobalIconModule, | |
27 | SharedVideoMiniatureModule, | |
28 | SharedVideoPlaylistModule, | |
29 | SharedActorImageModule | |
30 | ], | |
31 | ||
32 | declarations: [ | |
33 | VideoMiniatureMarkupComponent, | |
34 | PlaylistMiniatureMarkupComponent, | |
35 | ChannelMiniatureMarkupComponent, | |
36 | EmbedMarkupComponent, | |
37 | VideosListMarkupComponent, | |
38 | ButtonMarkupComponent, | |
39 | CustomMarkupHelpComponent, | |
40 | CustomMarkupContainerComponent | |
41 | ], | |
42 | ||
43 | exports: [ | |
44 | VideoMiniatureMarkupComponent, | |
45 | PlaylistMiniatureMarkupComponent, | |
46 | ChannelMiniatureMarkupComponent, | |
47 | VideosListMarkupComponent, | |
48 | EmbedMarkupComponent, | |
49 | ButtonMarkupComponent, | |
50 | CustomMarkupHelpComponent, | |
51 | CustomMarkupContainerComponent | |
52 | ], | |
53 | ||
54 | providers: [ | |
55 | CustomMarkupService, | |
56 | DynamicElementService | |
57 | ] | |
58 | }) | |
59 | export class SharedCustomMarkupModule { } |