@vergelijkdirect/comparison-forms 1.1.40-rc.3 → 1.1.40-rc.4
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.
|
@@ -19,7 +19,7 @@ var dd = (t, e) => {
|
|
|
19
19
|
e.indexOf(n) < 0 && ld.call(t, n) && (r[n] = t[n]);
|
|
20
20
|
return r;
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var ce = (t, e, r) => (ws(t, typeof e != "symbol" ? e + "" : e, r), r);
|
|
23
23
|
var N = (t, e, r) => new Promise((n, a) => {
|
|
24
24
|
var i = (c) => {
|
|
25
25
|
try {
|
|
@@ -9994,7 +9994,7 @@ const ik = /* @__PURE__ */ Xp(Q), Cf = /* @__PURE__ */ ib({
|
|
|
9994
9994
|
return e in this.cached ? this.cached[e] : e in this.values ? this.cached[e] = this.values[e](this) : !1;
|
|
9995
9995
|
}
|
|
9996
9996
|
};
|
|
9997
|
-
|
|
9997
|
+
ce(Mo, "instance", new Mo());
|
|
9998
9998
|
let So = Mo;
|
|
9999
9999
|
class wu {
|
|
10000
10000
|
static configure(e) {
|
|
@@ -10006,7 +10006,7 @@ class wu {
|
|
|
10006
10006
|
}
|
|
10007
10007
|
class sk {
|
|
10008
10008
|
constructor() {
|
|
10009
|
-
|
|
10009
|
+
ce(this, "insurances", [
|
|
10010
10010
|
"PetService",
|
|
10011
10011
|
"MotorService",
|
|
10012
10012
|
"BikeService",
|
|
@@ -10027,28 +10027,28 @@ class sk {
|
|
|
10027
10027
|
"TravelService",
|
|
10028
10028
|
"DataService"
|
|
10029
10029
|
]);
|
|
10030
|
-
|
|
10031
|
-
|
|
10032
|
-
|
|
10033
|
-
|
|
10034
|
-
|
|
10035
|
-
|
|
10036
|
-
|
|
10037
|
-
|
|
10038
|
-
|
|
10039
|
-
|
|
10040
|
-
|
|
10041
|
-
|
|
10042
|
-
|
|
10043
|
-
|
|
10044
|
-
|
|
10045
|
-
|
|
10046
|
-
|
|
10047
|
-
|
|
10048
|
-
|
|
10049
|
-
|
|
10050
|
-
|
|
10051
|
-
|
|
10030
|
+
ce(this, "activeInsurances");
|
|
10031
|
+
ce(this, "client");
|
|
10032
|
+
ce(this, "petService");
|
|
10033
|
+
ce(this, "motorService");
|
|
10034
|
+
ce(this, "bikeService");
|
|
10035
|
+
ce(this, "mopedService");
|
|
10036
|
+
ce(this, "housingService");
|
|
10037
|
+
ce(this, "homeService");
|
|
10038
|
+
ce(this, "liabilityService");
|
|
10039
|
+
ce(this, "householdService");
|
|
10040
|
+
ce(this, "documentService");
|
|
10041
|
+
ce(this, "packageService");
|
|
10042
|
+
ce(this, "caravanService");
|
|
10043
|
+
ce(this, "dataValidationService");
|
|
10044
|
+
ce(this, "carService");
|
|
10045
|
+
ce(this, "partnerService");
|
|
10046
|
+
ce(this, "validation");
|
|
10047
|
+
ce(this, "comparisonService");
|
|
10048
|
+
ce(this, "userService");
|
|
10049
|
+
ce(this, "v1Service");
|
|
10050
|
+
ce(this, "travelService");
|
|
10051
|
+
ce(this, "dataService");
|
|
10052
10052
|
}
|
|
10053
10053
|
checkIfHasSlash(e) {
|
|
10054
10054
|
let r = e.split("");
|
|
@@ -15675,7 +15675,7 @@ const QT = (t = null) => {
|
|
|
15675
15675
|
CatalogValue: null,
|
|
15676
15676
|
CarAlarmRequirement: "",
|
|
15677
15677
|
TheftProtectionClass: ""
|
|
15678
|
-
}),
|
|
15678
|
+
}), de = De({
|
|
15679
15679
|
sex: "m",
|
|
15680
15680
|
age: 0,
|
|
15681
15681
|
postcode: "",
|
|
@@ -28733,11 +28733,11 @@ var $_ = /* @__PURE__ */ E(
|
|
|
28733
28733
|
);
|
|
28734
28734
|
$_.options.__file = "/Users/mac/Work/comparison-forms/src/insurances/package/components/forms/PackageForm.vue";
|
|
28735
28735
|
const I2 = $_.exports, j2 = () => ({
|
|
28736
|
-
sex:
|
|
28737
|
-
age:
|
|
28738
|
-
postcode:
|
|
28739
|
-
kind:
|
|
28740
|
-
breed:
|
|
28736
|
+
sex: de.sex,
|
|
28737
|
+
age: de.age,
|
|
28738
|
+
postcode: de.postcode,
|
|
28739
|
+
kind: de.kind,
|
|
28740
|
+
breed: de.breed
|
|
28741
28741
|
}), td = (t, e) => {
|
|
28742
28742
|
const {
|
|
28743
28743
|
submitFormAndUpdateFormData: r,
|
|
@@ -28745,24 +28745,24 @@ const I2 = $_.exports, j2 = () => ({
|
|
|
28745
28745
|
setInitialUserInfoInStore: a,
|
|
28746
28746
|
removeSessionState: i
|
|
28747
28747
|
} = hs(e), o = O(!1), u = O(!1), c = H(() => {
|
|
28748
|
-
const m =
|
|
28748
|
+
const m = de.kind === "dog" ? 7 : 11, g = [];
|
|
28749
28749
|
for (let b = 0; b <= m; b++)
|
|
28750
28750
|
g.push({
|
|
28751
28751
|
title: `${b} jaar`,
|
|
28752
28752
|
value: b
|
|
28753
28753
|
});
|
|
28754
28754
|
return g;
|
|
28755
|
-
}), l = H(() =>
|
|
28756
|
-
|
|
28755
|
+
}), l = H(() => de.raceLists[de.kind]), s = (m) => {
|
|
28756
|
+
de.breed = m;
|
|
28757
28757
|
}, d = () => N(void 0, null, function* () {
|
|
28758
28758
|
try {
|
|
28759
|
-
|
|
28759
|
+
de.raceLists.dog = yield ge.v1Service.getDog();
|
|
28760
28760
|
} catch (m) {
|
|
28761
28761
|
console.log(m);
|
|
28762
28762
|
}
|
|
28763
28763
|
}), p = () => N(void 0, null, function* () {
|
|
28764
28764
|
try {
|
|
28765
|
-
|
|
28765
|
+
de.raceLists.cat = yield ge.v1Service.getCat();
|
|
28766
28766
|
} catch (m) {
|
|
28767
28767
|
console.log(m);
|
|
28768
28768
|
}
|
|
@@ -28774,19 +28774,17 @@ const I2 = $_.exports, j2 = () => ({
|
|
|
28774
28774
|
}
|
|
28775
28775
|
}), h = () => {
|
|
28776
28776
|
var m, g, b, w, k;
|
|
28777
|
-
|
|
28777
|
+
de.sex = ((m = t.insuranceState) == null ? void 0 : m.sex) || de.sex, de.age = +((g = t.insuranceState) == null ? void 0 : g.age) || de.age, de.postcode = ((b = t.insuranceState) == null ? void 0 : b.postcode) || de.postcode, de.kind = ((w = t.insuranceState) == null ? void 0 : w.kind) || de.kind, de.breed = +((k = t.insuranceState) == null ? void 0 : k.breed) || de.breed;
|
|
28778
28778
|
}, v = () => N(void 0, null, function* () {
|
|
28779
|
-
return u.value = !
|
|
28779
|
+
return u.value = !de.sex, (yield Ke([
|
|
28780
28780
|
"postcode",
|
|
28781
28781
|
"breed-value"
|
|
28782
28782
|
])) && !u.value;
|
|
28783
28783
|
}), y = () => N(void 0, null, function* () {
|
|
28784
|
-
if (yield v())
|
|
28785
|
-
|
|
28786
|
-
|
|
28787
|
-
|
|
28788
|
-
} else
|
|
28789
|
-
r({ petState: ce });
|
|
28784
|
+
if (yield v()) {
|
|
28785
|
+
const m = j2();
|
|
28786
|
+
t.formLocation === ne.isBeforeFlow ? n(t.link, m) : r({ petState: m });
|
|
28787
|
+
}
|
|
28790
28788
|
});
|
|
28791
28789
|
return ke(() => N(void 0, null, function* () {
|
|
28792
28790
|
o.value = !1, yield f(), t.formLocation === ne.isOnResultPage && (a(t), h()), t.formLocation === ne.isBeforeFlow && i("pet-storage", "pet-path"), o.value = !0;
|
|
@@ -28985,7 +28983,7 @@ const ad = N_.exports, L2 = R({
|
|
|
28985
28983
|
getRaceLists: c
|
|
28986
28984
|
} = td(t, e);
|
|
28987
28985
|
return {
|
|
28988
|
-
petState:
|
|
28986
|
+
petState: de,
|
|
28989
28987
|
petKinds: rd,
|
|
28990
28988
|
petGenders: nd,
|
|
28991
28989
|
errors: z,
|
|
@@ -29082,7 +29080,7 @@ const q2 = j_.exports, z2 = R({
|
|
|
29082
29080
|
validateBeforeSubmit: l
|
|
29083
29081
|
} = td(t, e);
|
|
29084
29082
|
return {
|
|
29085
|
-
petState:
|
|
29083
|
+
petState: de,
|
|
29086
29084
|
petKinds: rd,
|
|
29087
29085
|
petGenders: nd,
|
|
29088
29086
|
errors: z,
|
|
@@ -29183,7 +29181,7 @@ const U2 = B_.exports, Y2 = R({
|
|
|
29183
29181
|
getRaceLists: c
|
|
29184
29182
|
} = td(t, e);
|
|
29185
29183
|
return {
|
|
29186
|
-
petState:
|
|
29184
|
+
petState: de,
|
|
29187
29185
|
petKinds: rd,
|
|
29188
29186
|
petGenders: nd,
|
|
29189
29187
|
errors: z,
|