@vergelijkdirect/comparison-forms 2.1.1-VER-9334.0 → 2.1.1

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 (76) hide show
  1. package/dist/client/.vite/ssr-manifest.json +598 -1238
  2. package/dist/client/assets/{index-m22ULrMh.css → index-6Enzr9rU.css} +1 -1
  3. package/dist/client/assets/index-6Enzr9rU.css.br +0 -0
  4. package/dist/client/assets/index-DUchBxEo.js +57 -0
  5. package/dist/client/assets/index-DUchBxEo.js.br +0 -0
  6. package/dist/client/index.html +2 -2
  7. package/dist/server/entry-server.js +3674 -3779
  8. package/dist/server/entry-server.js.br +0 -0
  9. package/dist/vue/bike-6sKFuz1o.js +2 -0
  10. package/dist/vue/{bike.presenter-CdCny1-M.js → bike.presenter-B9IE_Rs_.js} +1 -1
  11. package/dist/vue/{birthdate.schema-B9q6IeIR.js → birthdate.schema-DTubRtz9.js} +5 -5
  12. package/dist/vue/car-B8G_AIyt.js +2 -0
  13. package/dist/vue/{car.presenter-gd62kiqS.js → car.presenter-CE6OULN8.js} +1 -1
  14. package/dist/vue/caravan-ClGIypn_.js +2 -0
  15. package/dist/vue/{caravan.presenter-Cr5vuB_r.js → caravan.presenter-CLA_3-8l.js} +1 -1
  16. package/dist/vue/comparison-forms.css +1 -1
  17. package/dist/vue/comparison-forms.js +25 -25
  18. package/dist/vue/{familyComposition.schema-CNMH-wP0.js → familyComposition.schema-ULWBCzBj.js} +1 -1
  19. package/dist/vue/house-DMlFFHks.js +2 -0
  20. package/dist/vue/{house.presenter-DLeGfJAY.js → house.presenter-CFYmkeST.js} +3 -3
  21. package/dist/vue/{houseOwnedBuilding.model-BLLI1Vm0.js → houseOwnedBuilding.model-C9oqqZeA.js} +1 -1
  22. package/dist/vue/legal-DlCmrgH2.js +2 -0
  23. package/dist/vue/{legal.presenter-CwEVdXZJ.js → legal.presenter-CKqqhKlJ.js} +1 -1
  24. package/dist/vue/liability-C6eVeyVd.js +2 -0
  25. package/dist/vue/{liability.presenter-C_5O-OQm.js → liability.presenter-Dw2zIEih.js} +2 -2
  26. package/dist/vue/loan-zhBF4CJ-.js +2 -0
  27. package/dist/vue/{loan.presenter-CEZ3PcSo.js → loan.presenter-CdNnI1mj.js} +3 -3
  28. package/dist/vue/{messages-DRFu-PCu.js → messages-BNRgj8nq.js} +2 -1
  29. package/dist/vue/moped-BgEdFCRR.js +2 -0
  30. package/dist/vue/{moped.presenter-DazWxVEM.js → moped.presenter-DcPy3zuH.js} +1 -1
  31. package/dist/vue/motor-O91czupe.js +2 -0
  32. package/dist/vue/{motor.presenter-e_ESWwhI.js → motor.presenter-DnVQ-ilL.js} +1 -1
  33. package/dist/vue/package-CfGktfMo.js +2 -0
  34. package/dist/vue/{package.presenter-BA6S0X_L.js → package.presenter-Do9gvW9P.js} +2 -2
  35. package/dist/vue/pet-DUb7musC.js +2 -0
  36. package/dist/vue/{pet.presenter-BpDDlFSQ.js → pet.presenter-Bf2V3qfP.js} +46 -47
  37. package/dist/vue/travel-w0xAUioW.js +2 -0
  38. package/dist/vue/{travel.presenter-DeoXBmrT.js → travel.presenter-Aon0SVxf.js} +2 -2
  39. package/dist/wc/comparison-forms.css +1 -1
  40. package/dist/wc/comparison-forms.js +10 -10
  41. package/dist/wc-forms/bike.cjs +1 -1
  42. package/dist/wc-forms/birthdate.schema-bGqk4rzX.cjs +1 -0
  43. package/dist/wc-forms/car.cjs +1 -1
  44. package/dist/wc-forms/caravan.cjs +1 -1
  45. package/dist/wc-forms/{familyComposition.schema-DW6scNvt.cjs → familyComposition.schema-Uczfy7pt.cjs} +1 -1
  46. package/dist/wc-forms/house.cjs +1 -1
  47. package/dist/wc-forms/{houseOwnedBuilding.model-DgIQ2pQN.cjs → houseOwnedBuilding.model-mFWo0xXR.cjs} +1 -1
  48. package/dist/wc-forms/legal.cjs +1 -1
  49. package/dist/wc-forms/liability.cjs +1 -1
  50. package/dist/wc-forms/loan.cjs +1 -1
  51. package/dist/wc-forms/messages-LxWhVpAQ.cjs +1 -0
  52. package/dist/wc-forms/moped.cjs +1 -1
  53. package/dist/wc-forms/motor.cjs +1 -1
  54. package/dist/wc-forms/package.cjs +1 -1
  55. package/dist/wc-forms/pet.cjs +1 -1
  56. package/dist/wc-forms/travel.cjs +1 -1
  57. package/dist/wc-noitc/comparison-forms.css +1 -1
  58. package/dist/wc-noitc/comparison-forms.umd.cjs +1 -1
  59. package/package.json +2 -2
  60. package/dist/client/assets/index-4pAN-x4W.js +0 -58
  61. package/dist/client/assets/index-4pAN-x4W.js.br +0 -0
  62. package/dist/client/assets/index-m22ULrMh.css.br +0 -0
  63. package/dist/vue/bike-Ch7ZcSpI.js +0 -2
  64. package/dist/vue/car-jPvIXEVK.js +0 -2
  65. package/dist/vue/caravan-B8l6zEkk.js +0 -2
  66. package/dist/vue/house-BtQscoRa.js +0 -2
  67. package/dist/vue/legal-BjG3LO5G.js +0 -2
  68. package/dist/vue/liability-_Sp33TSY.js +0 -2
  69. package/dist/vue/loan-T0OYMmxG.js +0 -2
  70. package/dist/vue/moped-D9KUmwn6.js +0 -2
  71. package/dist/vue/motor-BEAQ5N4w.js +0 -2
  72. package/dist/vue/package-DjsxU0ny.js +0 -2
  73. package/dist/vue/pet-Bguvk2H4.js +0 -2
  74. package/dist/vue/travel-C_cvpQNA.js +0 -2
  75. package/dist/wc-forms/birthdate.schema-rpmbSDZH.cjs +0 -1
  76. package/dist/wc-forms/messages-stJTqN-x.cjs +0 -1
