X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared.module.ts;h=8cbb15bfaf955ecb1ca66e5dc914ab03fb65e4d6;hb=ee2b7df045fd629109bb4cfc1b11457af25d0688;hp=39f1a69e2223fccc8de326989c36478d256a98dd;hpb=21d141c296541f41e399ec68aa7fa85e53d0dcb8;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/shared/shared.module.ts b/client/src/app/shared/shared.module.ts index 39f1a69e2..8cbb15bfa 100644 --- a/client/src/app/shared/shared.module.ts +++ b/client/src/app/shared/shared.module.ts @@ -6,10 +6,8 @@ import { RouterModule } from '@angular/router' import { MarkdownTextareaComponent } from '@app/shared/forms/markdown-textarea.component' import { HelpComponent } from '@app/shared/misc/help.component' import { InfiniteScrollerDirective } from '@app/shared/video/infinite-scroller.directive' - import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes' import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared' - import { AUTH_INTERCEPTOR_PROVIDER } from './auth' import { ButtonComponent } from './buttons/button.component' import { DeleteButtonComponent } from './buttons/delete-button.component' @@ -53,9 +51,17 @@ import { VideoCaptionService } from '@app/shared/video-caption' import { PeertubeCheckboxComponent } from '@app/shared/forms/peertube-checkbox.component' import { VideoImportService } from '@app/shared/video-import/video-import.service' import { ActionDropdownComponent } from '@app/shared/buttons/action-dropdown.component' -import { NgbDropdownModule, NgbModalModule, NgbPopoverModule, NgbTabsetModule, NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap' +import { + NgbCollapseModule, + NgbDropdownModule, + NgbModalModule, + NgbPopoverModule, + NgbTabsetModule, + NgbTooltipModule +} from '@ng-bootstrap/ng-bootstrap' import { RemoteSubscribeComponent, SubscribeButtonComponent, UserSubscriptionService } from '@app/shared/user-subscription' import { InstanceFeaturesTableComponent } from '@app/shared/instance/instance-features-table.component' +import { InstanceStatisticsComponent } from '@app/shared/instance/instance-statistics.component' import { OverviewService } from '@app/shared/overview' import { UserBanModalComponent } from '@app/shared/moderation' import { UserModerationDropdownComponent } from '@app/shared/moderation/user-moderation-dropdown.component' @@ -67,6 +73,7 @@ import { UserNotificationsComponent } from '@app/shared/users/user-notifications import { InstanceService } from '@app/shared/instance/instance.service' import { HtmlRendererService, LinkifierService, MarkdownService } from '@app/shared/renderer' import { ConfirmComponent } from '@app/shared/confirm/confirm.component' +import { DateToggleComponent } from '@app/shared/date/date-toggle.component' import { SmallLoaderComponent } from '@app/shared/misc/small-loader.component' import { VideoPlaylistService } from '@app/shared/video-playlist/video-playlist.service' import { PreviewUploadComponent } from '@app/shared/images/preview-upload.component' @@ -85,6 +92,9 @@ import { VideoBlacklistComponent } from '@app/shared/video/modals/video-blacklis import { VideoDownloadComponent } from '@app/shared/video/modals/video-download.component' import { VideoReportComponent } from '@app/shared/video/modals/video-report.component' import { ClipboardModule } from 'ngx-clipboard' +import { FollowService } from '@app/shared/instance/follow.service' +import { MultiSelectModule } from 'primeng/multiselect' +import { FeatureBooleanComponent } from '@app/shared/instance/feature-boolean.component' @NgModule({ imports: [ @@ -99,12 +109,14 @@ import { ClipboardModule } from 'ngx-clipboard' NgbPopoverModule, NgbTabsetModule, NgbTooltipModule, + NgbCollapseModule, ClipboardModule, PrimeSharedModule, InputMaskModule, - NgPipesModule + NgPipesModule, + MultiSelectModule ], declarations: [ @@ -147,11 +159,14 @@ import { ClipboardModule } from 'ngx-clipboard' SubscribeButtonComponent, RemoteSubscribeComponent, InstanceFeaturesTableComponent, + InstanceStatisticsComponent, + FeatureBooleanComponent, UserBanModalComponent, UserModerationDropdownComponent, TopMenuDropdownComponent, UserNotificationsComponent, ConfirmComponent, + DateToggleComponent, GlobalIconComponent, PreviewUploadComponent @@ -169,6 +184,7 @@ import { ClipboardModule } from 'ngx-clipboard' NgbPopoverModule, NgbTabsetModule, NgbTooltipModule, + NgbCollapseModule, ClipboardModule, @@ -176,6 +192,7 @@ import { ClipboardModule } from 'ngx-clipboard' InputMaskModule, BytesPipe, KeysPipe, + MultiSelectModule, LoaderComponent, SmallLoaderComponent, @@ -211,11 +228,13 @@ import { ClipboardModule } from 'ngx-clipboard' SubscribeButtonComponent, RemoteSubscribeComponent, InstanceFeaturesTableComponent, + InstanceStatisticsComponent, UserBanModalComponent, UserModerationDropdownComponent, TopMenuDropdownComponent, UserNotificationsComponent, ConfirmComponent, + DateToggleComponent, GlobalIconComponent, PreviewUploadComponent, @@ -271,6 +290,8 @@ import { ClipboardModule } from 'ngx-clipboard' UserNotificationService, + FollowService, + I18n ] })