@vergelijkdirect/comparison-forms 2.1.2-VER-9366.1 → 2.1.2-VER-9366.2

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 (79) hide show
  1. package/dist/vue/{VdSearchableSelect-DgfQaw3Q.js → VdSearchableSelect-THqVGo_Q.js} +1 -1
  2. package/dist/vue/bike-6sKFuz1o.js +2 -0
  3. package/dist/vue/{bike.presenter-DHdbAXwD.js → bike.presenter-B9IE_Rs_.js} +3 -4
  4. package/dist/vue/{businessCar.presenter-DozOFMtK.js → businessCar.presenter-DR-Ozf6B.js} +4 -5
  5. package/dist/vue/businessLiability-w4xhGnik.js +2 -0
  6. package/dist/vue/{businessLiability.presenter-DS0d53aM.js → businessLiability.presenter-8iyRbLgw.js} +3 -4
  7. package/dist/vue/car-B8G_AIyt.js +2 -0
  8. package/dist/vue/car-business-DMYPV4UK.js +2 -0
  9. package/dist/vue/{car.presenter-BWIqlpRG.js → car.presenter-CE6OULN8.js} +4 -5
  10. package/dist/vue/caravan-ClGIypn_.js +2 -0
  11. package/dist/vue/{caravan.presenter-DPS3fFpt.js → caravan.presenter-CLA_3-8l.js} +2 -3
  12. package/dist/vue/{company.schema-b9EJY5TS.js → company.schema-DStHJpGH.js} +1 -1
  13. package/dist/vue/comparison-forms.d.ts +0 -15
  14. package/dist/vue/comparison-forms.js +33 -34
  15. package/dist/vue/house-DMlFFHks.js +2 -0
  16. package/dist/vue/{house.presenter-Cgn7LsZx.js → house.presenter-CFYmkeST.js} +3 -4
  17. package/dist/vue/legal-DlCmrgH2.js +2 -0
  18. package/dist/vue/{legal.presenter-BhVM1Wwq.js → legal.presenter-CKqqhKlJ.js} +3 -4
  19. package/dist/vue/liability-C6eVeyVd.js +2 -0
  20. package/dist/vue/{liability.presenter-DjxChl9j.js → liability.presenter-Dw2zIEih.js} +3 -4
  21. package/dist/vue/loan-zhBF4CJ-.js +2 -0
  22. package/dist/vue/{loan.presenter-FscPtbgm.js → loan.presenter-CdNnI1mj.js} +2 -3
  23. package/dist/vue/moped-BgEdFCRR.js +2 -0
  24. package/dist/vue/{moped.presenter-DihPM2IH.js → moped.presenter-DcPy3zuH.js} +4 -5
  25. package/dist/vue/motor-O91czupe.js +2 -0
  26. package/dist/vue/{motor.presenter-D6xf7eTD.js → motor.presenter-DnVQ-ilL.js} +4 -5
  27. package/dist/vue/package-CfGktfMo.js +2 -0
  28. package/dist/vue/{package.presenter-fBd1bNoi.js → package.presenter-Do9gvW9P.js} +3 -4
  29. package/dist/vue/pet-DUb7musC.js +2 -0
  30. package/dist/vue/{pet.presenter-CaZbPxab.js → pet.presenter-Bf2V3qfP.js} +2 -3
  31. package/dist/vue/travel-w0xAUioW.js +2 -0
  32. package/dist/vue/{travel.presenter-CC8xdY8p.js → travel.presenter-Aon0SVxf.js} +2 -3
  33. package/dist/vue/{useAddress-zTvmarFM.js → useAddress-C-h1pGI5.js} +1 -1
  34. package/dist/vue/{useLicensePlate-D4EPRPEp.js → useLicensePlate-wAVrX9tr.js} +1 -1
  35. package/dist/vue/{useValidator-DPW9o5Z8.js → useValidator-B8ZuqyvJ.js} +53 -67
  36. package/dist/wc/comparison-forms.js +1918 -1948
  37. package/dist/wc-forms/{VdInput-nshDp-Tm.cjs → VdInput-CQMUZonZ.cjs} +1 -1
  38. package/dist/wc-forms/{VdPopover-BZIgdj30.cjs → VdPopover-B7iU4v7L.cjs} +1 -1
  39. package/dist/wc-forms/{VdRadioGroup-DYrXw8Qm.cjs → VdRadioGroup-CliXOc0N.cjs} +1 -1
  40. package/dist/wc-forms/{VdSearchableSelect-Bmc3-hsJ.cjs → VdSearchableSelect-BOOYo1Cc.cjs} +1 -1
  41. package/dist/wc-forms/{VdSelect-BZARPe4v.cjs → VdSelect-BsnfIWYl.cjs} +1 -1
  42. package/dist/wc-forms/bike.cjs +1 -1
  43. package/dist/wc-forms/{birthdate.schema-4VhhOUGR.cjs → birthdate.schema-bGqk4rzX.cjs} +1 -1
  44. package/dist/wc-forms/business-car.cjs +1 -1
  45. package/dist/wc-forms/business-liability.cjs +1 -1
  46. package/dist/wc-forms/car.cjs +1 -1
  47. package/dist/wc-forms/caravan.cjs +1 -1
  48. package/dist/wc-forms/{company.schema-CP8SRGqv.cjs → company.schema-BLoMUJDa.cjs} +1 -1
  49. package/dist/wc-forms/{familyComposition.schema-BjogJfTD.cjs → familyComposition.schema-Uczfy7pt.cjs} +1 -1
  50. package/dist/wc-forms/house.cjs +1 -1
  51. package/dist/wc-forms/{houseOwnedBuilding.model-6Vhf8cLT.cjs → houseOwnedBuilding.model-mFWo0xXR.cjs} +1 -1
  52. package/dist/wc-forms/legal.cjs +1 -1
  53. package/dist/wc-forms/liability.cjs +1 -1
  54. package/dist/wc-forms/loan.cjs +1 -1
  55. package/dist/wc-forms/moped.cjs +1 -1
  56. package/dist/wc-forms/motor.cjs +1 -1
  57. package/dist/wc-forms/package.cjs +1 -1
  58. package/dist/wc-forms/pet.cjs +1 -1
  59. package/dist/wc-forms/{rules-DsZv-tRZ.cjs → rules-GF6hc_di.cjs} +1 -1
  60. package/dist/wc-forms/travel.cjs +1 -1
  61. package/dist/wc-forms/{useAddress-D_Lg4GDA.cjs → useAddress-DJ4aWwYs.cjs} +1 -1
  62. package/dist/wc-forms/{useLicensePlate-BwiakNOh.cjs → useLicensePlate-98nreTI8.cjs} +1 -1
  63. package/dist/wc-forms/{useValidator-Ctl7lZY6.cjs → useValidator-C2pny0oV.cjs} +1 -1
  64. package/dist/wc-noitc/comparison-forms.umd.cjs +2 -2
  65. package/package.json +1 -1
  66. package/dist/vue/bike-CyTAgBYV.js +0 -2
  67. package/dist/vue/businessLiability-BsIq3uMl.js +0 -2
  68. package/dist/vue/car-CaqRWwGY.js +0 -2
  69. package/dist/vue/car-business-D3HQXsGj.js +0 -2
  70. package/dist/vue/caravan-TAqyIweN.js +0 -2
  71. package/dist/vue/house-DU-9pODQ.js +0 -2
  72. package/dist/vue/legal-D8EDXQlH.js +0 -2
  73. package/dist/vue/liability-BKvW4PO3.js +0 -2
  74. package/dist/vue/loan-aOBxfvb7.js +0 -2
  75. package/dist/vue/moped-C2rp2vBw.js +0 -2
  76. package/dist/vue/motor-po-wFh35.js +0 -2
  77. package/dist/vue/package-Csa1Krlo.js +0 -2
  78. package/dist/vue/pet-DsoXOxaC.js +0 -2
  79. package/dist/vue/travel-XHQ0eBDV.js +0 -2
