import { DigiNgDialogModule } from '@af/digi-ng/_dialog/dialog';
import { DigiNgFormCheckboxModule } from '@af/digi-ng/_form/form-checkbox';
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 { PreventDoubleSubmitModule } from '@msfa-directives/prevent-double-submit.module';
import { LayoutModule } from '@msfa-shared/components/layout/layout.module';
import { UiBackLinkModule } from '@ui/back-link/back-link.module';
import { UiLinkButtonModule } from '@ui/link-button/link-button.module';
import { UiLoaderModule } from '@ui/loader/loader.module';
import { UiRadiobuttonGroupModule } from '@ui/radiobutton-group/radiobutton-group.module';
import { UiSkeletonModule } from '@ui/skeleton/skeleton.module';
import { UiValidationMessageModule } from '@ui/validation-message/validation-message.module';
import { ReportDescriptionListModule } from '../../../components/report-description-list/report-description-list.module';
import { ReportLayoutModule } from '../../../components/report-layout/report-layout.module';
import { GemensamPlaneringFormComponent } from './gemensam-planering-form.component';
import { GemensamPlaneringFormService } from './gemensam-planering-form.service';

@NgModule({
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
  declarations: [GemensamPlaneringFormComponent],
  imports: [
    CommonModule,
    RouterModule.forChild([{ path: '', component: GemensamPlaneringFormComponent }]),
    LayoutModule,
    DigiNgProgressProgressbarModule,
    UiRadiobuttonGroupModule,
    ReactiveFormsModule,
    ReportLayoutModule,
    UiBackLinkModule,
    UiLoaderModule,
    ReportDescriptionListModule,
    UiSkeletonModule,
    DigiNgFormCheckboxModule,
    DigiNgDialogModule,
    UiValidationMessageModule,
    UiLinkButtonModule,
    PreventDoubleSubmitModule,
  ],
  providers: [GemensamPlaneringFormService],
  exports: [GemensamPlaneringFormComponent],
})
export class GemensamPlaneringFormModule {}
