@vergelijkdirect/comparison-forms 2.0.0-rc.8 → 2.0.0

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 +91 -73
  4. package/dist/vue/comparison-forms.js +772 -755
  5. package/dist/wc/comparison-forms.css +1 -1
  6. package/dist/wc/comparison-forms.js +3328 -3277
  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-Dhzxphqu.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/legal.cjs +1 -0
  25. package/dist/wc-forms/liability.cjs +1 -0
  26. package/dist/wc-forms/loan.cjs +1 -0
  27. package/dist/wc-forms/messages-CX8jVyEo.cjs +1 -0
  28. package/dist/wc-forms/moped.cjs +1 -0
  29. package/dist/wc-forms/motor.cjs +1 -0
  30. package/dist/wc-forms/package.cjs +1 -0
  31. package/dist/wc-forms/pet.cjs +1 -0
  32. package/dist/wc-forms/rolldown-runtime-Dbss1pSk.cjs +1 -0
  33. package/dist/wc-forms/rules-GF6hc_di.cjs +1 -0
  34. package/dist/wc-forms/services-BmRVYKgg.cjs +1 -0
  35. package/dist/wc-forms/travel.cjs +1 -0
  36. package/dist/wc-forms/useAddress-CNccyKT4.cjs +1 -0
  37. package/dist/wc-forms/useLicensePlate-Ct8T-GYB.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,12 +485,12 @@ 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;
@@ -501,13 +505,15 @@ declare enum FamilyComposition {
501
505
  }
502
506
 
503
507
  declare interface FamilyCompositionFormData {
504
- familyComposition: FamilyComposition;
508
+ familyComposition: FamilyCompositionValue;
505
509
  }
506
510
 
511
+ declare type FamilyCompositionValue = `${FamilyComposition}`;
512
+
507
513
  export declare const HouseForm: typeof __VLS_export_6;
508
514
 
509
515
  export declare interface HouseFormData extends AddressBearingFormData, FamilyCompositionFormData {
510
- ownedBuilding: YesNo;
516
+ ownedBuilding: YesNoValue;
511
517
  }
512
518
 
513
519
  export declare function housePresenter(data: HouseFormData): ComparisonPayload;
@@ -515,7 +521,7 @@ export declare function housePresenter(data: HouseFormData): ComparisonPayload;
515
521
  export declare const LegalForm: typeof __VLS_export_7;
516
522
 
517
523
  export declare interface LegalFormData extends AddressBearingFormData, BirthdateFormData, FamilyCompositionFormData {
518
- ownedBuilding: YesNo;
524
+ ownedBuilding: YesNoValue;
519
525
  familySize: string;
520
526
  }
521
527
 
@@ -532,21 +538,20 @@ export declare const LoanForm: typeof __VLS_export_9;
532
538
 
533
539
  export declare interface LoanFormData extends BirthdateFormData, FamilyCompositionFormData {
534
540
  LoanPurpose: string;
535
- LoanAmount: number | null;
541
+ LoanAmount: number;
536
542
  }
537
543
 
538
544
  export declare function loanPresenter(data: LoanFormData): ComparisonPayload;
539
545
 
540
546
  declare interface MopedData extends BaseVehicleData {
541
547
  Type: string;
548
+ CatalogValue: string;
542
549
  TypeOfMoped: string;
543
- CatalogValue: string | null;
544
550
  CylinderCapacity: string;
545
- EnginePower: string | number | null;
551
+ Weight: string;
552
+ MaximumPower: string | number;
553
+ EnginePower: string | number;
546
554
  Fuel: string;
547
- MaximumPower: string;
548
- SignCode?: string;
549
- Weight: number | string | null;
550
555
  }
551
556
 
552
557
  export declare const MopedForm: typeof __VLS_export_10;
@@ -557,20 +562,18 @@ export declare interface MopedFormData extends VehicleFormData<MopedData>, Addre
557
562
  export declare function mopedPresenter(data: MopedFormData): ComparisonPayload;
558
563
 
