@konnectio/core 4.1.1 → 4.1.3
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-Bv7eVoQ6.js → ActionField-CRqgWSz1.js} +11 -11
- package/dist/ActionField-CRqgWSz1.js.br +0 -0
- package/dist/{AvailabilitySkeleton-B_gz2zW7.js → AvailabilitySkeleton-DVrVFhw4.js} +25 -25
- package/dist/AvailabilitySkeleton-DVrVFhw4.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bqb9v7l8.js +8592 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bqb9v7l8.js.br +0 -0
- package/dist/{CheckoutWindow-D9oLhlnI.js → CheckoutWindow-DrZnthDH.js} +105 -111
- package/dist/CheckoutWindow-DrZnthDH.js.br +0 -0
- package/dist/{ErrorMessage-D69Wt9sJ.js → ErrorMessage-b0lY3zUM.js} +3 -3
- package/dist/ErrorMessage-b0lY3zUM.js.br +0 -0
- package/dist/{EventAvailabilityForm-DMw-tMYh.js → EventAvailabilityForm-BPkfZcYX.js} +4 -4
- package/dist/EventAvailabilityForm-BPkfZcYX.js.br +0 -0
- package/dist/{Field-DTS5lUQa.js → Field-DnS91ODQ.js} +4 -4
- package/dist/Field-DnS91ODQ.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BVM6rNQX.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CW-XSJQB.js} +6 -6
- package/dist/SelectField.vue_vue_type_style_index_0_lang-CZYWu7x-.js +10302 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-CZYWu7x-.js.br +0 -0
- package/dist/{TermsOfService-BCRB4pzR.js → TermsOfService-B2ELKRPq.js} +5 -5
- package/dist/_-DkNAaEsV.js +5 -0
- package/dist/{_.vue_vue_type_style_index_0_lang-BHdZ4cL3.js → _.vue_vue_type_style_index_0_lang-DKkrP6vk.js} +3 -3
- package/dist/availability.js +6 -6
- package/dist/availability.js.br +0 -0
- package/dist/cancel-reservation.js +5 -5
- package/dist/cancel-reservation.js.br +0 -0
- package/dist/core.css +1 -0
- package/dist/core.css.br +0 -0
- package/dist/deep-link.js +1 -1
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +88 -88
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +9 -9
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +11 -11
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-C9C5zd6l.js → giftCard-BsWa3VEY.js} +3 -3
- package/dist/giftCard-BsWa3VEY.js.br +0 -0
- package/dist/hotel.js +9112 -1585
- package/dist/hotel.js.br +0 -0
- package/dist/leaflet-src.esm-DBQWLG1M.js +6434 -0
- package/dist/leaflet-src.esm-DBQWLG1M.js.br +0 -0
- package/dist/marker-icon-2x-DVSLMKfE.js +5 -0
- package/dist/marker-icon-2x-DVSLMKfE.js.br +0 -0
- package/dist/marker-icon-DbhCZIpd.js +5 -0
- package/dist/marker-icon-DbhCZIpd.js.br +0 -0
- package/dist/marker-shadow-ZZvxUwqf.js +5 -0
- package/dist/{masonry.plugin-D7l8_YMQ.js → masonry.plugin-By72FzQ9.js} +280 -253
- package/dist/masonry.plugin-By72FzQ9.js.br +0 -0
- package/dist/{mitt-Dv_UvJqG.js → mitt-Dh_4vPVI.js} +4190 -4146
- package/dist/mitt-Dh_4vPVI.js.br +0 -0
- package/dist/polyfill.js +9944 -6682
- package/dist/polyfill.js.br +0 -0
- package/dist/{style-DL_k5gwT.js → style-CXMzdeVK.js} +60 -60
- package/dist/style-CXMzdeVK.js.br +0 -0
- package/package.json +22 -20
- package/dist/ActionField-Bv7eVoQ6.js.br +0 -0
- package/dist/AvailabilitySkeleton-B_gz2zW7.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Dq3QsW9G.js +0 -8429
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Dq3QsW9G.js.br +0 -0
- package/dist/CheckoutWindow-D9oLhlnI.js.br +0 -0
- package/dist/ErrorMessage-D69Wt9sJ.js.br +0 -0
- package/dist/EventAvailabilityForm-DMw-tMYh.js.br +0 -0
- package/dist/Field-DTS5lUQa.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DC2CrQZx.js +0 -19350
- package/dist/SelectField.vue_vue_type_style_index_0_lang-DC2CrQZx.js.br +0 -0
- package/dist/_-CTjyxwPn.js +0 -5
- package/dist/giftCard-C9C5zd6l.js.br +0 -0
- package/dist/masonry.plugin-D7l8_YMQ.js.br +0 -0
- package/dist/mitt-Dv_UvJqG.js.br +0 -0
- package/dist/style-DL_k5gwT.js.br +0 -0
- package/dist/style.css +0 -1
- package/dist/style.css.br +0 -0
package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bqb9v7l8.js.br
ADDED
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as $, a as u, g as
|
|
2
|
-
import { I as Ve, _ as
|
|
1
|
+
import { d as $, a as u, g as v, r as c, o as j, af as me, R as he, E as J, c as G, b as H, e as r, f as I, w as k, G as Q, H as _, a0 as U, T as x, n as m, v as B, j as w, a8 as ge, N as be, Y as we, y as ne, z as Se, i as f, t as b, a6 as ke, ac as Ce, u as $e, x as W, s as Be } from "./mitt-Dh_4vPVI.js";
|
|
2
|
+
import { I as Ve, _ as D, H as ee, T as oe, x as ae, h as Pe, P as Te } from "./SelectField.vue_vue_type_style_index_0_lang-CZYWu7x-.js";
|
|
3
3
|
function He(e) {
|
|
4
4
|
if (Array.isArray(e)) {
|
|
5
5
|
for (var o = 0, l = Array(e.length); o < e.length; o++)
|
|
@@ -17,11 +17,11 @@ if (typeof window < "u") {
|
|
|
17
17
|
};
|
|
18
18
|
window.addEventListener("testPassive", null, te), window.removeEventListener("testPassive", null, te);
|
|
19
19
|
}
|
|
20
|
-
var
|
|
20
|
+
var q = typeof window < "u" && window.navigator && window.navigator.platform && (/iP(ad|hone|od)/.test(window.navigator.platform) || window.navigator.platform === "MacIntel" && window.navigator.maxTouchPoints > 1), C = [], E = !1, ie = -1, P = void 0, S = void 0, T = void 0, de = function(o) {
|
|
21
21
|
return C.some(function(l) {
|
|
22
22
|
return !!(l.options.allowTouchMove && l.options.allowTouchMove(o));
|
|
23
23
|
});
|
|
24
|
-
},
|
|
24
|
+
}, O = function(o) {
|
|
25
25
|
var l = o || window.event;
|
|
26
26
|
return de(l.target) || l.touches.length > 1 ? !0 : (l.preventDefault && l.preventDefault(), !1);
|
|
27
27
|
}, Ie = function(o) {
|
|
@@ -37,8 +37,8 @@ var E = typeof window < "u" && window.navigator && window.navigator.platform &&
|
|
|
37
37
|
T !== void 0 && (document.body.style.paddingRight = T, T = void 0), P !== void 0 && (document.body.style.overflow = P, P = void 0);
|
|
38
38
|
}, Ne = function() {
|
|
39
39
|
return window.requestAnimationFrame(function() {
|
|
40
|
-
if (
|
|
41
|
-
|
|
40
|
+
if (S === void 0) {
|
|
41
|
+
S = {
|
|
42
42
|
position: document.body.style.position,
|
|
43
43
|
top: document.body.style.top,
|
|
44
44
|
left: document.body.style.left
|
|
@@ -53,15 +53,15 @@ var E = typeof window < "u" && window.navigator && window.navigator.platform &&
|
|
|
53
53
|
}
|
|
54
54
|
});
|
|
55
55
|
}, qe = function() {
|
|
56
|
-
if (
|
|
56
|
+
if (S !== void 0) {
|
|
57
57
|
var o = -parseInt(document.body.style.top, 10), l = -parseInt(document.body.style.left, 10);
|
|
58
|
-
document.body.style.position =
|
|
58
|
+
document.body.style.position = S.position, document.body.style.top = S.top, document.body.style.left = S.left, window.scrollTo(l, o), S = void 0;
|
|
59
59
|
}
|
|
60
60
|
}, Ee = function(o) {
|
|
61
61
|
return o ? o.scrollHeight - o.scrollTop <= o.clientHeight : !1;
|
|
62
62
|
}, Oe = function(o, l) {
|
|
63
63
|
var n = o.targetTouches[0].clientY - ie;
|
|
64
|
-
return de(o.target) ? !1 : l && l.scrollTop === 0 && n > 0 || Ee(l) && n < 0 ?
|
|
64
|
+
return de(o.target) ? !1 : l && l.scrollTop === 0 && n > 0 || Ee(l) && n < 0 ? O(o) : (o.stopPropagation(), !0);
|
|
65
65
|
}, De = function(o, l) {
|
|
66
66
|
if (!o) {
|
|
67
67
|
console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");
|
|
@@ -74,11 +74,11 @@ var E = typeof window < "u" && window.navigator && window.navigator.platform &&
|
|
|
74
74
|
targetElement: o,
|
|
75
75
|
options: l || {}
|
|
76
76
|
};
|
|
77
|
-
C = [].concat(He(C), [n]),
|
|
77
|
+
C = [].concat(He(C), [n]), q ? Ne() : Ie(l), q && (o.ontouchstart = function(a) {
|
|
78
78
|
a.targetTouches.length === 1 && (ie = a.targetTouches[0].clientY);
|
|
79
79
|
}, o.ontouchmove = function(a) {
|
|
80
80
|
a.targetTouches.length === 1 && Oe(a, o);
|
|
81
|
-
},
|
|
81
|
+
}, E || (document.addEventListener("touchmove", O, Y ? { passive: !1 } : void 0), E = !0));
|
|
82
82
|
}
|
|
83
83
|
}, ze = function(o) {
|
|
84
84
|
if (!o) {
|
|
@@ -87,12 +87,12 @@ var E = typeof window < "u" && window.navigator && window.navigator.platform &&
|
|
|
87
87
|
}
|
|
88
88
|
C = C.filter(function(l) {
|
|
89
89
|
return l.targetElement !== o;
|
|
90
|
-
}),
|
|
90
|
+
}), q && (o.ontouchstart = null, o.ontouchmove = null, E && C.length === 0 && (document.removeEventListener("touchmove", O, Y ? { passive: !1 } : void 0), E = !1)), q ? qe() : Ae();
|
|
91
91
|
}, X = $({
|
|
92
92
|
name: "SidePanelCloseButton",
|
|
93
93
|
emits: ["close"]
|
|
94
94
|
});
|
|
95
|
-
const Me = /* @__PURE__ */
|
|
95
|
+
const Me = /* @__PURE__ */ r(
|
|
96
96
|
"span",
|
|
97
97
|
{ class: "vsp-close__x" },
|
|
98
98
|
null,
|
|
@@ -102,7 +102,7 @@ const Me = /* @__PURE__ */ d(
|
|
|
102
102
|
Me
|
|
103
103
|
];
|
|
104
104
|
function Fe(e, o, l, n, a, s) {
|
|
105
|
-
return u(),
|
|
105
|
+
return u(), v("div", {
|
|
106
106
|
class: "vsp-close",
|
|
107
107
|
onClick: o[0] || (o[0] = (t) => e.$emit("close"))
|
|
108
108
|
}, [...Le]);
|
|
@@ -201,9 +201,9 @@ var K = $({
|
|
|
201
201
|
emits: ["update:modelValue", "closed", "opened"],
|
|
202
202
|
setup(e, { emit: o, attrs: l }) {
|
|
203
203
|
let n;
|
|
204
|
-
const a = c(null), s = c(null), t = c(null),
|
|
205
|
-
window?.innerHeight > 0 && (
|
|
206
|
-
}, re = () => o("update:modelValue", !1),
|
|
204
|
+
const a = c(null), s = c(null), t = c(null), d = c(null), i = c(null), p = c(0), h = c(0), A = c(0), z = c(0), M = c(0), L = c(), Z = c(!1), V = async () => {
|
|
205
|
+
window?.innerHeight > 0 && (M.value = window.innerHeight), p.value = t.value ? t.value.clientHeight : 0, A.value = d.value ? d.value.clientHeight : 0, h.value = i.value ? i.value.scrollHeight : 0, z.value = a.value ? a.value.clientHeight : 0;
|
|
206
|
+
}, re = () => o("update:modelValue", !1), F = (y, g) => {
|
|
207
207
|
if (g) {
|
|
208
208
|
setTimeout(() => {
|
|
209
209
|
De(y, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
|
|
@@ -213,40 +213,40 @@ var K = $({
|
|
|
213
213
|
ze(y), e.lockScrollHtml && document.documentElement.style.removeProperty("overflow");
|
|
214
214
|
}, se = () => Math.max(...Array.from(document.querySelectorAll("body *"), (y) => parseFloat(window.getComputedStyle(y).zIndex)).filter((y) => !Number.isNaN(y)), 0);
|
|
215
215
|
j(() => {
|
|
216
|
-
|
|
216
|
+
L.value = e.zIndex === "auto" ? se() : e.zIndex;
|
|
217
217
|
}), me(() => {
|
|
218
218
|
document.getElementById(e.idName) || (n = document.createElement("div"), n.setAttribute("id", e.idName), document.body.appendChild(n));
|
|
219
219
|
}), he(() => {
|
|
220
220
|
const { modelValue: y, lockScroll: g } = e;
|
|
221
|
-
g && a.value && y &&
|
|
222
|
-
}), J(() => [
|
|
221
|
+
g && a.value && y && F(a.value, !1), n && document.body.removeChild(n), window.removeEventListener("resize", V);
|
|
222
|
+
}), J(() => [d.value, t.value, e.height, e.width, e.side, e.modelValue], () => {
|
|
223
223
|
be(() => V());
|
|
224
224
|
}), J(() => [e.modelValue, a.value], (y, g) => {
|
|
225
225
|
const pe = g ? g[0] : !1, [R, N] = y, ye = R, ve = pe && !R;
|
|
226
226
|
if (N) {
|
|
227
227
|
if (ye && (Z.value = !!document.body.style.overflow), R) {
|
|
228
|
-
e.lockScroll &&
|
|
228
|
+
e.lockScroll && F(N, !0), V(), window.addEventListener("resize", V);
|
|
229
229
|
return;
|
|
230
230
|
}
|
|
231
231
|
!e.lockScroll || !ve || Z.value || (setTimeout(() => {
|
|
232
|
-
N &&
|
|
232
|
+
N && F(N, !1);
|
|
233
233
|
}, e.panelDuration), window.removeEventListener("resize", V));
|
|
234
234
|
}
|
|
235
235
|
}, { immediate: !0 });
|
|
236
|
-
const ue =
|
|
237
|
-
if (!
|
|
236
|
+
const ue = G(() => {
|
|
237
|
+
if (!z.value)
|
|
238
238
|
return;
|
|
239
239
|
const y = h.value + A.value + p.value;
|
|
240
|
-
let g =
|
|
241
|
-
return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g =
|
|
242
|
-
}), ce =
|
|
243
|
-
zIndex:
|
|
240
|
+
let g = z.value - A.value - p.value;
|
|
241
|
+
return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g = M.value >= y ? h.value : M.value - A.value - p.value), g;
|
|
242
|
+
}), ce = G(() => ({
|
|
243
|
+
zIndex: L.value,
|
|
244
244
|
animationDuration: `${e.overlayDuration}ms`,
|
|
245
245
|
"--overlay-opacity": e.overlayOpacity,
|
|
246
246
|
opacity: e.modelValue ? e.overlayOpacity : 0,
|
|
247
247
|
backgroundColor: e.overlayColor,
|
|
248
248
|
pointerEvents: e.modelValue ? "all" : "none"
|
|
249
|
-
})), fe =
|
|
249
|
+
})), fe = G(() => ({
|
|
250
250
|
width: ["left", "right"].includes(e.side) ? e.width : void 0,
|
|
251
251
|
maxWidth: "100%",
|
|
252
252
|
...["top", "bottom"].includes(e.side) ? {
|
|
@@ -254,7 +254,7 @@ var K = $({
|
|
|
254
254
|
height: e.height,
|
|
255
255
|
maxHeight: "100%"
|
|
256
256
|
} : {},
|
|
257
|
-
zIndex:
|
|
257
|
+
zIndex: L.value,
|
|
258
258
|
backgroundColor: e.panelColor,
|
|
259
259
|
animationDuration: `${e.panelDuration}ms`,
|
|
260
260
|
...Object.assign({}, l.style)
|
|
@@ -264,7 +264,7 @@ var K = $({
|
|
|
264
264
|
panel: a,
|
|
265
265
|
overlay: s,
|
|
266
266
|
overlayStyles: ce,
|
|
267
|
-
header:
|
|
267
|
+
header: d,
|
|
268
268
|
footer: t,
|
|
269
269
|
closePanel: re,
|
|
270
270
|
panelStyles: fe,
|
|
@@ -272,15 +272,15 @@ var K = $({
|
|
|
272
272
|
};
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
|
-
function
|
|
275
|
+
function Re(e, o, l, n, a, s) {
|
|
276
276
|
const t = we("SidePanelCloseButton");
|
|
277
277
|
return u(), H(ge, {
|
|
278
278
|
to: `#${e.idName}`
|
|
279
279
|
}, [
|
|
280
|
-
|
|
280
|
+
r(
|
|
281
281
|
"div",
|
|
282
282
|
{
|
|
283
|
-
class:
|
|
283
|
+
class: m(["vsp-wrapper", [e.modelValue && "vsp-wrapper--active"]])
|
|
284
284
|
},
|
|
285
285
|
[
|
|
286
286
|
I(x, {
|
|
@@ -288,12 +288,12 @@ function Ge(e, o, l, n, a, s) {
|
|
|
288
288
|
persisted: ""
|
|
289
289
|
}, {
|
|
290
290
|
default: k(() => [
|
|
291
|
-
Q(
|
|
291
|
+
Q(r(
|
|
292
292
|
"div",
|
|
293
293
|
{
|
|
294
294
|
ref: "overlay",
|
|
295
295
|
class: "vsp-overlay",
|
|
296
|
-
style:
|
|
296
|
+
style: U(e.overlayStyles),
|
|
297
297
|
onClick: o[0] || (o[0] = () => e.noClose ? void 0 : e.closePanel())
|
|
298
298
|
},
|
|
299
299
|
null,
|
|
@@ -308,42 +308,42 @@ function Ge(e, o, l, n, a, s) {
|
|
|
308
308
|
}),
|
|
309
309
|
I(x, {
|
|
310
310
|
name: e.transitionName || `slide-${e.side}`,
|
|
311
|
-
onAfterEnter: o[1] || (o[1] = (
|
|
312
|
-
onAfterLeave: o[2] || (o[2] = (
|
|
311
|
+
onAfterEnter: o[1] || (o[1] = (d) => e.$emit("opened")),
|
|
312
|
+
onAfterLeave: o[2] || (o[2] = (d) => e.$emit("closed"))
|
|
313
313
|
}, {
|
|
314
314
|
default: k(() => [
|
|
315
|
-
!e.rerender || e.modelValue ? Q((u(),
|
|
315
|
+
!e.rerender || e.modelValue ? Q((u(), v(
|
|
316
316
|
"div",
|
|
317
317
|
{
|
|
318
318
|
key: 0,
|
|
319
319
|
ref: "panel",
|
|
320
|
-
class:
|
|
321
|
-
style:
|
|
320
|
+
class: m(["vsp", [`vsp--${e.side}-side`, e.$attrs.class]]),
|
|
321
|
+
style: U(e.panelStyles)
|
|
322
322
|
},
|
|
323
323
|
[
|
|
324
|
-
e.$slots.header ? (u(),
|
|
324
|
+
e.$slots.header ? (u(), v(
|
|
325
325
|
"div",
|
|
326
326
|
{
|
|
327
327
|
key: 0,
|
|
328
328
|
ref: "header",
|
|
329
|
-
class:
|
|
329
|
+
class: m([e.headerClass, "vsp__header"])
|
|
330
330
|
},
|
|
331
331
|
[
|
|
332
332
|
B(e.$slots, "header", { close: e.closePanel })
|
|
333
333
|
],
|
|
334
334
|
2
|
|
335
335
|
/* CLASS */
|
|
336
|
-
)) :
|
|
337
|
-
|
|
336
|
+
)) : w("v-if", !0),
|
|
337
|
+
r(
|
|
338
338
|
"div",
|
|
339
339
|
{
|
|
340
340
|
ref: "body",
|
|
341
|
-
class:
|
|
342
|
-
style:
|
|
341
|
+
class: m([e.bodyClass, "vsp__body"]),
|
|
342
|
+
style: U({ height: `${e.bodyHeight}px` })
|
|
343
343
|
},
|
|
344
344
|
[
|
|
345
345
|
B(e.$slots, "default", { close: e.closePanel }),
|
|
346
|
-
e.hideCloseBtn ?
|
|
346
|
+
e.hideCloseBtn ? w("v-if", !0) : (u(), H(t, {
|
|
347
347
|
key: 0,
|
|
348
348
|
onClose: e.closePanel
|
|
349
349
|
}, null, 8, ["onClose"]))
|
|
@@ -351,25 +351,25 @@ function Ge(e, o, l, n, a, s) {
|
|
|
351
351
|
6
|
|
352
352
|
/* CLASS, STYLE */
|
|
353
353
|
),
|
|
354
|
-
e.$slots.footer ? (u(),
|
|
354
|
+
e.$slots.footer ? (u(), v(
|
|
355
355
|
"div",
|
|
356
356
|
{
|
|
357
357
|
key: 1,
|
|
358
358
|
ref: "footer",
|
|
359
|
-
class:
|
|
359
|
+
class: m([e.footerClass, "vsp__footer"])
|
|
360
360
|
},
|
|
361
361
|
[
|
|
362
362
|
B(e.$slots, "footer")
|
|
363
363
|
],
|
|
364
364
|
2
|
|
365
365
|
/* CLASS */
|
|
366
|
-
)) :
|
|
366
|
+
)) : w("v-if", !0)
|
|
367
367
|
],
|
|
368
368
|
6
|
|
369
369
|
/* CLASS, STYLE */
|
|
370
370
|
)), [
|
|
371
371
|
[_, e.rerender ? !0 : e.modelValue]
|
|
372
|
-
]) :
|
|
372
|
+
]) : w("v-if", !0)
|
|
373
373
|
]),
|
|
374
374
|
_: 3
|
|
375
375
|
/* FORWARDED */
|
|
@@ -380,9 +380,9 @@ function Ge(e, o, l, n, a, s) {
|
|
|
380
380
|
)
|
|
381
381
|
], 8, ["to"]);
|
|
382
382
|
}
|
|
383
|
-
K.render =
|
|
383
|
+
K.render = Re;
|
|
384
384
|
K.__file = "src/components/SidePanel.vue";
|
|
385
|
-
const
|
|
385
|
+
const Ge = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-panel-title" }, We = {
|
|
386
386
|
key: 0,
|
|
387
387
|
id: "konnectio-side-panel-subtitle"
|
|
388
388
|
}, je = ["innerHTML"], Ye = /* @__PURE__ */ $({
|
|
@@ -407,22 +407,22 @@ const Re = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-pan
|
|
|
407
407
|
function s() {
|
|
408
408
|
l("opened");
|
|
409
409
|
}
|
|
410
|
-
return (t,
|
|
410
|
+
return (t, d) => (u(), H(f(K), {
|
|
411
411
|
modelValue: t.modelValue,
|
|
412
412
|
"lock-scroll": t.lockScroll,
|
|
413
413
|
"hide-close-btn": t.hideCloseButton,
|
|
414
414
|
width: t.width,
|
|
415
|
-
"onUpdate:modelValue":
|
|
415
|
+
"onUpdate:modelValue": d[1] || (d[1] = (i) => t.$emit("update:modelValue", i)),
|
|
416
416
|
onClosed: a,
|
|
417
417
|
onOpened: s
|
|
418
418
|
}, Se({
|
|
419
419
|
header: k(() => [
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
420
|
+
r("div", Ge, [
|
|
421
|
+
r("h2", Ue, [
|
|
422
|
+
r("span", null, b(t.title), 1),
|
|
423
|
+
r("button", {
|
|
424
424
|
id: "konnectio-side-panel-close",
|
|
425
|
-
onClick:
|
|
425
|
+
onClick: d[0] || (d[0] = (i) => t.$emit("update:modelValue", !1))
|
|
426
426
|
}, [
|
|
427
427
|
I(Ve, {
|
|
428
428
|
icon: "times",
|
|
@@ -431,19 +431,18 @@ const Re = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-pan
|
|
|
431
431
|
})
|
|
432
432
|
])
|
|
433
433
|
]),
|
|
434
|
-
t.subtitle ? (u(),
|
|
435
|
-
|
|
436
|
-
])) :
|
|
434
|
+
t.subtitle ? (u(), v("h4", We, [
|
|
435
|
+
r("span", null, b(t.subtitle), 1)
|
|
436
|
+
])) : w("", !0)
|
|
437
437
|
])
|
|
438
438
|
]),
|
|
439
439
|
default: k(() => [
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
])
|
|
440
|
+
t.description ? (u(), v("div", {
|
|
441
|
+
key: 0,
|
|
442
|
+
class: "konnectio-side-panel-description",
|
|
443
|
+
innerHTML: t.description
|
|
444
|
+
}, null, 8, je)) : w("", !0),
|
|
445
|
+
B(t.$slots, "default", {}, void 0, !0)
|
|
447
446
|
]),
|
|
448
447
|
_: 2
|
|
449
448
|
}, [
|
|
@@ -456,7 +455,7 @@ const Re = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-pan
|
|
|
456
455
|
} : void 0
|
|
457
456
|
]), 1032, ["modelValue", "lock-scroll", "hide-close-btn", "width"]));
|
|
458
457
|
}
|
|
459
|
-
}), io = /* @__PURE__ */
|
|
458
|
+
}), io = /* @__PURE__ */ D(Ye, [["__scopeId", "data-v-ab4f4cbb"]]), Xe = { class: "konnectio-phone-input" }, Ke = /* @__PURE__ */ $({
|
|
460
459
|
__name: "PhoneField",
|
|
461
460
|
props: {
|
|
462
461
|
modelValue: {},
|
|
@@ -467,13 +466,12 @@ const Re = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-pan
|
|
|
467
466
|
iconColor: {},
|
|
468
467
|
iconType: { default: "fal" },
|
|
469
468
|
required: { type: Boolean, default: !1 },
|
|
470
|
-
readonly: { type: Boolean, default: !1 }
|
|
471
|
-
inputStyle: {}
|
|
469
|
+
readonly: { type: Boolean, default: !1 }
|
|
472
470
|
},
|
|
473
471
|
emits: ["update:modelValue"],
|
|
474
472
|
setup(e, { emit: o }) {
|
|
475
473
|
const l = o, n = e, a = n.id || ee(), s = c("+45"), t = c("");
|
|
476
|
-
function
|
|
474
|
+
function d() {
|
|
477
475
|
l("update:modelValue", `${s.value} ${t.value}`);
|
|
478
476
|
}
|
|
479
477
|
return j(() => {
|
|
@@ -489,7 +487,7 @@ const Re = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-pan
|
|
|
489
487
|
readonly: i.readonly
|
|
490
488
|
}, {
|
|
491
489
|
default: k(() => [
|
|
492
|
-
|
|
490
|
+
r("div", Xe, [
|
|
493
491
|
I(oe, {
|
|
494
492
|
modelValue: s.value,
|
|
495
493
|
"onUpdate:modelValue": p[0] || (p[0] = (h) => s.value = h),
|
|
@@ -503,9 +501,8 @@ const Re = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-pan
|
|
|
503
501
|
placeholder: "+XX",
|
|
504
502
|
required: i.required,
|
|
505
503
|
readonly: i.readonly,
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly", "input-style"]),
|
|
504
|
+
onInput: p[1] || (p[1] = (h) => d())
|
|
505
|
+
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly"]),
|
|
509
506
|
I(oe, {
|
|
510
507
|
modelValue: t.value,
|
|
511
508
|
"onUpdate:modelValue": p[2] || (p[2] = (h) => t.value = h),
|
|
@@ -517,17 +514,16 @@ const Re = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-pan
|
|
|
517
514
|
placeholder: i.placeholder,
|
|
518
515
|
required: i.required,
|
|
519
516
|
readonly: i.readonly,
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
}, null, 8, ["modelValue", "id", "placeholder", "required", "readonly", "input-style"])
|
|
517
|
+
onInput: p[3] || (p[3] = (h) => d())
|
|
518
|
+
}, null, 8, ["modelValue", "id", "placeholder", "required", "readonly"])
|
|
523
519
|
])
|
|
524
520
|
]),
|
|
525
521
|
_: 1
|
|
526
522
|
}, 8, ["label", "id", "required", "readonly"]));
|
|
527
523
|
}
|
|
528
|
-
}), ro = /* @__PURE__ */
|
|
524
|
+
}), ro = /* @__PURE__ */ D(Ke, [["__scopeId", "data-v-3e373d03"]]), Ze = ["required", "type", "name", "readonly", "disabled", "value", "checked"], Je = ["data-test"], Qe = { key: 0 }, _e = {
|
|
529
525
|
key: 1,
|
|
530
|
-
class: /* @__PURE__ */
|
|
526
|
+
class: /* @__PURE__ */ m(["konnectio-click-box-label", "inline"])
|
|
531
527
|
}, xe = /* @__PURE__ */ $({
|
|
532
528
|
__name: "Checkbox",
|
|
533
529
|
props: {
|
|
@@ -540,7 +536,6 @@ const Re = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-pan
|
|
|
540
536
|
readonly: { type: Boolean, default: !1 },
|
|
541
537
|
type: { default: "checkbox" },
|
|
542
538
|
required: { type: Boolean, default: !1 },
|
|
543
|
-
inputStyle: {},
|
|
544
539
|
val: {}
|
|
545
540
|
},
|
|
546
541
|
emits: ["update:modelValue"],
|
|
@@ -552,21 +547,21 @@ const Re = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-pan
|
|
|
552
547
|
l.type === "radio" ? l.val : l.numeric ? l.modelValue ? 0 : 1 : !l.modelValue
|
|
553
548
|
);
|
|
554
549
|
}
|
|
555
|
-
return (t,
|
|
550
|
+
return (t, d) => (u(), H(ae, {
|
|
556
551
|
required: t.required,
|
|
557
552
|
type: t.type,
|
|
558
553
|
readonly: t.readonly
|
|
559
554
|
}, {
|
|
560
555
|
default: k(() => [
|
|
561
|
-
|
|
562
|
-
class:
|
|
556
|
+
r("label", {
|
|
557
|
+
class: m([
|
|
563
558
|
"konnectio-click-box-container",
|
|
564
559
|
{ "is-readonly": t.readonly },
|
|
565
560
|
{ "has-label": t.label || f(a).default },
|
|
566
561
|
t.type === "radio" ? "radio" : "checkbox"
|
|
567
562
|
])
|
|
568
563
|
}, [
|
|
569
|
-
|
|
564
|
+
r("input", ke(t.$attrs, {
|
|
570
565
|
required: !!t.required,
|
|
571
566
|
type: t.type,
|
|
572
567
|
name: t.name,
|
|
@@ -575,33 +570,32 @@ const Re = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-pan
|
|
|
575
570
|
disabled: !!t.readonly,
|
|
576
571
|
value: t.type === "radio" ? t.val : t.modelValue,
|
|
577
572
|
checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue,
|
|
578
|
-
onChange:
|
|
573
|
+
onChange: d[0] || (d[0] = (i) => s())
|
|
579
574
|
}), null, 16, Ze),
|
|
580
|
-
|
|
581
|
-
class:
|
|
575
|
+
r("div", {
|
|
576
|
+
class: m([
|
|
582
577
|
"konnectio-click-box",
|
|
583
578
|
{ checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue }
|
|
584
579
|
]),
|
|
585
580
|
tabindex: "0",
|
|
586
|
-
style: q(t.inputStyle),
|
|
587
581
|
"data-test": t.name,
|
|
588
|
-
onKeyup:
|
|
589
|
-
}, null,
|
|
590
|
-
t.label ? (u(),
|
|
582
|
+
onKeyup: d[1] || (d[1] = Ce((i) => s(), ["enter"]))
|
|
583
|
+
}, null, 42, Je),
|
|
584
|
+
t.label ? (u(), v("div", {
|
|
591
585
|
key: 0,
|
|
592
|
-
class:
|
|
586
|
+
class: m(["konnectio-click-box-label", "text-hover", { "with-price": t.price }])
|
|
593
587
|
}, [
|
|
594
|
-
|
|
595
|
-
t.price ? (u(),
|
|
596
|
-
], 2)) : f(a).default ? (u(),
|
|
588
|
+
r("span", null, b(t.label), 1),
|
|
589
|
+
t.price ? (u(), v("span", Qe, b(t.price), 1)) : w("", !0)
|
|
590
|
+
], 2)) : f(a).default ? (u(), v("div", _e, [
|
|
597
591
|
B(t.$slots, "default", {}, void 0, !0)
|
|
598
|
-
])) :
|
|
592
|
+
])) : w("", !0)
|
|
599
593
|
], 2)
|
|
600
594
|
]),
|
|
601
595
|
_: 3
|
|
602
596
|
}, 8, ["required", "type", "readonly"]));
|
|
603
597
|
}
|
|
604
|
-
}), so = /* @__PURE__ */
|
|
598
|
+
}), so = /* @__PURE__ */ D(xe, [["__scopeId", "data-v-6029b875"]]), eo = {
|
|
605
599
|
href: "https://policies.google.com/privacy",
|
|
606
600
|
target: "_blank"
|
|
607
601
|
}, oo = {
|
|
@@ -611,11 +605,11 @@ const Re = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-pan
|
|
|
611
605
|
__name: "GoogleNotice",
|
|
612
606
|
setup(e) {
|
|
613
607
|
const { t: o } = $e();
|
|
614
|
-
return (l, n) => (u(),
|
|
608
|
+
return (l, n) => (u(), v("span", null, [
|
|
615
609
|
W(b(f(o)("googleNotice")) + " ", 1),
|
|
616
|
-
|
|
610
|
+
r("a", eo, b(f(o)("googlePrivacyPolicy")), 1),
|
|
617
611
|
W(" " + b(f(o)("googleAnd")) + " ", 1),
|
|
618
|
-
|
|
612
|
+
r("a", oo, b(f(o)("googleTOS")), 1),
|
|
619
613
|
W(" " + b(f(o)("googleApply")) + ". ", 1)
|
|
620
614
|
]));
|
|
621
615
|
}
|
|
@@ -650,16 +644,16 @@ const lo = /* @__PURE__ */ $({
|
|
|
650
644
|
return j(() => {
|
|
651
645
|
const l = document.createElement("script"), n = document.createElement("script");
|
|
652
646
|
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);
|
|
653
|
-
}), (l, n) => (u(),
|
|
654
|
-
|
|
647
|
+
}), (l, n) => (u(), v("div", null, [
|
|
648
|
+
r("div", {
|
|
655
649
|
id: "konnectio-payment-checkout-wrapper",
|
|
656
|
-
class:
|
|
650
|
+
class: m({ reePay: f(o) === f(Te).ReePay })
|
|
657
651
|
}, n[0] || (n[0] = [
|
|
658
|
-
|
|
652
|
+
r("div", { id: "konnectio-payment-checkout" }, null, -1)
|
|
659
653
|
]), 2)
|
|
660
654
|
]));
|
|
661
655
|
}
|
|
662
|
-
}), uo = /* @__PURE__ */
|
|
656
|
+
}), uo = /* @__PURE__ */ D(lo, [["__scopeId", "data-v-853041a4"]]);
|
|
663
657
|
export {
|
|
664
658
|
io as B,
|
|
665
659
|
so as C,
|
|
@@ -667,4 +661,4 @@ export {
|
|
|
667
661
|
to as _,
|
|
668
662
|
uo as a
|
|
669
663
|
};
|
|
670
|
-
//# sourceMappingURL=CheckoutWindow-
|
|
664
|
+
//# sourceMappingURL=CheckoutWindow-DrZnthDH.js.map
|
|
Binary file
|