@vergelijkdirect/comparison-forms 2.0.0-rc.3 → 2.0.0-rc.30

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 (42) hide show
  1. package/README.md +69 -57
  2. package/dist/vue/comparison-forms.css +2 -4
  3. package/dist/vue/comparison-forms.d.ts +263 -280
  4. package/dist/vue/comparison-forms.js +5773 -5604
  5. package/dist/wc/comparison-forms.css +2 -4
  6. package/dist/wc/comparison-forms.js +27694 -28935
  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-BfwwF4DI.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-CnbmDFbc.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-o7WWXt3D.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-Dc_YYI7T.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 -0
  41. package/dist/wc-noitc/comparison-forms.umd.cjs +5 -0
  42. package/package.json +87 -67
@@ -1,255 +1,304 @@
1
- import { BikeService } from '@vergelijkdirect/insurance-transmission-client';
2
- import { CaravanService } from '@vergelijkdirect/insurance-transmission-client';
3
- import { CarService } from '@vergelijkdirect/insurance-transmission-client';
4
1
  import { ComponentOptionsMixin } from 'vue';
5
2
  import { ComponentProvideOptions } from 'vue';
6
- import { DataValidationService } from '@vergelijkdirect/insurance-transmission-client';
7
3
  import { DefineComponent } from 'vue';
8
- import { DocumentService } from '@vergelijkdirect/insurance-transmission-client';
9
- import { HomeService } from '@vergelijkdirect/insurance-transmission-client';
10
- import { HouseholdService } from '@vergelijkdirect/insurance-transmission-client';
11
- import { HousingService } from '@vergelijkdirect/insurance-transmission-client';
12
- import * as insurances from '@vergelijkdirect/insurance-transmission-client';
13
- import { LiabilityService } from '@vergelijkdirect/insurance-transmission-client';
14
- import { MopedService } from '@vergelijkdirect/insurance-transmission-client';
15
- import { MotorService } from '@vergelijkdirect/insurance-transmission-client';
16
- import { PackageService } from '@vergelijkdirect/insurance-transmission-client';
17
- import { PetService } from '@vergelijkdirect/insurance-transmission-client';
18
4
  import { PublicProps } from 'vue';
19
5
  import { Ref } from 'vue';
20
- import { TravelService } from '@vergelijkdirect/insurance-transmission-client';
21
6
 