559
564
  declare interface MotorData extends BaseVehicleData {
560
- BrandLogo: string;
561
565
  Type: string;
562
- Source?: string;
563
- CatalogValue: string | null;
564
- DayValue: string | null;
566
+ BrandLogo: string;
567
+ DayValue: string;
568
+ CatalogValue: string;
569
+ EnginePower: number;
565
570
  CylinderCapacity: string;
566
- EnginePower: number | null;
571
+ Weight: number;
572
+ WeightEmpty: string;
567
573
  Fuel: string;
574
+ Source: string;
575
+ Wheels: number;
568
576
  VehicleCategory: string;
569
- Weight: number | null;
570
- WeightEmpty: string;
571
- Wheels?: number;
572
- NumberOfKilowatts?: string;
573
- MotorType?: string;
574
577
  }
575
578
 
576
579
  export declare const MotorForm: typeof __VLS_export_11;
@@ -593,47 +596,60 @@ declare enum PaymentTerm {
593
596
  ShortTerm = "S"
594
597
  }
595
598
 
599
+ declare type PaymentTermValue = `${PaymentTerm}`;
600
+
596
601
  export declare const PetForm: typeof __VLS_export_2;
597
602
 
598
603
  export declare interface PetFormData {
599
604
  kind: string;
600
605
  age: string;
601
- zipcode: string;
606
+ zipCode: string;
602
607
  }
603
608
 
604
609
  export declare function petPresenter(data: PetFormData): ComparisonPayload;
605
610
 
606
- export declare interface QaOptions {
607
- qaId: string;
608
- thankyouPageTemplate?: string;
609
- qaUrl?: string;
610
- currentItemId?: string;
611
- nextItemId?: string;
612
- }
613
-
614
611
  export declare const QuestionnaireForm: typeof __VLS_export_17;
615
612
 
616
613
  export declare type QuestionnaireFormProps = QuestionnaireSharedProps;
617
614
 
615
+ /**
616
+ * The shared public API of every questionnaire (QA-renderer quiz starter).
617
+ * Deliberately independent from the comparison forms' `ComparisonFormProps` —
618
+ * questionnaires are VD-internal drop-ins, their contract evolves separately.
619
+ *
620
+ * On master (1.x) this contract was `link`/`title`/`description`/`buttonText`/
621
+ * `showTitle` + an `additionalOptions` object carrying the QA params; 2.x
622
+ * flattens those params into plain props, keeping the master names
623
+ * (`thankyouPageTemplate` still lands in the url as the `template` query param).
624
+ */
618
625
  export declare interface QuestionnaireSharedProps {
626
+ /** base page url of the quiz app; `{qaId, template, …}` are merged into its query */
619
627
  link: string;
628
+ qaId: string;
629
+ thankyouPageTemplate?: string;
620
630
  title?: string;
621
631
  description?: string;
622
632
  buttonText?: string;
623
633
  showTitle?: boolean;
624
- qaOptions: QaOptions;
625
634
  }
626
635
 
627
636
  export declare const RiskScannerForm: typeof __VLS_export_16;
628
637
 
629
- export declare interface RiskScannerFormProps extends Omit<QuestionnaireSharedProps, 'qaOptions'> {
630
- qaOptions?: Partial<QaOptions>;
638
+ export declare interface RiskScannerFormProps extends Omit<QuestionnaireSharedProps, 'qaId'> {
639
+ /**
640
+ * base url of the QA API (a missing trailing slash is normalized internally);
641
+ * falls back to the ITC client's qa config when omitted
642
+ */
643
+ qaUrl?: string;
644
+ qaId?: string;
645
+ currentItemId?: string;
646
+ nextItemId?: string;
631
647
  }
632
648
 
633
649
  export declare const TravelForm: typeof __VLS_export_4;
634
650
 
635
651
  export declare interface TravelFormData extends BirthdateFormData {
636
- PaymentTerm: PaymentTerm;
652
+ PaymentTerm: PaymentTermValue;
637
653
  }
638
654
 
639
655
  export declare function travelPresenter(data: TravelFormData): ComparisonPayload;
@@ -653,7 +669,7 @@ declare interface UseComparisonSubmitOptions {
653
669
 
654
670
  declare interface VehicleFormData<TVehicle> {
655
671
  licensePlate: string;
656
- vehicle: TVehicle | null;
672
+ vehicle: TVehicle;
657
673
  }
658
674
 
659
675
  declare enum YesNo {
@@ -661,4 +677,6 @@ declare enum YesNo {
661
677
  No = "N"
662
678
  }
663
679
 
680
+ declare type YesNoValue = `${YesNo}`;
681
+
664
682
  export { }