@vergelijkdirect/comparison-forms 2.0.0-rc.9 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/README.md +145 -109
  2. package/dist/vue/comparison-forms.css +1 -1
  3. package/dist/vue/comparison-forms.d.ts +104 -71
  4. package/dist/vue/comparison-forms.js +773 -798
  5. package/dist/wc/comparison-forms.css +1 -1
  6. package/dist/wc/comparison-forms.js +6328 -6398
  7. package/dist/wc-forms/VdInput-CQMUZonZ.cjs +1 -0
  8. package/dist/wc-forms/VdPopover-B7iU4v7L.cjs +1 -0
  9. package/dist/wc-forms/VdRadioGroup-CliXOc0N.cjs +1 -0
  10. package/dist/wc-forms/VdSearchableSelect-BOOYo1Cc.cjs +3 -0
  11. package/dist/wc-forms/VdSelect-BsnfIWYl.cjs +1 -0
  12. package/dist/wc-forms/bike.cjs +1 -0
  13. package/dist/wc-forms/birthdate.schema-C-y732mA.cjs +1 -0
  14. package/dist/wc-forms/business-car.cjs +1 -0
  15. package/dist/wc-forms/business-liability.cjs +1 -0
  16. package/dist/wc-forms/car.cjs +1 -0
  17. package/dist/wc-forms/caravan.cjs +1 -0
  18. package/dist/wc-forms/company.schema-BLoMUJDa.cjs +1 -0
  19. package/dist/wc-forms/date.util-DoOLYSV4.cjs +1 -0
  20. package/dist/wc-forms/familyComposition.schema-gvSnx-ea.cjs +1 -0
  21. package/dist/wc-forms/floating-ui.dom-QFQ2zVcn.cjs +1 -0
  22. package/dist/wc-forms/house.cjs +1 -0
  23. package/dist/wc-forms/houseOwnedBuilding.model-G9AqKTZo.cjs +1 -0
  24. package/dist/wc-forms/itc-nSCTLC1V.cjs +1 -0
  25. package/dist/wc-forms/legal.cjs +1 -0
  26. package/dist/wc-forms/liability.cjs +1 -0
  27. package/dist/wc-forms/loan.cjs +1 -0
  28. package/dist/wc-forms/messages-CX8jVyEo.cjs +1 -0
  29. package/dist/wc-forms/moped.cjs +1 -0
  30. package/dist/wc-forms/motor.cjs +1 -0
  31. package/dist/wc-forms/package.cjs +1 -0
  32. package/dist/wc-forms/pet.cjs +1 -0
  33. package/dist/wc-forms/rolldown-runtime-Dbss1pSk.cjs +1 -0
  34. package/dist/wc-forms/rules-GF6hc_di.cjs +1 -0
  35. package/dist/wc-forms/travel.cjs +1 -0
  36. package/dist/wc-forms/useAddress-DJ4aWwYs.cjs +1 -0
  37. package/dist/wc-forms/useLicensePlate-98nreTI8.cjs +1 -0
  38. package/dist/wc-forms/useValidator-C2pny0oV.cjs +3 -0
  39. package/dist/wc-forms/yesNo-DgihWhwI.cjs +1 -0
  40. package/dist/wc-noitc/comparison-forms.css +2 -13
  41. package/dist/wc-noitc/comparison-forms.umd.cjs +5 -0
  42. package/package.json +14 -10
  43. package/dist/wc-noitc/comparison-forms.js +0 -35
@@ -5,9 +5,9 @@ import { PublicProps } from 'vue';
5
5
  import { Ref } from 'vue';
6
6
 
7
7
  declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
8
- submit: (model: BikeFormData) => any;
8
+ submitted: (model: BikeFormData) => any;
9
9
  }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
10
- onSubmit?: ((model: BikeFormData) => any) | undefined;
10
+ onSubmitted?: ((model: BikeFormData) => any) | undefined;
11
11
  }>, {
12
12
  title: string;
13
13
  flat: boolean;
@@ -21,9 +21,9 @@ declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, Compone
21
21
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
22
22
 
23
23
  declare const __VLS_export_10: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
24
- submit: (model: MopedFormData) => any;
24
+ submitted: (model: MopedFormData) => any;
25
25
  }, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{
26
- onSubmit?: ((model: MopedFormData) => any) | undefined;
26
+ onSubmitted?: ((model: MopedFormData) => any) | undefined;
27
27
  }>, {
28
28
  title: string;
29
29
  flat: boolean;
@@ -37,9 +37,9 @@ declare const __VLS_export_10: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, C
37
37
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
38
38
 
39
39
  declare const __VLS_export_11: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
40
- submit: (model: MotorFormData) => any;
40
+ submitted: (model: MotorFormData) => any;
41
41
  }, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
