]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+my-account/my-account.module.ts
Add visitor settings, rework logged-in dropdown (#2514)
[github/Chocobozzz/PeerTube.git] / client / src / app / +my-account / my-account.module.ts
1 import { TableModule } from 'primeng/table'
2 import { NgModule } from '@angular/core'
3 import { AutoCompleteModule } from 'primeng/autocomplete'
4 import { InputSwitchModule } from 'primeng/inputswitch'
5 import { SharedModule } from '../shared'
6 import { MyAccountRoutingModule } from './my-account-routing.module'
7 import { MyAccountChangePasswordComponent } from './my-account-settings/my-account-change-password/my-account-change-password.component'
8 import { MyAccountSettingsComponent } from './my-account-settings/my-account-settings.component'
9 import { MyAccountComponent } from './my-account.component'
10 import { MyAccountVideosComponent } from './my-account-videos/my-account-videos.component'
11 import { VideoChangeOwnershipComponent } from './my-account-videos/video-change-ownership/video-change-ownership.component'
12 import { MyAccountOwnershipComponent } from './my-account-ownership/my-account-ownership.component'
13 import { MyAccountAcceptOwnershipComponent } from './my-account-ownership/my-account-accept-ownership/my-account-accept-ownership.component'
14 import { MyAccountProfileComponent } from '@app/+my-account/my-account-settings/my-account-profile/my-account-profile.component'
15 import { MyAccountVideoChannelsComponent } from '@app/+my-account/my-account-video-channels/my-account-video-channels.component'
16 import { MyAccountVideoChannelCreateComponent } from '@app/+my-account/my-account-video-channels/my-account-video-channel-create.component'
17 import { MyAccountVideoChannelUpdateComponent } from '@app/+my-account/my-account-video-channels/my-account-video-channel-update.component'
18 import { ActorAvatarInfoComponent } from '@app/+my-account/shared/actor-avatar-info.component'
19 import { MyAccountVideoImportsComponent } from '@app/+my-account/my-account-video-imports/my-account-video-imports.component'
20 import { MyAccountDangerZoneComponent } from '@app/+my-account/my-account-settings/my-account-danger-zone'
21 import { MyAccountSubscriptionsComponent } from '@app/+my-account/my-account-subscriptions/my-account-subscriptions.component'
22 import { MyAccountBlocklistComponent } from '@app/+my-account/my-account-blocklist/my-account-blocklist.component'
23 import { MyAccountServerBlocklistComponent } from '@app/+my-account/my-account-blocklist/my-account-server-blocklist.component'
24 import { MyAccountHistoryComponent } from '@app/+my-account/my-account-history/my-account-history.component'
25 import { MyAccountNotificationsComponent } from '@app/+my-account/my-account-notifications/my-account-notifications.component'
26 import { MyAccountNotificationPreferencesComponent } from '@app/+my-account/my-account-settings/my-account-notification-preferences'
27 import {
28 MyAccountVideoPlaylistCreateComponent
29 } from '@app/+my-account/my-account-video-playlists/my-account-video-playlist-create.component'
30 import {
31 MyAccountVideoPlaylistUpdateComponent
32 } from '@app/+my-account/my-account-video-playlists/my-account-video-playlist-update.component'
33 import { MyAccountVideoPlaylistsComponent } from '@app/+my-account/my-account-video-playlists/my-account-video-playlists.component'
34 import {
35 MyAccountVideoPlaylistElementsComponent
36 } from '@app/+my-account/my-account-video-playlists/my-account-video-playlist-elements.component'
37 import { DragDropModule } from '@angular/cdk/drag-drop'
38 import { MyAccountChangeEmailComponent } from '@app/+my-account/my-account-settings/my-account-change-email'
39
40 @NgModule({
41 imports: [
42 TableModule,
43 MyAccountRoutingModule,
44 AutoCompleteModule,
45 SharedModule,
46 TableModule,
47 InputSwitchModule,
48 DragDropModule
49 ],
50
51 declarations: [
52 MyAccountComponent,
53 MyAccountSettingsComponent,
54 MyAccountChangePasswordComponent,
55 MyAccountProfileComponent,
56 MyAccountChangeEmailComponent,
57
58 MyAccountVideosComponent,
59
60 VideoChangeOwnershipComponent,
61 MyAccountOwnershipComponent,
62 MyAccountAcceptOwnershipComponent,
63 MyAccountVideoChannelsComponent,
64 MyAccountVideoChannelCreateComponent,
65 MyAccountVideoChannelUpdateComponent,
66 ActorAvatarInfoComponent,
67 MyAccountVideoImportsComponent,
68 MyAccountDangerZoneComponent,
69 MyAccountSubscriptionsComponent,
70 MyAccountBlocklistComponent,
71 MyAccountServerBlocklistComponent,
72 MyAccountHistoryComponent,
73 MyAccountNotificationsComponent,
74 MyAccountNotificationPreferencesComponent,
75
76 MyAccountVideoPlaylistCreateComponent,
77 MyAccountVideoPlaylistUpdateComponent,
78 MyAccountVideoPlaylistsComponent,
79 MyAccountVideoPlaylistElementsComponent
80 ],
81
82 exports: [
83 MyAccountComponent
84 ],
85
86 providers: []
87 })
88 export class MyAccountModule {
89 }