@konnectio/core 4.0.82 → 4.0.84
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-CLQbtAU7.js +100 -0
- package/dist/ActionField-CLQbtAU7.js.br +0 -0
- package/dist/AvailabilitySkeleton-BJPo5KGW.js +309 -0
- package/dist/AvailabilitySkeleton-BJPo5KGW.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-CAv6OSp6.js} +1152 -1168
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CAv6OSp6.js.br +0 -0
- package/dist/{CheckoutWindow-DoADcN36.js → CheckoutWindow-C9Sa3vci.js} +159 -174
- package/dist/CheckoutWindow-C9Sa3vci.js.br +0 -0
- package/dist/{ErrorMessage-BxZaXdig.js → ErrorMessage-D6rbHHXd.js} +20 -35
- package/dist/ErrorMessage-D6rbHHXd.js.br +0 -0
- package/dist/EventAvailabilityForm-D-Q1vxsm.js +110 -0
- package/dist/EventAvailabilityForm-D-Q1vxsm.js.br +0 -0
- package/dist/Field-CGT9JUe-.js +43 -0
- package/dist/Field-CGT9JUe-.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-BR0ZkskY.js} +2819 -2807
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BR0ZkskY.js.br +0 -0
- package/dist/TermsOfService-DmwGAt0q.js +28 -0
- package/dist/_-YHi6ciVk.js +5 -0
- package/dist/_.vue_vue_type_style_index_0_lang-DeF9xZEQ.js +25 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +9 -0
- package/dist/availability.js +54 -71
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +20 -36
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +398 -416
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +72 -89
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +175 -192
- package/dist/gift-card.js.br +0 -0
- package/dist/giftCard-C-lmDpUB.js +118 -0
- package/dist/giftCard-C-lmDpUB.js.br +0 -0
- package/dist/hotel.js +1210 -1099
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-DDSHAjDQ.js → masonry.plugin-DL8uXS-9.js} +52 -68
- package/dist/masonry.plugin-DL8uXS-9.js.br +0 -0
- package/dist/mitt-B_elXQ2J.js +12437 -0
- package/dist/mitt-B_elXQ2J.js.br +0 -0
- package/dist/polyfill.js +4216 -7869
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-CT1Yk_a0.js → style-CDpCXUak.js} +391 -406
- package/dist/style-CDpCXUak.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +12 -15
- 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 +0 -9501
- 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 +0 -2977
- 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-CAv6OSp6.js.br
ADDED
|
Binary file
|
|
@@ -1,57 +1,41 @@
|
|
|
1
|
-
import { d as $, a as u, g as m, r as c, o as
|
|
2
|
-
import { I as
|
|
3
|
-
|
|
4
|
-
(function() {
|
|
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, ad as me, ae as he, H as Z, c as G, U as ge, b as I, e as d, f as H, w as k, I as Q, J as _, _ as q, T as x, n as v, y as B, j as S, a6 as be, O as we, z as ne, A as Se, i as f, t as b, a4 as ke, aa as Ce, u as $e, D as W, x as Be, p as Ve, k as Pe } from "./mitt-B_elXQ2J.js";
|
|
2
|
+
import { I as Te, _ as z, A as ee, T as oe, p as ae, d as Ie, P as He } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BR0ZkskY.js";
|
|
3
|
+
function Ae(e) {
|
|
20
4
|
if (Array.isArray(e)) {
|
|
21
|
-
for (var o = 0,
|
|
22
|
-
|
|
23
|
-
return
|
|
5
|
+
for (var o = 0, l = Array(e.length); o < e.length; o++)
|
|
6
|
+
l[o] = e[o];
|
|
7
|
+
return l;
|
|
24
8
|
} else
|
|
25
9
|
return Array.from(e);
|
|
26
10
|
}
|
|
27
|
-
var
|
|
11
|
+
var X = !1;
|
|
28
12
|
if (typeof window < "u") {
|
|
29
|
-
var
|
|
13
|
+
var te = {
|
|
30
14
|
get passive() {
|
|
31
|
-
|
|
15
|
+
X = !0;
|
|
32
16
|
}
|
|
33
17
|
};
|
|
34
|
-
window.addEventListener("testPassive", null,
|
|
18
|
+
window.addEventListener("testPassive", null, te), window.removeEventListener("testPassive", null, te);
|
|
35
19
|
}
|
|
36
|
-
var
|
|
37
|
-
return C.some(function(
|
|
38
|
-
return !!(
|
|
20
|
+
var O = 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, ie = -1, P = void 0, w = void 0, T = void 0, de = function(o) {
|
|
21
|
+
return C.some(function(l) {
|
|
22
|
+
return !!(l.options.allowTouchMove && l.options.allowTouchMove(o));
|
|
39
23
|
});
|
|
40
|
-
},
|
|
41
|
-
var
|
|
42
|
-
return
|
|
43
|
-
},
|
|
24
|
+
}, E = function(o) {
|
|
25
|
+
var l = o || window.event;
|
|
26
|
+
return de(l.target) || l.touches.length > 1 ? !0 : (l.preventDefault && l.preventDefault(), !1);
|
|
27
|
+
}, Ne = function(o) {
|
|
44
28
|
if (T === void 0) {
|
|
45
|
-
var
|
|
46
|
-
if (
|
|
29
|
+
var l = !!o && o.reserveScrollBarGap === !0, n = window.innerWidth - document.documentElement.clientWidth;
|
|
30
|
+
if (l && n > 0) {
|
|
47
31
|
var a = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"), 10);
|
|
48
|
-
T = document.body.style.paddingRight, document.body.style.paddingRight = a +
|
|
32
|
+
T = document.body.style.paddingRight, document.body.style.paddingRight = a + n + "px";
|
|
49
33
|
}
|
|
50
34
|
}
|
|
51
35
|
P === void 0 && (P = document.body.style.overflow, document.body.style.overflow = "hidden");
|
|
52
|
-
},
|
|
36
|
+
}, qe = function() {
|
|
53
37
|
T !== void 0 && (document.body.style.paddingRight = T, T = void 0), P !== void 0 && (document.body.style.overflow = P, P = void 0);
|
|
54
|
-
},
|
|
38
|
+
}, Oe = function() {
|
|
55
39
|
return window.requestAnimationFrame(function() {
|
|
56
40
|
if (w === void 0) {
|
|
57
41
|
w = {
|
|
@@ -59,26 +43,26 @@ var E = typeof window < "u" && window.navigator && window.navigator.platform &&
|
|
|
59
43
|
top: document.body.style.top,
|
|
60
44
|
left: document.body.style.left
|
|
61
45
|
};
|
|
62
|
-
var o = window,
|
|
63
|
-
document.body.style.position = "fixed", document.body.style.top = -
|
|
46
|
+
var o = window, l = o.scrollY, n = o.scrollX, a = o.innerHeight;
|
|
47
|
+
document.body.style.position = "fixed", document.body.style.top = -l, document.body.style.left = -n, setTimeout(function() {
|
|
64
48
|
return window.requestAnimationFrame(function() {
|
|
65
49
|
var s = a - window.innerHeight;
|
|
66
|
-
s &&
|
|
50
|
+
s && l >= a && (document.body.style.top = -(l + s));
|
|
67
51
|
});
|
|
68
52
|
}, 300);
|
|
69
53
|
}
|
|
70
54
|
});
|
|
71
|
-
},
|
|
55
|
+
}, De = function() {
|
|
72
56
|
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(
|
|
57
|
+
var o = -parseInt(document.body.style.top, 10), l = -parseInt(document.body.style.left, 10);
|
|
58
|
+
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
59
|
}
|
|
76
|
-
},
|
|
60
|
+
}, Ee = function(o) {
|
|
77
61
|
return o ? o.scrollHeight - o.scrollTop <= o.clientHeight : !1;
|
|
78
|
-
}, ze = function(o,
|
|
79
|
-
var
|
|
80
|
-
return
|
|
81
|
-
},
|
|
62
|
+
}, ze = function(o, l) {
|
|
63
|
+
var n = o.targetTouches[0].clientY - ie;
|
|
64
|
+
return de(o.target) ? !1 : l && l.scrollTop === 0 && n > 0 || Ee(l) && n < 0 ? E(o) : (o.stopPropagation(), !0);
|
|
65
|
+
}, Me = function(o, l) {
|
|
82
66
|
if (!o) {
|
|
83
67
|
console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");
|
|
84
68
|
return;
|
|
@@ -86,46 +70,46 @@ var E = typeof window < "u" && window.navigator && window.navigator.platform &&
|
|
|
86
70
|
if (!C.some(function(a) {
|
|
87
71
|
return a.targetElement === o;
|
|
88
72
|
})) {
|
|
89
|
-
var
|
|
73
|
+
var n = {
|
|
90
74
|
targetElement: o,
|
|
91
|
-
options:
|
|
75
|
+
options: l || {}
|
|
92
76
|
};
|
|
93
|
-
C = [].concat(
|
|
94
|
-
a.targetTouches.length === 1 && (
|
|
77
|
+
C = [].concat(Ae(C), [n]), O ? Oe() : Ne(l), O && (o.ontouchstart = function(a) {
|
|
78
|
+
a.targetTouches.length === 1 && (ie = a.targetTouches[0].clientY);
|
|
95
79
|
}, o.ontouchmove = function(a) {
|
|
96
80
|
a.targetTouches.length === 1 && ze(a, o);
|
|
97
|
-
},
|
|
81
|
+
}, D || (document.addEventListener("touchmove", E, X ? { passive: !1 } : void 0), D = !0));
|
|
98
82
|
}
|
|
99
|
-
},
|
|
83
|
+
}, Le = function(o) {
|
|
100
84
|
if (!o) {
|
|
101
85
|
console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");
|
|
102
86
|
return;
|
|
103
87
|
}
|
|
104
|
-
C = C.filter(function(
|
|
105
|
-
return
|
|
106
|
-
}),
|
|
88
|
+
C = C.filter(function(l) {
|
|
89
|
+
return l.targetElement !== o;
|
|
90
|
+
}), O && (o.ontouchstart = null, o.ontouchmove = null, D && C.length === 0 && (document.removeEventListener("touchmove", E, X ? { passive: !1 } : void 0), D = !1)), O ? De() : qe();
|
|
107
91
|
}, Y = $({
|
|
108
92
|
name: "SidePanelCloseButton",
|
|
109
93
|
emits: ["close"]
|
|
110
94
|
});
|
|
111
|
-
const
|
|
95
|
+
const Fe = /* @__PURE__ */ d(
|
|
112
96
|
"span",
|
|
113
97
|
{ class: "vsp-close__x" },
|
|
114
98
|
null,
|
|
115
99
|
-1
|
|
116
100
|
/* HOISTED */
|
|
117
|
-
),
|
|
118
|
-
|
|
101
|
+
), Re = [
|
|
102
|
+
Fe
|
|
119
103
|
];
|
|
120
|
-
function
|
|
104
|
+
function Ue(e, o, l, n, a, s) {
|
|
121
105
|
return u(), m("div", {
|
|
122
106
|
class: "vsp-close",
|
|
123
107
|
onClick: o[0] || (o[0] = (t) => e.$emit("close"))
|
|
124
|
-
}, [...
|
|
108
|
+
}, [...Re]);
|
|
125
109
|
}
|
|
126
|
-
Y.render =
|
|
110
|
+
Y.render = Ue;
|
|
127
111
|
Y.__file = "src/components/SidePanelCloseButton.vue";
|
|
128
|
-
var
|
|
112
|
+
var K = $({
|
|
129
113
|
name: "VueSidePanel",
|
|
130
114
|
components: {
|
|
131
115
|
SidePanelCloseButton: Y
|
|
@@ -215,54 +199,54 @@ var X = $({
|
|
|
215
199
|
}
|
|
216
200
|
},
|
|
217
201
|
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),
|
|
221
|
-
window?.innerHeight > 0 && (
|
|
222
|
-
},
|
|
202
|
+
setup(e, { emit: o, attrs: l }) {
|
|
203
|
+
let n;
|
|
204
|
+
const a = c(null), s = c(null), t = c(null), r = c(null), i = c(null), p = c(0), h = c(0), A = c(0), M = c(0), L = c(0), F = c(), J = c(!1), V = async () => {
|
|
205
|
+
window?.innerHeight > 0 && (L.value = window.innerHeight), p.value = t.value ? t.value.clientHeight : 0, A.value = r.value ? r.value.clientHeight : 0, h.value = i.value ? i.value.scrollHeight : 0, M.value = a.value ? a.value.clientHeight : 0;
|
|
206
|
+
}, re = () => o("update:modelValue", !1), R = (y, g) => {
|
|
223
207
|
if (g) {
|
|
224
208
|
setTimeout(() => {
|
|
225
|
-
|
|
209
|
+
Me(y, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
|
|
226
210
|
}, 0);
|
|
227
211
|
return;
|
|
228
212
|
}
|
|
229
|
-
|
|
230
|
-
},
|
|
231
|
-
|
|
232
|
-
|
|
213
|
+
Le(y), e.lockScrollHtml && document.documentElement.style.removeProperty("overflow");
|
|
214
|
+
}, se = () => Math.max(...Array.from(document.querySelectorAll("body *"), (y) => parseFloat(window.getComputedStyle(y).zIndex)).filter((y) => !Number.isNaN(y)), 0);
|
|
215
|
+
j(() => {
|
|
216
|
+
F.value = e.zIndex === "auto" ? se() : e.zIndex;
|
|
217
|
+
}), me(() => {
|
|
218
|
+
document.getElementById(e.idName) || (n = document.createElement("div"), n.setAttribute("id", e.idName), document.body.appendChild(n));
|
|
233
219
|
}), he(() => {
|
|
234
|
-
document.getElementById(e.idName) || (l = document.createElement("div"), l.setAttribute("id", e.idName), document.body.appendChild(l));
|
|
235
|
-
}), ge(() => {
|
|
236
220
|
const { modelValue: y, lockScroll: g } = e;
|
|
237
|
-
g && a.value && y &&
|
|
238
|
-
}),
|
|
239
|
-
|
|
240
|
-
}),
|
|
241
|
-
const
|
|
221
|
+
g && a.value && y && R(a.value, !1), n && document.body.removeChild(n), window.removeEventListener("resize", V);
|
|
222
|
+
}), Z(() => [r.value, t.value, e.height, e.width, e.side, e.modelValue], () => {
|
|
223
|
+
we(() => V());
|
|
224
|
+
}), Z(() => [e.modelValue, a.value], (y, g) => {
|
|
225
|
+
const pe = g ? g[0] : !1, [U, N] = y, ye = U, ve = pe && !U;
|
|
242
226
|
if (N) {
|
|
243
|
-
if (
|
|
244
|
-
e.lockScroll &&
|
|
227
|
+
if (ye && (J.value = !!document.body.style.overflow), U) {
|
|
228
|
+
e.lockScroll && R(N, !0), V(), window.addEventListener("resize", V);
|
|
245
229
|
return;
|
|
246
230
|
}
|
|
247
|
-
!e.lockScroll || !
|
|
248
|
-
N &&
|
|
231
|
+
!e.lockScroll || !ve || J.value || (setTimeout(() => {
|
|
232
|
+
N && R(N, !1);
|
|
249
233
|
}, e.panelDuration), window.removeEventListener("resize", V));
|
|
250
234
|
}
|
|
251
235
|
}, { immediate: !0 });
|
|
252
|
-
const
|
|
253
|
-
if (!
|
|
236
|
+
const ue = G(() => {
|
|
237
|
+
if (!M.value)
|
|
254
238
|
return;
|
|
255
|
-
const y = h.value +
|
|
256
|
-
let g =
|
|
257
|
-
return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g =
|
|
258
|
-
}),
|
|
259
|
-
zIndex:
|
|
239
|
+
const y = h.value + A.value + p.value;
|
|
240
|
+
let g = M.value - A.value - p.value;
|
|
241
|
+
return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g = L.value >= y ? h.value : L.value - A.value - p.value), g;
|
|
242
|
+
}), ce = G(() => ({
|
|
243
|
+
zIndex: F.value,
|
|
260
244
|
animationDuration: `${e.overlayDuration}ms`,
|
|
261
245
|
"--overlay-opacity": e.overlayOpacity,
|
|
262
246
|
opacity: e.modelValue ? e.overlayOpacity : 0,
|
|
263
247
|
backgroundColor: e.overlayColor,
|
|
264
248
|
pointerEvents: e.modelValue ? "all" : "none"
|
|
265
|
-
})),
|
|
249
|
+
})), fe = G(() => ({
|
|
266
250
|
width: ["left", "right"].includes(e.side) ? e.width : void 0,
|
|
267
251
|
maxWidth: "100%",
|
|
268
252
|
...["top", "bottom"].includes(e.side) ? {
|
|
@@ -270,27 +254,27 @@ var X = $({
|
|
|
270
254
|
height: e.height,
|
|
271
255
|
maxHeight: "100%"
|
|
272
256
|
} : {},
|
|
273
|
-
zIndex:
|
|
257
|
+
zIndex: F.value,
|
|
274
258
|
backgroundColor: e.panelColor,
|
|
275
259
|
animationDuration: `${e.panelDuration}ms`,
|
|
276
|
-
...Object.assign({},
|
|
260
|
+
...Object.assign({}, l.style)
|
|
277
261
|
}));
|
|
278
262
|
return {
|
|
279
263
|
body: i,
|
|
280
264
|
panel: a,
|
|
281
265
|
overlay: s,
|
|
282
|
-
overlayStyles:
|
|
266
|
+
overlayStyles: ce,
|
|
283
267
|
header: r,
|
|
284
268
|
footer: t,
|
|
285
|
-
closePanel:
|
|
286
|
-
panelStyles:
|
|
287
|
-
bodyHeight:
|
|
269
|
+
closePanel: re,
|
|
270
|
+
panelStyles: fe,
|
|
271
|
+
bodyHeight: ue
|
|
288
272
|
};
|
|
289
273
|
}
|
|
290
274
|
});
|
|
291
|
-
function
|
|
292
|
-
const t =
|
|
293
|
-
return u(), I(
|
|
275
|
+
function Ge(e, o, l, n, a, s) {
|
|
276
|
+
const t = ge("SidePanelCloseButton");
|
|
277
|
+
return u(), I(be, {
|
|
294
278
|
to: `#${e.idName}`
|
|
295
279
|
}, [
|
|
296
280
|
d(
|
|
@@ -299,7 +283,7 @@ function We(e, o, n, l, a, s) {
|
|
|
299
283
|
class: v(["vsp-wrapper", [e.modelValue && "vsp-wrapper--active"]])
|
|
300
284
|
},
|
|
301
285
|
[
|
|
302
|
-
|
|
286
|
+
H(x, {
|
|
303
287
|
name: "overlay",
|
|
304
288
|
persisted: ""
|
|
305
289
|
}, {
|
|
@@ -309,20 +293,20 @@ function We(e, o, n, l, a, s) {
|
|
|
309
293
|
{
|
|
310
294
|
ref: "overlay",
|
|
311
295
|
class: "vsp-overlay",
|
|
312
|
-
style:
|
|
296
|
+
style: q(e.overlayStyles),
|
|
313
297
|
onClick: o[0] || (o[0] = () => e.noClose ? void 0 : e.closePanel())
|
|
314
298
|
},
|
|
315
299
|
null,
|
|
316
300
|
4
|
|
317
301
|
/* STYLE */
|
|
318
302
|
), [
|
|
319
|
-
[
|
|
303
|
+
[_, e.modelValue]
|
|
320
304
|
])
|
|
321
305
|
]),
|
|
322
306
|
_: 1
|
|
323
307
|
/* STABLE */
|
|
324
308
|
}),
|
|
325
|
-
|
|
309
|
+
H(x, {
|
|
326
310
|
name: e.transitionName || `slide-${e.side}`,
|
|
327
311
|
onAfterEnter: o[1] || (o[1] = (r) => e.$emit("opened")),
|
|
328
312
|
onAfterLeave: o[2] || (o[2] = (r) => e.$emit("closed"))
|
|
@@ -334,7 +318,7 @@ function We(e, o, n, l, a, s) {
|
|
|
334
318
|
key: 0,
|
|
335
319
|
ref: "panel",
|
|
336
320
|
class: v(["vsp", [`vsp--${e.side}-side`, e.$attrs.class]]),
|
|
337
|
-
style:
|
|
321
|
+
style: q(e.panelStyles)
|
|
338
322
|
},
|
|
339
323
|
[
|
|
340
324
|
e.$slots.header ? (u(), m(
|
|
@@ -355,7 +339,7 @@ function We(e, o, n, l, a, s) {
|
|
|
355
339
|
{
|
|
356
340
|
ref: "body",
|
|
357
341
|
class: v([e.bodyClass, "vsp__body"]),
|
|
358
|
-
style:
|
|
342
|
+
style: q({ height: `${e.bodyHeight}px` })
|
|
359
343
|
},
|
|
360
344
|
[
|
|
361
345
|
B(e.$slots, "default", { close: e.closePanel }),
|
|
@@ -384,7 +368,7 @@ function We(e, o, n, l, a, s) {
|
|
|
384
368
|
6
|
|
385
369
|
/* CLASS, STYLE */
|
|
386
370
|
)), [
|
|
387
|
-
[
|
|
371
|
+
[_, e.rerender ? !0 : e.modelValue]
|
|
388
372
|
]) : S("v-if", !0)
|
|
389
373
|
]),
|
|
390
374
|
_: 3
|
|
@@ -396,12 +380,12 @@ function We(e, o, n, l, a, s) {
|
|
|
396
380
|
)
|
|
397
381
|
], 8, ["to"]);
|
|
398
382
|
}
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
const
|
|
383
|
+
K.render = Ge;
|
|
384
|
+
K.__file = "src/components/SidePanel.vue";
|
|
385
|
+
const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-panel-title" }, Xe = {
|
|
402
386
|
key: 0,
|
|
403
387
|
id: "konnectio-side-panel-subtitle"
|
|
404
|
-
}, Ye = ["innerHTML"],
|
|
388
|
+
}, Ye = ["innerHTML"], Ke = /* @__PURE__ */ $({
|
|
405
389
|
__name: "Base",
|
|
406
390
|
props: {
|
|
407
391
|
modelValue: { type: Boolean },
|
|
@@ -416,14 +400,14 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
|
|
|
416
400
|
},
|
|
417
401
|
emits: ["update:modelValue", "opened", "closed"],
|
|
418
402
|
setup(e, { emit: o }) {
|
|
419
|
-
const
|
|
403
|
+
const l = o, n = ne();
|
|
420
404
|
function a() {
|
|
421
|
-
|
|
405
|
+
l("closed");
|
|
422
406
|
}
|
|
423
407
|
function s() {
|
|
424
|
-
|
|
408
|
+
l("opened");
|
|
425
409
|
}
|
|
426
|
-
return (t, r) => (u(), I(f(
|
|
410
|
+
return (t, r) => (u(), I(f(K), {
|
|
427
411
|
modelValue: t.modelValue,
|
|
428
412
|
"lock-scroll": t.lockScroll,
|
|
429
413
|
"hide-close-btn": t.hideCloseButton,
|
|
@@ -431,23 +415,23 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
|
|
|
431
415
|
"onUpdate:modelValue": r[1] || (r[1] = (i) => t.$emit("update:modelValue", i)),
|
|
432
416
|
onClosed: a,
|
|
433
417
|
onOpened: s
|
|
434
|
-
},
|
|
418
|
+
}, Se({
|
|
435
419
|
header: k(() => [
|
|
436
|
-
d("div",
|
|
437
|
-
d("h2",
|
|
420
|
+
d("div", We, [
|
|
421
|
+
d("h2", je, [
|
|
438
422
|
d("span", null, b(t.title), 1),
|
|
439
423
|
d("button", {
|
|
440
424
|
id: "konnectio-side-panel-close",
|
|
441
425
|
onClick: r[0] || (r[0] = (i) => t.$emit("update:modelValue", !1))
|
|
442
426
|
}, [
|
|
443
|
-
|
|
427
|
+
H(Te, {
|
|
444
428
|
icon: "times",
|
|
445
429
|
type: "fas",
|
|
446
430
|
color: "header"
|
|
447
431
|
})
|
|
448
432
|
])
|
|
449
433
|
]),
|
|
450
|
-
t.subtitle ? (u(), m("h4",
|
|
434
|
+
t.subtitle ? (u(), m("h4", Xe, [
|
|
451
435
|
d("span", null, b(t.subtitle), 1)
|
|
452
436
|
])) : S("", !0)
|
|
453
437
|
])
|
|
@@ -463,7 +447,7 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
|
|
|
463
447
|
]),
|
|
464
448
|
_: 2
|
|
465
449
|
}, [
|
|
466
|
-
f(
|
|
450
|
+
f(n).footer ? {
|
|
467
451
|
name: "footer",
|
|
468
452
|
fn: k(() => [
|
|
469
453
|
B(t.$slots, "footer", {}, void 0, !0)
|
|
@@ -472,7 +456,7 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
|
|
|
472
456
|
} : void 0
|
|
473
457
|
]), 1032, ["modelValue", "lock-scroll", "hide-close-btn", "width"]));
|
|
474
458
|
}
|
|
475
|
-
}),
|
|
459
|
+
}), fo = /* @__PURE__ */ z(Ke, [["__scopeId", "data-v-c027dd25"]]), Je = { class: "konnectio-phone-input" }, Ze = /* @__PURE__ */ $({
|
|
476
460
|
__name: "PhoneField",
|
|
477
461
|
props: {
|
|
478
462
|
modelValue: {},
|
|
@@ -488,16 +472,16 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
|
|
|
488
472
|
},
|
|
489
473
|
emits: ["update:modelValue"],
|
|
490
474
|
setup(e, { emit: o }) {
|
|
491
|
-
const
|
|
475
|
+
const l = o, n = e, a = n.id || ee(), s = c("+45"), t = c("");
|
|
492
476
|
function r() {
|
|
493
|
-
|
|
477
|
+
l("update:modelValue", `${s.value} ${t.value}`);
|
|
494
478
|
}
|
|
495
|
-
return
|
|
496
|
-
if (
|
|
497
|
-
const i =
|
|
479
|
+
return j(() => {
|
|
480
|
+
if (n.modelValue) {
|
|
481
|
+
const i = n.modelValue.split(" ");
|
|
498
482
|
s.value = i[0], t.value = i[1];
|
|
499
483
|
}
|
|
500
|
-
}), (i, p) => (u(), I(
|
|
484
|
+
}), (i, p) => (u(), I(ae, {
|
|
501
485
|
label: i.label,
|
|
502
486
|
id: f(a),
|
|
503
487
|
type: "phone",
|
|
@@ -505,29 +489,30 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
|
|
|
505
489
|
readonly: i.readonly
|
|
506
490
|
}, {
|
|
507
491
|
default: k(() => [
|
|
508
|
-
d("div",
|
|
509
|
-
|
|
492
|
+
d("div", Je, [
|
|
493
|
+
H(oe, {
|
|
510
494
|
modelValue: s.value,
|
|
511
495
|
"onUpdate:modelValue": p[0] || (p[0] = (h) => s.value = h),
|
|
512
496
|
type: "text",
|
|
513
|
-
id: f(
|
|
497
|
+
id: f(ee)(),
|
|
514
498
|
name: "phone-code",
|
|
515
499
|
autocomplete: "tel-country-code",
|
|
516
500
|
icon: i.icon,
|
|
517
501
|
"icon-color": i.iconColor,
|
|
518
502
|
"icon-type": i.iconType,
|
|
519
|
-
placeholder: "+
|
|
503
|
+
placeholder: "+XX",
|
|
520
504
|
required: i.required,
|
|
521
505
|
readonly: i.readonly,
|
|
522
506
|
"input-style": i.inputStyle,
|
|
523
507
|
onInput: p[1] || (p[1] = (h) => r())
|
|
524
508
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly", "input-style"]),
|
|
525
|
-
|
|
509
|
+
H(oe, {
|
|
526
510
|
modelValue: t.value,
|
|
527
511
|
"onUpdate:modelValue": p[2] || (p[2] = (h) => t.value = h),
|
|
528
512
|
type: "number",
|
|
529
513
|
name: "phone",
|
|
530
514
|
autocomplete: "tel-national",
|
|
515
|
+
inputmode: "numeric",
|
|
531
516
|
id: f(a),
|
|
532
517
|
placeholder: i.placeholder,
|
|
533
518
|
required: i.required,
|
|
@@ -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
|
+
}), po = /* @__PURE__ */ z(Ze, [["__scopeId", "data-v-903f92f7"]]), 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
|
+
}), yo = /* @__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 } = $e();
|
|
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) => (Ve("data-v-853041a4"), e = e(), Pe(), 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 } = Be(Ie());
|
|
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(He).ReePay })
|
|
659
|
+
}, ro, 2)
|
|
675
660
|
]));
|
|
676
661
|
}
|
|
677
|
-
}),
|
|
662
|
+
}), vo = /* @__PURE__ */ z(so, [["__scopeId", "data-v-853041a4"]]);
|
|
678
663
|
export {
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
664
|
+
fo as B,
|
|
665
|
+
yo as C,
|
|
666
|
+
po as P,
|
|
667
|
+
no as _,
|
|
668
|
+
vo as a
|
|
684
669
|
};
|
|
685
|
-
//# sourceMappingURL=CheckoutWindow-
|
|
670
|
+
//# sourceMappingURL=CheckoutWindow-C9Sa3vci.js.map
|
|
Binary file
|