import { ChangeDetectionStrategy, Component, Input } from '@angular/core';
import { FormGroup } from '@angular/forms';
import { OrsaksKoderAvvikelse } from '@msfa-models/orsaks-koder-avvikelse.model';
import { KandaAvvikelseKoder, OrsaksKoderFranvaro } from '@msfa-models/orsaks-koder-franvaro.model';

@Component({
  selector: 'msfa-deltagare-confirm-form',
  templateUrl: './deltagare-confirm-form.component.html',
  styleUrls: ['./deltagare-confirm-form.component.scss'],
  changeDetection: ChangeDetectionStrategy.Default
})
export class DeltagareConfirmFormComponent {
  @Input() formGroup: FormGroup | null = null;
  @Input() orsakskoderfranvaro: OrsaksKoderFranvaro[];
  @Input() andraKandaOrsaker: KandaAvvikelseKoder[];
  @Input() avvikelseOrsaker: OrsaksKoderAvvikelse[];
}
