import { NgModule } from '@angular/core'
import { FormsModule, ReactiveFormsModule } from '@angular/forms'
import { RouterModule } from '@angular/router'
+import { MarkdownTextareaComponent } from '@app/shared/forms/markdown-textarea.component'
+import { InfiniteScrollerDirective } from '@app/shared/video/infinite-scroller.directive'
+import { MarkdownService } from '@app/videos/shared'
import { LoadingBarHttpClientModule } from '@ngx-loading-bar/http-client'
import { BsDropdownModule } from 'ngx-bootstrap/dropdown'
import { ModalModule } from 'ngx-bootstrap/modal'
-import { InfiniteScrollModule } from 'ngx-infinite-scroll'
+import { TabsModule } from 'ngx-bootstrap/tabs'
import { BytesPipe, KeysPipe, NgPipesModule } from 'ngx-pipes'
import { SharedModule as PrimeSharedModule } from 'primeng/components/common/shared'
-import { DataTableModule } from 'primeng/components/datatable/datatable'
import { AUTH_INTERCEPTOR_PROVIDER } from './auth'
import { DeleteButtonComponent } from './misc/delete-button.component'
BsDropdownModule.forRoot(),
ModalModule.forRoot(),
- DataTableModule,
PrimeSharedModule,
- InfiniteScrollModule,
- NgPipesModule
+ NgPipesModule,
+ TabsModule.forRoot()
],
declarations: [
DeleteButtonComponent,
EditButtonComponent,
NumberFormatterPipe,
- FromNowPipe
+ FromNowPipe,
+ MarkdownTextareaComponent,
+ InfiniteScrollerDirective
],
exports: [
BsDropdownModule,
ModalModule,
- DataTableModule,
PrimeSharedModule,
- InfiniteScrollModule,
BytesPipe,
KeysPipe,
VideoMiniatureComponent,
DeleteButtonComponent,
EditButtonComponent,
+ MarkdownTextareaComponent,
+ InfiniteScrollerDirective,
NumberFormatterPipe,
FromNowPipe
VideoAbuseService,
VideoBlacklistService,
UserService,
- VideoService
+ VideoService,
+ MarkdownService
]
})
export class SharedModule { }