diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-04 10:44:18 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-05 10:53:08 +0200 |
commit | 693263e936763a851e3c8c020e3739def8bd4eca (patch) | |
tree | 7fd333fcf76edbc24f3daf4a78e47ff55f048b04 /client/src/app/shared/shared.module.ts | |
parent | 9ba1d64b1ac77304d9ffb1b3432a90ea00ff3281 (diff) | |
download | PeerTube-693263e936763a851e3c8c020e3739def8bd4eca.tar.gz PeerTube-693263e936763a851e3c8c020e3739def8bd4eca.tar.zst PeerTube-693263e936763a851e3c8c020e3739def8bd4eca.zip |
Refactor videos selection components
Diffstat (limited to 'client/src/app/shared/shared.module.ts')
-rw-r--r-- | client/src/app/shared/shared.module.ts | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts index 3647fc786..68225b457 100644 --- a/client/src/app/shared/shared.module.ts +++ b/client/src/app/shared/shared.module.ts | |||
@@ -14,10 +14,7 @@ import { AUTH_INTERCEPTOR_PROVIDER } from './auth' | |||
14 | import { ButtonComponent } from './buttons/button.component' | 14 | import { ButtonComponent } from './buttons/button.component' |
15 | import { DeleteButtonComponent } from './buttons/delete-button.component' | 15 | import { DeleteButtonComponent } from './buttons/delete-button.component' |
16 | import { EditButtonComponent } from './buttons/edit-button.component' | 16 | import { EditButtonComponent } from './buttons/edit-button.component' |
17 | import { FromNowPipe } from './misc/from-now.pipe' | ||
18 | import { LoaderComponent } from './misc/loader.component' | 17 | import { LoaderComponent } from './misc/loader.component' |
19 | import { NumberFormatterPipe } from './misc/number-formatter.pipe' | ||
20 | import { ObjectLengthPipe } from './misc/object-length.pipe' | ||
21 | import { RestExtractor, RestService } from './rest' | 18 | import { RestExtractor, RestService } from './rest' |
22 | import { UserService } from './users' | 19 | import { UserService } from './users' |
23 | import { VideoAbuseService } from './video-abuse' | 20 | import { VideoAbuseService } from './video-abuse' |
@@ -78,6 +75,11 @@ import { VideoPlaylistMiniatureComponent } from '@app/shared/video-playlist/vide | |||
78 | import { VideoAddToPlaylistComponent } from '@app/shared/video-playlist/video-add-to-playlist.component' | 75 | import { VideoAddToPlaylistComponent } from '@app/shared/video-playlist/video-add-to-playlist.component' |
79 | import { TimestampInputComponent } from '@app/shared/forms/timestamp-input.component' | 76 | import { TimestampInputComponent } from '@app/shared/forms/timestamp-input.component' |
80 | import { VideoPlaylistElementMiniatureComponent } from '@app/shared/video-playlist/video-playlist-element-miniature.component' | 77 | import { VideoPlaylistElementMiniatureComponent } from '@app/shared/video-playlist/video-playlist-element-miniature.component' |
78 | import { VideosSelectionComponent } from '@app/shared/video/videos-selection.component' | ||
79 | import { NumberFormatterPipe } from '@app/shared/angular/number-formatter.pipe' | ||
80 | import { ObjectLengthPipe } from '@app/shared/angular/object-length.pipe' | ||
81 | import { FromNowPipe } from '@app/shared/angular/from-now.pipe' | ||
82 | import { PeerTubeTemplateDirective } from '@app/shared/angular/peertube-template.directive' | ||
81 | 83 | ||
82 | @NgModule({ | 84 | @NgModule({ |
83 | imports: [ | 85 | imports: [ |
@@ -107,6 +109,7 @@ import { VideoPlaylistElementMiniatureComponent } from '@app/shared/video-playli | |||
107 | VideoPlaylistMiniatureComponent, | 109 | VideoPlaylistMiniatureComponent, |
108 | VideoAddToPlaylistComponent, | 110 | VideoAddToPlaylistComponent, |
109 | VideoPlaylistElementMiniatureComponent, | 111 | VideoPlaylistElementMiniatureComponent, |
112 | VideosSelectionComponent, | ||
110 | 113 | ||
111 | FeedComponent, | 114 | FeedComponent, |
112 | 115 | ||
@@ -114,10 +117,12 @@ import { VideoPlaylistElementMiniatureComponent } from '@app/shared/video-playli | |||
114 | DeleteButtonComponent, | 117 | DeleteButtonComponent, |
115 | EditButtonComponent, | 118 | EditButtonComponent, |
116 | 119 | ||
117 | ActionDropdownComponent, | ||
118 | NumberFormatterPipe, | 120 | NumberFormatterPipe, |
119 | ObjectLengthPipe, | 121 | ObjectLengthPipe, |
120 | FromNowPipe, | 122 | FromNowPipe, |
123 | PeerTubeTemplateDirective, | ||
124 | |||
125 | ActionDropdownComponent, | ||
121 | MarkdownTextareaComponent, | 126 | MarkdownTextareaComponent, |
122 | InfiniteScrollerDirective, | 127 | InfiniteScrollerDirective, |
123 | TextareaAutoResizeDirective, | 128 | TextareaAutoResizeDirective, |
@@ -166,6 +171,7 @@ import { VideoPlaylistElementMiniatureComponent } from '@app/shared/video-playli | |||
166 | VideoPlaylistMiniatureComponent, | 171 | VideoPlaylistMiniatureComponent, |
167 | VideoAddToPlaylistComponent, | 172 | VideoAddToPlaylistComponent, |
168 | VideoPlaylistElementMiniatureComponent, | 173 | VideoPlaylistElementMiniatureComponent, |
174 | VideosSelectionComponent, | ||
169 | 175 | ||
170 | FeedComponent, | 176 | FeedComponent, |
171 | 177 | ||
@@ -197,7 +203,8 @@ import { VideoPlaylistElementMiniatureComponent } from '@app/shared/video-playli | |||
197 | 203 | ||
198 | NumberFormatterPipe, | 204 | NumberFormatterPipe, |
199 | ObjectLengthPipe, | 205 | ObjectLengthPipe, |
200 | FromNowPipe | 206 | FromNowPipe, |
207 | PeerTubeTemplateDirective | ||
201 | ], | 208 | ], |
202 | 209 | ||
203 | providers: [ | 210 | providers: [ |