@vergelijkdirect/comparison-forms 2.0.0-rc.15 → 2.0.0-rc.17

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 (33) hide show
  1. package/dist/vue/comparison-forms.d.ts +28 -28
  2. package/dist/vue/comparison-forms.js +31 -31
  3. package/dist/wc/comparison-forms.js +30 -30
  4. package/dist/wc-forms/{VdInput-BaZx7lM7.js → VdInput-ByupXLnL.js} +1 -1
  5. package/dist/wc-forms/{VdPopover-B_0EwmOm.js → VdPopover-BSX4-53B.js} +1 -1
  6. package/dist/wc-forms/{VdRadioGroup-BAy4077M.js → VdRadioGroup-DrZBkeSB.js} +1 -1
  7. package/dist/wc-forms/{VdSearchableSelect-BYsNA8so.js → VdSearchableSelect-WCZ_fmSu.js} +1 -1
  8. package/dist/wc-forms/{VdSelect-DS5ijaBw.js → VdSelect-CoIbpl6o.js} +1 -1
  9. package/dist/wc-forms/bike.js +1 -1
  10. package/dist/wc-forms/{birthdate.schema-B2IfhcT0.js → birthdate.schema-DmmaLv3m.js} +1 -1
  11. package/dist/wc-forms/business-car.js +1 -1
  12. package/dist/wc-forms/business-liability.js +1 -1
  13. package/dist/wc-forms/car.js +1 -1
  14. package/dist/wc-forms/caravan.js +1 -1
  15. package/dist/wc-forms/{company.schema-D_-KvPAl.js → company.schema-Ck__hYWi.js} +1 -1
  16. package/dist/wc-forms/{familyComposition.schema-BckaOvgV.js → familyComposition.schema-EunoL_tT.js} +1 -1
  17. package/dist/wc-forms/house.js +1 -1
  18. package/dist/wc-forms/{houseOwnedBuilding.model-RQzmveyS.js → houseOwnedBuilding.model-Pb7X63G3.js} +1 -1
  19. package/dist/wc-forms/legal.js +1 -1
  20. package/dist/wc-forms/liability.js +1 -1
  21. package/dist/wc-forms/loan.js +1 -1
  22. package/dist/wc-forms/moped.js +1 -1
  23. package/dist/wc-forms/motor.js +1 -1
  24. package/dist/wc-forms/package.js +1 -1
  25. package/dist/wc-forms/pet.js +1 -1
  26. package/dist/wc-forms/{rules-4erM_5MW.js → rules-I6gvAZk7.js} +1 -1
  27. package/dist/wc-forms/travel.js +1 -1
  28. package/dist/wc-forms/{useAddress-mxYJ2B9-.js → useAddress-CsbZuerN.js} +1 -1
  29. package/dist/wc-forms/{useLicensePlate-BK5GSqI6.js → useLicensePlate-3mDMfh1T.js} +1 -1
  30. package/dist/wc-forms/{useValidator-BXvfnDwv.js → useValidator-i4hsDLG4.js} +1 -1
  31. package/dist/wc-noitc/comparison-forms.js +1 -1
  32. package/dist/wc-noitc/comparison-forms.umd.cjs +35 -0
  33. package/package.json +6 -2
@@ -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;
@@ -134,9 +134,9 @@ declare const __VLS_export_17: DefineComponent<QuestionnaireSharedProps, {}, {},
134
134
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
135
135
 
136
136
  declare const __VLS_export_2: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
