@vergelijkdirect/comparison-forms 2.1.2-VER-9366.0 → 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-CmauHSu_.js → VdSearchableSelect-THqVGo_Q.js} +1 -1
  2. package/dist/vue/bike-6sKFuz1o.js +2 -0
  3. package/dist/vue/{bike.presenter-xCTxdWGX.js → bike.presenter-B9IE_Rs_.js} +3 -4
  4. package/dist/vue/{businessCar.presenter-CdF-jqWL.js → businessCar.presenter-DR-Ozf6B.js} +4 -5
  5. package/dist/vue/businessLiability-w4xhGnik.js +2 -0
  6. package/dist/vue/{businessLiability.presenter-D3GYPZmh.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-BrAdxDmX.js → car.presenter-CE6OULN8.js} +4 -5
  10. package/dist/vue/caravan-ClGIypn_.js +2 -0
  11. package/dist/vue/{caravan.presenter-pDOi5lI2.js → caravan.presenter-CLA_3-8l.js} +2 -3
  12. package/dist/vue/{company.schema-CRakro-u.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-DOGj2DaL.js → house.presenter-CFYmkeST.js} +3 -4
  17. package/dist/vue/legal-DlCmrgH2.js +2 -0
  18. package/dist/vue/{legal.presenter-DSPdQu-d.js → legal.presenter-CKqqhKlJ.js} +3 -4
  19. package/dist/vue/liability-C6eVeyVd.js +2 -0
  20. package/dist/vue/{liability.presenter-BPXy3ZSJ.js → liability.presenter-Dw2zIEih.js} +3 -4
  21. package/dist/vue/loan-zhBF4CJ-.js +2 -0
  22. package/dist/vue/{loan.presenter-CGk8iGLi.js → loan.presenter-CdNnI1mj.js} +2 -3
  23. package/dist/vue/moped-BgEdFCRR.js +2 -0
  24. package/dist/vue/{moped.presenter-Cv6v0SXD.js → moped.presenter-DcPy3zuH.js} +4 -5
  25. package/dist/vue/motor-O91czupe.js +2 -0
  26. package/dist/vue/{motor.presenter-BCovi7oi.js → motor.presenter-DnVQ-ilL.js} +4 -5
  27. package/dist/vue/package-CfGktfMo.js +2 -0
  28. package/dist/vue/{package.presenter-CkgCLpLn.js → package.presenter-Do9gvW9P.js} +3 -4
  29. package/dist/vue/pet-DUb7musC.js +2 -0
  30. package/dist/vue/{pet.presenter-B6sp49XG.js → pet.presenter-Bf2V3qfP.js} +2 -3
  31. package/dist/vue/travel-w0xAUioW.js +2 -0
  32. package/dist/vue/{travel.presenter-DTBS5Xo-.js → travel.presenter-Aon0SVxf.js} +2 -3
  33. package/dist/vue/{useAddress-BbvagPCf.js → useAddress-C-h1pGI5.js} +1 -1
  34. package/dist/vue/{useLicensePlate-CzFI6e8o.js → useLicensePlate-wAVrX9tr.js} +1 -1
  35. package/dist/vue/{useValidator-Dp-Lj591.js → useValidator-B8ZuqyvJ.js} +53 -68
  36. package/dist/wc/comparison-forms.js +1918 -1949
  37. package/dist/wc-forms/{VdInput-BzOwKdfq.cjs → VdInput-CQMUZonZ.cjs} +1 -1
  38. package/dist/wc-forms/{VdPopover-BlpP4_ce.cjs → VdPopover-B7iU4v7L.cjs} +1 -1
  39. package/dist/wc-forms/{VdRadioGroup-ZsqYfGYX.cjs → VdRadioGroup-CliXOc0N.cjs} +1 -1
  40. package/dist/wc-forms/{VdSearchableSelect-OJIA2ywT.cjs → VdSearchableSelect-BOOYo1Cc.cjs} +1 -1
  41. package/dist/wc-forms/{VdSelect-BUgSt_4I.cjs → VdSelect-BsnfIWYl.cjs} +1 -1
  42. package/dist/wc-forms/bike.cjs +1 -1
  43. package/dist/wc-forms/{birthdate.schema-DnULHbkV.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-BoD7Oyny.cjs → company.schema-BLoMUJDa.cjs} +1 -1
  49. package/dist/wc-forms/{familyComposition.schema-D4xHpoSc.cjs → familyComposition.schema-Uczfy7pt.cjs} +1 -1
  50. package/dist/wc-forms/house.cjs +1 -1
  51. package/dist/wc-forms/{houseOwnedBuilding.model-DkkwSL4R.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-DaxRsEK-.cjs → rules-GF6hc_di.cjs} +1 -1
  60. package/dist/wc-forms/travel.cjs +1 -1
  61. package/dist/wc-forms/{useAddress-BBVYtrds.cjs → useAddress-DJ4aWwYs.cjs} +1 -1
  62. package/dist/wc-forms/{useLicensePlate-CZ1V1sbW.cjs → useLicensePlate-98nreTI8.cjs} +1 -1
  63. package/dist/wc-forms/{useValidator-C0WEfQIb.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-RwNWvuHx.js +0 -2
  67. package/dist/vue/businessLiability-D8xsve8f.js +0 -2
  68. package/dist/vue/car-DoU1jqrj.js +0 -2
  69. package/dist/vue/car-business-DohP9n9_.js +0 -2
  70. package/dist/vue/caravan-BjQFiEqD.js +0 -2
  71. package/dist/vue/house-DpuwW3tH.js +0 -2
  72. package/dist/vue/legal-ChvJPkYv.js +0 -2
  73. package/dist/vue/liability-Cpuazatd.js +0 -2
  74. package/dist/vue/loan-zjUwa5DL.js +0 -2
  75. package/dist/vue/moped-CHj8pWjm.js +0 -2
  76. package/dist/vue/motor-CGIqD4wY.js +0 -2
  77. package/dist/vue/package-B9Gudkaf.js +0 -2
  78. package/dist/vue/pet-Dn1RtaDA.js +0 -2
  79. package/dist/vue/travel-qeJbrYCO.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,32 +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
- a(" " + v(t.hasAfmLicense) + " ", 1),
371
- t.hasAfmLicense ? n("", !0) : (p(), r("div", le, [...s[0] ||= [i("p", { class: "vd-afm__text" }, [
372
- a(" Bovenstaande vergelijkingsmodule beheerd door "),
373
- i("a", {
374
- href: "https://vergelijkdirect.com",
375
- target: "_blank",
376
- rel: "noopener noreferrer"
377
- }, " Vergelijkdirect.com BV. "),
378
- a(" Execution Only, geen advies. AFM-vergunning 12044269 ")
379
- ], -1)]]))
364
+ })
380
365
  ], 34));