@@ -1,18 +1,18 @@
1
1
  import { l as e, s as t, t as n, u as r } from "./useValidator-B8ZuqyvJ.js";
2
2
  import { n as i, r as a, t as o } from "./company.schema-DStHJpGH.js";
3
3
  import { n as s, t as c } from "./itc-KSDsJZsI.js";
4
- import { n as l, t as u } from "./package.presenter-BA6S0X_L.js";
5
- import { n as d, t as f } from "./bike.presenter-CdCny1-M.js";
6
- import { n as p, t as m } from "./pet.presenter-BpDDlFSQ.js";
7
- import { n as h, t as g } from "./caravan.presenter-Cr5vuB_r.js";
8
- import { n as _, t as v } from "./travel.presenter-DeoXBmrT.js";
9
- import { n as y, t as b } from "./liability.presenter-C_5O-OQm.js";
10
- import { n as x, t as S } from "./house.presenter-DLeGfJAY.js";
11
- import { n as ee, t as te } from "./legal.presenter-CwEVdXZJ.js";
12
- import { n as C, t as w } from "./loan.presenter-CEZ3PcSo.js";
13
- import { n as T, t as E } from "./moped.presenter-DazWxVEM.js";
14
- import { n as D, t as O } from "./motor.presenter-e_ESWwhI.js";
15
- import { n as k, t as A } from "./car.presenter-gd62kiqS.js";
4
+ import { n as l, t as u } from "./package.presenter-Do9gvW9P.js";
5
+ import { n as d, t as f } from "./bike.presenter-B9IE_Rs_.js";
6
+ import { n as p, t as m } from "./pet.presenter-Bf2V3qfP.js";
7
+ import { n as h, t as g } from "./caravan.presenter-CLA_3-8l.js";
8
+ import { n as _, t as v } from "./travel.presenter-Aon0SVxf.js";
9
+ import { n as y, t as b } from "./liability.presenter-Dw2zIEih.js";
10
+ import { n as x, t as S } from "./house.presenter-CFYmkeST.js";
11
+ import { n as ee, t as te } from "./legal.presenter-CKqqhKlJ.js";
12
+ import { n as C, t as w } from "./loan.presenter-CdNnI1mj.js";
13
+ import { n as T, t as E } from "./moped.presenter-DcPy3zuH.js";
14
+ import { n as D, t as O } from "./motor.presenter-DnVQ-ilL.js";
15
+ import { n as k, t as A } from "./car.presenter-CE6OULN8.js";
16
16
  import { n as ne, t as re } from "./businessCar.presenter-DR-Ozf6B.js";