137
- submit: (model: PetFormData) => any;
137
+ submitted: (model: PetFormData) => any;
138
138
  }, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{
139
- onSubmit?: ((model: PetFormData) => any) | undefined;
139
+ onSubmitted?: ((model: PetFormData) => any) | undefined;
140
140
  }>, {
141
141
  title: string;
142
142
  flat: boolean;
@@ -150,9 +150,9 @@ declare const __VLS_export_2: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, Com
150
150
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
151
151
 
152
152
  declare const __VLS_export_3: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
153
- submit: (model: CaravanFormData) => any;
153
+ submitted: (model: CaravanFormData) => any;
154
154
  }, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{
155
- onSubmit?: ((model: CaravanFormData) => any) | undefined;
155
+ onSubmitted?: ((model: CaravanFormData) => any) | undefined;
156
156
  }>, {
157
157
  title: string;
158
158
  flat: boolean;
@@ -166,9 +166,9 @@ declare const __VLS_export_3: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, Com
166
166
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
167
167
 
168
168
  declare const __VLS_export_4: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
169
- submit: (model: TravelFormData) => any;
169
+ submitted: (model: TravelFormData) => any;
170
170
  }, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{
171
- onSubmit?: ((model: TravelFormData) => any) | undefined;
171
+ onSubmitted?: ((model: TravelFormData) => any) | undefined;
172
172
  }>, {
173
173
  title: string;
174
174
  flat: boolean;
@@ -182,9 +182,9 @@ declare const __VLS_export_4: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, Com
182
182
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
183
183
 
184
184
  declare const __VLS_export_5: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
185
- submit: (model: LiabilityFormData) => any;
185
+ submitted: (model: LiabilityFormData) => any;
186
186
  }, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{
187
- onSubmit?: ((model: LiabilityFormData) => any) | undefined;
187
+ onSubmitted?: ((model: LiabilityFormData) => any) | undefined;
188
188
  }>, {
189
189
  title: string;
190
190
  flat: boolean;
@@ -198,9 +198,9 @@ declare const __VLS_export_5: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, Com
198
198
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
199
199
 
200
200
  declare const __VLS_export_6: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
201
- submit: (model: HouseFormData) => any;
201
+ submitted: (model: HouseFormData) => any;
202
202
  }, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{
203
- onSubmit?: ((model: HouseFormData) => any) | undefined;
203
+ onSubmitted?: ((model: HouseFormData) => any) | undefined;
204
204
  }>, {
205
205
  title: string;
206
206
  flat: boolean;
@@ -214,9 +214,9 @@ declare const __VLS_export_6: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, Com
214
214
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
215
215
 
216
216
  declare const __VLS_export_7: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
217
- submit: (model: LegalFormData) => any;
217
+ submitted: (model: LegalFormData) => any;
218
218
  }, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
219
- onSubmit?: ((model: LegalFormData) => any) | undefined;
219
+ onSubmitted?: ((model: LegalFormData) => any) | undefined;
220
220
  }>, {
221
221
  title: string;
222
222
  flat: boolean;
@@ -230,9 +230,9 @@ declare const __VLS_export_7: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, Com
230
230
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
231
231
 
232
232
  declare const __VLS_export_8: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
233
- submit: (model: PackageFormData) => any;
233
+ submitted: (model: PackageFormData) => any;
234
234
  }, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
235
- onSubmit?: ((model: PackageFormData) => any) | undefined;
235
+ onSubmitted?: ((model: PackageFormData) => any) | undefined;
236
236
  }>, {
237
237
  title: string;
238
238
  flat: boolean;
@@ -246,9 +246,9 @@ declare const __VLS_export_8: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, Com
246
246
  }, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
247
247
 
248
248
  declare const __VLS_export_9: DefineComponent<__VLS_Props_9, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
249
- submit: (model: LoanFormData) => any;
249
+ submitted: (model: LoanFormData) => any;
250
250
  }, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
