]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/shared/shared.module.ts
Update client dependencies
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared.module.ts
CommitLineData
df98563e
C
1import { NgModule } from '@angular/core'
2import { CommonModule } from '@angular/common'
3import { HttpModule } from '@angular/http'
4import { FormsModule, ReactiveFormsModule } from '@angular/forms'
5import { RouterModule } from '@angular/router'
d15ab38a 6import { BrowserAnimationsModule } from '@angular/platform-browser/animations'
693b1aba 7
df98563e
C
8import { BytesPipe } from 'angular-pipes/src/math/bytes.pipe'
9import { KeysPipe } from 'angular-pipes/src/object/keys.pipe'
10import { BsDropdownModule } from 'ngx-bootstrap/dropdown'
11import { ProgressbarModule } from 'ngx-bootstrap/progressbar'
12import { PaginationModule } from 'ngx-bootstrap/pagination'
13import { ModalModule } from 'ngx-bootstrap/modal'
14import { FileUploadModule } from 'ng2-file-upload/ng2-file-upload'
15import { Ng2SmartTableModule } from 'ng2-smart-table'
693b1aba 16
df98563e
C
17import { AUTH_HTTP_PROVIDERS } from './auth'
18import { RestExtractor, RestService } from './rest'
19import { SearchComponent, SearchService } from './search'
20import { UserService } from './users'
21import { VideoAbuseService } from './video-abuse'
693b1aba
C
22
23@NgModule({
24 imports: [
25 CommonModule,
26 FormsModule,
27 ReactiveFormsModule,
28 HttpModule,
29 RouterModule,
d15ab38a 30 BrowserAnimationsModule,
693b1aba 31
ad42bea3 32 BsDropdownModule.forRoot(),
d396a937
C
33 ModalModule.forRoot(),
34 PaginationModule.forRoot(),
35 ProgressbarModule.forRoot(),
36
28798b5d
C
37 FileUploadModule,
38 Ng2SmartTableModule
693b1aba
C
39 ],
40
41 declarations: [
42 BytesPipe,
99fdec46 43 KeysPipe,
693b1aba
C
44 SearchComponent
45 ],
46
47 exports: [
48 CommonModule,
49 FormsModule,
50 ReactiveFormsModule,
51 HttpModule,
52 RouterModule,
53
ad42bea3 54 BsDropdownModule,
693b1aba
C
55 FileUploadModule,
56 ModalModule,
57 PaginationModule,
58 ProgressbarModule,
28798b5d 59 Ng2SmartTableModule,
693b1aba 60 BytesPipe,
99fdec46 61 KeysPipe,
693b1aba
C
62
63 SearchComponent
64 ],
65
66 providers: [
67 AUTH_HTTP_PROVIDERS,
68 RestExtractor,
69 RestService,
11ac88de 70 SearchService,
e2a2d6c8
C
71 VideoAbuseService,
72 UserService
693b1aba
C
73 ]
74})
75export class SharedModule { }