@vergelijkdirect/comparison-forms 1.3.15-VER-8290.0 → 1.3.15-VER-8290.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -10278,7 +10278,7 @@ var Vn = function(t) {
|
|
|
10278
10278
|
};
|
|
10279
10279
|
clearTimeout(n), n = setTimeout(o, e), n || t.apply(void 0, a);
|
|
10280
10280
|
};
|
|
10281
|
-
},
|
|
10281
|
+
}, ut = function(t, e) {
|
|
10282
10282
|
return e ? t ? (typeof e == "string" && (e = lr(e)), de({}, e, lr(t))) : lr(e) : lr(t);
|
|
10283
10283
|
}, lr = function(t) {
|
|
10284
10284
|
return t ? Me(t) ? Object.keys(t).reduce(function(e, r) {
|
|
@@ -10313,11 +10313,11 @@ var Vn = function(t) {
|
|
|
10313
10313
|
var r = new RegExp("(\\s|^)" + e + "(\\s|$)");
|
|
10314
10314
|
t.className = t.className.replace(r, " ");
|
|
10315
10315
|
}
|
|
10316
|
-
},
|
|
10316
|
+
}, dt = function(t, e, r) {
|
|
10317
10317
|
if (!(!t || !e)) {
|
|
10318
10318
|
if (Array.isArray(e)) {
|
|
10319
10319
|
e.forEach(function(n) {
|
|
10320
|
-
return
|
|
10320
|
+
return dt(t, n, r);
|
|
10321
10321
|
});
|
|
10322
10322
|
return;
|
|
10323
10323
|
}
|
|
@@ -10391,20 +10391,20 @@ var Vn = function(t) {
|
|
|
10391
10391
|
de(t, (a = {}, a[r] = e[r], a));
|
|
10392
10392
|
}), t;
|
|
10393
10393
|
}, $x = function(t, e) {
|
|
10394
|
-
if (t.required && (e =
|
|
10395
|
-
return t.type === "email" && (e =
|
|
10394
|
+
if (t.required && (e = ut("required", e)), Vn(t))
|
|
10395
|
+
return t.type === "email" && (e = ut("email" + (t.multiple ? ":multiple" : ""), e)), t.pattern && (e = ut({ regex: t.pattern }, e)), t.maxLength >= 0 && t.maxLength < 524288 && (e = ut("max:" + t.maxLength, e)), t.minLength > 0 && (e = ut("min:" + t.minLength, e)), t.type === "number" && (e = ut("decimal", e), t.min !== "" && (e = ut("min_value:" + t.min, e)), t.max !== "" && (e = ut("max_value:" + t.max, e))), e;
|
|
10396
10396
|
if (Cx(t)) {
|
|
10397
10397
|
var r = t.step && Number(t.step) < 60 ? "HH:mm:ss" : "HH:mm";
|
|
10398
10398
|
if (t.type === "date")
|
|
10399
|
-
return
|
|
10399
|
+
return ut("date_format:yyyy-MM-dd", e);
|
|
10400
10400
|
if (t.type === "datetime-local")
|
|
10401
|
-
return
|
|
10401
|
+
return ut("date_format:yyyy-MM-ddT" + r, e);
|
|
10402
10402
|
if (t.type === "month")
|
|
10403
|
-
return
|
|
10403
|
+
return ut("date_format:yyyy-MM", e);
|
|
10404
10404
|
if (t.type === "week")
|
|
10405
|
-
return
|
|
10405
|
+
return ut("date_format:yyyy-[W]WW", e);
|
|
10406
10406
|
if (t.type === "time")
|
|
10407
|
-
return
|
|
10407
|
+
return ut("date_format:" + r, e);
|
|
10408
10408
|
}
|
|
10409
10409
|
return e;
|
|
10410
10410
|
}, va = function(t) {
|
|
@@ -10441,7 +10441,7 @@ var Vn = function(t) {
|
|
|
10441
10441
|
writable: !0,
|
|
10442
10442
|
value: r
|
|
10443
10443
|
});
|
|
10444
|
-
}, Qv = "en",
|
|
10444
|
+
}, Qv = "en", it = function(e) {
|
|
10445
10445
|
e === void 0 && (e = {}), this.container = {}, this.merge(e);
|
|
10446
10446
|
}, Ac = { locale: { configurable: !0 } };
|
|
10447
10447
|
Ac.locale.get = function() {
|
|
@@ -10450,20 +10450,20 @@ Ac.locale.get = function() {
|
|
|
10450
10450
|
Ac.locale.set = function(t) {
|
|
10451
10451
|
Qv = t || "en";
|
|
10452
10452
|
};
|
|
10453
|
-
|
|
10453
|
+
it.prototype.hasLocale = function(e) {
|
|
10454
10454
|
return !!this.container[e];
|
|
10455
10455
|
};
|
|
10456
|
-
|
|
10456
|
+
it.prototype.setDateFormat = function(e, r) {
|
|
10457
10457
|
this.container[e] || (this.container[e] = {}), this.container[e].dateFormat = r;
|
|
10458
10458
|
};
|
|
10459
|
-
|
|
10459
|
+
it.prototype.getDateFormat = function(e) {
|
|
10460
10460
|
return !this.container[e] || !this.container[e].dateFormat ? null : this.container[e].dateFormat;
|
|
10461
10461
|
};
|
|
10462
|
-
|
|
10462
|
+
it.prototype.getMessage = function(e, r, n) {
|
|
10463
10463
|
var a = null;
|
|
10464
10464
|
return this.hasMessage(e, r) ? a = this.container[e].messages[r] : a = this._getDefaultMessage(e), Y(a) ? a.apply(void 0, n) : a;
|
|
10465
10465
|
};
|
|
10466
|
-
|
|
10466
|
+
it.prototype.getFieldMessage = function(e, r, n, a) {
|
|
10467
10467
|
if (!this.hasLocale(e))
|
|
10468
10468
|
return this.getMessage(e, n, a);
|
|
10469
10469
|
var i = this.container[e].custom && this.container[e].custom[r];
|
|
@@ -10472,36 +10472,36 @@ at.prototype.getFieldMessage = function(e, r, n, a) {
|
|
|
10472
10472
|
var o = i[n];
|
|
10473
10473
|
return Y(o) ? o.apply(void 0, a) : o;
|
|
10474
10474
|
};
|
|
10475
|
-
|
|
10475
|
+
it.prototype._getDefaultMessage = function(e) {
|
|
10476
10476
|
return this.hasMessage(e, "_default") ? this.container[e].messages._default : this.container.en.messages._default;
|
|
10477
10477
|
};
|
|
10478
|
-
|
|
10478
|
+
it.prototype.getAttribute = function(e, r, n) {
|
|
10479
10479
|
return n === void 0 && (n = ""), this.hasAttribute(e, r) ? this.container[e].attributes[r] : n;
|
|
10480
10480
|
};
|
|
10481
|
-
|
|
10481
|
+
it.prototype.hasMessage = function(e, r) {
|
|
10482
10482
|
return !!(this.hasLocale(e) && this.container[e].messages && this.container[e].messages[r]);
|
|
10483
10483
|
};
|
|
10484
|
-
|
|
10484
|
+
it.prototype.hasAttribute = function(e, r) {
|
|
10485
10485
|
return !!(this.hasLocale(e) && this.container[e].attributes && this.container[e].attributes[r]);
|
|
10486
10486
|
};
|
|
10487
|
-
|
|
10487
|
+
it.prototype.merge = function(e) {
|
|
10488
10488
|
Ma(this.container, e);
|
|
10489
10489
|
};
|
|
10490
|
-
|
|
10490
|
+
it.prototype.setMessage = function(e, r, n) {
|
|
10491
10491
|
this.hasLocale(e) || (this.container[e] = {
|
|
10492
10492
|
messages: {},
|
|
10493
10493
|
attributes: {}
|
|
10494
10494
|
}), this.container[e].messages || (this.container[e].messages = {}), this.container[e].messages[r] = n;
|
|
10495
10495
|
};
|
|
10496
|
-
|
|
10496
|
+
it.prototype.setAttribute = function(e, r, n) {
|
|
10497
10497
|
this.hasLocale(e) || (this.container[e] = {
|
|
10498
10498
|
messages: {},
|
|
10499
10499
|
attributes: {}
|
|
10500
10500
|
}), this.container[e].attributes[r] = n;
|
|
10501
10501
|
};
|
|
10502
|
-
Object.defineProperties(
|
|
10502
|
+
Object.defineProperties(it.prototype, Ac);
|
|
10503
10503
|
var Jv = {
|
|
10504
|
-
default: new
|
|
10504
|
+
default: new it({
|
|
10505
10505
|
en: {
|
|
10506
10506
|
messages: {},
|
|
10507
10507
|
attributes: {},
|
|
@@ -11158,7 +11158,7 @@ ye.prototype.updateClasses = function(e) {
|
|
|
11158
11158
|
var r = this;
|
|
11159
11159
|
if (e === void 0 && (e = !1), !(!this.classes || this.isDisabled)) {
|
|
11160
11160
|
var n = function(i) {
|
|
11161
|
-
|
|
11161
|
+
dt(i, r.classNames.dirty, r.flags.dirty), dt(i, r.classNames.pristine, r.flags.pristine), dt(i, r.classNames.touched, r.flags.touched), dt(i, r.classNames.untouched, r.flags.untouched), e && (dt(i, r.classNames.valid, !1), dt(i, r.classNames.invalid, !1)), !T(r.flags.valid) && r.flags.validated && dt(i, r.classNames.valid, r.flags.valid), !T(r.flags.invalid) && r.flags.validated && dt(i, r.classNames.invalid, r.flags.invalid);
|
|
11162
11162
|
};
|
|
11163
11163
|
if (!ss(this.el)) {
|
|
11164
11164
|
n(this.el);
|
|
@@ -11172,9 +11172,9 @@ ye.prototype.addActionListeners = function() {
|
|
|
11172
11172
|
var e = this;
|
|
11173
11173
|
if (this.unwatch(/class/), !!this.el) {
|
|
11174
11174
|
var r = function() {
|
|
11175
|
-
e.flags.touched = !0, e.flags.untouched = !1, e.classes && (
|
|
11175
|
+
e.flags.touched = !0, e.flags.untouched = !1, e.classes && (dt(e.el, e.classNames.touched, !0), dt(e.el, e.classNames.untouched, !1)), e.unwatch(/^class_blur$/);
|
|
11176
11176
|
}, n = Vn(this.el) ? "input" : "change", a = function() {
|
|
11177
|
-
e.flags.dirty = !0, e.flags.pristine = !1, e.classes && (
|
|
11177
|
+
e.flags.dirty = !0, e.flags.pristine = !1, e.classes && (dt(e.el, e.classNames.pristine, !1), dt(e.el, e.classNames.dirty, !0)), e.unwatch(/^class_input$/);
|
|
11178
11178
|
};
|
|
11179
11179
|
if (this.componentInstance && Y(this.componentInstance.$once)) {
|
|
11180
11180
|
this.componentInstance.$once("input", a), this.componentInstance.$once("blur", r), this.watchers.push({
|
|
@@ -15751,7 +15751,7 @@ const pR = (t = null) => {
|
|
|
15751
15751
|
}), qt = Fe({
|
|
15752
15752
|
loanPurpose: "",
|
|
15753
15753
|
loanAmount: null
|
|
15754
|
-
}),
|
|
15754
|
+
}), at = Fe({
|
|
15755
15755
|
LicensePlate: "",
|
|
15756
15756
|
Brand: "",
|
|
15757
15757
|
Model: "",
|
|
@@ -15778,7 +15778,7 @@ const pR = (t = null) => {
|
|
|
15778
15778
|
condition: 1,
|
|
15779
15779
|
price: null,
|
|
15780
15780
|
brand: ""
|
|
15781
|
-
}),
|
|
15781
|
+
}), nt = Fe({
|
|
15782
15782
|
PaymentTerm: "L"
|
|
15783
15783
|
}), bt = Fe({
|
|
15784
15784
|
ownedBuilding: "J",
|
|
@@ -17354,7 +17354,7 @@ $e.formToJSON = (t) => og(S.isHTMLForm(t) ? new FormData(t) : t);
|
|
|
17354
17354
|
$e.getAdapter = lg.getAdapter;
|
|
17355
17355
|
$e.HttpStatusCode = M$;
|
|
17356
17356
|
$e.default = $e;
|
|
17357
|
-
const
|
|
17357
|
+
const ot = (t) => {
|
|
17358
17358
|
const {
|
|
17359
17359
|
generateComparisonId: e
|
|
17360
17360
|
} = yR(), r = (f, h) => {
|
|
@@ -17463,7 +17463,7 @@ const pu = [1, 7], I$ = [3, 4], Sp = {
|
|
|
17463
17463
|
removeSessionState: o,
|
|
17464
17464
|
setInitialUserInfoInStore: u,
|
|
17465
17465
|
openQuotationModal: c
|
|
17466
|
-
} =
|
|
17466
|
+
} = ot(e), l = () => `${t.link}#/<<COMPARISONID>>`, s = () => {
|
|
17467
17467
|
r.value = _t.condition === null;
|
|
17468
17468
|
}, d = () => {
|
|
17469
17469
|
Object.assign(_t, t.insuranceState);
|
|
@@ -20318,7 +20318,7 @@ var FE = kt.prototype, Hp = function(e) {
|
|
|
20318
20318
|
}, LE = function(e) {
|
|
20319
20319
|
var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : null, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : void 0;
|
|
20320
20320
|
return r ? Hp("".concat(e, ".").concat(r), n) : Hp(e, {});
|
|
20321
|
-
},
|
|
20321
|
+
}, st = function(e, r) {
|
|
20322
20322
|
return It(e).reduce(function(n, a) {
|
|
20323
20323
|
var i = e[a], o = i.default;
|
|
20324
20324
|
return n[a] = Vp(Vp({}, Ss(i)), {}, {
|
|
@@ -20555,7 +20555,7 @@ var Oy = function(e) {
|
|
|
20555
20555
|
function eM(t, e, r) {
|
|
20556
20556
|
return e in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
|
|
20557
20557
|
}
|
|
20558
|
-
var tM =
|
|
20558
|
+
var tM = st({
|
|
20559
20559
|
content: {
|
|
20560
20560
|
type: String,
|
|
20561
20561
|
default: "×"
|
|
@@ -20739,7 +20739,7 @@ function Wp(t, e) {
|
|
|
20739
20739
|
}
|
|
20740
20740
|
return r;
|
|
20741
20741
|
}
|
|
20742
|
-
function
|
|
20742
|
+
function ct(t) {
|
|
20743
20743
|
for (var e = 1; e < arguments.length; e++) {
|
|
20744
20744
|
var r = arguments[e] != null ? arguments[e] : {};
|
|
20745
20745
|
e % 2 ? Wp(Object(r), !0).forEach(function(n) {
|
|
@@ -20801,7 +20801,7 @@ var Ry = {
|
|
|
20801
20801
|
type: Boolean,
|
|
20802
20802
|
default: !1
|
|
20803
20803
|
}
|
|
20804
|
-
}, Ty =
|
|
20804
|
+
}, Ty = st(ct(ct(ct({
|
|
20805
20805
|
href: {
|
|
20806
20806
|
type: String,
|
|
20807
20807
|
default: null
|
|
@@ -20866,7 +20866,7 @@ var Ry = {
|
|
|
20866
20866
|
},
|
|
20867
20867
|
computedProps: function() {
|
|
20868
20868
|
var e = this.prefetch;
|
|
20869
|
-
return this.isRouterLink ?
|
|
20869
|
+
return this.isRouterLink ? ct(ct({}, ky(ct(ct({}, Ry), $y), this)), {}, {
|
|
20870
20870
|
// Coerce `prefetch` value `null` to be `undefined`
|
|
20871
20871
|
prefetch: Zc(e) ? e : void 0,
|
|
20872
20872
|
// Pass `router-tag` as `tag` prop
|
|
@@ -20875,7 +20875,7 @@ var Ry = {
|
|
|
20875
20875
|
},
|
|
20876
20876
|
computedAttrs: function() {
|
|
20877
20877
|
var e = this.bvAttrs, r = this.computedHref, n = this.computedRel, a = this.disabled, i = this.target, o = this.routerTag, u = this.isRouterLink;
|
|
20878
|
-
return
|
|
20878
|
+
return ct(ct(ct(ct({}, e), r ? {
|
|
20879
20879
|
href: r
|
|
20880
20880
|
} : {}), u && !Os(o, "a") ? {} : {
|
|
20881
20881
|
rel: n,
|
|
@@ -20886,7 +20886,7 @@ var Ry = {
|
|
|
20886
20886
|
});
|
|
20887
20887
|
},
|
|
20888
20888
|
computedListeners: function() {
|
|
20889
|
-
return
|
|
20889
|
+
return ct(ct({}, this.bvListeners), {}, {
|
|
20890
20890
|
// We want to overwrite any click handler since our callback
|
|
20891
20891
|
// will invoke the user supplied handler(s) if `!this.disabled`
|
|
20892
20892
|
click: this.onClick
|
|
@@ -20952,7 +20952,7 @@ function Ur(t, e, r) {
|
|
|
20952
20952
|
var ks = wE(Ty, ["event", "routerTag"]);
|
|
20953
20953
|
delete ks.href.default;
|
|
20954
20954
|
delete ks.to.default;
|
|
20955
|
-
var SM =
|
|
20955
|
+
var SM = st(wM({
|
|
20956
20956
|
block: {
|
|
20957
20957
|
type: Boolean,
|
|
20958
20958
|
default: !1
|
|
@@ -21251,7 +21251,7 @@ var TM = /* @__PURE__ */ function() {
|
|
|
21251
21251
|
};
|
|
21252
21252
|
}
|
|
21253
21253
|
}]), t;
|
|
21254
|
-
}(), EM = 'Setting prop "options" to an object is deprecated. Use the array format instead.', Iy =
|
|
21254
|
+
}(), EM = 'Setting prop "options" to an object is deprecated. Use the array format instead.', Iy = st({
|
|
21255
21255
|
options: {
|
|
21256
21256
|
type: [Array, Object],
|
|
21257
21257
|
default: function() {
|
|
@@ -21349,7 +21349,7 @@ var rh = "input, textarea, select", Ps = NM({
|
|
|
21349
21349
|
type: String
|
|
21350
21350
|
// default: undefined
|
|
21351
21351
|
}
|
|
21352
|
-
},
|
|
21352
|
+
}, st({
|
|
21353
21353
|
disabled: {
|
|
21354
21354
|
type: Boolean,
|
|
21355
21355
|
default: !1
|
|
@@ -21388,7 +21388,7 @@ const rd = {
|
|
|
21388
21388
|
}
|
|
21389
21389
|
}
|
|
21390
21390
|
};
|
|
21391
|
-
var nd =
|
|
21391
|
+
var nd = st({
|
|
21392
21392
|
plain: {
|
|
21393
21393
|
type: Boolean,
|
|
21394
21394
|
default: !1
|
|
@@ -21426,7 +21426,7 @@ function qo(t) {
|
|
|
21426
21426
|
function vn(t, e, r) {
|
|
21427
21427
|
return e in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
|
|
21428
21428
|
}
|
|
21429
|
-
var ad =
|
|
21429
|
+
var ad = st(qo(qo({}, nd), {}, {
|
|
21430
21430
|
value: {
|
|
21431
21431
|
// Value when checked
|
|
21432
21432
|
// type: Object,
|
|
@@ -21619,7 +21619,7 @@ const Fy = {
|
|
|
21619
21619
|
}
|
|
21620
21620
|
}
|
|
21621
21621
|
};
|
|
21622
|
-
var Ds =
|
|
21622
|
+
var Ds = st({
|
|
21623
21623
|
size: {
|
|
21624
21624
|
type: String
|
|
21625
21625
|
// default: null
|
|
@@ -21633,7 +21633,7 @@ const id = {
|
|
|
21633
21633
|
}
|
|
21634
21634
|
}
|
|
21635
21635
|
};
|
|
21636
|
-
var As =
|
|
21636
|
+
var As = st({
|
|
21637
21637
|
state: {
|
|
21638
21638
|
// Tri-state prop: true, false, null (or undefined)
|
|
21639
21639
|
type: Boolean,
|
|
@@ -21696,7 +21696,7 @@ var FM = /* @__PURE__ */ kt.extend({
|
|
|
21696
21696
|
default: !1
|
|
21697
21697
|
}
|
|
21698
21698
|
},
|
|
21699
|
-
props:
|
|
21699
|
+
props: st(ca(ca(ca(ca(ca({}, Ps), ad), Ds), As), {}, {
|
|
21700
21700
|
value: {
|
|
21701
21701
|
// type: [String, Number, Boolean, Object],
|
|
21702
21702
|
default: !0
|
|
@@ -21808,7 +21808,7 @@ var BM = /* @__PURE__ */ kt.extend({
|
|
|
21808
21808
|
default: !1
|
|
21809
21809
|
}
|
|
21810
21810
|
},
|
|
21811
|
-
props:
|
|
21811
|
+
props: st(da(da(da(da(da({}, Ps), ad), Ds), As), {}, {
|
|
21812
21812
|
checked: {
|
|
21813
21813
|
// v-model
|
|
21814
21814
|
// type: [String, Number, Boolean, Object],
|
|
@@ -21864,7 +21864,7 @@ function pn(t) {
|
|
|
21864
21864
|
function Ly(t, e, r) {
|
|
21865
21865
|
return e in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
|
|
21866
21866
|
}
|
|
21867
|
-
var By =
|
|
21867
|
+
var By = st(pn(pn(pn(pn(pn(pn({}, Ps), Iy), Ds), As), nd), {}, {
|
|
21868
21868
|
checked: {
|
|
21869
21869
|
// type: [Boolean, Number, Object, String]
|
|
21870
21870
|
default: null
|
|
@@ -21961,7 +21961,7 @@ const qM = {
|
|
|
21961
21961
|
}, [this.normalizeSlot(JE), i, this.normalizeSlot()]);
|
|
21962
21962
|
}
|
|
21963
21963
|
};
|
|
21964
|
-
var VM =
|
|
21964
|
+
var VM = st(By, fy), Qe = /* @__PURE__ */ kt.extend({
|
|
21965
21965
|
name: fy,
|
|
21966
21966
|
mixins: [qM],
|
|
21967
21967
|
provide: function() {
|
|
@@ -22415,7 +22415,7 @@ var oN = {
|
|
|
22415
22415
|
characterData: !0,
|
|
22416
22416
|
attributes: !0,
|
|
22417
22417
|
attributeFilter: ["style", "class"]
|
|
22418
|
-
}, sN =
|
|
22418
|
+
}, sN = st({
|
|
22419
22419
|
size: {
|
|
22420
22420
|
type: String,
|
|
22421
22421
|
default: "md"
|
|
@@ -23446,7 +23446,7 @@ const pN = Uy.exports, hN = (t) => {
|
|
|
23446
23446
|
}, mN = () => {
|
|
23447
23447
|
const t = {
|
|
23448
23448
|
name: "car",
|
|
23449
|
-
data:
|
|
23449
|
+
data: at
|
|
23450
23450
|
}, e = {
|
|
23451
23451
|
name: "companyData",
|
|
23452
23452
|
data: cl()
|
|
@@ -23641,18 +23641,18 @@ const Da = /* @__PURE__ */ Yo(dj), Cu = x(!1), i_ = (t, e) => {
|
|
|
23641
23641
|
submitFormAndCreateComparison: o,
|
|
23642
23642
|
removeSessionState: u,
|
|
23643
23643
|
openQuotationModal: c
|
|
23644
|
-
} =
|
|
23644
|
+
} = ot(e), l = W(() => {
|
|
23645
23645
|
var w;
|
|
23646
23646
|
return (w = t.insuranceState.companyData) != null && w.kvkNumber ? t.insuranceState.companyData.kvkNumber === Be.companyData.kvkNummer : !1;
|
|
23647
23647
|
}), s = W(() => {
|
|
23648
23648
|
var w;
|
|
23649
23649
|
if ((w = t.insuranceState.car) != null && w.LicensePlate) {
|
|
23650
|
-
const O = t.insuranceState.car.LicensePlate.split("-").join(""), R =
|
|
23650
|
+
const O = t.insuranceState.car.LicensePlate.split("-").join(""), R = at.LicensePlate.split("-").join("");
|
|
23651
23651
|
return O === R;
|
|
23652
23652
|
}
|
|
23653
23653
|
return !1;
|
|
23654
23654
|
}), d = W(() => Da(t.insuranceState) || Da(t.insuranceState.companyData) || Da(t.insuranceState.car) ? !1 : s.value && l.value), p = () => `${t.link}#/<<COMPARISONID>>`, f = () => {
|
|
23655
|
-
Object.assign(
|
|
23655
|
+
Object.assign(at, t.insuranceState.car);
|
|
23656
23656
|
}, h = () => {
|
|
23657
23657
|
const w = t.insuranceState.companyData;
|
|
23658
23658
|
Object.keys(w).map((R) => {
|
|
@@ -23689,7 +23689,7 @@ const Da = /* @__PURE__ */ Yo(dj), Cu = x(!1), i_ = (t, e) => {
|
|
|
23689
23689
|
if (yield v())
|
|
23690
23690
|
if (t.formLocation === D.isOnCoveragePage) {
|
|
23691
23691
|
const w = l.value ? vN() : cl();
|
|
23692
|
-
i({ companyData: w, carState:
|
|
23692
|
+
i({ companyData: w, carState: at });
|
|
23693
23693
|
} else
|
|
23694
23694
|
yield o("car-business", mN(), p());
|
|
23695
23695
|
} catch (w) {
|
|
@@ -23701,7 +23701,7 @@ const Da = /* @__PURE__ */ Yo(dj), Cu = x(!1), i_ = (t, e) => {
|
|
|
23701
23701
|
console.error(w);
|
|
23702
23702
|
const O = cl();
|
|
23703
23703
|
B.refId = "192", B.notes.push({ text: "Kan geen comparison ID aanmaken voor zakelijk autoverzekering vergelijking" }), B.notes.push({
|
|
23704
|
-
text: `Kenteken: ${
|
|
23704
|
+
text: `Kenteken: ${at.LicensePlate} | Postcode: ${O.zipCode} | Huisnummer: ${O.houseNumber} | Huisnummer toevoeging: ${O.houseNumberAddition}`
|
|
23705
23705
|
}), B.notes = er(B.notes), c();
|
|
23706
23706
|
};
|
|
23707
23707
|
return ke(() => {
|
|
@@ -25137,7 +25137,7 @@ const pd = h_.exports, Ej = I({
|
|
|
25137
25137
|
} = i_(t, e);
|
|
25138
25138
|
return {
|
|
25139
25139
|
businessState: Be,
|
|
25140
|
-
carState:
|
|
25140
|
+
carState: at,
|
|
25141
25141
|
errors: J,
|
|
25142
25142
|
isRequestIsHandling: q,
|
|
25143
25143
|
hasCompaniesListValidationError: r,
|
|
@@ -25227,7 +25227,7 @@ const Nj = m_.exports, Ij = I({
|
|
|
25227
25227
|
} = i_(t, e);
|
|
25228
25228
|
return {
|
|
25229
25229
|
businessState: Be,
|
|
25230
|
-
carState:
|
|
25230
|
+
carState: at,
|
|
25231
25231
|
errors: J,
|
|
25232
25232
|
isRequestIsHandling: q,
|
|
25233
25233
|
hasCompaniesListValidationError: r,
|
|
@@ -25696,7 +25696,7 @@ const xq = /* @__PURE__ */ Yo(kq), hd = (t, e, r) => {
|
|
|
25696
25696
|
};
|
|
25697
25697
|
}, Pq = () => [{
|
|
25698
25698
|
name: "car",
|
|
25699
|
-
data:
|
|
25699
|
+
data: at
|
|
25700
25700
|
}], Lh = x(!1), C_ = (t, e) => {
|
|
25701
25701
|
const {
|
|
25702
25702
|
closeFormWithoutUpdateComparison: r,
|
|
@@ -25705,10 +25705,10 @@ const xq = /* @__PURE__ */ Yo(kq), hd = (t, e, r) => {
|
|
|
25705
25705
|
setInitialUserInfoInStore: i,
|
|
25706
25706
|
removeSessionState: o,
|
|
25707
25707
|
openQuotationModal: u
|
|
25708
|
-
} =
|
|
25708
|
+
} = ot(e), { vehicleFormDataIsNotChanged: c } = hd(
|
|
25709
25709
|
t.userInformation,
|
|
25710
25710
|
t.insuranceState,
|
|
25711
|
-
|
|
25711
|
+
at
|
|
25712
25712
|
), l = () => `${t.link}#/<<COMPARISONID>>/dekkingen/`, s = () => L(void 0, null, function* () {
|
|
25713
25713
|
return (yield Ue([
|
|
25714
25714
|
"license",
|
|
@@ -25723,7 +25723,7 @@ const xq = /* @__PURE__ */ Yo(kq), hd = (t, e, r) => {
|
|
|
25723
25723
|
"isLicensePlateCantBeRetrievedHiddenField"
|
|
25724
25724
|
])) && !Lh.value;
|
|
25725
25725
|
}), d = () => {
|
|
25726
|
-
Object.assign(
|
|
25726
|
+
Object.assign(at, t.insuranceState);
|
|
25727
25727
|
}, p = (m) => {
|
|
25728
25728
|
C.city = m.city, C.street = m.street;
|
|
25729
25729
|
}, f = () => L(void 0, null, function* () {
|
|
@@ -25734,7 +25734,7 @@ const xq = /* @__PURE__ */ Yo(kq), hd = (t, e, r) => {
|
|
|
25734
25734
|
try {
|
|
25735
25735
|
if (yield s())
|
|
25736
25736
|
if (t.formLocation === D.isOnCoveragePage)
|
|
25737
|
-
n({ userInformation: C, carState:
|
|
25737
|
+
n({ userInformation: C, carState: at });
|
|
25738
25738
|
else {
|
|
25739
25739
|
const m = Pq();
|
|
25740
25740
|
yield a("car", m, l());
|
|
@@ -25744,7 +25744,7 @@ const xq = /* @__PURE__ */ Yo(kq), hd = (t, e, r) => {
|
|
|
25744
25744
|
}
|
|
25745
25745
|
}), h = (m) => {
|
|
25746
25746
|
console.error(m), B.refId = "192", B.notes.push({ text: "Kan geen comparison ID aanmaken voor autoverzekering vergelijking" }), B.notes.push({
|
|
25747
|
-
text: `Kenteken: ${
|
|
25747
|
+
text: `Kenteken: ${at.LicensePlate} | Postcode: ${C.zipcode} | Huisnummer: ${C.houseNumber} | Huisnummer toevoeging: ${C.houseNumberAddition} | Geboortedatum: ${C.birthdate}`
|
|
25748
25748
|
}), B.notes = er(B.notes), u();
|
|
25749
25749
|
};
|
|
25750
25750
|
return ke(() => {
|
|
@@ -25800,7 +25800,7 @@ const xq = /* @__PURE__ */ Yo(kq), hd = (t, e, r) => {
|
|
|
25800
25800
|
} = C_(t, e);
|
|
25801
25801
|
return {
|
|
25802
25802
|
userState: C,
|
|
25803
|
-
carState:
|
|
25803
|
+
carState: at,
|
|
25804
25804
|
hasNewDesign: te,
|
|
25805
25805
|
errors: J,
|
|
25806
25806
|
isRequestIsHandling: q,
|
|
@@ -25879,7 +25879,7 @@ const Rq = k_.exports, $q = I({
|
|
|
25879
25879
|
} = C_(t, e);
|
|
25880
25880
|
return {
|
|
25881
25881
|
userState: C,
|
|
25882
|
-
carState:
|
|
25882
|
+
carState: at,
|
|
25883
25883
|
errors: J,
|
|
25884
25884
|
isRequestIsHandling: q,
|
|
25885
25885
|
houseError: r,
|
|
@@ -26063,55 +26063,55 @@ var R_ = /* @__PURE__ */ M(
|
|
|
26063
26063
|
);
|
|
26064
26064
|
R_.options.__file = "/Users/davenieberg/AllRepos/comparison-forms/src/insurances/loan/components/formFields/loanAmount.vue";
|
|
26065
26065
|
const $_ = R_.exports;
|
|
26066
|
-
var
|
|
26066
|
+
var lt = /* @__PURE__ */ ((t) => (t.PurchaseCar = "02", t.PurchaseBoat = "03", t.PurchaseCaravanCamper = "04", t.PurchaseHousehold = "32", t.PurchaseMotor = "05", t.PurchaseRecreationalHome = "11", t.RefinanceExistingLoans = "09", t.HomeRenovation = "06", t.EnergySavingMeasures = "07", t.PayOffMortgageDebt = "12", t.ExtraFinances = "33", t.Other = "99", t))(lt || {});
|
|
26067
26067
|
const Fq = [
|
|
26068
26068
|
{
|
|
26069
26069
|
title: "Aankoop auto",
|
|
26070
|
-
value:
|
|
26070
|
+
value: lt.PurchaseCar
|
|
26071
26071
|
},
|
|
26072
26072
|
{
|
|
26073
26073
|
title: "Aankoop boot",
|
|
26074
|
-
value:
|
|
26074
|
+
value: lt.PurchaseBoat
|
|
26075
26075
|
},
|
|
26076
26076
|
{
|
|
26077
26077
|
title: "Aankoop caravan/camper",
|
|
26078
|
-
value:
|
|
26078
|
+
value: lt.PurchaseCaravanCamper
|
|
26079
26079
|
},
|
|
26080
26080
|
{
|
|
26081
26081
|
title: "Aankoop inboedel",
|
|
26082
|
-
value:
|
|
26082
|
+
value: lt.PurchaseHousehold
|
|
26083
26083
|
},
|
|
26084
26084
|
{
|
|
26085
26085
|
title: "Aankoop motor",
|
|
26086
|
-
value:
|
|
26086
|
+
value: lt.PurchaseMotor
|
|
26087
26087
|
},
|
|
26088
26088
|
{
|
|
26089
26089
|
title: "Aankoop recreatiewoning",
|
|
26090
|
-
value:
|
|
26090
|
+
value: lt.PurchaseRecreationalHome
|
|
26091
26091
|
},
|
|
26092
26092
|
{
|
|
26093
26093
|
title: "Oversluiten lopende leningen",
|
|
26094
|
-
value:
|
|
26094
|
+
value: lt.RefinanceExistingLoans
|
|
26095
26095
|
},
|
|
26096
26096
|
{
|
|
26097
26097
|
title: "Verbouwing woning",
|
|
26098
|
-
value:
|
|
26098
|
+
value: lt.HomeRenovation
|
|
26099
26099
|
},
|
|
26100
26100
|
{
|
|
26101
26101
|
title: "Energie besparende maatregelen",
|
|
26102
|
-
value:
|
|
26102
|
+
value: lt.EnergySavingMeasures
|
|
26103
26103
|
},
|
|
26104
26104
|
{
|
|
26105
26105
|
title: "Aflossen restschuld woning",
|
|
26106
|
-
value:
|
|
26106
|
+
value: lt.PayOffMortgageDebt
|
|
26107
26107
|
},
|
|
26108
26108
|
{
|
|
26109
26109
|
title: "Extra financiële ruimte",
|
|
26110
|
-
value:
|
|
26110
|
+
value: lt.ExtraFinances
|
|
26111
26111
|
},
|
|
26112
26112
|
{
|
|
26113
26113
|
title: "Anders",
|
|
26114
|
-
value:
|
|
26114
|
+
value: lt.Other
|
|
26115
26115
|
}
|
|
26116
26116
|
], Lq = I({
|
|
26117
26117
|
name: "LoanPurpose",
|
|
@@ -26401,7 +26401,7 @@ const Yq = F_.exports, md = [
|
|
|
26401
26401
|
removeSessionState: i,
|
|
26402
26402
|
openQuotationModal: o,
|
|
26403
26403
|
setQuotationData: u
|
|
26404
|
-
} =
|
|
26404
|
+
} = ot(e), c = x(!1), l = x(!1), s = x(!1), d = x(!1), p = x(null), f = x(null), h = W(() => ({
|
|
26405
26405
|
catalogValue: {
|
|
26406
26406
|
refId: "112",
|
|
26407
26407
|
headerTitle: "Cataloguswaarde te hoog",
|
|
@@ -27365,7 +27365,7 @@ const hV = eb.exports, vV = [
|
|
|
27365
27365
|
setInitialUserInfoInStore: o,
|
|
27366
27366
|
removeSessionState: u,
|
|
27367
27367
|
openQuotationModal: c
|
|
27368
|
-
} =
|
|
27368
|
+
} = ot(e), l = () => `${t.link}#/<<COMPARISONID>>`, s = () => L(void 0, null, function* () {
|
|
27369
27369
|
try {
|
|
27370
27370
|
(yield d()) && (t.formLocation === D.isOnResultPage ? i({ userInformation: C, houseState: Pn }) : a("housing", mV(), l()));
|
|
27371
27371
|
} catch (h) {
|
|
@@ -27581,7 +27581,7 @@ const wd = (t, e) => {
|
|
|
27581
27581
|
setInitialUserInfoInStore: a,
|
|
27582
27582
|
removeSessionState: i,
|
|
27583
27583
|
openQuotationModal: o
|
|
27584
|
-
} =
|
|
27584
|
+
} = ot(e), u = () => `${t.link}#/<<COMPARISONID>>/resultaten/`, c = () => L(void 0, null, function* () {
|
|
27585
27585
|
Ru.value = !bt.ownedBuilding;
|
|
27586
27586
|
const p = [
|
|
27587
27587
|
"zipcode",
|
|
@@ -28048,7 +28048,7 @@ const jV = vb.exports, FV = () => [{
|
|
|
28048
28048
|
setInitialUserInfoInStore: a,
|
|
28049
28049
|
removeSessionState: i,
|
|
28050
28050
|
openQuotationModal: o
|
|
28051
|
-
} =
|
|
28051
|
+
} = ot(e), u = x(!1), c = [
|
|
28052
28052
|
{ rule: "required", text: "Kies een gezinsamenstelling" }
|
|
28053
28053
|
], l = () => `${t.link}#/<<COMPARISONID>>/resultaten/`, s = () => L(void 0, null, function* () {
|
|
28054
28054
|
return (yield Ue([
|
|
@@ -28254,7 +28254,7 @@ const YV = { min: 16, max: 99 }, wb = (t, e) => {
|
|
|
28254
28254
|
setInitialUserInfoInStore: i,
|
|
28255
28255
|
removeSessionState: o,
|
|
28256
28256
|
openQuotationModal: u
|
|
28257
|
-
} =
|
|
28257
|
+
} = ot(e), { vehicleFormDataIsNotChanged: c } = hd(
|
|
28258
28258
|
t.userInformation,
|
|
28259
28259
|
t.insuranceState,
|
|
28260
28260
|
Cr
|
|
@@ -28492,7 +28492,7 @@ const xb = (t, e) => {
|
|
|
28492
28492
|
setInitialUserInfoInStore: i,
|
|
28493
28493
|
removeSessionState: o,
|
|
28494
28494
|
openQuotationModal: u
|
|
28495
|
-
} =
|
|
28495
|
+
} = ot(e), { vehicleFormDataIsNotChanged: c } = hd(
|
|
28496
28496
|
t.userInformation,
|
|
28497
28497
|
t.insuranceState,
|
|
28498
28498
|
ir
|
|
@@ -28721,7 +28721,7 @@ const iH = Rb.exports, oH = () => {
|
|
|
28721
28721
|
submitFormAndCreateComparison: r,
|
|
28722
28722
|
removeSessionState: n,
|
|
28723
28723
|
openQuotationModal: a
|
|
28724
|
-
} =
|
|
28724
|
+
} = ot(e), i = x(!1), o = "https://mijn.vergelijkdirect.com/docs/VOORWAARDEN-MV.pdf", u = "https://vergelijkdirect.com/", c = () => `${t.link}#/<<COMPARISONID>>`, l = () => L(void 0, null, function* () {
|
|
28725
28725
|
return yield Ue([
|
|
28726
28726
|
"comparisons",
|
|
28727
28727
|
"firstName",
|
|
@@ -29020,7 +29020,7 @@ const gH = Bb.exports, yH = () => ({
|
|
|
29020
29020
|
submitFormAndRedirect: n,
|
|
29021
29021
|
setInitialUserInfoInStore: a,
|
|
29022
29022
|
removeSessionState: i
|
|
29023
|
-
} =
|
|
29023
|
+
} = ot(e), o = x(!1), u = x(!1), c = W(() => {
|
|
29024
29024
|
const v = he.kind === "dog" ? 7 : 11, g = [];
|
|
29025
29025
|
for (let b = 0; b <= v; b++)
|
|
29026
29026
|
g.push({
|
|
@@ -29576,7 +29576,7 @@ const EH = "254", MH = (t, e) => {
|
|
|
29576
29576
|
const {
|
|
29577
29577
|
setQuotationData: r,
|
|
29578
29578
|
submitAndSendQuotationData: n
|
|
29579
|
-
} =
|
|
29579
|
+
} = ot(e), a = W(() => [{
|
|
29580
29580
|
rule: "required",
|
|
29581
29581
|
text: "Voornaam is verplicht"
|
|
29582
29582
|
}]), i = W(() => [
|
|
@@ -29726,7 +29726,7 @@ Qb.options.__file = "/Users/davenieberg/AllRepos/comparison-forms/src/components
|
|
|
29726
29726
|
const jH = Qb.exports, FH = (t, e) => {
|
|
29727
29727
|
const {
|
|
29728
29728
|
submitFormAndRedirect: r
|
|
29729
|
-
} =
|
|
29729
|
+
} = ot(e), n = (d) => Gv(d) ? d : d + "/", a = x(!1);
|
|
29730
29730
|
let i = x(!1), o = t.additionalOptions.qaUrl || n(Ea.getQAUrl()), u = t.additionalOptions.qaId || su.qaId, c = t.additionalOptions.currentItemId || su.currentItemId, l = t.additionalOptions.nextItemId || su.nextItemId;
|
|
29731
29731
|
const s = () => L(void 0, null, function* () {
|
|
29732
29732
|
try {
|
|
@@ -29847,7 +29847,7 @@ const qH = ew.exports, VH = () => [{
|
|
|
29847
29847
|
Kids: [],
|
|
29848
29848
|
TravelData: {
|
|
29849
29849
|
CommencingDate: P().format("YYYY-MM-DD"),
|
|
29850
|
-
PaymentTerm:
|
|
29850
|
+
PaymentTerm: nt.PaymentTerm,
|
|
29851
29851
|
NumberOfKids: 0,
|
|
29852
29852
|
MaximumTravelDuration: 60,
|
|
29853
29853
|
CoverageRegion: "E",
|
|
@@ -29863,7 +29863,7 @@ const qH = ew.exports, VH = () => [{
|
|
|
29863
29863
|
GolfEquipment: "N",
|
|
29864
29864
|
DiveEquipment: "N",
|
|
29865
29865
|
AmountLuggage: 1e3,
|
|
29866
|
-
CoverageCancellation:
|
|
29866
|
+
CoverageCancellation: nt.PaymentTerm === "L" ? "3008" : "3017",
|
|
29867
29867
|
AmountCancellation: 0,
|
|
29868
29868
|
NumberOfCars: 0,
|
|
29869
29869
|
NumberOfCaravans: 0,
|
|
@@ -29889,11 +29889,11 @@ const Dd = (t, e) => {
|
|
|
29889
29889
|
setInitialUserInfoInStore: a,
|
|
29890
29890
|
removeSessionState: i,
|
|
29891
29891
|
openQuotationModal: o
|
|
29892
|
-
} =
|
|
29892
|
+
} = ot(e), u = () => L(void 0, null, function* () {
|
|
29893
29893
|
try {
|
|
29894
29894
|
if (yield c())
|
|
29895
29895
|
if (t.formLocation === D.isOnResultPage)
|
|
29896
|
-
r({ userInformation: C, travelState: Td(gt({},
|
|
29896
|
+
console.log(nt), r({ userInformation: C, travelState: Td(gt({}, nt), { isPaymentTermChanged: Tu.value }) });
|
|
29897
29897
|
else {
|
|
29898
29898
|
const d = VH();
|
|
29899
29899
|
yield n("travel", d, `${t.link}#/<<COMPARISONID>>/tarieven/`);
|
|
@@ -29908,22 +29908,22 @@ const Dd = (t, e) => {
|
|
|
29908
29908
|
]);
|
|
29909
29909
|
}), l = (d) => {
|
|
29910
29910
|
console.error(d), B.refId = "192", B.headerTitle = "Oops. Er gaat iets mis", B.description = "Door een technische storing kunnen we op dit moment geen premies vergelijken. Laat je gegevens achter en we helpen je zo snel mogelijk telefonisch verder!", B.notes.push({ text: "Kan geen comparison ID aanmaken voor reisverzekering vergelijking" }), B.notes.push({
|
|
29911
|
-
text: `Dekking: ${
|
|
29911
|
+
text: `Dekking: ${nt.PaymentTerm} | Geboortedatum: ${C.birthdate}`
|
|
29912
29912
|
}), B.notes = er(B.notes), o();
|
|
29913
29913
|
}, s = () => {
|
|
29914
29914
|
if (t.additionalOptions && t.additionalOptions.travelCoverageType) {
|
|
29915
|
-
|
|
29915
|
+
nt.PaymentTerm = t.additionalOptions.travelCoverageType === "short" ? "S" : "L";
|
|
29916
29916
|
return;
|
|
29917
29917
|
}
|
|
29918
|
-
|
|
29918
|
+
nt.PaymentTerm = t.insuranceState.paymentTerm || nt.PaymentTerm;
|
|
29919
29919
|
};
|
|
29920
|
-
return In(() =>
|
|
29921
|
-
t.formLocation !== D.isBeforeFlow &&
|
|
29920
|
+
return In(() => nt.PaymentTerm, (d) => {
|
|
29921
|
+
t.formLocation !== D.isBeforeFlow && nt.PaymentTerm !== t.insuranceState.paymentTerm && (Tu.value = !0);
|
|
29922
29922
|
}), ke(() => {
|
|
29923
29923
|
t.formLocation === D.isOnResultPage && (a(t), s()), t.formLocation === D.isBeforeFlow && (s(), i("travel-storage", "travel-path"));
|
|
29924
29924
|
}), {
|
|
29925
29925
|
userState: C,
|
|
29926
|
-
travelState:
|
|
29926
|
+
travelState: nt,
|
|
29927
29927
|
validateBeforeSubmit: u
|
|
29928
29928
|
};
|
|
29929
29929
|
}, Ad = [
|
|
@@ -29997,7 +29997,7 @@ const Dd = (t, e) => {
|
|
|
29997
29997
|
paymentTerms: Ad,
|
|
29998
29998
|
errors: J,
|
|
29999
29999
|
userState: C,
|
|
30000
|
-
travelState:
|
|
30000
|
+
travelState: nt,
|
|
30001
30001
|
hasNewDesign: te,
|
|
30002
30002
|
isRequestIsHandling: q,
|
|
30003
30003
|
validateBeforeSubmit: r
|
|
@@ -30087,7 +30087,7 @@ const UH = rw.exports, YH = I({
|
|
|
30087
30087
|
paymentTerms: Ad,
|
|
30088
30088
|
errors: J,
|
|
30089
30089
|
userState: C,
|
|
30090
|
-
travelState:
|
|
30090
|
+
travelState: nt,
|
|
30091
30091
|
hasNewDesign: te,
|
|
30092
30092
|
isRequestIsHandling: q,
|
|
30093
30093
|
validateBeforeSubmit: r
|
|
@@ -30180,7 +30180,7 @@ const GH = aw.exports, KH = I({
|
|
|
30180
30180
|
paymentTerms: Ad,
|
|
30181
30181
|
errors: J,
|
|
30182
30182
|
userState: C,
|
|
30183
|
-
travelState:
|
|
30183
|
+
travelState: nt,
|
|
30184
30184
|
hasNewDesign: te,
|
|
30185
30185
|
FamilyCompositionsModel: ai,
|
|
30186
30186
|
isRequestIsHandling: q,
|