@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.
- package/dist/client/.vite/ssr-manifest.json +598 -1238
- package/dist/client/assets/{index-m22ULrMh.css → index-6Enzr9rU.css} +1 -1
- package/dist/client/assets/index-6Enzr9rU.css.br +0 -0
- package/dist/client/assets/index-DUchBxEo.js +57 -0
- package/dist/client/assets/index-DUchBxEo.js.br +0 -0
- package/dist/client/index.html +2 -2
- package/dist/server/entry-server.js +3674 -3779
- package/dist/server/entry-server.js.br +0 -0
- package/dist/vue/bike-6sKFuz1o.js +2 -0
- package/dist/vue/{bike.presenter-CdCny1-M.js → bike.presenter-B9IE_Rs_.js} +1 -1
- package/dist/vue/{birthdate.schema-B9q6IeIR.js → birthdate.schema-DTubRtz9.js} +5 -5
- package/dist/vue/car-B8G_AIyt.js +2 -0
- package/dist/vue/{car.presenter-gd62kiqS.js → car.presenter-CE6OULN8.js} +1 -1
- package/dist/vue/caravan-ClGIypn_.js +2 -0
- package/dist/vue/{caravan.presenter-Cr5vuB_r.js → caravan.presenter-CLA_3-8l.js} +1 -1
- package/dist/vue/comparison-forms.css +1 -1
- package/dist/vue/comparison-forms.js +25 -25
- package/dist/vue/{familyComposition.schema-CNMH-wP0.js → familyComposition.schema-ULWBCzBj.js} +1 -1
- package/dist/vue/house-DMlFFHks.js +2 -0
- package/dist/vue/{house.presenter-DLeGfJAY.js → house.presenter-CFYmkeST.js} +3 -3
- package/dist/vue/{houseOwnedBuilding.model-BLLI1Vm0.js → houseOwnedBuilding.model-C9oqqZeA.js} +1 -1
- package/dist/vue/legal-DlCmrgH2.js +2 -0
- package/dist/vue/{legal.presenter-CwEVdXZJ.js → legal.presenter-CKqqhKlJ.js} +1 -1
- package/dist/vue/liability-C6eVeyVd.js +2 -0
- package/dist/vue/{liability.presenter-C_5O-OQm.js → liability.presenter-Dw2zIEih.js} +2 -2
- package/dist/vue/loan-zhBF4CJ-.js +2 -0
- package/dist/vue/{loan.presenter-CEZ3PcSo.js → loan.presenter-CdNnI1mj.js} +3 -3
- package/dist/vue/{messages-DRFu-PCu.js → messages-BNRgj8nq.js} +2 -1
- package/dist/vue/moped-BgEdFCRR.js +2 -0
- package/dist/vue/{moped.presenter-DazWxVEM.js → moped.presenter-DcPy3zuH.js} +1 -1
- package/dist/vue/motor-O91czupe.js +2 -0
- package/dist/vue/{motor.presenter-e_ESWwhI.js → motor.presenter-DnVQ-ilL.js} +1 -1
- package/dist/vue/package-CfGktfMo.js +2 -0
- package/dist/vue/{package.presenter-BA6S0X_L.js → package.presenter-Do9gvW9P.js} +2 -2
- package/dist/vue/pet-DUb7musC.js +2 -0
- package/dist/vue/{pet.presenter-BpDDlFSQ.js → pet.presenter-Bf2V3qfP.js} +46 -47
- package/dist/vue/travel-w0xAUioW.js +2 -0
- package/dist/vue/{travel.presenter-DeoXBmrT.js → travel.presenter-Aon0SVxf.js} +2 -2
- package/dist/wc/comparison-forms.css +1 -1
- package/dist/wc/comparison-forms.js +10 -10
- package/dist/wc-forms/bike.cjs +1 -1
- package/dist/wc-forms/birthdate.schema-bGqk4rzX.cjs +1 -0
- package/dist/wc-forms/car.cjs +1 -1
- package/dist/wc-forms/caravan.cjs +1 -1
- package/dist/wc-forms/{familyComposition.schema-DW6scNvt.cjs → familyComposition.schema-Uczfy7pt.cjs} +1 -1
- package/dist/wc-forms/house.cjs +1 -1
- package/dist/wc-forms/{houseOwnedBuilding.model-DgIQ2pQN.cjs → houseOwnedBuilding.model-mFWo0xXR.cjs} +1 -1
- package/dist/wc-forms/legal.cjs +1 -1
- package/dist/wc-forms/liability.cjs +1 -1
- package/dist/wc-forms/loan.cjs +1 -1
- package/dist/wc-forms/messages-LxWhVpAQ.cjs +1 -0
- package/dist/wc-forms/moped.cjs +1 -1
- package/dist/wc-forms/motor.cjs +1 -1
- package/dist/wc-forms/package.cjs +1 -1
- package/dist/wc-forms/pet.cjs +1 -1
- package/dist/wc-forms/travel.cjs +1 -1
- package/dist/wc-noitc/comparison-forms.css +1 -1
- package/dist/wc-noitc/comparison-forms.umd.cjs +1 -1
- package/package.json +2 -2
- package/dist/client/assets/index-4pAN-x4W.js +0 -58
- package/dist/client/assets/index-4pAN-x4W.js.br +0 -0
- package/dist/client/assets/index-m22ULrMh.css.br +0 -0
- package/dist/vue/bike-Ch7ZcSpI.js +0 -2
- package/dist/vue/car-jPvIXEVK.js +0 -2
- package/dist/vue/caravan-B8l6zEkk.js +0 -2
- package/dist/vue/house-BtQscoRa.js +0 -2
- package/dist/vue/legal-BjG3LO5G.js +0 -2
- package/dist/vue/liability-_Sp33TSY.js +0 -2
- package/dist/vue/loan-T0OYMmxG.js +0 -2
- package/dist/vue/moped-D9KUmwn6.js +0 -2
- package/dist/vue/motor-BEAQ5N4w.js +0 -2
- package/dist/vue/package-DjsxU0ny.js +0 -2
- package/dist/vue/pet-Bguvk2H4.js +0 -2
- package/dist/vue/travel-C_cvpQNA.js +0 -2
- package/dist/wc-forms/birthdate.schema-rpmbSDZH.cjs +0 -1
- 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-
|
|
5
|
-
import { n as d, t as f } from "./bike.presenter-
|
|
6
|
-
import { n as p, t as m } from "./pet.presenter-
|
|
7
|
-
import { n as h, t as g } from "./caravan.presenter-
|
|
8
|
-
import { n as _, t as v } from "./travel.presenter-
|
|
9
|
-
import { n as y, t as b } from "./liability.presenter-
|
|
10
|
-
import { n as x, t as S } from "./house.presenter-
|
|
11
|
-
import { n as ee, t as te } from "./legal.presenter-
|
|
12
|
-
import { n as C, t as w } from "./loan.presenter-
|
|
13
|
-
import { n as T, t as E } from "./moped.presenter-
|
|
14
|
-
import { n as D, t as O } from "./motor.presenter-
|
|
15
|
-
import { n as k, t as A } from "./car.presenter-
|
|
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-
|
|
65
|
-
[r.Pet]: () => import("./pet-
|
|
66
|
-
[r.Caravan]: () => import("./caravan-
|
|
67
|
-
[r.Travel]: () => import("./travel-
|
|
68
|
-
[r.Liability]: () => import("./liability-
|
|
69
|
-
[r.Housing]: () => import("./house-
|
|
70
|
-
house: () => import("./house-
|
|
71
|
-
[r.LegalAssistance]: () => import("./legal-
|
|
72
|
-
[r.Package]: () => import("./package-
|
|
73
|
-
[r.Loan]: () => import("./loan-
|
|
74
|
-
[r.Moped]: () => import("./moped-
|
|
75
|
-
[r.Motor]: () => import("./motor-
|
|
76
|
-
[r.Car]: () => import("./car-
|
|
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")
|
package/dist/vue/{familyComposition.schema-CNMH-wP0.js → familyComposition.schema-ULWBCzBj.js}
RENAMED
|
@@ -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-
|
|
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";
|
|
@@ -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-
|
|
7
|
-
import { t as p } from "./messages-
|
|
8
|
-
import { n as m, t as h } from "./houseOwnedBuilding.model-
|
|
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
|
|
@@ -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-
|
|
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
|
|
@@ -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-
|
|
5
|
-
import { n as d, r as f } from "./familyComposition.schema-
|
|
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
|
|
@@ -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-
|
|
6
|
-
import { n as f, r as p } from "./familyComposition.schema-
|
|
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-
|
|
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" },
|
|
@@ -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-
|
|
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";
|
|
@@ -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-
|
|
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";
|
|
@@ -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-
|
|
5
|
-
import { n as d, r as f } from "./familyComposition.schema-
|
|
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
|
|
@@ -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,
|
|
6
|
-
import { t as
|
|
7
|
-
import { createBlock as
|
|
8
|
-
import { object as
|
|
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
|
|
10
|
+
var w = {
|
|
11
11
|
min: 0,
|
|
12
12
|
max: 99
|
|
13
|
-
},
|
|
14
|
-
kind:
|
|
15
|
-
age:
|
|
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:
|
|
18
|
-
unit: "
|
|
17
|
+
value: w.min,
|
|
18
|
+
unit: "year"
|
|
19
19
|
},
|
|
20
20
|
max: {
|
|
21
|
-
value:
|
|
21
|
+
value: w.max,
|
|
22
22
|
unit: "year"
|
|
23
23
|
}
|
|
24
24
|
}, {
|
|
25
|
-
|
|
26
|
-
|
|
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:
|
|
30
|
-
}),
|
|
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
|
-
],
|
|
46
|
+
], D = /* @__PURE__ */ h({
|
|
48
47
|
__name: "PetForm",
|
|
49
|
-
props: /*@__PURE__*/
|
|
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:
|
|
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,
|
|
69
|
+
}), [C, w, D] = S("kind", { validateAt: "change" }), [O, k, A] = S("age"), [j, M, N] = S("zipCode");
|
|
71
70
|
function P() {
|
|
72
|
-
|
|
71
|
+
_((e) => {
|
|
73
72
|
f("submitted", { ...e });
|
|
74
73
|
});
|
|
75
74
|
}
|
|
76
|
-
return (r, i) => (
|
|
77
|
-
"submit-disabled": t.submitDisabled ||
|
|
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:
|
|
81
|
-
|
|
79
|
+
default: x(() => [
|
|
80
|
+
m(b(e), {
|
|
82
81
|
span: "4",
|
|
83
82
|
md: "6"
|
|
84
83
|
}, {
|
|
85
|
-
default:
|
|
86
|
-
modelValue:
|
|
87
|
-
"onUpdate:modelValue": i[0] ||= (e) =>
|
|
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:
|
|
89
|
+
options: b(E),
|
|
91
90
|
name: "kind",
|
|
92
91
|
required: !1,
|
|
93
|
-
"error-message":
|
|
94
|
-
},
|
|
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
|
-
|
|
100
|
+
m(b(e), {
|
|
102
101
|
span: "4",
|
|
103
102
|
md: "6"
|
|
104
103
|
}, {
|
|
105
|
-
default:
|
|
106
|
-
modelValue:
|
|
107
|
-
"onUpdate:modelValue": i[1] ||= (e) =>
|
|
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":
|
|
110
|
-
},
|
|
111
|
-
popover:
|
|
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
|
-
|
|
123
|
+
m(b(e), {
|
|
125
124
|
span: "2",
|
|
126
125
|
md: "6"
|
|
127
126
|
}, {
|
|
128
|
-
default:
|
|
129
|
-
modelValue:
|
|
130
|
-
"onUpdate:modelValue": i[2] ||= (e) =>
|
|
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":
|
|
138
|
-
},
|
|
139
|
-
popover:
|
|
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
|
|
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 {
|
|
169
|
+
export { D as n, O as t };
|
|
@@ -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-
|
|
5
|
-
import { t as u } from "./messages-
|
|
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";
|