X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fshared%2Fshared.module.ts;h=65e0f21a4d9874e9a6de1b76baed229ab9aeaf57;hb=a00045a2184e4cb24b838e95937e7ffedcd66b2b;hp=39f1a69e2223fccc8de326989c36478d256a98dd;hpb=a41b9da1a9ce49df82ea10c82de4c2fbc6d1b189;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..65e0f21a4 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,7 +51,14 @@ 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 { OverviewService } from '@app/shared/overview' @@ -85,6 +90,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 +107,14 @@ import { ClipboardModule } from 'ngx-clipboard' NgbPopoverModule, NgbTabsetModule, NgbTooltipModule, + NgbCollapseModule, ClipboardModule, PrimeSharedModule, InputMaskModule, - NgPipesModule + NgPipesModule, + MultiSelectModule ], declarations: [ @@ -147,6 +157,7 @@ import { ClipboardModule } from 'ngx-clipboard' SubscribeButtonComponent, RemoteSubscribeComponent, InstanceFeaturesTableComponent, + FeatureBooleanComponent, UserBanModalComponent, UserModerationDropdownComponent, TopMenuDropdownComponent, @@ -169,6 +180,7 @@ import { ClipboardModule } from 'ngx-clipboard' NgbPopoverModule, NgbTabsetModule, NgbTooltipModule, + NgbCollapseModule, ClipboardModule, @@ -176,6 +188,7 @@ import { ClipboardModule } from 'ngx-clipboard' InputMaskModule, BytesPipe, KeysPipe, + MultiSelectModule, LoaderComponent, SmallLoaderComponent, @@ -271,6 +284,8 @@ import { ClipboardModule } from 'ngx-clipboard' UserNotificationService, + FollowService, + I18n ] })