@vergelijkdirect/comparison-forms 1.2.35-rc.15 → 1.2.35-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.
|
@@ -17417,7 +17417,7 @@ const nt = () => {
|
|
|
17417
17417
|
if (!w.includes(C) || m[C] !== g[C])
|
|
17418
17418
|
return !0;
|
|
17419
17419
|
return !1;
|
|
17420
|
-
}, f = () => p(e.userInformation, O), h = (m) => p(e.insuranceState, m);
|
|
17420
|
+
}, f = () => p(e.userInformation, O), h = (m) => m ? p(e.insuranceState, m) : !1;
|
|
17421
17421
|
return {
|
|
17422
17422
|
submitFormAndRedirect: n,
|
|
17423
17423
|
submitFormAndUpdateFormData: a,
|
|
@@ -17427,7 +17427,7 @@ const nt = () => {
|
|
|
17427
17427
|
removeSessionState: c,
|
|
17428
17428
|
openQuotationModal: s,
|
|
17429
17429
|
setQuotationData: l,
|
|
17430
|
-
checkIsFormNotChanged: (m = null) => (console.warn("-----"), console.warn(m), console.warn(e.insuranceState), console.warn(f()), console.warn(
|
|
17430
|
+
checkIsFormNotChanged: (m = null) => (console.warn("-----"), console.warn(O), console.warn(e.userInformation), console.warn(m), console.warn(e.insuranceState), console.warn(f()), console.warn(h(m)), console.warn(!(f() || h(m))), console.warn("-----"), !(f() || h(m))),
|
|
17431
17431
|
confirmFormWithoutChanges: () => {
|
|
17432
17432
|
r("confirm-form-without-changes");
|
|
17433
17433
|
}
|
|
@@ -27583,7 +27583,7 @@ var n_ = /* @__PURE__ */ T(
|
|
|
27583
27583
|
null
|
|
27584
27584
|
);
|
|
27585
27585
|
n_.options.__file = "/Users/mac/Work/comparison-forms/src/insurances/liability/components/forms/LiabilityFormHorizontal.vue";
|
|
27586
|
-
const QN = n_.exports,
|
|
27586
|
+
const QN = n_.exports, eI = A({
|
|
27587
27587
|
name: "LiabilityFormOld",
|
|
27588
27588
|
components: {
|
|
27589
27589
|
ErrorHandler: G,
|
|
@@ -27651,12 +27651,12 @@ var a_ = function() {
|
|
|
27651
27651
|
}, expression: "userState.birthdate" } }), r("family-composition-input", { model: { value: e.userState.familyComposition, callback: function(n) {
|
|
27652
27652
|
e.$set(e.userState, "familyComposition", n);
|
|
27653
27653
|
}, expression: "userState.familyComposition" } }), r("div", { staticClass: "btn-a btn-a--success btn-a--bold cursor-pointer btn-block cursor-pointer", attrs: { disabled: e.isRequestIsHandling }, on: { click: e.validateBeforeSubmit } }, [e._v(" Vergelijken ")])], 1)])], 1);
|
|
27654
|
-
},
|
|
27654
|
+
}, tI = [];
|
|
27655
27655
|
a_._withStripped = !0;
|
|
27656
27656
|
var i_ = /* @__PURE__ */ T(
|
|
27657
|
-
|
|
27657
|
+
eI,
|
|
27658
27658
|
a_,
|
|
27659
|
-
|
|
27659
|
+
tI,
|
|
27660
27660
|
!1,
|
|
27661
27661
|
null,
|
|
27662
27662
|
null,
|
|
@@ -27664,7 +27664,7 @@ var i_ = /* @__PURE__ */ T(
|
|
|
27664
27664
|
null
|
|
27665
27665
|
);
|
|
27666
27666
|
i_.options.__file = "/Users/mac/Work/comparison-forms/src/insurances/liability/components/forms/LiabilityFormOld.vue";
|
|
27667
|
-
const
|
|
27667
|
+
const rI = i_.exports, nI = () => {
|
|
27668
27668
|
const t = {
|
|
27669
27669
|
license: it.license,
|
|
27670
27670
|
zipcode: O.zipcode,
|
|
@@ -27673,9 +27673,9 @@ const r2 = i_.exports, n2 = () => {
|
|
|
27673
27673
|
birthdate: O.birthdate
|
|
27674
27674
|
};
|
|
27675
27675
|
return t.housenumberaddition || delete t.housenumberaddition, t;
|
|
27676
|
-
},
|
|
27676
|
+
}, aI = Te({});
|
|
27677
27677
|
let Vp = x(!1), fa = x(!1), gn = x(!1);
|
|
27678
|
-
const
|
|
27678
|
+
const iI = { min: 16, max: 99 }, Xc = () => {
|
|
27679
27679
|
const t = je("props"), {
|
|
27680
27680
|
submitFormAndRedirect: e,
|
|
27681
27681
|
submitFormAndUpdateFormData: r,
|
|
@@ -27736,7 +27736,7 @@ const i2 = { min: 16, max: 99 }, Xc = () => {
|
|
|
27736
27736
|
}
|
|
27737
27737
|
if (yield s())
|
|
27738
27738
|
if (t.formLocation === P.isBeforeFlow) {
|
|
27739
|
-
const h =
|
|
27739
|
+
const h = nI();
|
|
27740
27740
|
e(t.link, h);
|
|
27741
27741
|
} else
|
|
27742
27742
|
r({ userInformation: O, mopedState: it, licenseInformation: ln.moped, showCatalogValueField: fa.value });
|
|
@@ -27750,17 +27750,17 @@ const i2 = { min: 16, max: 99 }, Xc = () => {
|
|
|
27750
27750
|
}), {
|
|
27751
27751
|
userState: O,
|
|
27752
27752
|
mopedState: it,
|
|
27753
|
-
vehicle:
|
|
27753
|
+
vehicle: aI,
|
|
27754
27754
|
houseError: Vp,
|
|
27755
27755
|
showCatalogValueField: fa,
|
|
27756
27756
|
showPurchaseValueField: gn,
|
|
27757
27757
|
maxPurchaseValue: u,
|
|
27758
27758
|
errorsData: l,
|
|
27759
|
-
acceptableAges:
|
|
27759
|
+
acceptableAges: iI,
|
|
27760
27760
|
onLicenseInput: d,
|
|
27761
27761
|
validateBeforeSubmit: p
|
|
27762
27762
|
};
|
|
27763
|
-
},
|
|
27763
|
+
}, oI = A({
|
|
27764
27764
|
name: "MopedForm",
|
|
27765
27765
|
components: {
|
|
27766
27766
|
LicensePlate: ar,
|
|
@@ -27856,12 +27856,12 @@ var o_ = function() {
|
|
|
27856
27856
|
}, expression: "mopedState.catalogValue" } }) : e._e(), r("div", { staticClass: "vd-form-group" }, [r("address-handler", { attrs: { "zipcode-name": "zipcode", "house-number-name": "housenumber", "house-number-addition-name": "housenumberaddition", zipcode: e.userState.zipcode, "house-number": e.userState.houseNumber, "house-number-addition": e.userState.houseNumberAddition }, on: { "update-zipcode": (n) => e.userState.zipcode = n, "update-house-number": (n) => e.userState.houseNumber = n, "update-house-number-addition": (n) => e.userState.houseNumberAddition = n, "address-correct": (n) => e.houseError = !n } })], 1), r("birthdate-input", { attrs: { "ages-range": { min: e.acceptableAges.min, max: e.acceptableAges.max } }, model: { value: e.userState.birthdate, callback: function(n) {
|
|
27857
27857
|
e.$set(e.userState, "birthdate", n);
|
|
27858
27858
|
}, expression: "userState.birthdate" } })], 1), r("div", { staticClass: "vd-form-card__footer" }, [r("button", { staticClass: "vd-btn vd-btn-green vd-btn-w-100", attrs: { disabled: e.isRequestIsHandling }, on: { click: e.validateBeforeSubmit } }, [e._v(" Vergelijken ")])])]);
|
|
27859
|
-
},
|
|
27859
|
+
}, sI = [];
|
|
27860
27860
|
o_._withStripped = !0;
|
|
27861
27861
|
var s_ = /* @__PURE__ */ T(
|
|
27862
|
-
|
|
27862
|
+
oI,
|
|
27863
27863
|
o_,
|
|
27864
|
-
|
|
27864
|
+
sI,
|
|
27865
27865
|
!1,
|
|
27866
27866
|
null,
|
|
27867
27867
|
null,
|
|
@@ -27869,7 +27869,7 @@ var s_ = /* @__PURE__ */ T(
|
|
|
27869
27869
|
null
|
|
27870
27870
|
);
|
|
27871
27871
|
s_.options.__file = "/Users/mac/Work/comparison-forms/src/insurances/moped/components/forms/MopedForm.vue";
|
|
27872
|
-
const
|
|
27872
|
+
const uI = s_.exports, lI = A({
|
|
27873
27873
|
name: "MopedFormHorizontal",
|
|
27874
27874
|
components: {
|
|
27875
27875
|
LicensePlate: ar,
|
|
@@ -27958,12 +27958,12 @@ var u_ = function() {
|
|
|
27958
27958
|
}, expression: "mopedState.license" } }), r("div", { staticClass: "vd-form-group vd-form-group--address-handler-block" }, [r("address-handler", { attrs: { "zipcode-name": "zipcode", template: "FORM_HORIZONTAL", "house-number-name": "housenumber", "house-number-addition-name": "housenumberaddition", zipcode: e.userState.zipcode, "house-number": e.userState.houseNumber, "house-number-addition": e.userState.houseNumberAddition }, on: { "update-zipcode": (n) => e.userState.zipcode = n, "update-house-number": (n) => e.userState.houseNumber = n, "update-house-number-addition": (n) => e.userState.houseNumberAddition = n, "address-correct": (n) => e.houseError = !n } })], 1), r("birthdate-input", { attrs: { "ages-range": { min: e.acceptableAges.min, max: e.acceptableAges.max } }, model: { value: e.userState.birthdate, callback: function(n) {
|
|
27959
27959
|
e.$set(e.userState, "birthdate", n);
|
|
27960
27960
|
}, expression: "userState.birthdate" } }), r("div", { staticClass: "vd-form-group vd-form-group__button" }, [r("button", { class: e.hasNewDesign ? "vd-btn vd-btn-green vd-btn-w-100" : "btn-a btn-a--success btn-a--bold btn-block cursor-pointer", attrs: { disabled: e.isRequestIsHandling } }, [e._v(" Vergelijken ")])])], 1)])]);
|
|
27961
|
-
},
|
|
27961
|
+
}, cI = [];
|
|
27962
27962
|
u_._withStripped = !0;
|
|
27963
27963
|
var l_ = /* @__PURE__ */ T(
|
|
27964
|
-
|
|
27964
|
+
lI,
|
|
27965
27965
|
u_,
|
|
27966
|
-
|
|
27966
|
+
cI,
|
|
27967
27967
|
!1,
|
|
27968
27968
|
null,
|
|
27969
27969
|
null,
|
|
@@ -27971,7 +27971,7 @@ var l_ = /* @__PURE__ */ T(
|
|
|
27971
27971
|
null
|
|
27972
27972
|
);
|
|
27973
27973
|
l_.options.__file = "/Users/mac/Work/comparison-forms/src/insurances/moped/components/forms/MopedFormHorizontal.vue";
|
|
27974
|
-
const
|
|
27974
|
+
const dI = l_.exports, fI = A({
|
|
27975
27975
|
name: "MopedFormOld",
|
|
27976
27976
|
components: {
|
|
27977
27977
|
LicensePlate: ar,
|
|
@@ -28069,12 +28069,12 @@ var c_ = function() {
|
|
|
28069
28069
|
}, expression: "mopedState.catalogValue" } })], 1) : e._e(), r("address-handler", { attrs: { "zipcode-name": "zipcode", "house-number-name": "housenumber", "house-number-addition-name": "housenumberaddition", zipcode: e.userState.zipcode, "house-number": e.userState.houseNumber, "house-number-addition": e.userState.houseNumberAddition }, on: { "update-zipcode": (n) => e.userState.zipcode = n, "update-house-number": (n) => e.userState.houseNumber = n, "update-house-number-addition": (n) => e.userState.houseNumberAddition = n, "address-correct": (n) => e.houseError = !n } }), r("div", { staticClass: "vd-form-group" }, [r("birthdate-input", { attrs: { "ages-range": { min: e.acceptableAges.min, max: e.acceptableAges.max } }, model: { value: e.userState.birthdate, callback: function(n) {
|
|
28070
28070
|
e.$set(e.userState, "birthdate", n);
|
|
28071
28071
|
}, expression: "userState.birthdate" } })], 1), r("div", { staticClass: "vd-form-group" }, [r("button", { staticClass: "btn-a btn-a--success btn-a--bold btn-block", attrs: { disabled: e.isRequestIsHandling } }, [e._v(" Vergelijken ")])])], 1)])]);
|
|
28072
|
-
},
|
|
28072
|
+
}, pI = [];
|
|
28073
28073
|
c_._withStripped = !0;
|
|
28074
28074
|
var d_ = /* @__PURE__ */ T(
|
|
28075
|
-
|
|
28075
|
+
fI,
|
|
28076
28076
|
c_,
|
|
28077
|
-
|
|
28077
|
+
pI,
|
|
28078
28078
|
!1,
|
|
28079
28079
|
null,
|
|
28080
28080
|
null,
|
|
@@ -28082,11 +28082,11 @@ var d_ = /* @__PURE__ */ T(
|
|
|
28082
28082
|
null
|
|
28083
28083
|
);
|
|
28084
28084
|
d_.options.__file = "/Users/mac/Work/comparison-forms/src/insurances/moped/components/forms/MopedFormOld.vue";
|
|
28085
|
-
const
|
|
28085
|
+
const hI = d_.exports, mI = () => [{
|
|
28086
28086
|
name: "motor",
|
|
28087
28087
|
data: $t
|
|
28088
28088
|
}];
|
|
28089
|
-
let
|
|
28089
|
+
let vI = x(!1), qp = x(!1), gI = x(!1);
|
|
28090
28090
|
const Jc = () => {
|
|
28091
28091
|
const t = je("props"), {
|
|
28092
28092
|
submitFormAndCreateComparison: e,
|
|
@@ -28117,7 +28117,7 @@ const Jc = () => {
|
|
|
28117
28117
|
u();
|
|
28118
28118
|
return;
|
|
28119
28119
|
}
|
|
28120
|
-
(yield c()) && (t.formLocation === P.isOnCoveragePage ? r({ userInformation: O, motorState: $t }) : yield e("motor",
|
|
28120
|
+
(yield c()) && (t.formLocation === P.isOnCoveragePage ? r({ userInformation: O, motorState: $t }) : yield e("motor", mI(), l()));
|
|
28121
28121
|
} catch (f) {
|
|
28122
28122
|
p(f);
|
|
28123
28123
|
}
|
|
@@ -28131,12 +28131,12 @@ const Jc = () => {
|
|
|
28131
28131
|
}), {
|
|
28132
28132
|
userState: O,
|
|
28133
28133
|
motorState: $t,
|
|
28134
|
-
showLicenseInfo:
|
|
28134
|
+
showLicenseInfo: vI,
|
|
28135
28135
|
houseError: qp,
|
|
28136
|
-
showHouseInformation:
|
|
28136
|
+
showHouseInformation: gI,
|
|
28137
28137
|
validateBeforeSubmit: d
|
|
28138
28138
|
};
|
|
28139
|
-
},
|
|
28139
|
+
}, yI = A({
|
|
28140
28140
|
name: "MotorForm",
|
|
28141
28141
|
components: {
|
|
28142
28142
|
LicensePlate: ar,
|
|
@@ -28213,12 +28213,12 @@ var f_ = function() {
|
|
|
28213
28213
|
}, expression: "motorState.LicensePlate" } }), r("div", { staticClass: "vd-form-group" }, [r("address-handler", { attrs: { "zipcode-name": "zipcode", "house-number-name": "housenumber", "house-number-addition-name": "housenumberaddition", zipcode: e.userState.zipcode, "house-number": e.userState.houseNumber, "house-number-addition": e.userState.houseNumberAddition }, on: { "update-zipcode": (n) => e.userState.zipcode = n, "update-house-number": (n) => e.userState.houseNumber = n, "update-house-number-addition": (n) => e.userState.houseNumberAddition = n, "address-correct": (n) => e.houseError = !n } })], 1), r("birthdate-input", { model: { value: e.userState.birthdate, callback: function(n) {
|
|
28214
28214
|
e.$set(e.userState, "birthdate", n);
|
|
28215
28215
|
}, expression: "userState.birthdate" } })], 1), r("div", { staticClass: "vd-form-card__footer" }, [r("button", { staticClass: "vd-btn vd-btn-green vd-btn-w-100", attrs: { disabled: e.isRequestIsHandling }, on: { click: e.validateBeforeSubmit } }, [e._v(" Vergelijken ")])])]);
|
|
28216
|
-
},
|
|
28216
|
+
}, _I = [];
|
|
28217
28217
|
f_._withStripped = !0;
|
|
28218
28218
|
var p_ = /* @__PURE__ */ T(
|
|
28219
|
-
|
|
28219
|
+
yI,
|
|
28220
28220
|
f_,
|
|
28221
|
-
|
|
28221
|
+
_I,
|
|
28222
28222
|
!1,
|
|
28223
28223
|
null,
|
|
28224
28224
|
null,
|
|
@@ -28226,7 +28226,7 @@ var p_ = /* @__PURE__ */ T(
|
|
|
28226
28226
|
null
|
|
28227
28227
|
);
|
|
28228
28228
|
p_.options.__file = "/Users/mac/Work/comparison-forms/src/insurances/motor/components/forms/MotorForm.vue";
|
|
28229
|
-
const
|
|
28229
|
+
const bI = p_.exports, wI = A({
|
|
28230
28230
|
name: "MotorFormHorizontal",
|
|
28231
28231
|
components: {
|
|
28232
28232
|
LicensePlate: ar,
|
|
@@ -28299,12 +28299,12 @@ var h_ = function() {
|
|
|
28299
28299
|
}, expression: "motorState.LicensePlate" } }), r("div", { staticClass: "vd-form-group vd-form-group--address-handler-block" }, [r("address-handler", { attrs: { "zipcode-name": "zipcode", "house-number-name": "housenumber", template: "FORM_HORIZONTAL", "house-number-addition-name": "housenumberaddition", zipcode: e.userState.zipcode, "house-number": e.userState.houseNumber, "house-number-addition": e.userState.houseNumberAddition }, on: { "update-zipcode": (n) => e.userState.zipcode = n, "update-house-number": (n) => e.userState.houseNumber = n, "update-house-number-addition": (n) => e.userState.houseNumberAddition = n, "address-correct": (n) => e.houseError = !n } })], 1), r("birthdate-input", { model: { value: e.userState.birthdate, callback: function(n) {
|
|
28300
28300
|
e.$set(e.userState, "birthdate", n);
|
|
28301
28301
|
}, expression: "userState.birthdate" } }), r("div", { staticClass: "vd-form-group vd-form-group__button" }, [r("button", { class: e.hasNewDesign ? "vd-btn vd-btn-green vd-btn-w-100" : "btn-a btn-a--success btn-a--bold btn-block cursor-pointer" }, [e._v(" Vergelijken ")])])], 1)])]);
|
|
28302
|
-
},
|
|
28302
|
+
}, SI = [];
|
|
28303
28303
|
h_._withStripped = !0;
|
|
28304
28304
|
var m_ = /* @__PURE__ */ T(
|
|
28305
|
-
|
|
28305
|
+
wI,
|
|
28306
28306
|
h_,
|
|
28307
|
-
|
|
28307
|
+
SI,
|
|
28308
28308
|
!1,
|
|
28309
28309
|
null,
|
|
28310
28310
|
null,
|
|
@@ -28312,7 +28312,7 @@ var m_ = /* @__PURE__ */ T(
|
|
|
28312
28312
|
null
|
|
28313
28313
|
);
|
|
28314
28314
|
m_.options.__file = "/Users/mac/Work/comparison-forms/src/insurances/motor/components/forms/MotorFormHorizontal.vue";
|
|
28315
|
-
const
|
|
28315
|
+
const CI = m_.exports, OI = A({
|
|
28316
28316
|
name: "MotorFormOld",
|
|
28317
28317
|
components: {
|
|
28318
28318
|
LicensePlate: ar,
|
|
@@ -28392,12 +28392,12 @@ var v_ = function() {
|
|
|
28392
28392
|
}, expression: "motorState.LicensePlate" } }), r("address-handler", { attrs: { "zipcode-name": "zipcode", "house-number-name": "housenumber", "house-number-addition-name": "housenumberaddition", zipcode: e.userState.zipcode, "house-number": e.userState.houseNumber, "house-number-addition": e.userState.houseNumberAddition }, on: { "update-zipcode": (n) => e.userState.zipcode = n, "update-house-number": (n) => e.userState.houseNumber = n, "update-house-number-addition": (n) => e.userState.houseNumberAddition = n, "address-correct": (n) => e.houseError = !n } }), r("div", { staticClass: "vd-form-group" }, [r("birthdate-input", { model: { value: e.userState.birthdate, callback: function(n) {
|
|
28393
28393
|
e.$set(e.userState, "birthdate", n);
|
|
28394
28394
|
}, expression: "userState.birthdate" } })], 1), r("button", { staticClass: "btn-a btn-a--success btn-a--bold btn-block cursor-pointer" }, [e._v(" Vergelijken ")])], 1)])]);
|
|
28395
|
-
},
|
|
28395
|
+
}, kI = [];
|
|
28396
28396
|
v_._withStripped = !0;
|
|
28397
28397
|
var g_ = /* @__PURE__ */ T(
|
|
28398
|
-
|
|
28398
|
+
OI,
|
|
28399
28399
|
v_,
|
|
28400
|
-
|
|
28400
|
+
kI,
|
|
28401
28401
|
!1,
|
|
28402
28402
|
null,
|
|
28403
28403
|
null,
|
|
@@ -28405,7 +28405,7 @@ var g_ = /* @__PURE__ */ T(
|
|
|
28405
28405
|
null
|
|
28406
28406
|
);
|
|
28407
28407
|
g_.options.__file = "/Users/mac/Work/comparison-forms/src/insurances/motor/components/forms/MotorFormOld.vue";
|
|
28408
|
-
const
|
|
28408
|
+
const xI = g_.exports, PI = () => {
|
|
28409
28409
|
const t = {
|
|
28410
28410
|
name: "phoneNumber",
|
|
28411
28411
|
data: O.phoneNumber
|
|
@@ -28414,7 +28414,7 @@ const x2 = g_.exports, P2 = () => {
|
|
|
28414
28414
|
data: cc.selectedComparisons
|
|
28415
28415
|
};
|
|
28416
28416
|
return [t, e];
|
|
28417
|
-
},
|
|
28417
|
+
}, DI = () => {
|
|
28418
28418
|
const t = je("props"), {
|
|
28419
28419
|
submitFormAndCreateComparison: e,
|
|
28420
28420
|
removeSessionState: r,
|
|
@@ -28440,7 +28440,7 @@ const x2 = g_.exports, P2 = () => {
|
|
|
28440
28440
|
}
|
|
28441
28441
|
try {
|
|
28442
28442
|
if (yield s()) {
|
|
28443
|
-
const f =
|
|
28443
|
+
const f = PI();
|
|
28444
28444
|
yield e("package", f, l());
|
|
28445
28445
|
}
|
|
28446
28446
|
} catch (f) {
|
|
@@ -28455,7 +28455,7 @@ const x2 = g_.exports, P2 = () => {
|
|
|
28455
28455
|
siteLink: c,
|
|
28456
28456
|
validateBeforeSubmit: p
|
|
28457
28457
|
};
|
|
28458
|
-
},
|
|
28458
|
+
}, RI = A({
|
|
28459
28459
|
name: "DefaultCheckbox",
|
|
28460
28460
|
props: {
|
|
28461
28461
|
value: {},
|
|
@@ -28498,12 +28498,12 @@ var y_ = function() {
|
|
|
28498
28498
|
} else
|
|
28499
28499
|
e.model = o;
|
|
28500
28500
|
} } }, "input", e.$attrs, !1)), r("div", { staticClass: "indicator", class: { error: e.errors.has(e.name) } }), e.label ? r("span", { staticClass: "label", class: { "text-red": e.errors.has(e.name) } }, [e._v(" " + e._s(e.label) + " ")]) : r("span", { staticClass: "label" }, [e._t("title")], 2)]);
|
|
28501
|
-
},
|
|
28501
|
+
}, EI = [];
|
|
28502
28502
|
y_._withStripped = !0;
|
|
28503
28503
|
var __ = /* @__PURE__ */ T(
|
|
28504
|
-
|
|
28504
|
+
RI,
|
|
28505
28505
|
y_,
|
|
28506
|
-
|
|
28506
|
+
EI,
|
|
28507
28507
|
!1,
|
|
28508
28508
|
null,
|
|
28509
28509
|
null,
|
|
@@ -28511,7 +28511,7 @@ var __ = /* @__PURE__ */ T(
|
|
|
28511
28511
|
null
|
|
28512
28512
|
);
|
|
28513
28513
|
__.options.__file = "/Users/mac/Work/comparison-forms/src/components/common/inputs/DefaultCheckbox.vue";
|
|
28514
|
-
const b_ = __.exports,
|
|
28514
|
+
const b_ = __.exports, TI = A({
|
|
28515
28515
|
name: "DefaultCheckboxGroup",
|
|
28516
28516
|
components: {
|
|
28517
28517
|
DefaultCheckbox: b_
|
|
@@ -28560,12 +28560,12 @@ var w_ = function() {
|
|
|
28560
28560
|
return e._self._setupProxy, r("div", { staticClass: "vd-checkbox-group" }, [e.label ? r("label", [e._v(e._s(e.label) + " "), e.isRequired ? r("span", { staticClass: "text-danger ml-1 mt-2" }, [e._v("*")]) : e._e()]) : e._e(), r("div", { staticClass: "inputs" }, e._l(e.options, function(n) {
|
|
28561
28561
|
return r("default-checkbox", e._b({ key: n.id || n[e.valueKey], attrs: { modelValue: n[e.valueKey], validation: e.validation, id: n.id || n[e.valueKey], label: n[e.titleKey], name: e.name, required: e.isRequired }, on: { input: e.onChange } }, "default-checkbox", e.$attrs, !1));
|
|
28562
28562
|
}), 1), e._t("error-messages")], 2);
|
|
28563
|
-
},
|
|
28563
|
+
}, AI = [];
|
|
28564
28564
|
w_._withStripped = !0;
|
|
28565
28565
|
var S_ = /* @__PURE__ */ T(
|
|
28566
|
-
|
|
28566
|
+
TI,
|
|
28567
28567
|
w_,
|
|
28568
|
-
|
|
28568
|
+
AI,
|
|
28569
28569
|
!1,
|
|
28570
28570
|
null,
|
|
28571
28571
|
null,
|
|
@@ -28573,7 +28573,7 @@ var S_ = /* @__PURE__ */ T(
|
|
|
28573
28573
|
null
|
|
28574
28574
|
);
|
|
28575
28575
|
S_.options.__file = "/Users/mac/Work/comparison-forms/src/components/common/inputs/DefaultCheckboxGroup.vue";
|
|
28576
|
-
const $
|
|
28576
|
+
const $I = S_.exports, MI = A({
|
|
28577
28577
|
name: "PhoneInput",
|
|
28578
28578
|
components: {
|
|
28579
28579
|
DefaultInput: ne,
|
|
@@ -28617,12 +28617,12 @@ var C_ = function() {
|
|
|
28617
28617
|
}, proxy: !0 }]), model: { value: e.userState.phoneNumber, callback: function(n) {
|
|
28618
28618
|
e.$set(e.userState, "phoneNumber", n);
|
|
28619
28619
|
}, expression: "userState.phoneNumber" } });
|
|
28620
|
-
},
|
|
28620
|
+
}, NI = [];
|
|
28621
28621
|
C_._withStripped = !0;
|
|
28622
28622
|
var O_ = /* @__PURE__ */ T(
|
|
28623
|
-
|
|
28623
|
+
MI,
|
|
28624
28624
|
C_,
|
|
28625
|
-
|
|
28625
|
+
NI,
|
|
28626
28626
|
!1,
|
|
28627
28627
|
null,
|
|
28628
28628
|
null,
|
|
@@ -28630,11 +28630,11 @@ var O_ = /* @__PURE__ */ T(
|
|
|
28630
28630
|
null
|
|
28631
28631
|
);
|
|
28632
28632
|
O_.options.__file = "/Users/mac/Work/comparison-forms/src/components/common/inputs/PhoneInput.vue";
|
|
28633
|
-
const k_ = O_.exports,
|
|
28633
|
+
const k_ = O_.exports, II = A({
|
|
28634
28634
|
name: "PackageForm",
|
|
28635
28635
|
components: {
|
|
28636
28636
|
DefaultCheckbox: b_,
|
|
28637
|
-
DefaultCheckboxGroup: $
|
|
28637
|
+
DefaultCheckboxGroup: $I,
|
|
28638
28638
|
DefaultInput: ne,
|
|
28639
28639
|
ErrorHandler: G,
|
|
28640
28640
|
SimpleCard: W,
|
|
@@ -28669,7 +28669,7 @@ const k_ = O_.exports, I2 = A({
|
|
|
28669
28669
|
conditionsLink: e,
|
|
28670
28670
|
siteLink: r,
|
|
28671
28671
|
validateBeforeSubmit: n
|
|
28672
|
-
} =
|
|
28672
|
+
} = DI();
|
|
28673
28673
|
return {
|
|
28674
28674
|
hasNewDesign: L,
|
|
28675
28675
|
userState: O,
|
|
@@ -28698,12 +28698,12 @@ var x_ = function() {
|
|
|
28698
28698
|
}, expression: "userState.email" } })], 1), r("div", { staticClass: "vd-form-group" }, [r("default-checkbox", { staticClass: "agreement", attrs: { validation: "required", value: e.agreement, name: "agreement" }, on: { input: (n) => e.agreement = n }, scopedSlots: e._u([{ key: "title", fn: function() {
|
|
28699
28699
|
return [e._v(" Ik ga akkoord met de "), r("a", { attrs: { href: e.conditionsLink, target: "_blank" } }, [e._v("voorwaarden")]), e._v(" en "), r("a", { attrs: { href: e.siteLink, target: "_blank" } }, [e._v("Vergelijkdirect.com")]), e._v(" mag mij telefonisch, via WhatsApp en per e-mail benaderen. ")];
|
|
28700
28700
|
}, proxy: !0 }]) })], 1), r("div", { staticClass: "vd-form-group mb-0" }, [r("div", { staticClass: "submit-btn vd-btn vd-btn-green vd-btn-w-100", attrs: { disabled: e.isRequestIsHandling }, on: { click: e.validateBeforeSubmit } }, [e._v(" Ga verder "), r("i", { staticClass: "icon fas fa-chevron-right ml-2" })])])])]);
|
|
28701
|
-
},
|
|
28701
|
+
}, FI = [];
|
|
28702
28702
|
x_._withStripped = !0;
|
|
28703
28703
|
var P_ = /* @__PURE__ */ T(
|
|
28704
|
-
|
|
28704
|
+
II,
|
|
28705
28705
|
x_,
|
|
28706
|
-
|
|
28706
|
+
FI,
|
|
28707
28707
|
!1,
|
|
28708
28708
|
null,
|
|
28709
28709
|
null,
|
|
@@ -28711,7 +28711,7 @@ var P_ = /* @__PURE__ */ T(
|
|
|
28711
28711
|
null
|
|
28712
28712
|
);
|
|
28713
28713
|
P_.options.__file = "/Users/mac/Work/comparison-forms/src/insurances/package/components/forms/PackageForm.vue";
|
|
28714
|
-
const
|
|
28714
|
+
const jI = P_.exports, LI = () => ({
|
|
28715
28715
|
sex: fe.sex,
|
|
28716
28716
|
age: fe.age,
|
|
28717
28717
|
postcode: fe.postcode,
|
|
@@ -28769,7 +28769,7 @@ const j2 = P_.exports, L2 = () => ({
|
|
|
28769
28769
|
return;
|
|
28770
28770
|
}
|
|
28771
28771
|
if (yield y()) {
|
|
28772
|
-
const g =
|
|
28772
|
+
const g = LI();
|
|
28773
28773
|
t.formLocation === P.isBeforeFlow ? r(t.link, g) : e({ petState: g });
|
|
28774
28774
|
}
|
|
28775
28775
|
});
|
|
@@ -28802,7 +28802,7 @@ const j2 = P_.exports, L2 = () => ({
|
|
|
28802
28802
|
text: "Vrouw",
|
|
28803
28803
|
value: "f"
|
|
28804
28804
|
}
|
|
28805
|
-
],
|
|
28805
|
+
], BI = A({
|
|
28806
28806
|
name: "SearchableSelect",
|
|
28807
28807
|
components: {
|
|
28808
28808
|
DefaultInput: ne
|
|
@@ -28908,12 +28908,12 @@ var D_ = function() {
|
|
|
28908
28908
|
return e.setOption(n.id, n.name);
|
|
28909
28909
|
} } }, [e._v(" " + e._s(n.name) + " ")]);
|
|
28910
28910
|
}), 0) : e._e()]);
|
|
28911
|
-
},
|
|
28911
|
+
}, VI = [];
|
|
28912
28912
|
D_._withStripped = !0;
|
|
28913
28913
|
var R_ = /* @__PURE__ */ T(
|
|
28914
|
-
|
|
28914
|
+
BI,
|
|
28915
28915
|
D_,
|
|
28916
|
-
|
|
28916
|
+
VI,
|
|
28917
28917
|
!1,
|
|
28918
28918
|
null,
|
|
28919
28919
|
null,
|
|
@@ -28921,7 +28921,7 @@ var R_ = /* @__PURE__ */ T(
|
|
|
28921
28921
|
null
|
|
28922
28922
|
);
|
|
28923
28923
|
R_.options.__file = "/Users/mac/Work/comparison-forms/src/components/common/inputs/SearchableSelect.vue";
|
|
28924
|
-
const rd = R_.exports,
|
|
28924
|
+
const rd = R_.exports, qI = A({
|
|
28925
28925
|
name: "PetForm",
|
|
28926
28926
|
components: {
|
|
28927
28927
|
SimpleCard: W,
|
|
@@ -29004,12 +29004,12 @@ var E_ = function() {
|
|
|
29004
29004
|
}, expression: "petState.breed" } }) : e._e(), r("div", [r("ErrorHandler", { attrs: { name: "breed-value", "errors-data": [{ rule: "required", text: "Selecteer een ras" }] } })], 1), r("input", { directives: [{ name: "model", rawName: "v-model", value: e.petState.breed, expression: "petState.breed" }], attrs: { type: "hidden", name: "breed" }, domProps: { value: e.petState.breed }, on: { input: function(n) {
|
|
29005
29005
|
n.target.composing || e.$set(e.petState, "breed", n.target.value);
|
|
29006
29006
|
} } }), r("span", { staticClass: "vd-form-additional-info-text" }, [r("i", { staticClass: "fas fa-info-circle vd-tip-icon vd-tip-icon_additional-text", attrs: { slot: "reference", id: "popover-target-breed" }, slot: "reference" }), r("span", [e._v("Geen rashond of kruising? Selecteer dan het ras waar deze het meeste op lijkt.")])])], 1)], 1), r("div", { staticClass: "vd-form-card__footer" }, [r("button", { staticClass: "vd-btn vd-btn-green vd-btn-w-100", attrs: { disabled: e.isRequestIsHandling }, on: { click: e.validateBeforeSubmit } }, [e._v(" Vergelijken ")])])]);
|
|
29007
|
-
},
|
|
29007
|
+
}, HI = [];
|
|
29008
29008
|
E_._withStripped = !0;
|
|
29009
29009
|
var T_ = /* @__PURE__ */ T(
|
|
29010
|
-
|
|
29010
|
+
qI,
|
|
29011
29011
|
E_,
|
|
29012
|
-
|
|
29012
|
+
HI,
|
|
29013
29013
|
!1,
|
|
29014
29014
|
null,
|
|
29015
29015
|
null,
|
|
@@ -29017,7 +29017,7 @@ var T_ = /* @__PURE__ */ T(
|
|
|
29017
29017
|
null
|
|
29018
29018
|
);
|
|
29019
29019
|
T_.options.__file = "/Users/mac/Work/comparison-forms/src/insurances/pet/components/forms/PetForm.vue";
|
|
29020
|
-
const
|
|
29020
|
+
const zI = T_.exports, UI = A({
|
|
29021
29021
|
name: "PetFormHorizontal",
|
|
29022
29022
|
components: {
|
|
29023
29023
|
SimpleCard: W,
|
|
@@ -29107,12 +29107,12 @@ var A_ = function() {
|
|
|
29107
29107
|
placement: "right",
|
|
29108
29108
|
modifiers: { offset: { offset: "0,10px" } }
|
|
29109
29109
|
}, trigger: "hover" } }, [r("div", { staticClass: "popover popper vd-popover" }, [r("div", { staticClass: "popover-header vd-popover-header" }, [e._v(" Ras onbekend? ")]), e._v(" Heb je geen " + e._s(e.petState.kind === "dog" ? "rashond" : "raskat") + " of heb je een kruising? Selecteer dan het ras waar " + e._s(e.petState.sex === "m" ? "hij" : "zij") + " het meest op lijkt! ")]), r("div", { attrs: { slot: "reference" }, slot: "reference" }, [e._v(" Ras onbekend? "), r("i", { staticClass: "fas fa-question-circle fz-big text-primary cursor-pointer", attrs: { id: "race" } })])])], 1)])], 1), r("div", { staticClass: "vd-form-group vd-form-group__button" }, [r("button", { class: e.hasNewDesign ? "vd-btn vd-btn-green vd-btn-w-100" : "btn-a btn-a--success btn-a--bold btn-block cursor-pointer", attrs: { disabled: e.isRequestIsHandling } }, [e._v(" Vergelijken ")])])])])]);
|
|
29110
|
-
},
|
|
29110
|
+
}, YI = [];
|
|
29111
29111
|
A_._withStripped = !0;
|
|
29112
29112
|
var $_ = /* @__PURE__ */ T(
|
|
29113
|
-
|
|
29113
|
+
UI,
|
|
29114
29114
|
A_,
|
|
29115
|
-
|
|
29115
|
+
YI,
|
|
29116
29116
|
!1,
|
|
29117
29117
|
null,
|
|
29118
29118
|
null,
|
|
@@ -29120,7 +29120,7 @@ var $_ = /* @__PURE__ */ T(
|
|
|
29120
29120
|
null
|
|
29121
29121
|
);
|
|
29122
29122
|
$_.options.__file = "/Users/mac/Work/comparison-forms/src/insurances/pet/components/forms/PetFormHorizontal.vue";
|
|
29123
|
-
const
|
|
29123
|
+
const WI = $_.exports, GI = A({
|
|
29124
29124
|
name: "PetFormOld",
|
|
29125
29125
|
components: {
|
|
29126
29126
|
SimpleCard: W,
|
|
@@ -29209,15 +29209,15 @@ var M_ = function() {
|
|
|
29209
29209
|
placement: "right",
|
|
29210
29210
|
modifiers: { offset: { offset: "0,10px" } }
|
|
29211
29211
|
}, trigger: "hover" } }, [r("div", { staticClass: "popover popper" }, [r("div", { staticClass: "popover-header" }, [e._v(" Ras onbekend? ")]), e._v(" Heb je geen " + e._s(e.petState.kind === "dog" ? "rashond" : "raskat") + " of heb je een kruising? Selecteer dan het ras waar " + e._s(e.petState.sex === "m" ? "hij" : "zij") + " het meest op lijkt! ")]), r("div", { attrs: { slot: "reference" }, slot: "reference" }, [e._v(" Ras onbekend? "), r("i", { staticClass: "fas fa-question-circle fz-big text-primary cursor-pointer", attrs: { id: "race" } })])])], 1)])], 1), r("button", { staticClass: "btn-a btn-a--success btn-a--form btn-bold btn-block btn-a--bold cursor-pointer", attrs: { disabled: e.isRequestIsHandling } }, [e._v(" Vergelijken ")])])])]);
|
|
29212
|
-
},
|
|
29212
|
+
}, ZI = [function() {
|
|
29213
29213
|
var t = this, e = t._self._c;
|
|
29214
29214
|
return t._self._setupProxy, e("label", { staticClass: "vd-form-group__label", attrs: { for: "search-select-input" } }, [t._v(" Ras "), e("span", { staticClass: "text-danger mr-3 mt-2" }, [t._v("*")])]);
|
|
29215
29215
|
}];
|
|
29216
29216
|
M_._withStripped = !0;
|
|
29217
29217
|
var N_ = /* @__PURE__ */ T(
|
|
29218
|
-
|
|
29218
|
+
GI,
|
|
29219
29219
|
M_,
|
|
29220
|
-
|
|
29220
|
+
ZI,
|
|
29221
29221
|
!1,
|
|
29222
29222
|
null,
|
|
29223
29223
|
null,
|
|
@@ -29225,7 +29225,7 @@ var N_ = /* @__PURE__ */ T(
|
|
|
29225
29225
|
null
|
|
29226
29226
|
);
|
|
29227
29227
|
N_.options.__file = "/Users/mac/Work/comparison-forms/src/insurances/pet/components/forms/PetFormOld.vue";
|
|
29228
|
-
const
|
|
29228
|
+
const KI = N_.exports, XI = A({
|
|
29229
29229
|
name: "QuestionnaireForm",
|
|
29230
29230
|
components: {
|
|
29231
29231
|
SimpleCard: W
|
|
@@ -29266,12 +29266,12 @@ const K2 = N_.exports, X2 = A({
|
|
|
29266
29266
|
var I_ = function() {
|
|
29267
29267
|
var e = this, r = e._self._c;
|
|
29268
29268
|
return e._self._setupProxy, r("simple-card", { staticClass: "vd-form-card vd-new-form", class: { [e.classes]: !!e.classes } }, [r("div", { staticClass: "vd-form-card__header" }, [e.showTitle ? r("p", { staticClass: "vd-form-card__title" }, [e._v(" " + e._s(e.title) + " ")]) : e._e(), r("p", { staticClass: "vd-form-card__description pb-0" }, [e._v(" " + e._s(e.description) + " ")])]), r("div", { staticClass: "vd-form-card__footer" }, [r("a", { staticClass: "vd-btn vd-btn-green vd-btn-w-100", attrs: { href: e.link + "?qaId=" + e.additionalOptions.qaId } }, [e._v(" " + e._s(e.buttonText) + " ")])])]);
|
|
29269
|
-
},
|
|
29269
|
+
}, JI = [];
|
|
29270
29270
|
I_._withStripped = !0;
|
|
29271
29271
|
var F_ = /* @__PURE__ */ T(
|
|
29272
|
-
|
|
29272
|
+
XI,
|
|
29273
29273
|
I_,
|
|
29274
|
-
|
|
29274
|
+
JI,
|
|
29275
29275
|
!1,
|
|
29276
29276
|
null,
|
|
29277
29277
|
null,
|
|
@@ -29279,9 +29279,9 @@ var F_ = /* @__PURE__ */ T(
|
|
|
29279
29279
|
null
|
|
29280
29280
|
);
|
|
29281
29281
|
F_.options.__file = "/Users/mac/Work/comparison-forms/src/components/common/QuestionnaireForm.vue";
|
|
29282
|
-
const
|
|
29282
|
+
const QI = F_.exports;
|
|
29283
29283
|
let cu = x(!1), Hp = x("idle");
|
|
29284
|
-
const
|
|
29284
|
+
const e2 = "254", t2 = () => {
|
|
29285
29285
|
const t = je("props"), {
|
|
29286
29286
|
setQuotationData: e,
|
|
29287
29287
|
submitAndSendQuotationData: r
|
|
@@ -29326,7 +29326,7 @@ const eI = "254", tI = () => {
|
|
|
29326
29326
|
});
|
|
29327
29327
|
return Pe(() => {
|
|
29328
29328
|
e({
|
|
29329
|
-
refId: t.additionalOptions.refId ||
|
|
29329
|
+
refId: t.additionalOptions.refId || e2,
|
|
29330
29330
|
description: t.additionalOptions.description || "",
|
|
29331
29331
|
headerTitle: t.additionalOptions.headerTitle || "",
|
|
29332
29332
|
notes: t.additionalOptions.notes || []
|
|
@@ -29338,7 +29338,7 @@ const eI = "254", tI = () => {
|
|
|
29338
29338
|
policyConfirmErrorsData: a,
|
|
29339
29339
|
validateBeforeSubmit: l
|
|
29340
29340
|
};
|
|
29341
|
-
},
|
|
29341
|
+
}, r2 = A({
|
|
29342
29342
|
name: "QuotationForm",
|
|
29343
29343
|
methods: {
|
|
29344
29344
|
hasNewDesign() {
|
|
@@ -29392,7 +29392,7 @@ const eI = "254", tI = () => {
|
|
|
29392
29392
|
policyConfirmErrorsData: n,
|
|
29393
29393
|
requestStatus: a,
|
|
29394
29394
|
policyConfirm: i
|
|
29395
|
-
} =
|
|
29395
|
+
} = t2();
|
|
29396
29396
|
return {
|
|
29397
29397
|
userState: O,
|
|
29398
29398
|
isRequestIsHandling: F,
|
|
@@ -29419,12 +29419,12 @@ var j_ = function() {
|
|
|
29419
29419
|
} else
|
|
29420
29420
|
e.policyConfirm = o;
|
|
29421
29421
|
} } }), r("span", { staticClass: "vd-new-form-policy-confirm__text" }, [r("a", { attrs: { href: "https://vergelijkdirect.com/", target: "_blank" } }, [e._v("Vergelijkdirect.com")]), e._v(" mag mij telefonisch, via WhatsApp en per e-mail benaderen om een sollicitatieprocedure te starten."), r("span", { staticClass: "text-danger ml-1 mt-2" }, [e._v("*")])])]), r("ErrorHandler", { attrs: { "errors-data": e.policyConfirmErrorsData, name: "policyConfirm" } })], 1)]), r("div", { staticClass: "vd-form-card__footer" }, [r("button", { staticClass: "vd-btn vd-btn-green vd-btn-w-100", attrs: { disabled: e.isRequestIsHandling }, on: { click: e.validateBeforeSubmit } }, [e._v(" " + e._s(e.buttonText) + " ")])])]);
|
|
29422
|
-
},
|
|
29422
|
+
}, n2 = [];
|
|
29423
29423
|
j_._withStripped = !0;
|
|
29424
29424
|
var L_ = /* @__PURE__ */ T(
|
|
29425
|
-
|
|
29425
|
+
r2,
|
|
29426
29426
|
j_,
|
|
29427
|
-
|
|
29427
|
+
n2,
|
|
29428
29428
|
!1,
|
|
29429
29429
|
null,
|
|
29430
29430
|
null,
|
|
@@ -29432,7 +29432,7 @@ var L_ = /* @__PURE__ */ T(
|
|
|
29432
29432
|
null
|
|
29433
29433
|
);
|
|
29434
29434
|
L_.options.__file = "/Users/mac/Work/comparison-forms/src/components/common/QuotationForm.vue";
|
|
29435
|
-
const
|
|
29435
|
+
const a2 = L_.exports, i2 = (t, e) => {
|
|
29436
29436
|
const {
|
|
29437
29437
|
submitFormAndRedirect: r
|
|
29438
29438
|
} = nt(), n = (d) => Zh(d) ? d : d + "/", a = x(!1);
|
|
@@ -29470,7 +29470,7 @@ const aI = L_.exports, iI = (t, e) => {
|
|
|
29470
29470
|
isMultiselectReady: i,
|
|
29471
29471
|
validateBeforeSubmit: s
|
|
29472
29472
|
};
|
|
29473
|
-
},
|
|
29473
|
+
}, o2 = A({
|
|
29474
29474
|
name: "RiskScannerForm",
|
|
29475
29475
|
components: {
|
|
29476
29476
|
SimpleCard: W,
|
|
@@ -29512,7 +29512,7 @@ const aI = L_.exports, iI = (t, e) => {
|
|
|
29512
29512
|
hasCompaniesListValidationError: r,
|
|
29513
29513
|
isMultiselectReady: n,
|
|
29514
29514
|
validateBeforeSubmit: a
|
|
29515
|
-
} =
|
|
29515
|
+
} = i2(t);
|
|
29516
29516
|
return {
|
|
29517
29517
|
businessState: Nt,
|
|
29518
29518
|
isRequestIsHandling: F,
|
|
@@ -29530,12 +29530,12 @@ var B_ = function() {
|
|
|
29530
29530
|
return e._self._setupProxy, r("simple-card", { staticClass: "vd-form-card vd-new-form", class: { [e.classes]: !!e.classes } }, [r("div", { staticClass: "vd-form-card__header" }, [e.showTitle ? r("p", { staticClass: "vd-form-card__title" }, [e._v(" " + e._s(e.title) + " ")]) : e._e(), r("p", { staticClass: "vd-form-card__description" }, [e._v(" " + e._s(e.description) + " ")])]), r("div", { staticClass: "vd-form-card__content" }, [r("div", { staticClass: "vd-form-group vd-form-group_risk-scanner" }, [e.isMultiselectReady ? r("companies-list-select", { attrs: { "has-companies-list-validation-error": e.hasCompaniesListValidationError }, on: { "update-company-data": e.updateCompanyData }, model: { value: e.businessState.companyData, callback: function(n) {
|
|
29531
29531
|
e.$set(e.businessState, "companyData", n);
|
|
29532
29532
|
}, expression: "businessState.companyData" } }) : r("loader")], 1)]), r("div", { staticClass: "vd-form-card__footer" }, [r("button", { staticClass: "vd-btn vd-btn-green vd-btn-w-100", attrs: { disabled: e.isRequestIsHandling }, on: { click: e.validateBeforeSubmit } }, [e._v(" Start de gratis scan ")])])]);
|
|
29533
|
-
},
|
|
29533
|
+
}, s2 = [];
|
|
29534
29534
|
B_._withStripped = !0;
|
|
29535
29535
|
var V_ = /* @__PURE__ */ T(
|
|
29536
|
-
|
|
29536
|
+
o2,
|
|
29537
29537
|
B_,
|
|
29538
|
-
|
|
29538
|
+
s2,
|
|
29539
29539
|
!1,
|
|
29540
29540
|
null,
|
|
29541
29541
|
null,
|
|
@@ -29543,7 +29543,7 @@ var V_ = /* @__PURE__ */ T(
|
|
|
29543
29543
|
null
|
|
29544
29544
|
);
|
|
29545
29545
|
V_.options.__file = "/Users/mac/Work/comparison-forms/src/insurances/business/riskScanner/components/RiskScannerForm.vue";
|
|
29546
|
-
const
|
|
29546
|
+
const u2 = V_.exports, l2 = () => [{
|
|
29547
29547
|
name: "comparison",
|
|
29548
29548
|
data: {
|
|
29549
29549
|
Partner: {
|
|
@@ -29611,7 +29611,7 @@ const uI = V_.exports, lI = () => [{
|
|
|
29611
29611
|
if (t.formLocation === P.isOnResultPage)
|
|
29612
29612
|
n({ userInformation: O, travelState: Ss(yt({}, tt), { isPaymentTermChanged: r.value, isFamilyCompositionChanged: e.value }) });
|
|
29613
29613
|
else {
|
|
29614
|
-
const v =
|
|
29614
|
+
const v = l2();
|
|
29615
29615
|
yield a("travel", v, s());
|
|
29616
29616
|
}
|
|
29617
29617
|
r.value = !1, e.value = !1;
|
|
@@ -29656,7 +29656,7 @@ const uI = V_.exports, lI = () => [{
|
|
|
29656
29656
|
text: "Kortlopend",
|
|
29657
29657
|
title: "Kortlopend"
|
|
29658
29658
|
}
|
|
29659
|
-
],
|
|
29659
|
+
], c2 = A({
|
|
29660
29660
|
name: "TravelForm",
|
|
29661
29661
|
components: {
|
|
29662
29662
|
SimpleCard: W,
|
|
@@ -29736,12 +29736,12 @@ var q_ = function() {
|
|
|
29736
29736
|
}, expression: "userState.birthdate" } }), r("family-composition-input", { model: { value: e.userState.familyComposition, callback: function(n) {
|
|
29737
29737
|
e.$set(e.userState, "familyComposition", n);
|
|
29738
29738
|
}, expression: "userState.familyComposition" } })], 1), r("div", { staticClass: "vd-form-card__footer" }, [r("button", { staticClass: "vd-btn vd-btn-green vd-btn-w-100", attrs: { disabled: e.isRequestIsHandling }, on: { click: e.validateBeforeSubmit } }, [e._v(" Vergelijken ")])])]);
|
|
29739
|
-
},
|
|
29739
|
+
}, d2 = [];
|
|
29740
29740
|
q_._withStripped = !0;
|
|
29741
29741
|
var H_ = /* @__PURE__ */ T(
|
|
29742
|
-
|
|
29742
|
+
c2,
|
|
29743
29743
|
q_,
|
|
29744
|
-
|
|
29744
|
+
d2,
|
|
29745
29745
|
!1,
|
|
29746
29746
|
null,
|
|
29747
29747
|
null,
|
|
@@ -29749,7 +29749,7 @@ var H_ = /* @__PURE__ */ T(
|
|
|
29749
29749
|
null
|
|
29750
29750
|
);
|
|
29751
29751
|
H_.options.__file = "/Users/mac/Work/comparison-forms/src/insurances/travel/components/forms/TravelForm.vue";
|
|
29752
|
-
const
|
|
29752
|
+
const f2 = H_.exports, p2 = A({
|
|
29753
29753
|
name: "TravelFormHorizontal",
|
|
29754
29754
|
components: {
|
|
29755
29755
|
SimpleCard: W,
|
|
@@ -29829,12 +29829,12 @@ var z_ = function() {
|
|
|
29829
29829
|
}, expression: "userState.birthdate" } }), r("family-composition-input", { model: { value: e.userState.familyComposition, callback: function(n) {
|
|
29830
29830
|
e.$set(e.userState, "familyComposition", n);
|
|
29831
29831
|
}, expression: "userState.familyComposition" } }), r("div", { staticClass: "vd-form-group vd-form-group__button" }, [r("button", { class: e.hasNewDesign ? "vd-btn vd-btn-green vd-btn-w-100" : "btn-a btn-a btn-a--success btn-a--bold btn-block cursor-pointer", attrs: { disabled: e.isRequestIsHandling }, on: { click: e.validateBeforeSubmit } }, [e._v(" Vergelijken ")])])], 1)]);
|
|
29832
|
-
},
|
|
29832
|
+
}, h2 = [];
|
|
29833
29833
|
z_._withStripped = !0;
|
|
29834
29834
|
var U_ = /* @__PURE__ */ T(
|
|
29835
|
-
|
|
29835
|
+
p2,
|
|
29836
29836
|
z_,
|
|
29837
|
-
|
|
29837
|
+
h2,
|
|
29838
29838
|
!1,
|
|
29839
29839
|
null,
|
|
29840
29840
|
null,
|
|
@@ -29842,7 +29842,7 @@ var U_ = /* @__PURE__ */ T(
|
|
|
29842
29842
|
null
|
|
29843
29843
|
);
|
|
29844
29844
|
U_.options.__file = "/Users/mac/Work/comparison-forms/src/insurances/travel/components/forms/TravelFormHorizontal.vue";
|
|
29845
|
-
const
|
|
29845
|
+
const m2 = U_.exports, v2 = A({
|
|
29846
29846
|
name: "TravelFormOld",
|
|
29847
29847
|
components: {
|
|
29848
29848
|
DefaultInput: ne,
|
|
@@ -29928,12 +29928,12 @@ var Y_ = function() {
|
|
|
29928
29928
|
}, expression: "userState.birthdate" } })], 1), r("div", { staticClass: "vd-form-group" }, [r("family-composition-input", { model: { value: e.userState.familyComposition, callback: function(n) {
|
|
29929
29929
|
e.$set(e.userState, "familyComposition", n);
|
|
29930
29930
|
}, expression: "userState.familyComposition" } })], 1), r("div", { staticClass: "btn-a btn-a--success btn-a--bold cursor-pointer btn-block mt-2", attrs: { disabled: e.isRequestIsHandling }, on: { click: e.validateBeforeSubmit } }, [e._v(" Vergelijken ")])]);
|
|
29931
|
-
},
|
|
29931
|
+
}, g2 = [];
|
|
29932
29932
|
Y_._withStripped = !0;
|
|
29933
29933
|
var W_ = /* @__PURE__ */ T(
|
|
29934
|
-
|
|
29934
|
+
v2,
|
|
29935
29935
|
Y_,
|
|
29936
|
-
|
|
29936
|
+
g2,
|
|
29937
29937
|
!1,
|
|
29938
29938
|
null,
|
|
29939
29939
|
null,
|
|
@@ -29941,7 +29941,7 @@ var W_ = /* @__PURE__ */ T(
|
|
|
29941
29941
|
null
|
|
29942
29942
|
);
|
|
29943
29943
|
W_.options.__file = "/Users/mac/Work/comparison-forms/src/insurances/travel/components/forms/TravelFormOld.vue";
|
|
29944
|
-
const
|
|
29944
|
+
const y2 = W_.exports, _2 = A({
|
|
29945
29945
|
name: "UpdateLoanComparisonForm",
|
|
29946
29946
|
components: {
|
|
29947
29947
|
LoanPurposeInputField: gy,
|
|
@@ -30003,12 +30003,12 @@ var G_ = function() {
|
|
|
30003
30003
|
}, expression: "userState.birthdate" } }), r("family-composition-input", { model: { value: e.userState.familyComposition, callback: function(n) {
|
|
30004
30004
|
e.$set(e.userState, "familyComposition", n);
|
|
30005
30005
|
}, expression: "userState.familyComposition" } })], 1), r("div", { staticClass: "vd-form-card__footer" }, [r("button", { staticClass: "vd-btn vd-btn-green vd-btn-w-100", attrs: { disabled: e.inSubmissions }, on: { click: e.submitUpdateForm } }, [e._v(" Vergelijken ")])])]);
|
|
30006
|
-
},
|
|
30006
|
+
}, b2 = [];
|
|
30007
30007
|
G_._withStripped = !0;
|
|
30008
30008
|
var Z_ = /* @__PURE__ */ T(
|
|
30009
|
-
|
|
30009
|
+
_2,
|
|
30010
30010
|
G_,
|
|
30011
|
-
|
|
30011
|
+
b2,
|
|
30012
30012
|
!1,
|
|
30013
30013
|
null,
|
|
30014
30014
|
null,
|
|
@@ -30016,7 +30016,7 @@ var Z_ = /* @__PURE__ */ T(
|
|
|
30016
30016
|
null
|
|
30017
30017
|
);
|
|
30018
30018
|
Z_.options.__file = "/Users/mac/Work/comparison-forms/src/insurances/loan/components/forms/updateLoanComparisonForm.vue";
|
|
30019
|
-
const
|
|
30019
|
+
const w2 = Z_.exports, S2 = A({
|
|
30020
30020
|
name: "EmbeddedApp",
|
|
30021
30021
|
components: {
|
|
30022
30022
|
BikeForm: z$,
|
|
@@ -30039,24 +30039,24 @@ const wI = Z_.exports, SI = A({
|
|
|
30039
30039
|
LegalAssistanceFormOld: YN,
|
|
30040
30040
|
LiabilityForm: KN,
|
|
30041
30041
|
LiabilityFormHorizontal: QN,
|
|
30042
|
-
LiabilityFormOld:
|
|
30043
|
-
MopedForm:
|
|
30044
|
-
MopedFormHorizontal:
|
|
30045
|
-
MopedFormOld:
|
|
30046
|
-
MotorForm:
|
|
30047
|
-
MotorFormHorizontal:
|
|
30048
|
-
MotorFormOld:
|
|
30049
|
-
PackageForm:
|
|
30050
|
-
PetForm:
|
|
30051
|
-
PetFormHorizontal:
|
|
30052
|
-
PetFormOld:
|
|
30053
|
-
QuestionnaireForm:
|
|
30054
|
-
QuotationForm:
|
|
30055
|
-
RiskScannerForm:
|
|
30056
|
-
TravelForm:
|
|
30057
|
-
TravelFormHorizontal:
|
|
30058
|
-
TravelFormOld:
|
|
30059
|
-
UpdateLoanComparisonForm:
|
|
30042
|
+
LiabilityFormOld: rI,
|
|
30043
|
+
MopedForm: uI,
|
|
30044
|
+
MopedFormHorizontal: dI,
|
|
30045
|
+
MopedFormOld: hI,
|
|
30046
|
+
MotorForm: bI,
|
|
30047
|
+
MotorFormHorizontal: CI,
|
|
30048
|
+
MotorFormOld: xI,
|
|
30049
|
+
PackageForm: jI,
|
|
30050
|
+
PetForm: zI,
|
|
30051
|
+
PetFormHorizontal: WI,
|
|
30052
|
+
PetFormOld: KI,
|
|
30053
|
+
QuestionnaireForm: QI,
|
|
30054
|
+
QuotationForm: a2,
|
|
30055
|
+
RiskScannerForm: u2,
|
|
30056
|
+
TravelForm: f2,
|
|
30057
|
+
TravelFormHorizontal: m2,
|
|
30058
|
+
TravelFormOld: y2,
|
|
30059
|
+
UpdateLoanComparisonForm: w2
|
|
30060
30060
|
},
|
|
30061
30061
|
props: {
|
|
30062
30062
|
formComponent: {
|
|
@@ -30135,12 +30135,12 @@ const wI = Z_.exports, SI = A({
|
|
|
30135
30135
|
var K_ = function() {
|
|
30136
30136
|
var e = this, r = e._self._c;
|
|
30137
30137
|
return e._self._setupProxy, r(e.formComponent, { tag: "component", attrs: { link: e.link, "has-new-design": e.hasNewDesign, "user-information": e.userInformation, "insurance-state": e.insuranceState, "form-location": e.formLocation, classes: e.classes, title: e.title, showTitle: e.showTitle, "form-orientation": e.formOrientation, "additional-options": e.additionalOptions, description: e.description, "button-text": e.buttonText } });
|
|
30138
|
-
},
|
|
30138
|
+
}, C2 = [];
|
|
30139
30139
|
K_._withStripped = !0;
|
|
30140
30140
|
var X_ = /* @__PURE__ */ T(
|
|
30141
|
-
|
|
30141
|
+
S2,
|
|
30142
30142
|
K_,
|
|
30143
|
-
|
|
30143
|
+
C2,
|
|
30144
30144
|
!1,
|
|
30145
30145
|
null,
|
|
30146
30146
|
null,
|
|
@@ -30148,9 +30148,9 @@ var X_ = /* @__PURE__ */ T(
|
|
|
30148
30148
|
null
|
|
30149
30149
|
);
|
|
30150
30150
|
X_.options.__file = "/Users/mac/Work/comparison-forms/src/core/Embedded.vue";
|
|
30151
|
-
const
|
|
30151
|
+
const O2 = X_.exports, P2 = {
|
|
30152
30152
|
install(t, e) {
|
|
30153
|
-
if (t.component("embedded-comparison-forms",
|
|
30153
|
+
if (t.component("embedded-comparison-forms", O2), e && e.env) {
|
|
30154
30154
|
Ea.configure(e.env);
|
|
30155
30155
|
return;
|
|
30156
30156
|
}
|
|
@@ -30158,5 +30158,5 @@ const OI = X_.exports, PI = {
|
|
|
30158
30158
|
}
|
|
30159
30159
|
};
|
|
30160
30160
|
export {
|
|
30161
|
-
|
|
30161
|
+
P2 as default
|
|
30162
30162
|
};
|
|
@@ -17,7 +17,7 @@ P.version="2.30.1",E0(fe),P.fn=x,P.min=_C,P.max=bC,P.now=wC,P.utc=qt,P.unix=ZO,P
|
|
|
17
17
|
`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...r){const n=new this(e);return r.forEach(a=>n.set(a)),n}static accessor(e){const n=(this[Jh]=this[Jh]={accessors:{}}).accessors,a=this.prototype;function i(o){const u=Oa(o);n[u]||(jR(a,o),n[u]=!0)}return C.isArray(e)?e.forEach(i):i(e),this}}qo.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),C.reduceDescriptors(qo.prototype,({value:t},e)=>{let r=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(n){this[r]=n}}}),C.freezeMethods(qo);const pr=qo;function Al(t,e){const r=this||Tl,n=e||r,a=pr.from(n.headers);let i=n.data;return C.forEach(t,function(u){i=u.call(r,i,a.normalize(),e?e.status:void 0)}),a.normalize(),i}function Qh(t){return!!(t&&t.__CANCEL__)}function ka(t,e,r){J.call(this,t==null?"canceled":t,J.ERR_CANCELED,e,r),this.name="CanceledError"}C.inherits(ka,J,{__CANCEL__:!0});function FR(t,e,r){const n=r.config.validateStatus;!r.status||!n||n(r.status)?t(r):e(new J("Request failed with status code "+r.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r))}const $R=Xt.hasStandardBrowserEnv?{write(t,e,r,n,a,i){const o=[t+"="+encodeURIComponent(e)];C.isNumber(r)&&o.push("expires="+new Date(r).toGMTString()),C.isString(n)&&o.push("path="+n),C.isString(a)&&o.push("domain="+a),i===!0&&o.push("secure"),document.cookie=o.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function LR(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function BR(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function em(t,e){return t&&!LR(e)?BR(t,e):e}const qR=Xt.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");let n;function a(i){let o=i;return e&&(r.setAttribute("href",o),o=r.href),r.setAttribute("href",o),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:r.pathname.charAt(0)==="/"?r.pathname:"/"+r.pathname}}return n=a(window.location.href),function(o){const u=C.isString(o)?a(o):o;return u.protocol===n.protocol&&u.host===n.host}}():function(){return function(){return!0}}();function HR(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function zR(t,e){t=t||10;const r=new Array(t),n=new Array(t);let a=0,i=0,o;return e=e!==void 0?e:1e3,function(c){const l=Date.now(),s=n[i];o||(o=l),r[a]=c,n[a]=l;let d=i,p=0;for(;d!==a;)p+=r[d++],d=d%t;if(a=(a+1)%t,a===i&&(i=(i+1)%t),l-o<e)return;const f=s&&l-s;return f?Math.round(p*1e3/f):void 0}}function tm(t,e){let r=0;const n=zR(50,250);return a=>{const i=a.loaded,o=a.lengthComputable?a.total:void 0,u=i-r,c=n(u),l=i<=o;r=i;const s={loaded:i,total:o,progress:o?i/o:void 0,bytes:u,rate:c||void 0,estimated:c&&o&&l?(o-i)/c:void 0,event:a};s[e?"download":"upload"]=!0,t(s)}}const Ml={http:bR,xhr:typeof XMLHttpRequest!="undefined"&&function(t){return new Promise(function(r,n){let a=t.data;const i=pr.from(t.headers).normalize();let{responseType:o,withXSRFToken:u}=t,c;function l(){t.cancelToken&&t.cancelToken.unsubscribe(c),t.signal&&t.signal.removeEventListener("abort",c)}let s;if(C.isFormData(a)){if(Xt.hasStandardBrowserEnv||Xt.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((s=i.getContentType())!==!1){const[v,..._]=s?s.split(";").map(m=>m.trim()).filter(Boolean):[];i.setContentType([v||"multipart/form-data",..._].join("; "))}}let d=new XMLHttpRequest;if(t.auth){const v=t.auth.username||"",_=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(v+":"+_))}const p=em(t.baseURL,t.url);d.open(t.method.toUpperCase(),Wh(p,t.params,t.paramsSerializer),!0),d.timeout=t.timeout;function f(){if(!d)return;const v=pr.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),m={data:!o||o==="text"||o==="json"?d.responseText:d.response,status:d.status,statusText:d.statusText,headers:v,config:t,request:d};FR(function(w){r(w),l()},function(w){n(w),l()},m),d=null}if("onloadend"in d?d.onloadend=f:d.onreadystatechange=function(){!d||d.readyState!==4||d.status===0&&!(d.responseURL&&d.responseURL.indexOf("file:")===0)||setTimeout(f)},d.onabort=function(){d&&(n(new J("Request aborted",J.ECONNABORTED,t,d)),d=null)},d.onerror=function(){n(new J("Network Error",J.ERR_NETWORK,t,d)),d=null},d.ontimeout=function(){let _=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const m=t.transitional||Zh;t.timeoutErrorMessage&&(_=t.timeoutErrorMessage),n(new J(_,m.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,t,d)),d=null},Xt.hasStandardBrowserEnv&&(u&&C.isFunction(u)&&(u=u(t)),u||u!==!1&&qR(p))){const v=t.xsrfHeaderName&&t.xsrfCookieName&&$R.read(t.xsrfCookieName);v&&i.set(t.xsrfHeaderName,v)}a===void 0&&i.setContentType(null),"setRequestHeader"in d&&C.forEach(i.toJSON(),function(_,m){d.setRequestHeader(m,_)}),C.isUndefined(t.withCredentials)||(d.withCredentials=!!t.withCredentials),o&&o!=="json"&&(d.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&d.addEventListener("progress",tm(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&d.upload&&d.upload.addEventListener("progress",tm(t.onUploadProgress)),(t.cancelToken||t.signal)&&(c=v=>{d&&(n(!v||v.type?new ka(null,t,d):v),d.abort(),d=null)},t.cancelToken&&t.cancelToken.subscribe(c),t.signal&&(t.signal.aborted?c():t.signal.addEventListener("abort",c)));const h=HR(p);if(h&&Xt.protocols.indexOf(h)===-1){n(new J("Unsupported protocol "+h+":",J.ERR_BAD_REQUEST,t));return}d.send(a||null)})}};C.forEach(Ml,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(r){}Object.defineProperty(t,"adapterName",{value:e})}});const rm=t=>`- ${t}`,VR=t=>C.isFunction(t)||t===null||t===!1,nm={getAdapter:t=>{t=C.isArray(t)?t:[t];const{length:e}=t;let r,n;const a={};for(let i=0;i<e;i++){r=t[i];let o;if(n=r,!VR(r)&&(n=Ml[(o=String(r)).toLowerCase()],n===void 0))throw new J(`Unknown adapter '${o}'`);if(n)break;a[o||"#"+i]=n}if(!n){const i=Object.entries(a).map(([u,c])=>`adapter ${u} `+(c===!1?"is not supported by the environment":"is not available in the build"));let o=e?i.length>1?`since :
|
|
18
18
|
`+i.map(rm).join(`
|
|
19
19
|
`):" "+rm(i[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return n},adapters:Ml};function Nl(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new ka(null,t)}function am(t){return Nl(t),t.headers=pr.from(t.headers),t.data=Al.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),nm.getAdapter(t.adapter||Tl.adapter)(t).then(function(n){return Nl(t),n.data=Al.call(t,t.transformResponse,n),n.headers=pr.from(n.headers),n},function(n){return Qh(n)||(Nl(t),n&&n.response&&(n.response.data=Al.call(t,t.transformResponse,n.response),n.response.headers=pr.from(n.response.headers))),Promise.reject(n)})}const im=t=>t instanceof pr?Ct({},t):t;function Rn(t,e){e=e||{};const r={};function n(l,s,d){return C.isPlainObject(l)&&C.isPlainObject(s)?C.merge.call({caseless:d},l,s):C.isPlainObject(s)?C.merge({},s):C.isArray(s)?s.slice():s}function a(l,s,d){if(C.isUndefined(s)){if(!C.isUndefined(l))return n(void 0,l,d)}else return n(l,s,d)}function i(l,s){if(!C.isUndefined(s))return n(void 0,s)}function o(l,s){if(C.isUndefined(s)){if(!C.isUndefined(l))return n(void 0,l)}else return n(void 0,s)}function u(l,s,d){if(d in e)return n(l,s);if(d in t)return n(void 0,l)}const c={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:u,headers:(l,s)=>a(im(l),im(s),!0)};return C.forEach(Object.keys(Object.assign({},t,e)),function(s){const d=c[s]||a,p=d(t[s],e[s],s);C.isUndefined(p)&&d!==u||(r[s]=p)}),r}const om="1.6.8",Il={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Il[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}});const sm={};Il.transitional=function(e,r,n){function a(i,o){return"[Axios v"+om+"] Transitional option '"+i+"'"+o+(n?". "+n:"")}return(i,o,u)=>{if(e===!1)throw new J(a(o," has been removed"+(r?" in "+r:"")),J.ERR_DEPRECATED);return r&&!sm[o]&&(sm[o]=!0,console.warn(a(o," has been deprecated since v"+r+" and will be removed in the near future"))),e?e(i,o,u):!0}};function UR(t,e,r){if(typeof t!="object")throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const n=Object.keys(t);let a=n.length;for(;a-- >0;){const i=n[a],o=e[i];if(o){const u=t[i],c=u===void 0||o(u,i,t);if(c!==!0)throw new J("option "+i+" must be "+c,J.ERR_BAD_OPTION_VALUE);continue}if(r!==!0)throw new J("Unknown option "+i,J.ERR_BAD_OPTION)}}const jl={assertOptions:UR,validators:Il},Pr=jl.validators;class Ho{constructor(e){this.defaults=e,this.interceptors={request:new Gh,response:new Gh}}request(e,r){return I(this,null,function*(){try{return yield this._request(e,r)}catch(n){if(n instanceof Error){let a;Error.captureStackTrace?Error.captureStackTrace(a={}):a=new Error;const i=a.stack?a.stack.replace(/^.+\n/,""):"";n.stack?i&&!String(n.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(n.stack+=`
|
|
20
|
-
`+i):n.stack=i}throw n}})}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=Rn(this.defaults,r);const{transitional:n,paramsSerializer:a,headers:i}=r;n!==void 0&&jl.assertOptions(n,{silentJSONParsing:Pr.transitional(Pr.boolean),forcedJSONParsing:Pr.transitional(Pr.boolean),clarifyTimeoutError:Pr.transitional(Pr.boolean)},!1),a!=null&&(C.isFunction(a)?r.paramsSerializer={serialize:a}:jl.assertOptions(a,{encode:Pr.function,serialize:Pr.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let o=i&&C.merge(i.common,i[r.method]);i&&C.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),r.headers=pr.concat(o,i);const u=[];let c=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(r)===!1||(c=c&&v.synchronous,u.unshift(v.fulfilled,v.rejected))});const l=[];this.interceptors.response.forEach(function(v){l.push(v.fulfilled,v.rejected)});let s,d=0,p;if(!c){const h=[am.bind(this),void 0];for(h.unshift.apply(h,u),h.push.apply(h,l),p=h.length,s=Promise.resolve(r);d<p;)s=s.then(h[d++],h[d++]);return s}p=u.length;let f=r;for(d=0;d<p;){const h=u[d++],v=u[d++];try{f=h(f)}catch(_){v.call(this,_);break}}try{s=am.call(this,f)}catch(h){return Promise.reject(h)}for(d=0,p=l.length;d<p;)s=s.then(l[d++],l[d++]);return s}getUri(e){e=Rn(this.defaults,e);const r=em(e.baseURL,e.url);return Wh(r,e.params,e.paramsSerializer)}}C.forEach(["delete","get","head","options"],function(e){Ho.prototype[e]=function(r,n){return this.request(Rn(n||{},{method:e,url:r,data:(n||{}).data}))}}),C.forEach(["post","put","patch"],function(e){function r(n){return function(i,o,u){return this.request(Rn(u||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}Ho.prototype[e]=r(),Ho.prototype[e+"Form"]=r(!0)});const zo=Ho;class Fl{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(a=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](a);n._listeners=null}),this.promise.then=a=>{let i;const o=new Promise(u=>{n.subscribe(u),i=u}).then(a);return o.cancel=function(){n.unsubscribe(i)},o},e(function(i,o,u){n.reason||(n.reason=new ka(i,o,u),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}static source(){let e;return{token:new Fl(function(a){e=a}),cancel:e}}}const YR=Fl;function WR(t){return function(r){return t.apply(null,r)}}function GR(t){return C.isObject(t)&&t.isAxiosError===!0}const $l={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($l).forEach(([t,e])=>{$l[e]=t});const ZR=$l;function um(t){const e=new zo(t),r=Eh(zo.prototype.request,e);return C.extend(r,zo.prototype,e,{allOwnKeys:!0}),C.extend(r,e,null,{allOwnKeys:!0}),r.create=function(a){return um(Rn(t,a))},r}const Re=um(Tl);Re.Axios=zo,Re.CanceledError=ka,Re.CancelToken=YR,Re.isCancel=Qh,Re.VERSION=om,Re.toFormData=Lo,Re.AxiosError=J,Re.Cancel=Re.CanceledError,Re.all=function(e){return Promise.all(e)},Re.spread=WR,Re.isAxiosError=GR,Re.mergeConfig=Rn,Re.AxiosHeaders=pr,Re.formToJSON=t=>Xh(C.isHTMLForm(t)?new FormData(t):t),Re.getAdapter=nm.getAdapter,Re.HttpStatusCode=ZR,Re.default=Re;const Qe=()=>{const{generateComparisonId:t}=BD(),e=y.inject("props"),r=y.inject("emit"),n=(m,g)=>{if(!g){window.location.href=m;return}const w=$D(m,g);window.location.href=w},a=m=>{r("change",m)},i=(m,g,w)=>I(this,null,function*(){try{const S=yield t(m,g);S&&n(u(w,S.getId()))}catch(S){throw S}}),o=()=>I(this,null,function*(){try{const{data:m}=yield Re.post(la.getMijnUrl()+"/api/v1/vd/register/quote",{email:k.email,name:k.firstName,phone_number:k.phoneNumber,referrer_group:z.refId});return yield n("/informatie/bedankt/",{email:m.user.email,phone:m.user.info.phone_number,public:m.user.public_id,firstname:m.user.name}),!0}catch(m){throw m}}),u=(m,g)=>m.replace("<<COMPARISONID>>",g),c=(m,g)=>{Th.removeSessionState(m,g)},l=m=>{Object.keys(m).map(g=>{z[g]=m[g]})},s=()=>{const{refId:m,notes:g,description:w,headerTitle:S}=z;r("open-quotation-modal",{refId:m,notes:g,description:w,headerTitle:S})},d=()=>{Object.keys(k).map(g=>{if(g==="zipcode"){k[g]=e.userInformation.zipCode||Pn()[g]||k[g];return}if(g==="houseNumber"){const w=e.userInformation[g]?String(e.userInformation[g]):"";k[g]=w||Pn()[g]||k[g];return}k[g]=e.userInformation[g]||Pn()[g]||k[g]})},p=(m,g)=>{let w=Object.keys(m),S=Object.keys(g);w.includes("zipCode")&&(m.zipcode=m.zipCode,delete m.zipCode,w=Object.keys(m));for(let O of w)if(!S.includes(O)||m[O]!==g[O])return!0;return!1},f=()=>p(e.userInformation,k),h=m=>p(e.insuranceState,m);return{submitFormAndRedirect:n,submitFormAndUpdateFormData:a,submitFormAndCreateComparison:i,submitAndSendQuotationData:o,setInitialUserInfoInStore:d,removeSessionState:c,openQuotationModal:s,setQuotationData:l,checkIsFormNotChanged:(m=null)=>(console.warn("-----"),console.warn(m),console.warn(e.insuranceState),console.warn(f()),console.warn(m?h(m):!1),console.warn(f()||(m?h(m):!1)),console.warn("-----"),!f()||(m?!h(m):!1)),confirmFormWithoutChanges:()=>{r("confirm-form-without-changes")}}},Ll=()=>{const t=y.inject("props"),e=y.ref(!1),{submitFormAndRedirect:r,submitFormAndUpdateFormData:n,removeSessionState:a,setInitialUserInfoInStore:i,checkIsFormNotChanged:o,confirmFormWithoutChanges:u}=Qe(),c=()=>{e.value=yt.condition===null},l=()=>{Object.keys(yt).map(f=>{yt[f]=t.insuranceState[f]||Pn()[f]||yt[f]})},s=()=>I(this,null,function*(){const p=yield Ue(["kind","zipcode","price"]);return c(),p&&!e.value}),d=()=>I(this,null,function*(){if(o(yt)){u();return}if(yield s())if(t.formLocation===D.isOnResultPage)n(td(Ct({},yt),{zipcode:k.zipcode}));else{const p=LD();r(t.link,p)}});return y.onMounted(()=>{t.formLocation===D.isOnResultPage&&(i(),l()),t.formLocation===D.isBeforeFlow&&a("bike-storage","bike-path")}),{hasBikeConditionError:e,checkBikeCondition:c,validateBeforeSubmit:d}},Bl=[{value:4,title:"ATB / Mountainbike",name:"Mountainbike",isEBike:!1},{value:7,title:"Elektrische bakfiets",name:"Elektrische bakfiets",isEBike:!0},{value:8,title:"Elektrische ATB / mountainbike",name:"Elektrische ATB / mountainbike",isEBike:!0},{value:1,title:"E-Bike",name:"E-Bike",isEBike:!0},{value:2,title:"Fiets",name:"Fiets",isEBike:!1},{value:5,title:"Ligfiets",name:"Ligfiets",isEBike:!1},{value:9,title:"Kinderfiets",name:"Kinderfiets",isEBike:!1},{value:3,title:"Racefiets",name:"Racefiets",isEBike:!1},{value:10,title:"Vouwfiets",name:"Vouwfiets",isEBike:!1}],ql=[{value:1,label:"Nieuw"},{value:0,label:"Tweedehands"}],KR=y.defineComponent({props:{hasLoader:{type:Boolean,default:!1},noTitle:{type:Boolean,default:!0},hasBorderTitle:{type:Boolean,default:!0},hasNewStyle:{type:Boolean,default:!1}},setup(t){return{cardClasses:y.computed(()=>({"text-center":t.hasLoader,"vd-card-simple--new":t.hasNewStyle}))}}});function E(t,e,r,n,a,i,o,u){var c=typeof t=="function"?t.options:t;e&&(c.render=e,c.staticRenderFns=r,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId="data-v-"+i);var l;if(o?(l=function(p){p=p||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!p&&typeof __VUE_SSR_CONTEXT__!="undefined"&&(p=__VUE_SSR_CONTEXT__),a&&a.call(this,p),p&&p._registeredComponents&&p._registeredComponents.add(o)},c._ssrRegister=l):a&&(l=u?function(){a.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(c.functional){c._injectStyles=l;var s=c.render;c.render=function(f,h){return l.call(h),s(f,h)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:c}}var lm=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"vd-card-simple",class:{"text-center":e.hasLoader,"vd-card-simple--new":e.hasNewStyle}},[e.noTitle?e._e():r("p",{staticClass:"vd-card-simple__title",class:{"border-bottom-0 mb-0":e.hasLoader,"border-bottom-0 mb-0":e.hasBorderTitle}},[e._t("title")],2),e._t("default"),e.hasLoader?r("loader"):e._e()],2)},XR=[];lm._withStripped=!0;var cm=E(KR,lm,XR,!1,null,null,null,null);cm.options.__file="/Users/mac/Work/comparison-forms/src/components/common/SimpleCard.vue";const Y=cm.exports,JR=y.defineComponent({name:"DefaultSelect",props:{validation:{required:!1,default:"required"},label:{type:String,required:!1,default:""},name:{type:String,required:!0},hideLabel:{type:Boolean,required:!1,default:!1},placeholder:{type:String,required:!1,default:"Maak een keuze"},id:{type:String,required:!0},disabled:{type:Boolean,required:!1,default:!1},value:{required:!0},options:{type:Array,required:!0},noDefaultPlaceholder:{type:Boolean,required:!1,default:!1},isRequired:{type:Boolean,required:!1,default:!1}},setup(t,{emit:e}){const r=y.ref(!1);return{errors:V,hasNewDesign:$,wasOptionChosen:r,changeValue:a=>{r.value=!0,e("input",a.target.value)}}}});var dm=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"vd-form-group"},[e.hideLabel?e._e():r("label",{staticClass:"vd-form-group__label",attrs:{for:e.id}},[e.label?r("span",[e._v(e._s(e.label))]):r("span",[e._t("title")],2),e.isRequired&&e.label?r("span",{staticClass:"text-danger ml-1 mt-2"},[e._v("*")]):e._e()]),r("div",[r("div",{staticClass:"position-relative",class:{"vd-form-group--filled-in":e.value&&e.value!=="CHOOSE_OPTION"&&e.wasOptionChosen&&!e.errors.has(e.name),"vd-form-group--error vd-form-group--error--no-error-times":e.errors.has(e.name),"vd-form-group--empty-select":!e.value&&!e.errors.has(e.name)}},[r("select",{directives:[{name:"validate",rawName:"v-validate",value:e.validation,expression:"validation"}],staticClass:"vd-form-group__input form-control",class:{"vd-form-group__input--error":e.errors.has(e.name)},attrs:{id:e.id,disabled:e.disabled,name:e.name},domProps:{value:e.value},on:{change:e.changeValue}},[e.noDefaultPlaceholder?e._e():r("option",{attrs:{value:"",disabled:""}},[e._v(" "+e._s(e.placeholder)+" ")]),e._l(e.options,function(n,a){return r("option",{key:n.value+"_"+a,attrs:{disabled:n.disabled||!1},domProps:{selected:n.selected||!1,value:n.value}},[e._v(" "+e._s(n.title)+" ")])})],2),r("label",{staticClass:"vd-form-group__select-icon cursor-pointer",attrs:{for:e.id}})])]),e._t("additional-info"),e._t("error-messages")],2)},QR=[];dm._withStripped=!0;var fm=E(JR,dm,QR,!1,null,null,null,null);fm.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/DefaultSelect.vue";const se=fm.exports;function xa(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?xa=function(e){return typeof e}:xa=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xa(t)}function pm(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function hm(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Pa(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?hm(Object(r),!0).forEach(function(n){pm(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hm(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var mm="_",eT="function",tT=[];function rT(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tT,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:mm;if(!vm(t))throw new Error("Text-mask:convertMaskToPlaceholder; The mask property must be an array.");if(t.indexOf(e)!==-1)throw new Error(`Placeholder character must not be used as part of the mask. Please specify a character that is not present in your mask as your placeholder character.
|
|
20
|
+
`+i):n.stack=i}throw n}})}_request(e,r){typeof e=="string"?(r=r||{},r.url=e):r=e||{},r=Rn(this.defaults,r);const{transitional:n,paramsSerializer:a,headers:i}=r;n!==void 0&&jl.assertOptions(n,{silentJSONParsing:Pr.transitional(Pr.boolean),forcedJSONParsing:Pr.transitional(Pr.boolean),clarifyTimeoutError:Pr.transitional(Pr.boolean)},!1),a!=null&&(C.isFunction(a)?r.paramsSerializer={serialize:a}:jl.assertOptions(a,{encode:Pr.function,serialize:Pr.function},!0)),r.method=(r.method||this.defaults.method||"get").toLowerCase();let o=i&&C.merge(i.common,i[r.method]);i&&C.forEach(["delete","get","head","post","put","patch","common"],h=>{delete i[h]}),r.headers=pr.concat(o,i);const u=[];let c=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(r)===!1||(c=c&&v.synchronous,u.unshift(v.fulfilled,v.rejected))});const l=[];this.interceptors.response.forEach(function(v){l.push(v.fulfilled,v.rejected)});let s,d=0,p;if(!c){const h=[am.bind(this),void 0];for(h.unshift.apply(h,u),h.push.apply(h,l),p=h.length,s=Promise.resolve(r);d<p;)s=s.then(h[d++],h[d++]);return s}p=u.length;let f=r;for(d=0;d<p;){const h=u[d++],v=u[d++];try{f=h(f)}catch(_){v.call(this,_);break}}try{s=am.call(this,f)}catch(h){return Promise.reject(h)}for(d=0,p=l.length;d<p;)s=s.then(l[d++],l[d++]);return s}getUri(e){e=Rn(this.defaults,e);const r=em(e.baseURL,e.url);return Wh(r,e.params,e.paramsSerializer)}}C.forEach(["delete","get","head","options"],function(e){Ho.prototype[e]=function(r,n){return this.request(Rn(n||{},{method:e,url:r,data:(n||{}).data}))}}),C.forEach(["post","put","patch"],function(e){function r(n){return function(i,o,u){return this.request(Rn(u||{},{method:e,headers:n?{"Content-Type":"multipart/form-data"}:{},url:i,data:o}))}}Ho.prototype[e]=r(),Ho.prototype[e+"Form"]=r(!0)});const zo=Ho;class Fl{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let r;this.promise=new Promise(function(i){r=i});const n=this;this.promise.then(a=>{if(!n._listeners)return;let i=n._listeners.length;for(;i-- >0;)n._listeners[i](a);n._listeners=null}),this.promise.then=a=>{let i;const o=new Promise(u=>{n.subscribe(u),i=u}).then(a);return o.cancel=function(){n.unsubscribe(i)},o},e(function(i,o,u){n.reason||(n.reason=new ka(i,o,u),r(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const r=this._listeners.indexOf(e);r!==-1&&this._listeners.splice(r,1)}static source(){let e;return{token:new Fl(function(a){e=a}),cancel:e}}}const YR=Fl;function WR(t){return function(r){return t.apply(null,r)}}function GR(t){return C.isObject(t)&&t.isAxiosError===!0}const $l={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries($l).forEach(([t,e])=>{$l[e]=t});const ZR=$l;function um(t){const e=new zo(t),r=Eh(zo.prototype.request,e);return C.extend(r,zo.prototype,e,{allOwnKeys:!0}),C.extend(r,e,null,{allOwnKeys:!0}),r.create=function(a){return um(Rn(t,a))},r}const Re=um(Tl);Re.Axios=zo,Re.CanceledError=ka,Re.CancelToken=YR,Re.isCancel=Qh,Re.VERSION=om,Re.toFormData=Lo,Re.AxiosError=J,Re.Cancel=Re.CanceledError,Re.all=function(e){return Promise.all(e)},Re.spread=WR,Re.isAxiosError=GR,Re.mergeConfig=Rn,Re.AxiosHeaders=pr,Re.formToJSON=t=>Xh(C.isHTMLForm(t)?new FormData(t):t),Re.getAdapter=nm.getAdapter,Re.HttpStatusCode=ZR,Re.default=Re;const Qe=()=>{const{generateComparisonId:t}=BD(),e=y.inject("props"),r=y.inject("emit"),n=(m,g)=>{if(!g){window.location.href=m;return}const w=$D(m,g);window.location.href=w},a=m=>{r("change",m)},i=(m,g,w)=>I(this,null,function*(){try{const S=yield t(m,g);S&&n(u(w,S.getId()))}catch(S){throw S}}),o=()=>I(this,null,function*(){try{const{data:m}=yield Re.post(la.getMijnUrl()+"/api/v1/vd/register/quote",{email:k.email,name:k.firstName,phone_number:k.phoneNumber,referrer_group:z.refId});return yield n("/informatie/bedankt/",{email:m.user.email,phone:m.user.info.phone_number,public:m.user.public_id,firstname:m.user.name}),!0}catch(m){throw m}}),u=(m,g)=>m.replace("<<COMPARISONID>>",g),c=(m,g)=>{Th.removeSessionState(m,g)},l=m=>{Object.keys(m).map(g=>{z[g]=m[g]})},s=()=>{const{refId:m,notes:g,description:w,headerTitle:S}=z;r("open-quotation-modal",{refId:m,notes:g,description:w,headerTitle:S})},d=()=>{Object.keys(k).map(g=>{if(g==="zipcode"){k[g]=e.userInformation.zipCode||Pn()[g]||k[g];return}if(g==="houseNumber"){const w=e.userInformation[g]?String(e.userInformation[g]):"";k[g]=w||Pn()[g]||k[g];return}k[g]=e.userInformation[g]||Pn()[g]||k[g]})},p=(m,g)=>{let w=Object.keys(m),S=Object.keys(g);w.includes("zipCode")&&(m.zipcode=m.zipCode,delete m.zipCode,w=Object.keys(m));for(let O of w)if(!S.includes(O)||m[O]!==g[O])return!0;return!1},f=()=>p(e.userInformation,k),h=m=>m?p(e.insuranceState,m):!1;return{submitFormAndRedirect:n,submitFormAndUpdateFormData:a,submitFormAndCreateComparison:i,submitAndSendQuotationData:o,setInitialUserInfoInStore:d,removeSessionState:c,openQuotationModal:s,setQuotationData:l,checkIsFormNotChanged:(m=null)=>(console.warn("-----"),console.warn(k),console.warn(e.userInformation),console.warn(m),console.warn(e.insuranceState),console.warn(f()),console.warn(h(m)),console.warn(!(f()||h(m))),console.warn("-----"),!(f()||h(m))),confirmFormWithoutChanges:()=>{r("confirm-form-without-changes")}}},Ll=()=>{const t=y.inject("props"),e=y.ref(!1),{submitFormAndRedirect:r,submitFormAndUpdateFormData:n,removeSessionState:a,setInitialUserInfoInStore:i,checkIsFormNotChanged:o,confirmFormWithoutChanges:u}=Qe(),c=()=>{e.value=yt.condition===null},l=()=>{Object.keys(yt).map(f=>{yt[f]=t.insuranceState[f]||Pn()[f]||yt[f]})},s=()=>I(this,null,function*(){const p=yield Ue(["kind","zipcode","price"]);return c(),p&&!e.value}),d=()=>I(this,null,function*(){if(o(yt)){u();return}if(yield s())if(t.formLocation===D.isOnResultPage)n(td(Ct({},yt),{zipcode:k.zipcode}));else{const p=LD();r(t.link,p)}});return y.onMounted(()=>{t.formLocation===D.isOnResultPage&&(i(),l()),t.formLocation===D.isBeforeFlow&&a("bike-storage","bike-path")}),{hasBikeConditionError:e,checkBikeCondition:c,validateBeforeSubmit:d}},Bl=[{value:4,title:"ATB / Mountainbike",name:"Mountainbike",isEBike:!1},{value:7,title:"Elektrische bakfiets",name:"Elektrische bakfiets",isEBike:!0},{value:8,title:"Elektrische ATB / mountainbike",name:"Elektrische ATB / mountainbike",isEBike:!0},{value:1,title:"E-Bike",name:"E-Bike",isEBike:!0},{value:2,title:"Fiets",name:"Fiets",isEBike:!1},{value:5,title:"Ligfiets",name:"Ligfiets",isEBike:!1},{value:9,title:"Kinderfiets",name:"Kinderfiets",isEBike:!1},{value:3,title:"Racefiets",name:"Racefiets",isEBike:!1},{value:10,title:"Vouwfiets",name:"Vouwfiets",isEBike:!1}],ql=[{value:1,label:"Nieuw"},{value:0,label:"Tweedehands"}],KR=y.defineComponent({props:{hasLoader:{type:Boolean,default:!1},noTitle:{type:Boolean,default:!0},hasBorderTitle:{type:Boolean,default:!0},hasNewStyle:{type:Boolean,default:!1}},setup(t){return{cardClasses:y.computed(()=>({"text-center":t.hasLoader,"vd-card-simple--new":t.hasNewStyle}))}}});function E(t,e,r,n,a,i,o,u){var c=typeof t=="function"?t.options:t;e&&(c.render=e,c.staticRenderFns=r,c._compiled=!0),n&&(c.functional=!0),i&&(c._scopeId="data-v-"+i);var l;if(o?(l=function(p){p=p||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,!p&&typeof __VUE_SSR_CONTEXT__!="undefined"&&(p=__VUE_SSR_CONTEXT__),a&&a.call(this,p),p&&p._registeredComponents&&p._registeredComponents.add(o)},c._ssrRegister=l):a&&(l=u?function(){a.call(this,(c.functional?this.parent:this).$root.$options.shadowRoot)}:a),l)if(c.functional){c._injectStyles=l;var s=c.render;c.render=function(f,h){return l.call(h),s(f,h)}}else{var d=c.beforeCreate;c.beforeCreate=d?[].concat(d,l):[l]}return{exports:t,options:c}}var lm=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"vd-card-simple",class:{"text-center":e.hasLoader,"vd-card-simple--new":e.hasNewStyle}},[e.noTitle?e._e():r("p",{staticClass:"vd-card-simple__title",class:{"border-bottom-0 mb-0":e.hasLoader,"border-bottom-0 mb-0":e.hasBorderTitle}},[e._t("title")],2),e._t("default"),e.hasLoader?r("loader"):e._e()],2)},XR=[];lm._withStripped=!0;var cm=E(KR,lm,XR,!1,null,null,null,null);cm.options.__file="/Users/mac/Work/comparison-forms/src/components/common/SimpleCard.vue";const Y=cm.exports,JR=y.defineComponent({name:"DefaultSelect",props:{validation:{required:!1,default:"required"},label:{type:String,required:!1,default:""},name:{type:String,required:!0},hideLabel:{type:Boolean,required:!1,default:!1},placeholder:{type:String,required:!1,default:"Maak een keuze"},id:{type:String,required:!0},disabled:{type:Boolean,required:!1,default:!1},value:{required:!0},options:{type:Array,required:!0},noDefaultPlaceholder:{type:Boolean,required:!1,default:!1},isRequired:{type:Boolean,required:!1,default:!1}},setup(t,{emit:e}){const r=y.ref(!1);return{errors:V,hasNewDesign:$,wasOptionChosen:r,changeValue:a=>{r.value=!0,e("input",a.target.value)}}}});var dm=function(){var e=this,r=e._self._c;return e._self._setupProxy,r("div",{staticClass:"vd-form-group"},[e.hideLabel?e._e():r("label",{staticClass:"vd-form-group__label",attrs:{for:e.id}},[e.label?r("span",[e._v(e._s(e.label))]):r("span",[e._t("title")],2),e.isRequired&&e.label?r("span",{staticClass:"text-danger ml-1 mt-2"},[e._v("*")]):e._e()]),r("div",[r("div",{staticClass:"position-relative",class:{"vd-form-group--filled-in":e.value&&e.value!=="CHOOSE_OPTION"&&e.wasOptionChosen&&!e.errors.has(e.name),"vd-form-group--error vd-form-group--error--no-error-times":e.errors.has(e.name),"vd-form-group--empty-select":!e.value&&!e.errors.has(e.name)}},[r("select",{directives:[{name:"validate",rawName:"v-validate",value:e.validation,expression:"validation"}],staticClass:"vd-form-group__input form-control",class:{"vd-form-group__input--error":e.errors.has(e.name)},attrs:{id:e.id,disabled:e.disabled,name:e.name},domProps:{value:e.value},on:{change:e.changeValue}},[e.noDefaultPlaceholder?e._e():r("option",{attrs:{value:"",disabled:""}},[e._v(" "+e._s(e.placeholder)+" ")]),e._l(e.options,function(n,a){return r("option",{key:n.value+"_"+a,attrs:{disabled:n.disabled||!1},domProps:{selected:n.selected||!1,value:n.value}},[e._v(" "+e._s(n.title)+" ")])})],2),r("label",{staticClass:"vd-form-group__select-icon cursor-pointer",attrs:{for:e.id}})])]),e._t("additional-info"),e._t("error-messages")],2)},QR=[];dm._withStripped=!0;var fm=E(JR,dm,QR,!1,null,null,null,null);fm.options.__file="/Users/mac/Work/comparison-forms/src/components/common/inputs/DefaultSelect.vue";const se=fm.exports;function xa(t){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?xa=function(e){return typeof e}:xa=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},xa(t)}function pm(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}function hm(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),r.push.apply(r,n)}return r}function Pa(t){for(var e=1;e<arguments.length;e++){var r=arguments[e]!=null?arguments[e]:{};e%2?hm(Object(r),!0).forEach(function(n){pm(t,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):hm(Object(r)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(r,n))})}return t}var mm="_",eT="function",tT=[];function rT(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:tT,e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:mm;if(!vm(t))throw new Error("Text-mask:convertMaskToPlaceholder; The mask property must be an array.");if(t.indexOf(e)!==-1)throw new Error(`Placeholder character must not be used as part of the mask. Please specify a character that is not present in your mask as your placeholder character.
|
|
21
21
|
|
|
22
22
|
`+"The placeholder character that was received is: ".concat(JSON.stringify(e),`
|
|
23
23
|
|