import { DigiNgFormSelectModule } from '@af/digi-ng/_form/form-select';
import { DigiNgLayoutExpansionPanelModule } from '@af/digi-ng/_layout/layout-expansion-panel';
import { DigiNgLinkButtonModule } from '@af/digi-ng/_link/link-button';
import { DigiNgLinkInternalModule } from '@af/digi-ng/_link/link-internal';
import { DigiNgPopoverModule } from '@af/digi-ng/_popover/popover';
import { DigiNgSkeletonBaseModule } from '@af/digi-ng/_skeleton/skeleton-base';
import { CommonModule } from '@angular/common';
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { ReactiveFormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import { BackLinkModule } from '@msfa-shared/components/back-link/back-link.module';
import { HideTextModule } from '@msfa-shared/components/hide-text/hide-text.module';
import { IconModule } from '@msfa-shared/components/icon/icon.module';
import { LayoutModule } from '@msfa-shared/components/layout/layout.module';
import { ReportsModule } from './components/reports/reports.module';
import { DeltagareCardComponent } from './deltagare-card.component';

@NgModule({
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
  declarations: [DeltagareCardComponent],
  imports: [
    CommonModule,
    RouterModule.forChild([{ path: '', component: DeltagareCardComponent }]),
    ReportsModule,
    LayoutModule,
    DigiNgLinkInternalModule,
    IconModule,
    BackLinkModule,
    DigiNgLayoutExpansionPanelModule,
    HideTextModule,
    DigiNgSkeletonBaseModule,
    DigiNgPopoverModule,
    DigiNgLinkButtonModule,
    DigiNgFormSelectModule,
    ReactiveFormsModule
  ],
  exports: [DeltagareCardComponent],
})
export class DeltagareCardModule { }
