@konnectio/core 4.0.56-rc55 → 4.0.56-rc56
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-BAL1bpnL.js → ActionField-D2cIxYLO.js} +12 -12
- package/dist/ActionField-D2cIxYLO.js.br +0 -0
- package/dist/{AvailabilitySkeleton-BX61UaDK.js → AvailabilitySkeleton-fSj-D3gr.js} +50 -49
- package/dist/AvailabilitySkeleton-fSj-D3gr.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DmlVYsD2.js +8174 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DmlVYsD2.js.br +0 -0
- package/dist/{CheckoutWindow-DufEgcza.js → CheckoutWindow-DDFex8_M.js} +242 -233
- package/dist/CheckoutWindow-DDFex8_M.js.br +0 -0
- package/dist/{ErrorMessage-CbGOS1Nq.js → ErrorMessage-BxEkmAcA.js} +4 -4
- package/dist/ErrorMessage-BxEkmAcA.js.br +0 -0
- package/dist/EventAvailabilityForm-Bh21jXV0.js +120 -0
- package/dist/EventAvailabilityForm-Bh21jXV0.js.br +0 -0
- package/dist/{Field-flvSuRTL.js → Field-C1-c1E69.js} +9 -9
- package/dist/Field-C1-c1E69.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-1m-WZuNW.js +18603 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-1m-WZuNW.js.br +0 -0
- package/dist/TermsOfService-Cf3uVbvE.js +36 -0
- package/dist/TermsOfService-Cf3uVbvE.js.br +0 -0
- package/dist/{_-Wr8LhfrM.js → _-DpyfRShv.js} +3 -3
- package/dist/_.vue_vue_type_style_index_0_lang-DoCplqzK.js +69 -0
- package/dist/_.vue_vue_type_style_index_0_lang-DoCplqzK.js.br +0 -0
- package/dist/_commonjsHelpers-7Ka-lrVJ.js +17 -0
- package/dist/_sentry-release-injection-file-BwRPXfCP.js +11186 -0
- package/dist/_sentry-release-injection-file-BwRPXfCP.js.br +0 -0
- package/dist/availability.js +24 -24
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +56 -4
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +316 -300
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +32 -33
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +87 -88
- package/dist/gift-card.js.br +0 -0
- package/dist/giftCard-D4D0qX4c.js +134 -0
- package/dist/giftCard-D4D0qX4c.js.br +0 -0
- package/dist/hotel.js +211 -211
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-BMRfOcVe.js → masonry.plugin-BJrxifpp.js} +3352 -3334
- package/dist/masonry.plugin-BJrxifpp.js.br +0 -0
- package/dist/mitt-CKlYOuwf.js +4290 -0
- package/dist/mitt-CKlYOuwf.js.br +0 -0
- package/dist/polyfill.js +4523 -4515
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/{tracing-wxeFiHIa.js → tracing-NLDFmjvp.js} +3 -3
- package/dist/tracing-NLDFmjvp.js.br +0 -0
- package/package.json +8 -8
- package/dist/ActionField-BAL1bpnL.js.br +0 -0
- package/dist/AvailabilitySkeleton-BX61UaDK.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CBLGelHH.js +0 -7814
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CBLGelHH.js.br +0 -0
- package/dist/CheckoutWindow-DufEgcza.js.br +0 -0
- package/dist/ErrorMessage-CbGOS1Nq.js.br +0 -0
- package/dist/EventAvailabilityForm-CO2Vt9WR.js +0 -452
- package/dist/EventAvailabilityForm-CO2Vt9WR.js.br +0 -0
- package/dist/Field-flvSuRTL.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BtVEfiNz.js +0 -21414
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BtVEfiNz.js.br +0 -0
- package/dist/TermsOfService-ZtJSXzfs.js +0 -35
- package/dist/TermsOfService-ZtJSXzfs.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-1ZRqGUnk.js +0 -68
- package/dist/_.vue_vue_type_style_index_0_lang-1ZRqGUnk.js.br +0 -0
- package/dist/_commonjsHelpers-04Qj4xBt.js +0 -9530
- package/dist/_commonjsHelpers-04Qj4xBt.js.br +0 -0
- package/dist/giftCard-DHP_enh5.js +0 -127
- package/dist/giftCard-DHP_enh5.js.br +0 -0
- package/dist/masonry.plugin-BMRfOcVe.js.br +0 -0
- package/dist/sentry-BSHzssDu.js +0 -18
- package/dist/tracing-wxeFiHIa.js.br +0 -0
|
@@ -1,48 +1,49 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import {
|
|
1
|
+
import { d as $, a as u, g as m, r as c, o as j, a4 as me, a5 as he, z as X, c as U, I as ge, b as I, e as d, f as H, w as k, A as Z, B as Q, J as q, T as x, n as v, l as B, i as S, $ as be, D as we, m as ne, q as Se, u as f, t as b, L as ke, K as Ce, x as W, p as $e, j as Be } from "./_sentry-release-injection-file-BwRPXfCP.js";
|
|
2
|
+
import { I as Ve, _ as z, D as ee, T as oe, p as ae, e as Pe, P as Te } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-1m-WZuNW.js";
|
|
3
|
+
import { u as Ie, s as He } from "./mitt-CKlYOuwf.js";
|
|
3
4
|
(function() {
|
|
4
5
|
try {
|
|
5
6
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, o = new Error().stack;
|
|
6
|
-
o && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[o] = "
|
|
7
|
+
o && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[o] = "1bf5e2c6-860d-4ccd-a93d-8b40a9981b6b", e._sentryDebugIdIdentifier = "sentry-dbid-1bf5e2c6-860d-4ccd-a93d-8b40a9981b6b");
|
|
7
8
|
} catch {
|
|
8
9
|
}
|
|
9
10
|
})();
|
|
10
|
-
function
|
|
11
|
+
function Ae(e) {
|
|
11
12
|
if (Array.isArray(e)) {
|
|
12
|
-
for (var o = 0,
|
|
13
|
-
|
|
14
|
-
return
|
|
13
|
+
for (var o = 0, l = Array(e.length); o < e.length; o++)
|
|
14
|
+
l[o] = e[o];
|
|
15
|
+
return l;
|
|
15
16
|
} else
|
|
16
17
|
return Array.from(e);
|
|
17
18
|
}
|
|
18
|
-
var
|
|
19
|
+
var K = !1;
|
|
19
20
|
if (typeof window < "u") {
|
|
20
21
|
var te = {
|
|
21
22
|
get passive() {
|
|
22
|
-
|
|
23
|
+
K = !0;
|
|
23
24
|
}
|
|
24
25
|
};
|
|
25
26
|
window.addEventListener("testPassive", null, te), window.removeEventListener("testPassive", null, te);
|
|
26
27
|
}
|
|
27
|
-
var D = typeof window < "u" && window.navigator && window.navigator.platform && (/iP(ad|hone|od)/.test(window.navigator.platform) || window.navigator.platform === "MacIntel" && window.navigator.maxTouchPoints > 1),
|
|
28
|
-
return
|
|
29
|
-
return !!(
|
|
28
|
+
var D = 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 = [], E = !1, ie = -1, P = void 0, w = void 0, T = void 0, de = function(o) {
|
|
29
|
+
return C.some(function(l) {
|
|
30
|
+
return !!(l.options.allowTouchMove && l.options.allowTouchMove(o));
|
|
30
31
|
});
|
|
31
32
|
}, O = function(o) {
|
|
32
|
-
var
|
|
33
|
-
return
|
|
34
|
-
},
|
|
33
|
+
var l = o || window.event;
|
|
34
|
+
return de(l.target) || l.touches.length > 1 ? !0 : (l.preventDefault && l.preventDefault(), !1);
|
|
35
|
+
}, Ne = function(o) {
|
|
35
36
|
if (T === void 0) {
|
|
36
|
-
var
|
|
37
|
-
if (
|
|
37
|
+
var l = !!o && o.reserveScrollBarGap === !0, n = window.innerWidth - document.documentElement.clientWidth;
|
|
38
|
+
if (l && n > 0) {
|
|
38
39
|
var a = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"), 10);
|
|
39
40
|
T = document.body.style.paddingRight, document.body.style.paddingRight = a + n + "px";
|
|
40
41
|
}
|
|
41
42
|
}
|
|
42
43
|
P === void 0 && (P = document.body.style.overflow, document.body.style.overflow = "hidden");
|
|
43
|
-
}, Ne = function() {
|
|
44
|
-
T !== void 0 && (document.body.style.paddingRight = T, T = void 0), P !== void 0 && (document.body.style.overflow = P, P = void 0);
|
|
45
44
|
}, qe = function() {
|
|
45
|
+
T !== void 0 && (document.body.style.paddingRight = T, T = void 0), P !== void 0 && (document.body.style.overflow = P, P = void 0);
|
|
46
|
+
}, De = function() {
|
|
46
47
|
return window.requestAnimationFrame(function() {
|
|
47
48
|
if (w === void 0) {
|
|
48
49
|
w = {
|
|
@@ -50,76 +51,76 @@ var D = typeof window < "u" && window.navigator && window.navigator.platform &&
|
|
|
50
51
|
top: document.body.style.top,
|
|
51
52
|
left: document.body.style.left
|
|
52
53
|
};
|
|
53
|
-
var o = window,
|
|
54
|
-
document.body.style.position = "fixed", document.body.style.top = -
|
|
54
|
+
var o = window, l = o.scrollY, n = o.scrollX, a = o.innerHeight;
|
|
55
|
+
document.body.style.position = "fixed", document.body.style.top = -l, document.body.style.left = -n, setTimeout(function() {
|
|
55
56
|
return window.requestAnimationFrame(function() {
|
|
56
|
-
var
|
|
57
|
-
|
|
57
|
+
var s = a - window.innerHeight;
|
|
58
|
+
s && l >= a && (document.body.style.top = -(l + s));
|
|
58
59
|
});
|
|
59
60
|
}, 300);
|
|
60
61
|
}
|
|
61
62
|
});
|
|
62
|
-
},
|
|
63
|
+
}, Ee = function() {
|
|
63
64
|
if (w !== void 0) {
|
|
64
|
-
var o = -parseInt(document.body.style.top, 10),
|
|
65
|
-
document.body.style.position = w.position, document.body.style.top = w.top, document.body.style.left = w.left, window.scrollTo(
|
|
65
|
+
var o = -parseInt(document.body.style.top, 10), l = -parseInt(document.body.style.left, 10);
|
|
66
|
+
document.body.style.position = w.position, document.body.style.top = w.top, document.body.style.left = w.left, window.scrollTo(l, o), w = void 0;
|
|
66
67
|
}
|
|
67
|
-
},
|
|
68
|
+
}, Oe = function(o) {
|
|
68
69
|
return o ? o.scrollHeight - o.scrollTop <= o.clientHeight : !1;
|
|
69
|
-
},
|
|
70
|
-
var n = o.targetTouches[0].clientY -
|
|
71
|
-
return
|
|
72
|
-
},
|
|
70
|
+
}, ze = function(o, l) {
|
|
71
|
+
var n = o.targetTouches[0].clientY - ie;
|
|
72
|
+
return de(o.target) ? !1 : l && l.scrollTop === 0 && n > 0 || Oe(l) && n < 0 ? O(o) : (o.stopPropagation(), !0);
|
|
73
|
+
}, Le = function(o, l) {
|
|
73
74
|
if (!o) {
|
|
74
75
|
console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");
|
|
75
76
|
return;
|
|
76
77
|
}
|
|
77
|
-
if (!
|
|
78
|
+
if (!C.some(function(a) {
|
|
78
79
|
return a.targetElement === o;
|
|
79
80
|
})) {
|
|
80
81
|
var n = {
|
|
81
82
|
targetElement: o,
|
|
82
|
-
options:
|
|
83
|
+
options: l || {}
|
|
83
84
|
};
|
|
84
|
-
|
|
85
|
-
a.targetTouches.length === 1 && (
|
|
85
|
+
C = [].concat(Ae(C), [n]), D ? De() : Ne(l), D && (o.ontouchstart = function(a) {
|
|
86
|
+
a.targetTouches.length === 1 && (ie = a.targetTouches[0].clientY);
|
|
86
87
|
}, o.ontouchmove = function(a) {
|
|
87
|
-
a.targetTouches.length === 1 &&
|
|
88
|
-
}, E || (document.addEventListener("touchmove", O,
|
|
88
|
+
a.targetTouches.length === 1 && ze(a, o);
|
|
89
|
+
}, E || (document.addEventListener("touchmove", O, K ? { passive: !1 } : void 0), E = !0));
|
|
89
90
|
}
|
|
90
91
|
}, Me = function(o) {
|
|
91
92
|
if (!o) {
|
|
92
93
|
console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");
|
|
93
94
|
return;
|
|
94
95
|
}
|
|
95
|
-
|
|
96
|
-
return
|
|
97
|
-
}), D && (o.ontouchstart = null, o.ontouchmove = null, E &&
|
|
98
|
-
},
|
|
96
|
+
C = C.filter(function(l) {
|
|
97
|
+
return l.targetElement !== o;
|
|
98
|
+
}), D && (o.ontouchstart = null, o.ontouchmove = null, E && C.length === 0 && (document.removeEventListener("touchmove", O, K ? { passive: !1 } : void 0), E = !1)), D ? Ee() : qe();
|
|
99
|
+
}, Y = $({
|
|
99
100
|
name: "SidePanelCloseButton",
|
|
100
101
|
emits: ["close"]
|
|
101
102
|
});
|
|
102
|
-
const
|
|
103
|
+
const Fe = /* @__PURE__ */ d(
|
|
103
104
|
"span",
|
|
104
105
|
{ class: "vsp-close__x" },
|
|
105
106
|
null,
|
|
106
107
|
-1
|
|
107
108
|
/* HOISTED */
|
|
108
|
-
),
|
|
109
|
-
|
|
109
|
+
), Re = [
|
|
110
|
+
Fe
|
|
110
111
|
];
|
|
111
|
-
function Ge(e, o,
|
|
112
|
+
function Ge(e, o, l, n, a, s) {
|
|
112
113
|
return u(), m("div", {
|
|
113
114
|
class: "vsp-close",
|
|
114
|
-
onClick: o[0] || (o[0] = (
|
|
115
|
-
}, [...
|
|
115
|
+
onClick: o[0] || (o[0] = (t) => e.$emit("close"))
|
|
116
|
+
}, [...Re]);
|
|
116
117
|
}
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
var
|
|
118
|
+
Y.render = Ge;
|
|
119
|
+
Y.__file = "src/components/SidePanelCloseButton.vue";
|
|
120
|
+
var _ = $({
|
|
120
121
|
name: "VueSidePanel",
|
|
121
122
|
components: {
|
|
122
|
-
SidePanelCloseButton:
|
|
123
|
+
SidePanelCloseButton: Y
|
|
123
124
|
},
|
|
124
125
|
props: {
|
|
125
126
|
idName: {
|
|
@@ -206,54 +207,54 @@ var Y = C({
|
|
|
206
207
|
}
|
|
207
208
|
},
|
|
208
209
|
emits: ["update:modelValue", "closed", "opened"],
|
|
209
|
-
setup(e, { emit: o, attrs:
|
|
210
|
+
setup(e, { emit: o, attrs: l }) {
|
|
210
211
|
let n;
|
|
211
|
-
const a = c(null),
|
|
212
|
-
window?.innerHeight > 0 && (
|
|
213
|
-
},
|
|
212
|
+
const a = c(null), s = c(null), t = c(null), r = c(null), i = c(null), p = c(0), h = c(0), A = c(0), L = c(0), M = c(0), F = c(), J = c(!1), V = async () => {
|
|
213
|
+
window?.innerHeight > 0 && (M.value = window.innerHeight), p.value = t.value ? t.value.clientHeight : 0, A.value = r.value ? r.value.clientHeight : 0, h.value = i.value ? i.value.scrollHeight : 0, L.value = a.value ? a.value.clientHeight : 0;
|
|
214
|
+
}, re = () => o("update:modelValue", !1), R = (y, g) => {
|
|
214
215
|
if (g) {
|
|
215
216
|
setTimeout(() => {
|
|
216
|
-
|
|
217
|
+
Le(y, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
|
|
217
218
|
}, 0);
|
|
218
219
|
return;
|
|
219
220
|
}
|
|
220
|
-
Me(
|
|
221
|
-
},
|
|
221
|
+
Me(y), e.lockScrollHtml && document.documentElement.style.removeProperty("overflow");
|
|
222
|
+
}, se = () => Math.max(...Array.from(document.querySelectorAll("body *"), (y) => parseFloat(window.getComputedStyle(y).zIndex)).filter((y) => !Number.isNaN(y)), 0);
|
|
222
223
|
j(() => {
|
|
223
|
-
F.value = e.zIndex === "auto" ?
|
|
224
|
-
}), ve(() => {
|
|
225
|
-
document.getElementById(e.idName) || (n = document.createElement("div"), n.setAttribute("id", e.idName), document.body.appendChild(n));
|
|
224
|
+
F.value = e.zIndex === "auto" ? se() : e.zIndex;
|
|
226
225
|
}), me(() => {
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
}), X(() => [e.
|
|
232
|
-
|
|
226
|
+
document.getElementById(e.idName) || (n = document.createElement("div"), n.setAttribute("id", e.idName), document.body.appendChild(n));
|
|
227
|
+
}), he(() => {
|
|
228
|
+
const { modelValue: y, lockScroll: g } = e;
|
|
229
|
+
g && a.value && y && R(a.value, !1), n && document.body.removeChild(n), window.removeEventListener("resize", V);
|
|
230
|
+
}), X(() => [r.value, t.value, e.height, e.width, e.side, e.modelValue], () => {
|
|
231
|
+
we(() => V());
|
|
232
|
+
}), X(() => [e.modelValue, a.value], (y, g) => {
|
|
233
|
+
const pe = g ? g[0] : !1, [G, N] = y, ye = G, ve = pe && !G;
|
|
233
234
|
if (N) {
|
|
234
|
-
if (
|
|
235
|
-
e.lockScroll &&
|
|
235
|
+
if (ye && (J.value = !!document.body.style.overflow), G) {
|
|
236
|
+
e.lockScroll && R(N, !0), V(), window.addEventListener("resize", V);
|
|
236
237
|
return;
|
|
237
238
|
}
|
|
238
|
-
!e.lockScroll || !
|
|
239
|
-
N &&
|
|
240
|
-
}, e.panelDuration), window.removeEventListener("resize",
|
|
239
|
+
!e.lockScroll || !ve || J.value || (setTimeout(() => {
|
|
240
|
+
N && R(N, !1);
|
|
241
|
+
}, e.panelDuration), window.removeEventListener("resize", V));
|
|
241
242
|
}
|
|
242
243
|
}, { immediate: !0 });
|
|
243
|
-
const
|
|
244
|
-
if (!
|
|
244
|
+
const ue = U(() => {
|
|
245
|
+
if (!L.value)
|
|
245
246
|
return;
|
|
246
|
-
const
|
|
247
|
-
let g =
|
|
248
|
-
return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g =
|
|
249
|
-
}),
|
|
247
|
+
const y = h.value + A.value + p.value;
|
|
248
|
+
let g = L.value - A.value - p.value;
|
|
249
|
+
return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g = M.value >= y ? h.value : M.value - A.value - p.value), g;
|
|
250
|
+
}), ce = U(() => ({
|
|
250
251
|
zIndex: F.value,
|
|
251
252
|
animationDuration: `${e.overlayDuration}ms`,
|
|
252
253
|
"--overlay-opacity": e.overlayOpacity,
|
|
253
254
|
opacity: e.modelValue ? e.overlayOpacity : 0,
|
|
254
255
|
backgroundColor: e.overlayColor,
|
|
255
256
|
pointerEvents: e.modelValue ? "all" : "none"
|
|
256
|
-
})),
|
|
257
|
+
})), fe = U(() => ({
|
|
257
258
|
width: ["left", "right"].includes(e.side) ? e.width : void 0,
|
|
258
259
|
maxWidth: "100%",
|
|
259
260
|
...["top", "bottom"].includes(e.side) ? {
|
|
@@ -264,27 +265,27 @@ var Y = C({
|
|
|
264
265
|
zIndex: F.value,
|
|
265
266
|
backgroundColor: e.panelColor,
|
|
266
267
|
animationDuration: `${e.panelDuration}ms`,
|
|
267
|
-
...Object.assign({},
|
|
268
|
+
...Object.assign({}, l.style)
|
|
268
269
|
}));
|
|
269
270
|
return {
|
|
270
|
-
body:
|
|
271
|
+
body: i,
|
|
271
272
|
panel: a,
|
|
272
|
-
overlay:
|
|
273
|
-
overlayStyles:
|
|
274
|
-
header:
|
|
275
|
-
footer:
|
|
276
|
-
closePanel:
|
|
277
|
-
panelStyles:
|
|
278
|
-
bodyHeight:
|
|
273
|
+
overlay: s,
|
|
274
|
+
overlayStyles: ce,
|
|
275
|
+
header: r,
|
|
276
|
+
footer: t,
|
|
277
|
+
closePanel: re,
|
|
278
|
+
panelStyles: fe,
|
|
279
|
+
bodyHeight: ue
|
|
279
280
|
};
|
|
280
281
|
}
|
|
281
282
|
});
|
|
282
|
-
function
|
|
283
|
-
const
|
|
284
|
-
return u(), I(
|
|
283
|
+
function Ue(e, o, l, n, a, s) {
|
|
284
|
+
const t = ge("SidePanelCloseButton");
|
|
285
|
+
return u(), I(be, {
|
|
285
286
|
to: `#${e.idName}`
|
|
286
287
|
}, [
|
|
287
|
-
|
|
288
|
+
d(
|
|
288
289
|
"div",
|
|
289
290
|
{
|
|
290
291
|
class: v(["vsp-wrapper", [e.modelValue && "vsp-wrapper--active"]])
|
|
@@ -294,8 +295,8 @@ function Re(e, o, t, n, a, i) {
|
|
|
294
295
|
name: "overlay",
|
|
295
296
|
persisted: ""
|
|
296
297
|
}, {
|
|
297
|
-
default:
|
|
298
|
-
Z(
|
|
298
|
+
default: k(() => [
|
|
299
|
+
Z(d(
|
|
299
300
|
"div",
|
|
300
301
|
{
|
|
301
302
|
ref: "overlay",
|
|
@@ -315,10 +316,10 @@ function Re(e, o, t, n, a, i) {
|
|
|
315
316
|
}),
|
|
316
317
|
H(x, {
|
|
317
318
|
name: e.transitionName || `slide-${e.side}`,
|
|
318
|
-
onAfterEnter: o[1] || (o[1] = (
|
|
319
|
-
onAfterLeave: o[2] || (o[2] = (
|
|
319
|
+
onAfterEnter: o[1] || (o[1] = (r) => e.$emit("opened")),
|
|
320
|
+
onAfterLeave: o[2] || (o[2] = (r) => e.$emit("closed"))
|
|
320
321
|
}, {
|
|
321
|
-
default:
|
|
322
|
+
default: k(() => [
|
|
322
323
|
!e.rerender || e.modelValue ? Z((u(), m(
|
|
323
324
|
"div",
|
|
324
325
|
{
|
|
@@ -336,12 +337,12 @@ function Re(e, o, t, n, a, i) {
|
|
|
336
337
|
class: v([e.headerClass, "vsp__header"])
|
|
337
338
|
},
|
|
338
339
|
[
|
|
339
|
-
|
|
340
|
+
B(e.$slots, "header", { close: e.closePanel })
|
|
340
341
|
],
|
|
341
342
|
2
|
|
342
343
|
/* CLASS */
|
|
343
344
|
)) : S("v-if", !0),
|
|
344
|
-
|
|
345
|
+
d(
|
|
345
346
|
"div",
|
|
346
347
|
{
|
|
347
348
|
ref: "body",
|
|
@@ -349,8 +350,8 @@ function Re(e, o, t, n, a, i) {
|
|
|
349
350
|
style: q({ height: `${e.bodyHeight}px` })
|
|
350
351
|
},
|
|
351
352
|
[
|
|
352
|
-
|
|
353
|
-
e.hideCloseBtn ? S("v-if", !0) : (u(), I(
|
|
353
|
+
B(e.$slots, "default", { close: e.closePanel }),
|
|
354
|
+
e.hideCloseBtn ? S("v-if", !0) : (u(), I(t, {
|
|
354
355
|
key: 0,
|
|
355
356
|
onClose: e.closePanel
|
|
356
357
|
}, null, 8, ["onClose"]))
|
|
@@ -366,7 +367,7 @@ function Re(e, o, t, n, a, i) {
|
|
|
366
367
|
class: v([e.footerClass, "vsp__footer"])
|
|
367
368
|
},
|
|
368
369
|
[
|
|
369
|
-
|
|
370
|
+
B(e.$slots, "footer")
|
|
370
371
|
],
|
|
371
372
|
2
|
|
372
373
|
/* CLASS */
|
|
@@ -387,12 +388,12 @@ function Re(e, o, t, n, a, i) {
|
|
|
387
388
|
)
|
|
388
389
|
], 8, ["to"]);
|
|
389
390
|
}
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
const
|
|
391
|
+
_.render = Ue;
|
|
392
|
+
_.__file = "src/components/SidePanel.vue";
|
|
393
|
+
const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-panel-title" }, Ke = {
|
|
393
394
|
key: 0,
|
|
394
395
|
id: "konnectio-side-panel-subtitle"
|
|
395
|
-
},
|
|
396
|
+
}, Ye = ["innerHTML"], _e = /* @__PURE__ */ $({
|
|
396
397
|
__name: "Base",
|
|
397
398
|
props: {
|
|
398
399
|
modelValue: { type: Boolean },
|
|
@@ -407,55 +408,63 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
|
|
|
407
408
|
},
|
|
408
409
|
emits: ["update:modelValue", "opened", "closed"],
|
|
409
410
|
setup(e, { emit: o }) {
|
|
410
|
-
const
|
|
411
|
-
function n() {
|
|
412
|
-
t("closed");
|
|
413
|
-
}
|
|
411
|
+
const l = o, n = ne();
|
|
414
412
|
function a() {
|
|
415
|
-
|
|
413
|
+
l("closed");
|
|
416
414
|
}
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
"
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
415
|
+
function s() {
|
|
416
|
+
l("opened");
|
|
417
|
+
}
|
|
418
|
+
return (t, r) => (u(), I(f(_), {
|
|
419
|
+
modelValue: t.modelValue,
|
|
420
|
+
"lock-scroll": t.lockScroll,
|
|
421
|
+
"hide-close-btn": t.hideCloseButton,
|
|
422
|
+
width: t.width,
|
|
423
|
+
"onUpdate:modelValue": r[1] || (r[1] = (i) => t.$emit("update:modelValue", i)),
|
|
424
|
+
onClosed: a,
|
|
425
|
+
onOpened: s
|
|
426
|
+
}, Se({
|
|
427
|
+
header: k(() => [
|
|
428
|
+
d("div", We, [
|
|
429
|
+
d("h2", je, [
|
|
430
|
+
d("span", null, b(t.title), 1),
|
|
431
|
+
d("button", {
|
|
431
432
|
id: "konnectio-side-panel-close",
|
|
432
|
-
onClick:
|
|
433
|
+
onClick: r[0] || (r[0] = (i) => t.$emit("update:modelValue", !1))
|
|
433
434
|
}, [
|
|
434
|
-
H(
|
|
435
|
+
H(Ve, {
|
|
435
436
|
icon: "times",
|
|
436
437
|
type: "fas",
|
|
437
438
|
color: "header"
|
|
438
439
|
})
|
|
439
440
|
])
|
|
440
441
|
]),
|
|
441
|
-
|
|
442
|
-
|
|
442
|
+
t.subtitle ? (u(), m("h4", Ke, [
|
|
443
|
+
d("span", null, b(t.subtitle), 1)
|
|
443
444
|
])) : S("", !0)
|
|
444
445
|
])
|
|
445
446
|
]),
|
|
446
|
-
default:
|
|
447
|
-
|
|
448
|
-
|
|
447
|
+
default: k(() => [
|
|
448
|
+
d("div", null, [
|
|
449
|
+
d("div", {
|
|
449
450
|
class: "konnectio-side-panel-description",
|
|
450
|
-
innerHTML:
|
|
451
|
-
}, null, 8,
|
|
452
|
-
|
|
451
|
+
innerHTML: t.description
|
|
452
|
+
}, null, 8, Ye),
|
|
453
|
+
B(t.$slots, "default", {}, void 0, !0)
|
|
453
454
|
])
|
|
454
455
|
]),
|
|
455
|
-
_:
|
|
456
|
-
},
|
|
456
|
+
_: 2
|
|
457
|
+
}, [
|
|
458
|
+
f(n).footer ? {
|
|
459
|
+
name: "footer",
|
|
460
|
+
fn: k(() => [
|
|
461
|
+
B(t.$slots, "footer", {}, void 0, !0)
|
|
462
|
+
]),
|
|
463
|
+
key: "0"
|
|
464
|
+
} : void 0
|
|
465
|
+
]), 1032, ["modelValue", "lock-scroll", "hide-close-btn", "width"]));
|
|
457
466
|
}
|
|
458
|
-
}),
|
|
467
|
+
}), po = /* @__PURE__ */ z(_e, [["__scopeId", "data-v-060086ec"]]), Je = { class: "fresh-booking-phone-input" }, Xe = /* @__PURE__ */ $({
|
|
459
468
|
__name: "PhoneField",
|
|
460
469
|
props: {
|
|
461
470
|
modelValue: {},
|
|
@@ -471,62 +480,62 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
|
|
|
471
480
|
},
|
|
472
481
|
emits: ["update:modelValue"],
|
|
473
482
|
setup(e, { emit: o }) {
|
|
474
|
-
const
|
|
475
|
-
function
|
|
476
|
-
|
|
483
|
+
const l = o, n = e, a = n.id || ee(), s = c("+45"), t = c("");
|
|
484
|
+
function r() {
|
|
485
|
+
l("update:modelValue", `${s.value} ${t.value}`);
|
|
477
486
|
}
|
|
478
487
|
return j(() => {
|
|
479
488
|
if (n.modelValue) {
|
|
480
|
-
const
|
|
481
|
-
|
|
489
|
+
const i = n.modelValue.split(" ");
|
|
490
|
+
s.value = i[0], t.value = i[1];
|
|
482
491
|
}
|
|
483
|
-
}), (
|
|
484
|
-
label:
|
|
485
|
-
id:
|
|
492
|
+
}), (i, p) => (u(), I(ae, {
|
|
493
|
+
label: i.label,
|
|
494
|
+
id: f(a),
|
|
486
495
|
type: "phone",
|
|
487
|
-
required:
|
|
488
|
-
readonly:
|
|
496
|
+
required: i.required,
|
|
497
|
+
readonly: i.readonly
|
|
489
498
|
}, {
|
|
490
|
-
default:
|
|
491
|
-
|
|
499
|
+
default: k(() => [
|
|
500
|
+
d("div", Je, [
|
|
492
501
|
H(oe, {
|
|
493
|
-
modelValue:
|
|
494
|
-
"onUpdate:modelValue":
|
|
502
|
+
modelValue: s.value,
|
|
503
|
+
"onUpdate:modelValue": p[0] || (p[0] = (h) => s.value = h),
|
|
495
504
|
type: "text",
|
|
496
|
-
id:
|
|
505
|
+
id: f(ee)(),
|
|
497
506
|
name: "phone-code",
|
|
498
507
|
autocomplete: "tel-country-code",
|
|
499
|
-
icon:
|
|
500
|
-
"icon-color":
|
|
501
|
-
"icon-type":
|
|
508
|
+
icon: i.icon,
|
|
509
|
+
"icon-color": i.iconColor,
|
|
510
|
+
"icon-type": i.iconType,
|
|
502
511
|
placeholder: "+45",
|
|
503
|
-
required:
|
|
504
|
-
readonly:
|
|
505
|
-
"input-style":
|
|
506
|
-
onInput:
|
|
512
|
+
required: i.required,
|
|
513
|
+
readonly: i.readonly,
|
|
514
|
+
"input-style": i.inputStyle,
|
|
515
|
+
onInput: p[1] || (p[1] = (h) => r())
|
|
507
516
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly", "input-style"]),
|
|
508
517
|
H(oe, {
|
|
509
|
-
modelValue:
|
|
510
|
-
"onUpdate:modelValue":
|
|
518
|
+
modelValue: t.value,
|
|
519
|
+
"onUpdate:modelValue": p[2] || (p[2] = (h) => t.value = h),
|
|
511
520
|
type: "number",
|
|
512
521
|
name: "phone",
|
|
513
522
|
autocomplete: "tel-national",
|
|
514
|
-
id:
|
|
515
|
-
placeholder:
|
|
516
|
-
required:
|
|
517
|
-
readonly:
|
|
518
|
-
"input-style":
|
|
519
|
-
onInput:
|
|
523
|
+
id: f(a),
|
|
524
|
+
placeholder: i.placeholder,
|
|
525
|
+
required: i.required,
|
|
526
|
+
readonly: i.readonly,
|
|
527
|
+
"input-style": i.inputStyle,
|
|
528
|
+
onInput: p[3] || (p[3] = (h) => r())
|
|
520
529
|
}, null, 8, ["modelValue", "id", "placeholder", "required", "readonly", "input-style"])
|
|
521
530
|
])
|
|
522
531
|
]),
|
|
523
532
|
_: 1
|
|
524
533
|
}, 8, ["label", "id", "required", "readonly"]));
|
|
525
534
|
}
|
|
526
|
-
}),
|
|
535
|
+
}), yo = /* @__PURE__ */ z(Xe, [["__scopeId", "data-v-5cd094ab"]]), Ze = ["required", "type", "name", "readonly", "disabled", "value", "checked"], Qe = ["data-test"], xe = { key: 0 }, eo = {
|
|
527
536
|
key: 1,
|
|
528
537
|
class: /* @__PURE__ */ v(["konnectio-click-box-label", "inline"])
|
|
529
|
-
},
|
|
538
|
+
}, oo = /* @__PURE__ */ $({
|
|
530
539
|
__name: "Checkbox",
|
|
531
540
|
props: {
|
|
532
541
|
modelValue: { type: [String, Boolean, Number] },
|
|
@@ -543,78 +552,78 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
|
|
|
543
552
|
},
|
|
544
553
|
emits: ["update:modelValue"],
|
|
545
554
|
setup(e, { emit: o }) {
|
|
546
|
-
const
|
|
547
|
-
function
|
|
548
|
-
|
|
555
|
+
const l = e, n = o, a = ne();
|
|
556
|
+
function s() {
|
|
557
|
+
l.readonly !== !0 && n(
|
|
549
558
|
"update:modelValue",
|
|
550
|
-
|
|
559
|
+
l.type === "radio" ? l.val : l.numeric ? l.modelValue ? 0 : 1 : !l.modelValue
|
|
551
560
|
);
|
|
552
561
|
}
|
|
553
|
-
return (
|
|
554
|
-
required:
|
|
555
|
-
type:
|
|
556
|
-
readonly:
|
|
562
|
+
return (t, r) => (u(), I(ae, {
|
|
563
|
+
required: t.required,
|
|
564
|
+
type: t.type,
|
|
565
|
+
readonly: t.readonly
|
|
557
566
|
}, {
|
|
558
|
-
default:
|
|
559
|
-
|
|
567
|
+
default: k(() => [
|
|
568
|
+
d("label", {
|
|
560
569
|
class: v([
|
|
561
570
|
"konnectio-click-box-container",
|
|
562
|
-
{ "is-readonly":
|
|
563
|
-
{ "has-label":
|
|
564
|
-
|
|
571
|
+
{ "is-readonly": t.readonly },
|
|
572
|
+
{ "has-label": t.label || f(a).default },
|
|
573
|
+
t.type === "radio" ? "radio" : "checkbox"
|
|
565
574
|
])
|
|
566
575
|
}, [
|
|
567
|
-
|
|
568
|
-
required: !!
|
|
569
|
-
type:
|
|
570
|
-
name:
|
|
576
|
+
d("input", ke(t.$attrs, {
|
|
577
|
+
required: !!t.required,
|
|
578
|
+
type: t.type,
|
|
579
|
+
name: t.name,
|
|
571
580
|
class: "hidden",
|
|
572
|
-
readonly: !!
|
|
573
|
-
disabled: !!
|
|
574
|
-
value:
|
|
575
|
-
checked:
|
|
576
|
-
onChange:
|
|
577
|
-
}), null, 16,
|
|
578
|
-
|
|
581
|
+
readonly: !!t.readonly,
|
|
582
|
+
disabled: !!t.readonly,
|
|
583
|
+
value: t.type === "radio" ? t.val : t.modelValue,
|
|
584
|
+
checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue,
|
|
585
|
+
onChange: r[0] || (r[0] = (i) => s())
|
|
586
|
+
}), null, 16, Ze),
|
|
587
|
+
d("div", {
|
|
579
588
|
class: v([
|
|
580
589
|
"konnectio-click-box",
|
|
581
|
-
{ checked:
|
|
590
|
+
{ checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue }
|
|
582
591
|
]),
|
|
583
592
|
tabindex: "0",
|
|
584
|
-
style: q(
|
|
585
|
-
"data-test":
|
|
586
|
-
onKeyup:
|
|
587
|
-
}, null, 46,
|
|
588
|
-
|
|
593
|
+
style: q(t.inputStyle),
|
|
594
|
+
"data-test": t.name,
|
|
595
|
+
onKeyup: r[1] || (r[1] = Ce((i) => s(), ["enter"]))
|
|
596
|
+
}, null, 46, Qe),
|
|
597
|
+
t.label ? (u(), m("div", {
|
|
589
598
|
key: 0,
|
|
590
|
-
class: v(["konnectio-click-box-label", "text-hover", { "with-price":
|
|
599
|
+
class: v(["konnectio-click-box-label", "text-hover", { "with-price": t.price }])
|
|
591
600
|
}, [
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
], 2)) :
|
|
595
|
-
|
|
601
|
+
d("span", null, b(t.label), 1),
|
|
602
|
+
t.price ? (u(), m("span", xe, b(t.price), 1)) : S("", !0)
|
|
603
|
+
], 2)) : f(a).default ? (u(), m("div", eo, [
|
|
604
|
+
B(t.$slots, "default", {}, void 0, !0)
|
|
596
605
|
])) : S("", !0)
|
|
597
606
|
], 2)
|
|
598
607
|
]),
|
|
599
608
|
_: 3
|
|
600
609
|
}, 8, ["required", "type", "readonly"]));
|
|
601
610
|
}
|
|
602
|
-
}),
|
|
611
|
+
}), vo = /* @__PURE__ */ z(oo, [["__scopeId", "data-v-f6e8dfe3"]]), to = {
|
|
603
612
|
href: "https://policies.google.com/privacy",
|
|
604
613
|
target: "_blank"
|
|
605
|
-
},
|
|
614
|
+
}, lo = {
|
|
606
615
|
href: "https://policies.google.com/terms",
|
|
607
616
|
target: "_blank"
|
|
608
|
-
},
|
|
617
|
+
}, no = /* @__PURE__ */ $({
|
|
609
618
|
__name: "GoogleNotice",
|
|
610
619
|
setup(e) {
|
|
611
|
-
const { t: o } =
|
|
612
|
-
return (
|
|
613
|
-
W(b(
|
|
614
|
-
|
|
615
|
-
W(" " + b(
|
|
616
|
-
|
|
617
|
-
W(" " + b(
|
|
620
|
+
const { t: o } = Ie();
|
|
621
|
+
return (l, n) => (u(), m("span", null, [
|
|
622
|
+
W(b(f(o)("googleNotice")) + " ", 1),
|
|
623
|
+
d("a", to, b(f(o)("googlePrivacyPolicy")), 1),
|
|
624
|
+
W(" " + b(f(o)("googleAnd")) + " ", 1),
|
|
625
|
+
d("a", lo, b(f(o)("googleTOS")), 1),
|
|
626
|
+
W(" " + b(f(o)("googleApply")) + ". ", 1)
|
|
618
627
|
]));
|
|
619
628
|
}
|
|
620
629
|
});
|
|
@@ -640,29 +649,29 @@ function le(e) {
|
|
|
640
649
|
}
|
|
641
650
|
});
|
|
642
651
|
}
|
|
643
|
-
typeof le == "function" && le(
|
|
644
|
-
const
|
|
645
|
-
|
|
646
|
-
],
|
|
652
|
+
typeof le == "function" && le(no);
|
|
653
|
+
const ao = (e) => ($e("data-v-853041a4"), e = e(), Be(), e), io = /* @__PURE__ */ ao(() => /* @__PURE__ */ d("div", { id: "konnectio-payment-checkout" }, null, -1)), ro = [
|
|
654
|
+
io
|
|
655
|
+
], so = /* @__PURE__ */ $({
|
|
647
656
|
__name: "CheckoutWindow",
|
|
648
657
|
setup(e) {
|
|
649
|
-
const { paymentGatewayId: o } = Pe(
|
|
658
|
+
const { paymentGatewayId: o } = He(Pe());
|
|
650
659
|
return j(() => {
|
|
651
|
-
const
|
|
652
|
-
|
|
653
|
-
}), (
|
|
654
|
-
|
|
660
|
+
const l = document.createElement("script"), n = document.createElement("script");
|
|
661
|
+
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);
|
|
662
|
+
}), (l, n) => (u(), m("div", null, [
|
|
663
|
+
d("div", {
|
|
655
664
|
id: "konnectio-payment-checkout-wrapper",
|
|
656
|
-
class: v({ reePay:
|
|
657
|
-
},
|
|
665
|
+
class: v({ reePay: f(o) === f(Te).ReePay })
|
|
666
|
+
}, ro, 2)
|
|
658
667
|
]));
|
|
659
668
|
}
|
|
660
|
-
}),
|
|
669
|
+
}), mo = /* @__PURE__ */ z(so, [["__scopeId", "data-v-853041a4"]]);
|
|
661
670
|
export {
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
671
|
+
po as B,
|
|
672
|
+
vo as C,
|
|
673
|
+
yo as P,
|
|
674
|
+
no as _,
|
|
675
|
+
mo as a
|
|
667
676
|
};
|
|
668
|
-
//# sourceMappingURL=CheckoutWindow-
|
|
677
|
+
//# sourceMappingURL=CheckoutWindow-DDFex8_M.js.map
|