import { CommonModule } from '@angular/common';
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { LayoutModule } from '@msfa-shared/components/layout/layout.module';
import { UnauthorizedAlertModule } from '@msfa-shared/components/unauthorized-alert/unauthorized-alert.module';
import { UiIconModule } from '@ui/icon/icon.module';
import { UiLoaderModule } from '@ui/loader/loader.module';
import { UiSkeletonModule } from '@ui/skeleton/skeleton.module';
import { DeltagareListTableModule } from './components/deltagare-list-table/deltagare-list-table.module';
import { DeltagareListComponent } from './deltagare-list.component';

@NgModule({
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
  declarations: [DeltagareListComponent],
  imports: [
    CommonModule,
    RouterModule.forChild([
      {
        path: '',
        component: DeltagareListComponent,
      },
    ]),
    LayoutModule,
    DeltagareListTableModule,
    UiSkeletonModule,
    UnauthorizedAlertModule,
    UiLoaderModule,
    UiIconModule,
  ],
})
export class DeltagareListModule {}
