import { DigiNgLinkButtonModule } from '@af/digi-ng/_link/link-button';
import { DigiNgLinkInternalModule } from '@af/digi-ng/_link/link-internal';
import { DigiNgSkeletonBaseModule } from '@af/digi-ng/_skeleton/skeleton-base';
import { CommonModule } from '@angular/common';
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import { LayoutModule } from '@msfa-shared/components/layout/layout.module';
import { EmployeeDeleteModule } from '../../components/employee-delete/employee-delete.module';
import { EmployeesListModule } from './components/employees-list/employees-list.module';
import { EmployeesComponent } from './employees.component';

@NgModule({
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
  declarations: [EmployeesComponent],
  imports: [
    CommonModule,
    RouterModule.forChild([{ path: '', component: EmployeesComponent }]),
    LayoutModule,
    DigiNgLinkInternalModule,
    DigiNgSkeletonBaseModule,
    EmployeesListModule,
    EmployeeDeleteModule,
    DigiNgLinkButtonModule,
    FormsModule,
  ],
})
export class EmployeesModule {}
