import { InfiniteScrollerDirective } from '@app/shared/video/infinite-scroller.directive'
import { MarkdownService } from '@app/videos/shared'
-import { BsDropdownModule } from 'ngx-bootstrap/dropdown'
-import { ModalModule } from 'ngx-bootstrap/modal'
-import { PopoverModule } from 'ngx-bootstrap/popover'
-import { TabsModule } from 'ngx-bootstrap/tabs'
-import { TooltipModule } from 'ngx-bootstrap/tooltip'
import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes'
import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared'
import { AUTH_INTERCEPTOR_PROVIDER } from './auth'
-import { DeleteButtonComponent } from './misc/delete-button.component'
-import { EditButtonComponent } from './misc/edit-button.component'
+import { DeleteButtonComponent } from './buttons/delete-button.component'
+import { EditButtonComponent } from './buttons/edit-button.component'
import { FromNowPipe } from './misc/from-now.pipe'
import { LoaderComponent } from './misc/loader.component'
import { NumberFormatterPipe } from './misc/number-formatter.pipe'
ResetPasswordValidatorsService,
UserValidatorsService,
VideoAbuseValidatorsService,
+ VideoBlacklistValidatorsService,
VideoChannelValidatorsService,
VideoCommentValidatorsService,
VideoValidatorsService
import { VideoCaptionsValidatorsService } from '@app/shared/forms/form-validators/video-captions-validators.service'
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 { SubscribeButtonComponent, UserSubscriptionService } from '@app/shared/user-subscription'
@NgModule({
imports: [
RouterModule,
HttpClientModule,
- BsDropdownModule.forRoot(),
- ModalModule.forRoot(),
- PopoverModule.forRoot(),
- TabsModule.forRoot(),
- TooltipModule.forRoot(),
+ NgbDropdownModule,
+ NgbModalModule,
+ NgbPopoverModule,
+ NgbTabsetModule,
+ NgbTooltipModule,
PrimeSharedModule,
NgPipesModule
VideoFeedComponent,
DeleteButtonComponent,
EditButtonComponent,
+ ActionDropdownComponent,
NumberFormatterPipe,
ObjectLengthPipe,
FromNowPipe,
InfiniteScrollerDirective,
HelpComponent,
ReactiveFileComponent,
- PeertubeCheckboxComponent
+ PeertubeCheckboxComponent,
+ SubscribeButtonComponent
],
exports: [
RouterModule,
HttpClientModule,
- BsDropdownModule,
- ModalModule,
- PopoverModule,
- TabsModule,
- TooltipModule,
+ NgbDropdownModule,
+ NgbModalModule,
+ NgbPopoverModule,
+ NgbTabsetModule,
+ NgbTooltipModule,
+
PrimeSharedModule,
BytesPipe,
KeysPipe,
VideoFeedComponent,
DeleteButtonComponent,
EditButtonComponent,
+ ActionDropdownComponent,
MarkdownTextareaComponent,
InfiniteScrollerDirective,
HelpComponent,
ReactiveFileComponent,
PeertubeCheckboxComponent,
+ SubscribeButtonComponent,
NumberFormatterPipe,
ObjectLengthPipe,
MarkdownService,
VideoChannelService,
VideoCaptionService,
+ VideoImportService,
+ UserSubscriptionService,
FormValidatorService,
CustomConfigValidatorsService,
VideoCommentValidatorsService,
VideoValidatorsService,
VideoCaptionsValidatorsService,
+ VideoBlacklistValidatorsService,
I18nPrimengCalendarService,
ScreenService,