@konnectio/core 4.1.3 → 4.1.4
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-CRqgWSz1.js → ActionField-C1dgcOKP.js} +3 -3
- package/dist/ActionField-C1dgcOKP.js.br +0 -0
- package/dist/{AvailabilitySkeleton-DVrVFhw4.js → AvailabilitySkeleton-Bazs9H4o.js} +110 -110
- package/dist/AvailabilitySkeleton-Bazs9H4o.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bqb9v7l8.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-a1ndpS4g.js} +336 -336
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-a1ndpS4g.js.br +0 -0
- package/dist/{CheckoutWindow-DrZnthDH.js → CheckoutWindow-BgqyyJoW.js} +185 -185
- package/dist/CheckoutWindow-BgqyyJoW.js.br +0 -0
- package/dist/{ErrorMessage-b0lY3zUM.js → ErrorMessage-BzDrnE0F.js} +4 -4
- package/dist/ErrorMessage-BzDrnE0F.js.br +0 -0
- package/dist/{EventAvailabilityForm-BPkfZcYX.js → EventAvailabilityForm-Cw5NkQXM.js} +10 -10
- package/dist/EventAvailabilityForm-Cw5NkQXM.js.br +0 -0
- package/dist/{Field-DnS91ODQ.js → Field-BLzufPEA.js} +4 -4
- package/dist/Field-BLzufPEA.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CW-XSJQB.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DF8uAZlm.js} +3 -3
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-CZYWu7x-.js → SelectField.vue_vue_type_style_index_0_lang-eQJ88XWq.js} +2936 -2621
- package/dist/SelectField.vue_vue_type_style_index_0_lang-eQJ88XWq.js.br +0 -0
- package/dist/{TermsOfService-B2ELKRPq.js → TermsOfService-BM9pIxg1.js} +4 -4
- package/dist/_-C47qU_gt.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-DKkrP6vk.js → _.vue_vue_type_style_index_0_lang-alJEghYY.js} +3 -3
- package/dist/availability.js +16 -16
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +14 -14
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/core.css +1 -1
- package/dist/core.css.br +0 -0
- package/dist/deep-link.js +13 -13
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +55 -55
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +24 -24
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +56 -56
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-BsWa3VEY.js → giftCard-pa0AL3wA.js} +26 -26
- package/dist/giftCard-pa0AL3wA.js.br +0 -0
- package/dist/hotel.js +15 -15
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-By72FzQ9.js → masonry.plugin-p-oq4FQ9.js} +301 -301
- package/dist/masonry.plugin-p-oq4FQ9.js.br +0 -0
- package/dist/{mitt-Dh_4vPVI.js → mitt-CFrRmK9k.js} +30 -30
- package/dist/mitt-CFrRmK9k.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-CXMzdeVK.js → style-CLWqMWeG.js} +59 -59
- package/dist/style-CLWqMWeG.js.br +0 -0
- package/package.json +2 -1
- package/dist/ActionField-CRqgWSz1.js.br +0 -0
- package/dist/AvailabilitySkeleton-DVrVFhw4.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bqb9v7l8.js.br +0 -0
- package/dist/CheckoutWindow-DrZnthDH.js.br +0 -0
- package/dist/ErrorMessage-b0lY3zUM.js.br +0 -0
- package/dist/EventAvailabilityForm-BPkfZcYX.js.br +0 -0
- package/dist/Field-DnS91ODQ.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-CZYWu7x-.js.br +0 -0
- package/dist/_-DkNAaEsV.js +0 -5
- package/dist/giftCard-BsWa3VEY.js.br +0 -0
- package/dist/masonry.plugin-By72FzQ9.js.br +0 -0
- package/dist/mitt-Dh_4vPVI.js.br +0 -0
- package/dist/style-CXMzdeVK.js.br +0 -0
package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-a1ndpS4g.js.br
ADDED
|
Binary file
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { d as $, a as u, g as v, r as c, o as j, af as
|
|
2
|
-
import { I as Ve, _ as
|
|
1
|
+
import { d as $, a as u, g as v, r as c, o as j, af as ve, Q as me, D as Z, c as R, b as H, e as r, f as I, w as k, E as J, G as _, a0 as U, T as x, n as m, q as B, j as w, a8 as he, M as ge, X as be, y as we, t as b, i as y, x as Se, a6 as ke, ac as Ce, u as $e, v as W, s as Be } from "./mitt-CFrRmK9k.js";
|
|
2
|
+
import { I as Ve, _ as O, H as ee, T as oe, x as ne, h as Pe, P as Te } from "./SelectField.vue_vue_type_style_index_0_lang-eQJ88XWq.js";
|
|
3
3
|
function He(e) {
|
|
4
4
|
if (Array.isArray(e)) {
|
|
5
|
-
for (var o = 0,
|
|
6
|
-
|
|
7
|
-
return
|
|
5
|
+
for (var o = 0, t = Array(e.length); o < e.length; o++)
|
|
6
|
+
t[o] = e[o];
|
|
7
|
+
return t;
|
|
8
8
|
} else
|
|
9
9
|
return Array.from(e);
|
|
10
10
|
}
|
|
11
|
-
var
|
|
11
|
+
var X = !1;
|
|
12
12
|
if (typeof window < "u") {
|
|
13
13
|
var te = {
|
|
14
14
|
get passive() {
|
|
15
|
-
|
|
15
|
+
X = !0;
|
|
16
16
|
}
|
|
17
17
|
};
|
|
18
18
|
window.addEventListener("testPassive", null, te), window.removeEventListener("testPassive", null, te);
|
|
19
19
|
}
|
|
20
|
-
var q = 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 = [],
|
|
21
|
-
return C.some(function(
|
|
22
|
-
return !!(
|
|
20
|
+
var q = 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
|
+
return C.some(function(t) {
|
|
22
|
+
return !!(t.options.allowTouchMove && t.options.allowTouchMove(o));
|
|
23
23
|
});
|
|
24
|
-
},
|
|
25
|
-
var
|
|
26
|
-
return
|
|
24
|
+
}, E = function(o) {
|
|
25
|
+
var t = o || window.event;
|
|
26
|
+
return ie(t.target) || t.touches.length > 1 ? !0 : (t.preventDefault && t.preventDefault(), !1);
|
|
27
27
|
}, Ie = function(o) {
|
|
28
28
|
if (T === void 0) {
|
|
29
|
-
var
|
|
30
|
-
if (
|
|
29
|
+
var t = !!o && o.reserveScrollBarGap === !0, n = window.innerWidth - document.documentElement.clientWidth;
|
|
30
|
+
if (t && n > 0) {
|
|
31
31
|
var a = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"), 10);
|
|
32
32
|
T = document.body.style.paddingRight, document.body.style.paddingRight = a + n + "px";
|
|
33
33
|
}
|
|
@@ -43,26 +43,26 @@ var q = typeof window < "u" && window.navigator && window.navigator.platform &&
|
|
|
43
43
|
top: document.body.style.top,
|
|
44
44
|
left: document.body.style.left
|
|
45
45
|
};
|
|
46
|
-
var o = window,
|
|
47
|
-
document.body.style.position = "fixed", document.body.style.top = -
|
|
46
|
+
var o = window, t = o.scrollY, n = o.scrollX, a = o.innerHeight;
|
|
47
|
+
document.body.style.position = "fixed", document.body.style.top = -t, document.body.style.left = -n, setTimeout(function() {
|
|
48
48
|
return window.requestAnimationFrame(function() {
|
|
49
|
-
var
|
|
50
|
-
|
|
49
|
+
var i = a - window.innerHeight;
|
|
50
|
+
i && t >= a && (document.body.style.top = -(t + i));
|
|
51
51
|
});
|
|
52
52
|
}, 300);
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
55
|
}, qe = function() {
|
|
56
56
|
if (S !== void 0) {
|
|
57
|
-
var o = -parseInt(document.body.style.top, 10),
|
|
58
|
-
document.body.style.position = S.position, document.body.style.top = S.top, document.body.style.left = S.left, window.scrollTo(
|
|
57
|
+
var o = -parseInt(document.body.style.top, 10), t = -parseInt(document.body.style.left, 10);
|
|
58
|
+
document.body.style.position = S.position, document.body.style.top = S.top, document.body.style.left = S.left, window.scrollTo(t, o), S = void 0;
|
|
59
59
|
}
|
|
60
|
-
},
|
|
60
|
+
}, De = function(o) {
|
|
61
61
|
return o ? o.scrollHeight - o.scrollTop <= o.clientHeight : !1;
|
|
62
|
-
},
|
|
63
|
-
var n = o.targetTouches[0].clientY -
|
|
64
|
-
return
|
|
65
|
-
},
|
|
62
|
+
}, Ee = function(o, t) {
|
|
63
|
+
var n = o.targetTouches[0].clientY - ae;
|
|
64
|
+
return ie(o.target) ? !1 : t && t.scrollTop === 0 && n > 0 || De(t) && n < 0 ? E(o) : (o.stopPropagation(), !0);
|
|
65
|
+
}, Oe = function(o, t) {
|
|
66
66
|
if (!o) {
|
|
67
67
|
console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");
|
|
68
68
|
return;
|
|
@@ -72,47 +72,47 @@ var q = typeof window < "u" && window.navigator && window.navigator.platform &&
|
|
|
72
72
|
})) {
|
|
73
73
|
var n = {
|
|
74
74
|
targetElement: o,
|
|
75
|
-
options:
|
|
75
|
+
options: t || {}
|
|
76
76
|
};
|
|
77
|
-
C = [].concat(He(C), [n]), q ? Ne() : Ie(
|
|
78
|
-
a.targetTouches.length === 1 && (
|
|
77
|
+
C = [].concat(He(C), [n]), q ? Ne() : Ie(t), q && (o.ontouchstart = function(a) {
|
|
78
|
+
a.targetTouches.length === 1 && (ae = a.targetTouches[0].clientY);
|
|
79
79
|
}, o.ontouchmove = function(a) {
|
|
80
|
-
a.targetTouches.length === 1 &&
|
|
81
|
-
},
|
|
80
|
+
a.targetTouches.length === 1 && Ee(a, o);
|
|
81
|
+
}, D || (document.addEventListener("touchmove", E, X ? { passive: !1 } : void 0), D = !0));
|
|
82
82
|
}
|
|
83
|
-
},
|
|
83
|
+
}, Me = function(o) {
|
|
84
84
|
if (!o) {
|
|
85
85
|
console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");
|
|
86
86
|
return;
|
|
87
87
|
}
|
|
88
|
-
C = C.filter(function(
|
|
89
|
-
return
|
|
90
|
-
}), q && (o.ontouchstart = null, o.ontouchmove = null,
|
|
91
|
-
},
|
|
88
|
+
C = C.filter(function(t) {
|
|
89
|
+
return t.targetElement !== o;
|
|
90
|
+
}), q && (o.ontouchstart = null, o.ontouchmove = null, D && C.length === 0 && (document.removeEventListener("touchmove", E, X ? { passive: !1 } : void 0), D = !1)), q ? qe() : Ae();
|
|
91
|
+
}, Y = $({
|
|
92
92
|
name: "SidePanelCloseButton",
|
|
93
93
|
emits: ["close"]
|
|
94
94
|
});
|
|
95
|
-
const
|
|
95
|
+
const ze = /* @__PURE__ */ r(
|
|
96
96
|
"span",
|
|
97
97
|
{ class: "vsp-close__x" },
|
|
98
98
|
null,
|
|
99
99
|
-1
|
|
100
100
|
/* HOISTED */
|
|
101
101
|
), Le = [
|
|
102
|
-
|
|
102
|
+
ze
|
|
103
103
|
];
|
|
104
|
-
function Fe(e, o,
|
|
104
|
+
function Fe(e, o, t, n, a, i) {
|
|
105
105
|
return u(), v("div", {
|
|
106
106
|
class: "vsp-close",
|
|
107
|
-
onClick: o[0] || (o[0] = (
|
|
107
|
+
onClick: o[0] || (o[0] = (l) => e.$emit("close"))
|
|
108
108
|
}, [...Le]);
|
|
109
109
|
}
|
|
110
|
-
|
|
111
|
-
|
|
110
|
+
Y.render = Fe;
|
|
111
|
+
Y.__file = "src/components/SidePanelCloseButton.vue";
|
|
112
112
|
var K = $({
|
|
113
113
|
name: "VueSidePanel",
|
|
114
114
|
components: {
|
|
115
|
-
SidePanelCloseButton:
|
|
115
|
+
SidePanelCloseButton: Y
|
|
116
116
|
},
|
|
117
117
|
props: {
|
|
118
118
|
idName: {
|
|
@@ -199,54 +199,54 @@ var K = $({
|
|
|
199
199
|
}
|
|
200
200
|
},
|
|
201
201
|
emits: ["update:modelValue", "closed", "opened"],
|
|
202
|
-
setup(e, { emit: o, attrs:
|
|
202
|
+
setup(e, { emit: o, attrs: t }) {
|
|
203
203
|
let n;
|
|
204
|
-
const a = c(null),
|
|
205
|
-
window?.innerHeight > 0 && (
|
|
206
|
-
},
|
|
204
|
+
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), M = c(0), z = c(0), L = c(), Q = c(!1), V = async () => {
|
|
205
|
+
window?.innerHeight > 0 && (z.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, M.value = a.value ? a.value.clientHeight : 0;
|
|
206
|
+
}, de = () => o("update:modelValue", !1), F = (p, g) => {
|
|
207
207
|
if (g) {
|
|
208
208
|
setTimeout(() => {
|
|
209
|
-
|
|
209
|
+
Oe(p, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
|
|
210
210
|
}, 0);
|
|
211
211
|
return;
|
|
212
212
|
}
|
|
213
|
-
|
|
214
|
-
},
|
|
213
|
+
Me(p), e.lockScrollHtml && document.documentElement.style.removeProperty("overflow");
|
|
214
|
+
}, re = () => Math.max(...Array.from(document.querySelectorAll("body *"), (p) => parseFloat(window.getComputedStyle(p).zIndex)).filter((p) => !Number.isNaN(p)), 0);
|
|
215
215
|
j(() => {
|
|
216
|
-
L.value = e.zIndex === "auto" ?
|
|
217
|
-
}),
|
|
216
|
+
L.value = e.zIndex === "auto" ? re() : e.zIndex;
|
|
217
|
+
}), ve(() => {
|
|
218
218
|
document.getElementById(e.idName) || (n = document.createElement("div"), n.setAttribute("id", e.idName), document.body.appendChild(n));
|
|
219
|
-
}),
|
|
220
|
-
const { modelValue:
|
|
221
|
-
g && a.value &&
|
|
222
|
-
}),
|
|
223
|
-
|
|
224
|
-
}),
|
|
225
|
-
const
|
|
219
|
+
}), me(() => {
|
|
220
|
+
const { modelValue: p, lockScroll: g } = e;
|
|
221
|
+
g && a.value && p && F(a.value, !1), n && document.body.removeChild(n), window.removeEventListener("resize", V);
|
|
222
|
+
}), Z(() => [s.value, l.value, e.height, e.width, e.side, e.modelValue], () => {
|
|
223
|
+
ge(() => V());
|
|
224
|
+
}), Z(() => [e.modelValue, a.value], (p, g) => {
|
|
225
|
+
const fe = g ? g[0] : !1, [G, N] = p, pe = G, ye = fe && !G;
|
|
226
226
|
if (N) {
|
|
227
|
-
if (
|
|
227
|
+
if (pe && (Q.value = !!document.body.style.overflow), G) {
|
|
228
228
|
e.lockScroll && F(N, !0), V(), window.addEventListener("resize", V);
|
|
229
229
|
return;
|
|
230
230
|
}
|
|
231
|
-
!e.lockScroll || !
|
|
231
|
+
!e.lockScroll || !ye || Q.value || (setTimeout(() => {
|
|
232
232
|
N && F(N, !1);
|
|
233
233
|
}, e.panelDuration), window.removeEventListener("resize", V));
|
|
234
234
|
}
|
|
235
235
|
}, { immediate: !0 });
|
|
236
|
-
const
|
|
237
|
-
if (!
|
|
236
|
+
const se = R(() => {
|
|
237
|
+
if (!M.value)
|
|
238
238
|
return;
|
|
239
|
-
const
|
|
240
|
-
let g =
|
|
241
|
-
return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g =
|
|
242
|
-
}),
|
|
239
|
+
const p = h.value + A.value + f.value;
|
|
240
|
+
let g = M.value - A.value - f.value;
|
|
241
|
+
return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g = z.value >= p ? h.value : z.value - A.value - f.value), g;
|
|
242
|
+
}), ue = R(() => ({
|
|
243
243
|
zIndex: L.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
|
-
})),
|
|
249
|
+
})), ce = R(() => ({
|
|
250
250
|
width: ["left", "right"].includes(e.side) ? e.width : void 0,
|
|
251
251
|
maxWidth: "100%",
|
|
252
252
|
...["top", "bottom"].includes(e.side) ? {
|
|
@@ -257,24 +257,24 @@ var K = $({
|
|
|
257
257
|
zIndex: L.value,
|
|
258
258
|
backgroundColor: e.panelColor,
|
|
259
259
|
animationDuration: `${e.panelDuration}ms`,
|
|
260
|
-
...Object.assign({},
|
|
260
|
+
...Object.assign({}, t.style)
|
|
261
261
|
}));
|
|
262
262
|
return {
|
|
263
|
-
body:
|
|
263
|
+
body: d,
|
|
264
264
|
panel: a,
|
|
265
|
-
overlay:
|
|
266
|
-
overlayStyles:
|
|
267
|
-
header:
|
|
268
|
-
footer:
|
|
269
|
-
closePanel:
|
|
270
|
-
panelStyles:
|
|
271
|
-
bodyHeight:
|
|
265
|
+
overlay: i,
|
|
266
|
+
overlayStyles: ue,
|
|
267
|
+
header: s,
|
|
268
|
+
footer: l,
|
|
269
|
+
closePanel: de,
|
|
270
|
+
panelStyles: ce,
|
|
271
|
+
bodyHeight: se
|
|
272
272
|
};
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
|
-
function
|
|
276
|
-
const
|
|
277
|
-
return u(), H(
|
|
275
|
+
function Ge(e, o, t, n, a, i) {
|
|
276
|
+
const l = be("SidePanelCloseButton");
|
|
277
|
+
return u(), H(he, {
|
|
278
278
|
to: `#${e.idName}`
|
|
279
279
|
}, [
|
|
280
280
|
r(
|
|
@@ -288,7 +288,7 @@ function Re(e, o, l, n, a, s) {
|
|
|
288
288
|
persisted: ""
|
|
289
289
|
}, {
|
|
290
290
|
default: k(() => [
|
|
291
|
-
|
|
291
|
+
J(r(
|
|
292
292
|
"div",
|
|
293
293
|
{
|
|
294
294
|
ref: "overlay",
|
|
@@ -308,11 +308,11 @@ function Re(e, o, l, n, a, s) {
|
|
|
308
308
|
}),
|
|
309
309
|
I(x, {
|
|
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] = (s) => e.$emit("opened")),
|
|
312
|
+
onAfterLeave: o[2] || (o[2] = (s) => e.$emit("closed"))
|
|
313
313
|
}, {
|
|
314
314
|
default: k(() => [
|
|
315
|
-
!e.rerender || e.modelValue ?
|
|
315
|
+
!e.rerender || e.modelValue ? J((u(), v(
|
|
316
316
|
"div",
|
|
317
317
|
{
|
|
318
318
|
key: 0,
|
|
@@ -343,7 +343,7 @@ function Re(e, o, l, n, a, s) {
|
|
|
343
343
|
},
|
|
344
344
|
[
|
|
345
345
|
B(e.$slots, "default", { close: e.closePanel }),
|
|
346
|
-
e.hideCloseBtn ? w("v-if", !0) : (u(), H(
|
|
346
|
+
e.hideCloseBtn ? w("v-if", !0) : (u(), H(l, {
|
|
347
347
|
key: 0,
|
|
348
348
|
onClose: e.closePanel
|
|
349
349
|
}, null, 8, ["onClose"]))
|
|
@@ -380,12 +380,12 @@ function Re(e, o, l, n, a, s) {
|
|
|
380
380
|
)
|
|
381
381
|
], 8, ["to"]);
|
|
382
382
|
}
|
|
383
|
-
K.render =
|
|
383
|
+
K.render = Ge;
|
|
384
384
|
K.__file = "src/components/SidePanel.vue";
|
|
385
|
-
const
|
|
385
|
+
const Re = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-panel-title" }, We = {
|
|
386
386
|
key: 0,
|
|
387
387
|
id: "konnectio-side-panel-subtitle"
|
|
388
|
-
}, je = ["innerHTML"],
|
|
388
|
+
}, je = ["innerHTML"], Xe = /* @__PURE__ */ $({
|
|
389
389
|
__name: "Base",
|
|
390
390
|
props: {
|
|
391
391
|
modelValue: { type: Boolean },
|
|
@@ -400,29 +400,29 @@ const Ge = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-pan
|
|
|
400
400
|
},
|
|
401
401
|
emits: ["update:modelValue", "opened", "closed"],
|
|
402
402
|
setup(e, { emit: o }) {
|
|
403
|
-
const
|
|
404
|
-
function
|
|
405
|
-
|
|
403
|
+
const t = o;
|
|
404
|
+
function n() {
|
|
405
|
+
t("closed");
|
|
406
406
|
}
|
|
407
|
-
function
|
|
408
|
-
|
|
407
|
+
function a() {
|
|
408
|
+
t("opened");
|
|
409
409
|
}
|
|
410
|
-
return (
|
|
411
|
-
modelValue:
|
|
412
|
-
"lock-scroll":
|
|
413
|
-
"hide-close-btn":
|
|
414
|
-
width:
|
|
415
|
-
"onUpdate:modelValue":
|
|
416
|
-
onClosed:
|
|
417
|
-
onOpened:
|
|
418
|
-
},
|
|
410
|
+
return (i, l) => (u(), H(y(K), {
|
|
411
|
+
modelValue: i.modelValue,
|
|
412
|
+
"lock-scroll": i.lockScroll,
|
|
413
|
+
"hide-close-btn": i.hideCloseButton,
|
|
414
|
+
width: i.width,
|
|
415
|
+
"onUpdate:modelValue": l[1] || (l[1] = (s) => i.$emit("update:modelValue", s)),
|
|
416
|
+
onClosed: n,
|
|
417
|
+
onOpened: a
|
|
418
|
+
}, we({
|
|
419
419
|
header: k(() => [
|
|
420
|
-
r("div",
|
|
420
|
+
r("div", Re, [
|
|
421
421
|
r("h2", Ue, [
|
|
422
|
-
r("span", null, b(
|
|
422
|
+
r("span", null, b(i.title), 1),
|
|
423
423
|
r("button", {
|
|
424
424
|
id: "konnectio-side-panel-close",
|
|
425
|
-
onClick:
|
|
425
|
+
onClick: l[0] || (l[0] = (s) => i.$emit("update:modelValue", !1))
|
|
426
426
|
}, [
|
|
427
427
|
I(Ve, {
|
|
428
428
|
icon: "times",
|
|
@@ -431,31 +431,31 @@ const Ge = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-pan
|
|
|
431
431
|
})
|
|
432
432
|
])
|
|
433
433
|
]),
|
|
434
|
-
|
|
435
|
-
r("span", null, b(
|
|
434
|
+
i.subtitle ? (u(), v("h4", We, [
|
|
435
|
+
r("span", null, b(i.subtitle), 1)
|
|
436
436
|
])) : w("", !0)
|
|
437
437
|
])
|
|
438
438
|
]),
|
|
439
439
|
default: k(() => [
|
|
440
|
-
|
|
440
|
+
i.description ? (u(), v("div", {
|
|
441
441
|
key: 0,
|
|
442
442
|
class: "konnectio-side-panel-description",
|
|
443
|
-
innerHTML:
|
|
443
|
+
innerHTML: i.description
|
|
444
444
|
}, null, 8, je)) : w("", !0),
|
|
445
|
-
B(
|
|
445
|
+
B(i.$slots, "default", {}, void 0, !0)
|
|
446
446
|
]),
|
|
447
447
|
_: 2
|
|
448
448
|
}, [
|
|
449
|
-
|
|
449
|
+
i.$slots.footer ? {
|
|
450
450
|
name: "footer",
|
|
451
451
|
fn: k(() => [
|
|
452
|
-
B(
|
|
452
|
+
B(i.$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
|
-
}), io = /* @__PURE__ */
|
|
458
|
+
}), io = /* @__PURE__ */ O(Xe, [["__scopeId", "data-v-f2475ad4"]]), Ye = { class: "konnectio-phone-input" }, Ke = /* @__PURE__ */ $({
|
|
459
459
|
__name: "PhoneField",
|
|
460
460
|
props: {
|
|
461
461
|
modelValue: {},
|
|
@@ -470,58 +470,58 @@ const Ge = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-pan
|
|
|
470
470
|
},
|
|
471
471
|
emits: ["update:modelValue"],
|
|
472
472
|
setup(e, { emit: o }) {
|
|
473
|
-
const
|
|
474
|
-
function
|
|
475
|
-
|
|
473
|
+
const t = o, n = e, a = n.id || ee(), i = c("+45"), l = c("");
|
|
474
|
+
function s() {
|
|
475
|
+
t("update:modelValue", `${i.value} ${l.value}`);
|
|
476
476
|
}
|
|
477
477
|
return j(() => {
|
|
478
478
|
if (n.modelValue) {
|
|
479
|
-
const
|
|
480
|
-
|
|
479
|
+
const d = n.modelValue.split(" ");
|
|
480
|
+
i.value = d[0], l.value = d[1];
|
|
481
481
|
}
|
|
482
|
-
}), (
|
|
483
|
-
label:
|
|
484
|
-
id:
|
|
482
|
+
}), (d, f) => (u(), H(ne, {
|
|
483
|
+
label: d.label,
|
|
484
|
+
id: y(a),
|
|
485
485
|
type: "phone",
|
|
486
|
-
required:
|
|
487
|
-
readonly:
|
|
486
|
+
required: d.required,
|
|
487
|
+
readonly: d.readonly
|
|
488
488
|
}, {
|
|
489
489
|
default: k(() => [
|
|
490
|
-
r("div",
|
|
490
|
+
r("div", Ye, [
|
|
491
491
|
I(oe, {
|
|
492
|
-
modelValue:
|
|
493
|
-
"onUpdate:modelValue":
|
|
492
|
+
modelValue: i.value,
|
|
493
|
+
"onUpdate:modelValue": f[0] || (f[0] = (h) => i.value = h),
|
|
494
494
|
type: "text",
|
|
495
|
-
id:
|
|
495
|
+
id: y(ee)(),
|
|
496
496
|
name: "phone-code",
|
|
497
497
|
autocomplete: "tel-country-code",
|
|
498
|
-
icon:
|
|
499
|
-
"icon-color":
|
|
500
|
-
"icon-type":
|
|
498
|
+
icon: d.icon,
|
|
499
|
+
"icon-color": d.iconColor,
|
|
500
|
+
"icon-type": d.iconType,
|
|
501
501
|
placeholder: "+XX",
|
|
502
|
-
required:
|
|
503
|
-
readonly:
|
|
504
|
-
onInput:
|
|
502
|
+
required: d.required,
|
|
503
|
+
readonly: d.readonly,
|
|
504
|
+
onInput: f[1] || (f[1] = (h) => s())
|
|
505
505
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly"]),
|
|
506
506
|
I(oe, {
|
|
507
|
-
modelValue:
|
|
508
|
-
"onUpdate:modelValue":
|
|
507
|
+
modelValue: l.value,
|
|
508
|
+
"onUpdate:modelValue": f[2] || (f[2] = (h) => l.value = h),
|
|
509
509
|
type: "number",
|
|
510
510
|
name: "phone",
|
|
511
511
|
autocomplete: "tel-national",
|
|
512
512
|
inputmode: "numeric",
|
|
513
|
-
id:
|
|
514
|
-
placeholder:
|
|
515
|
-
required:
|
|
516
|
-
readonly:
|
|
517
|
-
onInput:
|
|
513
|
+
id: y(a),
|
|
514
|
+
placeholder: d.placeholder,
|
|
515
|
+
required: d.required,
|
|
516
|
+
readonly: d.readonly,
|
|
517
|
+
onInput: f[3] || (f[3] = (h) => s())
|
|
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
|
-
}), ro = /* @__PURE__ */
|
|
524
|
+
}), ro = /* @__PURE__ */ O(Ke, [["__scopeId", "data-v-3e373d03"]]), Qe = ["required", "type", "name", "readonly", "disabled", "value", "checked"], Ze = ["data-test"], Je = { key: 0 }, _e = {
|
|
525
525
|
key: 1,
|
|
526
526
|
class: /* @__PURE__ */ m(["konnectio-click-box-label", "inline"])
|
|
527
527
|
}, xe = /* @__PURE__ */ $({
|
|
@@ -540,62 +540,62 @@ const Ge = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-pan
|
|
|
540
540
|
},
|
|
541
541
|
emits: ["update:modelValue"],
|
|
542
542
|
setup(e, { emit: o }) {
|
|
543
|
-
const
|
|
544
|
-
function
|
|
545
|
-
|
|
543
|
+
const t = e, n = o, a = Se();
|
|
544
|
+
function i() {
|
|
545
|
+
t.readonly !== !0 && n(
|
|
546
546
|
"update:modelValue",
|
|
547
|
-
|
|
547
|
+
t.type === "radio" ? t.val : t.numeric ? t.modelValue ? 0 : 1 : !t.modelValue
|
|
548
548
|
);
|
|
549
549
|
}
|
|
550
|
-
return (
|
|
551
|
-
required:
|
|
552
|
-
type:
|
|
553
|
-
readonly:
|
|
550
|
+
return (l, s) => (u(), H(ne, {
|
|
551
|
+
required: l.required,
|
|
552
|
+
type: l.type,
|
|
553
|
+
readonly: l.readonly
|
|
554
554
|
}, {
|
|
555
555
|
default: k(() => [
|
|
556
556
|
r("label", {
|
|
557
557
|
class: m([
|
|
558
558
|
"konnectio-click-box-container",
|
|
559
|
-
{ "is-readonly":
|
|
560
|
-
{ "has-label":
|
|
561
|
-
|
|
559
|
+
{ "is-readonly": l.readonly },
|
|
560
|
+
{ "has-label": l.label || y(a).default },
|
|
561
|
+
l.type === "radio" ? "radio" : "checkbox"
|
|
562
562
|
])
|
|
563
563
|
}, [
|
|
564
|
-
r("input", ke(
|
|
565
|
-
required: !!
|
|
566
|
-
type:
|
|
567
|
-
name:
|
|
564
|
+
r("input", ke(l.$attrs, {
|
|
565
|
+
required: !!l.required,
|
|
566
|
+
type: l.type,
|
|
567
|
+
name: l.name,
|
|
568
568
|
class: "hidden",
|
|
569
|
-
readonly: !!
|
|
570
|
-
disabled: !!
|
|
571
|
-
value:
|
|
572
|
-
checked:
|
|
573
|
-
onChange:
|
|
574
|
-
}), null, 16,
|
|
569
|
+
readonly: !!l.readonly,
|
|
570
|
+
disabled: !!l.readonly,
|
|
571
|
+
value: l.type === "radio" ? l.val : l.modelValue,
|
|
572
|
+
checked: l.type === "radio" ? l.val === l.modelValue : !!l.modelValue,
|
|
573
|
+
onChange: s[0] || (s[0] = (d) => i())
|
|
574
|
+
}), null, 16, Qe),
|
|
575
575
|
r("div", {
|
|
576
576
|
class: m([
|
|
577
577
|
"konnectio-click-box",
|
|
578
|
-
{ checked:
|
|
578
|
+
{ checked: l.type === "radio" ? l.val === l.modelValue : !!l.modelValue }
|
|
579
579
|
]),
|
|
580
580
|
tabindex: "0",
|
|
581
|
-
"data-test":
|
|
582
|
-
onKeyup:
|
|
583
|
-
}, null, 42,
|
|
584
|
-
|
|
581
|
+
"data-test": l.name,
|
|
582
|
+
onKeyup: s[1] || (s[1] = Ce((d) => i(), ["enter"]))
|
|
583
|
+
}, null, 42, Ze),
|
|
584
|
+
l.label ? (u(), v("div", {
|
|
585
585
|
key: 0,
|
|
586
|
-
class: m(["konnectio-click-box-label", "text-hover", { "with-price":
|
|
586
|
+
class: m(["konnectio-click-box-label", "text-hover", { "with-price": l.price }])
|
|
587
587
|
}, [
|
|
588
|
-
r("span", null, b(
|
|
589
|
-
|
|
590
|
-
], 2)) :
|
|
591
|
-
B(
|
|
588
|
+
r("span", null, b(l.label), 1),
|
|
589
|
+
l.price ? (u(), v("span", Je, b(l.price), 1)) : w("", !0)
|
|
590
|
+
], 2)) : y(a).default ? (u(), v("div", _e, [
|
|
591
|
+
B(l.$slots, "default", {}, void 0, !0)
|
|
592
592
|
])) : w("", !0)
|
|
593
593
|
], 2)
|
|
594
594
|
]),
|
|
595
595
|
_: 3
|
|
596
596
|
}, 8, ["required", "type", "readonly"]));
|
|
597
597
|
}
|
|
598
|
-
}), so = /* @__PURE__ */
|
|
598
|
+
}), so = /* @__PURE__ */ O(xe, [["__scopeId", "data-v-6029b875"]]), eo = {
|
|
599
599
|
href: "https://policies.google.com/privacy",
|
|
600
600
|
target: "_blank"
|
|
601
601
|
}, oo = {
|
|
@@ -605,12 +605,12 @@ const Ge = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-pan
|
|
|
605
605
|
__name: "GoogleNotice",
|
|
606
606
|
setup(e) {
|
|
607
607
|
const { t: o } = $e();
|
|
608
|
-
return (
|
|
609
|
-
W(b(
|
|
610
|
-
r("a", eo, b(
|
|
611
|
-
W(" " + b(
|
|
612
|
-
r("a", oo, b(
|
|
613
|
-
W(" " + b(
|
|
608
|
+
return (t, n) => (u(), v("span", null, [
|
|
609
|
+
W(b(y(o)("googleNotice")) + " ", 1),
|
|
610
|
+
r("a", eo, b(y(o)("googlePrivacyPolicy")), 1),
|
|
611
|
+
W(" " + b(y(o)("googleAnd")) + " ", 1),
|
|
612
|
+
r("a", oo, b(y(o)("googleTOS")), 1),
|
|
613
|
+
W(" " + b(y(o)("googleApply")) + ". ", 1)
|
|
614
614
|
]));
|
|
615
615
|
}
|
|
616
616
|
});
|
|
@@ -642,18 +642,18 @@ const lo = /* @__PURE__ */ $({
|
|
|
642
642
|
setup(e) {
|
|
643
643
|
const { paymentGatewayId: o } = Be(Pe());
|
|
644
644
|
return j(() => {
|
|
645
|
-
const
|
|
646
|
-
|
|
647
|
-
}), (
|
|
645
|
+
const t = document.createElement("script"), n = document.createElement("script");
|
|
646
|
+
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);
|
|
647
|
+
}), (t, n) => (u(), v("div", null, [
|
|
648
648
|
r("div", {
|
|
649
649
|
id: "konnectio-payment-checkout-wrapper",
|
|
650
|
-
class: m({ reePay:
|
|
650
|
+
class: m({ reePay: y(o) === y(Te).ReePay })
|
|
651
651
|
}, n[0] || (n[0] = [
|
|
652
652
|
r("div", { id: "konnectio-payment-checkout" }, null, -1)
|
|
653
653
|
]), 2)
|
|
654
654
|
]));
|
|
655
655
|
}
|
|
656
|
-
}), uo = /* @__PURE__ */
|
|
656
|
+
}), uo = /* @__PURE__ */ O(lo, [["__scopeId", "data-v-853041a4"]]);
|
|
657
657
|
export {
|
|
658
658
|
io as B,
|
|
659
659
|
so as C,
|
|
@@ -661,4 +661,4 @@ export {
|
|
|
661
661
|
to as _,
|
|
662
662
|
uo as a
|
|
663
663
|
};
|
|
664
|
-
//# sourceMappingURL=CheckoutWindow-
|
|
664
|
+
//# sourceMappingURL=CheckoutWindow-BgqyyJoW.js.map
|
|
Binary file
|