251
- onSubmit?: ((model: LoanFormData) => any) | undefined;
251
+ onSubmitted?: ((model: LoanFormData) => any) | undefined;
252
252
  }>, {
253
253
  title: string;
254
254
  flat: boolean;
@@ -1171,7 +1171,7 @@ var sn = /*#__PURE__*/ nn(rn, [["render", on]]), J = /* @__PURE__ */ l({
1171
1171
  };
1172
1172
  return (t, n) => (y(), i("form", {
1173
1173
  class: g(u.value),
1174
- onSubmit: I(d, ["prevent"])
1174
+ onSubmit: I(d, ["prevent", "stop"])
1175
1175
  }, [
1176
1176
  E(l).banner || e.banner ? (y(), i("div", cn, [C(t.$slots, "banner", {}, () => [a("span", { innerHTML: e.banner }, null, 8, ln)])])) : r("", !0),
1177
1177
  E(l).header || e.title || e.description ? (y(), i("div", un, [C(t.$slots, "header", {}, () => [e.title ? (y(), i("h2", dn, T(e.title), 1)) : r("", !0), e.description ? (y(), i("p", fn, T(e.description), 1)) : r("", !0)])])) : r("", !0),
@@ -3791,7 +3791,7 @@ var ai = ii(), oi = ti(Wr, Q.ownedBuilding.required), si = [1, 7], ci = [3, 4],
3791
3791
  ...K,
3792
3792
  title: "Fietsverzekering vergelijken"
3793
3793
  }),
3794
- emits: ["submit"],
3794
+ emits: ["submitted"],
3795
3795
  setup(e, { emit: i }) {
3796
3796
  let a = e, o = q(a), s = i, { isSubmitting: l, handleSubmit: u, defineField: f, resetField: p } = Z(di, {
3797
3797
  kind: a.initialData?.kind ?? null,
@@ -3804,7 +3804,7 @@ var ai = ii(), oi = ti(Wr, Q.ownedBuilding.required), si = [1, 7], ci = [3, 4],
3804
3804
  }, { immediate: !0 });
3805
3805
  function A() {
3806
3806
  u((e) => {
3807
- s("submit", { ...e });
3807
+ s("submitted", { ...e });
3808
3808
  });
3809
3809
  }
3810
3810
  return (t, i) => (y(), n(E(Y), m(E(o), {
@@ -3967,7 +3967,7 @@ var _i = {
3967
3967
  ...K,
3968
3968
  title: "Dierenverzekering vergelijken"
3969
3969
  }),
3970
- emits: ["submit"],
3970
+ emits: ["submitted"],
3971
3971
  setup(e, { emit: t }) {
3972
3972
  let r = e, i = q(r), a = t, { isSubmitting: o, handleSubmit: s, defineField: l } = Z(vi, {
3973
3973
  kind: r.initialData?.kind ?? "dog",
@@ -3976,7 +3976,7 @@ var _i = {
3976
3976
  }), [u, f, p] = l("kind", { validateAt: "change" }), [h, g, _] = l("age"), [v, b, x] = l("zipcode");
3977
3977
  function S() {
3978
3978
  s((e) => {
3979
- a("submit", { ...e });
3979
+ a("submitted", { ...e });
3980
3980
  });
3981
3981
  }
3982
3982
  return (t, r) => (y(), n(E(Y), m(E(i), {
@@ -4126,7 +4126,7 @@ var Ei = /* @__PURE__ */ l({
4126
4126
  ...K,
4127
4127
  title: "Caravanverzekering vergelijken"
4128
4128
  }),
4129
- emits: ["submit"],
4129
+ emits: ["submitted"],
4130
4130
  setup(e, { emit: t }) {
4131
4131
  let r = e, i = q(r), a = t, o = Ti(), { isSubmitting: s, handleSubmit: l, defineField: u } = Z(Si, {
4132
4132
  TypeOfCaravan: r.initialData?.TypeOfCaravan ?? null,
@@ -4135,7 +4135,7 @@ var Ei = /* @__PURE__ */ l({
4135
4135
  }), [f, p, h] = u("TypeOfCaravan", { validateAt: "change" }), [g, _, v] = u("NewOrOccasion"), [b, x, S] = u("BuildYear", { validateAt: "change" });
4136
4136
  function C() {
4137
4137
  l((e) => {
4138
- a("submit", { ...e });
4138
+ a("submitted", { ...e });
4139
4139
  });
4140
4140
  }
4141
4141
  return (t, r) => (y(), n(E(Y), m(E(i), {
@@ -4249,7 +4249,7 @@ var Oi = /* @__PURE__ */ function(e) {
4249
4249
  ...K,
4250
4250
  title: "Reisverzekering vergelijken"
4251
4251
  }),
4252
- emits: ["submit"],
4252
+ emits: ["submitted"],
4253
4253
  setup(e, { emit: t }) {
4254
4254
  let r = e, i = q(r), a = t, { isSubmitting: o, handleSubmit: s, defineField: l } = Z(ki, {
4255
4255
  PaymentTerm: r.initialData?.PaymentTerm ?? Oi.Continuous,
@@ -4257,7 +4257,7 @@ var Oi = /* @__PURE__ */ function(e) {
4257
4257
  }), [u, f, p] = l("PaymentTerm", { validateAt: "change" }), [h, g, _] = l("birthdate");
4258
4258
  function v() {
4259
4259
  s((e) => {
4260
- a("submit", { ...e });
4260
+ a("submitted", { ...e });
4261
4261
  });
4262
4262
  }
4263
4263
  return (t, r) => (y(), n(E(Y), m(E(i), {
@@ -4341,7 +4341,7 @@ var Ni = (e) => R({
4341
4341
  ...K,
4342
4342
  title: "Aansprakelijkheidsverzekering vergelijken"
4343
4343
  }),
4344
- emits: ["submit"],
4344
+ emits: ["submitted"],
4345
4345
  setup(e, { emit: t }) {
4346
4346
  let r = e, i = q(r), a = t, { addressSchema: o, draft: s, resolvedAddress: l, additionOptions: u } = Jn({ initial: r.initialData?.address }), { isSubmitting: f, handleSubmit: p, defineField: h } = Z(Ni(o), {
4347
4347
  birthdate: r.initialData?.birthdate ?? "",
@@ -4350,7 +4350,7 @@ var Ni = (e) => R({
4350
4350
  }), [g, _, v] = h("birthdate"), [b, x, S] = h("familyComposition", { validateAt: "change" });
4351
4351
  function C() {
4352
4352
  p(({ birthdate: e, familyComposition: t }) => {
4353
- a("submit", {
4353
+ a("submitted", {
4354
4354
  birthdate: e,
4355
4355
  familyComposition: t,
4356
4356
  address: l.value
@@ -4449,7 +4449,7 @@ var Ii = [{
4449
4449
  ...K,
4450
4450
  title: "Woonverzekering vergelijken"
4451
4451
  }),
4452
- emits: ["submit"],
4452
+ emits: ["submitted"],
4453
4453
  setup(e, { emit: t }) {
4454
4454
  let r = e, i = q(r), a = t, { addressSchema: o, draft: s, resolvedAddress: l, additionOptions: u } = Jn({ initial: r.initialData?.address }), { isSubmitting: f, handleSubmit: p, defineField: h } = Z(Li(o), {
4455
4455
  ownedBuilding: r.initialData?.ownedBuilding ?? U.Yes,
@@ -4458,7 +4458,7 @@ var Ii = [{
4458
4458
  }), [g, _, v] = h("ownedBuilding"), [b, x, S] = h("familyComposition", { validateAt: "change" });
4459
4459
  function C() {
4460
4460
  p(({ ownedBuilding: e, familyComposition: t }) => {
4461
- a("submit", {
4461
+ a("submitted", {
4462
4462
  ownedBuilding: e,
4463
4463
  familyComposition: t,
4464
4464
  address: l.value
@@ -4567,7 +4567,7 @@ var Bi = H.SingleWithChildren, Vi = (e) => R({
4567
4567
  ...K,
4568
4568
  title: "Rechtsbijstandverzekering vergelijken"
4569
4569
  }),
4570
- emits: ["submit"],
4570
+ emits: ["submitted"],
4571
4571
  setup(e, { emit: i }) {
4572
4572
  let a = e, o = q(a), s = i, { addressSchema: l, draft: u, resolvedAddress: f, additionOptions: p } = Jn({ initial: a.initialData?.address }), { isSubmitting: h, handleSubmit: g, defineField: _, resetField: v } = Z(Vi(l), {
4573
4573
  ownedBuilding: a.initialData?.ownedBuilding ?? U.Yes,
@@ -4581,7 +4581,7 @@ var Bi = H.SingleWithChildren, Vi = (e) => R({
4581
4581
  }, { immediate: !0 });
4582
4582
  function I() {
4583
4583
  g(({ ownedBuilding: e, birthdate: t, familyComposition: n, familySize: r }) => {
4584
- s("submit", {
4584
+ s("submitted", {
4585
4585
  ownedBuilding: e,
4586
4586
  birthdate: t,
4587
4587
  familyComposition: n,
@@ -4722,7 +4722,7 @@ var Gi = (e) => R({
4722
4722
  ...K,
4723
4723
  title: "Combineer al je verzekeringen in 1 verzekeringspakket"
4724
4724
  }),
4725
- emits: ["submit"],
4725
+ emits: ["submitted"],
4726
4726
  setup(e, { emit: i }) {
4727
4727
  let a = e, o = q(a), s = i, { addressSchema: l, draft: u, resolvedAddress: f, additionOptions: p } = Jn({ initial: a.initialData?.address }), { isSubmitting: h, handleSubmit: g, defineField: _, resetField: v } = Z(Gi(l), {
4728
4728
  birthdate: a.initialData?.birthdate ?? "",
@@ -4735,7 +4735,7 @@ var Gi = (e) => R({
4735
4735
  }, { immediate: !0 });
4736
4736
  function j() {
4737
4737
  g(({ birthdate: e, familyComposition: t, partnerBirthdate: n }) => {
4738
- s("submit", {
4738
+ s("submitted", {
4739
4739
  birthdate: e,
4740
4740
  familyComposition: t,
4741
4741
  partnerBirthdate: n,
@@ -4897,7 +4897,7 @@ var Ji = {
4897
4897
  ...K,
4898
4898
  title: "Geld lenen"
4899
4899
  }),
4900
- emits: ["submit"],
4900
+ emits: ["submitted"],
4901
4901
  setup(e, { emit: t }) {
4902
4902
  let r = e, i = q(r), a = t, { isSubmitting: o, handleSubmit: s, defineField: l } = Z(Xi, {
4903
4903
  LoanPurpose: r.initialData?.LoanPurpose ?? "",
@@ -4907,7 +4907,7 @@ var Ji = {
4907
4907
  }), [u, f, p] = l("LoanPurpose", { validateAt: "change" }), [h, g, _] = l("LoanAmount"), [v, b, x] = l("birthdate"), [S, C, w] = l("familyComposition", { validateAt: "change" });
4908
4908
  function T() {
4909
4909
  s((e) => {
4910
- a("submit", { ...e });
4910
+ a("submitted", { ...e });
4911
4911
  });
4912
4912
  }
4913
4913
  return (t, r) => (y(), n(E(Y), m(E(i), {
@@ -5029,7 +5029,7 @@ var ta = {
5029
5029
  ...K,
5030
5030
  title: "Brommerverzekering vergelijken"
5031
5031
  }),
5032
- emits: ["submit"],
5032
+ emits: ["submitted"],
5033
5033
  setup(e, { emit: t }) {
5034
5034
  let r = e, i = q(r), a = t, { addressSchema: o, draft: s, resolvedAddress: l, additionOptions: u } = Jn({ initial: r.initialData?.address }), { vehicleData: f, licensePlateSchema: p } = mr(V.Moped, { initialData: r.initialData?.vehicle ?? void 0 }), { isSubmitting: h, handleSubmit: g, defineField: _ } = Z(na(p, o), {
5035
5035
  licensePlate: r.initialData?.licensePlate ?? "",
@@ -5038,7 +5038,7 @@ var ta = {
5038
5038
  }), [v, b, x, S] = _("licensePlate"), [C, w, T] = _("birthdate");
5039
5039
  function D() {
5040
5040
  g(({ licensePlate: e, birthdate: t }) => {
5041
- a("submit", {
5041
+ a("submitted", {
5042
5042
  licensePlate: e,
5043
5043
  birthdate: t,
5044
5044
  address: l.value,
@@ -5150,7 +5150,7 @@ var aa = (e, t) => R({
5150
5150
  ...K,
5151
5151
  title: "Motorverzekering vergelijken"
5152
5152
  }),
5153
- emits: ["submit"],
5153
+ emits: ["submitted"],
5154
5154
  setup(e, { emit: t }) {
5155
5155
  let r = e, i = q(r), a = t, { addressSchema: o, draft: s, resolvedAddress: l, additionOptions: u } = Jn({ initial: r.initialData?.address }), { vehicleData: f, licensePlateSchema: p } = mr(V.Motor, { initialData: r.initialData?.vehicle ?? void 0 }), { isSubmitting: h, handleSubmit: g, defineField: _ } = Z(aa(p, o), {
5156
5156
  licensePlate: r.initialData?.licensePlate ?? "",
@@ -5159,7 +5159,7 @@ var aa = (e, t) => R({
5159
5159
  }), [v, b, x, S] = _("licensePlate"), [C, w, T] = _("birthdate");
5160
5160
  function D() {
5161
5161
  g(({ licensePlate: e, birthdate: t }) => {
5162
- a("submit", {
5162
+ a("submitted", {
5163
5163
  licensePlate: e,
5164
5164
  birthdate: t,
5165
5165
  address: l.value,
@@ -5271,7 +5271,7 @@ var ca = (e, t) => R({
5271
5271
  ...K,
5272
5272
  title: "Autoverzekering vergelijken"
5273
5273
  }),
5274
- emits: ["submit"],
5274
+ emits: ["submitted"],
5275
5275
  setup(e, { emit: t }) {
5276
5276
  let r = e, i = q(r), a = t, { addressSchema: o, draft: s, resolvedAddress: l, additionOptions: u } = Jn({ initial: r.initialData?.address }), { vehicleData: f, licensePlateSchema: p } = mr(V.Car, { initialData: r.initialData?.vehicle ?? void 0 }), { isSubmitting: h, handleSubmit: g, defineField: _ } = Z(ca(p, o), {
5277
5277
  licensePlate: r.initialData?.licensePlate ?? "",
@@ -5280,7 +5280,7 @@ var ca = (e, t) => R({
5280
5280
  }), [v, b, x, S] = _("licensePlate"), [C, w, T] = _("birthdate");
5281
5281
  function D() {
5282
5282
  g(({ licensePlate: e, birthdate: t }) => {
5283
- a("submit", {
5283
+ a("submitted", {
5284
5284
  licensePlate: e,
5285
5285
  birthdate: t,
5286
5286
  address: l.value,
@@ -5391,7 +5391,7 @@ var da = (e) => R({
5391
5391
  ...K,
5392
5392
  title: "Zakelijke autoverzekering vergelijken"
5393
5393
  }),
5394
- emits: ["submit"],
5394
+ emits: ["submitted"],
5395
5395
  setup(e, { emit: i }) {
5396
5396
  let a = e, o = q(a), s = i, { vehicleData: l, licensePlateSchema: u } = mr(V.Car, { initialData: a.initialData?.vehicle ?? void 0 }), { isSubmitting: f, handleSubmit: p, defineField: h, setErrors: g, removeError: _ } = Z(da(u), {
5397
5397
  licensePlate: a.initialData?.licensePlate ?? "",
@@ -5399,7 +5399,7 @@ var da = (e) => R({
5399
5399
  }), [v, b, x, S] = h("licensePlate"), [C, w, T] = h("company"), D = (e) => e ? g({ company: e }) : _("company"), O = t(() => !!C.value && !C.value.hasVisitingAddress);
5400
5400
  function k() {
5401
5401
  p(({ licensePlate: e, company: t }) => {
5402
- s("submit", {
5402
+ s("submitted", {
5403
5403
  licensePlate: e,
5404
5404
  company: t,
5405
5405
  vehicle: l.value
@@ -5505,12 +5505,12 @@ var ma = R({ company: Br() }), ha = /* @__PURE__ */ l({
5505
5505
  description: "Bescherm jouw bedrijf slim en voordelig. Om te starten hebben we je bedrijfsnaam of KVK-nummer nodig!",
5506
5506
  submitLabel: "Start gratis vergelijken"
5507
5507
  }),
5508
- emits: ["submit"],
5508
+ emits: ["submitted"],
5509
5509
  setup(e, { emit: i }) {
5510
5510
  let a = e, o = q(a), s = i, { isSubmitting: l, handleSubmit: u, defineField: f, setErrors: p, removeError: h } = Z(ma, { company: a.initialData?.company ?? null }), [g, _, v] = f("company"), b = (e) => e ? p({ company: e }) : h("company"), x = t(() => !!g.value && !g.value.hasVisitingAddress);
5511
5511
  function S() {
5512
5512
  u(({ company: e }) => {
5513
- s("submit", { company: e });
5513
+ s("submitted", { company: e });
5514
5514
  });
5515
5515
  }
5516
5516
  return (e, t) => (y(), n(E(Y), m(E(o), {
@@ -5700,7 +5700,7 @@ var Sa = /* @__PURE__ */ B({
5700
5700
  return (t, i) => c.value ? (y(), n(w(c.value.Form), m({ key: 0 }, E(s), {
5701
5701
  "initial-data": e.initialData,
5702
5702
  "submit-disabled": e.submitDisabled || E(u),
5703
- onSubmit: d
5703
+ onSubmitted: d
5704
5704
  }), null, 16, ["initial-data", "submit-disabled"])) : r("", !0);
5705
5705
  }
5706
5706
  }), Ra = { class: "vd-form vd-form--vertical vd-form--card" }, za = {
@@ -5802,7 +5802,7 @@ var Sa = /* @__PURE__ */ B({
5802
5802
  }
5803
5803
  return (t, o) => (y(), i("form", {
5804
5804
  class: "vd-form vd-form--vertical vd-form--card",
5805
- onSubmit: I(w, ["prevent"])
5805
+ onSubmit: I(w, ["prevent", "stop"])
5806
5806
  }, [e.showTitle && e.title || e.description ? (y(), i("div", Ua, [e.showTitle && e.title ? (y(), i("h2", Wa, T(e.title), 1)) : r("", !0), e.description ? (y(), i("p", Ga, T(e.description), 1)) : r("", !0)])) : r("", !0), a("div", Ka, [a("div", qa, [c(E(zr), m({
5807
5807
  modelValue: E(g),
5808
5808
  "onUpdate:modelValue": o[0] ||= (e) => d(g) ? g.value = e : null