]>
Commit | Line | Data |
---|---|---|
2539932e C |
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' | |
8ee25e17 | 8 | import { CustomMarkupContainerComponent } from './custom-markup-container.component' |
15f35256 | 9 | import { CustomMarkupHelpComponent } from './custom-markup-help.component' |
2539932e C |
10 | import { CustomMarkupService } from './custom-markup.service' |
11 | import { DynamicElementService } from './dynamic-element.service' | |
8ee25e17 C |
12 | import { |
13 | ButtonMarkupComponent, | |
14 | ChannelMiniatureMarkupComponent, | |
15 | EmbedMarkupComponent, | |
16 | PlaylistMiniatureMarkupComponent, | |
17 | VideoMiniatureMarkupComponent, | |
18 | VideosListMarkupComponent | |
19 | } from './peertube-custom-tags' | |
2539932e C |
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, | |
63042139 | 37 | VideosListMarkupComponent, |
15f35256 | 38 | ButtonMarkupComponent, |
8ee25e17 C |
39 | CustomMarkupHelpComponent, |
40 | CustomMarkupContainerComponent | |
2539932e C |
41 | ], |
42 | ||
43 | exports: [ | |
44 | VideoMiniatureMarkupComponent, | |
45 | PlaylistMiniatureMarkupComponent, | |
46 | ChannelMiniatureMarkupComponent, | |
47 | VideosListMarkupComponent, | |
63042139 | 48 | EmbedMarkupComponent, |
15f35256 | 49 | ButtonMarkupComponent, |
8ee25e17 C |
50 | CustomMarkupHelpComponent, |
51 | CustomMarkupContainerComponent | |
2539932e C |
52 | ], |
53 | ||
54 | providers: [ | |
55 | CustomMarkupService, | |
56 | DynamicElementService | |
57 | ] | |
58 | }) | |
59 | export class SharedCustomMarkupModule { } |