@konnectio/core 4.0.62 → 4.0.64
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-8uyqR4s2.js → ActionField-D28Pe5Bb.js} +33 -25
- package/dist/ActionField-D28Pe5Bb.js.br +0 -0
- package/dist/{AvailabilitySkeleton-DR0TlG1c.js → AvailabilitySkeleton-BGEhEqa-.js} +123 -115
- package/dist/AvailabilitySkeleton-BGEhEqa-.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-IMAsOOYG.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CFzvon5m.js} +1089 -1081
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CFzvon5m.js.br +0 -0
- package/dist/{CheckoutWindow-b6nqgL-q.js → CheckoutWindow-Cv7p0DrF.js} +174 -166
- package/dist/CheckoutWindow-Cv7p0DrF.js.br +0 -0
- package/dist/{ErrorMessage-CTB9P7th.js → ErrorMessage-T11Ou3eh.js} +24 -16
- package/dist/ErrorMessage-T11Ou3eh.js.br +0 -0
- package/dist/EventAvailabilityForm-DeqQKdKV.js +125 -0
- package/dist/EventAvailabilityForm-DeqQKdKV.js.br +0 -0
- package/dist/Field-DcoRYqr8.js +58 -0
- package/dist/Field-DcoRYqr8.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C-2VAK1P.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js} +2031 -2022
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js.br +0 -0
- package/dist/TermsOfService-CL0zaNw_.js +44 -0
- package/dist/TermsOfService-CL0zaNw_.js.br +0 -0
- package/dist/_-C5tf0vwv.js +20 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BWAizmh6.js +77 -0
- package/dist/_.vue_vue_type_style_index_0_lang-BWAizmh6.js.br +0 -0
- package/dist/{_commonjsHelpers-DZ_3pocK.js → _commonjsHelpers-BeCRh3Xf.js} +618 -558
- package/dist/_commonjsHelpers-BeCRh3Xf.js.br +0 -0
- package/dist/{_sentry-release-injection-file-gnd2S326.js → _sentry-release-injection-file-CY9ljBue.js} +1643 -1635
- package/dist/_sentry-release-injection-file-CY9ljBue.js.br +0 -0
- package/dist/availability.js +67 -59
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +29 -21
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +276 -260
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +71 -63
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +137 -129
- package/dist/gift-card.js.br +0 -0
- package/dist/giftCard-CHf9cbmB.js +134 -0
- package/dist/giftCard-CHf9cbmB.js.br +0 -0
- package/dist/hotel.js +812 -803
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-BNjra0SH.js → masonry.plugin-q1wqMEhq.js} +860 -852
- package/dist/masonry.plugin-q1wqMEhq.js.br +0 -0
- package/dist/{mitt-B7XZkC8D.js → mitt-CZC0Vuw7.js} +505 -497
- package/dist/mitt-CZC0Vuw7.js.br +0 -0
- package/dist/polyfill.js +6472 -6259
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-lYuGbuqk.js → style-Di3bMYae.js} +392 -384
- package/dist/style-Di3bMYae.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +8 -8
- package/dist/ActionField-8uyqR4s2.js.br +0 -0
- package/dist/AvailabilitySkeleton-DR0TlG1c.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-IMAsOOYG.js.br +0 -0
- package/dist/CheckoutWindow-b6nqgL-q.js.br +0 -0
- package/dist/ErrorMessage-CTB9P7th.js.br +0 -0
- package/dist/EventAvailabilityForm-Dz_XUv-P.js +0 -117
- package/dist/EventAvailabilityForm-Dz_XUv-P.js.br +0 -0
- package/dist/Field-D74LzwJ5.js +0 -50
- package/dist/Field-D74LzwJ5.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C-2VAK1P.js.br +0 -0
- package/dist/TermsOfService-BWi7ax17.js +0 -36
- package/dist/TermsOfService-BWi7ax17.js.br +0 -0
- package/dist/_-D5EdBcrp.js +0 -12
- package/dist/_.vue_vue_type_style_index_0_lang-DXnzUVHn.js +0 -69
- package/dist/_.vue_vue_type_style_index_0_lang-DXnzUVHn.js.br +0 -0
- package/dist/_commonjsHelpers-DZ_3pocK.js.br +0 -0
- package/dist/_sentry-release-injection-file-gnd2S326.js.br +0 -0
- package/dist/giftCard-Dl1tPQsP.js +0 -126
- package/dist/giftCard-Dl1tPQsP.js.br +0 -0
- package/dist/masonry.plugin-BNjra0SH.js.br +0 -0
- package/dist/mitt-B7XZkC8D.js.br +0 -0
- package/dist/style-lYuGbuqk.js.br +0 -0
|
@@ -1,49 +1,57 @@
|
|
|
1
|
-
import { d as $, a as u, g as m, r as c, o as
|
|
2
|
-
import { I as
|
|
3
|
-
import { u as
|
|
1
|
+
import { d as $, a as u, g as m, r as c, o as G, a3 as he, a4 as ge, z as J, c as W, I as be, b as I, e as d, f as A, w as k, A as Q, B as x, P as D, T as ee, n as v, l as B, i as S, Z as we, D as Se, m as ae, q as ke, u as f, t as b, X as Ce, a0 as $e, x as _, p as Be, j as Ve } from "./_sentry-release-injection-file-CY9ljBue.js";
|
|
2
|
+
import { I as Pe, _ as z, D as oe, T as te, q as ie, e as Te, P as Ie } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js";
|
|
3
|
+
import { u as Ae, s as He } from "./mitt-CZC0Vuw7.js";
|
|
4
4
|
(function() {
|
|
5
5
|
try {
|
|
6
6
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, o = new Error().stack;
|
|
7
|
-
o && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[o] = "
|
|
7
|
+
o && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[o] = "59dec9f6-70c1-4890-ba65-c21dcfd35073", e._sentryDebugIdIdentifier = "sentry-dbid-59dec9f6-70c1-4890-ba65-c21dcfd35073");
|
|
8
8
|
} catch {
|
|
9
9
|
}
|
|
10
10
|
})();
|
|
11
|
-
|
|
11
|
+
{
|
|
12
|
+
var q = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
13
|
+
q._sentryModuleMetadata = q._sentryModuleMetadata || {}, q._sentryModuleMetadata[new Error().stack] = Object.assign(
|
|
14
|
+
{},
|
|
15
|
+
q._sentryModuleMetadata[new Error().stack],
|
|
16
|
+
{ "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
function Ne(e) {
|
|
12
20
|
if (Array.isArray(e)) {
|
|
13
|
-
for (var o = 0,
|
|
14
|
-
|
|
15
|
-
return
|
|
21
|
+
for (var o = 0, n = Array(e.length); o < e.length; o++)
|
|
22
|
+
n[o] = e[o];
|
|
23
|
+
return n;
|
|
16
24
|
} else
|
|
17
25
|
return Array.from(e);
|
|
18
26
|
}
|
|
19
|
-
var
|
|
27
|
+
var K = !1;
|
|
20
28
|
if (typeof window < "u") {
|
|
21
|
-
var
|
|
29
|
+
var ne = {
|
|
22
30
|
get passive() {
|
|
23
|
-
|
|
31
|
+
K = !0;
|
|
24
32
|
}
|
|
25
33
|
};
|
|
26
|
-
window.addEventListener("testPassive", null,
|
|
34
|
+
window.addEventListener("testPassive", null, ne), window.removeEventListener("testPassive", null, ne);
|
|
27
35
|
}
|
|
28
|
-
var
|
|
29
|
-
return C.some(function(
|
|
30
|
-
return !!(
|
|
36
|
+
var E = 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 = [], O = !1, de = -1, P = void 0, w = void 0, T = void 0, re = function(o) {
|
|
37
|
+
return C.some(function(n) {
|
|
38
|
+
return !!(n.options.allowTouchMove && n.options.allowTouchMove(o));
|
|
31
39
|
});
|
|
32
|
-
},
|
|
33
|
-
var
|
|
34
|
-
return
|
|
35
|
-
},
|
|
40
|
+
}, M = function(o) {
|
|
41
|
+
var n = o || window.event;
|
|
42
|
+
return re(n.target) || n.touches.length > 1 ? !0 : (n.preventDefault && n.preventDefault(), !1);
|
|
43
|
+
}, qe = function(o) {
|
|
36
44
|
if (T === void 0) {
|
|
37
|
-
var
|
|
38
|
-
if (
|
|
45
|
+
var n = !!o && o.reserveScrollBarGap === !0, l = window.innerWidth - document.documentElement.clientWidth;
|
|
46
|
+
if (n && l > 0) {
|
|
39
47
|
var a = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"), 10);
|
|
40
|
-
T = document.body.style.paddingRight, document.body.style.paddingRight = a +
|
|
48
|
+
T = document.body.style.paddingRight, document.body.style.paddingRight = a + l + "px";
|
|
41
49
|
}
|
|
42
50
|
}
|
|
43
51
|
P === void 0 && (P = document.body.style.overflow, document.body.style.overflow = "hidden");
|
|
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
52
|
}, De = function() {
|
|
53
|
+
T !== void 0 && (document.body.style.paddingRight = T, T = void 0), P !== void 0 && (document.body.style.overflow = P, P = void 0);
|
|
54
|
+
}, Ee = function() {
|
|
47
55
|
return window.requestAnimationFrame(function() {
|
|
48
56
|
if (w === void 0) {
|
|
49
57
|
w = {
|
|
@@ -51,26 +59,26 @@ var D = typeof window < "u" && window.navigator && window.navigator.platform &&
|
|
|
51
59
|
top: document.body.style.top,
|
|
52
60
|
left: document.body.style.left
|
|
53
61
|
};
|
|
54
|
-
var o = window,
|
|
55
|
-
document.body.style.position = "fixed", document.body.style.top = -
|
|
62
|
+
var o = window, n = o.scrollY, l = o.scrollX, a = o.innerHeight;
|
|
63
|
+
document.body.style.position = "fixed", document.body.style.top = -n, document.body.style.left = -l, setTimeout(function() {
|
|
56
64
|
return window.requestAnimationFrame(function() {
|
|
57
65
|
var s = a - window.innerHeight;
|
|
58
|
-
s &&
|
|
66
|
+
s && n >= a && (document.body.style.top = -(n + s));
|
|
59
67
|
});
|
|
60
68
|
}, 300);
|
|
61
69
|
}
|
|
62
70
|
});
|
|
63
|
-
},
|
|
71
|
+
}, Oe = function() {
|
|
64
72
|
if (w !== void 0) {
|
|
65
|
-
var o = -parseInt(document.body.style.top, 10),
|
|
66
|
-
document.body.style.position = w.position, document.body.style.top = w.top, document.body.style.left = w.left, window.scrollTo(
|
|
73
|
+
var o = -parseInt(document.body.style.top, 10), n = -parseInt(document.body.style.left, 10);
|
|
74
|
+
document.body.style.position = w.position, document.body.style.top = w.top, document.body.style.left = w.left, window.scrollTo(n, o), w = void 0;
|
|
67
75
|
}
|
|
68
|
-
},
|
|
76
|
+
}, Me = function(o) {
|
|
69
77
|
return o ? o.scrollHeight - o.scrollTop <= o.clientHeight : !1;
|
|
70
|
-
}, ze = function(o,
|
|
71
|
-
var
|
|
72
|
-
return
|
|
73
|
-
},
|
|
78
|
+
}, ze = function(o, n) {
|
|
79
|
+
var l = o.targetTouches[0].clientY - de;
|
|
80
|
+
return re(o.target) ? !1 : n && n.scrollTop === 0 && l > 0 || Me(n) && l < 0 ? M(o) : (o.stopPropagation(), !0);
|
|
81
|
+
}, Le = function(o, n) {
|
|
74
82
|
if (!o) {
|
|
75
83
|
console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");
|
|
76
84
|
return;
|
|
@@ -78,49 +86,49 @@ var D = typeof window < "u" && window.navigator && window.navigator.platform &&
|
|
|
78
86
|
if (!C.some(function(a) {
|
|
79
87
|
return a.targetElement === o;
|
|
80
88
|
})) {
|
|
81
|
-
var
|
|
89
|
+
var l = {
|
|
82
90
|
targetElement: o,
|
|
83
|
-
options:
|
|
91
|
+
options: n || {}
|
|
84
92
|
};
|
|
85
|
-
C = [].concat(
|
|
86
|
-
a.targetTouches.length === 1 && (
|
|
93
|
+
C = [].concat(Ne(C), [l]), E ? Ee() : qe(n), E && (o.ontouchstart = function(a) {
|
|
94
|
+
a.targetTouches.length === 1 && (de = a.targetTouches[0].clientY);
|
|
87
95
|
}, o.ontouchmove = function(a) {
|
|
88
96
|
a.targetTouches.length === 1 && ze(a, o);
|
|
89
|
-
},
|
|
97
|
+
}, O || (document.addEventListener("touchmove", M, K ? { passive: !1 } : void 0), O = !0));
|
|
90
98
|
}
|
|
91
|
-
},
|
|
99
|
+
}, Fe = function(o) {
|
|
92
100
|
if (!o) {
|
|
93
101
|
console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");
|
|
94
102
|
return;
|
|
95
103
|
}
|
|
96
|
-
C = C.filter(function(
|
|
97
|
-
return
|
|
98
|
-
}),
|
|
99
|
-
},
|
|
104
|
+
C = C.filter(function(n) {
|
|
105
|
+
return n.targetElement !== o;
|
|
106
|
+
}), E && (o.ontouchstart = null, o.ontouchmove = null, O && C.length === 0 && (document.removeEventListener("touchmove", M, K ? { passive: !1 } : void 0), O = !1)), E ? Oe() : De();
|
|
107
|
+
}, Y = $({
|
|
100
108
|
name: "SidePanelCloseButton",
|
|
101
109
|
emits: ["close"]
|
|
102
110
|
});
|
|
103
|
-
const
|
|
111
|
+
const Re = /* @__PURE__ */ d(
|
|
104
112
|
"span",
|
|
105
113
|
{ class: "vsp-close__x" },
|
|
106
114
|
null,
|
|
107
115
|
-1
|
|
108
116
|
/* HOISTED */
|
|
109
|
-
),
|
|
110
|
-
|
|
117
|
+
), Ue = [
|
|
118
|
+
Re
|
|
111
119
|
];
|
|
112
|
-
function
|
|
120
|
+
function je(e, o, n, l, a, s) {
|
|
113
121
|
return u(), m("div", {
|
|
114
122
|
class: "vsp-close",
|
|
115
123
|
onClick: o[0] || (o[0] = (t) => e.$emit("close"))
|
|
116
|
-
}, [...
|
|
124
|
+
}, [...Ue]);
|
|
117
125
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
var
|
|
126
|
+
Y.render = je;
|
|
127
|
+
Y.__file = "src/components/SidePanelCloseButton.vue";
|
|
128
|
+
var X = $({
|
|
121
129
|
name: "VueSidePanel",
|
|
122
130
|
components: {
|
|
123
|
-
SidePanelCloseButton:
|
|
131
|
+
SidePanelCloseButton: Y
|
|
124
132
|
},
|
|
125
133
|
props: {
|
|
126
134
|
idName: {
|
|
@@ -207,54 +215,54 @@ var K = $({
|
|
|
207
215
|
}
|
|
208
216
|
},
|
|
209
217
|
emits: ["update:modelValue", "closed", "opened"],
|
|
210
|
-
setup(e, { emit: o, attrs:
|
|
211
|
-
let
|
|
212
|
-
const a = c(null), s = c(null), t = c(null), r = c(null), i = c(null), p = c(0), h = c(0),
|
|
213
|
-
window?.innerHeight > 0 && (
|
|
214
|
-
},
|
|
218
|
+
setup(e, { emit: o, attrs: n }) {
|
|
219
|
+
let l;
|
|
220
|
+
const a = c(null), s = c(null), t = c(null), r = c(null), i = c(null), p = c(0), h = c(0), H = c(0), L = c(0), F = c(0), R = c(), Z = c(!1), V = async () => {
|
|
221
|
+
window?.innerHeight > 0 && (F.value = window.innerHeight), p.value = t.value ? t.value.clientHeight : 0, H.value = r.value ? r.value.clientHeight : 0, h.value = i.value ? i.value.scrollHeight : 0, L.value = a.value ? a.value.clientHeight : 0;
|
|
222
|
+
}, se = () => o("update:modelValue", !1), U = (y, g) => {
|
|
215
223
|
if (g) {
|
|
216
224
|
setTimeout(() => {
|
|
217
|
-
|
|
225
|
+
Le(y, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
|
|
218
226
|
}, 0);
|
|
219
227
|
return;
|
|
220
228
|
}
|
|
221
|
-
|
|
222
|
-
},
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
}), me(() => {
|
|
226
|
-
document.getElementById(e.idName) || (n = document.createElement("div"), n.setAttribute("id", e.idName), document.body.appendChild(n));
|
|
229
|
+
Fe(y), e.lockScrollHtml && document.documentElement.style.removeProperty("overflow");
|
|
230
|
+
}, ue = () => Math.max(...Array.from(document.querySelectorAll("body *"), (y) => parseFloat(window.getComputedStyle(y).zIndex)).filter((y) => !Number.isNaN(y)), 0);
|
|
231
|
+
G(() => {
|
|
232
|
+
R.value = e.zIndex === "auto" ? ue() : e.zIndex;
|
|
227
233
|
}), he(() => {
|
|
234
|
+
document.getElementById(e.idName) || (l = document.createElement("div"), l.setAttribute("id", e.idName), document.body.appendChild(l));
|
|
235
|
+
}), ge(() => {
|
|
228
236
|
const { modelValue: y, lockScroll: g } = e;
|
|
229
|
-
g && a.value && y &&
|
|
230
|
-
}),
|
|
231
|
-
|
|
232
|
-
}),
|
|
233
|
-
const
|
|
237
|
+
g && a.value && y && U(a.value, !1), l && document.body.removeChild(l), window.removeEventListener("resize", V);
|
|
238
|
+
}), J(() => [r.value, t.value, e.height, e.width, e.side, e.modelValue], () => {
|
|
239
|
+
Se(() => V());
|
|
240
|
+
}), J(() => [e.modelValue, a.value], (y, g) => {
|
|
241
|
+
const ye = g ? g[0] : !1, [j, N] = y, ve = j, me = ye && !j;
|
|
234
242
|
if (N) {
|
|
235
|
-
if (
|
|
236
|
-
e.lockScroll &&
|
|
243
|
+
if (ve && (Z.value = !!document.body.style.overflow), j) {
|
|
244
|
+
e.lockScroll && U(N, !0), V(), window.addEventListener("resize", V);
|
|
237
245
|
return;
|
|
238
246
|
}
|
|
239
|
-
!e.lockScroll || !
|
|
240
|
-
N &&
|
|
247
|
+
!e.lockScroll || !me || Z.value || (setTimeout(() => {
|
|
248
|
+
N && U(N, !1);
|
|
241
249
|
}, e.panelDuration), window.removeEventListener("resize", V));
|
|
242
250
|
}
|
|
243
251
|
}, { immediate: !0 });
|
|
244
|
-
const
|
|
245
|
-
if (!
|
|
252
|
+
const ce = W(() => {
|
|
253
|
+
if (!L.value)
|
|
246
254
|
return;
|
|
247
|
-
const y = h.value +
|
|
248
|
-
let g =
|
|
249
|
-
return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g =
|
|
250
|
-
}),
|
|
251
|
-
zIndex:
|
|
255
|
+
const y = h.value + H.value + p.value;
|
|
256
|
+
let g = L.value - H.value - p.value;
|
|
257
|
+
return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g = F.value >= y ? h.value : F.value - H.value - p.value), g;
|
|
258
|
+
}), fe = W(() => ({
|
|
259
|
+
zIndex: R.value,
|
|
252
260
|
animationDuration: `${e.overlayDuration}ms`,
|
|
253
261
|
"--overlay-opacity": e.overlayOpacity,
|
|
254
262
|
opacity: e.modelValue ? e.overlayOpacity : 0,
|
|
255
263
|
backgroundColor: e.overlayColor,
|
|
256
264
|
pointerEvents: e.modelValue ? "all" : "none"
|
|
257
|
-
})),
|
|
265
|
+
})), pe = W(() => ({
|
|
258
266
|
width: ["left", "right"].includes(e.side) ? e.width : void 0,
|
|
259
267
|
maxWidth: "100%",
|
|
260
268
|
...["top", "bottom"].includes(e.side) ? {
|
|
@@ -262,27 +270,27 @@ var K = $({
|
|
|
262
270
|
height: e.height,
|
|
263
271
|
maxHeight: "100%"
|
|
264
272
|
} : {},
|
|
265
|
-
zIndex:
|
|
273
|
+
zIndex: R.value,
|
|
266
274
|
backgroundColor: e.panelColor,
|
|
267
275
|
animationDuration: `${e.panelDuration}ms`,
|
|
268
|
-
...Object.assign({},
|
|
276
|
+
...Object.assign({}, n.style)
|
|
269
277
|
}));
|
|
270
278
|
return {
|
|
271
279
|
body: i,
|
|
272
280
|
panel: a,
|
|
273
281
|
overlay: s,
|
|
274
|
-
overlayStyles:
|
|
282
|
+
overlayStyles: fe,
|
|
275
283
|
header: r,
|
|
276
284
|
footer: t,
|
|
277
|
-
closePanel:
|
|
278
|
-
panelStyles:
|
|
279
|
-
bodyHeight:
|
|
285
|
+
closePanel: se,
|
|
286
|
+
panelStyles: pe,
|
|
287
|
+
bodyHeight: ce
|
|
280
288
|
};
|
|
281
289
|
}
|
|
282
290
|
});
|
|
283
|
-
function
|
|
284
|
-
const t =
|
|
285
|
-
return u(), I(
|
|
291
|
+
function We(e, o, n, l, a, s) {
|
|
292
|
+
const t = be("SidePanelCloseButton");
|
|
293
|
+
return u(), I(we, {
|
|
286
294
|
to: `#${e.idName}`
|
|
287
295
|
}, [
|
|
288
296
|
d(
|
|
@@ -291,42 +299,42 @@ function Ue(e, o, l, n, a, s) {
|
|
|
291
299
|
class: v(["vsp-wrapper", [e.modelValue && "vsp-wrapper--active"]])
|
|
292
300
|
},
|
|
293
301
|
[
|
|
294
|
-
|
|
302
|
+
A(ee, {
|
|
295
303
|
name: "overlay",
|
|
296
304
|
persisted: ""
|
|
297
305
|
}, {
|
|
298
306
|
default: k(() => [
|
|
299
|
-
|
|
307
|
+
Q(d(
|
|
300
308
|
"div",
|
|
301
309
|
{
|
|
302
310
|
ref: "overlay",
|
|
303
311
|
class: "vsp-overlay",
|
|
304
|
-
style:
|
|
312
|
+
style: D(e.overlayStyles),
|
|
305
313
|
onClick: o[0] || (o[0] = () => e.noClose ? void 0 : e.closePanel())
|
|
306
314
|
},
|
|
307
315
|
null,
|
|
308
316
|
4
|
|
309
317
|
/* STYLE */
|
|
310
318
|
), [
|
|
311
|
-
[
|
|
319
|
+
[x, e.modelValue]
|
|
312
320
|
])
|
|
313
321
|
]),
|
|
314
322
|
_: 1
|
|
315
323
|
/* STABLE */
|
|
316
324
|
}),
|
|
317
|
-
|
|
325
|
+
A(ee, {
|
|
318
326
|
name: e.transitionName || `slide-${e.side}`,
|
|
319
327
|
onAfterEnter: o[1] || (o[1] = (r) => e.$emit("opened")),
|
|
320
328
|
onAfterLeave: o[2] || (o[2] = (r) => e.$emit("closed"))
|
|
321
329
|
}, {
|
|
322
330
|
default: k(() => [
|
|
323
|
-
!e.rerender || e.modelValue ?
|
|
331
|
+
!e.rerender || e.modelValue ? Q((u(), m(
|
|
324
332
|
"div",
|
|
325
333
|
{
|
|
326
334
|
key: 0,
|
|
327
335
|
ref: "panel",
|
|
328
336
|
class: v(["vsp", [`vsp--${e.side}-side`, e.$attrs.class]]),
|
|
329
|
-
style:
|
|
337
|
+
style: D(e.panelStyles)
|
|
330
338
|
},
|
|
331
339
|
[
|
|
332
340
|
e.$slots.header ? (u(), m(
|
|
@@ -347,7 +355,7 @@ function Ue(e, o, l, n, a, s) {
|
|
|
347
355
|
{
|
|
348
356
|
ref: "body",
|
|
349
357
|
class: v([e.bodyClass, "vsp__body"]),
|
|
350
|
-
style:
|
|
358
|
+
style: D({ height: `${e.bodyHeight}px` })
|
|
351
359
|
},
|
|
352
360
|
[
|
|
353
361
|
B(e.$slots, "default", { close: e.closePanel }),
|
|
@@ -376,7 +384,7 @@ function Ue(e, o, l, n, a, s) {
|
|
|
376
384
|
6
|
|
377
385
|
/* CLASS, STYLE */
|
|
378
386
|
)), [
|
|
379
|
-
[
|
|
387
|
+
[x, e.rerender ? !0 : e.modelValue]
|
|
380
388
|
]) : S("v-if", !0)
|
|
381
389
|
]),
|
|
382
390
|
_: 3
|
|
@@ -388,12 +396,12 @@ function Ue(e, o, l, n, a, s) {
|
|
|
388
396
|
)
|
|
389
397
|
], 8, ["to"]);
|
|
390
398
|
}
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
const
|
|
399
|
+
X.render = We;
|
|
400
|
+
X.__file = "src/components/SidePanel.vue";
|
|
401
|
+
const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-panel-title" }, Ke = {
|
|
394
402
|
key: 0,
|
|
395
403
|
id: "konnectio-side-panel-subtitle"
|
|
396
|
-
},
|
|
404
|
+
}, Ye = ["innerHTML"], Xe = /* @__PURE__ */ $({
|
|
397
405
|
__name: "Base",
|
|
398
406
|
props: {
|
|
399
407
|
modelValue: { type: Boolean },
|
|
@@ -408,14 +416,14 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
|
|
|
408
416
|
},
|
|
409
417
|
emits: ["update:modelValue", "opened", "closed"],
|
|
410
418
|
setup(e, { emit: o }) {
|
|
411
|
-
const
|
|
419
|
+
const n = o, l = ae();
|
|
412
420
|
function a() {
|
|
413
|
-
|
|
421
|
+
n("closed");
|
|
414
422
|
}
|
|
415
423
|
function s() {
|
|
416
|
-
|
|
424
|
+
n("opened");
|
|
417
425
|
}
|
|
418
|
-
return (t, r) => (u(), I(f(
|
|
426
|
+
return (t, r) => (u(), I(f(X), {
|
|
419
427
|
modelValue: t.modelValue,
|
|
420
428
|
"lock-scroll": t.lockScroll,
|
|
421
429
|
"hide-close-btn": t.hideCloseButton,
|
|
@@ -423,23 +431,23 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
|
|
|
423
431
|
"onUpdate:modelValue": r[1] || (r[1] = (i) => t.$emit("update:modelValue", i)),
|
|
424
432
|
onClosed: a,
|
|
425
433
|
onOpened: s
|
|
426
|
-
},
|
|
434
|
+
}, ke({
|
|
427
435
|
header: k(() => [
|
|
428
|
-
d("div",
|
|
429
|
-
d("h2",
|
|
436
|
+
d("div", _e, [
|
|
437
|
+
d("h2", Ge, [
|
|
430
438
|
d("span", null, b(t.title), 1),
|
|
431
439
|
d("button", {
|
|
432
440
|
id: "konnectio-side-panel-close",
|
|
433
441
|
onClick: r[0] || (r[0] = (i) => t.$emit("update:modelValue", !1))
|
|
434
442
|
}, [
|
|
435
|
-
|
|
443
|
+
A(Pe, {
|
|
436
444
|
icon: "times",
|
|
437
445
|
type: "fas",
|
|
438
446
|
color: "header"
|
|
439
447
|
})
|
|
440
448
|
])
|
|
441
449
|
]),
|
|
442
|
-
t.subtitle ? (u(), m("h4",
|
|
450
|
+
t.subtitle ? (u(), m("h4", Ke, [
|
|
443
451
|
d("span", null, b(t.subtitle), 1)
|
|
444
452
|
])) : S("", !0)
|
|
445
453
|
])
|
|
@@ -449,13 +457,13 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
|
|
|
449
457
|
d("div", {
|
|
450
458
|
class: "konnectio-side-panel-description",
|
|
451
459
|
innerHTML: t.description
|
|
452
|
-
}, null, 8,
|
|
460
|
+
}, null, 8, Ye),
|
|
453
461
|
B(t.$slots, "default", {}, void 0, !0)
|
|
454
462
|
])
|
|
455
463
|
]),
|
|
456
464
|
_: 2
|
|
457
465
|
}, [
|
|
458
|
-
f(
|
|
466
|
+
f(l).footer ? {
|
|
459
467
|
name: "footer",
|
|
460
468
|
fn: k(() => [
|
|
461
469
|
B(t.$slots, "footer", {}, void 0, !0)
|
|
@@ -464,7 +472,7 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
|
|
|
464
472
|
} : void 0
|
|
465
473
|
]), 1032, ["modelValue", "lock-scroll", "hide-close-btn", "width"]));
|
|
466
474
|
}
|
|
467
|
-
}),
|
|
475
|
+
}), yo = /* @__PURE__ */ z(Xe, [["__scopeId", "data-v-c027dd25"]]), Ze = { class: "konnectio-phone-input" }, Je = /* @__PURE__ */ $({
|
|
468
476
|
__name: "PhoneField",
|
|
469
477
|
props: {
|
|
470
478
|
modelValue: {},
|
|
@@ -480,16 +488,16 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
|
|
|
480
488
|
},
|
|
481
489
|
emits: ["update:modelValue"],
|
|
482
490
|
setup(e, { emit: o }) {
|
|
483
|
-
const
|
|
491
|
+
const n = o, l = e, a = l.id || oe(), s = c("+45"), t = c("");
|
|
484
492
|
function r() {
|
|
485
|
-
|
|
493
|
+
n("update:modelValue", `${s.value} ${t.value}`);
|
|
486
494
|
}
|
|
487
|
-
return
|
|
488
|
-
if (
|
|
489
|
-
const i =
|
|
495
|
+
return G(() => {
|
|
496
|
+
if (l.modelValue) {
|
|
497
|
+
const i = l.modelValue.split(" ");
|
|
490
498
|
s.value = i[0], t.value = i[1];
|
|
491
499
|
}
|
|
492
|
-
}), (i, p) => (u(), I(
|
|
500
|
+
}), (i, p) => (u(), I(ie, {
|
|
493
501
|
label: i.label,
|
|
494
502
|
id: f(a),
|
|
495
503
|
type: "phone",
|
|
@@ -497,12 +505,12 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
|
|
|
497
505
|
readonly: i.readonly
|
|
498
506
|
}, {
|
|
499
507
|
default: k(() => [
|
|
500
|
-
d("div",
|
|
501
|
-
|
|
508
|
+
d("div", Ze, [
|
|
509
|
+
A(te, {
|
|
502
510
|
modelValue: s.value,
|
|
503
511
|
"onUpdate:modelValue": p[0] || (p[0] = (h) => s.value = h),
|
|
504
512
|
type: "text",
|
|
505
|
-
id: f(
|
|
513
|
+
id: f(oe)(),
|
|
506
514
|
name: "phone-code",
|
|
507
515
|
autocomplete: "tel-country-code",
|
|
508
516
|
icon: i.icon,
|
|
@@ -514,7 +522,7 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
|
|
|
514
522
|
"input-style": i.inputStyle,
|
|
515
523
|
onInput: p[1] || (p[1] = (h) => r())
|
|
516
524
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly", "input-style"]),
|
|
517
|
-
|
|
525
|
+
A(te, {
|
|
518
526
|
modelValue: t.value,
|
|
519
527
|
"onUpdate:modelValue": p[2] || (p[2] = (h) => t.value = h),
|
|
520
528
|
type: "number",
|
|
@@ -532,10 +540,10 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
|
|
|
532
540
|
_: 1
|
|
533
541
|
}, 8, ["label", "id", "required", "readonly"]));
|
|
534
542
|
}
|
|
535
|
-
}),
|
|
543
|
+
}), vo = /* @__PURE__ */ z(Je, [["__scopeId", "data-v-89427ae0"]]), Qe = ["required", "type", "name", "readonly", "disabled", "value", "checked"], xe = ["data-test"], eo = { key: 0 }, oo = {
|
|
536
544
|
key: 1,
|
|
537
545
|
class: /* @__PURE__ */ v(["konnectio-click-box-label", "inline"])
|
|
538
|
-
},
|
|
546
|
+
}, to = /* @__PURE__ */ $({
|
|
539
547
|
__name: "Checkbox",
|
|
540
548
|
props: {
|
|
541
549
|
modelValue: { type: [String, Boolean, Number] },
|
|
@@ -552,14 +560,14 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
|
|
|
552
560
|
},
|
|
553
561
|
emits: ["update:modelValue"],
|
|
554
562
|
setup(e, { emit: o }) {
|
|
555
|
-
const
|
|
563
|
+
const n = e, l = o, a = ae();
|
|
556
564
|
function s() {
|
|
557
|
-
|
|
565
|
+
n.readonly !== !0 && l(
|
|
558
566
|
"update:modelValue",
|
|
559
|
-
|
|
567
|
+
n.type === "radio" ? n.val : n.numeric ? n.modelValue ? 0 : 1 : !n.modelValue
|
|
560
568
|
);
|
|
561
569
|
}
|
|
562
|
-
return (t, r) => (u(), I(
|
|
570
|
+
return (t, r) => (u(), I(ie, {
|
|
563
571
|
required: t.required,
|
|
564
572
|
type: t.type,
|
|
565
573
|
readonly: t.readonly
|
|
@@ -573,7 +581,7 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
|
|
|
573
581
|
t.type === "radio" ? "radio" : "checkbox"
|
|
574
582
|
])
|
|
575
583
|
}, [
|
|
576
|
-
d("input",
|
|
584
|
+
d("input", Ce(t.$attrs, {
|
|
577
585
|
required: !!t.required,
|
|
578
586
|
type: t.type,
|
|
579
587
|
name: t.name,
|
|
@@ -583,24 +591,24 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
|
|
|
583
591
|
value: t.type === "radio" ? t.val : t.modelValue,
|
|
584
592
|
checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue,
|
|
585
593
|
onChange: r[0] || (r[0] = (i) => s())
|
|
586
|
-
}), null, 16,
|
|
594
|
+
}), null, 16, Qe),
|
|
587
595
|
d("div", {
|
|
588
596
|
class: v([
|
|
589
597
|
"konnectio-click-box",
|
|
590
598
|
{ checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue }
|
|
591
599
|
]),
|
|
592
600
|
tabindex: "0",
|
|
593
|
-
style:
|
|
601
|
+
style: D(t.inputStyle),
|
|
594
602
|
"data-test": t.name,
|
|
595
|
-
onKeyup: r[1] || (r[1] =
|
|
596
|
-
}, null, 46,
|
|
603
|
+
onKeyup: r[1] || (r[1] = $e((i) => s(), ["enter"]))
|
|
604
|
+
}, null, 46, xe),
|
|
597
605
|
t.label ? (u(), m("div", {
|
|
598
606
|
key: 0,
|
|
599
607
|
class: v(["konnectio-click-box-label", "text-hover", { "with-price": t.price }])
|
|
600
608
|
}, [
|
|
601
609
|
d("span", null, b(t.label), 1),
|
|
602
|
-
t.price ? (u(), m("span",
|
|
603
|
-
], 2)) : f(a).default ? (u(), m("div",
|
|
610
|
+
t.price ? (u(), m("span", eo, b(t.price), 1)) : S("", !0)
|
|
611
|
+
], 2)) : f(a).default ? (u(), m("div", oo, [
|
|
604
612
|
B(t.$slots, "default", {}, void 0, !0)
|
|
605
613
|
])) : S("", !0)
|
|
606
614
|
], 2)
|
|
@@ -608,22 +616,22 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
|
|
|
608
616
|
_: 3
|
|
609
617
|
}, 8, ["required", "type", "readonly"]));
|
|
610
618
|
}
|
|
611
|
-
}),
|
|
619
|
+
}), mo = /* @__PURE__ */ z(to, [["__scopeId", "data-v-1827c76b"]]), no = {
|
|
612
620
|
href: "https://policies.google.com/privacy",
|
|
613
621
|
target: "_blank"
|
|
614
622
|
}, lo = {
|
|
615
623
|
href: "https://policies.google.com/terms",
|
|
616
624
|
target: "_blank"
|
|
617
|
-
},
|
|
625
|
+
}, ao = /* @__PURE__ */ $({
|
|
618
626
|
__name: "GoogleNotice",
|
|
619
627
|
setup(e) {
|
|
620
|
-
const { t: o } =
|
|
621
|
-
return (
|
|
622
|
-
|
|
623
|
-
d("a",
|
|
624
|
-
|
|
628
|
+
const { t: o } = Ae();
|
|
629
|
+
return (n, l) => (u(), m("span", null, [
|
|
630
|
+
_(b(f(o)("googleNotice")) + " ", 1),
|
|
631
|
+
d("a", no, b(f(o)("googlePrivacyPolicy")), 1),
|
|
632
|
+
_(" " + b(f(o)("googleAnd")) + " ", 1),
|
|
625
633
|
d("a", lo, b(f(o)("googleTOS")), 1),
|
|
626
|
-
|
|
634
|
+
_(" " + b(f(o)("googleApply")) + ". ", 1)
|
|
627
635
|
]));
|
|
628
636
|
}
|
|
629
637
|
});
|
|
@@ -649,29 +657,29 @@ function le(e) {
|
|
|
649
657
|
}
|
|
650
658
|
});
|
|
651
659
|
}
|
|
652
|
-
typeof le == "function" && le(
|
|
653
|
-
const
|
|
654
|
-
|
|
655
|
-
],
|
|
660
|
+
typeof le == "function" && le(ao);
|
|
661
|
+
const io = (e) => (Be("data-v-853041a4"), e = e(), Ve(), e), ro = /* @__PURE__ */ io(() => /* @__PURE__ */ d("div", { id: "konnectio-payment-checkout" }, null, -1)), so = [
|
|
662
|
+
ro
|
|
663
|
+
], uo = /* @__PURE__ */ $({
|
|
656
664
|
__name: "CheckoutWindow",
|
|
657
665
|
setup(e) {
|
|
658
|
-
const { paymentGatewayId: o } = He(
|
|
659
|
-
return
|
|
660
|
-
const
|
|
661
|
-
|
|
662
|
-
}), (
|
|
666
|
+
const { paymentGatewayId: o } = He(Te());
|
|
667
|
+
return G(() => {
|
|
668
|
+
const n = document.createElement("script"), l = document.createElement("script");
|
|
669
|
+
n.setAttribute("src", "https://checkout.dibspayment.eu/v1/checkout.js?v=1"), l.setAttribute("src", "https://checkout.reepay.com/checkout.js"), document.head.appendChild(n), document.head.appendChild(l);
|
|
670
|
+
}), (n, l) => (u(), m("div", null, [
|
|
663
671
|
d("div", {
|
|
664
672
|
id: "konnectio-payment-checkout-wrapper",
|
|
665
|
-
class: v({ reePay: f(o) === f(
|
|
666
|
-
},
|
|
673
|
+
class: v({ reePay: f(o) === f(Ie).ReePay })
|
|
674
|
+
}, so, 2)
|
|
667
675
|
]));
|
|
668
676
|
}
|
|
669
|
-
}),
|
|
677
|
+
}), ho = /* @__PURE__ */ z(uo, [["__scopeId", "data-v-853041a4"]]);
|
|
670
678
|
export {
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
679
|
+
yo as B,
|
|
680
|
+
mo as C,
|
|
681
|
+
vo as P,
|
|
682
|
+
ao as _,
|
|
683
|
+
ho as a
|
|
676
684
|
};
|
|
677
|
-
//# sourceMappingURL=CheckoutWindow-
|
|
685
|
+
//# sourceMappingURL=CheckoutWindow-Cv7p0DrF.js.map
|