import { CommonModule } from '@angular/common';
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { HideTextModule } from '@msfa-shared/components/hide-text/hide-text.module';
import { UiIconModule } from '@ui/icon/icon.module';
import { LayoutModule } from '@msfa-shared/components/layout/layout.module';
import { OrganizationPickerFormModule } from '@msfa-shared/components/organization-picker-form/organization-picker-form.module';
import { RolesDialogModule } from '@msfa-shared/components/roles-dialog/roles-dialog.module';
import { UiLinkButtonModule } from '@ui/link-button/link-button.module';
import { UiSkeletonModule } from '@ui/skeleton/skeleton.module';
import { MyAccountComponent } from './my-account.component';

@NgModule({
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
  declarations: [MyAccountComponent],
  imports: [
    CommonModule,
    RouterModule.forChild([{ path: '', component: MyAccountComponent }]),
    LayoutModule,
    UiIconModule,
    UiSkeletonModule,
    OrganizationPickerFormModule,
    RolesDialogModule,
    HideTextModule,
    UiLinkButtonModule,
  ],
})
export class MyAccountModule {}