22
- declare const __VLS_export: DefineComponent<BikeFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
23
- submit: (model: BikeFormData) => any;
24
- }, string, PublicProps, Readonly<BikeFormProps> & Readonly<{
25
- onSubmit?: (model: BikeFormData) => any;
7
+ declare const __VLS_export: DefineComponent<__VLS_Props, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
8
+ submitted: (model: BikeFormData) => any;
9
+ }, string, PublicProps, Readonly<__VLS_Props> & Readonly<{
10
+ onSubmitted?: ((model: BikeFormData) => any) | undefined;
26
11
  }>, {
27
12
  title: string;
28
13
  flat: boolean;
29
- description: string;
30
14
  fullWidth: boolean;
15
+ description: string;
31
16
  banner: string;
32
17
  layout: "vertical" | "horizontal";
33
18
  card: boolean;
34
19
  submitLabel: string;
35
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
20
+ submitDisabled: boolean;
21
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
36
22
 
37
- declare const __VLS_export_10: DefineComponent<MopedFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
38
- submit: (model: MopedFormData) => any;
39
- }, string, PublicProps, Readonly<MopedFormProps> & Readonly<{
40
- onSubmit?: (model: MopedFormData) => any;
23
+ declare const __VLS_export_10: DefineComponent<__VLS_Props_10, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
24
+ submitted: (model: MopedFormData) => any;
25
+ }, string, PublicProps, Readonly<__VLS_Props_10> & Readonly<{
26
+ onSubmitted?: ((model: MopedFormData) => any) | undefined;
41
27
  }>, {
42
28
  title: string;
43
29
  flat: boolean;
44
- description: string;
45
30
  fullWidth: boolean;
31
+ description: string;
46
32
  banner: string;
47
33
  layout: "vertical" | "horizontal";
48
34
  card: boolean;
49
35
  submitLabel: string;
50
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
36
+ submitDisabled: boolean;
37
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
51
38
 
52
- declare const __VLS_export_11: DefineComponent<MotorFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
53
- submit: (model: MotorFormData) => any;
54
- }, string, PublicProps, Readonly<MotorFormProps> & Readonly<{
55
- onSubmit?: (model: MotorFormData) => any;
39
+ declare const __VLS_export_11: DefineComponent<__VLS_Props_11, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
40
+ submitted: (model: MotorFormData) => any;
41
+ }, string, PublicProps, Readonly<__VLS_Props_11> & Readonly<{
42
+ onSubmitted?: ((model: MotorFormData) => any) | undefined;
56
43
  }>, {
57
44
  title: string;
58
45
  flat: boolean;
59
- description: string;
60
46
  fullWidth: boolean;
47
+ description: string;
61
48
  banner: string;
62
49
  layout: "vertical" | "horizontal";
63
50
  card: boolean;
64
51
  submitLabel: string;
65
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
52
+ submitDisabled: boolean;
53
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
66
54
 
67
- declare const __VLS_export_12: DefineComponent<CarFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
68
- submit: (model: CarFormData) => any;
69
- }, string, PublicProps, Readonly<CarFormProps> & Readonly<{
70
- onSubmit?: (model: CarFormData) => any;
55
+ declare const __VLS_export_12: DefineComponent<__VLS_Props_12, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
56
+ submitted: (model: CarFormData) => any;
57
+ }, string, PublicProps, Readonly<__VLS_Props_12> & Readonly<{
58
+ onSubmitted?: ((model: CarFormData) => any) | undefined;
71
59
  }>, {
72
60
  title: string;
73
61
  flat: boolean;
74
- description: string;
75
62
  fullWidth: boolean;
63
+ description: string;
76
64
  banner: string;
77
65
  layout: "vertical" | "horizontal";
78
66
  card: boolean;
79
67
  submitLabel: string;
80
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
68
+ submitDisabled: boolean;
69
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
81
70
 
82
- declare const __VLS_export_13: DefineComponent<BusinessCarFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
83
- submit: (model: BusinessCarFormData) => any;
84
- }, string, PublicProps, Readonly<BusinessCarFormProps> & Readonly<{
85
- onSubmit?: (model: BusinessCarFormData) => any;
71
+ declare const __VLS_export_13: DefineComponent<__VLS_Props_13, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
72
+ submitted: (model: BusinessCarFormData) => any;
73
+ }, string, PublicProps, Readonly<__VLS_Props_13> & Readonly<{
74
+ onSubmitted?: ((model: BusinessCarFormData) => any) | undefined;
86
75
  }>, {
87
76
  title: string;
88
77
  flat: boolean;
78
+ fullWidth: boolean;
89
79
  description: string;
80
+ banner: string;
81
+ layout: "vertical" | "horizontal";
82
+ card: boolean;
83
+ submitLabel: string;
84
+ submitDisabled: boolean;
85
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
86
+
87
+ declare const __VLS_export_14: DefineComponent<__VLS_Props_14, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
88
+ submitted: (model: BusinessLiabilityFormData) => any;
89
+ }, string, PublicProps, Readonly<__VLS_Props_14> & Readonly<{
90
+ onSubmitted?: ((model: BusinessLiabilityFormData) => any) | undefined;
91
+ }>, {
92
+ title: string;
93
+ flat: boolean;
90
94
  fullWidth: boolean;
95
+ description: string;
91
96
  banner: string;
92
97
  layout: "vertical" | "horizontal";
93
98
  card: boolean;
94
99
  submitLabel: string;
95
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
100
+ submitDisabled: boolean;
101
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
96
102
 
97
- declare const __VLS_export_14: DefineComponent<ComparisonFormFlowProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
98
- error: (error: unknown) => any;
103
+ declare const __VLS_export_15: DefineComponent<ComparisonFormFlowProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
104
+ error: (error: unknown, payload?: ComparisonPayload | undefined) => any;
99
105
  submitted: (url: string) => any;
100
106
  }, string, PublicProps, Readonly<ComparisonFormFlowProps> & Readonly<{
101
- onError?: (error: unknown) => any;
102
- onSubmitted?: (url: string) => any;
103
- }>, {}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
104
-
105
- declare const __VLS_export_2: DefineComponent<PetFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
106
- submit: (model: PetFormData) => any;
107
- }, string, PublicProps, Readonly<PetFormProps> & Readonly<{
108
- onSubmit?: (model: PetFormData) => any;
107
+ onError?: ((error: unknown, payload?: ComparisonPayload | undefined) => any) | undefined;
108
+ onSubmitted?: ((url: string) => any) | undefined;
109
109
  }>, {
110
- title: string;
111
110
  flat: boolean;
111
+ fullWidth: boolean;
112
+ card: boolean;
113
+ submitDisabled: boolean;
114
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
115
+
116
+ declare const __VLS_export_16: DefineComponent<RiskScannerFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<RiskScannerFormProps> & Readonly<{}>, {
117
+ title: string;
112
118
  description: string;
119
+ qaId: string;
120
+ thankyouPageTemplate: string;
121
+ buttonText: string;
122
+ showTitle: boolean;
123
+ qaUrl: string;
124
+ currentItemId: string;
125
+ nextItemId: string;
126
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
127
+
128
+ declare const __VLS_export_17: DefineComponent<QuestionnaireSharedProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<QuestionnaireSharedProps> & Readonly<{}>, {
129
+ title: string;
130
+ description: string;
131
+ thankyouPageTemplate: string;
132
+ buttonText: string;
133
+ showTitle: boolean;
134
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
135
+
136
+ declare const __VLS_export_2: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
137
+ submitted: (model: PetFormData) => any;
138
+ }, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
139
+ onSubmitted?: ((model: PetFormData) => any) | undefined;
140
+ }>, {
141
+ title: string;
142
+ flat: boolean;
113
143
  fullWidth: boolean;
144
+ description: string;
114
145
  banner: string;
115
146
  layout: "vertical" | "horizontal";
116
147
  card: boolean;
117
148
  submitLabel: string;
118
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
149
+ submitDisabled: boolean;
150
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
119
151
 
120
- declare const __VLS_export_3: DefineComponent<CaravanFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
121
- submit: (model: CaravanFormData) => any;
122
- }, string, PublicProps, Readonly<CaravanFormProps> & Readonly<{
123
- onSubmit?: (model: CaravanFormData) => any;
152
+ declare const __VLS_export_3: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
153
+ submitted: (model: CaravanFormData) => any;
154
+ }, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{
155
+ onSubmitted?: ((model: CaravanFormData) => any) | undefined;
124
156
  }>, {
125
157
  title: string;
126
158
  flat: boolean;
127
- description: string;
128
159
  fullWidth: boolean;
160
+ description: string;
129
161
  banner: string;
130
162
  layout: "vertical" | "horizontal";
131
163
  card: boolean;
132
164
  submitLabel: string;
133
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
165
+ submitDisabled: boolean;
166
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
134
167
 
135
- declare const __VLS_export_4: DefineComponent<TravelFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
136
- submit: (model: TravelFormData) => any;
137
- }, string, PublicProps, Readonly<TravelFormProps> & Readonly<{
138
- onSubmit?: (model: TravelFormData) => any;
168
+ declare const __VLS_export_4: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
169
+ submitted: (model: TravelFormData) => any;
170
+ }, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{
171
+ onSubmitted?: ((model: TravelFormData) => any) | undefined;
139
172
  }>, {
140
173
  title: string;
141
174
  flat: boolean;
142
- description: string;
143
175
  fullWidth: boolean;
176
+ description: string;
144
177
  banner: string;
145
178
  layout: "vertical" | "horizontal";
146
179
  card: boolean;
147
180
  submitLabel: string;
148
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
181
+ submitDisabled: boolean;
182
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
149
183
 
150
- declare const __VLS_export_5: DefineComponent<LiabilityFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
151
- submit: (model: LiabilityFormData) => any;
152
- }, string, PublicProps, Readonly<LiabilityFormProps> & Readonly<{
153
- onSubmit?: (model: LiabilityFormData) => any;
184
+ declare const __VLS_export_5: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
185
+ submitted: (model: LiabilityFormData) => any;
186
+ }, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{
187
+ onSubmitted?: ((model: LiabilityFormData) => any) | undefined;
154
188
  }>, {
155
189
  title: string;
156
190
  flat: boolean;
157
- description: string;
158
191
  fullWidth: boolean;
192
+ description: string;
159
193
  banner: string;
160
194
  layout: "vertical" | "horizontal";
161
195
  card: boolean;
162
196
  submitLabel: string;
163
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
197
+ submitDisabled: boolean;
198
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
164
199
 
165
- declare const __VLS_export_6: DefineComponent<HouseFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
166
- submit: (model: HouseFormData) => any;
167
- }, string, PublicProps, Readonly<HouseFormProps> & Readonly<{
168
- onSubmit?: (model: HouseFormData) => any;
200
+ declare const __VLS_export_6: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
201
+ submitted: (model: HouseFormData) => any;
202
+ }, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
203
+ onSubmitted?: ((model: HouseFormData) => any) | undefined;
169
204
  }>, {
170
205
  title: string;
171
206
  flat: boolean;
172
- description: string;
173
207
  fullWidth: boolean;
208
+ description: string;
174
209
  banner: string;
175
210
  layout: "vertical" | "horizontal";
176
211
  card: boolean;
177
212
  submitLabel: string;
178
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
213
+ submitDisabled: boolean;
214
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
179
215
 
180
- declare const __VLS_export_7: DefineComponent<LegalFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
181
- submit: (model: LegalFormData) => any;
182
- }, string, PublicProps, Readonly<LegalFormProps> & Readonly<{
183
- onSubmit?: (model: LegalFormData) => any;
216
+ declare const __VLS_export_7: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
217
+ submitted: (model: LegalFormData) => any;
218
+ }, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
219
+ onSubmitted?: ((model: LegalFormData) => any) | undefined;
184
220
  }>, {
185
221
  title: string;
186
222
  flat: boolean;
187
- description: string;
188
223
  fullWidth: boolean;
224
+ description: string;
189
225
  banner: string;
190
226
  layout: "vertical" | "horizontal";
191
227
  card: boolean;
192
228
  submitLabel: string;
193
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
229
+ submitDisabled: boolean;
230
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
194
231
 
195
- declare const __VLS_export_8: DefineComponent<PackageFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
196
- submit: (model: PackageFormData) => any;
197
- }, string, PublicProps, Readonly<PackageFormProps> & Readonly<{
198
- onSubmit?: (model: PackageFormData) => any;
232
+ declare const __VLS_export_8: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
233
+ submitted: (model: PackageFormData) => any;
234
+ }, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
235
+ onSubmitted?: ((model: PackageFormData) => any) | undefined;
199
236
  }>, {
200
237
  title: string;
201
238
  flat: boolean;
202
- description: string;
203
239
  fullWidth: boolean;
240
+ description: string;
204
241
  banner: string;
205
242
  layout: "vertical" | "horizontal";
206
243
  card: boolean;
207
244
  submitLabel: string;
208
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
245
+ submitDisabled: boolean;
246
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
209
247
 
210
- declare const __VLS_export_9: DefineComponent<LoanFormProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
211
- submit: (model: LoanFormData) => any;
212
- }, string, PublicProps, Readonly<LoanFormProps> & Readonly<{
213
- onSubmit?: (model: LoanFormData) => any;
248
+ declare const __VLS_export_9: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
249
+ submitted: (model: LoanFormData) => any;
250
+ }, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
251
+ onSubmitted?: ((model: LoanFormData) => any) | undefined;
214
252
  }>, {
215
253
  title: string;
216
254
  flat: boolean;
217
- description: string;
218
255
  fullWidth: boolean;
256
+ description: string;
219
257
  banner: string;
220
258
  layout: "vertical" | "horizontal";
221
259
  card: boolean;
222
260
  submitLabel: string;
223
- }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
224
-
225
- declare interface ActiveInsurances {
226
- MotorService: MotorService;
227
- PetService: PetService;
228
- MopedService: MopedService;
229
- HousingService: HousingService;
230
- HomeService: HomeService;
231
- LiabilityService: LiabilityService;
232
- HouseholdService: HouseholdService;
233
- DocumentService: DocumentService;
234
- PackageService: PackageService;
235
- BikeService: BikeService;
236
- CaravanService: CaravanService;
237
- DataValidationService: DataValidationService;
238
- CarService: CarService;
239
- TravelService: TravelService;
240
- }
261
+ submitDisabled: boolean;
262
+ }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
263
+
264
+ declare type __VLS_Props = ComparisonFormProps<BikeFormData>;
265
+
266
+ declare type __VLS_Props_10 = ComparisonFormProps<MopedFormData>;
267
+
268
+ declare type __VLS_Props_11 = ComparisonFormProps<MotorFormData>;
269
+
270
+ declare type __VLS_Props_12 = ComparisonFormProps<CarFormData>;
271
+
272
+ declare type __VLS_Props_13 = ComparisonFormProps<BusinessCarFormData>;
273
+
274
+ declare type __VLS_Props_14 = ComparisonFormProps<BusinessLiabilityFormData>;
275
+
276
+ declare type __VLS_Props_2 = ComparisonFormProps<PetFormData>;
277
+
278
+ declare type __VLS_Props_3 = ComparisonFormProps<CaravanFormData>;
279
+
280
+ declare type __VLS_Props_4 = ComparisonFormProps<TravelFormData>;
281
+
282
+ declare type __VLS_Props_5 = ComparisonFormProps<LiabilityFormData>;
283
+
284
+ declare type __VLS_Props_6 = ComparisonFormProps<HouseFormData>;
285
+
286
+ declare type __VLS_Props_7 = ComparisonFormProps<LegalFormData>;
287
+
288
+ declare type __VLS_Props_8 = ComparisonFormProps<PackageFormData>;
289
+
290
+ declare type __VLS_Props_9 = ComparisonFormProps<LoanFormData>;
241
291
 
