import { DigiNgFormDatepickerModule } from '@af/digi-ng/_form/form-datepicker';
import { DigiNgFormRadiobuttonGroupModule } from '@af/digi-ng/_form/form-radiobutton-group';
import { DigiNgFormTextareaModule } from '@af/digi-ng/_form/form-textarea';
import { DigiNgProgressProgressbarModule } from '@af/digi-ng/_progress/progressbar';
import { CommonModule } from '@angular/common';
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { ReactiveFormsModule } from '@angular/forms';
import { RouterModule } from '@angular/router';
import { LayoutModule } from '@msfa-shared/components/layout/layout.module';
import { ConfirmDialogModule } from '../../../../shared/confirm-dialog/confirm-dialog.module';
import { ReportLayoutModule } from '../../../../shared/report-layout/report-layout.module';
import { DeltagareConfirmFormModule } from './components/deltagare-confirm-form/deltagare-confirm-form.module';
import { DeltagareFragorFormModule } from './components/deltagare-fragor-form/deltagare-fragor-form.module';
import { DeltagareOrsaksFormModule } from './components/deltagare-orsaks-form/deltagare-orsaks-form.module';
import { DeltagareTimePickerModule } from './components/deltagare-time-picker/deltagare-time-picker.module';
import { DeltagareAvvikelseComponent } from './deltagare-avvikelse.component';


@NgModule({
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
  declarations: [DeltagareAvvikelseComponent],
  imports: [
    CommonModule,
    RouterModule.forChild([{ path: '', component: DeltagareAvvikelseComponent }]),
    LayoutModule,
    ReactiveFormsModule,
    DigiNgFormRadiobuttonGroupModule,
    DigiNgFormDatepickerModule,
    DigiNgFormTextareaModule,
    DigiNgProgressProgressbarModule,
    DeltagareOrsaksFormModule,
    DeltagareFragorFormModule,
    DeltagareTimePickerModule,
    DeltagareConfirmFormModule,
    ReportLayoutModule,
    ConfirmDialogModule
  ],
  exports: [DeltagareAvvikelseComponent]
})
export class DeltagareAvvikelseModule { }