42
- onSubmit?: ((model: MotorFormData) => any) | undefined;
42
+ onSubmitted?: ((model: MotorFormData) => any) | undefined;
43
43
  }>, {
44
44
  title: string;
45
45
  flat: boolean;
@@ -53,9 +53,9 @@ declare const __VLS_export_11: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, C
53
53
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
54
54
 
55
55
  declare const __VLS_export_12: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
56
- submit: (model: CarFormData) => any;
56
+ submitted: (model: CarFormData) => any;
57
57
  }, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
58
- onSubmit?: ((model: CarFormData) => any) | undefined;
58
+ onSubmitted?: ((model: CarFormData) => any) | undefined;
59
59
  }>, {
60
60
  title: string;
61
61
  flat: boolean;
@@ -69,9 +69,9 @@ declare const __VLS_export_12: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, C
69
69
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
70
70
 
71
71
  declare const __VLS_export_13: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
72
- submit: (model: BusinessCarFormData) => any;
72
+ submitted: (model: BusinessCarFormData) => any;
73
73
  }, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
74
- onSubmit?: ((model: BusinessCarFormData) => any) | undefined;
74
+ onSubmitted?: ((model: BusinessCarFormData) => any) | undefined;
75
75
  }>, {
76
76
  title: string;
77
77
  flat: boolean;
@@ -85,9 +85,9 @@ declare const __VLS_export_13: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, C
85
85
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
86
86
 
87
87
  declare const __VLS_export_14: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
88
- submit: (model: BusinessLiabilityFormData) => any;
88
+ submitted: (model: BusinessLiabilityFormData) => any;
89
89
  }, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{
90
- onSubmit?: ((model: BusinessLiabilityFormData) => any) | undefined;
90
+ onSubmitted?: ((model: BusinessLiabilityFormData) => any) | undefined;
91
91
  }>, {
92
92
  title: string;
93
93
  flat: boolean;
@@ -116,22 +116,27 @@ declare const __VLS_export_15: DefineComponent<ComparisonFormFlowProps, {}, {},
116
116
  declare const __VLS_export_16: DefineComponent<RiskScannerFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<RiskScannerFormProps> & Readonly<{}>, {
117
117
  title: string;
118
118
  description: string;
119
+ qaId: string;
120
+ thankyouPageTemplate: string;
119
121
  buttonText: string;
120
122
  showTitle: boolean;
121
- qaOptions: Partial<QaOptions>;
123
+ qaUrl: string;
124
+ currentItemId: string;
125
+ nextItemId: string;
122
126
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
123
127
 
124
128
  declare const __VLS_export_17: DefineComponent<QuestionnaireSharedProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<QuestionnaireSharedProps> & Readonly<{}>, {
125
129
  title: string;
126
130
  description: string;
131
+ thankyouPageTemplate: string;
127
132
  buttonText: string;
128
133
  showTitle: boolean;
129
134
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
130
135
 
131
136
  declare const __VLS_export_2: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
132
- submit: (model: PetFormData) => any;
137
+ submitted: (model: PetFormData) => any;
133
138
  }, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
134
- onSubmit?: ((model: PetFormData) => any) | undefined;
139
+ onSubmitted?: ((model: PetFormData) => any) | undefined;
135
140
  }>, {
136
141
  title: string;
137
142
  flat: boolean;
@@ -145,9 +150,9 @@ declare const __VLS_export_2: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, Com
145
150
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
146
151
 
147
152
  declare const __VLS_export_3: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
148
- submit: (model: CaravanFormData) => any;
153
+ submitted: (model: CaravanFormData) => any;
149
154
  }, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{
150
- onSubmit?: ((model: CaravanFormData) => any) | undefined;
155
+ onSubmitted?: ((model: CaravanFormData) => any) | undefined;
151
156
  }>, {
152
157
  title: string;
153
158
  flat: boolean;
@@ -161,9 +166,9 @@ declare const __VLS_export_3: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, Com
161
166
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
162
167
 
163
168
  declare const __VLS_export_4: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
164
- submit: (model: TravelFormData) => any;
169
+ submitted: (model: TravelFormData) => any;
165
170
  }, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{
166
- onSubmit?: ((model: TravelFormData) => any) | undefined;
171
+ onSubmitted?: ((model: TravelFormData) => any) | undefined;
167
172
  }>, {
168
173
  title: string;
169
174
  flat: boolean;
@@ -177,9 +182,9 @@ declare const __VLS_export_4: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, Com
177
182
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
178
183
 
179
184
  declare const __VLS_export_5: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
180
- submit: (model: LiabilityFormData) => any;
185
+ submitted: (model: LiabilityFormData) => any;
181
186
  }, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{
182
- onSubmit?: ((model: LiabilityFormData) => any) | undefined;
187
+ onSubmitted?: ((model: LiabilityFormData) => any) | undefined;
183
188
  }>, {
184
189
  title: string;
185
190
  flat: boolean;
@@ -193,9 +198,9 @@ declare const __VLS_export_5: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, Com
193
198
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
194
199
 
195
200
  declare const __VLS_export_6: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
196
- submit: (model: HouseFormData) => any;
201
+ submitted: (model: HouseFormData) => any;
197
202
  }, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
198
- onSubmit?: ((model: HouseFormData) => any) | undefined;
203
+ onSubmitted?: ((model: HouseFormData) => any) | undefined;
199
204
  }>, {
200
205
  title: string;
201
206
  flat: boolean;
@@ -209,9 +214,9 @@ declare const __VLS_export_6: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, Com
209
214
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
210
215
 
211
216
  declare const __VLS_export_7: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
212
- submit: (model: LegalFormData) => any;
217
+ submitted: (model: LegalFormData) => any;
213
218
  }, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