17
17
  import { n as ie, t as ae } from "./businessLiability.presenter-8iyRbLgw.js";
18
18
  import { computed as j, createBlock as M, createCommentVNode as N, createElementBlock as P, createElementVNode as F, createVNode as I, defineComponent as L, isRef as R, mergeProps as z, openBlock as B, ref as V, resolveDynamicComponent as H, shallowRef as U, toDisplayString as W, unref as G, watch as K, withModifiers as q } from "vue";
@@ -61,19 +61,19 @@ function Z(e) {
61
61
  //#endregion
62
62
  //#region src/comparisons/registry.ts
63
63
  var ue = {
64
- [r.Bike]: () => import("./bike-Ch7ZcSpI.js"),
65
- [r.Pet]: () => import("./pet-Bguvk2H4.js"),
66
- [r.Caravan]: () => import("./caravan-B8l6zEkk.js"),
67
- [r.Travel]: () => import("./travel-C_cvpQNA.js"),
68
- [r.Liability]: () => import("./liability-_Sp33TSY.js"),
69
- [r.Housing]: () => import("./house-BtQscoRa.js"),
70
- house: () => import("./house-BtQscoRa.js"),
71
- [r.LegalAssistance]: () => import("./legal-BjG3LO5G.js"),
72
- [r.Package]: () => import("./package-DjsxU0ny.js"),
73
- [r.Loan]: () => import("./loan-T0OYMmxG.js"),
74
- [r.Moped]: () => import("./moped-D9KUmwn6.js"),
75
- [r.Motor]: () => import("./motor-BEAQ5N4w.js"),
76
- [r.Car]: () => import("./car-jPvIXEVK.js"),
64
+ [r.Bike]: () => import("./bike-6sKFuz1o.js"),
65
+ [r.Pet]: () => import("./pet-DUb7musC.js"),
66
+ [r.Caravan]: () => import("./caravan-ClGIypn_.js"),
67
+ [r.Travel]: () => import("./travel-w0xAUioW.js"),
68
+ [r.Liability]: () => import("./liability-C6eVeyVd.js"),
69
+ [r.Housing]: () => import("./house-DMlFFHks.js"),
70
+ house: () => import("./house-DMlFFHks.js"),
71
+ [r.LegalAssistance]: () => import("./legal-DlCmrgH2.js"),
72
+ [r.Package]: () => import("./package-CfGktfMo.js"),
73
+ [r.Loan]: () => import("./loan-zhBF4CJ-.js"),
74
+ [r.Moped]: () => import("./moped-BgEdFCRR.js"),
75
+ [r.Motor]: () => import("./motor-O91czupe.js"),
76
+ [r.Car]: () => import("./car-B8G_AIyt.js"),
77
77
  [r.CarBusiness]: () => import("./car-business-DMYPV4UK.js"),
78
78
  "business-car": () => import("./car-business-DMYPV4UK.js"),
79
79
  [r.BusinessLiability]: () => import("./businessLiability-w4xhGnik.js")
@@ -1,6 +1,6 @@
1
1
  import { t as e } from "./familyComposition.enum-D26VYo_a.js";
2
2
  import { t } from "./VdSelect-Dv35x4sz.js";
3
- import { t as n } from "./messages-DRFu-PCu.js";
3
+ import { t as n } from "./messages-BNRgj8nq.js";
4
4
  import { n as r } from "./rules-3BZkSj_K.js";
5
5
  import { createBlock as i, createSlots as a, defineComponent as o, mergeModels as s, mergeProps as c, openBlock as l, renderSlot as u, unref as d, useModel as f, useSlots as p, withCtx as m } from "vue";
6
6
  import "yup";
@@ -0,0 +1,2 @@
1
+ import { n as e, t } from "./house.presenter-CFYmkeST.js";
2
+ export { e as Form, t as presenter };
@@ -3,9 +3,9 @@ import { t as o } from "./familyComposition.enum-D26VYo_a.js";
3
3
  import { n as s } from "./yesNo-BvJlCm7Y.js";
4
4
  import { t as c } from "./VdRadioGroup-D5kHcpsY.js";
5
5
  import { n as l, t as u } from "./useAddress-C-h1pGI5.js";
6
- import { r as d, t as f } from "./familyComposition.schema-CNMH-wP0.js";
7
- import { t as p } from "./messages-DRFu-PCu.js";
8
- import { n as m, t as h } from "./houseOwnedBuilding.model-BLLI1Vm0.js";
6
+ import { r as d, t as f } from "./familyComposition.schema-ULWBCzBj.js";
7
+ import { t as p } from "./messages-BNRgj8nq.js";
8
+ import { n as m, t as h } from "./houseOwnedBuilding.model-C9oqqZeA.js";
9
9
  import { createBlock as g, createVNode as _, defineComponent as v, isRef as y, mergeDefaults as b, mergeProps as x, openBlock as S, unref as C, withCtx as w } from "vue";
10
10
  import { object as T } from "yup";
11
11
  //#region src/comparisons/house/house.schema.ts
@@ -1,5 +1,5 @@
1
1
  import { n as e, t } from "./yesNo-BvJlCm7Y.js";
2
- import { t as n } from "./messages-DRFu-PCu.js";
2
+ import { t as n } from "./messages-BNRgj8nq.js";
3
3
  import { n as r } from "./rules-3BZkSj_K.js";
4
4
  import "yup";
5
5
  //#region src/schemas/ownedBuilding.schema.ts
@@ -0,0 +1,2 @@
1
+ import { n as e, t } from "./legal.presenter-CKqqhKlJ.js";
2
+ export { e as Form, t as presenter };
@@ -2,7 +2,7 @@ import { i as e, o as t, r as n, s as r, t as i, u as a } from "./useValidator-B
2
2
  import { n as o } from "./yesNo-BvJlCm7Y.js";
3
3
  import { t as s } from "./VdRadioGroup-D5kHcpsY.js";
4
4
  import { n as c, t as l } from "./useAddress-C-h1pGI5.js";
5
- import { n as u, t as d } from "./houseOwnedBuilding.model-BLLI1Vm0.js";
5
+ import { n as u, t as d } from "./houseOwnedBuilding.model-C9oqqZeA.js";
6
6
  import { createBlock as f, createVNode as p, defineComponent as m, isRef as h, mergeDefaults as g, mergeProps as _, openBlock as v, unref as y, withCtx as b } from "vue";
7
7
  import { object as x } from "yup";
8
8
  //#region src/comparisons/legal/legal.schema.ts
@@ -0,0 +1,2 @@
1
+ import { n as e, t } from "./liability.presenter-Dw2zIEih.js";
2
+ export { e as Form, t as presenter };
@@ -1,8 +1,8 @@
1
1
  import { i as e, o as t, r as n, s as r, t as i, u as a } from "./useValidator-B8ZuqyvJ.js";
2
2
  import { t as o } from "./familyComposition.enum-D26VYo_a.js";
3
3
  import { n as s, t as c } from "./useAddress-C-h1pGI5.js";
4
- import { a as l, t as u } from "./birthdate.schema-B9q6IeIR.js";
5
- import { n as d, r as f } from "./familyComposition.schema-CNMH-wP0.js";
4
+ import { a as l, t as u } from "./birthdate.schema-DTubRtz9.js";
5
+ import { n as d, r as f } from "./familyComposition.schema-ULWBCzBj.js";
6
6
  import { createBlock as p, createVNode as m, defineComponent as h, isRef as g, mergeDefaults as _, mergeProps as v, openBlock as y, unref as b, withCtx as x } from "vue";
7
7
  import { object as S } from "yup";
8
8
  //#region src/comparisons/liability/liability.schema.ts
@@ -0,0 +1,2 @@
1
+ import { n as e, t } from "./loan.presenter-CdNnI1mj.js";
2
+ export { e as Form, t as presenter };
@@ -2,10 +2,10 @@ import { i as e, o as t, r as n, s as r, t as i, u as a } from "./useValidator-B
2
2
  import { t as o } from "./familyComposition.enum-D26VYo_a.js";
3
3
  import { t as s } from "./VdInput-CRb-iTiH.js";
4
4
  import { t as c } from "./VdSelect-Dv35x4sz.js";
5
- import { a as l, i as u, t as d } from "./birthdate.schema-B9q6IeIR.js";
6
- import { n as f, r as p } from "./familyComposition.schema-CNMH-wP0.js";
5
+ import { a as l, i as u, t as d } from "./birthdate.schema-DTubRtz9.js";
6
+ import { n as f, r as p } from "./familyComposition.schema-ULWBCzBj.js";
7
7
  import { r as m } from "./date.util-DjJZwKvn.js";
8
- import { t as h } from "./messages-DRFu-PCu.js";
8
+ import { t as h } from "./messages-BNRgj8nq.js";
9
9
  import { t as g } from "./rules-3BZkSj_K.js";
10
10
  import { createBlock as _, createVNode as v, defineComponent as y, isRef as b, mergeDefaults as x, mergeProps as S, openBlock as C, unref as w, withCtx as T } from "vue";
11
11
  import { object as E, string as D } from "yup";
@@ -4,7 +4,8 @@ var e = {
4
4
  required: "Geboortedatum is verplicht",
5
5
  dateFormat: "Geboortedatum is incorrect",
6
6
  tooYoung: (e) => `De minimale leeftijd is ${e}.`,
7
- tooOld: (e) => `De maximale leeftijd is ${e}.`
7
+ tooOld: (e) => `De maximale leeftijd is ${e}.`,
8
+ inFuture: "Geboortedatum kan niet in de toekomst liggen."
8
9
  },
9
10
  familyComposition: { required: "Gezinssituatie is verplicht" },
10
11
  ownedBuilding: { required: "Deze vraag is verplicht" },
@@ -0,0 +1,2 @@
1
+ import { n as e, t } from "./moped.presenter-DcPy3zuH.js";
2
+ export { e as Form, t as presenter };
@@ -2,7 +2,7 @@ import { i as e, o as t, r as n, s as r, t as i, u as a } from "./useValidator-B
2
2
  import { t as o } from "./familyComposition.enum-D26VYo_a.js";
3
3
  import { t as s } from "./VdPopover-B78nVpNU.js";
4
4
  import { n as c, t as l } from "./useAddress-C-h1pGI5.js";
5
- import { a as u, t as d } from "./birthdate.schema-B9q6IeIR.js";
5
+ import { a as u, t as d } from "./birthdate.schema-DTubRtz9.js";
6
6
  import { n as f, t as p } from "./useLicensePlate-wAVrX9tr.js";
7
7
  import { createBlock as m, createVNode as h, defineComponent as g, isRef as _, mergeDefaults as v, mergeProps as y, openBlock as b, unref as x, withCtx as S } from "vue";
8
8
  import { object as C } from "yup";
@@ -0,0 +1,2 @@
1
+ import { n as e, t } from "./motor.presenter-DnVQ-ilL.js";
2
+ export { e as Form, t as presenter };
@@ -2,7 +2,7 @@ import { i as e, o as t, r as n, s as r, t as i, u as a } from "./useValidator-B
2
2
  import { t as o } from "./familyComposition.enum-D26VYo_a.js";
3
3
  import { t as s } from "./VdPopover-B78nVpNU.js";
4
4
  import { n as c, t as l } from "./useAddress-C-h1pGI5.js";
5
- import { a as u, t as d } from "./birthdate.schema-B9q6IeIR.js";
5
+ import { a as u, t as d } from "./birthdate.schema-DTubRtz9.js";
6
6
  import { n as f, t as p } from "./useLicensePlate-wAVrX9tr.js";
7
7
  import { createBlock as m, createVNode as h, defineComponent as g, isRef as _, mergeDefaults as v, mergeProps as y, openBlock as b, unref as x, withCtx as S } from "vue";
8
8
  import { object as C } from "yup";
@@ -0,0 +1,2 @@
1
+ import { n as e, t } from "./package.presenter-Do9gvW9P.js";
2
+ export { e as Form, t as presenter };
@@ -1,8 +1,8 @@
1
1
  import { i as e, o as t, r as n, s as r, t as i, u as a } from "./useValidator-B8ZuqyvJ.js";
2
2
  import { t as o } from "./familyComposition.enum-D26VYo_a.js";
3
3
  import { n as s, t as c } from "./useAddress-C-h1pGI5.js";
4
- import { a as l, t as u } from "./birthdate.schema-B9q6IeIR.js";
5
- import { n as d, r as f } from "./familyComposition.schema-CNMH-wP0.js";
4
+ import { a as l, t as u } from "./birthdate.schema-DTubRtz9.js";
5
+ import { n as d, r as f } from "./familyComposition.schema-ULWBCzBj.js";
6
6
  import { computed as p, createBlock as m, createCommentVNode as h, createVNode as g, defineComponent as _, isRef as v, mergeDefaults as y, mergeProps as b, openBlock as x, unref as S, watch as C, withCtx as w } from "vue";
7
7
  import { object as T, string as E } from "yup";
8
8
  //#region src/utils/familyComposition.util.ts
@@ -0,0 +1,2 @@
1
+ import { n as e, t } from "./pet.presenter-Bf2V3qfP.js";
2
+ export { e as Form, t as presenter };
@@ -2,32 +2,31 @@ import { i as e, o as t, r as n, s as r, t as i, u as a } from "./useValidator-B
2
2
  import { t as o } from "./VdInput-CRb-iTiH.js";
3
3
  import { t as s } from "./VdSelect-Dv35x4sz.js";
4
4
  import { t as c } from "./VdPopover-B78nVpNU.js";
5
- import { a as l, i as u, n as d, r as f } from "./birthdate.schema-B9q6IeIR.js";
6
- import { t as p } from "./messages-DRFu-PCu.js";
7
- import { createBlock as m, createVNode as h, defineComponent as g, isRef as _, mergeDefaults as v, mergeProps as y, openBlock as b, unref as x, withCtx as S } from "vue";
8
- import { object as C, string as w } from "yup";
5
+ import { a as l, n as u, r as d } from "./birthdate.schema-DTubRtz9.js";
6
+ import { t as f } from "./messages-BNRgj8nq.js";
7
+ import { createBlock as p, createVNode as m, defineComponent as h, isRef as g, mergeDefaults as _, mergeProps as v, openBlock as y, unref as b, withCtx as x } from "vue";
8
+ import { object as S, string as C } from "yup";
9
9
  //#region src/comparisons/pet/constants.ts
10
- var T = {
10
+ var w = {
11
11
  min: 0,
12
12
  max: 99
13
- }, E = C({
14
- kind: w().required(p.pet.kindRequired),
15
- age: w().required(p.birthdate.required).test("date_format", p.birthdate.dateFormat, d).test(f({
13
+ }, T = S({
14
+ kind: C().required(f.pet.kindRequired),
15
+ age: C().required(f.birthdate.required).test("date_format", f.birthdate.dateFormat, u).test(d({
16
16
  min: {
17
- value: 7,
18
- unit: "week"
17
+ value: w.min,
18
+ unit: "year"
19
19
  },
20
20
  max: {
21
- value: T.max,
21
+ value: w.max,
22
22
  unit: "year"
23
23
  }
24
24
  }, {
25
- future: () => p.birthdate.tooYoung(T.min),
26
- tooYoung: ({ earliest: e, latest: t }) => p.pet.outOfRange(e.format(u), t.format(u)),
27
- tooOld: () => p.birthdate.tooOld(T.max)
25
+ tooYoung: () => f.birthdate.inFuture,
26
+ tooOld: () => f.birthdate.tooOld(w.max)
28
27
  }, "birthdate_range")),
29
- zipCode: w().required(p.pet.zipCodeRequired).matches(/^\d{4}\s?[a-zA-Z]{2}$/, p.pet.zipCodeInvalid)
30
- }), D = [
28
+ zipCode: C().required(f.pet.zipCodeRequired).matches(/^\d{4}\s?[a-zA-Z]{2}$/, f.pet.zipCodeInvalid)
29
+ }), E = [
31
30
  {
32
31
  title: "Hond",
33
32
  value: "dog"
@@ -44,9 +43,9 @@ var T = {
44
43
  title: "Vogel",
45
44
  value: "bird"
46
45
  }
47
- ], O = /* @__PURE__ */ g({
46
+ ], D = /* @__PURE__ */ h({
48
47
  __name: "PetForm",
49
- props: /*@__PURE__*/ v({
48
+ props: /*@__PURE__*/ _({
50
49
  initialData: {},
51
50
  title: {},
52
51
  description: {},
@@ -63,52 +62,52 @@ var T = {
63
62
  }),
64
63
  emits: ["submitted"],
65
64
  setup(t, { emit: a }) {
66
- let u = t, d = r(u), f = a, { isSubmitting: p, handleSubmit: g, defineField: v } = i(E, {
65
+ let u = t, d = r(u), f = a, { isSubmitting: h, handleSubmit: _, defineField: S } = i(T, {
67
66
  kind: u.initialData?.kind ?? "dog",
68
67
  age: u.initialData?.age ?? "",
69
68
  zipCode: u.initialData?.zipCode ?? ""
70
- }), [C, w, T] = v("kind", { validateAt: "change" }), [O, k, A] = v("age"), [j, M, N] = v("zipCode");
69
+ }), [C, w, D] = S("kind", { validateAt: "change" }), [O, k, A] = S("age"), [j, M, N] = S("zipCode");
71
70
  function P() {
72
- g((e) => {
71
+ _((e) => {
73
72
  f("submitted", { ...e });
74
73
  });
75
74
  }
76
- return (r, i) => (b(), m(x(n), y(x(d), {
77
- "submit-disabled": t.submitDisabled || x(p),
75
+ return (r, i) => (y(), p(b(n), v(b(d), {
76
+ "submit-disabled": t.submitDisabled || b(h),
78
77
  onSubmit: P
79
78
  }), {
80
- default: S(() => [
81
- h(x(e), {
79
+ default: x(() => [
80
+ m(b(e), {
82
81
  span: "4",
83
82
  md: "6"
84
83
  }, {
85
- default: S(() => [h(x(s), y({
86
- modelValue: x(C),
87
- "onUpdate:modelValue": i[0] ||= (e) => _(C) ? C.value = e : null,
84
+ default: x(() => [m(b(s), v({
85
+ modelValue: b(C),
86
+ "onUpdate:modelValue": i[0] ||= (e) => g(C) ? C.value = e : null,
88
87
  label: "Wat voor huisdier wil je verzekeren?",
89
88
  placeholder: "",
90
- options: x(D),
89
+ options: b(E),
91
90
  name: "kind",
92
91
  required: !1,
93
- "error-message": x(T)
94
- }, x(w)), null, 16, [
92
+ "error-message": b(D)
93
+ }, b(w)), null, 16, [
95
94
  "modelValue",
96
95
  "options",
97
96
  "error-message"
98
97
  ])]),
99
98
  _: 1
100
99
  }),
101
- h(x(e), {
100
+ m(b(e), {
102
101
  span: "4",
103
102
  md: "6"
104
103
  }, {
105
- default: S(() => [h(x(l), y({
106
- modelValue: x(O),
107
- "onUpdate:modelValue": i[1] ||= (e) => _(O) ? O.value = e : null,
104
+ default: x(() => [m(b(l), v({
105
+ modelValue: b(O),
106
+ "onUpdate:modelValue": i[1] ||= (e) => g(O) ? O.value = e : null,
108
107
  label: "Geboortedatum huisdier",
109
- "error-message": x(A)
110
- }, x(k)), {
111
- popover: S(() => [h(x(c), {
108
+ "error-message": b(A)
109
+ }, b(k)), {
110
+ popover: x(() => [m(b(c), {
112
111
  "ref-variant": "blue-icon",
113
112
  "tooltip-variant": "blue",
114
113
  "tooltip-size": "small",
@@ -121,22 +120,22 @@ var T = {
121
120
  }, 16, ["modelValue", "error-message"])]),
122
121
  _: 1
123
122
  }),
124
- h(x(e), {
123
+ m(b(e), {
125
124
  span: "2",
126
125
  md: "6"
127
126
  }, {
128
- default: S(() => [h(x(o), y({
129
- modelValue: x(j),
130
- "onUpdate:modelValue": i[2] ||= (e) => _(j) ? j.value = e : null,
127
+ default: x(() => [m(b(o), v({
128
+ modelValue: b(j),
129
+ "onUpdate:modelValue": i[2] ||= (e) => g(j) ? j.value = e : null,
131
130
  label: "Postcode",
132
131
  placeholder: "bv. 1234 AZ",
133
132
  name: "zipCode",
134
133
  mask: "####@@",
135
134
  capitalize: "",
136
135
  required: !1,
137
- "error-message": x(N)
138
- }, x(M)), {
139
- popover: S(() => [h(x(c), {
136
+ "error-message": b(N)
137
+ }, b(M)), {
138
+ popover: x(() => [m(b(c), {
140
139
  "ref-variant": "blue-icon",
141
140
  "tooltip-variant": "blue",
142
141
  "tooltip-size": "small",
@@ -156,7 +155,7 @@ var T = {
156
155
  });
157
156
  //#endregion
158
157
  //#region src/comparisons/pet/pet.presenter.ts
159
- function k(e) {
158
+ function O(e) {
160
159
  return {
161
160
  comparison: a.Pet,
162
161
  detail: { pet: {
@@ -167,4 +166,4 @@ function k(e) {
167
166
  };
168
167
  }
169
168
  //#endregion
170
- export { O as n, k as t };
169
+ export { D as n, O as t };
@@ -0,0 +1,2 @@
1
+ import { n as e, t } from "./travel.presenter-Aon0SVxf.js";
2
+ export { e as Form, t as presenter };
@@ -1,8 +1,8 @@
1
1
  import { i as e, o as t, r as n, s as r, t as i, u as a } from "./useValidator-B8ZuqyvJ.js";
2
2
  import { t as o } from "./VdRadioGroup-D5kHcpsY.js";
3
3
  import { t as s } from "./VdPopover-B78nVpNU.js";
4
- import { a as c, t as l } from "./birthdate.schema-B9q6IeIR.js";
5
- import { t as u } from "./messages-DRFu-PCu.js";
4
+ import { a as c, t as l } from "./birthdate.schema-DTubRtz9.js";
5
+ import { t as u } from "./messages-BNRgj8nq.js";
6
6
  import { n as d } from "./rules-3BZkSj_K.js";
7
7
  import { createBlock as f, createVNode as p, defineComponent as m, isRef as h, mergeDefaults as g, mergeProps as _, openBlock as v, unref as y, withCtx as b } from "vue";
8
8
  import { object as x } from "yup";