@konnectio/core 4.2.17 → 4.2.19
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/{ActionField-BJW87lcj.js → ActionField-B9Q0D5JZ.js} +2 -2
- package/dist/ActionField-B9Q0D5JZ.js.br +0 -0
- package/dist/{AvailabilitySkeleton-TUWmqwq2.js → AvailabilitySkeleton-BE2WHPoT.js} +5 -5
- package/dist/AvailabilitySkeleton-BE2WHPoT.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D-bpr23F.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Bfh6Uqp2.js} +2 -2
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Bfh6Uqp2.js.br +0 -0
- package/dist/{CheckoutWindow-NlzNanhJ.js → CheckoutWindow-PWUgNbBH.js} +117 -117
- package/dist/CheckoutWindow-PWUgNbBH.js.br +0 -0
- package/dist/{ErrorMessage-D6fR14ZK.js → ErrorMessage-2zh3BbDl.js} +2 -2
- package/dist/ErrorMessage-2zh3BbDl.js.br +0 -0
- package/dist/{EventAvailabilityForm-DFxr_2ax.js → EventAvailabilityForm-f2qiIcjs.js} +3 -3
- package/dist/EventAvailabilityForm-f2qiIcjs.js.br +0 -0
- package/dist/{Field-B8gsbdXP.js → Field-CwvSZG3e.js} +3 -3
- package/dist/Field-CwvSZG3e.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DYjT7oP2.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BxI0krY8.js} +2 -2
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-CKmdnn_x.js → SelectField.vue_vue_type_style_index_0_lang-Cc4azhMy.js} +2 -2
- package/dist/SelectField.vue_vue_type_style_index_0_lang-Cc4azhMy.js.br +0 -0
- package/dist/{TermsOfService-TRvQjnyx.js → TermsOfService-CvRWvsp4.js} +3 -3
- package/dist/_-CHe1lb8Z.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-SvbL68LW.js → _.vue_vue_type_style_index_0_lang-BI0xBEm8.js} +2 -2
- package/dist/availability.js +5 -5
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +3 -3
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/event.js +7 -7
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +7 -7
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +8 -8
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-DFnXlpS-.js → giftCard-BUkBOMJw.js} +2 -2
- package/dist/giftCard-BUkBOMJw.js.br +0 -0
- package/dist/hotel.js +8 -8
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-BvXmke5v.js → masonry.plugin-C6Ub_o8C.js} +5 -5
- package/dist/masonry.plugin-C6Ub_o8C.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-BJW87lcj.js.br +0 -0
- package/dist/AvailabilitySkeleton-TUWmqwq2.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D-bpr23F.js.br +0 -0
- package/dist/CheckoutWindow-NlzNanhJ.js.br +0 -0
- package/dist/ErrorMessage-D6fR14ZK.js.br +0 -0
- package/dist/EventAvailabilityForm-DFxr_2ax.js.br +0 -0
- package/dist/Field-B8gsbdXP.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-CKmdnn_x.js.br +0 -0
- package/dist/_-C-yssiii.js +0 -5
- package/dist/giftCard-DFnXlpS-.js.br +0 -0
- package/dist/masonry.plugin-BvXmke5v.js.br +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { d as c, c as m, a as d, b as t, g as i, w as V, e as v, f as q } from "./mitt-gcxZCriv.js";
|
|
2
|
-
import { J as g, x as k, d as B, h as I, T as C, e as T, _ as F } from "./SelectField.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { J as g, x as k, d as B, h as I, T as C, e as T, _ as F } from "./SelectField.vue_vue_type_style_index_0_lang-Cc4azhMy.js";
|
|
3
3
|
const A = { class: "konnectio-action-field" }, L = /* @__PURE__ */ c({
|
|
4
4
|
__name: "ActionField",
|
|
5
5
|
props: {
|
|
@@ -100,4 +100,4 @@ const A = { class: "konnectio-action-field" }, L = /* @__PURE__ */ c({
|
|
|
100
100
|
export {
|
|
101
101
|
w as A
|
|
102
102
|
};
|
|
103
|
-
//# sourceMappingURL=ActionField-
|
|
103
|
+
//# sourceMappingURL=ActionField-B9Q0D5JZ.js.map
|
|
Binary file
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { d as te, u as fe, s as Q, r as b, c as s, D as W, o as ye, h as m, b as u, f as n, w as De, i as x, e as k, a as h, g as t, n as N, B as he, j as ke } from "./mitt-gcxZCriv.js";
|
|
2
|
-
import { u as X, b as we, a as Le, f as Z, P as Ve, T as _e, d as Ae, h as ee, e as ae, w as xe, _ as oe } from "./SelectField.vue_vue_type_style_index_0_lang-
|
|
3
|
-
import { _ as A } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-
|
|
4
|
-
import { E as le } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-
|
|
5
|
-
import { F as p } from "./Field-
|
|
2
|
+
import { u as X, b as we, a as Le, f as Z, P as Ve, T as _e, d as Ae, h as ee, e as ae, w as xe, _ as oe } from "./SelectField.vue_vue_type_style_index_0_lang-Cc4azhMy.js";
|
|
3
|
+
import { _ as A } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Bfh6Uqp2.js";
|
|
4
|
+
import { E as le } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BxI0krY8.js";
|
|
5
|
+
import { F as p } from "./Field-CwvSZG3e.js";
|
|
6
6
|
const Ne = {
|
|
7
7
|
class: "konnectio-availability-location",
|
|
8
8
|
key: "location"
|
|
@@ -317,4 +317,4 @@ export {
|
|
|
317
317
|
qe as A,
|
|
318
318
|
ze as H
|
|
319
319
|
};
|
|
320
|
-
//# sourceMappingURL=AvailabilitySkeleton-
|
|
320
|
+
//# sourceMappingURL=AvailabilitySkeleton-BE2WHPoT.js.map
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { $ as Ma, r as K, d as nt, y as Zt, a3 as ga, o as rt, Q as ht, a0 as ma, D as wt, c as z, h as j, f as vt, a as $e, A as st, v as Fe, g as u, J as et, z as Nn, a4 as tt, a5 as mt, a6 as Wa, M as el, n as Pe, X as tl, W as al, a7 as Wn, q as ue, i as X, e as ye, j as wa, F as Me, K as gt, t as it, w as we, a8 as nl, a9 as rl, b as $, x as Wt, aa as ll, ab as ol, ac as il, E as Ya, G as Ca, T as va, ad as sl } from "./mitt-gcxZCriv.js";
|
|
2
|
-
import { w as Xa, J as ul, x as dl } from "./SelectField.vue_vue_type_style_index_0_lang-
|
|
2
|
+
import { w as Xa, J as ul, x as dl } from "./SelectField.vue_vue_type_style_index_0_lang-Cc4azhMy.js";
|
|
3
3
|
const rr = 6048e5, cl = 864e5, ml = 6e4, lr = 36e5, vl = 1e3, sc = 525600, uc = 43200, dc = 1440, En = Symbol.for("constructDateFrom");
|
|
4
4
|
function Re(e, t) {
|
|
5
5
|
return typeof e == "function" ? e(t) : e && typeof e == "object" && En in e ? e[En](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
|
|
@@ -9439,4 +9439,4 @@ export {
|
|
|
9439
9439
|
dc as m,
|
|
9440
9440
|
Pa as n
|
|
9441
9441
|
};
|
|
9442
|
-
//# sourceMappingURL=AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-
|
|
9442
|
+
//# sourceMappingURL=AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Bfh6Uqp2.js.map
|
package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Bfh6Uqp2.js.br
ADDED
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as $, h as
|
|
2
|
-
import { q as Ve, I as Pe, _ as
|
|
3
|
-
function
|
|
1
|
+
import { d as $, h as y, b as u, e as r, Y as ye, a as I, f as A, w as k, E as Q, K as U, G as Z, T as _, i as w, n as m, q as B, M as me, r as c, o as Y, ae as he, af as ge, D as x, c as q, Q as be, g as f, A as we, t as b, y as Se, J as ke, ad as Ce, u as $e, x as W, s as Be } from "./mitt-gcxZCriv.js";
|
|
2
|
+
import { q as Ve, I as Pe, _ as z, J as ee, x as ne, T as oe, f as Te, Q as Ie } from "./SelectField.vue_vue_type_style_index_0_lang-Cc4azhMy.js";
|
|
3
|
+
function Ae(e) {
|
|
4
4
|
if (Array.isArray(e)) {
|
|
5
5
|
for (var o = 0, l = Array(e.length); o < e.length; o++)
|
|
6
6
|
l[o] = e[o];
|
|
@@ -17,14 +17,14 @@ if (typeof window < "u") {
|
|
|
17
17
|
};
|
|
18
18
|
window.addEventListener("testPassive", null, te), window.removeEventListener("testPassive", null, te);
|
|
19
19
|
}
|
|
20
|
-
var
|
|
20
|
+
var O = typeof window < "u" && window.navigator && window.navigator.platform && (/iP(ad|hone|od)/.test(window.navigator.platform) || window.navigator.platform === "MacIntel" && window.navigator.maxTouchPoints > 1), C = [], D = !1, ae = -1, P = void 0, S = void 0, T = void 0, ie = function(o) {
|
|
21
21
|
return C.some(function(l) {
|
|
22
22
|
return !!(l.options.allowTouchMove && l.options.allowTouchMove(o));
|
|
23
23
|
});
|
|
24
24
|
}, E = function(o) {
|
|
25
25
|
var l = o || window.event;
|
|
26
26
|
return ie(l.target) || l.touches.length > 1 ? !0 : (l.preventDefault && l.preventDefault(), !1);
|
|
27
|
-
},
|
|
27
|
+
}, He = function(o) {
|
|
28
28
|
if (T === void 0) {
|
|
29
29
|
var l = !!o && o.reserveScrollBarGap === !0, n = window.innerWidth - document.documentElement.clientWidth;
|
|
30
30
|
if (l && n > 0) {
|
|
@@ -46,22 +46,22 @@ var q = typeof window < "u" && window.navigator && window.navigator.platform &&
|
|
|
46
46
|
var o = window, l = o.scrollY, n = o.scrollX, a = o.innerHeight;
|
|
47
47
|
document.body.style.position = "fixed", document.body.style.top = -l, document.body.style.left = -n, setTimeout(function() {
|
|
48
48
|
return window.requestAnimationFrame(function() {
|
|
49
|
-
var
|
|
50
|
-
|
|
49
|
+
var s = a - window.innerHeight;
|
|
50
|
+
s && l >= a && (document.body.style.top = -(l + s));
|
|
51
51
|
});
|
|
52
52
|
}, 300);
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
|
-
},
|
|
55
|
+
}, Oe = function() {
|
|
56
56
|
if (S !== void 0) {
|
|
57
57
|
var o = -parseInt(document.body.style.top, 10), l = -parseInt(document.body.style.left, 10);
|
|
58
58
|
document.body.style.position = S.position, document.body.style.top = S.top, document.body.style.left = S.left, window.scrollTo(l, o), S = void 0;
|
|
59
59
|
}
|
|
60
|
-
},
|
|
60
|
+
}, De = function(o) {
|
|
61
61
|
return o ? o.scrollHeight - o.scrollTop <= o.clientHeight : !1;
|
|
62
|
-
},
|
|
62
|
+
}, Ee = function(o, l) {
|
|
63
63
|
var n = o.targetTouches[0].clientY - ae;
|
|
64
|
-
return ie(o.target) ? !1 : l && l.scrollTop === 0 && n > 0 ||
|
|
64
|
+
return ie(o.target) ? !1 : l && l.scrollTop === 0 && n > 0 || De(l) && n < 0 ? E(o) : (o.stopPropagation(), !0);
|
|
65
65
|
}, ze = function(o, l) {
|
|
66
66
|
if (!o) {
|
|
67
67
|
console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");
|
|
@@ -74,10 +74,10 @@ var q = typeof window < "u" && window.navigator && window.navigator.platform &&
|
|
|
74
74
|
targetElement: o,
|
|
75
75
|
options: l || {}
|
|
76
76
|
};
|
|
77
|
-
C = [].concat(
|
|
77
|
+
C = [].concat(Ae(C), [n]), O ? qe() : He(l), O && (o.ontouchstart = function(a) {
|
|
78
78
|
a.targetTouches.length === 1 && (ae = a.targetTouches[0].clientY);
|
|
79
79
|
}, o.ontouchmove = function(a) {
|
|
80
|
-
a.targetTouches.length === 1 &&
|
|
80
|
+
a.targetTouches.length === 1 && Ee(a, o);
|
|
81
81
|
}, D || (document.addEventListener("touchmove", E, j ? { passive: !1 } : void 0), D = !0));
|
|
82
82
|
}
|
|
83
83
|
}, Me = function(o) {
|
|
@@ -87,7 +87,7 @@ var q = typeof window < "u" && window.navigator && window.navigator.platform &&
|
|
|
87
87
|
}
|
|
88
88
|
C = C.filter(function(l) {
|
|
89
89
|
return l.targetElement !== o;
|
|
90
|
-
}),
|
|
90
|
+
}), O && (o.ontouchstart = null, o.ontouchmove = null, D && C.length === 0 && (document.removeEventListener("touchmove", E, j ? { passive: !1 } : void 0), D = !1)), O ? Oe() : Ne();
|
|
91
91
|
}, K = $({
|
|
92
92
|
name: "SidePanelCloseButton",
|
|
93
93
|
emits: ["close"]
|
|
@@ -101,8 +101,8 @@ const Le = /* @__PURE__ */ r(
|
|
|
101
101
|
), Fe = [
|
|
102
102
|
Le
|
|
103
103
|
];
|
|
104
|
-
function Ge(e, o, l, n, a,
|
|
105
|
-
return u(),
|
|
104
|
+
function Ge(e, o, l, n, a, s) {
|
|
105
|
+
return u(), y("div", {
|
|
106
106
|
class: "vsp-close",
|
|
107
107
|
onClick: o[0] || (o[0] = (t) => e.$emit("close"))
|
|
108
108
|
}, [...Fe]);
|
|
@@ -201,52 +201,52 @@ var X = $({
|
|
|
201
201
|
emits: ["update:modelValue", "closed", "opened"],
|
|
202
202
|
setup(e, { emit: o, attrs: l }) {
|
|
203
203
|
let n;
|
|
204
|
-
const a = c(null),
|
|
205
|
-
window?.innerHeight > 0 && (
|
|
206
|
-
}, de = () => o("update:modelValue", !1),
|
|
204
|
+
const a = c(null), s = c(null), t = c(null), d = c(null), i = c(null), p = c(0), h = c(0), H = c(0), M = c(0), L = c(0), F = c(), J = c(!1), V = async () => {
|
|
205
|
+
window?.innerHeight > 0 && (L.value = window.innerHeight), p.value = t.value ? t.value.clientHeight : 0, H.value = d.value ? d.value.clientHeight : 0, h.value = i.value ? i.value.scrollHeight : 0, M.value = a.value ? a.value.clientHeight : 0;
|
|
206
|
+
}, de = () => o("update:modelValue", !1), G = (v, g) => {
|
|
207
207
|
if (g) {
|
|
208
208
|
setTimeout(() => {
|
|
209
|
-
ze(
|
|
209
|
+
ze(v, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
|
|
210
210
|
}, 0);
|
|
211
211
|
return;
|
|
212
212
|
}
|
|
213
|
-
Me(
|
|
214
|
-
}, re = () => Math.max(...Array.from(document.querySelectorAll("body *"), (
|
|
213
|
+
Me(v), e.lockScrollHtml && document.documentElement.style.removeProperty("overflow");
|
|
214
|
+
}, re = () => Math.max(...Array.from(document.querySelectorAll("body *"), (v) => parseFloat(window.getComputedStyle(v).zIndex)).filter((v) => !Number.isNaN(v)), 0);
|
|
215
215
|
Y(() => {
|
|
216
|
-
|
|
216
|
+
F.value = e.zIndex === "auto" ? re() : e.zIndex;
|
|
217
217
|
}), he(() => {
|
|
218
218
|
document.getElementById(e.idName) || (n = document.createElement("div"), n.setAttribute("id", e.idName), document.body.appendChild(n));
|
|
219
219
|
}), ge(() => {
|
|
220
|
-
const { modelValue:
|
|
221
|
-
g && a.value &&
|
|
222
|
-
}), x(() => [
|
|
220
|
+
const { modelValue: v, lockScroll: g } = e;
|
|
221
|
+
g && a.value && v && G(a.value, !1), n && document.body.removeChild(n), window.removeEventListener("resize", V);
|
|
222
|
+
}), x(() => [d.value, t.value, e.height, e.width, e.side, e.modelValue], () => {
|
|
223
223
|
be(() => V());
|
|
224
|
-
}), x(() => [e.modelValue, a.value], (
|
|
225
|
-
const fe = g ? g[0] : !1, [
|
|
224
|
+
}), x(() => [e.modelValue, a.value], (v, g) => {
|
|
225
|
+
const fe = g ? g[0] : !1, [R, N] = v, pe = R, ve = fe && !R;
|
|
226
226
|
if (N) {
|
|
227
|
-
if (pe && (J.value = !!document.body.style.overflow),
|
|
228
|
-
e.lockScroll &&
|
|
227
|
+
if (pe && (J.value = !!document.body.style.overflow), R) {
|
|
228
|
+
e.lockScroll && G(N, !0), V(), window.addEventListener("resize", V);
|
|
229
229
|
return;
|
|
230
230
|
}
|
|
231
|
-
!e.lockScroll || !
|
|
232
|
-
N &&
|
|
231
|
+
!e.lockScroll || !ve || J.value || (setTimeout(() => {
|
|
232
|
+
N && G(N, !1);
|
|
233
233
|
}, e.panelDuration), window.removeEventListener("resize", V));
|
|
234
234
|
}
|
|
235
235
|
}, { immediate: !0 });
|
|
236
|
-
const se =
|
|
237
|
-
if (!
|
|
236
|
+
const se = q(() => {
|
|
237
|
+
if (!M.value)
|
|
238
238
|
return;
|
|
239
|
-
const
|
|
240
|
-
let g =
|
|
241
|
-
return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g =
|
|
242
|
-
}), ue =
|
|
243
|
-
zIndex:
|
|
239
|
+
const v = h.value + H.value + p.value;
|
|
240
|
+
let g = M.value - H.value - p.value;
|
|
241
|
+
return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g = L.value >= v ? h.value : L.value - H.value - p.value), g;
|
|
242
|
+
}), ue = q(() => ({
|
|
243
|
+
zIndex: F.value,
|
|
244
244
|
animationDuration: `${e.overlayDuration}ms`,
|
|
245
245
|
"--overlay-opacity": e.overlayOpacity,
|
|
246
246
|
opacity: e.modelValue ? e.overlayOpacity : 0,
|
|
247
247
|
backgroundColor: e.overlayColor,
|
|
248
248
|
pointerEvents: e.modelValue ? "all" : "none"
|
|
249
|
-
})), ce =
|
|
249
|
+
})), ce = q(() => ({
|
|
250
250
|
width: ["left", "right"].includes(e.side) ? e.width : void 0,
|
|
251
251
|
maxWidth: "100%",
|
|
252
252
|
...["top", "bottom"].includes(e.side) ? {
|
|
@@ -254,17 +254,17 @@ var X = $({
|
|
|
254
254
|
height: e.height,
|
|
255
255
|
maxHeight: "100%"
|
|
256
256
|
} : {},
|
|
257
|
-
zIndex:
|
|
257
|
+
zIndex: F.value,
|
|
258
258
|
backgroundColor: e.panelColor,
|
|
259
259
|
animationDuration: `${e.panelDuration}ms`,
|
|
260
260
|
...Object.assign({}, l.style)
|
|
261
261
|
}));
|
|
262
262
|
return {
|
|
263
|
-
body:
|
|
263
|
+
body: i,
|
|
264
264
|
panel: a,
|
|
265
|
-
overlay:
|
|
265
|
+
overlay: s,
|
|
266
266
|
overlayStyles: ue,
|
|
267
|
-
header:
|
|
267
|
+
header: d,
|
|
268
268
|
footer: t,
|
|
269
269
|
closePanel: de,
|
|
270
270
|
panelStyles: ce,
|
|
@@ -272,9 +272,9 @@ var X = $({
|
|
|
272
272
|
};
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
|
-
function Re(e, o, l, n, a,
|
|
276
|
-
const t =
|
|
277
|
-
return u(),
|
|
275
|
+
function Re(e, o, l, n, a, s) {
|
|
276
|
+
const t = ye("SidePanelCloseButton");
|
|
277
|
+
return u(), I(me, {
|
|
278
278
|
to: `#${e.idName}`
|
|
279
279
|
}, [
|
|
280
280
|
r(
|
|
@@ -283,7 +283,7 @@ function Re(e, o, l, n, a, i) {
|
|
|
283
283
|
class: m(["vsp-wrapper", [e.modelValue && "vsp-wrapper--active"]])
|
|
284
284
|
},
|
|
285
285
|
[
|
|
286
|
-
|
|
286
|
+
A(_, {
|
|
287
287
|
name: "overlay",
|
|
288
288
|
persisted: ""
|
|
289
289
|
}, {
|
|
@@ -293,7 +293,7 @@ function Re(e, o, l, n, a, i) {
|
|
|
293
293
|
{
|
|
294
294
|
ref: "overlay",
|
|
295
295
|
class: "vsp-overlay",
|
|
296
|
-
style:
|
|
296
|
+
style: U(e.overlayStyles),
|
|
297
297
|
onClick: o[0] || (o[0] = () => e.noClose ? void 0 : e.closePanel())
|
|
298
298
|
},
|
|
299
299
|
null,
|
|
@@ -306,22 +306,22 @@ function Re(e, o, l, n, a, i) {
|
|
|
306
306
|
_: 1
|
|
307
307
|
/* STABLE */
|
|
308
308
|
}),
|
|
309
|
-
|
|
309
|
+
A(_, {
|
|
310
310
|
name: e.transitionName || `slide-${e.side}`,
|
|
311
|
-
onAfterEnter: o[1] || (o[1] = (
|
|
312
|
-
onAfterLeave: o[2] || (o[2] = (
|
|
311
|
+
onAfterEnter: o[1] || (o[1] = (d) => e.$emit("opened")),
|
|
312
|
+
onAfterLeave: o[2] || (o[2] = (d) => e.$emit("closed"))
|
|
313
313
|
}, {
|
|
314
314
|
default: k(() => [
|
|
315
|
-
!e.rerender || e.modelValue ? Q((u(),
|
|
315
|
+
!e.rerender || e.modelValue ? Q((u(), y(
|
|
316
316
|
"div",
|
|
317
317
|
{
|
|
318
318
|
key: 0,
|
|
319
319
|
ref: "panel",
|
|
320
320
|
class: m(["vsp", [`vsp--${e.side}-side`, e.$attrs.class]]),
|
|
321
|
-
style:
|
|
321
|
+
style: U(e.panelStyles)
|
|
322
322
|
},
|
|
323
323
|
[
|
|
324
|
-
e.$slots.header ? (u(),
|
|
324
|
+
e.$slots.header ? (u(), y(
|
|
325
325
|
"div",
|
|
326
326
|
{
|
|
327
327
|
key: 0,
|
|
@@ -339,11 +339,11 @@ function Re(e, o, l, n, a, i) {
|
|
|
339
339
|
{
|
|
340
340
|
ref: "body",
|
|
341
341
|
class: m([e.bodyClass, "vsp__body"]),
|
|
342
|
-
style:
|
|
342
|
+
style: U({ height: `${e.bodyHeight}px` })
|
|
343
343
|
},
|
|
344
344
|
[
|
|
345
345
|
B(e.$slots, "default", { close: e.closePanel }),
|
|
346
|
-
e.hideCloseBtn ? w("v-if", !0) : (u(),
|
|
346
|
+
e.hideCloseBtn ? w("v-if", !0) : (u(), I(t, {
|
|
347
347
|
key: 0,
|
|
348
348
|
onClose: e.closePanel
|
|
349
349
|
}, null, 8, ["onClose"]))
|
|
@@ -351,7 +351,7 @@ function Re(e, o, l, n, a, i) {
|
|
|
351
351
|
6
|
|
352
352
|
/* CLASS, STYLE */
|
|
353
353
|
),
|
|
354
|
-
e.$slots.footer ? (u(),
|
|
354
|
+
e.$slots.footer ? (u(), y(
|
|
355
355
|
"div",
|
|
356
356
|
{
|
|
357
357
|
key: 1,
|
|
@@ -400,62 +400,62 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
|
|
|
400
400
|
},
|
|
401
401
|
emits: ["update:modelValue", "opened", "closed"],
|
|
402
402
|
setup(e, { emit: o }) {
|
|
403
|
-
const l = o;
|
|
404
|
-
function
|
|
403
|
+
const l = o, n = q(() => /(iPad|iPhone|iPod)/g.test(navigator.userAgent));
|
|
404
|
+
function a() {
|
|
405
405
|
l("closed");
|
|
406
406
|
}
|
|
407
|
-
function
|
|
407
|
+
function s() {
|
|
408
408
|
l("opened");
|
|
409
409
|
}
|
|
410
|
-
return (
|
|
411
|
-
modelValue:
|
|
412
|
-
"lock-scroll":
|
|
413
|
-
"hide-close-btn":
|
|
414
|
-
width:
|
|
415
|
-
"onUpdate:modelValue":
|
|
416
|
-
onClosed:
|
|
417
|
-
onOpened:
|
|
410
|
+
return (t, d) => (u(), I(f(X), {
|
|
411
|
+
modelValue: t.modelValue,
|
|
412
|
+
"lock-scroll": !n.value && t.lockScroll,
|
|
413
|
+
"hide-close-btn": t.hideCloseButton,
|
|
414
|
+
width: t.width,
|
|
415
|
+
"onUpdate:modelValue": d[1] || (d[1] = (i) => t.$emit("update:modelValue", i)),
|
|
416
|
+
onClosed: a,
|
|
417
|
+
onOpened: s
|
|
418
418
|
}, we({
|
|
419
419
|
header: k(() => [
|
|
420
420
|
r("div", Ue, [
|
|
421
421
|
r("h2", We, [
|
|
422
|
-
r("span", null, b(f(Ve)(
|
|
422
|
+
r("span", null, b(f(Ve)(t.title)), 1),
|
|
423
423
|
r("button", {
|
|
424
424
|
id: "konnectio-side-panel-close",
|
|
425
|
-
onClick:
|
|
425
|
+
onClick: d[0] || (d[0] = (i) => t.$emit("update:modelValue", !1))
|
|
426
426
|
}, [
|
|
427
|
-
|
|
427
|
+
A(Pe, {
|
|
428
428
|
icon: "times",
|
|
429
429
|
type: "fas",
|
|
430
430
|
color: "header"
|
|
431
431
|
})
|
|
432
432
|
])
|
|
433
433
|
]),
|
|
434
|
-
|
|
435
|
-
r("span", null, b(
|
|
434
|
+
t.subtitle ? (u(), y("h4", Ye, [
|
|
435
|
+
r("span", null, b(t.subtitle), 1)
|
|
436
436
|
])) : w("", !0)
|
|
437
437
|
])
|
|
438
438
|
]),
|
|
439
439
|
default: k(() => [
|
|
440
|
-
|
|
440
|
+
t.description ? (u(), y("div", {
|
|
441
441
|
key: 0,
|
|
442
442
|
class: "konnectio-side-panel-description",
|
|
443
|
-
innerHTML:
|
|
443
|
+
innerHTML: t.description
|
|
444
444
|
}, null, 8, je)) : w("", !0),
|
|
445
|
-
B(
|
|
445
|
+
B(t.$slots, "default", {}, void 0, !0)
|
|
446
446
|
]),
|
|
447
447
|
_: 2
|
|
448
448
|
}, [
|
|
449
|
-
|
|
449
|
+
t.$slots.footer ? {
|
|
450
450
|
name: "footer",
|
|
451
451
|
fn: k(() => [
|
|
452
|
-
B(
|
|
452
|
+
B(t.$slots, "footer", {}, void 0, !0)
|
|
453
453
|
]),
|
|
454
454
|
key: "0"
|
|
455
455
|
} : void 0
|
|
456
456
|
]), 1032, ["modelValue", "lock-scroll", "hide-close-btn", "width"]));
|
|
457
457
|
}
|
|
458
|
-
}), ro = /* @__PURE__ */
|
|
458
|
+
}), ro = /* @__PURE__ */ z(Ke, [["__scopeId", "data-v-0243d513"]]), Xe = { class: "konnectio-phone-input" }, Je = /* @__PURE__ */ $({
|
|
459
459
|
__name: "PhoneField",
|
|
460
460
|
props: {
|
|
461
461
|
modelValue: {},
|
|
@@ -470,40 +470,40 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
|
|
|
470
470
|
},
|
|
471
471
|
emits: ["update:modelValue"],
|
|
472
472
|
setup(e, { emit: o }) {
|
|
473
|
-
const l = o, n = e, a = n.id || ee(),
|
|
474
|
-
function
|
|
475
|
-
l("update:modelValue", `${
|
|
473
|
+
const l = o, n = e, a = n.id || ee(), s = c("+45"), t = c("");
|
|
474
|
+
function d() {
|
|
475
|
+
l("update:modelValue", `${s.value} ${t.value}`);
|
|
476
476
|
}
|
|
477
477
|
return Y(() => {
|
|
478
478
|
if (n.modelValue) {
|
|
479
|
-
const
|
|
480
|
-
|
|
479
|
+
const i = n.modelValue.split(" ");
|
|
480
|
+
s.value = i[0], t.value = i[1];
|
|
481
481
|
}
|
|
482
|
-
}), (
|
|
483
|
-
label:
|
|
482
|
+
}), (i, p) => (u(), I(ne, {
|
|
483
|
+
label: i.label,
|
|
484
484
|
id: f(a),
|
|
485
485
|
type: "phone",
|
|
486
|
-
required:
|
|
487
|
-
readonly:
|
|
486
|
+
required: i.required,
|
|
487
|
+
readonly: i.readonly
|
|
488
488
|
}, {
|
|
489
489
|
default: k(() => [
|
|
490
490
|
r("div", Xe, [
|
|
491
|
-
|
|
492
|
-
modelValue:
|
|
493
|
-
"onUpdate:modelValue": p[0] || (p[0] = (h) =>
|
|
491
|
+
A(oe, {
|
|
492
|
+
modelValue: s.value,
|
|
493
|
+
"onUpdate:modelValue": p[0] || (p[0] = (h) => s.value = h),
|
|
494
494
|
type: "text",
|
|
495
495
|
id: f(ee)(),
|
|
496
496
|
name: "phone-code",
|
|
497
497
|
autocomplete: "tel-country-code",
|
|
498
|
-
icon:
|
|
499
|
-
"icon-color":
|
|
500
|
-
"icon-type":
|
|
498
|
+
icon: i.icon,
|
|
499
|
+
"icon-color": i.iconColor,
|
|
500
|
+
"icon-type": i.iconType,
|
|
501
501
|
placeholder: "+XX",
|
|
502
|
-
required:
|
|
503
|
-
readonly:
|
|
504
|
-
onInput: p[1] || (p[1] = (h) =>
|
|
502
|
+
required: i.required,
|
|
503
|
+
readonly: i.readonly,
|
|
504
|
+
onInput: p[1] || (p[1] = (h) => d())
|
|
505
505
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly"]),
|
|
506
|
-
|
|
506
|
+
A(oe, {
|
|
507
507
|
modelValue: t.value,
|
|
508
508
|
"onUpdate:modelValue": p[2] || (p[2] = (h) => t.value = h),
|
|
509
509
|
type: "number",
|
|
@@ -511,17 +511,17 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
|
|
|
511
511
|
autocomplete: "tel-national",
|
|
512
512
|
inputmode: "numeric",
|
|
513
513
|
id: f(a),
|
|
514
|
-
placeholder:
|
|
515
|
-
required:
|
|
516
|
-
readonly:
|
|
517
|
-
onInput: p[3] || (p[3] = (h) =>
|
|
514
|
+
placeholder: i.placeholder,
|
|
515
|
+
required: i.required,
|
|
516
|
+
readonly: i.readonly,
|
|
517
|
+
onInput: p[3] || (p[3] = (h) => d())
|
|
518
518
|
}, null, 8, ["modelValue", "id", "placeholder", "required", "readonly"])
|
|
519
519
|
])
|
|
520
520
|
]),
|
|
521
521
|
_: 1
|
|
522
522
|
}, 8, ["label", "id", "required", "readonly"]));
|
|
523
523
|
}
|
|
524
|
-
}), so = /* @__PURE__ */
|
|
524
|
+
}), so = /* @__PURE__ */ z(Je, [["__scopeId", "data-v-3e373d03"]]), Qe = ["required", "type", "name", "readonly", "disabled", "value", "checked"], Ze = ["data-test"], _e = { key: 0 }, xe = {
|
|
525
525
|
key: 1,
|
|
526
526
|
class: /* @__PURE__ */ m(["konnectio-click-box-label", "inline"])
|
|
527
527
|
}, eo = /* @__PURE__ */ $({
|
|
@@ -541,13 +541,13 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
|
|
|
541
541
|
emits: ["update:modelValue"],
|
|
542
542
|
setup(e, { emit: o }) {
|
|
543
543
|
const l = e, n = o, a = Se();
|
|
544
|
-
function
|
|
544
|
+
function s() {
|
|
545
545
|
l.readonly !== !0 && n(
|
|
546
546
|
"update:modelValue",
|
|
547
547
|
l.type === "radio" ? l.val : l.numeric ? l.modelValue ? 0 : 1 : !l.modelValue
|
|
548
548
|
);
|
|
549
549
|
}
|
|
550
|
-
return (t,
|
|
550
|
+
return (t, d) => (u(), I(ne, {
|
|
551
551
|
required: t.required,
|
|
552
552
|
type: t.type,
|
|
553
553
|
readonly: t.readonly
|
|
@@ -571,7 +571,7 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
|
|
|
571
571
|
disabled: !!t.readonly,
|
|
572
572
|
value: t.type === "radio" ? t.val : t.modelValue,
|
|
573
573
|
checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue,
|
|
574
|
-
onChange:
|
|
574
|
+
onChange: d[0] || (d[0] = (i) => s())
|
|
575
575
|
}), null, 16, Qe),
|
|
576
576
|
r("div", {
|
|
577
577
|
class: m([
|
|
@@ -580,15 +580,15 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
|
|
|
580
580
|
]),
|
|
581
581
|
tabindex: "0",
|
|
582
582
|
"data-test": t.name,
|
|
583
|
-
onKeyup:
|
|
583
|
+
onKeyup: d[1] || (d[1] = Ce((i) => s(), ["enter"]))
|
|
584
584
|
}, null, 42, Ze),
|
|
585
|
-
t.label ? (u(),
|
|
585
|
+
t.label ? (u(), y("div", {
|
|
586
586
|
key: 0,
|
|
587
587
|
class: m(["konnectio-click-box-label", "text-hover", { "with-price": t.price }])
|
|
588
588
|
}, [
|
|
589
589
|
r("span", null, b(t.label), 1),
|
|
590
|
-
t.price ? (u(),
|
|
591
|
-
], 2)) : f(a).default ? (u(),
|
|
590
|
+
t.price ? (u(), y("span", _e, b(t.price), 1)) : w("", !0)
|
|
591
|
+
], 2)) : f(a).default ? (u(), y("div", xe, [
|
|
592
592
|
B(t.$slots, "default", {}, void 0, !0)
|
|
593
593
|
])) : w("", !0)
|
|
594
594
|
], 2)
|
|
@@ -596,7 +596,7 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
|
|
|
596
596
|
_: 3
|
|
597
597
|
}, 8, ["required", "type", "readonly"]));
|
|
598
598
|
}
|
|
599
|
-
}), uo = /* @__PURE__ */
|
|
599
|
+
}), uo = /* @__PURE__ */ z(eo, [["__scopeId", "data-v-6e9623bf"]]), oo = {
|
|
600
600
|
href: "https://policies.google.com/privacy",
|
|
601
601
|
target: "_blank"
|
|
602
602
|
}, to = {
|
|
@@ -606,7 +606,7 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
|
|
|
606
606
|
__name: "GoogleNotice",
|
|
607
607
|
setup(e) {
|
|
608
608
|
const { t: o } = $e();
|
|
609
|
-
return (l, n) => (u(),
|
|
609
|
+
return (l, n) => (u(), y("span", null, [
|
|
610
610
|
W(b(f(o)("googleNotice")) + " ", 1),
|
|
611
611
|
r("a", oo, b(f(o)("googlePrivacyPolicy")), 1),
|
|
612
612
|
W(" " + b(f(o)("googleAnd")) + " ", 1),
|
|
@@ -645,16 +645,16 @@ const no = /* @__PURE__ */ $({
|
|
|
645
645
|
return Y(() => {
|
|
646
646
|
const l = document.createElement("script"), n = document.createElement("script");
|
|
647
647
|
l.setAttribute("src", "https://checkout.dibspayment.eu/v1/checkout.js?v=1"), n.setAttribute("src", "https://checkout.reepay.com/checkout.js"), document.head.appendChild(l), document.head.appendChild(n);
|
|
648
|
-
}), (l, n) => (u(),
|
|
648
|
+
}), (l, n) => (u(), y("div", null, [
|
|
649
649
|
r("div", {
|
|
650
650
|
id: "konnectio-payment-checkout-wrapper",
|
|
651
|
-
class: m({ reePay: f(o) === f(
|
|
651
|
+
class: m({ reePay: f(o) === f(Ie).ReePay })
|
|
652
652
|
}, n[0] || (n[0] = [
|
|
653
653
|
r("div", { id: "konnectio-payment-checkout" }, null, -1)
|
|
654
654
|
]), 2)
|
|
655
655
|
]));
|
|
656
656
|
}
|
|
657
|
-
}), co = /* @__PURE__ */
|
|
657
|
+
}), co = /* @__PURE__ */ z(no, [["__scopeId", "data-v-853041a4"]]);
|
|
658
658
|
export {
|
|
659
659
|
ro as B,
|
|
660
660
|
co as C,
|
|
@@ -662,4 +662,4 @@ export {
|
|
|
662
662
|
lo as _,
|
|
663
663
|
uo as a
|
|
664
664
|
};
|
|
665
|
-
//# sourceMappingURL=CheckoutWindow-
|
|
665
|
+
//# sourceMappingURL=CheckoutWindow-PWUgNbBH.js.map
|
|
Binary file
|