@vergelijkdirect/comparison-forms 1.0.205 → 1.0.207
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-rollup/comparison-forms.js +511 -557
- package/dist-rollup/comparison-forms.umd.cjs +14 -14
- package/package.json +1 -1
|
@@ -36,7 +36,7 @@ var F = (t, e, r) => new Promise((n, a) => {
|
|
|
36
36
|
}, u = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(i, o);
|
|
37
37
|
u((r = r.apply(t, e)).next());
|
|
38
38
|
});
|
|
39
|
-
import jt, { ref as O, reactive as Be, getCurrentInstance as Nr, computed as U, onMounted as
|
|
39
|
+
import jt, { ref as O, reactive as Be, getCurrentInstance as Nr, computed as U, onMounted as Ee, defineComponent as j, nextTick as un, watch as gn, onBeforeUnmount as V0, toRefs as Vm, inject as Qf } from "vue";
|
|
40
40
|
function B0(t, e) {
|
|
41
41
|
for (var r = 0; r < e.length; r++) {
|
|
42
42
|
const n = e[r];
|
|
@@ -111,7 +111,7 @@ var Y0 = (
|
|
|
111
111
|
}()
|
|
112
112
|
);
|
|
113
113
|
Ac.default = Y0;
|
|
114
|
-
var oo = {}, Xu = {}, Nc = {},
|
|
114
|
+
var oo = {}, Xu = {}, Nc = {}, ze = {}, Ic = {}, st = {}, ir = {}, Ma = {}, jc = {}, eh = _ && _.__read || function(t, e) {
|
|
115
115
|
var r = typeof Symbol == "function" && t[Symbol.iterator];
|
|
116
116
|
if (!r)
|
|
117
117
|
return t;
|
|
@@ -2088,7 +2088,7 @@ sd.default = yS;
|
|
|
2088
2088
|
Object.defineProperty(t, "DataValidationResource", { enumerable: !0, get: function() {
|
|
2089
2089
|
return b.default;
|
|
2090
2090
|
} });
|
|
2091
|
-
})(
|
|
2091
|
+
})(ze);
|
|
2092
2092
|
var uo = _ && _.__awaiter || function(t, e, r, n) {
|
|
2093
2093
|
function a(i) {
|
|
2094
2094
|
return i instanceof r ? i : new r(function(o) {
|
|
@@ -2181,7 +2181,7 @@ var uo = _ && _.__awaiter || function(t, e, r, n) {
|
|
|
2181
2181
|
}
|
|
2182
2182
|
};
|
|
2183
2183
|
Object.defineProperty(Nc, "__esModule", { value: !0 });
|
|
2184
|
-
var _S =
|
|
2184
|
+
var _S = ze, bS = (
|
|
2185
2185
|
/** @class */
|
|
2186
2186
|
function() {
|
|
2187
2187
|
function t() {
|
|
@@ -2454,7 +2454,7 @@ function CS() {
|
|
|
2454
2454
|
}
|
|
2455
2455
|
};
|
|
2456
2456
|
Object.defineProperty(co, "__esModule", { value: !0 });
|
|
2457
|
-
var n =
|
|
2457
|
+
var n = ze, a = ie(), i = mt, o = ut(), u = (
|
|
2458
2458
|
/** @class */
|
|
2459
2459
|
function(c) {
|
|
2460
2460
|
t(l, c);
|
|
@@ -2596,7 +2596,7 @@ function xS() {
|
|
|
2596
2596
|
}
|
|
2597
2597
|
};
|
|
2598
2598
|
Object.defineProperty(fo, "__esModule", { value: !0 });
|
|
2599
|
-
var n = ie(), a = ut(), i =
|
|
2599
|
+
var n = ie(), a = ut(), i = ze, o = (
|
|
2600
2600
|
/** @class */
|
|
2601
2601
|
function(u) {
|
|
2602
2602
|
t(c, u);
|
|
@@ -2748,7 +2748,7 @@ function PS() {
|
|
|
2748
2748
|
}
|
|
2749
2749
|
};
|
|
2750
2750
|
Object.defineProperty(ho, "__esModule", { value: !0 });
|
|
2751
|
-
var n =
|
|
2751
|
+
var n = ze, a = ie(), i = mt, o = ut(), u = (
|
|
2752
2752
|
/** @class */
|
|
2753
2753
|
function(c) {
|
|
2754
2754
|
t(l, c);
|
|
@@ -2894,7 +2894,7 @@ function DS() {
|
|
|
2894
2894
|
}
|
|
2895
2895
|
};
|
|
2896
2896
|
Object.defineProperty(po, "__esModule", { value: !0 });
|
|
2897
|
-
var n =
|
|
2897
|
+
var n = ze, a = ie(), i = mt, o = ut(), u = (
|
|
2898
2898
|
/** @class */
|
|
2899
2899
|
function(c) {
|
|
2900
2900
|
t(l, c);
|
|
@@ -3074,7 +3074,7 @@ function $S() {
|
|
|
3074
3074
|
}
|
|
3075
3075
|
};
|
|
3076
3076
|
Object.defineProperty(mo, "__esModule", { value: !0 });
|
|
3077
|
-
var n =
|
|
3077
|
+
var n = ze, a = ie(), i = mt, o = ut(), u = (
|
|
3078
3078
|
/** @class */
|
|
3079
3079
|
function(c) {
|
|
3080
3080
|
t(l, c);
|
|
@@ -3252,7 +3252,7 @@ function TS() {
|
|
|
3252
3252
|
}
|
|
3253
3253
|
};
|
|
3254
3254
|
Object.defineProperty(vo, "__esModule", { value: !0 });
|
|
3255
|
-
var n =
|
|
3255
|
+
var n = ze, a = ie(), i = mt, o = ut(), u = (
|
|
3256
3256
|
/** @class */
|
|
3257
3257
|
function(c) {
|
|
3258
3258
|
t(l, c);
|
|
@@ -3352,15 +3352,15 @@ function MS() {
|
|
|
3352
3352
|
function y(b) {
|
|
3353
3353
|
try {
|
|
3354
3354
|
g(h.next(b));
|
|
3355
|
-
} catch (
|
|
3356
|
-
v(
|
|
3355
|
+
} catch (S) {
|
|
3356
|
+
v(S);
|
|
3357
3357
|
}
|
|
3358
3358
|
}
|
|
3359
3359
|
function m(b) {
|
|
3360
3360
|
try {
|
|
3361
3361
|
g(h.throw(b));
|
|
3362
|
-
} catch (
|
|
3363
|
-
v(
|
|
3362
|
+
} catch (S) {
|
|
3363
|
+
v(S);
|
|
3364
3364
|
}
|
|
3365
3365
|
}
|
|
3366
3366
|
function g(b) {
|
|
@@ -3434,7 +3434,7 @@ function MS() {
|
|
|
3434
3434
|
}
|
|
3435
3435
|
};
|
|
3436
3436
|
Object.defineProperty(go, "__esModule", { value: !0 });
|
|
3437
|
-
var n =
|
|
3437
|
+
var n = ze, a = ie(), i = Gn, o = mt, u = Fi, c = (
|
|
3438
3438
|
/** @class */
|
|
3439
3439
|
function(l) {
|
|
3440
3440
|
t(s, l);
|
|
@@ -3586,7 +3586,7 @@ function RS() {
|
|
|
3586
3586
|
}
|
|
3587
3587
|
};
|
|
3588
3588
|
Object.defineProperty(yo, "__esModule", { value: !0 });
|
|
3589
|
-
var n =
|
|
3589
|
+
var n = ze, a = ie(), i = mt, o = ut(), u = (
|
|
3590
3590
|
/** @class */
|
|
3591
3591
|
function(c) {
|
|
3592
3592
|
t(l, c);
|
|
@@ -3792,15 +3792,15 @@ function FS() {
|
|
|
3792
3792
|
function y(b) {
|
|
3793
3793
|
try {
|
|
3794
3794
|
g(h.next(b));
|
|
3795
|
-
} catch (
|
|
3796
|
-
v(
|
|
3795
|
+
} catch (S) {
|
|
3796
|
+
v(S);
|
|
3797
3797
|
}
|
|
3798
3798
|
}
|
|
3799
3799
|
function m(b) {
|
|
3800
3800
|
try {
|
|
3801
3801
|
g(h.throw(b));
|
|
3802
|
-
} catch (
|
|
3803
|
-
v(
|
|
3802
|
+
} catch (S) {
|
|
3803
|
+
v(S);
|
|
3804
3804
|
}
|
|
3805
3805
|
}
|
|
3806
3806
|
function g(b) {
|
|
@@ -3874,7 +3874,7 @@ function FS() {
|
|
|
3874
3874
|
}
|
|
3875
3875
|
};
|
|
3876
3876
|
Object.defineProperty(_o, "__esModule", { value: !0 });
|
|
3877
|
-
var n =
|
|
3877
|
+
var n = ze, a = ie(), i = Gn, o = mt, u = ut(), c = (
|
|
3878
3878
|
/** @class */
|
|
3879
3879
|
function(l) {
|
|
3880
3880
|
t(s, l);
|
|
@@ -4026,7 +4026,7 @@ function LS() {
|
|
|
4026
4026
|
}
|
|
4027
4027
|
};
|
|
4028
4028
|
Object.defineProperty(bo, "__esModule", { value: !0 });
|
|
4029
|
-
var n =
|
|
4029
|
+
var n = ze, a = ie(), i = mt, o = ut(), u = (
|
|
4030
4030
|
/** @class */
|
|
4031
4031
|
function(c) {
|
|
4032
4032
|
t(l, c);
|
|
@@ -4166,7 +4166,7 @@ function VS() {
|
|
|
4166
4166
|
}
|
|
4167
4167
|
};
|
|
4168
4168
|
Object.defineProperty(wo, "__esModule", { value: !0 });
|
|
4169
|
-
var n =
|
|
4169
|
+
var n = ze, a = ie(), i = mt, o = ut(), u = (
|
|
4170
4170
|
/** @class */
|
|
4171
4171
|
function(c) {
|
|
4172
4172
|
t(l, c);
|
|
@@ -4199,7 +4199,7 @@ function VS() {
|
|
|
4199
4199
|
}
|
|
4200
4200
|
var fd = {};
|
|
4201
4201
|
Object.defineProperty(fd, "__esModule", { value: !0 });
|
|
4202
|
-
var BS =
|
|
4202
|
+
var BS = ze, YS = (
|
|
4203
4203
|
/** @class */
|
|
4204
4204
|
function() {
|
|
4205
4205
|
function t() {
|
|
@@ -4215,7 +4215,7 @@ var BS = Ue, YS = (
|
|
|
4215
4215
|
fd.default = YS;
|
|
4216
4216
|
var hd = {};
|
|
4217
4217
|
Object.defineProperty(hd, "__esModule", { value: !0 });
|
|
4218
|
-
var HS =
|
|
4218
|
+
var HS = ze, qS = (
|
|
4219
4219
|
/** @class */
|
|
4220
4220
|
function() {
|
|
4221
4221
|
function t() {
|
|
@@ -4522,22 +4522,22 @@ function ZS() {
|
|
|
4522
4522
|
});
|
|
4523
4523
|
}
|
|
4524
4524
|
return new (h || (h = Promise))(function(v, y) {
|
|
4525
|
-
function m(
|
|
4525
|
+
function m(S) {
|
|
4526
4526
|
try {
|
|
4527
|
-
b(f.next(
|
|
4527
|
+
b(f.next(S));
|
|
4528
4528
|
} catch (D) {
|
|
4529
4529
|
y(D);
|
|
4530
4530
|
}
|
|
4531
4531
|
}
|
|
4532
|
-
function g(
|
|
4532
|
+
function g(S) {
|
|
4533
4533
|
try {
|
|
4534
|
-
b(f.throw(
|
|
4534
|
+
b(f.throw(S));
|
|
4535
4535
|
} catch (D) {
|
|
4536
4536
|
y(D);
|
|
4537
4537
|
}
|
|
4538
4538
|
}
|
|
4539
|
-
function b(
|
|
4540
|
-
|
|
4539
|
+
function b(S) {
|
|
4540
|
+
S.done ? v(S.value) : p(S.value).then(m, g);
|
|
4541
4541
|
}
|
|
4542
4542
|
b((f = f.apply(s, d || [])).next());
|
|
4543
4543
|
});
|
|
@@ -4551,8 +4551,8 @@ function ZS() {
|
|
|
4551
4551
|
return this;
|
|
4552
4552
|
}), y;
|
|
4553
4553
|
function m(b) {
|
|
4554
|
-
return function(
|
|
4555
|
-
return g([b,
|
|
4554
|
+
return function(S) {
|
|
4555
|
+
return g([b, S]);
|
|
4556
4556
|
};
|
|
4557
4557
|
}
|
|
4558
4558
|
function g(b) {
|
|
@@ -4596,8 +4596,8 @@ function ZS() {
|
|
|
4596
4596
|
continue;
|
|
4597
4597
|
}
|
|
4598
4598
|
b = d.call(s, h);
|
|
4599
|
-
} catch (
|
|
4600
|
-
b = [6,
|
|
4599
|
+
} catch (S) {
|
|
4600
|
+
b = [6, S], p = 0;
|
|
4601
4601
|
} finally {
|
|
4602
4602
|
f = v = 0;
|
|
4603
4603
|
}
|
|
@@ -4618,7 +4618,7 @@ function ZS() {
|
|
|
4618
4618
|
throw new TypeError(d ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
4619
4619
|
};
|
|
4620
4620
|
Object.defineProperty(ko, "__esModule", { value: !0 });
|
|
4621
|
-
var n =
|
|
4621
|
+
var n = ze, a = eu, i = ie(), o = mt, u = Li, c = Ma, l = (
|
|
4622
4622
|
/** @class */
|
|
4623
4623
|
function() {
|
|
4624
4624
|
function s() {
|
|
@@ -4630,7 +4630,7 @@ function ZS() {
|
|
|
4630
4630
|
return this.client.calculateAdditionalCoverages(d);
|
|
4631
4631
|
}, s.prototype.calculatePackages = function(d) {
|
|
4632
4632
|
return t(this, void 0, void 0, function() {
|
|
4633
|
-
var h, f, p, v, y, m, g, b,
|
|
4633
|
+
var h, f, p, v, y, m, g, b, S;
|
|
4634
4634
|
return e(this, function(D) {
|
|
4635
4635
|
switch (D.label) {
|
|
4636
4636
|
case 0:
|
|
@@ -4653,7 +4653,7 @@ function ZS() {
|
|
|
4653
4653
|
b = { error: L };
|
|
4654
4654
|
} finally {
|
|
4655
4655
|
try {
|
|
4656
|
-
m && !m.done && (
|
|
4656
|
+
m && !m.done && (S = y.return) && S.call(y);
|
|
4657
4657
|
} finally {
|
|
4658
4658
|
if (b)
|
|
4659
4659
|
throw b.error;
|
|
@@ -4793,7 +4793,7 @@ function KS() {
|
|
|
4793
4793
|
}
|
|
4794
4794
|
};
|
|
4795
4795
|
Object.defineProperty(Co, "__esModule", { value: !0 });
|
|
4796
|
-
var r =
|
|
4796
|
+
var r = ze, n = ie(), a = (
|
|
4797
4797
|
/** @class */
|
|
4798
4798
|
function() {
|
|
4799
4799
|
function i() {
|
|
@@ -5073,7 +5073,7 @@ function eO() {
|
|
|
5073
5073
|
}
|
|
5074
5074
|
};
|
|
5075
5075
|
Object.defineProperty(xo, "__esModule", { value: !0 });
|
|
5076
|
-
var r =
|
|
5076
|
+
var r = ze, n = Zr(), a = Ma, i = (
|
|
5077
5077
|
/** @class */
|
|
5078
5078
|
function() {
|
|
5079
5079
|
function o() {
|
|
@@ -5126,7 +5126,7 @@ function eO() {
|
|
|
5126
5126
|
}
|
|
5127
5127
|
var gd = {};
|
|
5128
5128
|
Object.defineProperty(gd, "__esModule", { value: !0 });
|
|
5129
|
-
var tO =
|
|
5129
|
+
var tO = ze, rO = (
|
|
5130
5130
|
/** @class */
|
|
5131
5131
|
function() {
|
|
5132
5132
|
function t() {
|
|
@@ -5257,7 +5257,7 @@ function nO() {
|
|
|
5257
5257
|
}
|
|
5258
5258
|
};
|
|
5259
5259
|
Object.defineProperty(To, "__esModule", { value: !0 });
|
|
5260
|
-
var n =
|
|
5260
|
+
var n = ze, a = ie(), i = mt, o = ut(), u = (
|
|
5261
5261
|
/** @class */
|
|
5262
5262
|
function(c) {
|
|
5263
5263
|
t(l, c);
|
|
@@ -5650,9 +5650,9 @@ function ut() {
|
|
|
5650
5650
|
Object.defineProperty(t, "DocumentService", { enumerable: !0, get: function() {
|
|
5651
5651
|
return b.default;
|
|
5652
5652
|
} });
|
|
5653
|
-
var
|
|
5653
|
+
var S = eO();
|
|
5654
5654
|
Object.defineProperty(t, "ComparisonService", { enumerable: !0, get: function() {
|
|
5655
|
-
return
|
|
5655
|
+
return S.default;
|
|
5656
5656
|
} });
|
|
5657
5657
|
var D = gd;
|
|
5658
5658
|
Object.defineProperty(t, "DataValidationService", { enumerable: !0, get: function() {
|
|
@@ -5982,8 +5982,8 @@ function hO() {
|
|
|
5982
5982
|
var m = [];
|
|
5983
5983
|
try {
|
|
5984
5984
|
for (var g = (d = void 0, e(f[y].all())), b = g.next(); !b.done; b = g.next()) {
|
|
5985
|
-
var
|
|
5986
|
-
m.push(
|
|
5985
|
+
var S = b.value;
|
|
5986
|
+
m.push(S.getData());
|
|
5987
5987
|
}
|
|
5988
5988
|
} catch (D) {
|
|
5989
5989
|
d = { error: D };
|
|
@@ -9481,10 +9481,10 @@ function ie() {
|
|
|
9481
9481
|
return op || (op = 1, function(t) {
|
|
9482
9482
|
var e = _ && _.__createBinding || (Object.create ? function(y, m, g, b) {
|
|
9483
9483
|
b === void 0 && (b = g);
|
|
9484
|
-
var
|
|
9485
|
-
(!
|
|
9484
|
+
var S = Object.getOwnPropertyDescriptor(m, g);
|
|
9485
|
+
(!S || ("get" in S ? !m.__esModule : S.writable || S.configurable)) && (S = { enumerable: !0, get: function() {
|
|
9486
9486
|
return m[g];
|
|
9487
|
-
} }), Object.defineProperty(y, b,
|
|
9487
|
+
} }), Object.defineProperty(y, b, S);
|
|
9488
9488
|
} : function(y, m, g, b) {
|
|
9489
9489
|
b === void 0 && (b = g), y[b] = m[g];
|
|
9490
9490
|
}), r = _ && _.__exportStar || function(y, m) {
|
|
@@ -9925,7 +9925,7 @@ var Ia = function(t) {
|
|
|
9925
9925
|
return !1;
|
|
9926
9926
|
return !0;
|
|
9927
9927
|
}
|
|
9928
|
-
return
|
|
9928
|
+
return qe(t) && qe(e) ? Object.keys(t).every(function(n) {
|
|
9929
9929
|
return In(t[n], e[n]);
|
|
9930
9930
|
}) && Object.keys(e).every(function(n) {
|
|
9931
9931
|
return In(t[n], e[n]);
|
|
@@ -9971,9 +9971,9 @@ var Ia = function(t) {
|
|
|
9971
9971
|
}, yt = function(t, e) {
|
|
9972
9972
|
return e ? t ? (typeof e == "string" && (e = Fr(e)), me({}, e, Fr(t))) : Fr(e) : Fr(t);
|
|
9973
9973
|
}, Fr = function(t) {
|
|
9974
|
-
return t ?
|
|
9974
|
+
return t ? qe(t) ? Object.keys(t).reduce(function(e, r) {
|
|
9975
9975
|
var n = [];
|
|
9976
|
-
return t[r] === !0 ? n = [] : Array.isArray(t[r]) ||
|
|
9976
|
+
return t[r] === !0 ? n = [] : Array.isArray(t[r]) || qe(t[r]) ? n = t[r] : n = [t[r]], t[r] !== !1 && (e[r] = n), e;
|
|
9977
9977
|
}, {}) : typeof t != "string" ? (Ct("rules must be either a string or an object."), {}) : t.split("|").reduce(function(e, r) {
|
|
9978
9978
|
var n = HP(r);
|
|
9979
9979
|
return n.name && (e[n.name] = n.params), e;
|
|
@@ -9982,7 +9982,7 @@ var Ia = function(t) {
|
|
|
9982
9982
|
console.warn("[vee-validate] " + t);
|
|
9983
9983
|
}, Hr = function(t) {
|
|
9984
9984
|
return new Error("[vee-validate] " + t);
|
|
9985
|
-
},
|
|
9985
|
+
}, qe = function(t) {
|
|
9986
9986
|
return t !== null && t && typeof t == "object" && !Array.isArray(t);
|
|
9987
9987
|
}, K = function(t) {
|
|
9988
9988
|
return typeof t == "function";
|
|
@@ -10072,9 +10072,9 @@ var Ia = function(t) {
|
|
|
10072
10072
|
e[r] = parseInt(t[r]);
|
|
10073
10073
|
return e;
|
|
10074
10074
|
}, Pi = function(t, e) {
|
|
10075
|
-
return
|
|
10075
|
+
return qe(t) && qe(e) && Object.keys(e).forEach(function(r) {
|
|
10076
10076
|
var n, a;
|
|
10077
|
-
if (
|
|
10077
|
+
if (qe(e[r])) {
|
|
10078
10078
|
t[r] || me(t, (n = {}, n[r] = {}, n)), Pi(t[r], e[r]);
|
|
10079
10079
|
return;
|
|
10080
10080
|
}
|
|
@@ -10210,10 +10210,10 @@ Je.setDriver = function(e, r) {
|
|
|
10210
10210
|
Je.getDriver = function() {
|
|
10211
10211
|
return Kv[Xv];
|
|
10212
10212
|
};
|
|
10213
|
-
var
|
|
10213
|
+
var De = function t(e, r) {
|
|
10214
10214
|
e === void 0 && (e = null), r === void 0 && (r = null), this.vmId = r || null, e && e instanceof t ? this.items = e.items : this.items = [];
|
|
10215
10215
|
};
|
|
10216
|
-
|
|
10216
|
+
De.prototype[typeof Symbol == "function" ? Symbol.iterator : "@@iterator"] = function() {
|
|
10217
10217
|
var t = this, e = 0;
|
|
10218
10218
|
return {
|
|
10219
10219
|
next: function() {
|
|
@@ -10221,25 +10221,25 @@ $e.prototype[typeof Symbol == "function" ? Symbol.iterator : "@@iterator"] = fun
|
|
|
10221
10221
|
}
|
|
10222
10222
|
};
|
|
10223
10223
|
};
|
|
10224
|
-
|
|
10224
|
+
De.prototype.add = function(e) {
|
|
10225
10225
|
var r;
|
|
10226
10226
|
(r = this.items).push.apply(
|
|
10227
10227
|
r,
|
|
10228
10228
|
this._normalizeError(e)
|
|
10229
10229
|
);
|
|
10230
10230
|
};
|
|
10231
|
-
|
|
10231
|
+
De.prototype._normalizeError = function(e) {
|
|
10232
10232
|
var r = this;
|
|
10233
10233
|
return Array.isArray(e) ? e.map(function(n) {
|
|
10234
10234
|
return n.scope = R(n.scope) ? null : n.scope, n.vmId = R(n.vmId) ? r.vmId || null : n.vmId, n;
|
|
10235
10235
|
}) : (e.scope = R(e.scope) ? null : e.scope, e.vmId = R(e.vmId) ? this.vmId || null : e.vmId, [e]);
|
|
10236
10236
|
};
|
|
10237
|
-
|
|
10237
|
+
De.prototype.regenerate = function() {
|
|
10238
10238
|
this.items.forEach(function(e) {
|
|
10239
10239
|
e.msg = K(e.regenerate) ? e.regenerate() : e.msg;
|
|
10240
10240
|
});
|
|
10241
10241
|
};
|
|
10242
|
-
|
|
10242
|
+
De.prototype.update = function(e, r) {
|
|
10243
10243
|
var n = wn(this.items, function(i) {
|
|
10244
10244
|
return i.id === e;
|
|
10245
10245
|
});
|
|
@@ -10248,7 +10248,7 @@ $e.prototype.update = function(e, r) {
|
|
|
10248
10248
|
this.items.splice(a, 1), n.scope = r.scope, this.items.push(n);
|
|
10249
10249
|
}
|
|
10250
10250
|
};
|
|
10251
|
-
|
|
10251
|
+
De.prototype.all = function(e) {
|
|
10252
10252
|
var r = this, n = function(a) {
|
|
10253
10253
|
var i = !0, o = !0;
|
|
10254
10254
|
return R(e) || (i = a.scope === e), R(r.vmId) || (o = a.vmId === r.vmId), o && i;
|
|
@@ -10257,14 +10257,14 @@ $e.prototype.all = function(e) {
|
|
|
10257
10257
|
return a.msg;
|
|
10258
10258
|
});
|
|
10259
10259
|
};
|
|
10260
|
-
|
|
10260
|
+
De.prototype.any = function(e) {
|
|
10261
10261
|
var r = this, n = function(a) {
|
|
10262
10262
|
var i = !0, o = !0;
|
|
10263
10263
|
return R(e) || (i = a.scope === e), R(r.vmId) || (o = a.vmId === r.vmId), o && i;
|
|
10264
10264
|
};
|
|
10265
10265
|
return !!this.items.filter(n).length;
|
|
10266
10266
|
};
|
|
10267
|
-
|
|
10267
|
+
De.prototype.clear = function(e) {
|
|
10268
10268
|
var r = this, n = R(this.vmId) ? function() {
|
|
10269
10269
|
return !0;
|
|
10270
10270
|
} : function(o) {
|
|
@@ -10278,7 +10278,7 @@ $e.prototype.clear = function(e) {
|
|
|
10278
10278
|
for (var i = 0; i < this.items.length; ++i)
|
|
10279
10279
|
n(this.items[i]) && a(this.items[i]) && (this.items.splice(i, 1), --i);
|
|
10280
10280
|
};
|
|
10281
|
-
|
|
10281
|
+
De.prototype.collect = function(e, r, n) {
|
|
10282
10282
|
var a = this;
|
|
10283
10283
|
n === void 0 && (n = !0);
|
|
10284
10284
|
var i = !R(e) && !e.includes("*"), o = function(h) {
|
|
@@ -10294,45 +10294,45 @@ $e.prototype.collect = function(e, r, n) {
|
|
|
10294
10294
|
}, { primary: [], alt: [] });
|
|
10295
10295
|
return d = d.primary.length ? d.primary : d.alt, o(d);
|
|
10296
10296
|
};
|
|
10297
|
-
|
|
10297
|
+
De.prototype.count = function() {
|
|
10298
10298
|
var e = this;
|
|
10299
10299
|
return this.vmId ? this.items.filter(function(r) {
|
|
10300
10300
|
return r.vmId === e.vmId;
|
|
10301
10301
|
}).length : this.items.length;
|
|
10302
10302
|
};
|
|
10303
|
-
|
|
10303
|
+
De.prototype.firstById = function(e) {
|
|
10304
10304
|
var r = wn(this.items, function(n) {
|
|
10305
10305
|
return n.id === e;
|
|
10306
10306
|
});
|
|
10307
10307
|
return r ? r.msg : void 0;
|
|
10308
10308
|
};
|
|
10309
|
-
|
|
10309
|
+
De.prototype.first = function(e, r) {
|
|
10310
10310
|
r === void 0 && (r = null);
|
|
10311
10311
|
var n = R(r) ? e : r + "." + e, a = this._match(n);
|
|
10312
10312
|
return a && a.msg;
|
|
10313
10313
|
};
|
|
10314
|
-
|
|
10314
|
+
De.prototype.firstRule = function(e, r) {
|
|
10315
10315
|
var n = this.collect(e, r, !1);
|
|
10316
10316
|
return n.length && n[0].rule || void 0;
|
|
10317
10317
|
};
|
|
10318
|
-
|
|
10318
|
+
De.prototype.has = function(e, r) {
|
|
10319
10319
|
return r === void 0 && (r = null), !!this.first(e, r);
|
|
10320
10320
|
};
|
|
10321
|
-
|
|
10321
|
+
De.prototype.firstByRule = function(e, r, n) {
|
|
10322
10322
|
n === void 0 && (n = null);
|
|
10323
10323
|
var a = this.collect(e, n, !1).filter(function(i) {
|
|
10324
10324
|
return i.rule === r;
|
|
10325
10325
|
})[0];
|
|
10326
10326
|
return a && a.msg || void 0;
|
|
10327
10327
|
};
|
|
10328
|
-
|
|
10328
|
+
De.prototype.firstNot = function(e, r, n) {
|
|
10329
10329
|
r === void 0 && (r = "required"), n === void 0 && (n = null);
|
|
10330
10330
|
var a = this.collect(e, n, !1).filter(function(i) {
|
|
10331
10331
|
return i.rule !== r;
|
|
10332
10332
|
})[0];
|
|
10333
10333
|
return a && a.msg || void 0;
|
|
10334
10334
|
};
|
|
10335
|
-
|
|
10335
|
+
De.prototype.removeById = function(e) {
|
|
10336
10336
|
var r = function(a) {
|
|
10337
10337
|
return a.id === e;
|
|
10338
10338
|
};
|
|
@@ -10342,7 +10342,7 @@ $e.prototype.removeById = function(e) {
|
|
|
10342
10342
|
for (var n = 0; n < this.items.length; ++n)
|
|
10343
10343
|
r(this.items[n]) && (this.items.splice(n, 1), --n);
|
|
10344
10344
|
};
|
|
10345
|
-
|
|
10345
|
+
De.prototype.remove = function(e, r, n) {
|
|
10346
10346
|
if (!R(e))
|
|
10347
10347
|
for (var a = R(r) ? String(e) : r + "." + e, i = this._makeCandidateFilters(a), o = i.isPrimary, u = i.isAlt, c = function(d) {
|
|
10348
10348
|
return o(d) || u(d);
|
|
@@ -10351,7 +10351,7 @@ $e.prototype.remove = function(e, r, n) {
|
|
|
10351
10351
|
}, s = 0; s < this.items.length; ++s)
|
|
10352
10352
|
l(this.items[s]) && (this.items.splice(s, 1), --s);
|
|
10353
10353
|
};
|
|
10354
|
-
|
|
10354
|
+
De.prototype._makeCandidateFilters = function(e) {
|
|
10355
10355
|
var r = this, n = function() {
|
|
10356
10356
|
return !0;
|
|
10357
10357
|
}, a = function() {
|
|
@@ -10393,7 +10393,7 @@ $e.prototype._makeCandidateFilters = function(e) {
|
|
|
10393
10393
|
isAlt: f
|
|
10394
10394
|
};
|
|
10395
10395
|
};
|
|
10396
|
-
|
|
10396
|
+
De.prototype._match = function(e) {
|
|
10397
10397
|
if (!R(e)) {
|
|
10398
10398
|
var r = this._makeCandidateFilters(e), n = r.isPrimary, a = r.isAlt;
|
|
10399
10399
|
return this.items.reduce(function(i, o, u, c) {
|
|
@@ -10532,7 +10532,7 @@ pe.resolveInitialValue = function(e) {
|
|
|
10532
10532
|
};
|
|
10533
10533
|
pe.resolveDelay = function(e, r, n) {
|
|
10534
10534
|
var a = yn(e, "delay"), i = n && "delay" in n ? n.delay : 0;
|
|
10535
|
-
return !a && r.componentInstance && r.componentInstance.$attrs && (a = r.componentInstance.$attrs["data-vv-delay"]),
|
|
10535
|
+
return !a && r.componentInstance && r.componentInstance.$attrs && (a = r.componentInstance.$attrs["data-vv-delay"]), qe(i) ? (R(a) || (i.input = a), fp(i)) : fp(a || i);
|
|
10536
10536
|
};
|
|
10537
10537
|
pe.resolveEvents = function(e, r) {
|
|
10538
10538
|
var n = yn(e, "validate-on");
|
|
@@ -10773,7 +10773,7 @@ we.prototype.isWaitingFor = function(e) {
|
|
|
10773
10773
|
};
|
|
10774
10774
|
we.prototype.update = function(e) {
|
|
10775
10775
|
var r = this;
|
|
10776
|
-
if (this.targetOf = e.targetOf || null, this.immediate = e.immediate || this.immediate || !1, this.persist = e.persist || this.persist || !1, !R(e.scope) && e.scope !== this.scope && K(this.validator.update) && this.validator.update(this.id, { scope: e.scope }), this.scope = R(e.scope) ? R(this.scope) ? null : this.scope : e.scope, this.name = (R(e.name) ? e.name : String(e.name)) || this.name || null, this.rules = e.rules !== void 0 ? Fr(e.rules) : this.rules, this._bails = e.bails !== void 0 ? e.bails : this._bails, this.model = e.model || this.model, this.listen = e.listen !== void 0 ? e.listen : this.listen, this.classes = (e.classes || this.classes || !1) && !this.componentInstance, this.classNames =
|
|
10776
|
+
if (this.targetOf = e.targetOf || null, this.immediate = e.immediate || this.immediate || !1, this.persist = e.persist || this.persist || !1, !R(e.scope) && e.scope !== this.scope && K(this.validator.update) && this.validator.update(this.id, { scope: e.scope }), this.scope = R(e.scope) ? R(this.scope) ? null : this.scope : e.scope, this.name = (R(e.name) ? e.name : String(e.name)) || this.name || null, this.rules = e.rules !== void 0 ? Fr(e.rules) : this.rules, this._bails = e.bails !== void 0 ? e.bails : this._bails, this.model = e.model || this.model, this.listen = e.listen !== void 0 ? e.listen : this.listen, this.classes = (e.classes || this.classes || !1) && !this.componentInstance, this.classNames = qe(e.classNames) ? Pi(this.classNames, e.classNames) : this.classNames, this.getter = K(e.getter) ? e.getter : this.getter, this._alias = e.alias || this._alias, this.events = e.events ? ig(e.events) : this.events, this.delay = WP(this.events, e.delay || this.delay, this._delay), this.updateDependencies(), this.addActionListeners(), process.env.NODE_ENV !== "production" && !this.name && !this.targetOf && Ct('A field is missing a "name" or "data-vv-name" attribute'), e.rules !== void 0 && (this.flags.required = this.isRequired), Object.keys(e.rules || {}).length === 0 && this.updated) {
|
|
10777
10777
|
var n = this.flags.validated;
|
|
10778
10778
|
this.validator.validate("#" + this.id).then(function() {
|
|
10779
10779
|
r.flags.validated = n;
|
|
@@ -11049,7 +11049,7 @@ Sr.prototype.push = function(e) {
|
|
|
11049
11049
|
};
|
|
11050
11050
|
Object.defineProperties(Sr.prototype, og);
|
|
11051
11051
|
var Ke = function(e, r) {
|
|
11052
|
-
this.id = r._uid, this._base = e, this._paused = !1, this.errors = new
|
|
11052
|
+
this.id = r._uid, this._base = e, this._paused = !1, this.errors = new De(e.errors, this.id);
|
|
11053
11053
|
}, Kn = { flags: { configurable: !0 }, rules: { configurable: !0 }, fields: { configurable: !0 }, dictionary: { configurable: !0 }, locale: { configurable: !0 } };
|
|
11054
11054
|
Kn.flags.get = function() {
|
|
11055
11055
|
var t = this;
|
|
@@ -11141,7 +11141,7 @@ var sg = null, ic = function() {
|
|
|
11141
11141
|
}, rD = function(t) {
|
|
11142
11142
|
return sg = t, t;
|
|
11143
11143
|
}, nD = function(t) {
|
|
11144
|
-
return !!(
|
|
11144
|
+
return !!(qe(t) && t.$validator);
|
|
11145
11145
|
}, ug = {
|
|
11146
11146
|
provide: function() {
|
|
11147
11147
|
return this.$validator && !dp(this.$vnode) ? {
|
|
@@ -11205,7 +11205,7 @@ var lg = {
|
|
|
11205
11205
|
i && a.$validator.detach(i);
|
|
11206
11206
|
}
|
|
11207
11207
|
}, E = function(e, r, n) {
|
|
11208
|
-
r === void 0 && (r = { fastExit: !0 }), n === void 0 && (n = null), this.errors = new
|
|
11208
|
+
r === void 0 && (r = { fastExit: !0 }), n === void 0 && (n = null), this.errors = new De(), this.fields = new Sr(), this._createFields(e), this.paused = !1, this.fastExit = R(r && r.fastExit) ? !0 : r.fastExit, this.$vee = n || {
|
|
11209
11209
|
_vm: {
|
|
11210
11210
|
$nextTick: function(a) {
|
|
11211
11211
|
return K(a) ? a() : Promise.resolve();
|
|
@@ -11268,7 +11268,7 @@ E.prototype.localize = function(e, r) {
|
|
|
11268
11268
|
};
|
|
11269
11269
|
E.localize = function(e, r) {
|
|
11270
11270
|
var n;
|
|
11271
|
-
if (
|
|
11271
|
+
if (qe(e)) {
|
|
11272
11272
|
Je.getDriver().merge(e);
|
|
11273
11273
|
return;
|
|
11274
11274
|
}
|
|
@@ -11353,7 +11353,7 @@ E.prototype.validateAll = function(e, r) {
|
|
|
11353
11353
|
if (this.paused)
|
|
11354
11354
|
return Promise.resolve(!0);
|
|
11355
11355
|
var o = null, u = !1;
|
|
11356
|
-
return typeof e == "string" ? o = { scope: e, vmId: i } :
|
|
11356
|
+
return typeof e == "string" ? o = { scope: e, vmId: i } : qe(e) ? (o = Object.keys(e).map(function(c) {
|
|
11357
11357
|
return { name: c, vmId: i, scope: null };
|
|
11358
11358
|
}), u = !0) : Array.isArray(e) ? o = e.map(function(c) {
|
|
11359
11359
|
return typeof c == "object" ? Object.assign({ vmId: i }, c) : { name: c, vmId: i };
|
|
@@ -11392,7 +11392,7 @@ E.prototype.verify = function(e, r, n) {
|
|
|
11392
11392
|
return !!this.rules.required || this.forceRequired;
|
|
11393
11393
|
}
|
|
11394
11394
|
}, i = Object.keys(a.rules).filter(ye.isTargetRule);
|
|
11395
|
-
return i.length && n &&
|
|
11395
|
+
return i.length && n && qe(n.values) && (a.dependencies = i.map(function(o) {
|
|
11396
11396
|
var u = a.rules[o], c = u[0];
|
|
11397
11397
|
return {
|
|
11398
11398
|
name: o,
|
|
@@ -11432,7 +11432,7 @@ E.prototype._convertParamObjectToArray = function(e, r) {
|
|
|
11432
11432
|
if (Array.isArray(e))
|
|
11433
11433
|
return e;
|
|
11434
11434
|
var n = ye.getParamNames(r);
|
|
11435
|
-
return !n || !
|
|
11435
|
+
return !n || !qe(e) ? e : n.reduce(function(a, i) {
|
|
11436
11436
|
return i in e && a.push(e[i]), a;
|
|
11437
11437
|
}, []);
|
|
11438
11438
|
};
|
|
@@ -11452,7 +11452,7 @@ E.prototype._convertParamArrayToObj = function(e, r) {
|
|
|
11452
11452
|
var n = ye.getParamNames(r);
|
|
11453
11453
|
if (!n)
|
|
11454
11454
|
return e;
|
|
11455
|
-
if (
|
|
11455
|
+
if (qe(e)) {
|
|
11456
11456
|
var a = n.some(function(i) {
|
|
11457
11457
|
return Object.keys(e).indexOf(i) !== -1;
|
|
11458
11458
|
});
|
|
@@ -11485,13 +11485,13 @@ E.prototype._test = function(e, r, n) {
|
|
|
11485
11485
|
return K(s.then) ? s.then(function(d) {
|
|
11486
11486
|
var h = !0, f = {};
|
|
11487
11487
|
return Array.isArray(d) ? h = d.every(function(p) {
|
|
11488
|
-
return
|
|
11489
|
-
}) : (h =
|
|
11488
|
+
return qe(p) ? p.valid : p;
|
|
11489
|
+
}) : (h = qe(d) ? d.valid : d, f = d.data), {
|
|
11490
11490
|
valid: h,
|
|
11491
11491
|
data: s.data,
|
|
11492
11492
|
errors: h ? [] : [a._createFieldError(e, n, f, u)]
|
|
11493
11493
|
};
|
|
11494
|
-
}) : (
|
|
11494
|
+
}) : (qe(s) || (s = { valid: s, data: {} }), {
|
|
11495
11495
|
valid: s.valid,
|
|
11496
11496
|
data: s.data,
|
|
11497
11497
|
errors: s.valid ? [] : [this._createFieldError(e, n, s.data, u)]
|
|
@@ -11580,7 +11580,7 @@ E.prototype._validate = function(e, r, n) {
|
|
|
11580
11580
|
var d = ye.getOptions(s), h = a._test(e, r, { name: s, params: e.rules[s], options: d });
|
|
11581
11581
|
if (K(h.then))
|
|
11582
11582
|
throw Hr("Require rules cannot be async");
|
|
11583
|
-
if (!
|
|
11583
|
+
if (!qe(h))
|
|
11584
11584
|
throw Hr("Require rules has to return an object (see docs)");
|
|
11585
11585
|
h.data.required === !0 && (e.forceRequired = !0);
|
|
11586
11586
|
}), this._shouldSkip(e, r))
|
|
@@ -11603,7 +11603,7 @@ E.prototype._validate = function(e, r, n) {
|
|
|
11603
11603
|
Object.defineProperties(E.prototype, ja);
|
|
11604
11604
|
Object.defineProperties(E, qi);
|
|
11605
11605
|
var oc = function(t) {
|
|
11606
|
-
return
|
|
11606
|
+
return qe(t) ? Object.keys(t).reduce(function(e, r) {
|
|
11607
11607
|
return e[r] = oc(t[r]), e;
|
|
11608
11608
|
}, {}) : K(t) ? t("{0}", ["{1}", "{2}", "{3}"]) : t;
|
|
11609
11609
|
}, aD = function(t) {
|
|
@@ -11681,41 +11681,41 @@ var iD = function() {
|
|
|
11681
11681
|
eager: sD,
|
|
11682
11682
|
passive: uD,
|
|
11683
11683
|
lazy: oD
|
|
11684
|
-
}, jn, _a, js,
|
|
11684
|
+
}, jn, _a, js, Re = function(e, r) {
|
|
11685
11685
|
this.configure(e), js = this, r && (jn = r), this._validator = rD(
|
|
11686
11686
|
new E(null, { fastExit: e && e.fastExit }, this)
|
|
11687
11687
|
), this._initVM(this.config), this._initI18n(this.config);
|
|
11688
11688
|
}, Wd = { i18nDriver: { configurable: !0 }, config: { configurable: !0 } }, Gd = { i18nDriver: { configurable: !0 }, config: { configurable: !0 } };
|
|
11689
|
-
|
|
11689
|
+
Re.setI18nDriver = function(e, r) {
|
|
11690
11690
|
Je.setDriver(e, r);
|
|
11691
11691
|
};
|
|
11692
|
-
|
|
11692
|
+
Re.configure = function(e) {
|
|
11693
11693
|
mu(e);
|
|
11694
11694
|
};
|
|
11695
|
-
|
|
11695
|
+
Re.setMode = function(e, r) {
|
|
11696
11696
|
if (mu({ mode: e }), !!r) {
|
|
11697
11697
|
if (!K(r))
|
|
11698
11698
|
throw new Error("A mode implementation must be a function");
|
|
11699
11699
|
cg[e] = r;
|
|
11700
11700
|
}
|
|
11701
11701
|
};
|
|
11702
|
-
|
|
11702
|
+
Re.use = function(e, r) {
|
|
11703
11703
|
if (r === void 0 && (r = {}), !K(e))
|
|
11704
11704
|
return Ct("The plugin must be a callable function");
|
|
11705
11705
|
if (!js) {
|
|
11706
11706
|
_a || (_a = []), _a.push({ plugin: e, options: r });
|
|
11707
11707
|
return;
|
|
11708
11708
|
}
|
|
11709
|
-
e({ Validator: E, ErrorBag:
|
|
11709
|
+
e({ Validator: E, ErrorBag: De, Rules: E.rules }, r);
|
|
11710
11710
|
};
|
|
11711
|
-
|
|
11711
|
+
Re.install = function(e, r) {
|
|
11712
11712
|
if (jn && e === jn) {
|
|
11713
11713
|
process.env.NODE_ENV !== "production" && Ct("already installed, Vue.use(VeeValidate) should only be called once.");
|
|
11714
11714
|
return;
|
|
11715
11715
|
}
|
|
11716
|
-
jn = e, js = new
|
|
11716
|
+
jn = e, js = new Re(r), E.$vee = js, tD(), jn.mixin(ug), jn.directive("validate", lg), _a && (_a.forEach(function(n) {
|
|
11717
11717
|
var a = n.plugin, i = n.options;
|
|
11718
|
-
|
|
11718
|
+
Re.use(a, i);
|
|
11719
11719
|
}), _a = null);
|
|
11720
11720
|
};
|
|
11721
11721
|
Wd.i18nDriver.get = function() {
|
|
@@ -11730,7 +11730,7 @@ Wd.config.get = function() {
|
|
|
11730
11730
|
Gd.config.get = function() {
|
|
11731
11731
|
return Rt();
|
|
11732
11732
|
};
|
|
11733
|
-
|
|
11733
|
+
Re.prototype._initVM = function(e) {
|
|
11734
11734
|
var r = this;
|
|
11735
11735
|
this._vm = new jn({
|
|
11736
11736
|
data: function() {
|
|
@@ -11741,21 +11741,21 @@ Ee.prototype._initVM = function(e) {
|
|
|
11741
11741
|
}
|
|
11742
11742
|
});
|
|
11743
11743
|
};
|
|
11744
|
-
|
|
11744
|
+
Re.prototype._initI18n = function(e) {
|
|
11745
11745
|
var r = this, n = e.dictionary, a = e.i18n, i = e.i18nRootKey, o = e.locale, u = function() {
|
|
11746
11746
|
n && r.i18nDriver.merge(n), r._validator.errors.regenerate();
|
|
11747
11747
|
};
|
|
11748
|
-
a ? (
|
|
11748
|
+
a ? (Re.setI18nDriver("i18n", new Or(a, i)), a._vm.$watch("locale", u)) : typeof window != "undefined" && this._vm.$on("localeChanged", u), n && this.i18nDriver.merge(n), o && !a && this._validator.localize(o);
|
|
11749
11749
|
};
|
|
11750
|
-
|
|
11750
|
+
Re.prototype.configure = function(e) {
|
|
11751
11751
|
mu(e);
|
|
11752
11752
|
};
|
|
11753
|
-
Object.defineProperties(
|
|
11754
|
-
Object.defineProperties(
|
|
11755
|
-
|
|
11756
|
-
|
|
11757
|
-
|
|
11758
|
-
|
|
11753
|
+
Object.defineProperties(Re.prototype, Wd);
|
|
11754
|
+
Object.defineProperties(Re, Gd);
|
|
11755
|
+
Re.mixin = ug;
|
|
11756
|
+
Re.directive = lg;
|
|
11757
|
+
Re.Validator = E;
|
|
11758
|
+
Re.ErrorBag = De;
|
|
11759
11759
|
var lD = function(t) {
|
|
11760
11760
|
var e = ["Byte", "KB", "MB", "GB", "TB", "PB", "EB", "ZB", "YB"], r = 1024;
|
|
11761
11761
|
t = Number(t) * r;
|
|
@@ -11891,7 +11891,7 @@ var lD = function(t) {
|
|
|
11891
11891
|
attributes: {}
|
|
11892
11892
|
};
|
|
11893
11893
|
cD() && VeeValidate.Validator.localize((fl = {}, fl[sc.name] = sc, fl));
|
|
11894
|
-
function
|
|
11894
|
+
function Me(t) {
|
|
11895
11895
|
if (t === null || t === !0 || t === !1)
|
|
11896
11896
|
return NaN;
|
|
11897
11897
|
var e = Number(t);
|
|
@@ -11904,7 +11904,7 @@ function Fs(t) {
|
|
|
11904
11904
|
var n = e.getTime() % pp;
|
|
11905
11905
|
return r * pp + n;
|
|
11906
11906
|
}
|
|
11907
|
-
var gi = 36e5, uc = 6e4, fD = 2,
|
|
11907
|
+
var gi = 36e5, uc = 6e4, fD = 2, He = {
|
|
11908
11908
|
dateTimeDelimeter: /[T ]/,
|
|
11909
11909
|
plainTime: /:/,
|
|
11910
11910
|
timeZoneDelimeter: /[Z ]/i,
|
|
@@ -11947,7 +11947,7 @@ function Ne(t, e) {
|
|
|
11947
11947
|
throw new TypeError("1 argument required, but only " + arguments.length + " present");
|
|
11948
11948
|
if (t === null)
|
|
11949
11949
|
return /* @__PURE__ */ new Date(NaN);
|
|
11950
|
-
var r = e || {}, n = r.additionalDigits == null ? fD :
|
|
11950
|
+
var r = e || {}, n = r.additionalDigits == null ? fD : Me(r.additionalDigits);
|
|
11951
11951
|
if (n !== 2 && n !== 1 && n !== 0)
|
|
11952
11952
|
throw new RangeError("additionalDigits must be 0, 1 or 2");
|
|
11953
11953
|
if (t instanceof Date || typeof t == "object" && Object.prototype.toString.call(t) === "[object Date]")
|
|
@@ -11973,23 +11973,23 @@ function Ne(t, e) {
|
|
|
11973
11973
|
return /* @__PURE__ */ new Date(NaN);
|
|
11974
11974
|
}
|
|
11975
11975
|
function hD(t) {
|
|
11976
|
-
var e = {}, r = t.split(
|
|
11977
|
-
if (
|
|
11978
|
-
var a =
|
|
11976
|
+
var e = {}, r = t.split(He.dateTimeDelimeter), n;
|
|
11977
|
+
if (He.plainTime.test(r[0]) ? (e.date = null, n = r[0]) : (e.date = r[0], n = r[1], He.timeZoneDelimeter.test(e.date) && (e.date = t.split(He.timeZoneDelimeter)[0], n = t.substr(e.date.length, t.length))), n) {
|
|
11978
|
+
var a = He.timezone.exec(n);
|
|
11979
11979
|
a ? (e.time = n.replace(a[1], ""), e.timezone = a[1]) : e.time = n;
|
|
11980
11980
|
}
|
|
11981
11981
|
return e;
|
|
11982
11982
|
}
|
|
11983
11983
|
function pD(t, e) {
|
|
11984
|
-
var r =
|
|
11985
|
-
if (a =
|
|
11984
|
+
var r = He.YYY[e], n = He.YYYYY[e], a;
|
|
11985
|
+
if (a = He.YYYY.exec(t) || n.exec(t), a) {
|
|
11986
11986
|
var i = a[1];
|
|
11987
11987
|
return {
|
|
11988
11988
|
year: parseInt(i, 10),
|
|
11989
11989
|
restDateString: t.slice(i.length)
|
|
11990
11990
|
};
|
|
11991
11991
|
}
|
|
11992
|
-
if (a =
|
|
11992
|
+
if (a = He.YY.exec(t) || r.exec(t), a) {
|
|
11993
11993
|
var o = a[1];
|
|
11994
11994
|
return {
|
|
11995
11995
|
year: parseInt(o, 10) * 100,
|
|
@@ -12006,21 +12006,21 @@ function mD(t, e) {
|
|
|
12006
12006
|
var r, n, a, i;
|
|
12007
12007
|
if (t.length === 0)
|
|
12008
12008
|
return n = /* @__PURE__ */ new Date(0), n.setUTCFullYear(e), n;
|
|
12009
|
-
if (r =
|
|
12009
|
+
if (r = He.MM.exec(t), r)
|
|
12010
12010
|
return n = /* @__PURE__ */ new Date(0), a = parseInt(r[1], 10) - 1, vp(e, a) ? (n.setUTCFullYear(e, a), n) : /* @__PURE__ */ new Date(NaN);
|
|
12011
|
-
if (r =
|
|
12011
|
+
if (r = He.DDD.exec(t), r) {
|
|
12012
12012
|
n = /* @__PURE__ */ new Date(0);
|
|
12013
12013
|
var o = parseInt(r[1], 10);
|
|
12014
12014
|
return bD(e, o) ? (n.setUTCFullYear(e, 0, o), n) : /* @__PURE__ */ new Date(NaN);
|
|
12015
12015
|
}
|
|
12016
|
-
if (r =
|
|
12016
|
+
if (r = He.MMDD.exec(t), r) {
|
|
12017
12017
|
n = /* @__PURE__ */ new Date(0), a = parseInt(r[1], 10) - 1;
|
|
12018
12018
|
var u = parseInt(r[2], 10);
|
|
12019
12019
|
return vp(e, a, u) ? (n.setUTCFullYear(e, a, u), n) : /* @__PURE__ */ new Date(NaN);
|
|
12020
12020
|
}
|
|
12021
|
-
if (r =
|
|
12021
|
+
if (r = He.Www.exec(t), r)
|
|
12022
12022
|
return i = parseInt(r[1], 10) - 1, gp(e, i) ? mp(e, i) : /* @__PURE__ */ new Date(NaN);
|
|
12023
|
-
if (r =
|
|
12023
|
+
if (r = He.WwwD.exec(t), r) {
|
|
12024
12024
|
i = parseInt(r[1], 10) - 1;
|
|
12025
12025
|
var c = parseInt(r[2], 10) - 1;
|
|
12026
12026
|
return gp(e, i, c) ? mp(e, i, c) : /* @__PURE__ */ new Date(NaN);
|
|
@@ -12029,11 +12029,11 @@ function mD(t, e) {
|
|
|
12029
12029
|
}
|
|
12030
12030
|
function vD(t) {
|
|
12031
12031
|
var e, r, n;
|
|
12032
|
-
if (e =
|
|
12032
|
+
if (e = He.HH.exec(t), e)
|
|
12033
12033
|
return r = parseFloat(e[1].replace(",", ".")), hl(r) ? r % 24 * gi : NaN;
|
|
12034
|
-
if (e =
|
|
12034
|
+
if (e = He.HHMM.exec(t), e)
|
|
12035
12035
|
return r = parseInt(e[1], 10), n = parseFloat(e[2].replace(",", ".")), hl(r, n) ? r % 24 * gi + n * uc : NaN;
|
|
12036
|
-
if (e =
|
|
12036
|
+
if (e = He.HHMMSS.exec(t), e) {
|
|
12037
12037
|
r = parseInt(e[1], 10), n = parseInt(e[2], 10);
|
|
12038
12038
|
var a = parseFloat(e[3].replace(",", "."));
|
|
12039
12039
|
return hl(r, n, a) ? r % 24 * gi + n * uc + a * 1e3 : NaN;
|
|
@@ -12042,12 +12042,12 @@ function vD(t) {
|
|
|
12042
12042
|
}
|
|
12043
12043
|
function gD(t) {
|
|
12044
12044
|
var e, r;
|
|
12045
|
-
if (e =
|
|
12045
|
+
if (e = He.timezoneZ.exec(t), e)
|
|
12046
12046
|
return 0;
|
|
12047
12047
|
var n;
|
|
12048
|
-
if (e =
|
|
12048
|
+
if (e = He.timezoneHH.exec(t), e)
|
|
12049
12049
|
return n = parseInt(e[2], 10), yp() ? (r = n * gi, e[1] === "+" ? -r : r) : NaN;
|
|
12050
|
-
if (e =
|
|
12050
|
+
if (e = He.timezoneHHMM.exec(t), e) {
|
|
12051
12051
|
n = parseInt(e[2], 10);
|
|
12052
12052
|
var a = parseInt(e[3], 10);
|
|
12053
12053
|
return yp(n, a) ? (r = n * gi + a * uc, e[1] === "+" ? -r : r) : NaN;
|
|
@@ -12095,7 +12095,7 @@ function yp(t, e) {
|
|
|
12095
12095
|
function wD(t, e, r) {
|
|
12096
12096
|
if (arguments.length < 2)
|
|
12097
12097
|
throw new TypeError("2 arguments required, but only " + arguments.length + " present");
|
|
12098
|
-
var n = Ne(t, r).getTime(), a =
|
|
12098
|
+
var n = Ne(t, r).getTime(), a = Me(e);
|
|
12099
12099
|
return new Date(n + a);
|
|
12100
12100
|
}
|
|
12101
12101
|
function lc(t, e) {
|
|
@@ -12509,7 +12509,7 @@ function pg(t, e) {
|
|
|
12509
12509
|
function Bn(t, e) {
|
|
12510
12510
|
if (arguments.length < 1)
|
|
12511
12511
|
throw new TypeError("1 argument required, but only " + arguments.length + " present");
|
|
12512
|
-
var r = e || {}, n = r.locale, a = n && n.options && n.options.weekStartsOn, i = a == null ? 0 :
|
|
12512
|
+
var r = e || {}, n = r.locale, a = n && n.options && n.options.weekStartsOn, i = a == null ? 0 : Me(a), o = r.weekStartsOn == null ? i : Me(r.weekStartsOn);
|
|
12513
12513
|
if (!(o >= 0 && o <= 6))
|
|
12514
12514
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
12515
12515
|
var u = Ne(t, r), c = u.getUTCDay(), l = (c < o ? 7 : 0) + c - o;
|
|
@@ -12518,7 +12518,7 @@ function Bn(t, e) {
|
|
|
12518
12518
|
function Zd(t, e) {
|
|
12519
12519
|
if (arguments.length < 1)
|
|
12520
12520
|
throw new TypeError("1 argument required, but only " + arguments.length + " present");
|
|
12521
|
-
var r = Ne(t, e), n = r.getUTCFullYear(), a = e || {}, i = a.locale, o = i && i.options && i.options.firstWeekContainsDate, u = o == null ? 1 :
|
|
12521
|
+
var r = Ne(t, e), n = r.getUTCFullYear(), a = e || {}, i = a.locale, o = i && i.options && i.options.firstWeekContainsDate, u = o == null ? 1 : Me(o), c = a.firstWeekContainsDate == null ? u : Me(a.firstWeekContainsDate);
|
|
12522
12522
|
if (!(c >= 1 && c <= 7))
|
|
12523
12523
|
throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");
|
|
12524
12524
|
var l = /* @__PURE__ */ new Date(0);
|
|
@@ -12531,7 +12531,7 @@ function Zd(t, e) {
|
|
|
12531
12531
|
function r$(t, e) {
|
|
12532
12532
|
if (arguments.length < 1)
|
|
12533
12533
|
throw new TypeError("1 argument required, but only " + arguments.length + " present");
|
|
12534
|
-
var r = e || {}, n = r.locale, a = n && n.options && n.options.firstWeekContainsDate, i = a == null ? 1 :
|
|
12534
|
+
var r = e || {}, n = r.locale, a = n && n.options && n.options.firstWeekContainsDate, i = a == null ? 1 : Me(a), o = r.firstWeekContainsDate == null ? i : Me(r.firstWeekContainsDate), u = Zd(t, e), c = /* @__PURE__ */ new Date(0);
|
|
12535
12535
|
c.setUTCFullYear(u, 0, o), c.setUTCHours(0, 0, 0, 0);
|
|
12536
12536
|
var l = Bn(c, e);
|
|
12537
12537
|
return l;
|
|
@@ -12573,23 +12573,23 @@ var ra = {
|
|
|
12573
12573
|
var a = t.getUTCFullYear(), i = a > 0 ? a : 1 - a;
|
|
12574
12574
|
if (e === "yy") {
|
|
12575
12575
|
var o = i % 100;
|
|
12576
|
-
return
|
|
12576
|
+
return ue(o, 2);
|
|
12577
12577
|
}
|
|
12578
|
-
return e === "yo" ? r.ordinalNumber(i, { unit: "year" }) :
|
|
12578
|
+
return e === "yo" ? r.ordinalNumber(i, { unit: "year" }) : ue(i, e.length);
|
|
12579
12579
|
},
|
|
12580
12580
|
// Local week-numbering year
|
|
12581
12581
|
Y: function(t, e, r, n) {
|
|
12582
12582
|
var a = Zd(t, n), i = a > 0 ? a : 1 - a;
|
|
12583
12583
|
if (e === "YY") {
|
|
12584
12584
|
var o = i % 100;
|
|
12585
|
-
return
|
|
12585
|
+
return ue(o, 2);
|
|
12586
12586
|
}
|
|
12587
|
-
return e === "Yo" ? r.ordinalNumber(i, { unit: "year" }) :
|
|
12587
|
+
return e === "Yo" ? r.ordinalNumber(i, { unit: "year" }) : ue(i, e.length);
|
|
12588
12588
|
},
|
|
12589
12589
|
// ISO week-numbering year
|
|
12590
12590
|
R: function(t, e, r, n) {
|
|
12591
12591
|
var a = hg(t, n);
|
|
12592
|
-
return
|
|
12592
|
+
return ue(a, e.length);
|
|
12593
12593
|
},
|
|
12594
12594
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
12595
12595
|
// The main difference between `y` and `u` localizers are B.C. years:
|
|
@@ -12602,7 +12602,7 @@ var ra = {
|
|
|
12602
12602
|
// while `uu` pads single digit years to 2 characters and returns other years unchanged.
|
|
12603
12603
|
u: function(t, e, r, n) {
|
|
12604
12604
|
var a = t.getUTCFullYear();
|
|
12605
|
-
return
|
|
12605
|
+
return ue(a, e.length);
|
|
12606
12606
|
},
|
|
12607
12607
|
// Quarter
|
|
12608
12608
|
Q: function(t, e, r, n) {
|
|
@@ -12611,7 +12611,7 @@ var ra = {
|
|
|
12611
12611
|
case "Q":
|
|
12612
12612
|
return String(a);
|
|
12613
12613
|
case "QQ":
|
|
12614
|
-
return
|
|
12614
|
+
return ue(a, 2);
|
|
12615
12615
|
case "Qo":
|
|
12616
12616
|
return r.ordinalNumber(a, { unit: "quarter" });
|
|
12617
12617
|
case "QQQ":
|
|
@@ -12630,7 +12630,7 @@ var ra = {
|
|
|
12630
12630
|
case "q":
|
|
12631
12631
|
return String(a);
|
|
12632
12632
|
case "qq":
|
|
12633
|
-
return
|
|
12633
|
+
return ue(a, 2);
|
|
12634
12634
|
case "qo":
|
|
12635
12635
|
return r.ordinalNumber(a, { unit: "quarter" });
|
|
12636
12636
|
case "qqq":
|
|
@@ -12649,7 +12649,7 @@ var ra = {
|
|
|
12649
12649
|
case "M":
|
|
12650
12650
|
return String(a + 1);
|
|
12651
12651
|
case "MM":
|
|
12652
|
-
return
|
|
12652
|
+
return ue(a + 1, 2);
|
|
12653
12653
|
case "Mo":
|
|
12654
12654
|
return r.ordinalNumber(a + 1, { unit: "month" });
|
|
12655
12655
|
case "MMM":
|
|
@@ -12668,7 +12668,7 @@ var ra = {
|
|
|
12668
12668
|
case "L":
|
|
12669
12669
|
return String(a + 1);
|
|
12670
12670
|
case "LL":
|
|
12671
|
-
return
|
|
12671
|
+
return ue(a + 1, 2);
|
|
12672
12672
|
case "Lo":
|
|
12673
12673
|
return r.ordinalNumber(a + 1, { unit: "month" });
|
|
12674
12674
|
case "LLL":
|
|
@@ -12683,22 +12683,22 @@ var ra = {
|
|
|
12683
12683
|
// Local week of year
|
|
12684
12684
|
w: function(t, e, r, n) {
|
|
12685
12685
|
var a = mg(t, n);
|
|
12686
|
-
return e === "wo" ? r.ordinalNumber(a, { unit: "week" }) :
|
|
12686
|
+
return e === "wo" ? r.ordinalNumber(a, { unit: "week" }) : ue(a, e.length);
|
|
12687
12687
|
},
|
|
12688
12688
|
// ISO week of year
|
|
12689
12689
|
I: function(t, e, r, n) {
|
|
12690
12690
|
var a = pg(t, n);
|
|
12691
|
-
return e === "Io" ? r.ordinalNumber(a, { unit: "week" }) :
|
|
12691
|
+
return e === "Io" ? r.ordinalNumber(a, { unit: "week" }) : ue(a, e.length);
|
|
12692
12692
|
},
|
|
12693
12693
|
// Day of the month
|
|
12694
12694
|
d: function(t, e, r, n) {
|
|
12695
12695
|
var a = t.getUTCDate();
|
|
12696
|
-
return e === "do" ? r.ordinalNumber(a, { unit: "date" }) :
|
|
12696
|
+
return e === "do" ? r.ordinalNumber(a, { unit: "date" }) : ue(a, e.length);
|
|
12697
12697
|
},
|
|
12698
12698
|
// Day of year
|
|
12699
12699
|
D: function(t, e, r, n) {
|
|
12700
12700
|
var a = QD(t, n);
|
|
12701
|
-
return e === "Do" ? r.ordinalNumber(a, { unit: "dayOfYear" }) :
|
|
12701
|
+
return e === "Do" ? r.ordinalNumber(a, { unit: "dayOfYear" }) : ue(a, e.length);
|
|
12702
12702
|
},
|
|
12703
12703
|
// Day of week
|
|
12704
12704
|
E: function(t, e, r, n) {
|
|
@@ -12724,7 +12724,7 @@ var ra = {
|
|
|
12724
12724
|
case "e":
|
|
12725
12725
|
return String(i);
|
|
12726
12726
|
case "ee":
|
|
12727
|
-
return
|
|
12727
|
+
return ue(i, 2);
|
|
12728
12728
|
case "eo":
|
|
12729
12729
|
return r.ordinalNumber(i, { unit: "day" });
|
|
12730
12730
|
case "eee":
|
|
@@ -12745,7 +12745,7 @@ var ra = {
|
|
|
12745
12745
|
case "c":
|
|
12746
12746
|
return String(i);
|
|
12747
12747
|
case "cc":
|
|
12748
|
-
return
|
|
12748
|
+
return ue(i, e.length);
|
|
12749
12749
|
case "co":
|
|
12750
12750
|
return r.ordinalNumber(i, { unit: "day" });
|
|
12751
12751
|
case "ccc":
|
|
@@ -12766,7 +12766,7 @@ var ra = {
|
|
|
12766
12766
|
case "i":
|
|
12767
12767
|
return String(i);
|
|
12768
12768
|
case "ii":
|
|
12769
|
-
return
|
|
12769
|
+
return ue(i, e.length);
|
|
12770
12770
|
case "io":
|
|
12771
12771
|
return r.ordinalNumber(i, { unit: "day" });
|
|
12772
12772
|
case "iii":
|
|
@@ -12828,37 +12828,37 @@ var ra = {
|
|
|
12828
12828
|
// Hour [1-12]
|
|
12829
12829
|
h: function(t, e, r, n) {
|
|
12830
12830
|
var a = t.getUTCHours() % 12;
|
|
12831
|
-
return a === 0 && (a = 12), e === "ho" ? r.ordinalNumber(a, { unit: "hour" }) :
|
|
12831
|
+
return a === 0 && (a = 12), e === "ho" ? r.ordinalNumber(a, { unit: "hour" }) : ue(a, e.length);
|
|
12832
12832
|
},
|
|
12833
12833
|
// Hour [0-23]
|
|
12834
12834
|
H: function(t, e, r, n) {
|
|
12835
12835
|
var a = t.getUTCHours();
|
|
12836
|
-
return e === "Ho" ? r.ordinalNumber(a, { unit: "hour" }) :
|
|
12836
|
+
return e === "Ho" ? r.ordinalNumber(a, { unit: "hour" }) : ue(a, e.length);
|
|
12837
12837
|
},
|
|
12838
12838
|
// Hour [0-11]
|
|
12839
12839
|
K: function(t, e, r, n) {
|
|
12840
12840
|
var a = t.getUTCHours() % 12;
|
|
12841
|
-
return e === "Ko" ? r.ordinalNumber(a, { unit: "hour" }) :
|
|
12841
|
+
return e === "Ko" ? r.ordinalNumber(a, { unit: "hour" }) : ue(a, e.length);
|
|
12842
12842
|
},
|
|
12843
12843
|
// Hour [1-24]
|
|
12844
12844
|
k: function(t, e, r, n) {
|
|
12845
12845
|
var a = t.getUTCHours();
|
|
12846
|
-
return a === 0 && (a = 24), e === "ko" ? r.ordinalNumber(a, { unit: "hour" }) :
|
|
12846
|
+
return a === 0 && (a = 24), e === "ko" ? r.ordinalNumber(a, { unit: "hour" }) : ue(a, e.length);
|
|
12847
12847
|
},
|
|
12848
12848
|
// Minute
|
|
12849
12849
|
m: function(t, e, r, n) {
|
|
12850
12850
|
var a = t.getUTCMinutes();
|
|
12851
|
-
return e === "mo" ? r.ordinalNumber(a, { unit: "minute" }) :
|
|
12851
|
+
return e === "mo" ? r.ordinalNumber(a, { unit: "minute" }) : ue(a, e.length);
|
|
12852
12852
|
},
|
|
12853
12853
|
// Second
|
|
12854
12854
|
s: function(t, e, r, n) {
|
|
12855
12855
|
var a = t.getUTCSeconds();
|
|
12856
|
-
return e === "so" ? r.ordinalNumber(a, { unit: "second" }) :
|
|
12856
|
+
return e === "so" ? r.ordinalNumber(a, { unit: "second" }) : ue(a, e.length);
|
|
12857
12857
|
},
|
|
12858
12858
|
// Fraction of second
|
|
12859
12859
|
S: function(t, e, r, n) {
|
|
12860
12860
|
var a = e.length, i = t.getUTCMilliseconds(), o = Math.floor(i * Math.pow(10, a - 3));
|
|
12861
|
-
return
|
|
12861
|
+
return ue(o, a);
|
|
12862
12862
|
},
|
|
12863
12863
|
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
12864
12864
|
X: function(t, e, r, n) {
|
|
@@ -12921,27 +12921,27 @@ var ra = {
|
|
|
12921
12921
|
// Seconds timestamp
|
|
12922
12922
|
t: function(t, e, r, n) {
|
|
12923
12923
|
var a = n._originalDate || t, i = Math.floor(a.getTime() / 1e3);
|
|
12924
|
-
return
|
|
12924
|
+
return ue(i, e.length);
|
|
12925
12925
|
},
|
|
12926
12926
|
// Milliseconds timestamp
|
|
12927
12927
|
T: function(t, e, r, n) {
|
|
12928
12928
|
var a = n._originalDate || t, i = a.getTime();
|
|
12929
|
-
return
|
|
12929
|
+
return ue(i, e.length);
|
|
12930
12930
|
}
|
|
12931
12931
|
};
|
|
12932
|
-
function
|
|
12932
|
+
function ue(t, e) {
|
|
12933
12933
|
for (var r = t < 0 ? "-" : "", n = Math.abs(t).toString(); n.length < e; )
|
|
12934
12934
|
n = "0" + n;
|
|
12935
12935
|
return r + n;
|
|
12936
12936
|
}
|
|
12937
12937
|
function Rn(t, e) {
|
|
12938
|
-
var r = e || "", n = t > 0 ? "-" : "+", a = Math.abs(t), i =
|
|
12938
|
+
var r = e || "", n = t > 0 ? "-" : "+", a = Math.abs(t), i = ue(Math.floor(a / 60), 2), o = ue(a % 60, 2);
|
|
12939
12939
|
return n + i + r + o;
|
|
12940
12940
|
}
|
|
12941
12941
|
function _p(t, e) {
|
|
12942
12942
|
if (t % 60 === 0) {
|
|
12943
12943
|
var r = t > 0 ? "-" : "+";
|
|
12944
|
-
return r +
|
|
12944
|
+
return r + ue(Math.abs(t) / 60, 2);
|
|
12945
12945
|
}
|
|
12946
12946
|
return Rn(t, e);
|
|
12947
12947
|
}
|
|
@@ -12950,7 +12950,7 @@ function bp(t, e) {
|
|
|
12950
12950
|
if (i === 0)
|
|
12951
12951
|
return r + String(a);
|
|
12952
12952
|
var o = e || "";
|
|
12953
|
-
return r + String(a) + o +
|
|
12953
|
+
return r + String(a) + o + ue(i, 2);
|
|
12954
12954
|
}
|
|
12955
12955
|
function wp(t, e, r) {
|
|
12956
12956
|
switch (t) {
|
|
@@ -13007,7 +13007,7 @@ var o$ = {
|
|
|
13007
13007
|
function gg(t, e, r) {
|
|
13008
13008
|
if (arguments.length < 2)
|
|
13009
13009
|
throw new TypeError("2 arguments required, but only " + arguments.length + " present");
|
|
13010
|
-
var n =
|
|
13010
|
+
var n = Me(e);
|
|
13011
13011
|
return wD(t, -n, r);
|
|
13012
13012
|
}
|
|
13013
13013
|
var s$ = ["D", "DD", "YY", "YYYY"];
|
|
@@ -13025,12 +13025,12 @@ function f$(t, e, r) {
|
|
|
13025
13025
|
throw new TypeError(
|
|
13026
13026
|
"2 arguments required, but only " + arguments.length + " present"
|
|
13027
13027
|
);
|
|
13028
|
-
var n = String(e), a = r || {}, i = a.locale || fg, o = i.options && i.options.firstWeekContainsDate, u = o == null ? 1 :
|
|
13028
|
+
var n = String(e), a = r || {}, i = a.locale || fg, o = i.options && i.options.firstWeekContainsDate, u = o == null ? 1 : Me(o), c = a.firstWeekContainsDate == null ? u : Me(a.firstWeekContainsDate);
|
|
13029
13029
|
if (!(c >= 1 && c <= 7))
|
|
13030
13030
|
throw new RangeError(
|
|
13031
13031
|
"firstWeekContainsDate must be between 1 and 7 inclusively"
|
|
13032
13032
|
);
|
|
13033
|
-
var l = i.options && i.options.weekStartsOn, s = l == null ? 0 :
|
|
13033
|
+
var l = i.options && i.options.weekStartsOn, s = l == null ? 0 : Me(l), d = a.weekStartsOn == null ? s : Me(a.weekStartsOn);
|
|
13034
13034
|
if (!(d >= 0 && d <= 6))
|
|
13035
13035
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
13036
13036
|
if (!i.localize)
|
|
@@ -13087,22 +13087,22 @@ function da(t, e, r) {
|
|
|
13087
13087
|
function ml(t, e, r) {
|
|
13088
13088
|
if (arguments.length < 2)
|
|
13089
13089
|
throw new TypeError("2 arguments required, but only " + arguments.length + " present");
|
|
13090
|
-
var n = r || {}, a = n.locale, i = a && a.options && a.options.weekStartsOn, o = i == null ? 0 :
|
|
13090
|
+
var n = r || {}, a = n.locale, i = a && a.options && a.options.weekStartsOn, o = i == null ? 0 : Me(i), u = n.weekStartsOn == null ? o : Me(n.weekStartsOn);
|
|
13091
13091
|
if (!(u >= 0 && u <= 6))
|
|
13092
13092
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
13093
|
-
var c = Ne(t, r), l =
|
|
13093
|
+
var c = Ne(t, r), l = Me(e), s = c.getUTCDay(), d = l % 7, h = (d + 7) % 7, f = (h < u ? 7 : 0) + l - s;
|
|
13094
13094
|
return c.setUTCDate(c.getUTCDate() + f), c;
|
|
13095
13095
|
}
|
|
13096
13096
|
function p$(t, e, r) {
|
|
13097
13097
|
if (arguments.length < 2)
|
|
13098
13098
|
throw new TypeError("2 arguments required, but only " + arguments.length + " present");
|
|
13099
|
-
var n = Ne(t, r), a =
|
|
13099
|
+
var n = Ne(t, r), a = Me(e), i = mg(n, r) - a;
|
|
13100
13100
|
return n.setUTCDate(n.getUTCDate() - i * 7), n;
|
|
13101
13101
|
}
|
|
13102
13102
|
function m$(t, e, r) {
|
|
13103
13103
|
if (arguments.length < 2)
|
|
13104
13104
|
throw new TypeError("2 arguments required, but only " + arguments.length + " present");
|
|
13105
|
-
var n =
|
|
13105
|
+
var n = Me(e);
|
|
13106
13106
|
n % 7 === 0 && (n = n - 7);
|
|
13107
13107
|
var a = 1, i = Ne(t, r), o = i.getUTCDay(), u = n % 7, c = (u + 7) % 7, l = (c < a ? 7 : 0) + n - o;
|
|
13108
13108
|
return i.setUTCDate(i.getUTCDate() + l), i;
|
|
@@ -13110,7 +13110,7 @@ function m$(t, e, r) {
|
|
|
13110
13110
|
function v$(t, e, r) {
|
|
13111
13111
|
if (arguments.length < 2)
|
|
13112
13112
|
throw new TypeError("2 arguments required, but only " + arguments.length + " present");
|
|
13113
|
-
var n = Ne(t, r), a =
|
|
13113
|
+
var n = Ne(t, r), a = Me(e), i = pg(n, r) - a;
|
|
13114
13114
|
return n.setUTCDate(n.getUTCDate() - i * 7), n;
|
|
13115
13115
|
}
|
|
13116
13116
|
var g$ = 36e5, y$ = 6e4, _$ = 1e3, Le = {
|
|
@@ -13158,7 +13158,7 @@ var g$ = 36e5, y$ = 6e4, _$ = 1e3, Le = {
|
|
|
13158
13158
|
extended: /^([+-])(\d{2}):(\d{2})|Z/,
|
|
13159
13159
|
extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
|
|
13160
13160
|
};
|
|
13161
|
-
function
|
|
13161
|
+
function Te(t, e, r) {
|
|
13162
13162
|
var n = e.match(t);
|
|
13163
13163
|
if (!n)
|
|
13164
13164
|
return null;
|
|
@@ -13184,34 +13184,34 @@ function cr(t, e) {
|
|
|
13184
13184
|
};
|
|
13185
13185
|
}
|
|
13186
13186
|
function Sp(t, e) {
|
|
13187
|
-
return
|
|
13187
|
+
return Te(Le.anyDigitsSigned, t, e);
|
|
13188
13188
|
}
|
|
13189
13189
|
function Ae(t, e, r) {
|
|
13190
13190
|
switch (t) {
|
|
13191
13191
|
case 1:
|
|
13192
|
-
return
|
|
13192
|
+
return Te(Le.singleDigit, e, r);
|
|
13193
13193
|
case 2:
|
|
13194
|
-
return
|
|
13194
|
+
return Te(Le.twoDigits, e, r);
|
|
13195
13195
|
case 3:
|
|
13196
|
-
return
|
|
13196
|
+
return Te(Le.threeDigits, e, r);
|
|
13197
13197
|
case 4:
|
|
13198
|
-
return
|
|
13198
|
+
return Te(Le.fourDigits, e, r);
|
|
13199
13199
|
default:
|
|
13200
|
-
return
|
|
13200
|
+
return Te(new RegExp("^\\d{1," + t + "}"), e, r);
|
|
13201
13201
|
}
|
|
13202
13202
|
}
|
|
13203
13203
|
function Xo(t, e, r) {
|
|
13204
13204
|
switch (t) {
|
|
13205
13205
|
case 1:
|
|
13206
|
-
return
|
|
13206
|
+
return Te(Le.singleDigitSigned, e, r);
|
|
13207
13207
|
case 2:
|
|
13208
|
-
return
|
|
13208
|
+
return Te(Le.twoDigitsSigned, e, r);
|
|
13209
13209
|
case 3:
|
|
13210
|
-
return
|
|
13210
|
+
return Te(Le.threeDigitsSigned, e, r);
|
|
13211
13211
|
case 4:
|
|
13212
|
-
return
|
|
13212
|
+
return Te(Le.fourDigitsSigned, e, r);
|
|
13213
13213
|
default:
|
|
13214
|
-
return
|
|
13214
|
+
return Te(new RegExp("^-?\\d{1," + t + "}"), e, r);
|
|
13215
13215
|
}
|
|
13216
13216
|
}
|
|
13217
13217
|
function vl(t) {
|
|
@@ -13420,7 +13420,7 @@ var S$ = {
|
|
|
13420
13420
|
};
|
|
13421
13421
|
switch (e) {
|
|
13422
13422
|
case "M":
|
|
13423
|
-
return
|
|
13423
|
+
return Te(Le.month, t, a);
|
|
13424
13424
|
case "MM":
|
|
13425
13425
|
return Ae(2, t, a);
|
|
13426
13426
|
case "Mo":
|
|
@@ -13450,7 +13450,7 @@ var S$ = {
|
|
|
13450
13450
|
};
|
|
13451
13451
|
switch (e) {
|
|
13452
13452
|
case "L":
|
|
13453
|
-
return
|
|
13453
|
+
return Te(Le.month, t, a);
|
|
13454
13454
|
case "LL":
|
|
13455
13455
|
return Ae(2, t, a);
|
|
13456
13456
|
case "Lo":
|
|
@@ -13477,7 +13477,7 @@ var S$ = {
|
|
|
13477
13477
|
parse: function(t, e, r, n) {
|
|
13478
13478
|
switch (e) {
|
|
13479
13479
|
case "w":
|
|
13480
|
-
return
|
|
13480
|
+
return Te(Le.week, t);
|
|
13481
13481
|
case "wo":
|
|
13482
13482
|
return r.ordinalNumber(t, { unit: "week" });
|
|
13483
13483
|
default:
|
|
@@ -13497,7 +13497,7 @@ var S$ = {
|
|
|
13497
13497
|
parse: function(t, e, r, n) {
|
|
13498
13498
|
switch (e) {
|
|
13499
13499
|
case "I":
|
|
13500
|
-
return
|
|
13500
|
+
return Te(Le.week, t);
|
|
13501
13501
|
case "Io":
|
|
13502
13502
|
return r.ordinalNumber(t, { unit: "week" });
|
|
13503
13503
|
default:
|
|
@@ -13517,7 +13517,7 @@ var S$ = {
|
|
|
13517
13517
|
parse: function(t, e, r, n) {
|
|
13518
13518
|
switch (e) {
|
|
13519
13519
|
case "d":
|
|
13520
|
-
return
|
|
13520
|
+
return Te(Le.date, t);
|
|
13521
13521
|
case "do":
|
|
13522
13522
|
return r.ordinalNumber(t, { unit: "date" });
|
|
13523
13523
|
default:
|
|
@@ -13539,7 +13539,7 @@ var S$ = {
|
|
|
13539
13539
|
switch (e) {
|
|
13540
13540
|
case "D":
|
|
13541
13541
|
case "DD":
|
|
13542
|
-
return
|
|
13542
|
+
return Te(Le.dayOfYear, t);
|
|
13543
13543
|
case "Do":
|
|
13544
13544
|
return r.ordinalNumber(t, { unit: "date" });
|
|
13545
13545
|
default:
|
|
@@ -13740,7 +13740,7 @@ var S$ = {
|
|
|
13740
13740
|
parse: function(t, e, r, n) {
|
|
13741
13741
|
switch (e) {
|
|
13742
13742
|
case "h":
|
|
13743
|
-
return
|
|
13743
|
+
return Te(Le.hour12h, t);
|
|
13744
13744
|
case "ho":
|
|
13745
13745
|
return r.ordinalNumber(t, { unit: "hour" });
|
|
13746
13746
|
default:
|
|
@@ -13761,7 +13761,7 @@ var S$ = {
|
|
|
13761
13761
|
parse: function(t, e, r, n) {
|
|
13762
13762
|
switch (e) {
|
|
13763
13763
|
case "H":
|
|
13764
|
-
return
|
|
13764
|
+
return Te(Le.hour23h, t);
|
|
13765
13765
|
case "Ho":
|
|
13766
13766
|
return r.ordinalNumber(t, { unit: "hour" });
|
|
13767
13767
|
default:
|
|
@@ -13781,7 +13781,7 @@ var S$ = {
|
|
|
13781
13781
|
parse: function(t, e, r, n) {
|
|
13782
13782
|
switch (e) {
|
|
13783
13783
|
case "K":
|
|
13784
|
-
return
|
|
13784
|
+
return Te(Le.hour11h, t);
|
|
13785
13785
|
case "Ko":
|
|
13786
13786
|
return r.ordinalNumber(t, { unit: "hour" });
|
|
13787
13787
|
default:
|
|
@@ -13802,7 +13802,7 @@ var S$ = {
|
|
|
13802
13802
|
parse: function(t, e, r, n) {
|
|
13803
13803
|
switch (e) {
|
|
13804
13804
|
case "k":
|
|
13805
|
-
return
|
|
13805
|
+
return Te(Le.hour24h, t);
|
|
13806
13806
|
case "ko":
|
|
13807
13807
|
return r.ordinalNumber(t, { unit: "hour" });
|
|
13808
13808
|
default:
|
|
@@ -13823,7 +13823,7 @@ var S$ = {
|
|
|
13823
13823
|
parse: function(t, e, r, n) {
|
|
13824
13824
|
switch (e) {
|
|
13825
13825
|
case "m":
|
|
13826
|
-
return
|
|
13826
|
+
return Te(Le.minute, t);
|
|
13827
13827
|
case "mo":
|
|
13828
13828
|
return r.ordinalNumber(t, { unit: "minute" });
|
|
13829
13829
|
default:
|
|
@@ -13843,7 +13843,7 @@ var S$ = {
|
|
|
13843
13843
|
parse: function(t, e, r, n) {
|
|
13844
13844
|
switch (e) {
|
|
13845
13845
|
case "s":
|
|
13846
|
-
return
|
|
13846
|
+
return Te(Le.second, t);
|
|
13847
13847
|
case "so":
|
|
13848
13848
|
return r.ordinalNumber(t, { unit: "second" });
|
|
13849
13849
|
default:
|
|
@@ -13943,12 +13943,12 @@ function D$(t, e, r, n) {
|
|
|
13943
13943
|
var a = String(t), i = String(e), o = n || {}, u = o.locale || fg;
|
|
13944
13944
|
if (!u.match)
|
|
13945
13945
|
throw new RangeError("locale must contain match property");
|
|
13946
|
-
var c = u.options && u.options.firstWeekContainsDate, l = c == null ? 1 :
|
|
13946
|
+
var c = u.options && u.options.firstWeekContainsDate, l = c == null ? 1 : Me(c), s = o.firstWeekContainsDate == null ? l : Me(o.firstWeekContainsDate);
|
|
13947
13947
|
if (!(s >= 1 && s <= 7))
|
|
13948
13948
|
throw new RangeError(
|
|
13949
13949
|
"firstWeekContainsDate must be between 1 and 7 inclusively"
|
|
13950
13950
|
);
|
|
13951
|
-
var d = u.options && u.options.weekStartsOn, h = d == null ? 0 :
|
|
13951
|
+
var d = u.options && u.options.weekStartsOn, h = d == null ? 0 : Me(d), f = o.weekStartsOn == null ? h : Me(o.weekStartsOn);
|
|
13952
13952
|
if (!(f >= 0 && f <= 6))
|
|
13953
13953
|
throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");
|
|
13954
13954
|
if (i === "")
|
|
@@ -13967,9 +13967,9 @@ function D$(t, e, r, n) {
|
|
|
13967
13967
|
for (y = 0; y < m.length; y++) {
|
|
13968
13968
|
var g = m[y];
|
|
13969
13969
|
!o.awareOfUnicodeTokens && yg(g) && _g(g);
|
|
13970
|
-
var b = g[0],
|
|
13971
|
-
if (
|
|
13972
|
-
var D =
|
|
13970
|
+
var b = g[0], S = S$[b];
|
|
13971
|
+
if (S) {
|
|
13972
|
+
var D = S.parse(
|
|
13973
13973
|
a,
|
|
13974
13974
|
g,
|
|
13975
13975
|
u.match,
|
|
@@ -13978,9 +13978,9 @@ function D$(t, e, r, n) {
|
|
|
13978
13978
|
if (!D)
|
|
13979
13979
|
return /* @__PURE__ */ new Date(NaN);
|
|
13980
13980
|
v.push({
|
|
13981
|
-
priority:
|
|
13982
|
-
set:
|
|
13983
|
-
validate:
|
|
13981
|
+
priority: S.priority,
|
|
13982
|
+
set: S.set,
|
|
13983
|
+
validate: S.validate,
|
|
13984
13984
|
value: D.value,
|
|
13985
13985
|
index: v.length
|
|
13986
13986
|
}), a = D.rest;
|
|
@@ -14470,7 +14470,7 @@ var Kd = kn(function(t, e) {
|
|
|
14470
14470
|
else if (m.require_display_name)
|
|
14471
14471
|
return !1;
|
|
14472
14472
|
}
|
|
14473
|
-
var b = y.split("@"),
|
|
14473
|
+
var b = y.split("@"), S = b.pop(), D = b.join("@"), L = S.toLowerCase();
|
|
14474
14474
|
if (m.domain_specific_validation && (L === "gmail.com" || L === "googlemail.com")) {
|
|
14475
14475
|
D = D.toLowerCase();
|
|
14476
14476
|
var se = D.split("+")[0];
|
|
@@ -14485,19 +14485,19 @@ var Kd = kn(function(t, e) {
|
|
|
14485
14485
|
}
|
|
14486
14486
|
if (!(0, a.default)(D, {
|
|
14487
14487
|
max: 64
|
|
14488
|
-
}) || !(0, a.default)(
|
|
14488
|
+
}) || !(0, a.default)(S, {
|
|
14489
14489
|
max: 254
|
|
14490
14490
|
}))
|
|
14491
14491
|
return !1;
|
|
14492
|
-
if (!(0, i.default)(
|
|
14492
|
+
if (!(0, i.default)(S, {
|
|
14493
14493
|
require_tld: m.require_tld
|
|
14494
14494
|
})) {
|
|
14495
14495
|
if (!m.allow_ip_domain)
|
|
14496
14496
|
return !1;
|
|
14497
|
-
if (!(0, o.default)(
|
|
14498
|
-
if (!
|
|
14497
|
+
if (!(0, o.default)(S)) {
|
|
14498
|
+
if (!S.startsWith("[") || !S.endsWith("]"))
|
|
14499
14499
|
return !1;
|
|
14500
|
-
var V =
|
|
14500
|
+
var V = S.substr(1, S.length - 2);
|
|
14501
14501
|
if (V.length === 0 || !(0, o.default)(V))
|
|
14502
14502
|
return !1;
|
|
14503
14503
|
}
|
|
@@ -14721,9 +14721,9 @@ var bT = function(t, e) {
|
|
|
14721
14721
|
if ((0, r.default)(h), !h || h.length >= 2083 || /[\s<>]/.test(h) || h.indexOf("mailto:") === 0)
|
|
14722
14722
|
return !1;
|
|
14723
14723
|
f = (0, i.default)(f, u);
|
|
14724
|
-
var p, v, y, m, g, b,
|
|
14725
|
-
if (
|
|
14726
|
-
if (p =
|
|
14724
|
+
var p, v, y, m, g, b, S, D;
|
|
14725
|
+
if (S = h.split("#"), h = S.shift(), S = h.split("?"), h = S.shift(), S = h.split("://"), S.length > 1) {
|
|
14726
|
+
if (p = S.shift().toLowerCase(), f.require_valid_protocol && f.protocols.indexOf(p) === -1)
|
|
14727
14727
|
return !1;
|
|
14728
14728
|
} else {
|
|
14729
14729
|
if (f.require_protocol)
|
|
@@ -14731,18 +14731,18 @@ var bT = function(t, e) {
|
|
|
14731
14731
|
if (h.substr(0, 2) === "//") {
|
|
14732
14732
|
if (!f.allow_protocol_relative_urls)
|
|
14733
14733
|
return !1;
|
|
14734
|
-
|
|
14734
|
+
S[0] = h.substr(2);
|
|
14735
14735
|
}
|
|
14736
14736
|
}
|
|
14737
|
-
if (h =
|
|
14737
|
+
if (h = S.join("://"), h === "")
|
|
14738
14738
|
return !1;
|
|
14739
|
-
if (
|
|
14739
|
+
if (S = h.split("/"), h = S.shift(), h === "" && !f.require_host)
|
|
14740
14740
|
return !0;
|
|
14741
|
-
if (
|
|
14741
|
+
if (S = h.split("@"), S.length > 1 && (f.disallow_auth || (v = S.shift(), v.indexOf(":") >= 0 && v.split(":").length > 2)))
|
|
14742
14742
|
return !1;
|
|
14743
|
-
m =
|
|
14743
|
+
m = S.join("@"), b = null, D = null;
|
|
14744
14744
|
var L = m.match(c);
|
|
14745
|
-
return L ? (y = "", D = L[1], b = L[2] || null) : (
|
|
14745
|
+
return L ? (y = "", D = L[1], b = L[2] || null) : (S = m.split(":"), y = S.shift(), S.length && (b = S.join(":"))), !(b !== null && (g = parseInt(b, 10), !/^[0-9]+$/.test(b) || g <= 0 || g > 65535) || !(0, a.default)(y) && !(0, n.default)(y, f) && (!D || !(0, a.default)(D, 6)) || (y = y || D, f.host_whitelist && !s(y, f.host_whitelist)) || f.host_blacklist && s(y, f.host_blacklist));
|
|
14746
14746
|
}
|
|
14747
14747
|
t.exports = e.default, t.exports.default = e.default;
|
|
14748
14748
|
}), Pp = On(uM), lM = function(t, e) {
|
|
@@ -15344,12 +15344,12 @@ Object.keys(rs).forEach(function(t) {
|
|
|
15344
15344
|
E.extend(t, rs[t].validate, me({}, rs[t].options, { paramNames: rs[t].paramNames }));
|
|
15345
15345
|
});
|
|
15346
15346
|
E.localize({ en: sc });
|
|
15347
|
-
|
|
15348
|
-
|
|
15349
|
-
|
|
15350
|
-
|
|
15351
|
-
|
|
15352
|
-
|
|
15347
|
+
Re.install;
|
|
15348
|
+
Re.version = OM;
|
|
15349
|
+
Re.mapFields = fM;
|
|
15350
|
+
Re.ValidationProvider = En;
|
|
15351
|
+
Re.ValidationObserver = wM;
|
|
15352
|
+
Re.withValidation = SM;
|
|
15353
15353
|
const kM = (t, { valueToMatch: e } = {}) => t === e, CM = (t, { length: e } = {}) => t ? t.length >= e : !0, xM = (t) => F(void 0, null, function* () {
|
|
15354
15354
|
const { valid: e } = yield _e.dataValidationService.validateEmail(t);
|
|
15355
15355
|
return e;
|
|
@@ -17878,31 +17878,31 @@ const xN = (t, { min: e, max: r, compareFullDate: n = !1 } = {}) => {
|
|
|
17878
17878
|
const [n, a] = e;
|
|
17879
17879
|
return `Je dient tussen de ${n} en ${a} jaar oud te zijn!`;
|
|
17880
17880
|
};
|
|
17881
|
-
let
|
|
17881
|
+
let ce = Be({}), le = Be({}), gs = Be({});
|
|
17882
17882
|
const $N = (t = null) => {
|
|
17883
|
-
|
|
17883
|
+
ce = t ? t._base : new E(), ce.extend("isValue", kM, {
|
|
17884
17884
|
paramNames: ["valueToMatch"]
|
|
17885
|
-
}),
|
|
17885
|
+
}), ce.extend("minlength", CM, {
|
|
17886
17886
|
paramNames: ["length"]
|
|
17887
|
-
}),
|
|
17887
|
+
}), ce.extend("emailServerValidation", { validate: xM }, {
|
|
17888
17888
|
immediate: !1
|
|
17889
|
-
}),
|
|
17889
|
+
}), ce.extend("betweenBirthDate", xN, {
|
|
17890
17890
|
paramNames: ["min", "max", "compareFullDate"]
|
|
17891
|
-
}),
|
|
17891
|
+
}), ce.extend("ageRange", { getMessage: DN, validate: PN }, {
|
|
17892
17892
|
paramNames: ["minAge", "maxAge"]
|
|
17893
|
-
}),
|
|
17893
|
+
}), le = ce.errors, gs = ce.fields;
|
|
17894
17894
|
}, ot = (t) => F(void 0, null, function* () {
|
|
17895
17895
|
const e = {};
|
|
17896
17896
|
return yield Promise.all(
|
|
17897
17897
|
t.map((r) => F(void 0, null, function* () {
|
|
17898
|
-
yield
|
|
17899
|
-
const n =
|
|
17898
|
+
yield ce.validate(r);
|
|
17899
|
+
const n = ce.errors.items.find(
|
|
17900
17900
|
(a) => a.field === r
|
|
17901
17901
|
);
|
|
17902
17902
|
n && (e[r] = n.msg);
|
|
17903
17903
|
}))
|
|
17904
17904
|
), !Object.keys(e).length;
|
|
17905
|
-
}), G = O(!1),
|
|
17905
|
+
}), G = O(!1), w = Be({
|
|
17906
17906
|
birthdate: "",
|
|
17907
17907
|
zipcode: "",
|
|
17908
17908
|
houseNumber: "",
|
|
@@ -18069,7 +18069,7 @@ const AN = Be({});
|
|
|
18069
18069
|
let Qa = O(!1), Ol = O(!1), is = O(!1), kl = O(!1), Ap = O(null), NN = O(!1);
|
|
18070
18070
|
const IN = 18, jN = 99, Ay = (t, e) => {
|
|
18071
18071
|
O(Nr().proxy.$refs).value;
|
|
18072
|
-
const r = U(() =>
|
|
18072
|
+
const r = U(() => w.birthdate.length === 10), n = U(() => Object.keys(t.buttonOptions).length === 0 ? {} : {
|
|
18073
18073
|
"--background": t.buttonOptions.normal.background,
|
|
18074
18074
|
"--text-color": t.buttonOptions.normal.textColor,
|
|
18075
18075
|
"--background-hover": t.buttonOptions.hover.background,
|
|
@@ -18089,10 +18089,10 @@ const IN = 18, jN = 99, Ay = (t, e) => {
|
|
|
18089
18089
|
}
|
|
18090
18090
|
}), u = () => F(void 0, null, function* () {
|
|
18091
18091
|
try {
|
|
18092
|
-
kl.value = !1, is.value = !1,
|
|
18093
|
-
|
|
18094
|
-
|
|
18095
|
-
|
|
18092
|
+
kl.value = !1, is.value = !1, w.zipcode && w.houseNumber && (Ep = yield _e.dataValidationService.validateZipCode(
|
|
18093
|
+
w.zipcode,
|
|
18094
|
+
w.houseNumber,
|
|
18095
|
+
w.houseNumberAddition
|
|
18096
18096
|
), kl.value = !0);
|
|
18097
18097
|
} catch (s) {
|
|
18098
18098
|
is.value = !0;
|
|
@@ -18111,20 +18111,20 @@ const IN = 18, jN = 99, Ay = (t, e) => {
|
|
|
18111
18111
|
"birthdate"
|
|
18112
18112
|
])) && !is.value)
|
|
18113
18113
|
if (t.isOnResultPage)
|
|
18114
|
-
e("submit-form", { userInformation:
|
|
18114
|
+
e("submit-form", { userInformation: w, motorState: on, licenseInformation: Un.motor });
|
|
18115
18115
|
else {
|
|
18116
18116
|
const d = {
|
|
18117
18117
|
license: on.license,
|
|
18118
|
-
zipcode:
|
|
18119
|
-
housenumber:
|
|
18120
|
-
housenumberaddition:
|
|
18121
|
-
birthdate:
|
|
18118
|
+
zipcode: w.zipcode,
|
|
18119
|
+
housenumber: w.houseNumber,
|
|
18120
|
+
housenumberaddition: w.houseNumberAddition,
|
|
18121
|
+
birthdate: w.birthdate
|
|
18122
18122
|
};
|
|
18123
18123
|
d.housenumberaddition || delete d.housenumberaddition, e("redirect-page", { link: t.link, data: d });
|
|
18124
18124
|
}
|
|
18125
18125
|
});
|
|
18126
|
-
return
|
|
18127
|
-
Ap.value = +P().format("YYYY"), t.isOnResultPage && (on.license = t.insuranceState.vehicle.LicensePlate, o(t.insuranceState.vehicle.LicensePlate),
|
|
18126
|
+
return Ee(() => {
|
|
18127
|
+
Ap.value = +P().format("YYYY"), t.isOnResultPage && (on.license = t.insuranceState.vehicle.LicensePlate, o(t.insuranceState.vehicle.LicensePlate), w.birthdate = t.userInformation.birthdate, w.zipcode = t.userInformation.zipCode, w.houseNumber = t.userInformation.houseNumber, w.houseNumberAddition = t.userInformation.houseNumberAddition, u()), t.isOnResultPage || Yt.removeSessionState("motor-storage", "motor-path");
|
|
18128
18128
|
}), {
|
|
18129
18129
|
licenseError: Qa,
|
|
18130
18130
|
showLicenseInfo: Ol,
|
|
@@ -18144,7 +18144,7 @@ const IN = 18, jN = 99, Ay = (t, e) => {
|
|
|
18144
18144
|
getHouseInformation: u,
|
|
18145
18145
|
getLicenseInformation: o,
|
|
18146
18146
|
openQuotationModal: c,
|
|
18147
|
-
userInformation:
|
|
18147
|
+
userInformation: w,
|
|
18148
18148
|
motorState: on
|
|
18149
18149
|
};
|
|
18150
18150
|
};
|
|
@@ -18218,7 +18218,7 @@ const HN = j({
|
|
|
18218
18218
|
},
|
|
18219
18219
|
setup() {
|
|
18220
18220
|
return {
|
|
18221
|
-
errors:
|
|
18221
|
+
errors: le
|
|
18222
18222
|
};
|
|
18223
18223
|
}
|
|
18224
18224
|
});
|
|
@@ -18357,13 +18357,13 @@ const ve = Iy.exports, UN = j(
|
|
|
18357
18357
|
), l = (v) => {
|
|
18358
18358
|
e("focus");
|
|
18359
18359
|
let y = v.srcElement.name;
|
|
18360
|
-
const m =
|
|
18361
|
-
(m !== null || m !== void 0 && m) && (m.reset(),
|
|
18360
|
+
const m = ce.fields.find({ name: y });
|
|
18361
|
+
(m !== null || m !== void 0 && m) && (m.reset(), ce.errors.remove(m.name, m.scope));
|
|
18362
18362
|
}, s = (v) => {
|
|
18363
18363
|
e("blur");
|
|
18364
18364
|
let y = v.srcElement.name;
|
|
18365
|
-
const m =
|
|
18366
|
-
(m !== null || m !== void 0 && m) &&
|
|
18365
|
+
const m = ce.fields.find({ name: y });
|
|
18366
|
+
(m !== null || m !== void 0 && m) && ce.validate(m.name);
|
|
18367
18367
|
}, d = (v, y, m) => {
|
|
18368
18368
|
y === "input" && (o.value = !1), v || (i.value = !1);
|
|
18369
18369
|
let g = xl(v);
|
|
@@ -18371,7 +18371,7 @@ const ve = Iy.exports, UN = j(
|
|
|
18371
18371
|
r.value = v, e(y, v), e("on-error");
|
|
18372
18372
|
return;
|
|
18373
18373
|
}
|
|
18374
|
-
e(y, g.toUpperCase()), r.value = g.toUpperCase(), g.length === 8 && y === "input" && (
|
|
18374
|
+
e(y, g.toUpperCase()), r.value = g.toUpperCase(), g.length === 8 && y === "input" && (ce.validate(t.name), m && p(g.toUpperCase()));
|
|
18375
18375
|
}, h = (v) => {
|
|
18376
18376
|
let y = (v.clipboardData || window.clipboardData).getData("text");
|
|
18377
18377
|
if (typeof y == "string" && y) {
|
|
@@ -18380,7 +18380,7 @@ const ve = Iy.exports, UN = j(
|
|
|
18380
18380
|
r.value = y, e("input", y), e("on-error"), v.preventDefault();
|
|
18381
18381
|
return;
|
|
18382
18382
|
}
|
|
18383
|
-
e("input", m.toUpperCase()), r.value = m.toUpperCase(), e("license-correct"), m.length === 8 && (
|
|
18383
|
+
e("input", m.toUpperCase()), r.value = m.toUpperCase(), e("license-correct"), m.length === 8 && (ce.validate(t.name), p(m.toUpperCase())), v.preventDefault();
|
|
18384
18384
|
}
|
|
18385
18385
|
}, f = (v, y) => F(this, null, function* () {
|
|
18386
18386
|
const m = v.toLocaleLowerCase(), g = yield _e.dataService.findVehicle(y, m);
|
|
@@ -18388,26 +18388,26 @@ const ve = Iy.exports, UN = j(
|
|
|
18388
18388
|
}), p = (v) => {
|
|
18389
18389
|
a.value = !0, i.value = !1, o.value = !1, n.value = {}, f(t.vehicleType, v).then((y) => {
|
|
18390
18390
|
if (Array.isArray(y) && !y.length) {
|
|
18391
|
-
a.value = !1, o.value = !0,
|
|
18391
|
+
a.value = !1, o.value = !0, ce.validate("unknownLicensePlateHiddenField");
|
|
18392
18392
|
return;
|
|
18393
18393
|
}
|
|
18394
18394
|
if (t.vehicleTypes.length !== 0 && !t.vehicleTypes.includes(y.VehicleType)) {
|
|
18395
|
-
e("incorrect-vehicle-type"), i.value = !0, a.value = !1,
|
|
18395
|
+
e("incorrect-vehicle-type"), i.value = !0, a.value = !1, ce.validate("incorrectLicensePlateHiddenField"), ce.validate("noLicensePlateHiddenField"), ce.validate("unknownLicensePlateHiddenField");
|
|
18396
18396
|
return;
|
|
18397
18397
|
}
|
|
18398
18398
|
n.value = y, e("on-vehicle-information-update", y), a.value = !1;
|
|
18399
18399
|
});
|
|
18400
18400
|
};
|
|
18401
|
-
return
|
|
18401
|
+
return Ee(() => {
|
|
18402
18402
|
un(() => {
|
|
18403
18403
|
if (r.value = t.value, !r.value)
|
|
18404
18404
|
return;
|
|
18405
18405
|
let v = !0;
|
|
18406
|
-
xl(r.value).length === 8 && Object.keys(t.propVehicleInformation).length !== 0 && (n.value = t.propVehicleInformation,
|
|
18406
|
+
xl(r.value).length === 8 && Object.keys(t.propVehicleInformation).length !== 0 && (n.value = t.propVehicleInformation, ce.validate(t.name), v = !1), d(r.value, "input", v);
|
|
18407
18407
|
});
|
|
18408
18408
|
}), {
|
|
18409
|
-
errors:
|
|
18410
|
-
userInformation:
|
|
18409
|
+
errors: le,
|
|
18410
|
+
userInformation: w,
|
|
18411
18411
|
motorState: on,
|
|
18412
18412
|
hasNewDesign: G,
|
|
18413
18413
|
license: r,
|
|
@@ -18529,21 +18529,21 @@ function e2() {
|
|
|
18529
18529
|
e = e(t, r), e = JN(e).maskWithoutCaretTraps;
|
|
18530
18530
|
else
|
|
18531
18531
|
throw new Error("Text-mask:conformToMask; The mask property must be an array.");
|
|
18532
|
-
var n = r.guide, a = n === void 0 ? !0 : n, i = r.previousConformedValue, o = i === void 0 ? Tn : i, u = r.placeholderChar, c = u === void 0 ? Vy : u, l = r.placeholder, s = l === void 0 ? KN(e, c) : l, d = r.currentCaretPosition, h = r.keepCharPositions, f = a === !1 && o !== void 0, p = t.length, v = o.length, y = s.length, m = e.length, g = p - v, b = g > 0,
|
|
18532
|
+
var n = r.guide, a = n === void 0 ? !0 : n, i = r.previousConformedValue, o = i === void 0 ? Tn : i, u = r.placeholderChar, c = u === void 0 ? Vy : u, l = r.placeholder, s = l === void 0 ? KN(e, c) : l, d = r.currentCaretPosition, h = r.keepCharPositions, f = a === !1 && o !== void 0, p = t.length, v = o.length, y = s.length, m = e.length, g = p - v, b = g > 0, S = d + (b ? -g : 0), D = S + Math.abs(g);
|
|
18533
18533
|
if (h === !0 && !b) {
|
|
18534
|
-
for (var L = Tn, se =
|
|
18534
|
+
for (var L = Tn, se = S; se < D; se++)
|
|
18535
18535
|
s[se] === c && (L += c);
|
|
18536
|
-
t = t.slice(0,
|
|
18536
|
+
t = t.slice(0, S) + L + t.slice(S, p);
|
|
18537
18537
|
}
|
|
18538
18538
|
for (var X = t.split(Tn).map(function(I0, Gf) {
|
|
18539
18539
|
return {
|
|
18540
18540
|
char: I0,
|
|
18541
|
-
isNew: Gf >=
|
|
18541
|
+
isNew: Gf >= S && Gf < D
|
|
18542
18542
|
};
|
|
18543
18543
|
}), H = p - 1; H >= 0; H--) {
|
|
18544
18544
|
var V = X[H].char;
|
|
18545
18545
|
if (V !== c) {
|
|
18546
|
-
var W = H >=
|
|
18546
|
+
var W = H >= S && v === m;
|
|
18547
18547
|
V === s[W ? H - g : H] && X.splice(H, 1);
|
|
18548
18548
|
}
|
|
18549
18549
|
}
|
|
@@ -18837,23 +18837,23 @@ const v2 = j({
|
|
|
18837
18837
|
r.value = !1, e("focus");
|
|
18838
18838
|
let l = c.srcElement.name;
|
|
18839
18839
|
const s = gs.find({ name: l + t.uId });
|
|
18840
|
-
(s !== null || s !== void 0 && s) && (s.reset(),
|
|
18840
|
+
(s !== null || s !== void 0 && s) && (s.reset(), le.remove(s.name, s.scope));
|
|
18841
18841
|
}, u = (c) => {
|
|
18842
18842
|
if (e("blur"), t.disableValidationBlur && t.value || t.optionDisableValidationBlur)
|
|
18843
18843
|
return;
|
|
18844
18844
|
let l = c.srcElement.name;
|
|
18845
18845
|
const s = gs.find({ name: l + t.uId });
|
|
18846
|
-
(s !== null || s !== void 0 && s) &&
|
|
18846
|
+
(s !== null || s !== void 0 && s) && ce.validate(s.name).then((d) => {
|
|
18847
18847
|
r.value = !0;
|
|
18848
18848
|
});
|
|
18849
18849
|
};
|
|
18850
|
-
return
|
|
18850
|
+
return Ee(() => {
|
|
18851
18851
|
if (t.value) {
|
|
18852
18852
|
const c = gs.find({ name: t.name + t.uId });
|
|
18853
|
-
(c !== null || c !== void 0 && c) &&
|
|
18853
|
+
(c !== null || c !== void 0 && c) && ce.validate(c.name);
|
|
18854
18854
|
}
|
|
18855
18855
|
}), {
|
|
18856
|
-
errors:
|
|
18856
|
+
errors: le,
|
|
18857
18857
|
hasNewDesign: G,
|
|
18858
18858
|
inputModeChecker: n,
|
|
18859
18859
|
isFieldValidated: r,
|
|
@@ -18889,7 +18889,7 @@ var zy = /* @__PURE__ */ I(
|
|
|
18889
18889
|
null
|
|
18890
18890
|
);
|
|
18891
18891
|
zy.options.__file = "/Users/mac/Work/comparison-forms/src/components/common/inputs/DefaultInput.vue";
|
|
18892
|
-
const
|
|
18892
|
+
const Ye = zy.exports, y2 = j({
|
|
18893
18893
|
name: "DefaultSelect",
|
|
18894
18894
|
props: {
|
|
18895
18895
|
validation: {
|
|
@@ -18945,7 +18945,7 @@ const ze = zy.exports, y2 = j({
|
|
|
18945
18945
|
setup(t, { emit: e }) {
|
|
18946
18946
|
const r = O(!1);
|
|
18947
18947
|
return {
|
|
18948
|
-
errors:
|
|
18948
|
+
errors: le,
|
|
18949
18949
|
hasNewDesign: G,
|
|
18950
18950
|
wasOptionChosen: r,
|
|
18951
18951
|
changeValue: (a) => {
|
|
@@ -19478,7 +19478,7 @@ function z2(t, e) {
|
|
|
19478
19478
|
if (n !== u || o.length === c + 1)
|
|
19479
19479
|
return t;
|
|
19480
19480
|
n = t.placement.split("-")[0], a = Zs(n);
|
|
19481
|
-
var l = t.offsets.popper, s = t.offsets.reference, d = Math.floor, h = n === "left" && d(l.right) > d(s.left) || n === "right" && d(l.left) < d(s.right) || n === "top" && d(l.bottom) > d(s.top) || n === "bottom" && d(l.top) < d(s.bottom), f = d(l.left) < d(r.left), p = d(l.right) > d(r.right), v = d(l.top) < d(r.top), y = d(l.bottom) > d(r.bottom), m = n === "left" && f || n === "right" && p || n === "top" && v || n === "bottom" && y, g = ["top", "bottom"].indexOf(n) !== -1, b = !!e.flipVariations && (g && i === "start" && f || g && i === "end" && p || !g && i === "start" && v || !g && i === "end" && y),
|
|
19481
|
+
var l = t.offsets.popper, s = t.offsets.reference, d = Math.floor, h = n === "left" && d(l.right) > d(s.left) || n === "right" && d(l.left) < d(s.right) || n === "top" && d(l.bottom) > d(s.top) || n === "bottom" && d(l.top) < d(s.bottom), f = d(l.left) < d(r.left), p = d(l.right) > d(r.right), v = d(l.top) < d(r.top), y = d(l.bottom) > d(r.bottom), m = n === "left" && f || n === "right" && p || n === "top" && v || n === "bottom" && y, g = ["top", "bottom"].indexOf(n) !== -1, b = !!e.flipVariations && (g && i === "start" && f || g && i === "end" && p || !g && i === "start" && v || !g && i === "end" && y), S = !!e.flipVariationsByContent && (g && i === "start" && p || g && i === "end" && f || !g && i === "start" && y || !g && i === "end" && v), D = b || S;
|
|
19482
19482
|
(h || m || D) && (t.flipped = !0, (h || m) && (n = o[c + 1]), D && (i = U2(i)), t.placement = n + (i ? "-" + i : ""), t.offsets.popper = Nt({}, t.offsets.popper, a_(t.instance.popper, t.offsets.reference, t.placement)), t = i_(t.instance.modifiers, t, "flip"));
|
|
19483
19483
|
}), t;
|
|
19484
19484
|
}
|
|
@@ -20115,8 +20115,8 @@ const nI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
20115
20115
|
}), g)
|
|
20116
20116
|
if (m.functional) {
|
|
20117
20117
|
const b = m.render;
|
|
20118
|
-
m.render = function(
|
|
20119
|
-
return g.call(D), b(
|
|
20118
|
+
m.render = function(S, D) {
|
|
20119
|
+
return g.call(D), b(S, D);
|
|
20120
20120
|
};
|
|
20121
20121
|
} else {
|
|
20122
20122
|
const b = m.beforeCreate;
|
|
@@ -20132,7 +20132,7 @@ const nI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
20132
20132
|
var iI = Zy.exports;
|
|
20133
20133
|
const Qi = /* @__PURE__ */ Bm(iI), oI = j({
|
|
20134
20134
|
components: {
|
|
20135
|
-
DefaultInput:
|
|
20135
|
+
DefaultInput: Ye,
|
|
20136
20136
|
DefaultSelect: Xe,
|
|
20137
20137
|
ErrorHandler: ve,
|
|
20138
20138
|
Popper: Qi
|
|
@@ -20192,7 +20192,7 @@ const Qi = /* @__PURE__ */ Bm(iI), oI = j({
|
|
|
20192
20192
|
}
|
|
20193
20193
|
], v = U(() => [
|
|
20194
20194
|
{
|
|
20195
|
-
rule:
|
|
20195
|
+
rule: le.has(t.houseNumberAdditionName),
|
|
20196
20196
|
text: "Een toevoeging is verplicht"
|
|
20197
20197
|
}
|
|
20198
20198
|
]), y = U(() => [
|
|
@@ -20216,7 +20216,7 @@ const Qi = /* @__PURE__ */ Bm(iI), oI = j({
|
|
|
20216
20216
|
value: "CHOOSE_OPTION",
|
|
20217
20217
|
disabled: !0,
|
|
20218
20218
|
selected: !0
|
|
20219
|
-
}), o.value = yield
|
|
20219
|
+
}), o.value = yield S(V, W), o.value && (s.value = [...s.value, {
|
|
20220
20220
|
title: "Geen toevoeging",
|
|
20221
20221
|
value: ""
|
|
20222
20222
|
}]), _e.homeService.getAddition({ zipcode: V, houseNumber: W }).then((Ie) => {
|
|
@@ -20239,7 +20239,7 @@ const Qi = /* @__PURE__ */ Bm(iI), oI = j({
|
|
|
20239
20239
|
} catch (Ie) {
|
|
20240
20240
|
console.error("Error in getHouseNumberAdditions:", Ie);
|
|
20241
20241
|
}
|
|
20242
|
-
}),
|
|
20242
|
+
}), S = (V, W) => F(this, null, function* () {
|
|
20243
20243
|
return yield _e.dataValidationService.validateZipCode(V, W).then(() => !0).catch(() => !1);
|
|
20244
20244
|
}), D = (V) => {
|
|
20245
20245
|
h.value = !0, u.value = V.toUpperCase(), e("update-zipcode", V.toUpperCase()), un(() => {
|
|
@@ -20267,15 +20267,15 @@ const Qi = /* @__PURE__ */ Bm(iI), oI = j({
|
|
|
20267
20267
|
}
|
|
20268
20268
|
}), H = (V) => {
|
|
20269
20269
|
var he;
|
|
20270
|
-
const W =
|
|
20271
|
-
(W !== null || W !== void 0 && W) && (W == null || W.reset(), (he =
|
|
20270
|
+
const W = ce.fields.find({ name: V });
|
|
20271
|
+
(W !== null || W !== void 0 && W) && (W == null || W.reset(), (he = ce == null ? void 0 : ce.errors) == null || he.remove(W == null ? void 0 : W.name, W == null ? void 0 : W.scope));
|
|
20272
20272
|
};
|
|
20273
|
-
return
|
|
20273
|
+
return Ee(() => {
|
|
20274
20274
|
un(() => {
|
|
20275
20275
|
u.value = t.zipcode, c.value = t.houseNumber, b(t.zipcode, t.houseNumber, !1);
|
|
20276
20276
|
});
|
|
20277
20277
|
}), {
|
|
20278
|
-
errors:
|
|
20278
|
+
errors: le,
|
|
20279
20279
|
hasNewDesign: G,
|
|
20280
20280
|
additionLabel: m,
|
|
20281
20281
|
additionValidationRules: g,
|
|
@@ -20296,7 +20296,7 @@ const Qi = /* @__PURE__ */ Bm(iI), oI = j({
|
|
|
20296
20296
|
houseNumberAdditionErrorsData: v,
|
|
20297
20297
|
addressErrorsData: y,
|
|
20298
20298
|
getHouseNumberAdditions: b,
|
|
20299
|
-
getHouseInformationWithoutAddition:
|
|
20299
|
+
getHouseInformationWithoutAddition: S,
|
|
20300
20300
|
updateZipcode: D,
|
|
20301
20301
|
updateHouseNumber: L,
|
|
20302
20302
|
updateHouseNumberAddition: se,
|
|
@@ -20432,7 +20432,7 @@ var p_ = /* @__PURE__ */ I(
|
|
|
20432
20432
|
null
|
|
20433
20433
|
);
|
|
20434
20434
|
p_.options.__file = "/Users/mac/Work/comparison-forms/src/components/common/SimpleCard.vue";
|
|
20435
|
-
const
|
|
20435
|
+
const $e = p_.exports;
|
|
20436
20436
|
function cI(t) {
|
|
20437
20437
|
return t.valueOf().toString().substr(6, 12);
|
|
20438
20438
|
}
|
|
@@ -20449,7 +20449,7 @@ const dI = j({
|
|
|
20449
20449
|
name: "BirthdateInput",
|
|
20450
20450
|
components: {
|
|
20451
20451
|
ErrorHandler: ve,
|
|
20452
|
-
DefaultInput:
|
|
20452
|
+
DefaultInput: Ye
|
|
20453
20453
|
},
|
|
20454
20454
|
props: {
|
|
20455
20455
|
agesRange: {
|
|
@@ -20508,9 +20508,9 @@ const dt = v_.exports, hI = j({
|
|
|
20508
20508
|
components: {
|
|
20509
20509
|
LicensePlate: Qn,
|
|
20510
20510
|
AddressHandler: Ht,
|
|
20511
|
-
DefaultInput:
|
|
20511
|
+
DefaultInput: Ye,
|
|
20512
20512
|
DefaultSelect: Xe,
|
|
20513
|
-
SimpleCard:
|
|
20513
|
+
SimpleCard: $e,
|
|
20514
20514
|
BirthdateInput: dt,
|
|
20515
20515
|
ErrorHandler: ve
|
|
20516
20516
|
},
|
|
@@ -20577,8 +20577,8 @@ const dt = v_.exports, hI = j({
|
|
|
20577
20577
|
} = Ay(t, e);
|
|
20578
20578
|
return {
|
|
20579
20579
|
licenseInformation: Un,
|
|
20580
|
-
errors:
|
|
20581
|
-
userInformation:
|
|
20580
|
+
errors: le,
|
|
20581
|
+
userInformation: w,
|
|
20582
20582
|
motorState: on,
|
|
20583
20583
|
hasNewDesign: G,
|
|
20584
20584
|
licenseError: r,
|
|
@@ -20631,9 +20631,9 @@ const mI = y_.exports, vI = j({
|
|
|
20631
20631
|
components: {
|
|
20632
20632
|
LicensePlate: Qn,
|
|
20633
20633
|
AddressHandler: Ht,
|
|
20634
|
-
DefaultInput:
|
|
20634
|
+
DefaultInput: Ye,
|
|
20635
20635
|
DefaultSelect: Xe,
|
|
20636
|
-
SimpleCard:
|
|
20636
|
+
SimpleCard: $e,
|
|
20637
20637
|
BirthdateInput: dt
|
|
20638
20638
|
},
|
|
20639
20639
|
props: {
|
|
@@ -20693,8 +20693,8 @@ const mI = y_.exports, vI = j({
|
|
|
20693
20693
|
} = Ay(t, e);
|
|
20694
20694
|
return {
|
|
20695
20695
|
licenseInformation: Un,
|
|
20696
|
-
errors:
|
|
20697
|
-
userInformation:
|
|
20696
|
+
errors: le,
|
|
20697
|
+
userInformation: w,
|
|
20698
20698
|
motorState: on,
|
|
20699
20699
|
hasNewDesign: G,
|
|
20700
20700
|
licenseError: r,
|
|
@@ -20808,7 +20808,7 @@ class wI {
|
|
|
20808
20808
|
MonthlyCarRentalExpenses: m,
|
|
20809
20809
|
MonthlyChildcareAllowance: g,
|
|
20810
20810
|
MonthlyChildcareExpenses: b,
|
|
20811
|
-
MonthlyCurrentLoansExpenses:
|
|
20811
|
+
MonthlyCurrentLoansExpenses: S,
|
|
20812
20812
|
MonthlyHouseExpenses: D,
|
|
20813
20813
|
MonthlyNetIncome: L,
|
|
20814
20814
|
MonthlyStudentLoansExpenses: se,
|
|
@@ -20839,7 +20839,7 @@ class wI {
|
|
|
20839
20839
|
MonthlyCarRentalExpenses: m,
|
|
20840
20840
|
MonthlyChildcareAllowance: g,
|
|
20841
20841
|
MonthlyChildcareExpenses: b,
|
|
20842
|
-
MonthlyCurrentLoansExpenses:
|
|
20842
|
+
MonthlyCurrentLoansExpenses: S,
|
|
20843
20843
|
MonthlyHouseExpenses: D,
|
|
20844
20844
|
MonthlyNetIncome: L,
|
|
20845
20845
|
MonthlyStudentLoansExpenses: se,
|
|
@@ -20869,19 +20869,19 @@ const w_ = (t, e) => {
|
|
|
20869
20869
|
console.error(m), a(`
|
|
20870
20870
|
Leendoel: ${tn.loanPurpose} |
|
|
20871
20871
|
Leenbedrag: ${tn.loanAmount} |
|
|
20872
|
-
Geboortedatum: ${
|
|
20873
|
-
Gezinssituatie: ${
|
|
20872
|
+
Geboortedatum: ${w.birthdate} |
|
|
20873
|
+
Gezinssituatie: ${w.familyComposition}
|
|
20874
20874
|
`), n(r.CreationForm);
|
|
20875
20875
|
}
|
|
20876
20876
|
}), s = () => {
|
|
20877
|
-
t.comparison.getUser().setBirthDate(
|
|
20877
|
+
t.comparison.getUser().setBirthDate(w.birthdate), t.comparison.getUser().setFamilyComposition(w.familyComposition);
|
|
20878
20878
|
}, d = () => {
|
|
20879
20879
|
t.comparison.getUser().setDetail(null, Dt(Dt({}, t.comparison.getUser().getDetail(null)), o.value));
|
|
20880
20880
|
}, h = () => {
|
|
20881
|
-
tn.loanAmount = t.insuranceState.LoanAmount, tn.loanPurpose = t.insuranceState.LoanPurpose,
|
|
20881
|
+
tn.loanAmount = t.insuranceState.LoanAmount, tn.loanPurpose = t.insuranceState.LoanPurpose, w.birthdate = t.userInformation.birthdate, w.familyComposition = t.userInformation.familyComposition;
|
|
20882
20882
|
}, f = () => {
|
|
20883
20883
|
const y = new te.User({});
|
|
20884
|
-
return y.setDetail(null, {}), y.setBirthDate(
|
|
20884
|
+
return y.setDetail(null, {}), y.setBirthDate(w.birthdate), y.setFamilyComposition(w.familyComposition), y.setDetail("loanData", {
|
|
20885
20885
|
LoanPurpose: tn.loanPurpose,
|
|
20886
20886
|
LoanAmount: tn.loanAmount
|
|
20887
20887
|
}), y;
|
|
@@ -20894,7 +20894,7 @@ const w_ = (t, e) => {
|
|
|
20894
20894
|
submitUpdateForm: () => F(void 0, null, function* () {
|
|
20895
20895
|
Tl.value = !0;
|
|
20896
20896
|
try {
|
|
20897
|
-
(yield ot(["birthdate", "familyComposition", "loanAmount", "loanPurpose"])) && (yield d(), yield s(), yield _e.comparisonService.update(t.comparison), e("submit-form", { userInformation:
|
|
20897
|
+
(yield ot(["birthdate", "familyComposition", "loanAmount", "loanPurpose"])) && (yield d(), yield s(), yield _e.comparisonService.update(t.comparison), e("submit-form", { userInformation: w, loanState: tn }));
|
|
20898
20898
|
} catch (y) {
|
|
20899
20899
|
console.error(y), e("emit-event-hub", { event: "open-quotation-modal" });
|
|
20900
20900
|
}
|
|
@@ -20914,14 +20914,14 @@ const w_ = (t, e) => {
|
|
|
20914
20914
|
}, SI = j({
|
|
20915
20915
|
name: "LoanAmount",
|
|
20916
20916
|
components: {
|
|
20917
|
-
DefaultInput:
|
|
20917
|
+
DefaultInput: Ye,
|
|
20918
20918
|
DefaultSelect: Xe,
|
|
20919
20919
|
ErrorHandler: ve
|
|
20920
20920
|
},
|
|
20921
20921
|
setup(t, { attrs: e, listeners: r }) {
|
|
20922
20922
|
const { inputId: n } = Ru();
|
|
20923
20923
|
return {
|
|
20924
|
-
errors:
|
|
20924
|
+
errors: le,
|
|
20925
20925
|
hasNewDesign: G,
|
|
20926
20926
|
attrs: e,
|
|
20927
20927
|
listeners: r,
|
|
@@ -21023,7 +21023,7 @@ const kI = [
|
|
|
21023
21023
|
setup(t, { attrs: e, listeners: r }) {
|
|
21024
21024
|
const { inputId: n } = Ru();
|
|
21025
21025
|
return {
|
|
21026
|
-
errors:
|
|
21026
|
+
errors: le,
|
|
21027
21027
|
hasNewDesign: G,
|
|
21028
21028
|
attrs: e,
|
|
21029
21029
|
listeners: r,
|
|
@@ -21091,7 +21091,7 @@ const P_ = x_.exports, Cf = [
|
|
|
21091
21091
|
setup(t, { attrs: e, listeners: r }) {
|
|
21092
21092
|
const { inputId: n } = Ru(), a = Cf, i = U(() => [
|
|
21093
21093
|
{
|
|
21094
|
-
rule:
|
|
21094
|
+
rule: le.has("familyComposition"),
|
|
21095
21095
|
text: "Gezinssituatie is verplicht"
|
|
21096
21096
|
}
|
|
21097
21097
|
]);
|
|
@@ -21130,7 +21130,7 @@ const Cn = T_.exports, $I = j({
|
|
|
21130
21130
|
LoanAmountInputField: k_,
|
|
21131
21131
|
BirthdateInput: dt,
|
|
21132
21132
|
FamilyCompositionInput: Cn,
|
|
21133
|
-
SimpleCard:
|
|
21133
|
+
SimpleCard: $e
|
|
21134
21134
|
},
|
|
21135
21135
|
props: {
|
|
21136
21136
|
baseUrl: {
|
|
@@ -21161,10 +21161,10 @@ const Cn = T_.exports, $I = j({
|
|
|
21161
21161
|
},
|
|
21162
21162
|
setup(t, { emit: e }) {
|
|
21163
21163
|
const { loanState: r, isHorizontalForm: n, submitCreateForm: a } = w_(t, e);
|
|
21164
|
-
return
|
|
21164
|
+
return Ee(() => {
|
|
21165
21165
|
Yt.removeSessionState(Nr().proxy.$root.$data.pathKey, Nr().proxy.$root.$data.storageKey);
|
|
21166
21166
|
}), {
|
|
21167
|
-
userInformation:
|
|
21167
|
+
userInformation: w,
|
|
21168
21168
|
hasNewDesign: G,
|
|
21169
21169
|
loanState: r,
|
|
21170
21170
|
isHorizontalForm: n,
|
|
@@ -21207,7 +21207,7 @@ const MI = R_.exports, RI = j({
|
|
|
21207
21207
|
LoanAmountInputField: k_,
|
|
21208
21208
|
BirthdateInput: dt,
|
|
21209
21209
|
FamilyCompositionInput: Cn,
|
|
21210
|
-
SimpleCard:
|
|
21210
|
+
SimpleCard: $e
|
|
21211
21211
|
},
|
|
21212
21212
|
props: {
|
|
21213
21213
|
title: {
|
|
@@ -21243,10 +21243,10 @@ const MI = R_.exports, RI = j({
|
|
|
21243
21243
|
},
|
|
21244
21244
|
setup(t, { emit: e }) {
|
|
21245
21245
|
const { inSubmissions: r, loanState: n, setFormData: a, submitUpdateForm: i } = w_(t, e);
|
|
21246
|
-
return
|
|
21246
|
+
return Ee(() => {
|
|
21247
21247
|
a();
|
|
21248
21248
|
}), {
|
|
21249
|
-
userInformation:
|
|
21249
|
+
userInformation: w,
|
|
21250
21250
|
hasNewDesign: G,
|
|
21251
21251
|
inSubmissions: r,
|
|
21252
21252
|
loanState: n,
|
|
@@ -21303,7 +21303,7 @@ const N_ = (t, e) => {
|
|
|
21303
21303
|
"birthdate"
|
|
21304
21304
|
])) && !n.value && rt.VehicleType === "Car" && !a.value)
|
|
21305
21305
|
if (t.isOnResultPage || t.isOnCoveragePage)
|
|
21306
|
-
e("submit-form", { userInformation:
|
|
21306
|
+
e("submit-form", { userInformation: w, carState: rt });
|
|
21307
21307
|
else {
|
|
21308
21308
|
const f = yield c();
|
|
21309
21309
|
f && e("redirect-page", { link: `${t.link}#/${f.getId()}/dekkingen/` });
|
|
@@ -21334,10 +21334,10 @@ const N_ = (t, e) => {
|
|
|
21334
21334
|
Deductables: 300,
|
|
21335
21335
|
Kilometrage: "12000"
|
|
21336
21336
|
}
|
|
21337
|
-
), h.setZipCode(
|
|
21337
|
+
), h.setZipCode(w.zipcode), h.setHouseNumber(Number(w.houseNumber)), h.setHouseNumberAddition(w.houseNumberAddition), h.setBirthDate(w.birthdate), yield _e.comparisonService.create("car", h);
|
|
21338
21338
|
} catch (h) {
|
|
21339
21339
|
return i.value.push({
|
|
21340
|
-
text: `Kenteken: ${r.value} | Postcode: ${
|
|
21340
|
+
text: `Kenteken: ${r.value} | Postcode: ${w.zipcode} | Huisnummer: ${w.houseNumber} | Huisnummer toevoeging: ${w.houseNumberAddition} | Geboortedatum: ${w.birthdate}`
|
|
21341
21341
|
}), i.value = Eu(i.value), l(), null;
|
|
21342
21342
|
}
|
|
21343
21343
|
});
|
|
@@ -21357,9 +21357,9 @@ const N_ = (t, e) => {
|
|
|
21357
21357
|
function d() {
|
|
21358
21358
|
a.value = !0;
|
|
21359
21359
|
}
|
|
21360
|
-
return
|
|
21360
|
+
return Ee(() => {
|
|
21361
21361
|
var h, f, p, v, y;
|
|
21362
|
-
(t.isOnResultPage || t.isOnCoveragePage) && (Object.assign(rt, t.insuranceState), r.value = (h = rt.LicensePlate) != null ? h : "",
|
|
21362
|
+
(t.isOnResultPage || t.isOnCoveragePage) && (Object.assign(rt, t.insuranceState), r.value = (h = rt.LicensePlate) != null ? h : "", w.zipcode = (f = t.userInformation.zipCode) != null ? f : "", w.houseNumber = (p = String(t.userInformation.houseNumber)) != null ? p : "", w.houseNumberAddition = (v = t.userInformation.houseNumberAddition) != null ? v : "", w.birthdate = (y = t.userInformation.birthdate) != null ? y : ""), (!t.isOnResultPage || !t.isOnCoveragePage) && Yt.removeSessionState("car-storage", "car-path");
|
|
21363
21363
|
}), {
|
|
21364
21364
|
licensePlate: r,
|
|
21365
21365
|
houseError: n,
|
|
@@ -21372,8 +21372,8 @@ const N_ = (t, e) => {
|
|
|
21372
21372
|
components: {
|
|
21373
21373
|
LicensePlate: Qn,
|
|
21374
21374
|
AddressHandler: Ht,
|
|
21375
|
-
DefaultInput:
|
|
21376
|
-
SimpleCard:
|
|
21375
|
+
DefaultInput: Ye,
|
|
21376
|
+
SimpleCard: $e,
|
|
21377
21377
|
BirthdateInput: dt
|
|
21378
21378
|
},
|
|
21379
21379
|
props: {
|
|
@@ -21417,10 +21417,10 @@ const N_ = (t, e) => {
|
|
|
21417
21417
|
validateBeforeSubmit: o
|
|
21418
21418
|
} = N_(t, e);
|
|
21419
21419
|
return {
|
|
21420
|
-
userInformation:
|
|
21420
|
+
userInformation: w,
|
|
21421
21421
|
carState: rt,
|
|
21422
21422
|
hasNewDesign: G,
|
|
21423
|
-
errors:
|
|
21423
|
+
errors: le,
|
|
21424
21424
|
licensePlate: r,
|
|
21425
21425
|
houseError: n,
|
|
21426
21426
|
onLicenseInput: a,
|
|
@@ -21456,8 +21456,8 @@ const FI = j_.exports, LI = j({
|
|
|
21456
21456
|
components: {
|
|
21457
21457
|
LicensePlate: Qn,
|
|
21458
21458
|
AddressHandler: Ht,
|
|
21459
|
-
DefaultInput:
|
|
21460
|
-
SimpleCard:
|
|
21459
|
+
DefaultInput: Ye,
|
|
21460
|
+
SimpleCard: $e,
|
|
21461
21461
|
BirthdateInput: dt
|
|
21462
21462
|
},
|
|
21463
21463
|
props: {
|
|
@@ -21501,10 +21501,10 @@ const FI = j_.exports, LI = j({
|
|
|
21501
21501
|
validateBeforeSubmit: o
|
|
21502
21502
|
} = N_(t, e);
|
|
21503
21503
|
return {
|
|
21504
|
-
userInformation:
|
|
21504
|
+
userInformation: w,
|
|
21505
21505
|
carState: rt,
|
|
21506
21506
|
hasNewDesign: G,
|
|
21507
|
-
errors:
|
|
21507
|
+
errors: le,
|
|
21508
21508
|
licensePlate: r,
|
|
21509
21509
|
houseError: n,
|
|
21510
21510
|
onLicenseInput: a,
|
|
@@ -21540,7 +21540,7 @@ let YI = Be({});
|
|
|
21540
21540
|
const HI = Be({});
|
|
21541
21541
|
let qp = O(!1), qI = O(!1), UI = O(!1), zI = O(!1), WI = O(+P().format("YYYY")), GI = O(!1), ei = O(!1), aa = O(!1);
|
|
21542
21542
|
const ZI = 16, KI = 99, V_ = (t, e) => {
|
|
21543
|
-
const r = U(() =>
|
|
21543
|
+
const r = U(() => w.birthdate.length === 10), n = U(() => Object.keys(t.buttonOptions).length === 0 ? {} : {
|
|
21544
21544
|
"--background": t.buttonOptions.normal.background,
|
|
21545
21545
|
"--text-color": t.buttonOptions.normal.textColor,
|
|
21546
21546
|
"--background-hover": t.buttonOptions.hover.background,
|
|
@@ -21564,14 +21564,14 @@ const ZI = 16, KI = 99, V_ = (t, e) => {
|
|
|
21564
21564
|
}, s = () => F(void 0, null, function* () {
|
|
21565
21565
|
if (yield ot(i.value))
|
|
21566
21566
|
if (t.isOnResultPage)
|
|
21567
|
-
e("submit-form", { userInformation:
|
|
21567
|
+
e("submit-form", { userInformation: w, mopedState: Tt, licenseInformation: Un.moped, showCatalogValueField: ei.value });
|
|
21568
21568
|
else {
|
|
21569
21569
|
const f = {
|
|
21570
21570
|
license: Tt.license,
|
|
21571
|
-
zipcode:
|
|
21572
|
-
housenumber:
|
|
21573
|
-
housenumberaddition:
|
|
21574
|
-
birthdate:
|
|
21571
|
+
zipcode: w.zipcode,
|
|
21572
|
+
housenumber: w.houseNumber,
|
|
21573
|
+
housenumberaddition: w.houseNumberAddition,
|
|
21574
|
+
birthdate: w.birthdate
|
|
21575
21575
|
};
|
|
21576
21576
|
f.housenumberaddition || delete f.housenumberaddition;
|
|
21577
21577
|
const p = Ey(t.link, f);
|
|
@@ -21609,9 +21609,9 @@ const ZI = 16, KI = 99, V_ = (t, e) => {
|
|
|
21609
21609
|
};
|
|
21610
21610
|
return gn(o, (h) => {
|
|
21611
21611
|
Number(h) > 5e3 ? aa.value = !0 : (aa.value = !1, Tt.purchaseValue = "");
|
|
21612
|
-
}),
|
|
21612
|
+
}), Ee(() => {
|
|
21613
21613
|
if (t.isOnResultPage) {
|
|
21614
|
-
Tt.license = Tt.oldLicense = t.insuranceState.LicensePlate || At().license || "",
|
|
21614
|
+
Tt.license = Tt.oldLicense = t.insuranceState.LicensePlate || At().license || "", w.birthdate = t.userInformation.birthdate || At().birthdate || "", w.zipcode = t.userInformation.zipCode || At().zipcode || "", w.houseNumber = t.userInformation.houseNumber || At().housenumber || "", w.houseNumberAddition = t.userInformation.houseNumberAddition || At().housenumberaddition || "", t.insuranceState.CatalogValueByLicense && (Tt.catalogValue = t.insuranceState.CatalogValueByLicense, ei.value = !0);
|
|
21615
21615
|
const h = t.insuranceState.PurchaseValueByLicense;
|
|
21616
21616
|
h && (Tt.purchaseValue = h, aa.value = !0);
|
|
21617
21617
|
}
|
|
@@ -21636,7 +21636,7 @@ const ZI = 16, KI = 99, V_ = (t, e) => {
|
|
|
21636
21636
|
onLicenseError: c,
|
|
21637
21637
|
openQuotationModal: l,
|
|
21638
21638
|
validateBeforeSubmit: s,
|
|
21639
|
-
userInformation:
|
|
21639
|
+
userInformation: w,
|
|
21640
21640
|
mopedState: Tt,
|
|
21641
21641
|
errorsData: d
|
|
21642
21642
|
};
|
|
@@ -21645,9 +21645,9 @@ const ZI = 16, KI = 99, V_ = (t, e) => {
|
|
|
21645
21645
|
components: {
|
|
21646
21646
|
LicensePlate: Qn,
|
|
21647
21647
|
AddressHandler: Ht,
|
|
21648
|
-
DefaultInput:
|
|
21648
|
+
DefaultInput: Ye,
|
|
21649
21649
|
DefaultSelect: Xe,
|
|
21650
|
-
SimpleCard:
|
|
21650
|
+
SimpleCard: $e,
|
|
21651
21651
|
BirthdateInput: dt,
|
|
21652
21652
|
ErrorHandler: ve
|
|
21653
21653
|
},
|
|
@@ -21712,12 +21712,12 @@ const ZI = 16, KI = 99, V_ = (t, e) => {
|
|
|
21712
21712
|
errorsData: m,
|
|
21713
21713
|
onLicenseInput: g,
|
|
21714
21714
|
onLicenseError: b,
|
|
21715
|
-
openQuotationModal:
|
|
21715
|
+
openQuotationModal: S,
|
|
21716
21716
|
validateBeforeSubmit: D
|
|
21717
21717
|
} = V_(t, e);
|
|
21718
21718
|
return {
|
|
21719
21719
|
licenseInformation: Un,
|
|
21720
|
-
userInformation:
|
|
21720
|
+
userInformation: w,
|
|
21721
21721
|
mopedState: Tt,
|
|
21722
21722
|
hasNewDesign: G,
|
|
21723
21723
|
HouseInformation: r,
|
|
@@ -21738,7 +21738,7 @@ const ZI = 16, KI = 99, V_ = (t, e) => {
|
|
|
21738
21738
|
errorsData: m,
|
|
21739
21739
|
onLicenseInput: g,
|
|
21740
21740
|
onLicenseError: b,
|
|
21741
|
-
openQuotationModal:
|
|
21741
|
+
openQuotationModal: S,
|
|
21742
21742
|
validateBeforeSubmit: D
|
|
21743
21743
|
};
|
|
21744
21744
|
}
|
|
@@ -21780,7 +21780,7 @@ const QI = Y_.exports, ej = j({
|
|
|
21780
21780
|
components: {
|
|
21781
21781
|
LicensePlate: Qn,
|
|
21782
21782
|
AddressHandler: Ht,
|
|
21783
|
-
DefaultInput:
|
|
21783
|
+
DefaultInput: Ye,
|
|
21784
21784
|
DefaultSelect: Xe,
|
|
21785
21785
|
BirthdateInput: dt,
|
|
21786
21786
|
ErrorHandler: ve
|
|
@@ -21846,13 +21846,13 @@ const QI = Y_.exports, ej = j({
|
|
|
21846
21846
|
errorsData: m,
|
|
21847
21847
|
onLicenseInput: g,
|
|
21848
21848
|
onLicenseError: b,
|
|
21849
|
-
openQuotationModal:
|
|
21849
|
+
openQuotationModal: S,
|
|
21850
21850
|
validateBeforeSubmit: D
|
|
21851
21851
|
} = V_(t, e);
|
|
21852
21852
|
return {
|
|
21853
21853
|
licenseInformation: Un,
|
|
21854
21854
|
hasNewDesign: G,
|
|
21855
|
-
userInformation:
|
|
21855
|
+
userInformation: w,
|
|
21856
21856
|
mopedState: Tt,
|
|
21857
21857
|
HouseInformation: r,
|
|
21858
21858
|
vehicle: n,
|
|
@@ -21872,7 +21872,7 @@ const QI = Y_.exports, ej = j({
|
|
|
21872
21872
|
errorsData: m,
|
|
21873
21873
|
onLicenseInput: g,
|
|
21874
21874
|
onLicenseError: b,
|
|
21875
|
-
openQuotationModal:
|
|
21875
|
+
openQuotationModal: S,
|
|
21876
21876
|
validateBeforeSubmit: D
|
|
21877
21877
|
};
|
|
21878
21878
|
}
|
|
@@ -21965,7 +21965,7 @@ const rj = q_.exports, xf = (t, e) => {
|
|
|
21965
21965
|
}
|
|
21966
21966
|
});
|
|
21967
21967
|
}
|
|
21968
|
-
return
|
|
21968
|
+
return Ee(() => {
|
|
21969
21969
|
var f, p, v, y, m;
|
|
21970
21970
|
ge.sex = ((f = t.insuranceState) == null ? void 0 : f.sex) || ge.sex, ge.age = +((p = t.insuranceState) == null ? void 0 : p.age) || ge.age, ge.postcode = ((v = t.insuranceState) == null ? void 0 : v.postcode) || ge.postcode, ge.kind = ((y = t.insuranceState) == null ? void 0 : y.kind) || ge.kind, ge.breed = +((m = t.insuranceState) == null ? void 0 : m.breed) || ge.breed, t.isOnResultPage || Yt.removeSessionState("pet-storage", "pet-path");
|
|
21971
21971
|
}), {
|
|
@@ -21999,7 +21999,7 @@ const rj = q_.exports, xf = (t, e) => {
|
|
|
21999
21999
|
], nj = j({
|
|
22000
22000
|
name: "ZipcodeInput",
|
|
22001
22001
|
components: {
|
|
22002
|
-
DefaultInput:
|
|
22002
|
+
DefaultInput: Ye
|
|
22003
22003
|
},
|
|
22004
22004
|
props: {
|
|
22005
22005
|
id: {
|
|
@@ -22023,7 +22023,7 @@ const rj = q_.exports, xf = (t, e) => {
|
|
|
22023
22023
|
emits: ["input", "change"],
|
|
22024
22024
|
setup(t, { emit: e }) {
|
|
22025
22025
|
return {
|
|
22026
|
-
errors:
|
|
22026
|
+
errors: le,
|
|
22027
22027
|
hasNewDesign: G,
|
|
22028
22028
|
handleChange: (a) => {
|
|
22029
22029
|
e("change", a.toUpperCase());
|
|
@@ -22053,7 +22053,7 @@ G_.options.__file = "/Users/mac/Work/comparison-forms/src/components/common/inpu
|
|
|
22053
22053
|
const Au = G_.exports, ij = j({
|
|
22054
22054
|
name: "SearchableSelect",
|
|
22055
22055
|
components: {
|
|
22056
|
-
DefaultInput:
|
|
22056
|
+
DefaultInput: Ye
|
|
22057
22057
|
},
|
|
22058
22058
|
props: {
|
|
22059
22059
|
label: {
|
|
@@ -22096,9 +22096,9 @@ const Au = G_.exports, ij = j({
|
|
|
22096
22096
|
c.value = "bottom", un(() => {
|
|
22097
22097
|
var b;
|
|
22098
22098
|
if (l) {
|
|
22099
|
-
const
|
|
22099
|
+
const S = window.innerHeight, D = (b = i.proxy.$el.querySelector("#search-select-options")) == null ? void 0 : b.getBoundingClientRect();
|
|
22100
22100
|
if (D) {
|
|
22101
|
-
const L =
|
|
22101
|
+
const L = S - (D.height + D.top);
|
|
22102
22102
|
c.value = Math.sign(L) === -1 ? "top" : "bottom";
|
|
22103
22103
|
}
|
|
22104
22104
|
}
|
|
@@ -22107,8 +22107,8 @@ const Au = G_.exports, ij = j({
|
|
|
22107
22107
|
o.value = "", e("input", null), un(() => {
|
|
22108
22108
|
l.value && (l.value.focus(), u.value = !0);
|
|
22109
22109
|
});
|
|
22110
|
-
}, v = (b,
|
|
22111
|
-
e("input", b), e("set-breed", b), o.value =
|
|
22110
|
+
}, v = (b, S) => {
|
|
22111
|
+
e("input", b), e("set-breed", b), o.value = S, l.value && l.value.focus(), m();
|
|
22112
22112
|
}, y = (b) => {
|
|
22113
22113
|
b.target.focus(), u.value = !0, c.value = "bottom", un(() => {
|
|
22114
22114
|
f();
|
|
@@ -22120,7 +22120,7 @@ const Au = G_.exports, ij = j({
|
|
|
22120
22120
|
};
|
|
22121
22121
|
return V0(() => {
|
|
22122
22122
|
l.value && l.value.removeEventListener("focus", y), Nr().proxy.$root.$el.removeEventListener("click", g);
|
|
22123
|
-
}),
|
|
22123
|
+
}), Ee(() => {
|
|
22124
22124
|
l.value && l.value.addEventListener("focus", y), Nr().proxy.$root.$el.addEventListener("click", g), h();
|
|
22125
22125
|
}), {
|
|
22126
22126
|
hasNewDesign: G,
|
|
@@ -22187,10 +22187,10 @@ const X_ = K_.exports, sj = j({
|
|
|
22187
22187
|
setBreedId: c,
|
|
22188
22188
|
getRaceLists: l
|
|
22189
22189
|
} = xf(t, e);
|
|
22190
|
-
return
|
|
22190
|
+
return Ee(() => F(this, null, function* () {
|
|
22191
22191
|
yield l();
|
|
22192
22192
|
})), {
|
|
22193
|
-
errors:
|
|
22193
|
+
errors: le,
|
|
22194
22194
|
hasNewDesign: G,
|
|
22195
22195
|
petState: ge,
|
|
22196
22196
|
petForm: r,
|
|
@@ -25480,7 +25480,7 @@ var uL = {
|
|
|
25480
25480
|
const cL = j({
|
|
25481
25481
|
name: "PetForm",
|
|
25482
25482
|
components: {
|
|
25483
|
-
SimpleCard:
|
|
25483
|
+
SimpleCard: $e,
|
|
25484
25484
|
DefaultSelect: Xe,
|
|
25485
25485
|
ZipcodeInput: Au,
|
|
25486
25486
|
ErrorHandler: ve,
|
|
@@ -25533,7 +25533,7 @@ const cL = j({
|
|
|
25533
25533
|
petState: ge,
|
|
25534
25534
|
petKinds: U_,
|
|
25535
25535
|
petGenders: z_,
|
|
25536
|
-
errors:
|
|
25536
|
+
errors: le,
|
|
25537
25537
|
hasNewDesign: G,
|
|
25538
25538
|
isITCInitialized: ds,
|
|
25539
25539
|
petForm: r,
|
|
@@ -25579,7 +25579,7 @@ Wb.options.__file = "/Users/mac/Work/comparison-forms/src/insurances/pet/compone
|
|
|
25579
25579
|
const fL = Wb.exports, hL = j({
|
|
25580
25580
|
name: "PetFormHorizontal",
|
|
25581
25581
|
components: {
|
|
25582
|
-
SimpleCard:
|
|
25582
|
+
SimpleCard: $e,
|
|
25583
25583
|
DefaultSelect: Xe,
|
|
25584
25584
|
ZipcodeInput: Au,
|
|
25585
25585
|
SearchableSelect: X_,
|
|
@@ -25630,7 +25630,7 @@ const fL = Wb.exports, hL = j({
|
|
|
25630
25630
|
petState: ge,
|
|
25631
25631
|
petKinds: U_,
|
|
25632
25632
|
petGenders: z_,
|
|
25633
|
-
errors:
|
|
25633
|
+
errors: le,
|
|
25634
25634
|
hasNewDesign: G,
|
|
25635
25635
|
petForm: r,
|
|
25636
25636
|
genderError: n,
|
|
@@ -25701,7 +25701,7 @@ const mL = Zb.exports, Kb = (t, e) => {
|
|
|
25701
25701
|
const h = At();
|
|
25702
25702
|
l(ha, h);
|
|
25703
25703
|
}
|
|
25704
|
-
return
|
|
25704
|
+
return Ee(() => {
|
|
25705
25705
|
t.isOnResultPage ? l(ha, t.insuranceState) : (d(), Yt.removeSessionState("bike-storage", "bike-path"));
|
|
25706
25706
|
}), {
|
|
25707
25707
|
conditionError: n,
|
|
@@ -25785,9 +25785,9 @@ const mL = Zb.exports, Kb = (t, e) => {
|
|
|
25785
25785
|
], vL = j({
|
|
25786
25786
|
name: "BikeForm",
|
|
25787
25787
|
components: {
|
|
25788
|
-
SimpleCard:
|
|
25788
|
+
SimpleCard: $e,
|
|
25789
25789
|
DefaultSelect: Xe,
|
|
25790
|
-
DefaultInput:
|
|
25790
|
+
DefaultInput: Ye,
|
|
25791
25791
|
ZipcodeInput: Au,
|
|
25792
25792
|
BirthdateInput: dt,
|
|
25793
25793
|
ErrorHandler: ve,
|
|
@@ -25834,7 +25834,7 @@ const mL = Zb.exports, Kb = (t, e) => {
|
|
|
25834
25834
|
bikeState: ha,
|
|
25835
25835
|
bikeKinds: Xb,
|
|
25836
25836
|
bikeConditions: Jb,
|
|
25837
|
-
errors:
|
|
25837
|
+
errors: le,
|
|
25838
25838
|
hasNewDesign: G,
|
|
25839
25839
|
conditionError: r,
|
|
25840
25840
|
maxPriceLength: n,
|
|
@@ -25877,9 +25877,9 @@ ew.options.__file = "/Users/mac/Work/comparison-forms/src/insurances/bike/compon
|
|
|
25877
25877
|
const yL = ew.exports, _L = j({
|
|
25878
25878
|
name: "BikeFormHorizontal",
|
|
25879
25879
|
components: {
|
|
25880
|
-
SimpleCard:
|
|
25880
|
+
SimpleCard: $e,
|
|
25881
25881
|
DefaultSelect: Xe,
|
|
25882
|
-
DefaultInput:
|
|
25882
|
+
DefaultInput: Ye,
|
|
25883
25883
|
ZipcodeInput: Au,
|
|
25884
25884
|
BirthdateInput: dt,
|
|
25885
25885
|
ErrorHandler: ve,
|
|
@@ -25926,7 +25926,7 @@ const yL = ew.exports, _L = j({
|
|
|
25926
25926
|
bikeState: ha,
|
|
25927
25927
|
bikeKinds: Xb,
|
|
25928
25928
|
bikeConditions: Jb,
|
|
25929
|
-
errors:
|
|
25929
|
+
errors: le,
|
|
25930
25930
|
hasNewDesign: G,
|
|
25931
25931
|
conditionError: r,
|
|
25932
25932
|
maxPriceLength: n,
|
|
@@ -25995,7 +25995,7 @@ const nw = (t, e) => {
|
|
|
25995
25995
|
}), u = () => F(void 0, null, function* () {
|
|
25996
25996
|
try {
|
|
25997
25997
|
const s = _e.comparisonService, d = new te.User({});
|
|
25998
|
-
d.setBirthDate(
|
|
25998
|
+
d.setBirthDate(w.birthdate), d.setFamilyComposition(w.familyComposition), d.setDetail(null, {}), d.setDetail(
|
|
25999
25999
|
"comparison",
|
|
26000
26000
|
{
|
|
26001
26001
|
Partner: {
|
|
@@ -26044,7 +26044,7 @@ const nw = (t, e) => {
|
|
|
26044
26044
|
}
|
|
26045
26045
|
);
|
|
26046
26046
|
const h = yield s.create("travel", d);
|
|
26047
|
-
Ll.value = h.getId(), Vl.value = `${t.link}#/${Ll.value}/gezinsleden/`,
|
|
26047
|
+
Ll.value = h.getId(), Vl.value = `${t.link}#/${Ll.value}/gezinsleden/`, w.familyComposition === Ty.SingleWithoutChildren && dr.paymentTerm === "L" && (Vl.value = `${t.link}#/${Ll.value}/resultaten/`), e("redirect-page", { link: Vl.value }), Fl.value = !1;
|
|
26048
26048
|
} catch (s) {
|
|
26049
26049
|
Il.value = "errorHeader", km.value = "errorText", jl.value = "incorrect", c();
|
|
26050
26050
|
}
|
|
@@ -26062,16 +26062,16 @@ const nw = (t, e) => {
|
|
|
26062
26062
|
(yield ot([
|
|
26063
26063
|
"birthdate",
|
|
26064
26064
|
"familyComposition"
|
|
26065
|
-
])) && (Fl.value || (t.status === Mn.isBeforeFlow ? yield u() : e("submit-form", { userInformation:
|
|
26065
|
+
])) && (Fl.value || (t.status === Mn.isBeforeFlow ? yield u() : e("submit-form", { userInformation: w, travelState: Xf(Dt({}, dr), { isPaymentTermChanged: Yl.value, isFamilyCompositionChanged: Bl.value }) }), Yl.value = !1, Bl.value = !1));
|
|
26066
26066
|
});
|
|
26067
|
-
return gn(() =>
|
|
26068
|
-
t.status !== Mn.isBeforeFlow &&
|
|
26067
|
+
return gn(() => w.familyComposition, (s) => {
|
|
26068
|
+
t.status !== Mn.isBeforeFlow && w.familyComposition !== t.userInformation.familyComposition && (Bl.value = !0);
|
|
26069
26069
|
}), gn(() => dr.paymentTerm, (s) => {
|
|
26070
26070
|
t.status !== Mn.isBeforeFlow && dr.paymentTerm !== t.insuranceState.paymentTerm && (Yl.value = !0);
|
|
26071
|
-
}),
|
|
26072
|
-
(t.status === Mn.isOnResultPage || t.status === Mn.isOnFamilyPage) && (dr.paymentTerm = t.insuranceState.paymentTerm,
|
|
26071
|
+
}), Ee(() => {
|
|
26072
|
+
(t.status === Mn.isOnResultPage || t.status === Mn.isOnFamilyPage) && (dr.paymentTerm = t.insuranceState.paymentTerm, w.birthdate = t.userInformation.birthdate, w.familyComposition = t.userInformation.familyComposition), (t.status !== Mn.isOnResultPage || t.status !== Mn.isOnFamilyPage) && Yt.removeSessionState("travel-storage", "travel-path");
|
|
26073
26073
|
}), {
|
|
26074
|
-
userInformation:
|
|
26074
|
+
userInformation: w,
|
|
26075
26075
|
travelState: dr,
|
|
26076
26076
|
buttonStyles: r,
|
|
26077
26077
|
validateBeforeSubmit: l
|
|
@@ -26223,7 +26223,7 @@ const Ha = sw.exports, uw = [
|
|
|
26223
26223
|
], PL = j({
|
|
26224
26224
|
name: "TravelForm",
|
|
26225
26225
|
components: {
|
|
26226
|
-
SimpleCard:
|
|
26226
|
+
SimpleCard: $e,
|
|
26227
26227
|
BirthdateInput: dt,
|
|
26228
26228
|
FamilyCompositionInput: Cn,
|
|
26229
26229
|
DefaultPlainRadioGroup: Ha,
|
|
@@ -26283,8 +26283,8 @@ const Ha = sw.exports, uw = [
|
|
|
26283
26283
|
} = nw(t, e);
|
|
26284
26284
|
return {
|
|
26285
26285
|
paymentTerms: uw,
|
|
26286
|
-
errors:
|
|
26287
|
-
userInformation:
|
|
26286
|
+
errors: le,
|
|
26287
|
+
userInformation: w,
|
|
26288
26288
|
travelState: dr,
|
|
26289
26289
|
hasNewDesign: G,
|
|
26290
26290
|
validateBeforeSubmit: r
|
|
@@ -26321,7 +26321,7 @@ cw.options.__file = "/Users/mac/Work/comparison-forms/src/insurances/travel/comp
|
|
|
26321
26321
|
const $L = cw.exports, TL = j({
|
|
26322
26322
|
name: "TravelFormHorizontal",
|
|
26323
26323
|
components: {
|
|
26324
|
-
SimpleCard:
|
|
26324
|
+
SimpleCard: $e,
|
|
26325
26325
|
BirthdateInput: dt,
|
|
26326
26326
|
FamilyCompositionInput: Cn,
|
|
26327
26327
|
DefaultPlainRadioGroup: Ha,
|
|
@@ -26376,8 +26376,8 @@ const $L = cw.exports, TL = j({
|
|
|
26376
26376
|
} = nw(t, e);
|
|
26377
26377
|
return {
|
|
26378
26378
|
paymentTerms: uw,
|
|
26379
|
-
errors:
|
|
26380
|
-
userInformation:
|
|
26379
|
+
errors: le,
|
|
26380
|
+
userInformation: w,
|
|
26381
26381
|
travelState: dr,
|
|
26382
26382
|
hasNewDesign: G,
|
|
26383
26383
|
validateBeforeSubmit: r
|
|
@@ -26438,10 +26438,10 @@ const hw = (t, e) => {
|
|
|
26438
26438
|
Divorce: !1
|
|
26439
26439
|
}
|
|
26440
26440
|
}
|
|
26441
|
-
), o.setZipCode(
|
|
26441
|
+
), o.setZipCode(w.zipcode), o.setHouseNumber(Number(w.houseNumber)), o.setHouseNumberAddition(w.houseNumberAddition), o.setBirthDate(w.birthdate), o.setFamilyComposition(w.familyComposition), yield i.create("package", o);
|
|
26442
26442
|
} catch (i) {
|
|
26443
26443
|
return si.value.push({
|
|
26444
|
-
text: `Postcode: ${
|
|
26444
|
+
text: `Postcode: ${w.zipcode} | Huisnummer: ${w.houseNumber} | Huisnummer toevoeging: ${w.houseNumberAddition} | Geboortedatum: ${w.birthdate} | Gezinsamenstelling: ${w.familyComposition}`
|
|
26445
26445
|
}), si.value = Eu(si.value), Cm.value = !0, r(), null;
|
|
26446
26446
|
}
|
|
26447
26447
|
}), a = () => F(void 0, null, function* () {
|
|
@@ -26453,18 +26453,18 @@ const hw = (t, e) => {
|
|
|
26453
26453
|
"birthdate",
|
|
26454
26454
|
"familyComposition"
|
|
26455
26455
|
];
|
|
26456
|
-
if (
|
|
26456
|
+
if (w.familyComposition === "K" && i.push("familySize"), (yield ot(i)) && !Pm.value && !Hl.value)
|
|
26457
26457
|
if (t.isOnResultPage)
|
|
26458
|
-
e("submit-form", { userInformation:
|
|
26458
|
+
e("submit-form", { userInformation: w, legalState: Er });
|
|
26459
26459
|
else {
|
|
26460
26460
|
const u = yield n();
|
|
26461
26461
|
u && e("redirect-page", { link: `${t.link}#/${u.getId()}/resultaten/` });
|
|
26462
26462
|
}
|
|
26463
26463
|
});
|
|
26464
|
-
return
|
|
26465
|
-
t.isOnResultPage && (Er.ownedBuilding = t.insuranceState.OwnedBuilding, Er.familySize = t.insuranceState.FamilySize,
|
|
26464
|
+
return Ee(() => {
|
|
26465
|
+
t.isOnResultPage && (Er.ownedBuilding = t.insuranceState.OwnedBuilding, Er.familySize = t.insuranceState.FamilySize, w.birthdate = t.userInformation.birthdate, w.zipcode = t.userInformation.zipCode, w.houseNumber = String(t.userInformation.houseNumber), w.houseNumberAddition = t.userInformation.houseNumberAddition, w.familyComposition = t.userInformation.familyComposition), t.isOnResultPage || Yt.removeSessionState("legal-assistance-storage", "legal-assistance-path");
|
|
26466
26466
|
}), {
|
|
26467
|
-
userInformation:
|
|
26467
|
+
userInformation: w,
|
|
26468
26468
|
legalState: Er,
|
|
26469
26469
|
houseError: Pm,
|
|
26470
26470
|
hasComparisonCreationError: Cm,
|
|
@@ -26486,9 +26486,9 @@ const hw = (t, e) => {
|
|
|
26486
26486
|
name: "LegalAssistanceForm",
|
|
26487
26487
|
components: {
|
|
26488
26488
|
AddressHandler: Ht,
|
|
26489
|
-
DefaultInput:
|
|
26489
|
+
DefaultInput: Ye,
|
|
26490
26490
|
DefaultSelect: Xe,
|
|
26491
|
-
SimpleCard:
|
|
26491
|
+
SimpleCard: $e,
|
|
26492
26492
|
BirthdateInput: dt,
|
|
26493
26493
|
FamilyCompositionInput: Cn,
|
|
26494
26494
|
ErrorHandler: ve,
|
|
@@ -26536,9 +26536,9 @@ const hw = (t, e) => {
|
|
|
26536
26536
|
validateBeforeSubmit: u
|
|
26537
26537
|
} = hw(t, e);
|
|
26538
26538
|
return {
|
|
26539
|
-
userInformation:
|
|
26539
|
+
userInformation: w,
|
|
26540
26540
|
legalState: Er,
|
|
26541
|
-
errors:
|
|
26541
|
+
errors: le,
|
|
26542
26542
|
HouseOwnedBuildingOptions: D_,
|
|
26543
26543
|
FamilySizeOptions: pw,
|
|
26544
26544
|
hasNewDesign: G,
|
|
@@ -26579,8 +26579,8 @@ const NL = vw.exports, IL = j({
|
|
|
26579
26579
|
name: "LegalAssistanceFormHorizontal",
|
|
26580
26580
|
components: {
|
|
26581
26581
|
AddressHandler: Ht,
|
|
26582
|
-
DefaultInput:
|
|
26583
|
-
SimpleCard:
|
|
26582
|
+
DefaultInput: Ye,
|
|
26583
|
+
SimpleCard: $e,
|
|
26584
26584
|
BirthdateInput: dt,
|
|
26585
26585
|
FamilyCompositionInput: Cn,
|
|
26586
26586
|
ErrorHandler: ve,
|
|
@@ -26628,9 +26628,9 @@ const NL = vw.exports, IL = j({
|
|
|
26628
26628
|
validateBeforeSubmit: u
|
|
26629
26629
|
} = hw(t, e);
|
|
26630
26630
|
return {
|
|
26631
|
-
userInformation:
|
|
26631
|
+
userInformation: w,
|
|
26632
26632
|
legalState: Er,
|
|
26633
|
-
errors:
|
|
26633
|
+
errors: le,
|
|
26634
26634
|
HouseOwnedBuildingOptions: D_,
|
|
26635
26635
|
FamilySizeOptions: pw,
|
|
26636
26636
|
hasNewDesign: G,
|
|
@@ -26685,7 +26685,7 @@ const FL = yw.exports, _w = (t, e) => {
|
|
|
26685
26685
|
return F(this, null, function* () {
|
|
26686
26686
|
try {
|
|
26687
26687
|
const f = new te.User({});
|
|
26688
|
-
f.setDetail(null, {}), f.setZipCode(
|
|
26688
|
+
f.setDetail(null, {}), f.setZipCode(w.zipcode), f.setHouseNumber(Number(w.houseNumber)), f.setHouseNumberAddition(w.houseNumberAddition), f.setFamilyComposition(w.familyComposition), f.setBirthDate(w.birthdate), f.setDetail("liability", {
|
|
26689
26689
|
Amount: 125e4,
|
|
26690
26690
|
Deductables: 100
|
|
26691
26691
|
});
|
|
@@ -26693,7 +26693,7 @@ const FL = yw.exports, _w = (t, e) => {
|
|
|
26693
26693
|
return yield p.update(v), v;
|
|
26694
26694
|
} catch (f) {
|
|
26695
26695
|
i.push({
|
|
26696
|
-
text: `Postcode: ${
|
|
26696
|
+
text: `Postcode: ${w.zipcode} | Huisnummer: ${w.houseNumber} | Huisnummer toevoeging: ${w.houseNumberAddition} | Geboortedatum: ${w.birthdate} | Gezinssamenstelling: ${w.familyComposition}`
|
|
26697
26697
|
}), i = Eu(i), s();
|
|
26698
26698
|
}
|
|
26699
26699
|
});
|
|
@@ -26709,7 +26709,7 @@ const FL = yw.exports, _w = (t, e) => {
|
|
|
26709
26709
|
"familyComposition"
|
|
26710
26710
|
])) && !u.value)
|
|
26711
26711
|
if (t.isOnResultPage)
|
|
26712
|
-
e("submit-form", { userInformation:
|
|
26712
|
+
e("submit-form", { userInformation: w });
|
|
26713
26713
|
else
|
|
26714
26714
|
try {
|
|
26715
26715
|
const v = yield d();
|
|
@@ -26719,8 +26719,8 @@ const FL = yw.exports, _w = (t, e) => {
|
|
|
26719
26719
|
}
|
|
26720
26720
|
});
|
|
26721
26721
|
}
|
|
26722
|
-
return
|
|
26723
|
-
t.isOnResultPage ? (
|
|
26722
|
+
return Ee(() => {
|
|
26723
|
+
t.isOnResultPage ? (w.zipcode = t.userInformation.zipCode || "", w.houseNumber = t.userInformation.houseNumber || "", w.houseNumberAddition = t.userInformation.houseNumberAddition || "", w.birthdate = t.userInformation.birthdate || "", w.familyComposition = t.userInformation.familyComposition || "") : Yt.removeSessionState("liability-path", "liability-storage"), c.value = !0;
|
|
26724
26724
|
}), {
|
|
26725
26725
|
familyCompositionModel: Cf,
|
|
26726
26726
|
isReady: c,
|
|
@@ -26733,9 +26733,9 @@ const FL = yw.exports, _w = (t, e) => {
|
|
|
26733
26733
|
components: {
|
|
26734
26734
|
ErrorHandler: ve,
|
|
26735
26735
|
BirthdateInput: dt,
|
|
26736
|
-
SimpleCard:
|
|
26736
|
+
SimpleCard: $e,
|
|
26737
26737
|
AddressHandler: Ht,
|
|
26738
|
-
DefaultInput:
|
|
26738
|
+
DefaultInput: Ye,
|
|
26739
26739
|
DefaultSelect: Xe,
|
|
26740
26740
|
FamilyCompositionInput: Cn
|
|
26741
26741
|
},
|
|
@@ -26780,7 +26780,7 @@ const FL = yw.exports, _w = (t, e) => {
|
|
|
26780
26780
|
validateBeforeSubmit: o
|
|
26781
26781
|
} = _w(t, e);
|
|
26782
26782
|
return {
|
|
26783
|
-
userInformation:
|
|
26783
|
+
userInformation: w,
|
|
26784
26784
|
hasNewDesign: G,
|
|
26785
26785
|
isReady: r,
|
|
26786
26786
|
houseError: n,
|
|
@@ -26815,9 +26815,9 @@ const BL = ww.exports, YL = j({
|
|
|
26815
26815
|
components: {
|
|
26816
26816
|
ErrorHandler: ve,
|
|
26817
26817
|
BirthdateInput: dt,
|
|
26818
|
-
SimpleCard:
|
|
26818
|
+
SimpleCard: $e,
|
|
26819
26819
|
AddressHandler: Ht,
|
|
26820
|
-
DefaultInput:
|
|
26820
|
+
DefaultInput: Ye,
|
|
26821
26821
|
DefaultSelect: Xe,
|
|
26822
26822
|
FamilyCompositionInput: Cn
|
|
26823
26823
|
},
|
|
@@ -26862,7 +26862,7 @@ const BL = ww.exports, YL = j({
|
|
|
26862
26862
|
validateBeforeSubmit: o
|
|
26863
26863
|
} = _w(t, e);
|
|
26864
26864
|
return {
|
|
26865
|
-
userInformation:
|
|
26865
|
+
userInformation: w,
|
|
26866
26866
|
hasNewDesign: G,
|
|
26867
26867
|
isReady: r,
|
|
26868
26868
|
houseError: n,
|
|
@@ -26947,13 +26947,13 @@ const qL = Ow.exports, UL = [
|
|
|
26947
26947
|
];
|
|
26948
26948
|
if (t.isOnResultPage && Gt.houseType && o.push("houseKind"), (yield ot(o)) && !n.value && !a.value)
|
|
26949
26949
|
if (t.isOnResultPage)
|
|
26950
|
-
e("submit-form", { userInformation:
|
|
26950
|
+
e("submit-form", { userInformation: w, houseState: Gt });
|
|
26951
26951
|
else {
|
|
26952
26952
|
const c = {
|
|
26953
|
-
zipcode:
|
|
26954
|
-
houseNumber:
|
|
26955
|
-
houseNumberAddition:
|
|
26956
|
-
familyComposition:
|
|
26953
|
+
zipcode: w.zipcode,
|
|
26954
|
+
houseNumber: w.houseNumber,
|
|
26955
|
+
houseNumberAddition: w.houseNumberAddition,
|
|
26956
|
+
familyComposition: w.familyComposition,
|
|
26957
26957
|
ownedBuilding: Gt.ownedBuilding,
|
|
26958
26958
|
houseType: Gt.houseType
|
|
26959
26959
|
};
|
|
@@ -26961,8 +26961,8 @@ const qL = Ow.exports, UL = [
|
|
|
26961
26961
|
}
|
|
26962
26962
|
});
|
|
26963
26963
|
}
|
|
26964
|
-
return
|
|
26965
|
-
t.isOnResultPage ? (
|
|
26964
|
+
return Ee(() => {
|
|
26965
|
+
t.isOnResultPage ? (w.zipcode = t.userInformation.zipCode || At().zipcode || w.zipcode, w.houseNumber = t.userInformation.houseNumber || At().houseNumber || w.houseNumber, w.houseNumberAddition = t.userInformation.houseNumberAddition || At().houseNumberAddition || w.houseNumberAddition, w.familyComposition = t.userInformation.familyComposition || At().familyComposition || w.familyComposition, Gt.houseType = t.insuranceState.HouseType || Gt.houseType, Gt.ownedBuilding = t.insuranceState.OwnedBuilding || At().ownedBuilding || Gt.ownedBuilding) : Yt.removeSessionState("housing-path", "housing-storage");
|
|
26966
26966
|
}), {
|
|
26967
26967
|
houseTypes: UL,
|
|
26968
26968
|
houseOwnedBuilding: zL,
|
|
@@ -26976,7 +26976,7 @@ const qL = Ow.exports, UL = [
|
|
|
26976
26976
|
name: "HouseForm",
|
|
26977
26977
|
components: {
|
|
26978
26978
|
ErrorHandler: ve,
|
|
26979
|
-
SimpleCard:
|
|
26979
|
+
SimpleCard: $e,
|
|
26980
26980
|
AddressHandler: Ht,
|
|
26981
26981
|
DefaultPlainRadioGroup: Ha,
|
|
26982
26982
|
DefaultSelect: Xe,
|
|
@@ -27025,7 +27025,7 @@ const qL = Ow.exports, UL = [
|
|
|
27025
27025
|
validateBeforeSubmit: c
|
|
27026
27026
|
} = kw(t, e);
|
|
27027
27027
|
return {
|
|
27028
|
-
userState:
|
|
27028
|
+
userState: w,
|
|
27029
27029
|
houseState: Gt,
|
|
27030
27030
|
hasNewDesign: G,
|
|
27031
27031
|
houseFormRef: r,
|
|
@@ -27068,7 +27068,7 @@ const ZL = xw.exports, KL = j({
|
|
|
27068
27068
|
name: "HouseFormHorizontal",
|
|
27069
27069
|
components: {
|
|
27070
27070
|
ErrorHandler: ve,
|
|
27071
|
-
SimpleCard:
|
|
27071
|
+
SimpleCard: $e,
|
|
27072
27072
|
AddressHandler: Ht,
|
|
27073
27073
|
DefaultPlainRadioGroup: Ha,
|
|
27074
27074
|
DefaultSelect: Xe,
|
|
@@ -27117,7 +27117,7 @@ const ZL = xw.exports, KL = j({
|
|
|
27117
27117
|
validateBeforeSubmit: c
|
|
27118
27118
|
} = kw(t, e);
|
|
27119
27119
|
return {
|
|
27120
|
-
userState:
|
|
27120
|
+
userState: w,
|
|
27121
27121
|
houseState: Gt,
|
|
27122
27122
|
hasNewDesign: G,
|
|
27123
27123
|
houseFormRef: r,
|
|
@@ -27153,53 +27153,50 @@ var Dw = /* @__PURE__ */ I(
|
|
|
27153
27153
|
);
|
|
27154
27154
|
Dw.options.__file = "/Users/mac/Work/comparison-forms/src/insurances/house/components/forms/HouseFormHorizontal.vue";
|
|
27155
27155
|
const JL = Dw.exports, QL = (t, e) => {
|
|
27156
|
-
const r = O(""), n = O(""), a = O(""), i = O(!1), o = O([]), u =
|
|
27156
|
+
const r = O(""), n = O(""), a = O(""), i = O(!1), o = O([]), u = [
|
|
27157
27157
|
{ rule: "required", text: "Vul je mobiele telefoonnummer in" },
|
|
27158
27158
|
{ rule: "regex", text: "Je mobiele telefoonnummer is incorrect" }
|
|
27159
|
-
],
|
|
27160
|
-
function
|
|
27159
|
+
], c = O([]), l = O(""), s = "https://mijn.vergelijkdirect.com/docs/VOORWAARDEN-MV.pdf", d = "https://vergelijkdirect.com/";
|
|
27160
|
+
function h() {
|
|
27161
27161
|
e("emit-event-hub", {
|
|
27162
27162
|
event: "open-quotation-modal",
|
|
27163
27163
|
data: {
|
|
27164
|
-
refId:
|
|
27165
|
-
notes:
|
|
27164
|
+
refId: l.value,
|
|
27165
|
+
notes: c.value
|
|
27166
27166
|
}
|
|
27167
27167
|
});
|
|
27168
27168
|
}
|
|
27169
|
-
function
|
|
27169
|
+
function f() {
|
|
27170
27170
|
return F(this, null, function* () {
|
|
27171
27171
|
try {
|
|
27172
|
-
const
|
|
27173
|
-
return
|
|
27174
|
-
} catch (
|
|
27175
|
-
|
|
27172
|
+
const v = new te.User({});
|
|
27173
|
+
return v.setDetail(null, {}), v.setName(r.value), v.setEmail(a.value), v.setDetail("phoneNumber", n.value), v.setDetail("insurances", o.value), yield _e.comparisonService.create("package", v);
|
|
27174
|
+
} catch (v) {
|
|
27175
|
+
c.value.push({
|
|
27176
27176
|
text: `Voornaam: ${r.value} | Mobiele telefoonnummer: ${n.value} | E-mailadres: ${a.value}`
|
|
27177
|
-
}),
|
|
27177
|
+
}), c.value = Eu(c.value), h();
|
|
27178
27178
|
}
|
|
27179
27179
|
});
|
|
27180
27180
|
}
|
|
27181
|
-
function
|
|
27181
|
+
function p() {
|
|
27182
27182
|
return F(this, null, function* () {
|
|
27183
|
-
var
|
|
27184
|
-
if (
|
|
27183
|
+
var y;
|
|
27184
|
+
if (yield ot([
|
|
27185
27185
|
"comparisons",
|
|
27186
27186
|
"firstName",
|
|
27187
27187
|
"phoneNumber",
|
|
27188
27188
|
"email",
|
|
27189
27189
|
"agreement"
|
|
27190
|
-
]))
|
|
27190
|
+
]))
|
|
27191
27191
|
try {
|
|
27192
|
-
const
|
|
27193
|
-
|
|
27194
|
-
} catch (
|
|
27195
|
-
|
|
27192
|
+
const g = (y = (yield f()).getId()) != null ? y : "";
|
|
27193
|
+
g ? e("redirect-page", { link: `${t.link}#/${g}` }) : h();
|
|
27194
|
+
} catch (m) {
|
|
27195
|
+
h();
|
|
27196
27196
|
}
|
|
27197
27197
|
});
|
|
27198
27198
|
}
|
|
27199
|
-
|
|
27200
|
-
u.value = m;
|
|
27201
|
-
}
|
|
27202
|
-
return De(() => {
|
|
27199
|
+
return Ee(() => {
|
|
27203
27200
|
Yt.removeSessionState("package-path", "package-storage");
|
|
27204
27201
|
}), {
|
|
27205
27202
|
firstName: r,
|
|
@@ -27207,15 +27204,15 @@ const JL = Dw.exports, QL = (t, e) => {
|
|
|
27207
27204
|
email: a,
|
|
27208
27205
|
agreement: i,
|
|
27209
27206
|
selectedComparisons: o,
|
|
27210
|
-
phoneNumberErrors:
|
|
27211
|
-
conditionsLink:
|
|
27212
|
-
siteLink:
|
|
27213
|
-
|
|
27214
|
-
validateBeforeSubmit: v
|
|
27207
|
+
phoneNumberErrors: u,
|
|
27208
|
+
conditionsLink: s,
|
|
27209
|
+
siteLink: d,
|
|
27210
|
+
validateBeforeSubmit: p
|
|
27215
27211
|
};
|
|
27216
27212
|
}, eV = j({
|
|
27217
27213
|
name: "EmailInput",
|
|
27218
27214
|
components: {
|
|
27215
|
+
DefaultInput: Ye,
|
|
27219
27216
|
ErrorHandler: ve
|
|
27220
27217
|
},
|
|
27221
27218
|
props: {
|
|
@@ -27226,34 +27223,10 @@ const JL = Dw.exports, QL = (t, e) => {
|
|
|
27226
27223
|
name: {
|
|
27227
27224
|
type: String,
|
|
27228
27225
|
required: !0
|
|
27229
|
-
},
|
|
27230
|
-
value: {
|
|
27231
|
-
type: String,
|
|
27232
|
-
required: !0
|
|
27233
|
-
},
|
|
27234
|
-
label: {
|
|
27235
|
-
type: String,
|
|
27236
|
-
required: !1,
|
|
27237
|
-
default: ""
|
|
27238
|
-
},
|
|
27239
|
-
placeholder: {
|
|
27240
|
-
type: String,
|
|
27241
|
-
required: !1,
|
|
27242
|
-
default: ""
|
|
27243
|
-
},
|
|
27244
|
-
validation: {
|
|
27245
|
-
required: !1,
|
|
27246
|
-
default: "required"
|
|
27247
|
-
},
|
|
27248
|
-
isRequired: {
|
|
27249
|
-
type: Boolean,
|
|
27250
|
-
required: !1,
|
|
27251
|
-
default: !1
|
|
27252
27226
|
}
|
|
27253
27227
|
},
|
|
27254
|
-
|
|
27255
|
-
|
|
27256
|
-
const r = U(() => [
|
|
27228
|
+
setup(t, { attrs: e, listeners: r, emit: n }) {
|
|
27229
|
+
const a = U(() => [
|
|
27257
27230
|
{
|
|
27258
27231
|
rule: "required",
|
|
27259
27232
|
text: "E-mailadres is verplicht"
|
|
@@ -27266,40 +27239,21 @@ const JL = Dw.exports, QL = (t, e) => {
|
|
|
27266
27239
|
rule: "emailServerValidation",
|
|
27267
27240
|
text: "E-mailadres is incorrect"
|
|
27268
27241
|
}
|
|
27269
|
-
])
|
|
27270
|
-
|
|
27271
|
-
|
|
27272
|
-
|
|
27273
|
-
|
|
27274
|
-
|
|
27275
|
-
|
|
27276
|
-
});
|
|
27277
|
-
}, o = () => {
|
|
27278
|
-
const u = ue.fields.find({ name: t.name });
|
|
27279
|
-
if (u)
|
|
27280
|
-
u.reset(), ue.errors.remove(u.name);
|
|
27281
|
-
else
|
|
27282
|
-
throw new Error("Undefined filed");
|
|
27283
|
-
};
|
|
27284
|
-
return De(() => {
|
|
27285
|
-
t.value && i();
|
|
27286
|
-
}), {
|
|
27287
|
-
errors: ce,
|
|
27288
|
-
emit: e,
|
|
27289
|
-
errorsData: r,
|
|
27290
|
-
focusEvent: n,
|
|
27291
|
-
blurEvent: a
|
|
27242
|
+
]);
|
|
27243
|
+
return {
|
|
27244
|
+
errors: le,
|
|
27245
|
+
emit: n,
|
|
27246
|
+
attrs: e,
|
|
27247
|
+
listeners: r,
|
|
27248
|
+
errorsData: a
|
|
27292
27249
|
};
|
|
27293
27250
|
}
|
|
27294
27251
|
});
|
|
27295
27252
|
var $w = function() {
|
|
27296
27253
|
var e = this, r = e._self._c;
|
|
27297
|
-
return e._self._setupProxy, r("
|
|
27298
|
-
"
|
|
27299
|
-
|
|
27300
|
-
} }, [r("input", { directives: [{ name: "validate", rawName: "v-validate", value: `${e.validation}|email|emailServerValidation`, expression: "`${validation}|email|emailServerValidation`" }], staticClass: "vd-form-group__input form-control", class: { "vd-form-group__input--error": e.errors.has(e.name) }, attrs: { id: e.id, placeholder: e.placeholder, name: e.name, type: "text", "data-vv-validate-on": "none" }, domProps: { value: e.value }, on: { input: function(n) {
|
|
27301
|
-
return e.emit("input", n.target.value);
|
|
27302
|
-
}, blur: e.blurEvent, focus: e.focusEvent } })]), r("ErrorHandler", { attrs: { name: "email", "errors-data": e.errorsData } })], 1);
|
|
27254
|
+
return e._self._setupProxy, r("DefaultInput", e._g(e._b({ attrs: { id: e.id, name: e.name, type: "text", placeholder: "example@gmail.com", label: "E-mailadres", validation: "required|email|emailServerValidation", "is-required": !0 }, scopedSlots: e._u([{ key: "error-messages", fn: function() {
|
|
27255
|
+
return [r("ErrorHandler", { attrs: { name: "email", "errors-data": e.errorsData } })];
|
|
27256
|
+
}, proxy: !0 }]) }, "DefaultInput", e.attrs, !1), e.listeners));
|
|
27303
27257
|
}, tV = [];
|
|
27304
27258
|
$w._withStripped = !0;
|
|
27305
27259
|
var Tw = /* @__PURE__ */ I(
|
|
@@ -27337,11 +27291,11 @@ const rV = Tw.exports, nV = j({
|
|
|
27337
27291
|
return t.value;
|
|
27338
27292
|
},
|
|
27339
27293
|
set(n) {
|
|
27340
|
-
t.validation &&
|
|
27294
|
+
t.validation && ce.validate(t.name, String(!t.value)), e("input", n);
|
|
27341
27295
|
}
|
|
27342
27296
|
});
|
|
27343
27297
|
return {
|
|
27344
|
-
errors:
|
|
27298
|
+
errors: le,
|
|
27345
27299
|
model: r
|
|
27346
27300
|
};
|
|
27347
27301
|
}
|
|
@@ -27753,10 +27707,10 @@ function Wu(t, e, r) {
|
|
|
27753
27707
|
if (k.endsWith(v, "{}"))
|
|
27754
27708
|
v = n ? v : v.slice(0, -2), p = JSON.stringify(p);
|
|
27755
27709
|
else if (k.isArray(p) && HV(p) || (k.isFileList(p) || k.endsWith(v, "[]")) && (m = k.toArray(p)))
|
|
27756
|
-
return v = zw(v), m.forEach(function(b,
|
|
27710
|
+
return v = zw(v), m.forEach(function(b, S) {
|
|
27757
27711
|
!(k.isUndefined(b) || b === null) && e.append(
|
|
27758
27712
|
// eslint-disable-next-line no-nested-ternary
|
|
27759
|
-
o === !0 ? Tm([v],
|
|
27713
|
+
o === !0 ? Tm([v], S, i) : o === null ? v : v + "[]",
|
|
27760
27714
|
l(b)
|
|
27761
27715
|
);
|
|
27762
27716
|
}), !1;
|
|
@@ -28858,26 +28812,26 @@ function r0(t) {
|
|
|
28858
28812
|
return r0(Ta(t, a));
|
|
28859
28813
|
}, r;
|
|
28860
28814
|
}
|
|
28861
|
-
const
|
|
28862
|
-
|
|
28863
|
-
|
|
28864
|
-
|
|
28865
|
-
|
|
28866
|
-
|
|
28867
|
-
|
|
28868
|
-
|
|
28869
|
-
|
|
28870
|
-
|
|
28815
|
+
const Ue = r0(Hf);
|
|
28816
|
+
Ue.Axios = Ps;
|
|
28817
|
+
Ue.CanceledError = no;
|
|
28818
|
+
Ue.CancelToken = bB;
|
|
28819
|
+
Ue.isCancel = Jw;
|
|
28820
|
+
Ue.VERSION = t0;
|
|
28821
|
+
Ue.toFormData = Wu;
|
|
28822
|
+
Ue.AxiosError = J;
|
|
28823
|
+
Ue.Cancel = Ue.CanceledError;
|
|
28824
|
+
Ue.all = function(e) {
|
|
28871
28825
|
return Promise.all(e);
|
|
28872
28826
|
};
|
|
28873
|
-
|
|
28874
|
-
|
|
28875
|
-
|
|
28876
|
-
|
|
28877
|
-
|
|
28878
|
-
|
|
28879
|
-
|
|
28880
|
-
|
|
28827
|
+
Ue.spread = wB;
|
|
28828
|
+
Ue.isAxiosError = SB;
|
|
28829
|
+
Ue.mergeConfig = Ta;
|
|
28830
|
+
Ue.AxiosHeaders = Ur;
|
|
28831
|
+
Ue.formToJSON = (t) => Xw(k.isHTMLForm(t) ? new FormData(t) : t);
|
|
28832
|
+
Ue.getAdapter = e0.getAdapter;
|
|
28833
|
+
Ue.HttpStatusCode = OB;
|
|
28834
|
+
Ue.default = Ue;
|
|
28881
28835
|
const kB = j({
|
|
28882
28836
|
name: "Stars",
|
|
28883
28837
|
props: {
|
|
@@ -28913,7 +28867,7 @@ const kB = j({
|
|
|
28913
28867
|
}
|
|
28914
28868
|
n.value && (e.value = e.value.map((s) => `${s} fz-small`));
|
|
28915
28869
|
};
|
|
28916
|
-
return gn(r, a, { immediate: !0 }),
|
|
28870
|
+
return gn(r, a, { immediate: !0 }), Ee(a), {
|
|
28917
28871
|
stars: e
|
|
28918
28872
|
};
|
|
28919
28873
|
}
|
|
@@ -28990,7 +28944,7 @@ const zf = o0.exports, $B = j({
|
|
|
28990
28944
|
},
|
|
28991
28945
|
setup(t) {
|
|
28992
28946
|
const { kiyohXml: e, kiyohSummaryLink: r, hideTitle: n } = Vm(t), a = O(!0), i = O(null), o = O(null), u = () => F(this, null, function* () {
|
|
28993
|
-
return yield
|
|
28947
|
+
return yield Ue.get(e.value);
|
|
28994
28948
|
}), c = (s) => {
|
|
28995
28949
|
if (s.data) {
|
|
28996
28950
|
const d = s.data;
|
|
@@ -29000,7 +28954,7 @@ const zf = o0.exports, $B = j({
|
|
|
29000
28954
|
}, l = () => F(this, null, function* () {
|
|
29001
28955
|
a.value = !0, c(yield u()), a.value = !1;
|
|
29002
28956
|
});
|
|
29003
|
-
return
|
|
28957
|
+
return Ee(() => {
|
|
29004
28958
|
e.value && l();
|
|
29005
28959
|
}), {
|
|
29006
28960
|
kiyohXml: e,
|
|
@@ -29037,9 +28991,9 @@ const MB = u0.exports, RB = j({
|
|
|
29037
28991
|
KiyohCard: MB,
|
|
29038
28992
|
DefaultCheckbox: Ew,
|
|
29039
28993
|
DefaultCheckboxGroup: sV,
|
|
29040
|
-
DefaultInput:
|
|
28994
|
+
DefaultInput: Ye,
|
|
29041
28995
|
ErrorHandler: ve,
|
|
29042
|
-
SimpleCard:
|
|
28996
|
+
SimpleCard: $e,
|
|
29043
28997
|
EmailInput: rV
|
|
29044
28998
|
},
|
|
29045
28999
|
props: {
|
|
@@ -29147,7 +29101,7 @@ var l0 = function() {
|
|
|
29147
29101
|
return [r("ErrorHandler", { attrs: { name: "phoneNumber", "errors-data": e.phoneNumberErrors } })];
|
|
29148
29102
|
}, proxy: !0 }]), model: { value: e.phoneNumber, callback: function(n) {
|
|
29149
29103
|
e.phoneNumber = n;
|
|
29150
|
-
}, expression: "phoneNumber" } })], 1), r("div", { staticClass: "vd-form-group" }, [r("email-input", { attrs: { id: "email",
|
|
29104
|
+
}, expression: "phoneNumber" } })], 1), r("div", { staticClass: "vd-form-group" }, [r("email-input", { attrs: { id: "email", name: "email" }, model: { value: e.email, callback: function(n) {
|
|
29151
29105
|
e.email = n;
|
|
29152
29106
|
}, expression: "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() {
|
|
29153
29107
|
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. ")];
|
|
@@ -29263,7 +29217,7 @@ const AB = c0.exports, d0 = [
|
|
|
29263
29217
|
case "incorrect":
|
|
29264
29218
|
return "192";
|
|
29265
29219
|
}
|
|
29266
|
-
}),
|
|
29220
|
+
}), S = U(() => {
|
|
29267
29221
|
switch (u.value) {
|
|
29268
29222
|
case "purchaseValueHeader":
|
|
29269
29223
|
return "Aankoopwaarde te hoog";
|
|
@@ -29288,7 +29242,7 @@ const AB = c0.exports, d0 = [
|
|
|
29288
29242
|
refId: b.value,
|
|
29289
29243
|
notes: g.value,
|
|
29290
29244
|
description: m.value,
|
|
29291
|
-
title:
|
|
29245
|
+
title: S.value
|
|
29292
29246
|
}
|
|
29293
29247
|
});
|
|
29294
29248
|
}
|
|
@@ -29368,7 +29322,7 @@ const AB = c0.exports, d0 = [
|
|
|
29368
29322
|
d.value = !q.newOrOccasion, (yield ot(D.value)) && !h.value && !d.value && (t.isOnResultPage ? e("submit-form", q) : yield se());
|
|
29369
29323
|
});
|
|
29370
29324
|
}
|
|
29371
|
-
return
|
|
29325
|
+
return Ee(() => {
|
|
29372
29326
|
t.isOnResultPage ? (q.typeOfCaravan = t.insuranceState.TypeOfCaravan || q.typeOfCaravan, q.length = t.insuranceState.Length || q.length, q.newOrOccasion = t.insuranceState.NewOrOccasion || q.newOrOccasion, q.purchaseValue = t.insuranceState.PurchaseValue || q.purchaseValue, q.catalogValue = t.insuranceState.CatalogValue || q.catalogValue, q.buildYear = t.insuranceState.BuildYear || q.buildYear) : Yt.removeSessionState("caravan-storage", "caravan-path");
|
|
29373
29327
|
}), {
|
|
29374
29328
|
buildYear: o,
|
|
@@ -29417,7 +29371,7 @@ const AB = c0.exports, d0 = [
|
|
|
29417
29371
|
CV: 2
|
|
29418
29372
|
}, f = 5;
|
|
29419
29373
|
gn(r, (H) => {
|
|
29420
|
-
H === !0 &&
|
|
29374
|
+
H === !0 && S();
|
|
29421
29375
|
});
|
|
29422
29376
|
function p() {
|
|
29423
29377
|
return d[n.value].name;
|
|
@@ -29437,7 +29391,7 @@ const AB = c0.exports, d0 = [
|
|
|
29437
29391
|
function b() {
|
|
29438
29392
|
n.value = f;
|
|
29439
29393
|
}
|
|
29440
|
-
function
|
|
29394
|
+
function S() {
|
|
29441
29395
|
try {
|
|
29442
29396
|
_e.caravanService.getCaravanBrands({
|
|
29443
29397
|
year: t.buildYear,
|
|
@@ -29638,7 +29592,7 @@ const v0 = m0.exports, jB = j({
|
|
|
29638
29592
|
break;
|
|
29639
29593
|
}
|
|
29640
29594
|
}
|
|
29641
|
-
return
|
|
29595
|
+
return Ee(() => {
|
|
29642
29596
|
f(), u();
|
|
29643
29597
|
}), {
|
|
29644
29598
|
hasNewDesign: G,
|
|
@@ -29677,10 +29631,10 @@ const _0 = y0.exports, LB = j({
|
|
|
29677
29631
|
ErrorHandler: ve,
|
|
29678
29632
|
CatalogValueModal: v0,
|
|
29679
29633
|
ManualNewValueModal: _0,
|
|
29680
|
-
SimpleCard:
|
|
29634
|
+
SimpleCard: $e,
|
|
29681
29635
|
DefaultSelect: Xe,
|
|
29682
29636
|
DefaultPlainRadioGroup: Ha,
|
|
29683
|
-
DefaultInput:
|
|
29637
|
+
DefaultInput: Ye,
|
|
29684
29638
|
BFormRadioGroup: qt
|
|
29685
29639
|
},
|
|
29686
29640
|
props: {
|
|
@@ -29741,7 +29695,7 @@ const _0 = y0.exports, LB = j({
|
|
|
29741
29695
|
newOrOccasion: d0,
|
|
29742
29696
|
typeOfCaravan: Wf,
|
|
29743
29697
|
length: f0,
|
|
29744
|
-
errors:
|
|
29698
|
+
errors: le,
|
|
29745
29699
|
hasNewDesign: G,
|
|
29746
29700
|
test: r,
|
|
29747
29701
|
buildYear: o,
|
|
@@ -29808,10 +29762,10 @@ const BB = w0.exports, YB = j({
|
|
|
29808
29762
|
ErrorHandler: ve,
|
|
29809
29763
|
CatalogValueModal: v0,
|
|
29810
29764
|
ManualNewValueModal: _0,
|
|
29811
|
-
SimpleCard:
|
|
29765
|
+
SimpleCard: $e,
|
|
29812
29766
|
DefaultSelect: Xe,
|
|
29813
29767
|
DefaultPlainRadioGroup: Ha,
|
|
29814
|
-
DefaultInput:
|
|
29768
|
+
DefaultInput: Ye,
|
|
29815
29769
|
BFormRadioGroup: qt
|
|
29816
29770
|
},
|
|
29817
29771
|
props: {
|
|
@@ -29869,7 +29823,7 @@ const BB = w0.exports, YB = j({
|
|
|
29869
29823
|
newOrOccasion: d0,
|
|
29870
29824
|
typeOfCaravan: Wf,
|
|
29871
29825
|
length: f0,
|
|
29872
|
-
errors:
|
|
29826
|
+
errors: le,
|
|
29873
29827
|
hasNewDesign: G,
|
|
29874
29828
|
buildYear: r,
|
|
29875
29829
|
maxPriceLength: n,
|
|
@@ -29959,7 +29913,7 @@ const qB = O0.exports, UB = (t, e) => {
|
|
|
29959
29913
|
function l() {
|
|
29960
29914
|
n.value = !0;
|
|
29961
29915
|
}
|
|
29962
|
-
return
|
|
29916
|
+
return Ee(() => {
|
|
29963
29917
|
var s;
|
|
29964
29918
|
i.value = !0, (t.isOnResultPage || t.isOnCoveragePage) && (Object.assign(rt, t.insuranceState), r.value = (s = rt.LicensePlate) != null ? s : ""), !t.isOnResultPage || t.isOnCoveragePage;
|
|
29965
29919
|
}), {
|
|
@@ -30907,8 +30861,8 @@ const eY = x0.exports, tY = j({
|
|
|
30907
30861
|
sbi_activities: ""
|
|
30908
30862
|
}), i = O(null), o = O([]), u = O(!1), c = O(null), l = O(!1), s = O(!1), d = O(!1);
|
|
30909
30863
|
const h = () => {
|
|
30910
|
-
Object.keys(a).map((
|
|
30911
|
-
a[
|
|
30864
|
+
Object.keys(a).map((S) => {
|
|
30865
|
+
a[S] = "";
|
|
30912
30866
|
});
|
|
30913
30867
|
}, f = () => {
|
|
30914
30868
|
h(), n("update-company-data", a), l.value = !1;
|
|
@@ -30919,8 +30873,8 @@ const eY = x0.exports, tY = j({
|
|
|
30919
30873
|
}, y = () => {
|
|
30920
30874
|
s.value = !1;
|
|
30921
30875
|
};
|
|
30922
|
-
gn(i, (
|
|
30923
|
-
|
|
30876
|
+
gn(i, (S) => F(this, null, function* () {
|
|
30877
|
+
S && S.kvkNummer && (yield _e.dataService.getProfileInfo(S.kvkNummer).then((D) => {
|
|
30924
30878
|
p();
|
|
30925
30879
|
let L = D._embedded.hoofdvestiging.adressen.find((X) => X.type === "bezoekadres"), se = L.huisletter || "";
|
|
30926
30880
|
se += L.huisnummerToevoeging || "", a.kvk_number = D.kvkNummer, a.company_name = D.naam, a.legal_entity = D._embedded.eigenaar.rechtsvorm, a.rsin = D._embedded.eigenaar.rsin || null, a.branch_number = D._embedded.hoofdvestiging.vestigingsnummer, a.postcode = L.postcode || null, a.city = L.plaats || null, a.street = L.straatnaam || null, a.house_number = L.huisnummer || null, a.house_number_addition = se || null, a.full_address = L.volledigAdres || null, a.sbi_activities = D.sbiActiviteiten.map((X) => ({
|
|
@@ -30930,21 +30884,21 @@ const eY = x0.exports, tY = j({
|
|
|
30930
30884
|
})), n("update-company-data", a);
|
|
30931
30885
|
}));
|
|
30932
30886
|
}));
|
|
30933
|
-
const m = (
|
|
30934
|
-
u.value = !0,
|
|
30887
|
+
const m = (S) => {
|
|
30888
|
+
u.value = !0, S.aantal = 30, _e.dataService.searchBusinessInfo({ companyName: S.handelsnaam, kvkNumber: S.kvkNummer }, 1, S.aantal).then((D) => {
|
|
30935
30889
|
u.value = !1;
|
|
30936
30890
|
let L = D.resultaten.filter((se) => se.type === "hoofdvestiging");
|
|
30937
30891
|
L.length > 0 ? o.value = L.map((se) => (se.name = `${se.handelsnaam}`, se)) : o.value = [];
|
|
30938
30892
|
}).catch((D) => {
|
|
30939
30893
|
o.value = [], u.value = !1;
|
|
30940
30894
|
});
|
|
30941
|
-
}, g = (
|
|
30942
|
-
|
|
30943
|
-
|
|
30895
|
+
}, g = (S) => {
|
|
30896
|
+
S.length > 2 && (clearTimeout(c.value), c.value = setTimeout(() => {
|
|
30897
|
+
S.length == 8 && /^\d+$/.test(S) ? m({ kvkNummer: S }) : b(S) ? m(b(S)) : m({ handelsnaam: S });
|
|
30944
30898
|
}, 700));
|
|
30945
|
-
}, b = (
|
|
30946
|
-
if (
|
|
30947
|
-
let D =
|
|
30899
|
+
}, b = (S) => {
|
|
30900
|
+
if (S.length > 7) {
|
|
30901
|
+
let D = S.split(" ");
|
|
30948
30902
|
if (D.length > 1 && /^([0-9]{4}[A-Z]{2}|[0-9]{4}[a-z]{2})$/.test(D[0])) {
|
|
30949
30903
|
let L = {
|
|
30950
30904
|
postcode: D[0],
|
|
@@ -30996,7 +30950,7 @@ D0.options.__file = "/Users/mac/Work/comparison-forms/src/components/common/inpu
|
|
|
30996
30950
|
const $0 = D0.exports, nY = j({
|
|
30997
30951
|
name: "BusinessCarForm",
|
|
30998
30952
|
components: {
|
|
30999
|
-
SimpleCard:
|
|
30953
|
+
SimpleCard: $e,
|
|
31000
30954
|
LicensePlate: Qn,
|
|
31001
30955
|
CompaniesListSelect: $0,
|
|
31002
30956
|
Loader: zf
|
|
@@ -31048,7 +31002,7 @@ const $0 = D0.exports, nY = j({
|
|
|
31048
31002
|
return {
|
|
31049
31003
|
businessState: Xt,
|
|
31050
31004
|
carState: rt,
|
|
31051
|
-
errors:
|
|
31005
|
+
errors: le,
|
|
31052
31006
|
licensePlate: r,
|
|
31053
31007
|
hasCompaniesListValidationError: n,
|
|
31054
31008
|
isMultiselectReady: a,
|
|
@@ -31091,7 +31045,7 @@ const iY = M0.exports, oY = (t, e) => {
|
|
|
31091
31045
|
r.value = !Object.keys(Xt.companyData).length || !Xt.companyData.company_name, r.value || (console.warn("should be considered a way to pass data to redirect page"), console.warn(Xt.companyData));
|
|
31092
31046
|
});
|
|
31093
31047
|
}
|
|
31094
|
-
return
|
|
31048
|
+
return Ee(() => {
|
|
31095
31049
|
n.value = !0, !t.isOnResultPage || t.isOnCoveragePage;
|
|
31096
31050
|
}), {
|
|
31097
31051
|
hasCompaniesListValidationError: r,
|
|
@@ -31101,7 +31055,7 @@ const iY = M0.exports, oY = (t, e) => {
|
|
|
31101
31055
|
}, sY = j({
|
|
31102
31056
|
name: "RiskScannerForm",
|
|
31103
31057
|
components: {
|
|
31104
|
-
SimpleCard:
|
|
31058
|
+
SimpleCard: $e,
|
|
31105
31059
|
CompaniesListSelect: $0,
|
|
31106
31060
|
Loader: zf
|
|
31107
31061
|
},
|