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 { LayoutModule } from '@msfa-shared/components/layout/layout.module';
import { RolesDialogModule } from '@msfa-shared/components/roles-dialog/roles-dialog.module';
import { LocalDatePipeModule } from '@msfa-shared/pipes/local-date/local-date.module';
import { UiBackLinkModule } from '@ui/back-link/back-link.module';
import { UiLinkButtonModule } from '@ui/link-button/link-button.module';
import { UiSkeletonModule } from '@ui/skeleton/skeleton.module';
import { EmployeeCardComponent } from './employee-card.component';
import { UiExpansionPanelModule } from '@ui/expansion-panel/expansion-panel.module';

@NgModule({
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
  declarations: [EmployeeCardComponent],
  imports: [
    CommonModule,
    RouterModule.forChild([{ path: '', component: EmployeeCardComponent }]),
    LayoutModule,
    UiSkeletonModule,
    LocalDatePipeModule,
    HideTextModule,
    UiBackLinkModule,
    UiLinkButtonModule,
    UiExpansionPanelModule,
    RolesDialogModule,
  ],
})
export class EmployeeCardModule {}