@@ -220,21 +220,21 @@ function z(e) {
220
220
  //#endregion
221
221
  //#region node_modules/es-toolkit/dist/compat/_internal/isKey.mjs
222
222
  var B = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, V = /^\w*$/;
223
- function H(e, t) {
223
+ function ee(e, t) {
224
224
  return Array.isArray(e) ? !1 : typeof e == "number" || typeof e == "boolean" || e == null || z(e) ? !0 : typeof e == "string" && (V.test(e) || !B.test(e)) || t != null && Object.hasOwn(t, e);
225
225
  }
226
226
  //#endregion
227
227
  //#region node_modules/es-toolkit/dist/compat/_internal/assignValue.mjs
228
- var U = (e, t, n) => {
228
+ var H = (e, t, n) => {
229
229
  let r = e[t];
230
230
  (!(Object.hasOwn(e, t) && O(r, n)) || n === void 0 && !(t in e)) && (e[t] = n);
231
231
  };
232
232
  //#endregion
233
233
  //#region node_modules/es-toolkit/dist/compat/object/updateWith.mjs
234
- function W(e, t, n, r) {
234
+ function te(e, t, n, r) {
235
235
  if (e == null && !I(e)) return e;
236
236
  let i;
237
- i = H(t, e) ? [t] : Array.isArray(t) ? t : j(t);
237
+ i = ee(t, e) ? [t] : Array.isArray(t) ? t : j(t);
238
238
  let a = n(P(e, i)), o = e;
239
239
  for (let t = 0; t < i.length && o != null; t++) {
240
240
  let n = A(i[t]);
@@ -245,18 +245,18 @@ function W(e, t, n, r) {
245
245
  let a = o[n], c = r?.(a, n, e);
246
246
  s = c === void 0 ? I(a) ? a : R(i[t + 1]) ? [] : {} : c;
247
247
  }
248
- U(o, n, s), o = o[n];
248
+ H(o, n, s), o = o[n];
249
249
  }
250
250
  return e;
251
251
  }
252
252
  //#endregion
253
253
  //#region node_modules/es-toolkit/dist/compat/object/set.mjs
254
- function G(e, t, n) {
255
- return W(e, t, () => n, () => void 0);
254
+ function ne(e, t, n) {
255
+ return te(e, t, () => n, () => void 0);
256
256
  }
257
257
  //#endregion
258
258
  //#region src/composables/useComparisonForm.ts
259
- var K = {
259
+ var U = {
260
260
  title: "",
261
261
  description: "",
262
262
  banner: "",
@@ -265,23 +265,22 @@ var K = {
265
265
  flat: !1,
266
266
  fullWidth: !1,
267
267
  submitLabel: "Vergelijken",
268
- submitDisabled: !1,
269
- hasAfmLicense: !0
270
- }, q = Object.keys(K);
271
- function J(e) {
272
- return w(e, ...q);
268
+ submitDisabled: !1
269
+ }, re = Object.keys(U);
270
+ function ie(e) {
271
+ return w(e, ...re);
273
272
  }
274
273
  //#endregion
275
274
  //#region \0plugin-vue:export-helper
276
- var ee = (e, t) => {
275
+ var W = (e, t) => {
277
276
  let n = e.__vccOpts || e;
278
277
  for (let [e, r] of t) n[e] = r;
279
278
  return n;
280
- }, te = {}, ne = { class: "vd-form__row" };
281
- function re(e, t) {
282
- return p(), r("div", ne, [g(e.$slots, "default")]);
279
+ }, G = {}, K = { class: "vd-form__row" };
280
+ function q(e, t) {
281
+ return p(), r("div", K, [g(e.$slots, "default")]);
283
282
  }
284
- var Y = /*#__PURE__*/ ee(te, [["render", re]]), X = /* @__PURE__ */ s({
283
+ var J = /*#__PURE__*/ W(G, [["render", q]]), Y = /* @__PURE__ */ s({
285
284
  __name: "VdFormCol",
286
285
  props: {
287
286
  span: { default: null },
@@ -296,21 +295,18 @@ var Y = /*#__PURE__*/ ee(te, [["render", re]]), X = /* @__PURE__ */ s({
296
295
  ]);
297
296
  return (e, t) => (p(), r("div", { class: f(i.value) }, [g(e.$slots, "default")], 2));
298
297
  }
299
- }), ie = {
298
+ }), ae = {
300
299
  key: 0,
301
300
  class: "vd-form__banner"
302
- }, ae = ["innerHTML"], oe = {
301
+ }, oe = ["innerHTML"], se = {
303
302
  key: 1,
304
303
  class: "vd-form__header"
305
- }, se = {
304
+ }, ce = {
306
305
  key: 0,
307
306
  class: "vd-form__title"
308
- }, ce = {
307
+ }, le = {
309
308
  key: 1,
310
309
  class: "vd-form__description"
311
- }, le = {
312
- key: 2,
313
- class: "vd-afm"
314
310
  }, ue = /* @__PURE__ */ s({
315
311
  __name: "VdComparisonForm",
316
312
  props: /*@__PURE__*/ l({
@@ -324,32 +320,31 @@ var Y = /*#__PURE__*/ ee(te, [["render", re]]), X = /* @__PURE__ */ s({
324
320
  flat: { type: Boolean },
325
321
  fullWidth: { type: Boolean },
326
322
  submitLabel: {},
327
- submitDisabled: { type: Boolean },
328
- hasAfmLicense: { type: Boolean }
323
+ submitDisabled: { type: Boolean }
329
324
  }, {
330
- ...K,
325
+ ...U,
331
326
  actionSpan: 2,
332
327
  actionMd: null
333
328
  }),
334
329
  emits: ["submit"],
335
- setup(t, { emit: s }) {
336
- let c = t, l = s, u = b(), d = e(() => [
330
+ setup(t, { emit: a }) {
331
+ let s = t, c = a, l = b(), u = e(() => [
337
332
  "vd-form",
338
- `vd-form--${c.layout}`,
339
- { "vd-form--card": c.card },
340
- { "vd-form--flat": c.flat },
341
- { "vd-form--full-width": c.fullWidth }
342
- ]), m = (e) => {
343
- l("submit", e);
333
+ `vd-form--${s.layout}`,
334
+ { "vd-form--card": s.card },
335
+ { "vd-form--flat": s.flat },
336
+ { "vd-form--full-width": s.fullWidth }
337
+ ]), d = (e) => {
338
+ c("submit", e);
344
339
  };
345
- return (e, s) => (p(), r("form", {
346
- class: f(d.value),
347
- onSubmit: S(m, ["prevent", "stop"])
340
+ return (e, a) => (p(), r("form", {
341
+ class: f(u.value),
342
+ onSubmit: S(d, ["prevent", "stop"])
348
343
  }, [
349
- y(u).banner || t.banner ? (p(), r("div", ie, [g(e.$slots, "banner", {}, () => [i("span", { innerHTML: t.banner }, null, 8, ae)])])) : n("", !0),
350
- y(u).header || t.title || t.description ? (p(), r("div", oe, [g(e.$slots, "header", {}, () => [t.title ? (p(), r("h2", se, v(t.title), 1)) : n("", !0), t.description ? (p(), r("p", ce, v(t.description), 1)) : n("", !0)])])) : n("", !0),
351
- o(Y, null, {
352
- default: x(() => [g(e.$slots, "default"), o(X, {
344
+ y(l).banner || t.banner ? (p(), r("div", ae, [g(e.$slots, "banner", {}, () => [i("span", { innerHTML: t.banner }, null, 8, oe)])])) : n("", !0),
345
+ y(l).header || t.title || t.description ? (p(), r("div", se, [g(e.$slots, "header", {}, () => [t.title ? (p(), r("h2", ce, v(t.title), 1)) : n("", !0), t.description ? (p(), r("p", le, v(t.description), 1)) : n("", !0)])])) : n("", !0),
346
+ o(J, null, {
347
+ default: x(() => [g(e.$slots, "default"), o(Y, {
353
348
  class: "vd-form__action",
354
349
  span: t.actionSpan,
355
350
  md: t.actionMd
@@ -366,31 +361,22 @@ var Y = /*#__PURE__*/ ee(te, [["render", re]]), X = /* @__PURE__ */ s({
366
361
  _: 3
367
362
  }, 8, ["span", "md"])]),
368
363
  _: 3
369
- }),
370
- t.hasAfmLicense ? n("", !0) : (p(), r("div", le, [...s[0] ||= [i("p", { class: "vd-afm__text" }, [
371
- a(" Bovenstaande vergelijkingsmodule beheerd door "),
372
- i("a", {
373
- href: "https://vergelijkdirect.com",
374
- target: "_blank",
375
- rel: "noopener noreferrer"
376
- }, " Vergelijkdirect.com BV. "),
377
- a(" Execution Only, geen advies. AFM-vergunning 12044269 ")
378
- ], -1)]]))
364
+ })
379
365
  ], 34));
380
366
  }
381
- }), de = (e) => e.replace(/\["(\d+)"\]/g, "[$1]"), Z = (e, t) => `${e}${t}`, fe = (e) => (e.inner || []).reduce((e, t) => {
367
+ }), de = (e) => e.replace(/\["(\d+)"\]/g, "[$1]"), X = (e, t) => `${e}${t}`, fe = (e) => (e.inner || []).reduce((e, t) => {
382
368
  let n = de(t.path);
383
369
  return e[n] || (e[n] = t.message), e;
384
- }, {}), Q = (e) => {
370
+ }, {}), Z = (e) => {
385
371
  if (!e.inner) throw e;
386
372
  return fe(e);
387
- }, pe = { isValidating: !1 }, me = {
373
+ }, Q = { isValidating: !1 }, pe = {
388
374
  validateAt: "blur",
389
375
  strict: !0,
390
376
  abortEarly: !1
391
- }, $ = Symbol("useValidator"), he = (t, n, r) => {
377
+ }, $ = Symbol("useValidator"), me = (t, n, r) => {
392
378
  let i = {
393
- ...me,
379
+ ...pe,
394
380
  ...r
395
381
  }, a = C(n), o = h(C(a)), s = h({}), c = h(!1), l = h(!1), u = h({}), f = (t) => e({
396
382
  get: () => b(t),
@@ -411,7 +397,7 @@ var Y = /*#__PURE__*/ ee(te, [["render", re]]), X = /* @__PURE__ */ s({
411
397
  ...t
412
398
  };
413
399
  }, b = (e) => P(o.value, e), x = (e, t) => {
414
- G(o.value, e, t);
400
+ ne(o.value, e, t);
415
401
  }, S = (e, t) => {
416
402
  t === "blur" && M(e);
417
403
  }, w = (e, t) => {
@@ -420,7 +406,7 @@ var Y = /*#__PURE__*/ ee(te, [["render", re]]), X = /* @__PURE__ */ s({
420
406
  t === "input" && d(() => M(e));
421
407
  }, E = (e, t) => {
422
408
  let n = t?.validateAt ?? i.validateAt;
423
- return y(e, pe), [
409
+ return y(e, Q), [
424
410
  f(e),
425
411
  p(e, n),
426
412
  g(e),
@@ -428,10 +414,10 @@ var Y = /*#__PURE__*/ ee(te, [["render", re]]), X = /* @__PURE__ */ s({
428
414
  ];
429
415
  }, D = (e) => {
430
416
  let t = f(e), n = (t, n) => {
431
- let r = n?.validateAt ?? i.validateAt, a = Z(e, t);
417
+ let r = n?.validateAt ?? i.validateAt, a = X(e, t);
432
418
  return p(a, r).value;
433
419
  }, r = (t) => {
434
- let n = Z(e, t);
420
+ let n = X(e, t);
435
421
  return F(n);
436
422
  };
437
423
  return {
@@ -439,7 +425,7 @@ var Y = /*#__PURE__*/ ee(te, [["render", re]]), X = /* @__PURE__ */ s({
439
425
  getAttrs: n,
440
426
  getError: r,
441
427
  getMeta: (t) => {
442
- let n = Z(e, t);
428
+ let n = X(e, t);
443
429
  return _(n);
444
430
  },
445
431
  arrayError: r(e),
@@ -487,7 +473,7 @@ var Y = /*#__PURE__*/ ee(te, [["render", re]]), X = /* @__PURE__ */ s({
487
473
  abortEarly: i.abortEarly
488
474
  }), o.value;
489
475
  } catch (e) {
490
- let t = Q(e);
476
+ let t = Z(e);
491
477
  N(t);
492
478
  return;
493
479
  } finally {
@@ -501,7 +487,7 @@ var Y = /*#__PURE__*/ ee(te, [["render", re]]), X = /* @__PURE__ */ s({
501
487
  abortEarly: i.abortEarly
502
488
  });
503
489
  } catch (e) {
504
- let t = Q(e);
490
+ let t = Z(e);
505
491
  N(t);
506
492
  } finally {
507
493
  y(e, { isValidating: !1 });
@@ -540,10 +526,10 @@ var Y = /*#__PURE__*/ ee(te, [["render", re]]), X = /* @__PURE__ */ s({
540
526
  validateField: M
541
527
  };
542
528
  return m($, V), V;
543
- }, ge = () => {
529
+ }, he = () => {
544
530
  let e = c($);
545
531
  if (!e) throw Error("useValidatorContext must be used within a component that has called useValidator");
546
532
  return e;
547
533
  };
548
534
  //#endregion
549
- export { Y as a, P as c, X as i, D as l, ge as n, K as o, ue as r, J as s, he as t, T as u };
535
+ export { J as a, P as c, Y as i, D as l, he as n, U as o, ue as r, ie as s, me as t, T as u };