]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/+my-account/my-account.module.ts
Implement two factor in client
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account.module.ts
CommitLineData
d12b40fb 1import { QRCodeModule } from 'angularx-qrcode'
74d63469 2import { AutoCompleteModule } from 'primeng/autocomplete'
67ed6552
C
3import { TableModule } from 'primeng/table'
4import { DragDropModule } from '@angular/cdk/drag-drop'
5import { NgModule } from '@angular/core'
94148c90 6import { SharedAbuseListModule } from '@app/shared/shared-abuse-list'
ec489ce2 7import { SharedActorImageEditModule } from '@app/shared/shared-actor-image-edit'
983aa6f2 8import { SharedFormModule } from '@app/shared/shared-forms'
67ed6552
C
9import { SharedGlobalIconModule } from '@app/shared/shared-icons'
10import { SharedMainModule } from '@app/shared/shared-main'
11import { SharedModerationModule } from '@app/shared/shared-moderation'
82f443de 12import { SharedShareModal } from '@app/shared/shared-share-modal'
67ed6552 13import { SharedUserInterfaceSettingsModule } from '@app/shared/shared-user-settings'
746018f6 14import { SharedActorImageModule } from '../shared/shared-actor-image/shared-actor-image.module'
94148c90 15import { MyAccountAbusesListComponent } from './my-account-abuses/my-account-abuses-list.component'
cdeddff1 16import { MyAccountApplicationsComponent } from './my-account-applications/my-account-applications.component'
67ed6552
C
17import { MyAccountBlocklistComponent } from './my-account-blocklist/my-account-blocklist.component'
18import { MyAccountServerBlocklistComponent } from './my-account-blocklist/my-account-server-blocklist.component'
67ed6552 19import { MyAccountNotificationsComponent } from './my-account-notifications/my-account-notifications.component'
4bb6886d 20import { MyAccountRoutingModule } from './my-account-routing.module'
67ed6552 21import { MyAccountChangeEmailComponent } from './my-account-settings/my-account-change-email'
4bb6886d 22import { MyAccountChangePasswordComponent } from './my-account-settings/my-account-change-password/my-account-change-password.component'
67ed6552
C
23import { MyAccountDangerZoneComponent } from './my-account-settings/my-account-danger-zone'
24import { MyAccountNotificationPreferencesComponent } from './my-account-settings/my-account-notification-preferences'
25import { MyAccountProfileComponent } from './my-account-settings/my-account-profile/my-account-profile.component'
4bb6886d 26import { MyAccountSettingsComponent } from './my-account-settings/my-account-settings.component'
d12b40fb
C
27import {
28 MyAccountTwoFactorButtonComponent,
29 MyAccountTwoFactorComponent,
30 TwoFactorService
31} from './my-account-settings/my-account-two-factor'
67ed6552 32import { MyAccountComponent } from './my-account.component'
4bb6886d
C
33
34@NgModule({
35 imports: [
36 MyAccountRoutingModule,
67ed6552 37
d12b40fb 38 QRCodeModule,
74d63469 39 AutoCompleteModule,
276d9652 40 TableModule,
67ed6552
C
41 DragDropModule,
42
43 SharedMainModule,
983aa6f2 44 SharedFormModule,
67ed6552 45 SharedModerationModule,
67ed6552 46 SharedUserInterfaceSettingsModule,
94148c90 47 SharedGlobalIconModule,
82f443de 48 SharedAbuseListModule,
cdeddff1 49 SharedShareModal,
746018f6 50 SharedActorImageModule,
ec489ce2 51 SharedActorImageEditModule
4bb6886d
C
52 ],
53
54 declarations: [
55 MyAccountComponent,
56 MyAccountSettingsComponent,
57 MyAccountChangePasswordComponent,
ed56ad11 58 MyAccountProfileComponent,
0ba5f5ba 59 MyAccountChangeEmailComponent,
5beb89f2 60 MyAccountApplicationsComponent,
0ba5f5ba 61
d12b40fb
C
62 MyAccountTwoFactorButtonComponent,
63 MyAccountTwoFactorComponent,
64
22a16e36 65 MyAccountDangerZoneComponent,
af5767ff 66 MyAccountBlocklistComponent,
94148c90 67 MyAccountAbusesListComponent,
80bfd33c 68 MyAccountServerBlocklistComponent,
2f1548fd 69 MyAccountNotificationsComponent,
17119e4a 70 MyAccountNotificationPreferencesComponent
4bb6886d
C
71 ],
72
73 exports: [
74 MyAccountComponent
75 ],
76
d12b40fb
C
77 providers: [
78 TwoFactorService
79 ]
4bb6886d 80})
ccfcdb67
C
81export class MyAccountModule {
82}