]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared.module.ts
Fix infinite scroll on big screens
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared.module.ts
index 68225b457fbf6351d58fbd7ef1deb3b2db531b82..eb57a2fff0fc6db07c5367d9006bd8feea2399fa 100644 (file)
@@ -53,7 +53,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'
@@ -69,7 +76,7 @@ import { HtmlRendererService, LinkifierService, MarkdownService } from '@app/sha
 import { ConfirmComponent } from '@app/shared/confirm/confirm.component'
 import { SmallLoaderComponent } from '@app/shared/misc/small-loader.component'
 import { VideoPlaylistService } from '@app/shared/video-playlist/video-playlist.service'
-import { ImageUploadComponent } from '@app/shared/images/image-upload.component'
+import { PreviewUploadComponent } from '@app/shared/images/preview-upload.component'
 import { GlobalIconComponent } from '@app/shared/images/global-icon.component'
 import { VideoPlaylistMiniatureComponent } from '@app/shared/video-playlist/video-playlist-miniature.component'
 import { VideoAddToPlaylistComponent } from '@app/shared/video-playlist/video-add-to-playlist.component'
@@ -80,6 +87,12 @@ import { NumberFormatterPipe } from '@app/shared/angular/number-formatter.pipe'
 import { ObjectLengthPipe } from '@app/shared/angular/object-length.pipe'
 import { FromNowPipe } from '@app/shared/angular/from-now.pipe'
 import { PeerTubeTemplateDirective } from '@app/shared/angular/peertube-template.directive'
+import { VideoActionsDropdownComponent } from '@app/shared/video/video-actions-dropdown.component'
+import { VideoBlacklistComponent } from '@app/shared/video/modals/video-blacklist.component'
+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'
 
 @NgModule({
   imports: [
@@ -94,6 +107,9 @@ import { PeerTubeTemplateDirective } from '@app/shared/angular/peertube-template
     NgbPopoverModule,
     NgbTabsetModule,
     NgbTooltipModule,
+    NgbCollapseModule,
+
+    ClipboardModule,
 
     PrimeSharedModule,
     InputMaskModule,
@@ -110,6 +126,11 @@ import { PeerTubeTemplateDirective } from '@app/shared/angular/peertube-template
     VideoAddToPlaylistComponent,
     VideoPlaylistElementMiniatureComponent,
     VideosSelectionComponent,
+    VideoActionsDropdownComponent,
+
+    VideoDownloadComponent,
+    VideoReportComponent,
+    VideoBlacklistComponent,
 
     FeedComponent,
 
@@ -142,7 +163,7 @@ import { PeerTubeTemplateDirective } from '@app/shared/angular/peertube-template
     ConfirmComponent,
 
     GlobalIconComponent,
-    ImageUploadComponent
+    PreviewUploadComponent
   ],
 
   exports: [
@@ -157,6 +178,9 @@ import { PeerTubeTemplateDirective } from '@app/shared/angular/peertube-template
     NgbPopoverModule,
     NgbTabsetModule,
     NgbTooltipModule,
+    NgbCollapseModule,
+
+    ClipboardModule,
 
     PrimeSharedModule,
     InputMaskModule,
@@ -172,6 +196,11 @@ import { PeerTubeTemplateDirective } from '@app/shared/angular/peertube-template
     VideoAddToPlaylistComponent,
     VideoPlaylistElementMiniatureComponent,
     VideosSelectionComponent,
+    VideoActionsDropdownComponent,
+
+    VideoDownloadComponent,
+    VideoReportComponent,
+    VideoBlacklistComponent,
 
     FeedComponent,
 
@@ -199,7 +228,7 @@ import { PeerTubeTemplateDirective } from '@app/shared/angular/peertube-template
     ConfirmComponent,
 
     GlobalIconComponent,
-    ImageUploadComponent,
+    PreviewUploadComponent,
 
     NumberFormatterPipe,
     ObjectLengthPipe,
@@ -252,6 +281,8 @@ import { PeerTubeTemplateDirective } from '@app/shared/angular/peertube-template
 
     UserNotificationService,
 
+    FollowService,
+
     I18n
   ]
 })