@konnectio/core 4.0.56-rc35 → 4.0.56-rc36
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-Bruv7ZZW.js → ActionField-Ct6NhfWq.js} +43 -34
- package/dist/ActionField-Ct6NhfWq.js.br +0 -0
- package/dist/AvailabilitySkeleton-DOhrMVl4.js +286 -0
- package/dist/AvailabilitySkeleton-DOhrMVl4.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Z4h6wyqj.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-0yAgK-cr.js} +519 -510
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-0yAgK-cr.js.br +0 -0
- package/dist/{CheckoutWindow-Dn3fiFuv.js → CheckoutWindow-BVIOQbbL.js} +143 -134
- package/dist/CheckoutWindow-BVIOQbbL.js.br +0 -0
- package/dist/{ErrorMessage-VK8egk99.js → ErrorMessage-DTSuSB8R.js} +27 -18
- package/dist/ErrorMessage-DTSuSB8R.js.br +0 -0
- package/dist/EventAvailabilityForm-DVcDsdr8.js +432 -0
- package/dist/EventAvailabilityForm-DVcDsdr8.js.br +0 -0
- package/dist/Field-IsLH1tNU.js +50 -0
- package/dist/Field-IsLH1tNU.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BKo1p702.js +21280 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BKo1p702.js.br +0 -0
- package/dist/TermsOfService-BORqI07-.js +35 -0
- package/dist/TermsOfService-BORqI07-.js.br +0 -0
- package/dist/_commonjsHelpers-UWZO_9XV.js +11796 -0
- package/dist/_commonjsHelpers-UWZO_9XV.js.br +0 -0
- package/dist/availability.js +60 -50
- package/dist/availability.js.br +0 -0
- package/dist/event.js +284 -274
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +75 -65
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +242 -232
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +697 -693
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-WFnnzw7L.js → masonry.plugin-gY-oSFpV.js} +43 -34
- package/dist/masonry.plugin-gY-oSFpV.js.br +0 -0
- package/dist/navigation.js +10 -1
- package/dist/polyfill.js +14745 -4715
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +8 -6
- package/dist/ActionField-Bruv7ZZW.js.br +0 -0
- package/dist/AvailabilitySkeleton-DxVPZPw3.js +0 -277
- package/dist/AvailabilitySkeleton-DxVPZPw3.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Z4h6wyqj.js.br +0 -0
- package/dist/CheckoutWindow-Dn3fiFuv.js.br +0 -0
- package/dist/ErrorMessage-VK8egk99.js.br +0 -0
- package/dist/EventAvailabilityForm-DbkL5luy.js +0 -422
- package/dist/EventAvailabilityForm-DbkL5luy.js.br +0 -0
- package/dist/Field-fZ3Q2e9-.js +0 -41
- package/dist/Field-fZ3Q2e9-.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CJgfqs-l.js +0 -30755
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CJgfqs-l.js.br +0 -0
- package/dist/TermsOfService-2g29W45E.js +0 -26
- package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
- package/dist/masonry.plugin-WFnnzw7L.js.br +0 -0
package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-0yAgK-cr.js.br
ADDED
|
Binary file
|
|
@@ -1,32 +1,40 @@
|
|
|
1
|
-
import { d as C, o as u, c as m,
|
|
1
|
+
import { d as C, o as u, c as m, r as c, h as j, D as ve, E as me, q as Q, g as U, G as he, a as I, f as r, e as H, w as $, v as X, x as Z, H as q, T as x, n as v, z as V, b as S, I as ge, J as be, t as b, u as y, A as we, K as Se, L as ke, C as W, p as Ce, j as $e } from "./_commonjsHelpers-UWZO_9XV.js";
|
|
2
|
+
import { A as Be, _ as z, r as ee, T as oe, I as ne, u as Ve, s as Pe, o as Te, Q as Ie } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BKo1p702.js";
|
|
3
|
+
(function() {
|
|
4
|
+
try {
|
|
5
|
+
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] = "c8b0ac11-085c-450c-8a58-5d8237d7956e", e._sentryDebugIdIdentifier = "sentry-dbid-c8b0ac11-085c-450c-8a58-5d8237d7956e");
|
|
7
|
+
} catch {
|
|
8
|
+
}
|
|
9
|
+
})();
|
|
2
10
|
function He(e) {
|
|
3
11
|
if (Array.isArray(e)) {
|
|
4
|
-
for (var o = 0,
|
|
5
|
-
|
|
6
|
-
return
|
|
12
|
+
for (var o = 0, t = Array(e.length); o < e.length; o++)
|
|
13
|
+
t[o] = e[o];
|
|
14
|
+
return t;
|
|
7
15
|
} else
|
|
8
16
|
return Array.from(e);
|
|
9
17
|
}
|
|
10
|
-
var
|
|
18
|
+
var _ = !1;
|
|
11
19
|
if (typeof window < "u") {
|
|
12
20
|
var te = {
|
|
13
21
|
get passive() {
|
|
14
|
-
|
|
22
|
+
_ = !0;
|
|
15
23
|
}
|
|
16
24
|
};
|
|
17
25
|
window.addEventListener("testPassive", null, te), window.removeEventListener("testPassive", null, te);
|
|
18
26
|
}
|
|
19
|
-
var
|
|
20
|
-
return k.some(function(
|
|
21
|
-
return !!(
|
|
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), k = [], E = !1, ae = -1, P = void 0, w = void 0, T = void 0, ie = function(o) {
|
|
28
|
+
return k.some(function(t) {
|
|
29
|
+
return !!(t.options.allowTouchMove && t.options.allowTouchMove(o));
|
|
22
30
|
});
|
|
23
|
-
},
|
|
24
|
-
var
|
|
25
|
-
return ie(
|
|
31
|
+
}, O = function(o) {
|
|
32
|
+
var t = o || window.event;
|
|
33
|
+
return ie(t.target) || t.touches.length > 1 ? !0 : (t.preventDefault && t.preventDefault(), !1);
|
|
26
34
|
}, Ae = function(o) {
|
|
27
35
|
if (T === void 0) {
|
|
28
|
-
var
|
|
29
|
-
if (
|
|
36
|
+
var t = !!o && o.reserveScrollBarGap === !0, n = window.innerWidth - document.documentElement.clientWidth;
|
|
37
|
+
if (t && n > 0) {
|
|
30
38
|
var a = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"), 10);
|
|
31
39
|
T = document.body.style.paddingRight, document.body.style.paddingRight = a + n + "px";
|
|
32
40
|
}
|
|
@@ -42,26 +50,26 @@ var O = typeof window < "u" && window.navigator && window.navigator.platform &&
|
|
|
42
50
|
top: document.body.style.top,
|
|
43
51
|
left: document.body.style.left
|
|
44
52
|
};
|
|
45
|
-
var o = window,
|
|
46
|
-
document.body.style.position = "fixed", document.body.style.top = -
|
|
53
|
+
var o = window, t = o.scrollY, n = o.scrollX, a = o.innerHeight;
|
|
54
|
+
document.body.style.position = "fixed", document.body.style.top = -t, document.body.style.left = -n, setTimeout(function() {
|
|
47
55
|
return window.requestAnimationFrame(function() {
|
|
48
56
|
var i = a - window.innerHeight;
|
|
49
|
-
i &&
|
|
57
|
+
i && t >= a && (document.body.style.top = -(t + i));
|
|
50
58
|
});
|
|
51
59
|
}, 300);
|
|
52
60
|
}
|
|
53
61
|
});
|
|
54
|
-
},
|
|
62
|
+
}, De = function() {
|
|
55
63
|
if (w !== void 0) {
|
|
56
|
-
var o = -parseInt(document.body.style.top, 10),
|
|
57
|
-
document.body.style.position = w.position, document.body.style.top = w.top, document.body.style.left = w.left, window.scrollTo(
|
|
64
|
+
var o = -parseInt(document.body.style.top, 10), t = -parseInt(document.body.style.left, 10);
|
|
65
|
+
document.body.style.position = w.position, document.body.style.top = w.top, document.body.style.left = w.left, window.scrollTo(t, o), w = void 0;
|
|
58
66
|
}
|
|
59
|
-
},
|
|
67
|
+
}, Ee = function(o) {
|
|
60
68
|
return o ? o.scrollHeight - o.scrollTop <= o.clientHeight : !1;
|
|
61
|
-
},
|
|
69
|
+
}, Oe = function(o, t) {
|
|
62
70
|
var n = o.targetTouches[0].clientY - ae;
|
|
63
|
-
return ie(o.target) ? !1 :
|
|
64
|
-
}, ze = function(o,
|
|
71
|
+
return ie(o.target) ? !1 : t && t.scrollTop === 0 && n > 0 || Ee(t) && n < 0 ? O(o) : (o.stopPropagation(), !0);
|
|
72
|
+
}, ze = function(o, t) {
|
|
65
73
|
if (!o) {
|
|
66
74
|
console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");
|
|
67
75
|
return;
|
|
@@ -71,47 +79,47 @@ var O = typeof window < "u" && window.navigator && window.navigator.platform &&
|
|
|
71
79
|
})) {
|
|
72
80
|
var n = {
|
|
73
81
|
targetElement: o,
|
|
74
|
-
options:
|
|
82
|
+
options: t || {}
|
|
75
83
|
};
|
|
76
|
-
k = [].concat(He(k), [n]),
|
|
84
|
+
k = [].concat(He(k), [n]), D ? qe() : Ae(t), D && (o.ontouchstart = function(a) {
|
|
77
85
|
a.targetTouches.length === 1 && (ae = a.targetTouches[0].clientY);
|
|
78
86
|
}, o.ontouchmove = function(a) {
|
|
79
|
-
a.targetTouches.length === 1 &&
|
|
80
|
-
},
|
|
87
|
+
a.targetTouches.length === 1 && Oe(a, o);
|
|
88
|
+
}, E || (document.addEventListener("touchmove", O, _ ? { passive: !1 } : void 0), E = !0));
|
|
81
89
|
}
|
|
82
|
-
},
|
|
90
|
+
}, Le = function(o) {
|
|
83
91
|
if (!o) {
|
|
84
92
|
console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");
|
|
85
93
|
return;
|
|
86
94
|
}
|
|
87
|
-
k = k.filter(function(
|
|
88
|
-
return
|
|
89
|
-
}),
|
|
90
|
-
},
|
|
95
|
+
k = k.filter(function(t) {
|
|
96
|
+
return t.targetElement !== o;
|
|
97
|
+
}), D && (o.ontouchstart = null, o.ontouchmove = null, E && k.length === 0 && (document.removeEventListener("touchmove", O, _ ? { passive: !1 } : void 0), E = !1)), D ? De() : Ne();
|
|
98
|
+
}, K = C({
|
|
91
99
|
name: "SidePanelCloseButton",
|
|
92
100
|
emits: ["close"]
|
|
93
101
|
});
|
|
94
|
-
const
|
|
102
|
+
const Me = /* @__PURE__ */ r(
|
|
95
103
|
"span",
|
|
96
104
|
{ class: "vsp-close__x" },
|
|
97
105
|
null,
|
|
98
106
|
-1
|
|
99
107
|
/* HOISTED */
|
|
100
108
|
), Fe = [
|
|
101
|
-
|
|
109
|
+
Me
|
|
102
110
|
];
|
|
103
|
-
function
|
|
111
|
+
function Ge(e, o, t, n, a, i) {
|
|
104
112
|
return u(), m("div", {
|
|
105
113
|
class: "vsp-close",
|
|
106
|
-
onClick: o[0] || (o[0] = (
|
|
114
|
+
onClick: o[0] || (o[0] = (l) => e.$emit("close"))
|
|
107
115
|
}, [...Fe]);
|
|
108
116
|
}
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
var
|
|
117
|
+
K.render = Ge;
|
|
118
|
+
K.__file = "src/components/SidePanelCloseButton.vue";
|
|
119
|
+
var Y = C({
|
|
112
120
|
name: "VueSidePanel",
|
|
113
121
|
components: {
|
|
114
|
-
SidePanelCloseButton:
|
|
122
|
+
SidePanelCloseButton: K
|
|
115
123
|
},
|
|
116
124
|
props: {
|
|
117
125
|
idName: {
|
|
@@ -198,46 +206,46 @@ var X = C({
|
|
|
198
206
|
}
|
|
199
207
|
},
|
|
200
208
|
emits: ["update:modelValue", "closed", "opened"],
|
|
201
|
-
setup(e, { emit: o, attrs:
|
|
209
|
+
setup(e, { emit: o, attrs: t }) {
|
|
202
210
|
let n;
|
|
203
|
-
const a = c(null), i = c(null),
|
|
204
|
-
window?.innerHeight > 0 && (
|
|
205
|
-
}, de = () => o("update:modelValue", !1),
|
|
211
|
+
const a = c(null), i = c(null), l = c(null), s = c(null), d = c(null), f = c(0), h = c(0), A = c(0), L = c(0), M = c(0), F = c(), J = c(!1), B = async () => {
|
|
212
|
+
window?.innerHeight > 0 && (M.value = window.innerHeight), f.value = l.value ? l.value.clientHeight : 0, A.value = s.value ? s.value.clientHeight : 0, h.value = d.value ? d.value.scrollHeight : 0, L.value = a.value ? a.value.clientHeight : 0;
|
|
213
|
+
}, de = () => o("update:modelValue", !1), G = (p, g) => {
|
|
206
214
|
if (g) {
|
|
207
215
|
setTimeout(() => {
|
|
208
|
-
ze(
|
|
216
|
+
ze(p, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
|
|
209
217
|
}, 0);
|
|
210
218
|
return;
|
|
211
219
|
}
|
|
212
|
-
|
|
213
|
-
}, re = () => Math.max(...Array.from(document.querySelectorAll("body *"), (
|
|
220
|
+
Le(p), e.lockScrollHtml && document.documentElement.style.removeProperty("overflow");
|
|
221
|
+
}, re = () => Math.max(...Array.from(document.querySelectorAll("body *"), (p) => parseFloat(window.getComputedStyle(p).zIndex)).filter((p) => !Number.isNaN(p)), 0);
|
|
214
222
|
j(() => {
|
|
215
223
|
F.value = e.zIndex === "auto" ? re() : e.zIndex;
|
|
216
224
|
}), ve(() => {
|
|
217
225
|
document.getElementById(e.idName) || (n = document.createElement("div"), n.setAttribute("id", e.idName), document.body.appendChild(n));
|
|
218
226
|
}), me(() => {
|
|
219
|
-
const { modelValue:
|
|
220
|
-
g && a.value &&
|
|
221
|
-
}),
|
|
227
|
+
const { modelValue: p, lockScroll: g } = e;
|
|
228
|
+
g && a.value && p && G(a.value, !1), n && document.body.removeChild(n), window.removeEventListener("resize", B);
|
|
229
|
+
}), Q(() => [s.value, l.value, e.height, e.width, e.side, e.modelValue], () => {
|
|
222
230
|
be(() => B());
|
|
223
|
-
}),
|
|
224
|
-
const
|
|
231
|
+
}), Q(() => [e.modelValue, a.value], (p, g) => {
|
|
232
|
+
const fe = g ? g[0] : !1, [R, N] = p, pe = R, ye = fe && !R;
|
|
225
233
|
if (N) {
|
|
226
|
-
if (
|
|
227
|
-
e.lockScroll &&
|
|
234
|
+
if (pe && (J.value = !!document.body.style.overflow), R) {
|
|
235
|
+
e.lockScroll && G(N, !0), B(), window.addEventListener("resize", B);
|
|
228
236
|
return;
|
|
229
237
|
}
|
|
230
|
-
!e.lockScroll || !ye ||
|
|
231
|
-
N &&
|
|
238
|
+
!e.lockScroll || !ye || J.value || (setTimeout(() => {
|
|
239
|
+
N && G(N, !1);
|
|
232
240
|
}, e.panelDuration), window.removeEventListener("resize", B));
|
|
233
241
|
}
|
|
234
242
|
}, { immediate: !0 });
|
|
235
243
|
const se = U(() => {
|
|
236
|
-
if (!
|
|
244
|
+
if (!L.value)
|
|
237
245
|
return;
|
|
238
|
-
const
|
|
239
|
-
let g =
|
|
240
|
-
return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g =
|
|
246
|
+
const p = h.value + A.value + f.value;
|
|
247
|
+
let g = L.value - A.value - f.value;
|
|
248
|
+
return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g = M.value >= p ? h.value : M.value - A.value - f.value), g;
|
|
241
249
|
}), ue = U(() => ({
|
|
242
250
|
zIndex: F.value,
|
|
243
251
|
animationDuration: `${e.overlayDuration}ms`,
|
|
@@ -256,7 +264,7 @@ var X = C({
|
|
|
256
264
|
zIndex: F.value,
|
|
257
265
|
backgroundColor: e.panelColor,
|
|
258
266
|
animationDuration: `${e.panelDuration}ms`,
|
|
259
|
-
...Object.assign({},
|
|
267
|
+
...Object.assign({}, t.style)
|
|
260
268
|
}));
|
|
261
269
|
return {
|
|
262
270
|
body: d,
|
|
@@ -264,15 +272,15 @@ var X = C({
|
|
|
264
272
|
overlay: i,
|
|
265
273
|
overlayStyles: ue,
|
|
266
274
|
header: s,
|
|
267
|
-
footer:
|
|
275
|
+
footer: l,
|
|
268
276
|
closePanel: de,
|
|
269
277
|
panelStyles: ce,
|
|
270
278
|
bodyHeight: se
|
|
271
279
|
};
|
|
272
280
|
}
|
|
273
281
|
});
|
|
274
|
-
function
|
|
275
|
-
const
|
|
282
|
+
function Re(e, o, t, n, a, i) {
|
|
283
|
+
const l = he("SidePanelCloseButton");
|
|
276
284
|
return u(), I(ge, {
|
|
277
285
|
to: `#${e.idName}`
|
|
278
286
|
}, [
|
|
@@ -287,7 +295,7 @@ function Ge(e, o, l, n, a, i) {
|
|
|
287
295
|
persisted: ""
|
|
288
296
|
}, {
|
|
289
297
|
default: $(() => [
|
|
290
|
-
|
|
298
|
+
X(r(
|
|
291
299
|
"div",
|
|
292
300
|
{
|
|
293
301
|
ref: "overlay",
|
|
@@ -299,7 +307,7 @@ function Ge(e, o, l, n, a, i) {
|
|
|
299
307
|
4
|
|
300
308
|
/* STYLE */
|
|
301
309
|
), [
|
|
302
|
-
[
|
|
310
|
+
[Z, e.modelValue]
|
|
303
311
|
])
|
|
304
312
|
]),
|
|
305
313
|
_: 1
|
|
@@ -311,7 +319,7 @@ function Ge(e, o, l, n, a, i) {
|
|
|
311
319
|
onAfterLeave: o[2] || (o[2] = (s) => e.$emit("closed"))
|
|
312
320
|
}, {
|
|
313
321
|
default: $(() => [
|
|
314
|
-
!e.rerender || e.modelValue ?
|
|
322
|
+
!e.rerender || e.modelValue ? X((u(), m(
|
|
315
323
|
"div",
|
|
316
324
|
{
|
|
317
325
|
key: 0,
|
|
@@ -342,7 +350,7 @@ function Ge(e, o, l, n, a, i) {
|
|
|
342
350
|
},
|
|
343
351
|
[
|
|
344
352
|
V(e.$slots, "default", { close: e.closePanel }),
|
|
345
|
-
e.hideCloseBtn ? S("v-if", !0) : (u(), I(
|
|
353
|
+
e.hideCloseBtn ? S("v-if", !0) : (u(), I(l, {
|
|
346
354
|
key: 0,
|
|
347
355
|
onClose: e.closePanel
|
|
348
356
|
}, null, 8, ["onClose"]))
|
|
@@ -367,7 +375,7 @@ function Ge(e, o, l, n, a, i) {
|
|
|
367
375
|
6
|
|
368
376
|
/* CLASS, STYLE */
|
|
369
377
|
)), [
|
|
370
|
-
[
|
|
378
|
+
[Z, e.rerender ? !0 : e.modelValue]
|
|
371
379
|
]) : S("v-if", !0)
|
|
372
380
|
]),
|
|
373
381
|
_: 3
|
|
@@ -379,12 +387,12 @@ function Ge(e, o, l, n, a, i) {
|
|
|
379
387
|
)
|
|
380
388
|
], 8, ["to"]);
|
|
381
389
|
}
|
|
382
|
-
|
|
383
|
-
|
|
390
|
+
Y.render = Re;
|
|
391
|
+
Y.__file = "src/components/SidePanel.vue";
|
|
384
392
|
const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-panel-title" }, je = {
|
|
385
393
|
key: 0,
|
|
386
394
|
id: "konnectio-side-panel-subtitle"
|
|
387
|
-
},
|
|
395
|
+
}, _e = ["innerHTML"], Ke = /* @__PURE__ */ C({
|
|
388
396
|
__name: "Base",
|
|
389
397
|
props: {
|
|
390
398
|
modelValue: { type: Boolean },
|
|
@@ -399,19 +407,19 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
|
|
|
399
407
|
},
|
|
400
408
|
emits: ["update:modelValue", "opened", "closed"],
|
|
401
409
|
setup(e, { emit: o }) {
|
|
402
|
-
const
|
|
410
|
+
const t = o;
|
|
403
411
|
function n() {
|
|
404
|
-
|
|
412
|
+
t("closed");
|
|
405
413
|
}
|
|
406
414
|
function a() {
|
|
407
|
-
|
|
415
|
+
t("opened");
|
|
408
416
|
}
|
|
409
|
-
return (i,
|
|
417
|
+
return (i, l) => (u(), I(y(Y), {
|
|
410
418
|
modelValue: i.modelValue,
|
|
411
419
|
"lock-scroll": i.lockScroll,
|
|
412
420
|
"hide-close-btn": i.hideCloseButton,
|
|
413
421
|
width: i.width,
|
|
414
|
-
"onUpdate:modelValue":
|
|
422
|
+
"onUpdate:modelValue": l[1] || (l[1] = (s) => i.$emit("update:modelValue", s)),
|
|
415
423
|
onClosed: n,
|
|
416
424
|
onOpened: a
|
|
417
425
|
}, {
|
|
@@ -421,9 +429,9 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
|
|
|
421
429
|
r("span", null, b(i.title), 1),
|
|
422
430
|
r("button", {
|
|
423
431
|
id: "konnectio-side-panel-close",
|
|
424
|
-
onClick:
|
|
432
|
+
onClick: l[0] || (l[0] = (s) => i.$emit("update:modelValue", !1))
|
|
425
433
|
}, [
|
|
426
|
-
H(
|
|
434
|
+
H(Be, {
|
|
427
435
|
icon: "times",
|
|
428
436
|
type: "fas",
|
|
429
437
|
color: "header"
|
|
@@ -440,14 +448,14 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
|
|
|
440
448
|
r("div", {
|
|
441
449
|
class: "konnectio-side-panel-description",
|
|
442
450
|
innerHTML: i.description
|
|
443
|
-
}, null, 8,
|
|
451
|
+
}, null, 8, _e),
|
|
444
452
|
V(i.$slots, "default", {}, void 0, !0)
|
|
445
453
|
])
|
|
446
454
|
]),
|
|
447
455
|
_: 3
|
|
448
456
|
}, 8, ["modelValue", "lock-scroll", "hide-close-btn", "width"]));
|
|
449
457
|
}
|
|
450
|
-
}),
|
|
458
|
+
}), co = /* @__PURE__ */ z(Ke, [["__scopeId", "data-v-ce9ba7e5"]]), Ye = { class: "fresh-booking-phone-input" }, Je = /* @__PURE__ */ C({
|
|
451
459
|
__name: "PhoneField",
|
|
452
460
|
props: {
|
|
453
461
|
modelValue: {},
|
|
@@ -463,16 +471,16 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
|
|
|
463
471
|
},
|
|
464
472
|
emits: ["update:modelValue"],
|
|
465
473
|
setup(e, { emit: o }) {
|
|
466
|
-
const
|
|
474
|
+
const t = o, n = e, a = n.id || ee(), i = c("+45"), l = c("");
|
|
467
475
|
function s() {
|
|
468
|
-
|
|
476
|
+
t("update:modelValue", `${i.value} ${l.value}`);
|
|
469
477
|
}
|
|
470
478
|
return j(() => {
|
|
471
479
|
if (n.modelValue) {
|
|
472
480
|
const d = n.modelValue.split(" ");
|
|
473
|
-
i.value = d[0],
|
|
481
|
+
i.value = d[0], l.value = d[1];
|
|
474
482
|
}
|
|
475
|
-
}), (d,
|
|
483
|
+
}), (d, f) => (u(), I(ne, {
|
|
476
484
|
label: d.label,
|
|
477
485
|
id: y(a),
|
|
478
486
|
type: "phone",
|
|
@@ -480,10 +488,10 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
|
|
|
480
488
|
readonly: d.readonly
|
|
481
489
|
}, {
|
|
482
490
|
default: $(() => [
|
|
483
|
-
r("div",
|
|
491
|
+
r("div", Ye, [
|
|
484
492
|
H(oe, {
|
|
485
493
|
modelValue: i.value,
|
|
486
|
-
"onUpdate:modelValue":
|
|
494
|
+
"onUpdate:modelValue": f[0] || (f[0] = (h) => i.value = h),
|
|
487
495
|
type: "text",
|
|
488
496
|
id: y(ee)(),
|
|
489
497
|
name: "phone-code",
|
|
@@ -495,11 +503,11 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
|
|
|
495
503
|
required: d.required,
|
|
496
504
|
readonly: d.readonly,
|
|
497
505
|
"input-style": d.inputStyle,
|
|
498
|
-
onInput:
|
|
506
|
+
onInput: f[1] || (f[1] = (h) => s())
|
|
499
507
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly", "input-style"]),
|
|
500
508
|
H(oe, {
|
|
501
|
-
modelValue:
|
|
502
|
-
"onUpdate:modelValue":
|
|
509
|
+
modelValue: l.value,
|
|
510
|
+
"onUpdate:modelValue": f[2] || (f[2] = (h) => l.value = h),
|
|
503
511
|
type: "number",
|
|
504
512
|
name: "phone",
|
|
505
513
|
autocomplete: "tel-national",
|
|
@@ -508,14 +516,14 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
|
|
|
508
516
|
required: d.required,
|
|
509
517
|
readonly: d.readonly,
|
|
510
518
|
"input-style": d.inputStyle,
|
|
511
|
-
onInput:
|
|
519
|
+
onInput: f[3] || (f[3] = (h) => s())
|
|
512
520
|
}, null, 8, ["modelValue", "id", "placeholder", "required", "readonly", "input-style"])
|
|
513
521
|
])
|
|
514
522
|
]),
|
|
515
523
|
_: 1
|
|
516
524
|
}, 8, ["label", "id", "required", "readonly"]));
|
|
517
525
|
}
|
|
518
|
-
}),
|
|
526
|
+
}), fo = /* @__PURE__ */ z(Je, [["__scopeId", "data-v-5cd094ab"]]), Qe = ["required", "type", "name", "readonly", "disabled", "value", "checked"], Xe = ["data-test"], Ze = { key: 0 }, xe = {
|
|
519
527
|
key: 1,
|
|
520
528
|
class: /* @__PURE__ */ v(["konnectio-click-box-label", "inline"])
|
|
521
529
|
}, eo = /* @__PURE__ */ C({
|
|
@@ -535,56 +543,56 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
|
|
|
535
543
|
},
|
|
536
544
|
emits: ["update:modelValue"],
|
|
537
545
|
setup(e, { emit: o }) {
|
|
538
|
-
const
|
|
546
|
+
const t = e, n = o, a = we();
|
|
539
547
|
function i() {
|
|
540
|
-
|
|
548
|
+
t.readonly !== !0 && n(
|
|
541
549
|
"update:modelValue",
|
|
542
|
-
|
|
550
|
+
t.type === "radio" ? t.val : t.numeric ? t.modelValue ? 0 : 1 : !t.modelValue
|
|
543
551
|
);
|
|
544
552
|
}
|
|
545
|
-
return (
|
|
546
|
-
required:
|
|
547
|
-
type:
|
|
548
|
-
readonly:
|
|
553
|
+
return (l, s) => (u(), I(ne, {
|
|
554
|
+
required: l.required,
|
|
555
|
+
type: l.type,
|
|
556
|
+
readonly: l.readonly
|
|
549
557
|
}, {
|
|
550
558
|
default: $(() => [
|
|
551
559
|
r("label", {
|
|
552
560
|
class: v([
|
|
553
561
|
"konnectio-click-box-container",
|
|
554
|
-
{ "is-readonly":
|
|
555
|
-
{ "has-label":
|
|
556
|
-
|
|
562
|
+
{ "is-readonly": l.readonly },
|
|
563
|
+
{ "has-label": l.label || y(a).default },
|
|
564
|
+
l.type === "radio" ? "radio" : "checkbox"
|
|
557
565
|
])
|
|
558
566
|
}, [
|
|
559
|
-
r("input",
|
|
560
|
-
required: !!
|
|
561
|
-
type:
|
|
562
|
-
name:
|
|
567
|
+
r("input", Se(l.$attrs, {
|
|
568
|
+
required: !!l.required,
|
|
569
|
+
type: l.type,
|
|
570
|
+
name: l.name,
|
|
563
571
|
class: "hidden",
|
|
564
|
-
readonly: !!
|
|
565
|
-
disabled: !!
|
|
566
|
-
value:
|
|
567
|
-
checked:
|
|
572
|
+
readonly: !!l.readonly,
|
|
573
|
+
disabled: !!l.readonly,
|
|
574
|
+
value: l.type === "radio" ? l.val : l.modelValue,
|
|
575
|
+
checked: l.type === "radio" ? l.val === l.modelValue : !!l.modelValue,
|
|
568
576
|
onChange: s[0] || (s[0] = (d) => i())
|
|
569
|
-
}), null, 16,
|
|
577
|
+
}), null, 16, Qe),
|
|
570
578
|
r("div", {
|
|
571
579
|
class: v([
|
|
572
580
|
"konnectio-click-box",
|
|
573
|
-
{ checked:
|
|
581
|
+
{ checked: l.type === "radio" ? l.val === l.modelValue : !!l.modelValue }
|
|
574
582
|
]),
|
|
575
583
|
tabindex: "0",
|
|
576
|
-
style: q(
|
|
577
|
-
"data-test":
|
|
578
|
-
onKeyup: s[1] || (s[1] =
|
|
579
|
-
}, null, 46,
|
|
580
|
-
|
|
584
|
+
style: q(l.inputStyle),
|
|
585
|
+
"data-test": l.name,
|
|
586
|
+
onKeyup: s[1] || (s[1] = ke((d) => i(), ["enter"]))
|
|
587
|
+
}, null, 46, Xe),
|
|
588
|
+
l.label ? (u(), m("div", {
|
|
581
589
|
key: 0,
|
|
582
|
-
class: v(["konnectio-click-box-label", "text-hover", { "with-price":
|
|
590
|
+
class: v(["konnectio-click-box-label", "text-hover", { "with-price": l.price }])
|
|
583
591
|
}, [
|
|
584
|
-
r("span", null, b(
|
|
585
|
-
|
|
592
|
+
r("span", null, b(l.label), 1),
|
|
593
|
+
l.price ? (u(), m("span", Ze, b(l.price), 1)) : S("", !0)
|
|
586
594
|
], 2)) : y(a).default ? (u(), m("div", xe, [
|
|
587
|
-
V(
|
|
595
|
+
V(l.$slots, "default", {}, void 0, !0)
|
|
588
596
|
])) : S("", !0)
|
|
589
597
|
], 2)
|
|
590
598
|
]),
|
|
@@ -600,8 +608,8 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
|
|
|
600
608
|
}, lo = /* @__PURE__ */ C({
|
|
601
609
|
__name: "GoogleNotice",
|
|
602
610
|
setup(e) {
|
|
603
|
-
const { t: o } =
|
|
604
|
-
return (
|
|
611
|
+
const { t: o } = Ve();
|
|
612
|
+
return (t, n) => (u(), m("span", null, [
|
|
605
613
|
W(b(y(o)("googleNotice")) + " ", 1),
|
|
606
614
|
r("a", oo, b(y(o)("googlePrivacyPolicy")), 1),
|
|
607
615
|
W(" " + b(y(o)("googleAnd")) + " ", 1),
|
|
@@ -633,27 +641,28 @@ function le(e) {
|
|
|
633
641
|
});
|
|
634
642
|
}
|
|
635
643
|
typeof le == "function" && le(lo);
|
|
636
|
-
const no = (e) => (
|
|
644
|
+
const no = (e) => (Ce("data-v-853041a4"), e = e(), $e(), e), ao = /* @__PURE__ */ no(() => /* @__PURE__ */ r("div", { id: "konnectio-payment-checkout" }, null, -1)), io = [
|
|
637
645
|
ao
|
|
638
646
|
], ro = /* @__PURE__ */ C({
|
|
639
647
|
__name: "CheckoutWindow",
|
|
640
648
|
setup(e) {
|
|
641
|
-
const { paymentGatewayId: o } =
|
|
649
|
+
const { paymentGatewayId: o } = Pe(Te());
|
|
642
650
|
return j(() => {
|
|
643
|
-
const
|
|
644
|
-
|
|
645
|
-
}), (
|
|
651
|
+
const t = document.createElement("script"), n = document.createElement("script");
|
|
652
|
+
t.setAttribute("src", "https://checkout.dibspayment.eu/v1/checkout.js?v=1"), n.setAttribute("src", "https://checkout.reepay.com/checkout.js"), document.head.appendChild(t), document.head.appendChild(n);
|
|
653
|
+
}), (t, n) => (u(), m("div", null, [
|
|
646
654
|
r("div", {
|
|
647
655
|
id: "konnectio-payment-checkout-wrapper",
|
|
648
|
-
class: v({ reePay: y(o) === y(
|
|
656
|
+
class: v({ reePay: y(o) === y(Ie).ReePay })
|
|
649
657
|
}, io, 2)
|
|
650
658
|
]));
|
|
651
659
|
}
|
|
652
|
-
}),
|
|
660
|
+
}), yo = /* @__PURE__ */ z(ro, [["__scopeId", "data-v-853041a4"]]);
|
|
653
661
|
export {
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
662
|
+
co as B,
|
|
663
|
+
yo as C,
|
|
664
|
+
fo as P,
|
|
657
665
|
lo as _,
|
|
658
666
|
po as a
|
|
659
667
|
};
|
|
668
|
+
//# sourceMappingURL=CheckoutWindow-BVIOQbbL.js.map
|
|
Binary file
|