381
366
  }
382
- }), 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) => {
383
368
  let n = de(t.path);
384
369
  return e[n] || (e[n] = t.message), e;
385
- }, {}), Q = (e) => {
370
+ }, {}), Z = (e) => {
386
371
  if (!e.inner) throw e;
387
372
  return fe(e);
388
- }, pe = { isValidating: !1 }, me = {
373
+ }, Q = { isValidating: !1 }, pe = {
389
374
  validateAt: "blur",
390
375
  strict: !0,
391
376
  abortEarly: !1
392
- }, $ = Symbol("useValidator"), he = (t, n, r) => {
377
+ }, $ = Symbol("useValidator"), me = (t, n, r) => {
393
378
  let i = {
394
- ...me,
379
+ ...pe,
395
380
  ...r
396
381
  }, a = C(n), o = h(C(a)), s = h({}), c = h(!1), l = h(!1), u = h({}), f = (t) => e({
397
382
  get: () => b(t),
@@ -412,7 +397,7 @@ var Y = /*#__PURE__*/ ee(te, [["render", re]]), X = /* @__PURE__ */ s({
412
397
  ...t
413
398
  };
414
399
  }, b = (e) => P(o.value, e), x = (e, t) => {
415
- G(o.value, e, t);
400
+ ne(o.value, e, t);
416
401
  }, S = (e, t) => {
417
402
  t === "blur" && M(e);
418
403
  }, w = (e, t) => {
@@ -421,7 +406,7 @@ var Y = /*#__PURE__*/ ee(te, [["render", re]]), X = /* @__PURE__ */ s({
421
406
  t === "input" && d(() => M(e));
422
407
  }, E = (e, t) => {
423
408
  let n = t?.validateAt ?? i.validateAt;
424
- return y(e, pe), [
409
+ return y(e, Q), [
425
410
  f(e),
426
411
  p(e, n),
427
412
  g(e),
@@ -429,10 +414,10 @@ var Y = /*#__PURE__*/ ee(te, [["render", re]]), X = /* @__PURE__ */ s({
429
414
  ];
430
415
  }, D = (e) => {
431
416
  let t = f(e), n = (t, n) => {
432
- let r = n?.validateAt ?? i.validateAt, a = Z(e, t);
417
+ let r = n?.validateAt ?? i.validateAt, a = X(e, t);
433
418
  return p(a, r).value;
434
419
  }, r = (t) => {
435
- let n = Z(e, t);
420
+ let n = X(e, t);
436
421
  return F(n);
437
422
  };
438
423
  return {
@@ -440,7 +425,7 @@ var Y = /*#__PURE__*/ ee(te, [["render", re]]), X = /* @__PURE__ */ s({
440
425
  getAttrs: n,
441
426
  getError: r,
442
427
  getMeta: (t) => {
443
- let n = Z(e, t);
428
+ let n = X(e, t);
444
429
  return _(n);
445
430
  },
446
431
  arrayError: r(e),
@@ -488,7 +473,7 @@ var Y = /*#__PURE__*/ ee(te, [["render", re]]), X = /* @__PURE__ */ s({
488
473
  abortEarly: i.abortEarly
489
474
  }), o.value;
490
475
  } catch (e) {
491
- let t = Q(e);
476
+ let t = Z(e);
492
477
  N(t);
493
478
  return;
494
479
  } finally {
@@ -502,7 +487,7 @@ var Y = /*#__PURE__*/ ee(te, [["render", re]]), X = /* @__PURE__ */ s({
502
487
  abortEarly: i.abortEarly
503
488
  });
504
489
  } catch (e) {
505
- let t = Q(e);
490
+ let t = Z(e);
506
491
  N(t);
507
492
  } finally {
508
493
  y(e, { isValidating: !1 });
@@ -541,10 +526,10 @@ var Y = /*#__PURE__*/ ee(te, [["render", re]]), X = /* @__PURE__ */ s({
541
526
  validateField: M
542
527
  };
543
528
  return m($, V), V;
544
- }, ge = () => {
529
+ }, he = () => {
545
530
  let e = c($);
546
531
  if (!e) throw Error("useValidatorContext must be used within a component that has called useValidator");
547
532
  return e;
548
533
  };
549
534
  //#endregion
550
- 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 };