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