diff options
Diffstat (limited to 'client/src/app/shared/shared.module.ts')
-rw-r--r-- | client/src/app/shared/shared.module.ts | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts index d1320aeec..6f8625c7e 100644 --- a/client/src/app/shared/shared.module.ts +++ b/client/src/app/shared/shared.module.ts | |||
@@ -6,7 +6,6 @@ import { RouterModule } from '@angular/router' | |||
6 | import { MarkdownTextareaComponent } from '@app/shared/forms/markdown-textarea.component' | 6 | import { MarkdownTextareaComponent } from '@app/shared/forms/markdown-textarea.component' |
7 | import { HelpComponent } from '@app/shared/misc/help.component' | 7 | import { HelpComponent } from '@app/shared/misc/help.component' |
8 | import { InfiniteScrollerDirective } from '@app/shared/video/infinite-scroller.directive' | 8 | import { InfiniteScrollerDirective } from '@app/shared/video/infinite-scroller.directive' |
9 | import { MarkdownService } from '@app/videos/shared' | ||
10 | 9 | ||
11 | import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes' | 10 | import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes' |
12 | import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared' | 11 | import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared' |
@@ -34,10 +33,10 @@ import { I18n } from '@ngx-translate/i18n-polyfill' | |||
34 | import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service' | 33 | import { FormValidatorService } from '@app/shared/forms/form-validators/form-validator.service' |
35 | import { | 34 | import { |
36 | CustomConfigValidatorsService, | 35 | CustomConfigValidatorsService, |
36 | InstanceValidatorsService, | ||
37 | LoginValidatorsService, | 37 | LoginValidatorsService, |
38 | ReactiveFileComponent, | 38 | ReactiveFileComponent, |
39 | ResetPasswordValidatorsService, | 39 | ResetPasswordValidatorsService, |
40 | InstanceValidatorsService, | ||
41 | TextareaAutoResizeDirective, | 40 | TextareaAutoResizeDirective, |
42 | UserValidatorsService, | 41 | UserValidatorsService, |
43 | VideoAbuseValidatorsService, | 42 | VideoAbuseValidatorsService, |
@@ -67,6 +66,9 @@ import { UserHistoryService } from '@app/shared/users/user-history.service' | |||
67 | import { UserNotificationService } from '@app/shared/users/user-notification.service' | 66 | import { UserNotificationService } from '@app/shared/users/user-notification.service' |
68 | import { UserNotificationsComponent } from '@app/shared/users/user-notifications.component' | 67 | import { UserNotificationsComponent } from '@app/shared/users/user-notifications.component' |
69 | import { InstanceService } from '@app/shared/instance/instance.service' | 68 | import { InstanceService } from '@app/shared/instance/instance.service' |
69 | import { HtmlRendererService, LinkifierService, MarkdownService } from '@app/shared/renderer' | ||
70 | import { ConfirmComponent } from '@app/shared/confirm/confirm.component' | ||
71 | import { GlobalIconComponent } from '@app/shared/icons/global-icon.component' | ||
70 | 72 | ||
71 | @NgModule({ | 73 | @NgModule({ |
72 | imports: [ | 74 | imports: [ |
@@ -110,7 +112,9 @@ import { InstanceService } from '@app/shared/instance/instance.service' | |||
110 | UserBanModalComponent, | 112 | UserBanModalComponent, |
111 | UserModerationDropdownComponent, | 113 | UserModerationDropdownComponent, |
112 | TopMenuDropdownComponent, | 114 | TopMenuDropdownComponent, |
113 | UserNotificationsComponent | 115 | UserNotificationsComponent, |
116 | ConfirmComponent, | ||
117 | GlobalIconComponent | ||
114 | ], | 118 | ], |
115 | 119 | ||
116 | exports: [ | 120 | exports: [ |
@@ -151,6 +155,8 @@ import { InstanceService } from '@app/shared/instance/instance.service' | |||
151 | UserModerationDropdownComponent, | 155 | UserModerationDropdownComponent, |
152 | TopMenuDropdownComponent, | 156 | TopMenuDropdownComponent, |
153 | UserNotificationsComponent, | 157 | UserNotificationsComponent, |
158 | ConfirmComponent, | ||
159 | GlobalIconComponent, | ||
154 | 160 | ||
155 | NumberFormatterPipe, | 161 | NumberFormatterPipe, |
156 | ObjectLengthPipe, | 162 | ObjectLengthPipe, |
@@ -167,7 +173,6 @@ import { InstanceService } from '@app/shared/instance/instance.service' | |||
167 | UserService, | 173 | UserService, |
168 | VideoService, | 174 | VideoService, |
169 | AccountService, | 175 | AccountService, |
170 | MarkdownService, | ||
171 | VideoChannelService, | 176 | VideoChannelService, |
172 | VideoCaptionService, | 177 | VideoCaptionService, |
173 | VideoImportService, | 178 | VideoImportService, |
@@ -192,6 +197,10 @@ import { InstanceService } from '@app/shared/instance/instance.service' | |||
192 | UserHistoryService, | 197 | UserHistoryService, |
193 | InstanceService, | 198 | InstanceService, |
194 | 199 | ||
200 | MarkdownService, | ||
201 | LinkifierService, | ||
202 | HtmlRendererService, | ||
203 | |||
195 | I18nPrimengCalendarService, | 204 | I18nPrimengCalendarService, |
196 | ScreenService, | 205 | ScreenService, |
197 | 206 | ||