242
292
  declare interface AddressBearingFormData {
243
- address: AddressDraft;
244
- street: string;
245
- city: string;
293
+ address: AddressData;
246
294
  }
247
295
 
248
- /** The form-owned draft the user types; lives in the form's `formData`. */
249
- declare interface AddressDraft {
296
+ declare interface AddressData {
250
297
  zipCode: string;
251
298
  houseNumber: string;
252
299
  houseNumberAddition: string;
300
+ city?: string;
301
+ street?: string;
253
302
  }
254
303
 
255
304
  declare interface BaseVehicleData {
@@ -257,8 +306,7 @@ declare interface BaseVehicleData {
257
306
  Brand: string;
258
307
  Model: string;
259
308
  VehicleType: string;
260
- ManufacturingYear: string | number;
261
- [key: string]: unknown;
309
+ ManufacturingYear: number;
262
310
  }
263
311
 
264
312
  export declare const BikeForm: typeof __VLS_export;
@@ -270,10 +318,6 @@ export declare interface BikeFormData {
270
318
  brand?: string;
271
319
  }
272
320
 
273
- declare interface BikeFormProps extends ComparisonFormSharedProps {
274
- initialData?: Partial<BikeFormData>;
275
- }
276
-
277
321
  export declare function bikePresenter(data: BikeFormData): ComparisonPayload;
278
322
 
279
323
  declare interface BirthdateFormData {
@@ -283,34 +327,34 @@ declare interface BirthdateFormData {
283
327
  export declare const BusinessCarForm: typeof __VLS_export_13;
284
328
 
285
329
  export declare interface BusinessCarFormData extends VehicleFormData<CarData> {
286
- company: CompanyDataPresenter | null;
330
+ company: CompanyDataPresenter;
287
331
  }
288
332
 
289
- declare interface BusinessCarFormProps extends ComparisonFormSharedProps {
290
- initialData?: Partial<BusinessCarFormData>;
333
+ export declare function businessCarPresenter(data: BusinessCarFormData): ComparisonPayload;
334
+
335
+ export declare const BusinessLiabilityForm: typeof __VLS_export_14;
336
+
337
+ export declare interface BusinessLiabilityFormData {
338
+ company: CompanyDataPresenter;
291
339
  }
292
340
 
293
- export declare function businessCarPresenter(data: BusinessCarFormData): ComparisonPayload;
341
+ export declare function businessLiabilityPresenter(data: BusinessLiabilityFormData): ComparisonPayload;
294
342
 
295
343
  export declare const CaravanForm: typeof __VLS_export_3;
296
344
 
297
345
  export declare interface CaravanFormData {
298
346
  TypeOfCaravan: string | null;
299
- NewOrOccasion: YesNo;
347
+ NewOrOccasion: YesNoValue;
300
348
  BuildYear: string | null;
301
349
  }
302
350
 
303
- declare interface CaravanFormProps extends ComparisonFormSharedProps {
304
- initialData?: Partial<CaravanFormData>;
305
- }
306
-
307
351
  export declare function caravanPresenter(data: CaravanFormData): ComparisonPayload;
308
352
 
309
353
  declare interface CarData extends BaseVehicleData {
310
- BrandLogo: string;
311
354
  Type: string;
312
- CatalogValue: string | number | null;
313
- DayValue: string | number | null;
355
+ BrandLogo: string;
356
+ DayValue: number;
357
+ CatalogValue: number;
314
358
  TheftProtectionClass: string;
315
359
  CarAlarmRequirement: string;
316
360
  }
@@ -320,10 +364,6 @@ export declare const CarForm: typeof __VLS_export_12;
320
364
  export declare interface CarFormData extends VehicleFormData<CarData>, AddressBearingFormData, BirthdateFormData {
321
365
  }
322
366
 
323
- declare interface CarFormProps extends ComparisonFormSharedProps {
324
- initialData?: Partial<CarFormData>;
325
- }
326
-
327
367
  export declare function carPresenter(data: CarFormData): ComparisonPayload;
328
368
 
329
369
  declare interface CompanyActivity {
@@ -356,25 +396,29 @@ declare interface CompanyDataPresenter {
356
396
  secondSBIs: CompanyActivity[];
357
397
  }
358
398
 
359
- declare interface ComparisonDetail {
360
- name: string;
361
- data: Record<string, unknown>;
362
- }
399
+ export declare const ComparisonFormFlow: typeof __VLS_export_15;
363
400
 
364
- export declare const ComparisonFormFlow: typeof __VLS_export_14;
365
-
366
- declare interface ComparisonFormFlowProps extends ComparisonFormSharedProps {
401
+ declare interface ComparisonFormFlowProps extends ComparisonFormProps<Record<string, unknown>> {
367
402
  form: ComparisonFormName;
368
- client: TransmissionClient;
369
- /** redirect target template with the <<COMPARISONID>> placeholder */
403
+ /** base page url of the target comparison app; the comparison route (`#/<id>/…`) is appended internally */
370
404
  link: string;
371
- initialData?: Record<string, unknown>;
372
405
  /** override the default full-page navigation (demos, SPA hosts) */
373
406
  redirect?: (url: string) => void;
374
407
  }
375
408
 
376
409
  declare type ComparisonFormName = ComparisonNameValue | ComparisonNameAlias;
377
410
 
411
+ /**
412
+ * Props of a concrete comparison form: the shared presentation subset plus the
413
+ * form-typed prefill. Kept out of `ComparisonFormSharedProps` on purpose — that
414
+ * interface is the v-bind contract of the <VdComparisonForm> shell, which must
415
+ * never receive `initialData`.
416
+ */
417
+ declare interface ComparisonFormProps<TData> extends ComparisonFormSharedProps {
418
+ /** prefill, read once on setup; the form maps each key (`props.initialData?.x ?? default`) — unknown keys are ignored, an explicit undefined falls back to the default */
419
+ initialData?: Partial<TData>;
420
+ }
421
+
378
422
  /**
379
423
  * Props shared by the base <VdComparisonForm> and every concrete comparison
380
424
  * form (BikeForm, CarForm, …). The host page configures copy and presentation
@@ -387,11 +431,7 @@ declare type ComparisonFormName = ComparisonNameValue | ComparisonNameAlias;
387
431
  * 3. forwards the shared subset with `useComparisonFormProps` via `v-bind`.
388
432
  *
389
433
  * ```ts
390
- * interface BikeFormProps extends ComparisonFormSharedProps {
391
- * // form-specific props go here
392
- * }
393
- *
394
- * const props = withDefaults(defineProps<BikeFormProps>(), {
434
+ * const props = withDefaults(defineProps<ComparisonFormProps<BikeFormData>>(), {
395
435
  * ...comparisonFormSharedDefaults,
396
436
  * title: 'Fietsverzekering vergelijken',
397
437
  * })
@@ -412,6 +452,8 @@ declare interface ComparisonFormSharedProps {
412
452
  /** opt out of the vertical fixed width — fill the parent (modal / slider host) */
413
453
  fullWidth?: boolean;
414
454
  submitLabel?: string;
455
+ /** host-side disable of the submit button; forms OR it with their own isSubmitting */
456
+ submitDisabled?: boolean;
415
457
  }
416
458
 
417
459
  export declare enum ComparisonName {
@@ -419,6 +461,7 @@ export declare enum ComparisonName {
419
461
  Car = "car",
420
462
  Caravan = "caravan",
421
463
  CarBusiness = "car-business",
464
+ BusinessLiability = "business-liability",
422
465
  Housing = "housing",
423
466
  LegalAssistance = "legal-assistance",
424
467
  Liability = "liability",
@@ -435,19 +478,19 @@ declare type ComparisonNameAlias = 'house' | 'business-car';
435
478
  declare type ComparisonNameValue = `${ComparisonName}`;
436
479
 
437
480
  export declare interface ComparisonPayload {
438
- comparison: ComparisonName;
439
- details: ComparisonDetail[];
481
+ comparison: ComparisonNameValue;
482
+ detail: Record<string, unknown>;
440
483
  user: ComparisonUserFields;
441
484
  }
442
485
 
443
486
  declare interface ComparisonUserFields {
444
487
  birthdate?: string;
445
- zipcode?: string;
488
+ zipCode?: string;
446
489
  houseNumber?: string;
447
490
  houseNumberAddition?: string;
448
491
  email?: string;
449
492
  kidsAmount?: number;
450
- familyComposition?: FamilyComposition;
493
+ familyComposition?: FamilyCompositionValue;
451
494
  firstName?: string;
452
495
  phoneNumber?: string;
453
496
  city?: string;
@@ -462,17 +505,15 @@ declare enum FamilyComposition {
462
505
  }
463
506
 
464
507
  declare interface FamilyCompositionFormData {
465
- familyComposition: FamilyComposition;
508
+ familyComposition: FamilyCompositionValue;
466
509
  }
467
510
 
511
+ declare type FamilyCompositionValue = `${FamilyComposition}`;
512
+
468
513
  export declare const HouseForm: typeof __VLS_export_6;
469
514
 
470
515
  export declare interface HouseFormData extends AddressBearingFormData, FamilyCompositionFormData {
471
- ownedBuilding: YesNo;
472
- }
473
-
474
- declare interface HouseFormProps extends ComparisonFormSharedProps {
475
- initialData?: Partial<HouseFormData>;
516
+ ownedBuilding: YesNoValue;
476
517
  }
477
518
 
478
519
  export declare function housePresenter(data: HouseFormData): ComparisonPayload;
@@ -480,14 +521,10 @@ export declare function housePresenter(data: HouseFormData): ComparisonPayload;
480
521
  export declare const LegalForm: typeof __VLS_export_7;
481
522
 
482
523
  export declare interface LegalFormData extends AddressBearingFormData, BirthdateFormData, FamilyCompositionFormData {
483
- ownedBuilding: YesNo;
524
+ ownedBuilding: YesNoValue;
484
525
  familySize: string;
485
526
  }
486
527
 
487
- declare interface LegalFormProps extends ComparisonFormSharedProps {
488
- initialData?: Partial<LegalFormData>;
489
- }
490
-
491
528
  export declare function legalPresenter(data: LegalFormData): ComparisonPayload;
492
529
 
493
530
  export declare const LiabilityForm: typeof __VLS_export_5;
@@ -495,35 +532,26 @@ export declare const LiabilityForm: typeof __VLS_export_5;
495
532
  export declare interface LiabilityFormData extends AddressBearingFormData, BirthdateFormData, FamilyCompositionFormData {
496
533
  }
497
534
 
498
- declare interface LiabilityFormProps extends ComparisonFormSharedProps {
499
- initialData?: Partial<LiabilityFormData>;
500
- }
501
-
502
535
  export declare function liabilityPresenter(data: LiabilityFormData): ComparisonPayload;
503
536
 
504
537
  export declare const LoanForm: typeof __VLS_export_9;
505
538
 
506
539
  export declare interface LoanFormData extends BirthdateFormData, FamilyCompositionFormData {
507
540
  LoanPurpose: string;
508
- LoanAmount: number | null;
509
- }
510
-
511
- declare interface LoanFormProps extends ComparisonFormSharedProps {
512
- initialData?: Partial<LoanFormData>;
541
+ LoanAmount: number;
513
542
  }
514
543
 
515
544
  export declare function loanPresenter(data: LoanFormData): ComparisonPayload;
516
545
 
517
546
  declare interface MopedData extends BaseVehicleData {
518
547
  Type: string;
548
+ CatalogValue: string;
519
549
  TypeOfMoped: string;
520
- CatalogValue: string | null;
521
550
  CylinderCapacity: string;
522
- EnginePower: string | number | null;
551
+ Weight: string;
552
+ MaximumPower: string | number;
553
+ EnginePower: string | number;
523
554
  Fuel: string;
524
- MaximumPower: string;
525
- SignCode?: string;
526
- Weight: number | string | null;
527
555
  }
528
556
 
529
557
  export declare const MopedForm: typeof __VLS_export_10;
@@ -531,27 +559,21 @@ export declare const MopedForm: typeof __VLS_export_10;
531
559
  export declare interface MopedFormData extends VehicleFormData<MopedData>, AddressBearingFormData, BirthdateFormData {
532
560
  }
533
561
 
534
- declare interface MopedFormProps extends ComparisonFormSharedProps {
535
- initialData?: Partial<MopedFormData>;
536
- }
537
-
538
562
  export declare function mopedPresenter(data: MopedFormData): ComparisonPayload;
539
563
 
540
564
  declare interface MotorData extends BaseVehicleData {
541
- BrandLogo: string;
542
565
  Type: string;
543
- Source?: string;
544
- CatalogValue: string | null;
545
- DayValue: string | null;
566
+ BrandLogo: string;
567
+ DayValue: string;
568
+ CatalogValue: string;
569
+ EnginePower: number;
546
570
  CylinderCapacity: string;
547
- EnginePower: number | null;
571
+ Weight: number;
572
+ WeightEmpty: string;
548
573
  Fuel: string;
574
+ Source: string;
575
+ Wheels: number;
549
576
  VehicleCategory: string;
550
- Weight: number | null;
551
- WeightEmpty: string;
552
- Wheels?: number;
553
- NumberOfKilowatts?: string;
554
- MotorType?: string;
555
577
  }
556
578
 
557
579
  export declare const MotorForm: typeof __VLS_export_11;
@@ -559,10 +581,6 @@ export declare const MotorForm: typeof __VLS_export_11;
559
581
  export declare interface MotorFormData extends VehicleFormData<MotorData>, AddressBearingFormData, BirthdateFormData {
560
582
  }
561
583
 
562
- declare interface MotorFormProps extends ComparisonFormSharedProps {
563
- initialData?: Partial<MotorFormData>;
564
- }
565
-
566
584
  export declare function motorPresenter(data: MotorFormData): ComparisonPayload;
567
585
 
568
586
  export declare const PackageForm: typeof __VLS_export_8;
@@ -571,10 +589,6 @@ export declare interface PackageFormData extends AddressBearingFormData, Birthda
571
589
  partnerBirthdate: string;
572
590
  }
573
591
 
574
- declare interface PackageFormProps extends ComparisonFormSharedProps {
575
- initialData?: Partial<PackageFormData>;
576
- }
577
-
578
592
  export declare function packagePresenter(data: PackageFormData): ComparisonPayload;
579
593
 
580
594
  declare enum PaymentTerm {
@@ -582,93 +596,60 @@ declare enum PaymentTerm {
582
596
  ShortTerm = "S"
583
597
  }
584
598
 
599
+ declare type PaymentTermValue = `${PaymentTerm}`;
600
+
585
601
  export declare const PetForm: typeof __VLS_export_2;
586
602
 
587
603
  export declare interface PetFormData {
588
604
  kind: string;
589
605
  age: string;
590
- zipcode: string;
606
+ zipCode: string;
591
607
  }
592
608
 
593
- declare interface PetFormProps extends ComparisonFormSharedProps {
594
- initialData?: Partial<PetFormData>;
609
+ export declare function petPresenter(data: PetFormData): ComparisonPayload;
610
+
611
+ export declare const QuestionnaireForm: typeof __VLS_export_17;
612
+
613
+ export declare type QuestionnaireFormProps = QuestionnaireSharedProps;
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
+ */
625
+ export declare interface QuestionnaireSharedProps {
626
+ /** base page url of the quiz app; `{qaId, template, …}` are merged into its query */
627
+ link: string;
628
+ qaId: string;
629
+ thankyouPageTemplate?: string;
630
+ title?: string;
631
+ description?: string;
632
+ buttonText?: string;
633
+ showTitle?: boolean;
595
634
  }
596
635
 
597
- export declare function petPresenter(data: PetFormData): ComparisonPayload;
636
+ export declare const RiskScannerForm: typeof __VLS_export_16;
598
637
 
599
- declare class TransmissionClient {
600
- private insurances;
601
- private activeInsurances;
602
- private client;
603
- petService: insurances.PetService;
604
- motorService: insurances.MotorService;
605
- bikeService: insurances.BikeService;
606
- mopedService: insurances.MopedService;
607
- housingService: insurances.HousingService;
608
- homeService: insurances.HomeService;
609
- liabilityService: insurances.LiabilityService;
610
- householdService: insurances.HouseholdService;
611
- documentService: insurances.DocumentService;
612
- packageService: insurances.PackageService;
613
- caravanService: insurances.CaravanService;
614
- dataValidationService: insurances.DataValidationService;
615
- carService: insurances.CarService;
616
- partnerService: insurances.PartnerService;
617
- validation: insurances.DataValidationService;
618
- comparisonService: insurances.ComparisonService;
619
- userService: insurances.UserService;
620
- v1Service: insurances.V1Service;
621
- travelService: insurances.TravelService;
622
- dataService: insurances.DataService;
623
- constructor();
624
- getUrl(): string;
625
- initITC(): Promise<this>;
626
- /**
627
- * @since v1.0.0
628
- *
629
- * Create config for the transmissionclient
630
- * to work properly
631
- *
632
- * @returns {void} void
633
- */
634
- private createConfig;
638
+ export declare interface RiskScannerFormProps extends Omit<QuestionnaireSharedProps, 'qaId'> {
635
639
  /**
636
- * @since v1.0.0
637
- *
638
- * Generates the classes from config
639
- * to load in the insurances from ITC
640
- *
641
- * @returns {void} void
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
642
  */
643
- private createInsuranceClasses;
644
- /**
645
- * @since v1.0.0
646
- *
647
- * Exports the active insuranaces that we're loaded
648
- * in from createInsuranceClasses
649
- *
650
- * @returns {ActiveInsurances} Classes from ITC
651
- */
652
- get getActiveInsurances(): ActiveInsurances;
653
- /**
654
- * @since v1.0.0
655
- *
656
- * Exports the ITC client class
657
- *
658
- * @returns {insurances.InsuranceTransmissionClient} ITC client
659
- */
660
- get getClient(): insurances.InsuranceTransmissionClient;
661
- getVehicleLicenseInformation(type: string, license: string): Promise<any>;
643
+ qaUrl?: string;
644
+ qaId?: string;
645
+ currentItemId?: string;
646
+ nextItemId?: string;
662
647
  }
663
648
 
664
649
  export declare const TravelForm: typeof __VLS_export_4;
665
650
 
666
651
  export declare interface TravelFormData extends BirthdateFormData {
667
- PaymentTerm: PaymentTerm;
668
- }
669
-
670
- declare interface TravelFormProps extends ComparisonFormSharedProps {
671
- initialData?: Partial<TravelFormData>;
652
+ PaymentTerm: PaymentTermValue;
672
653
  }
673
654
 
674
655
  export declare function travelPresenter(data: TravelFormData): ComparisonPayload;
@@ -680,7 +661,7 @@ export declare function useComparisonSubmit(options: UseComparisonSubmitOptions)
680
661
  };
681
662
 
682
663
  declare interface UseComparisonSubmitOptions {
683
- client: TransmissionClient;
664
+ /** base page url of the target comparison app; the comparison route (`#/<id>/…`) is appended internally */
684
665
  link: string;
685
666
  onRedirect?: (url: string) => void;
686
667
  onError?: (error: unknown, payload: ComparisonPayload) => void;
@@ -688,7 +669,7 @@ declare interface UseComparisonSubmitOptions {
688
669
 
689
670
  declare interface VehicleFormData<TVehicle> {
690
671
  licensePlate: string;
691
- vehicle: TVehicle | null;
672
+ vehicle: TVehicle;
692
673
  }
693
674
 
694
675
  declare enum YesNo {
@@ -696,4 +677,6 @@ declare enum YesNo {
696
677
  No = "N"
697
678
  }
698
679
 
680
+ declare type YesNoValue = `${YesNo}`;
681
+
699
682
  export { }