214
- onSubmit?: ((model: LegalFormData) => any) | undefined;
219
+ onSubmitted?: ((model: LegalFormData) => any) | undefined;
215
220
  }>, {
216
221
  title: string;
217
222
  flat: boolean;
@@ -225,9 +230,9 @@ declare const __VLS_export_7: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, Com
225
230
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
226
231
 
227
232
  declare const __VLS_export_8: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
228
- submit: (model: PackageFormData) => any;
233
+ submitted: (model: PackageFormData) => any;
229
234
  }, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
230
- onSubmit?: ((model: PackageFormData) => any) | undefined;
235
+ onSubmitted?: ((model: PackageFormData) => any) | undefined;
231
236
  }>, {
232
237
  title: string;
233
238
  flat: boolean;
@@ -241,9 +246,9 @@ declare const __VLS_export_8: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, Com
241
246
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
242
247
 
243
248
  declare const __VLS_export_9: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
244
- submit: (model: LoanFormData) => any;
249
+ submitted: (model: LoanFormData) => any;
245
250
  }, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
246
- onSubmit?: ((model: LoanFormData) => any) | undefined;
251
+ onSubmitted?: ((model: LoanFormData) => any) | undefined;
247
252
  }>, {
248
253
  title: string;
249
254
  flat: boolean;
@@ -289,9 +294,9 @@ declare interface AddressBearingFormData {
289
294
  }
290
295
 
291
296
  declare interface AddressData {
292
- zipCode?: string;
293
- houseNumber?: string;
294
- houseNumberAddition?: string;
297
+ zipCode: string;
298
+ houseNumber: string;
299
+ houseNumberAddition: string;
295
300
  city?: string;
296
301
  street?: string;
297
302
  }
@@ -301,8 +306,7 @@ declare interface BaseVehicleData {
301
306
  Brand: string;
302
307
  Model: string;
303
308
  VehicleType: string;
304
- ManufacturingYear: string | number;
305
- [key: string]: unknown;
309
+ ManufacturingYear: number;
306
310
  }
307
311
 
308
312
  export declare const BikeForm: typeof __VLS_export;
@@ -340,17 +344,17 @@ export declare const CaravanForm: typeof __VLS_export_3;
340
344
 
341
345
  export declare interface CaravanFormData {
342
346
  TypeOfCaravan: string | null;
343
- NewOrOccasion: YesNo;
347
+ NewOrOccasion: YesNoValue;
344
348
  BuildYear: string | null;
345
349
  }
346
350
 
347
351
  export declare function caravanPresenter(data: CaravanFormData): ComparisonPayload;
348
352
 
349
353
  declare interface CarData extends BaseVehicleData {
350
- BrandLogo: string;
351
354
  Type: string;
352
- CatalogValue: string | number | null;
353
- DayValue: string | number | null;
355
+ BrandLogo: string;
356
+ DayValue: number;
357
+ CatalogValue: number;
354
358
  TheftProtectionClass: string;
355
359
  CarAlarmRequirement: string;
356
360
  }
@@ -481,18 +485,28 @@ export declare interface ComparisonPayload {
481
485
 
482
486
  declare interface ComparisonUserFields {
483
487
  birthdate?: string;
484
- zipcode?: string;
488
+ zipCode?: string;
485
489
  houseNumber?: string;
486
490
  houseNumberAddition?: string;
487
491
  email?: string;
488
492
  kidsAmount?: number;
489
- familyComposition?: FamilyComposition;
493
+ familyComposition?: FamilyCompositionValue;
490
494
  firstName?: string;
491
495
  phoneNumber?: string;
492
496
  city?: string;
493
497
  street?: string;
494
498
  }
495
499
 
500
+ /**
501
+ * Registers the QA-renderer api for every questionnaire on the page, so a host
502
+ * that embeds `<vd-risk-scanner>` in many places sets the url once at bootstrap
503
+ * instead of on each element. A `qa-url` prop/attribute still wins over this.
504
+ *
505
+ * There is deliberately **no** default: unconfigured and without a prop, the
506
+ * form throws.
507
+ */
508
+ export declare const configureQa: (config: QaConfig) => void;
509
+
496
510
  declare enum FamilyComposition {
497
511
  FamilyWithChildren = "I",
498
512
  FamilyWithoutChildren = "H",
@@ -501,13 +515,15 @@ declare enum FamilyComposition {
501
515
  }
502
516
 
503
517
  declare interface FamilyCompositionFormData {
504
- familyComposition: FamilyComposition;
518
+ familyComposition: FamilyCompositionValue;
505
519
  }
506
520
 
521
+ declare type FamilyCompositionValue = `${FamilyComposition}`;
522
+
507
523
  export declare const HouseForm: typeof __VLS_export_6;
508
524
 
509
525
  export declare interface HouseFormData extends AddressBearingFormData, FamilyCompositionFormData {
510
- ownedBuilding: YesNo;
526
+ ownedBuilding: YesNoValue;
511
527
  }
512
528
 
513
529
  export declare function housePresenter(data: HouseFormData): ComparisonPayload;
@@ -515,7 +531,7 @@ export declare function housePresenter(data: HouseFormData): ComparisonPayload;
515
531
  export declare const LegalForm: typeof __VLS_export_7;
516
532
 
517
533
  export declare interface LegalFormData extends AddressBearingFormData, BirthdateFormData, FamilyCompositionFormData {
518
- ownedBuilding: YesNo;
534
+ ownedBuilding: YesNoValue;
519
535
  familySize: string;
520
536
  }
521
537
 
@@ -532,21 +548,20 @@ export declare const LoanForm: typeof __VLS_export_9;
532
548
 
533
549
  export declare interface LoanFormData extends BirthdateFormData, FamilyCompositionFormData {
534
550
  LoanPurpose: string;
535
- LoanAmount: number | null;
551
+ LoanAmount: number;
536
552
  }
537
553
 
538
554
  export declare function loanPresenter(data: LoanFormData): ComparisonPayload;
539
555
 
540
556
  declare interface MopedData extends BaseVehicleData {
541
557
  Type: string;
558
+ CatalogValue: string;
542
559
  TypeOfMoped: string;
543
- CatalogValue: string | null;
544
560
  CylinderCapacity: string;
545
- EnginePower: string | number | null;
561
+ Weight: string;
562
+ MaximumPower: string | number;
563
+ EnginePower: string | number;
546
564
  Fuel: string;
547
- MaximumPower: string;
548
- SignCode?: string;
549
- Weight: number | string | null;
550
565
  }
551
566
 
552
567
  export declare const MopedForm: typeof __VLS_export_10;
@@ -557,20 +572,18 @@ export declare interface MopedFormData extends VehicleFormData<MopedData>, Addre
557
572
  export declare function mopedPresenter(data: MopedFormData): ComparisonPayload;
558
573
 
559
574
  declare interface MotorData extends BaseVehicleData {
560
- BrandLogo: string;
561
575
  Type: string;
562
- Source?: string;
563
- CatalogValue: string | null;
564
- DayValue: string | null;
576
+ BrandLogo: string;
577
+ DayValue: string;
578
+ CatalogValue: string;
579
+ EnginePower: number;
565
580
  CylinderCapacity: string;
566
- EnginePower: number | null;
581
+ Weight: number;
582
+ WeightEmpty: string;
567
583
  Fuel: string;
584
+ Source: string;
585
+ Wheels: number;
568
586
  VehicleCategory: string;
569
- Weight: number | null;
570
- WeightEmpty: string;
571
- Wheels?: number;
572
- NumberOfKilowatts?: string;
573
- MotorType?: string;
574
587
  }
575
588
 
576
589
  export declare const MotorForm: typeof __VLS_export_11;
@@ -593,47 +606,65 @@ declare enum PaymentTerm {
593
606
  ShortTerm = "S"
594
607
  }
595
608
 
609
+ declare type PaymentTermValue = `${PaymentTerm}`;
610
+
596
611
  export declare const PetForm: typeof __VLS_export_2;
597
612
 
598
613
  export declare interface PetFormData {
599
614
  kind: string;
600
615
  age: string;
601
- zipcode: string;
616
+ zipCode: string;
602
617
  }
603
618
 
604
619
  export declare function petPresenter(data: PetFormData): ComparisonPayload;
605
620
 
606
- export declare interface QaOptions {
607
- qaId: string;
608
- thankyouPageTemplate?: string;
609
- qaUrl?: string;
610
- currentItemId?: string;
611
- nextItemId?: string;
621
+ export declare interface QaConfig {
622
+ /** base url of the QA-renderer api (a missing trailing slash is normalized by the forms) */
623
+ url: string;
612
624
  }
613
625
 
614
626
  export declare const QuestionnaireForm: typeof __VLS_export_17;
615
627
 
616
628
  export declare type QuestionnaireFormProps = QuestionnaireSharedProps;
617
629
 
630
+ /**
631
+ * The shared public API of every questionnaire (QA-renderer quiz starter).
632
+ * Deliberately independent from the comparison forms' `ComparisonFormProps` —
633
+ * questionnaires are VD-internal drop-ins, their contract evolves separately.
634
+ *
635
+ * On master (1.x) this contract was `link`/`title`/`description`/`buttonText`/
636
+ * `showTitle` + an `additionalOptions` object carrying the QA params; 2.x
637
+ * flattens those params into plain props, keeping the master names
638
+ * (`thankyouPageTemplate` still lands in the url as the `template` query param).
639
+ */
618
640
  export declare interface QuestionnaireSharedProps {
641
+ /** base page url of the quiz app; `{qaId, template, …}` are merged into its query */
619
642
  link: string;
643
+ qaId: string;
644
+ thankyouPageTemplate?: string;
620
645
  title?: string;
621
646
  description?: string;
622
647
  buttonText?: string;
623
648
  showTitle?: boolean;
624
- qaOptions: QaOptions;
625
649
  }
626
650
 
627
651
  export declare const RiskScannerForm: typeof __VLS_export_16;
628
652
 
629
- export declare interface RiskScannerFormProps extends Omit<QuestionnaireSharedProps, 'qaOptions'> {
630
- qaOptions?: Partial<QaOptions>;
653
+ export declare interface RiskScannerFormProps extends Omit<QuestionnaireSharedProps, 'qaId'> {
654
+ /**
655
+ * base url of the QA API (a missing trailing slash is normalized internally);
656
+ * falls back to `configureQa({ url })` — submitting without either throws
657
+ */
658
+ qaUrl?: string;
659
+ qaId?: string;
660
+ currentItemId?: string;
661
+ nextItemId?: string;
631
662
  }
632
663
 
633
664
  export declare const TravelForm: typeof __VLS_export_4;
634
665
 
635
666
  export declare interface TravelFormData extends BirthdateFormData {
636
- PaymentTerm: PaymentTerm;
667
+ PaymentTerm: PaymentTermValue;
637
668
  }
638
669
 
639
670
  export declare function travelPresenter(data: TravelFormData): ComparisonPayload;
@@ -653,7 +684,7 @@ declare interface UseComparisonSubmitOptions {
653
684
 
654
685
  declare interface VehicleFormData<TVehicle> {
655
686
  licensePlate: string;
656
- vehicle: TVehicle | null;
687
+ vehicle: TVehicle;
657
688
  }
658
689
 
659
690
  declare enum YesNo {
@@ -661,4 +692,6 @@ declare enum YesNo {
661
692
  No = "N"
662
693
  }
663
694
 
695
+ declare type YesNoValue = `${YesNo}`;
696
+
664
697
  export { }