@konnectio/core 4.2.18 → 4.2.20

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.
Files changed (52) hide show
  1. package/dist/{ActionField-BmBH2tSP.js → ActionField-DRZiQM6_.js} +2 -2
  2. package/dist/ActionField-DRZiQM6_.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-BI5p0Jc5.js → AvailabilitySkeleton-BFoiTusN.js} +5 -5
  4. package/dist/AvailabilitySkeleton-BFoiTusN.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DVhClla9.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-mgdU5js0.js} +2 -2
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-mgdU5js0.js.br +0 -0
  7. package/dist/{CheckoutWindow-C26A1ln1.js → CheckoutWindow-ByZD2v_h.js} +121 -118
  8. package/dist/CheckoutWindow-ByZD2v_h.js.br +0 -0
  9. package/dist/{ErrorMessage-ByFbQIco.js → ErrorMessage-aB1VuoBm.js} +2 -2
  10. package/dist/ErrorMessage-aB1VuoBm.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-CA344eQY.js → EventAvailabilityForm-ylZXZilj.js} +3 -3
  12. package/dist/EventAvailabilityForm-ylZXZilj.js.br +0 -0
  13. package/dist/{Field-CVlQ9-OV.js → Field-COUlL6xM.js} +3 -3
  14. package/dist/Field-COUlL6xM.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-B295iuOP.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BddUexPj.js} +2 -2
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-BnBnUzpZ.js → SelectField.vue_vue_type_style_index_0_lang-BlRBi4vT.js} +2 -2
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-BlRBi4vT.js.br +0 -0
  18. package/dist/{TermsOfService-CVTOYhTz.js → TermsOfService-BA22z_HN.js} +3 -3
  19. package/dist/_-QsuafRiq.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-bwg_k_Sd.js → _.vue_vue_type_style_index_0_lang-7n4WOPPa.js} +2 -2
  21. package/dist/availability.js +5 -5
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +3 -3
  24. package/dist/cancel-reservation.js.br +0 -0
  25. package/dist/core.css +1 -1
  26. package/dist/core.css.br +0 -0
  27. package/dist/event.js +7 -7
  28. package/dist/event.js.br +0 -0
  29. package/dist/gift-card-validation.js +7 -7
  30. package/dist/gift-card-validation.js.br +0 -0
  31. package/dist/gift-card.js +8 -8
  32. package/dist/gift-card.js.br +0 -0
  33. package/dist/{giftCard-B6gyeMT9.js → giftCard-BbVrOnSW.js} +2 -2
  34. package/dist/giftCard-BbVrOnSW.js.br +0 -0
  35. package/dist/hotel.js +8 -8
  36. package/dist/hotel.js.br +0 -0
  37. package/dist/{masonry.plugin-DtTnh4K5.js → masonry.plugin-Dzq6jEvo.js} +5 -5
  38. package/dist/masonry.plugin-Dzq6jEvo.js.br +0 -0
  39. package/dist/polyfill.js +1 -1
  40. package/dist/polyfill.js.br +0 -0
  41. package/package.json +1 -1
  42. package/dist/ActionField-BmBH2tSP.js.br +0 -0
  43. package/dist/AvailabilitySkeleton-BI5p0Jc5.js.br +0 -0
  44. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DVhClla9.js.br +0 -0
  45. package/dist/CheckoutWindow-C26A1ln1.js.br +0 -0
  46. package/dist/ErrorMessage-ByFbQIco.js.br +0 -0
  47. package/dist/EventAvailabilityForm-CA344eQY.js.br +0 -0
  48. package/dist/Field-CVlQ9-OV.js.br +0 -0
  49. package/dist/SelectField.vue_vue_type_style_index_0_lang-BnBnUzpZ.js.br +0 -0
  50. package/dist/_-BU_JV5VB.js +0 -5
  51. package/dist/giftCard-B6gyeMT9.js.br +0 -0
  52. package/dist/masonry.plugin-DtTnh4K5.js.br +0 -0
@@ -1,5 +1,5 @@
1
1
  import { d as c, c as m, a as d, b as t, g as i, w as V, e as v, f as q } from "./mitt-gcxZCriv.js";
2
- import { J as g, x as k, d as B, h as I, T as C, e as T, _ as F } from "./SelectField.vue_vue_type_style_index_0_lang-BnBnUzpZ.js";
2
+ import { J as g, x as k, d as B, h as I, T as C, e as T, _ as F } from "./SelectField.vue_vue_type_style_index_0_lang-BlRBi4vT.js";
3
3
  const A = { class: "konnectio-action-field" }, L = /* @__PURE__ */ c({
4
4
  __name: "ActionField",
5
5
  props: {
@@ -100,4 +100,4 @@ const A = { class: "konnectio-action-field" }, L = /* @__PURE__ */ c({
100
100
  export {
101
101
  w as A
102
102
  };
103
- //# sourceMappingURL=ActionField-BmBH2tSP.js.map
103
+ //# sourceMappingURL=ActionField-DRZiQM6_.js.map
Binary file
@@ -1,8 +1,8 @@
1
1
  import { d as te, u as fe, s as Q, r as b, c as s, D as W, o as ye, h as m, b as u, f as n, w as De, i as x, e as k, a as h, g as t, n as N, B as he, j as ke } from "./mitt-gcxZCriv.js";
2
- import { u as X, b as we, a as Le, f as Z, P as Ve, T as _e, d as Ae, h as ee, e as ae, w as xe, _ as oe } from "./SelectField.vue_vue_type_style_index_0_lang-BnBnUzpZ.js";
3
- import { _ as A } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DVhClla9.js";
4
- import { E as le } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-B295iuOP.js";
5
- import { F as p } from "./Field-CVlQ9-OV.js";
2
+ import { u as X, b as we, a as Le, f as Z, P as Ve, T as _e, d as Ae, h as ee, e as ae, w as xe, _ as oe } from "./SelectField.vue_vue_type_style_index_0_lang-BlRBi4vT.js";
3
+ import { _ as A } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-mgdU5js0.js";
4
+ import { E as le } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BddUexPj.js";
5
+ import { F as p } from "./Field-COUlL6xM.js";
6
6
  const Ne = {
7
7
  class: "konnectio-availability-location",
8
8
  key: "location"
@@ -317,4 +317,4 @@ export {
317
317
  qe as A,
318
318
  ze as H
319
319
  };
320
- //# sourceMappingURL=AvailabilitySkeleton-BI5p0Jc5.js.map
320
+ //# sourceMappingURL=AvailabilitySkeleton-BFoiTusN.js.map
@@ -1,5 +1,5 @@
1
1
  import { $ as Ma, r as K, d as nt, y as Zt, a3 as ga, o as rt, Q as ht, a0 as ma, D as wt, c as z, h as j, f as vt, a as $e, A as st, v as Fe, g as u, J as et, z as Nn, a4 as tt, a5 as mt, a6 as Wa, M as el, n as Pe, X as tl, W as al, a7 as Wn, q as ue, i as X, e as ye, j as wa, F as Me, K as gt, t as it, w as we, a8 as nl, a9 as rl, b as $, x as Wt, aa as ll, ab as ol, ac as il, E as Ya, G as Ca, T as va, ad as sl } from "./mitt-gcxZCriv.js";
2
- import { w as Xa, J as ul, x as dl } from "./SelectField.vue_vue_type_style_index_0_lang-BnBnUzpZ.js";
2
+ import { w as Xa, J as ul, x as dl } from "./SelectField.vue_vue_type_style_index_0_lang-BlRBi4vT.js";
3
3
  const rr = 6048e5, cl = 864e5, ml = 6e4, lr = 36e5, vl = 1e3, sc = 525600, uc = 43200, dc = 1440, En = Symbol.for("constructDateFrom");
4
4
  function Re(e, t) {
5
5
  return typeof e == "function" ? e(t) : e && typeof e == "object" && En in e ? e[En](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
@@ -9439,4 +9439,4 @@ export {
9439
9439
  dc as m,
9440
9440
  Pa as n
9441
9441
  };
9442
- //# sourceMappingURL=AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-DVhClla9.js.map
9442
+ //# sourceMappingURL=AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-mgdU5js0.js.map
@@ -1,6 +1,6 @@
1
- import { d as $, h as v, b as u, e as r, Y as ve, a as H, f as I, w as k, E as Q, K as R, G as Z, T as _, i as w, n as m, q as B, M as me, r as c, o as Y, ae as he, af as ge, D as x, c as U, Q as be, g as f, A as we, t as b, y as Se, J as ke, ad as Ce, u as $e, x as W, s as Be } from "./mitt-gcxZCriv.js";
2
- import { q as Ve, I as Pe, _ as O, J as ee, x as ne, T as oe, f as Te, Q as He } from "./SelectField.vue_vue_type_style_index_0_lang-BnBnUzpZ.js";
3
- function Ie(e) {
1
+ import { d as $, h as y, b as u, e as r, Y as ye, a as I, f as A, w as k, E as Q, K as U, G as Z, T as _, i as w, n as m, q as B, M as me, r as c, o as Y, ae as he, af as ge, D as x, c as q, Q as be, g as f, A as we, t as b, y as Se, J as ke, ad as Ce, u as $e, x as W, s as Be } from "./mitt-gcxZCriv.js";
2
+ import { q as Ve, I as Pe, _ as M, J as ee, x as ne, T as oe, f as Te, Q as Ie } from "./SelectField.vue_vue_type_style_index_0_lang-BlRBi4vT.js";
3
+ function Ae(e) {
4
4
  if (Array.isArray(e)) {
5
5
  for (var o = 0, l = Array(e.length); o < e.length; o++)
6
6
  l[o] = e[o];
@@ -17,14 +17,14 @@ if (typeof window < "u") {
17
17
  };
18
18
  window.addEventListener("testPassive", null, te), window.removeEventListener("testPassive", null, te);
19
19
  }
20
- var q = typeof window < "u" && window.navigator && window.navigator.platform && (/iP(ad|hone|od)/.test(window.navigator.platform) || window.navigator.platform === "MacIntel" && window.navigator.maxTouchPoints > 1), C = [], D = !1, ae = -1, P = void 0, S = void 0, T = void 0, ie = function(o) {
20
+ var D = 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, ae = -1, P = void 0, S = void 0, T = void 0, ie = function(o) {
21
21
  return C.some(function(l) {
22
22
  return !!(l.options.allowTouchMove && l.options.allowTouchMove(o));
23
23
  });
24
24
  }, E = function(o) {
25
25
  var l = o || window.event;
26
26
  return ie(l.target) || l.touches.length > 1 ? !0 : (l.preventDefault && l.preventDefault(), !1);
27
- }, Ae = function(o) {
27
+ }, He = function(o) {
28
28
  if (T === void 0) {
29
29
  var l = !!o && o.reserveScrollBarGap === !0, n = window.innerWidth - document.documentElement.clientWidth;
30
30
  if (l && n > 0) {
@@ -46,8 +46,8 @@ var q = typeof window < "u" && window.navigator && window.navigator.platform &&
46
46
  var o = window, l = o.scrollY, n = o.scrollX, a = o.innerHeight;
47
47
  document.body.style.position = "fixed", document.body.style.top = -l, document.body.style.left = -n, setTimeout(function() {
48
48
  return window.requestAnimationFrame(function() {
49
- var i = a - window.innerHeight;
50
- i && l >= a && (document.body.style.top = -(l + i));
49
+ var s = a - window.innerHeight;
50
+ s && l >= a && (document.body.style.top = -(l + s));
51
51
  });
52
52
  }, 300);
53
53
  }
@@ -57,12 +57,12 @@ var q = typeof window < "u" && window.navigator && window.navigator.platform &&
57
57
  var o = -parseInt(document.body.style.top, 10), l = -parseInt(document.body.style.left, 10);
58
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
- }, Ee = function(o) {
60
+ }, Oe = function(o) {
61
61
  return o ? o.scrollHeight - o.scrollTop <= o.clientHeight : !1;
62
- }, Oe = function(o, l) {
62
+ }, Ee = function(o, l) {
63
63
  var n = o.targetTouches[0].clientY - ae;
64
- return ie(o.target) ? !1 : l && l.scrollTop === 0 && n > 0 || Ee(l) && n < 0 ? E(o) : (o.stopPropagation(), !0);
65
- }, ze = function(o, l) {
64
+ return ie(o.target) ? !1 : l && l.scrollTop === 0 && n > 0 || Oe(l) && n < 0 ? E(o) : (o.stopPropagation(), !0);
65
+ }, Me = function(o, l) {
66
66
  if (!o) {
67
67
  console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");
68
68
  return;
@@ -74,20 +74,20 @@ var q = typeof window < "u" && window.navigator && window.navigator.platform &&
74
74
  targetElement: o,
75
75
  options: l || {}
76
76
  };
77
- C = [].concat(Ie(C), [n]), q ? qe() : Ae(l), q && (o.ontouchstart = function(a) {
77
+ C = [].concat(Ae(C), [n]), D ? qe() : He(l), D && (o.ontouchstart = function(a) {
78
78
  a.targetTouches.length === 1 && (ae = a.targetTouches[0].clientY);
79
79
  }, o.ontouchmove = function(a) {
80
- a.targetTouches.length === 1 && Oe(a, o);
81
- }, D || (document.addEventListener("touchmove", E, j ? { passive: !1 } : void 0), D = !0));
80
+ a.targetTouches.length === 1 && Ee(a, o);
81
+ }, O || (document.addEventListener("touchmove", E, j ? { passive: !1 } : void 0), O = !0));
82
82
  }
83
- }, Me = function(o) {
83
+ }, ze = function(o) {
84
84
  if (!o) {
85
85
  console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");
86
86
  return;
87
87
  }
88
88
  C = C.filter(function(l) {
89
89
  return l.targetElement !== o;
90
- }), q && (o.ontouchstart = null, o.ontouchmove = null, D && C.length === 0 && (document.removeEventListener("touchmove", E, j ? { passive: !1 } : void 0), D = !1)), q ? De() : Ne();
90
+ }), D && (o.ontouchstart = null, o.ontouchmove = null, O && C.length === 0 && (document.removeEventListener("touchmove", E, j ? { passive: !1 } : void 0), O = !1)), D ? De() : Ne();
91
91
  }, K = $({
92
92
  name: "SidePanelCloseButton",
93
93
  emits: ["close"]
@@ -101,8 +101,8 @@ const Le = /* @__PURE__ */ r(
101
101
  ), Fe = [
102
102
  Le
103
103
  ];
104
- function Ge(e, o, l, n, a, i) {
105
- return u(), v("div", {
104
+ function Ge(e, o, l, n, a, s) {
105
+ return u(), y("div", {
106
106
  class: "vsp-close",
107
107
  onClick: o[0] || (o[0] = (t) => e.$emit("close"))
108
108
  }, [...Fe]);
@@ -201,52 +201,52 @@ var X = $({
201
201
  emits: ["update:modelValue", "closed", "opened"],
202
202
  setup(e, { emit: o, attrs: l }) {
203
203
  let n;
204
- const a = c(null), i = c(null), t = c(null), s = c(null), d = c(null), p = c(0), h = c(0), A = c(0), z = c(0), M = c(0), L = c(), J = c(!1), V = async () => {
205
- window?.innerHeight > 0 && (M.value = window.innerHeight), p.value = t.value ? t.value.clientHeight : 0, A.value = s.value ? s.value.clientHeight : 0, h.value = d.value ? d.value.scrollHeight : 0, z.value = a.value ? a.value.clientHeight : 0;
206
- }, de = () => o("update:modelValue", !1), F = (y, g) => {
204
+ const a = c(null), s = c(null), t = c(null), d = c(null), i = c(null), p = c(0), h = c(0), H = c(0), z = 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, H.value = d.value ? d.value.clientHeight : 0, h.value = i.value ? i.value.scrollHeight : 0, z.value = a.value ? a.value.clientHeight : 0;
206
+ }, de = () => o("update:modelValue", !1), G = (v, g) => {
207
207
  if (g) {
208
208
  setTimeout(() => {
209
- ze(y, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
209
+ Me(v, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
210
210
  }, 0);
211
211
  return;
212
212
  }
213
- Me(y), e.lockScrollHtml && document.documentElement.style.removeProperty("overflow");
214
- }, re = () => Math.max(...Array.from(document.querySelectorAll("body *"), (y) => parseFloat(window.getComputedStyle(y).zIndex)).filter((y) => !Number.isNaN(y)), 0);
213
+ ze(v), e.lockScrollHtml && document.documentElement.style.removeProperty("overflow");
214
+ }, re = () => Math.max(...Array.from(document.querySelectorAll("body *"), (v) => parseFloat(window.getComputedStyle(v).zIndex)).filter((v) => !Number.isNaN(v)), 0);
215
215
  Y(() => {
216
- L.value = e.zIndex === "auto" ? re() : e.zIndex;
216
+ F.value = e.zIndex === "auto" ? re() : e.zIndex;
217
217
  }), he(() => {
218
218
  document.getElementById(e.idName) || (n = document.createElement("div"), n.setAttribute("id", e.idName), document.body.appendChild(n));
219
219
  }), ge(() => {
220
- const { modelValue: y, lockScroll: g } = e;
221
- g && a.value && y && F(a.value, !1), n && document.body.removeChild(n), window.removeEventListener("resize", V);
222
- }), x(() => [s.value, t.value, e.height, e.width, e.side, e.modelValue], () => {
220
+ const { modelValue: v, lockScroll: g } = e;
221
+ g && a.value && v && G(a.value, !1), n && document.body.removeChild(n), window.removeEventListener("resize", V);
222
+ }), x(() => [d.value, t.value, e.height, e.width, e.side, e.modelValue], () => {
223
223
  be(() => V());
224
- }), x(() => [e.modelValue, a.value], (y, g) => {
225
- const fe = g ? g[0] : !1, [G, N] = y, pe = G, ye = fe && !G;
224
+ }), x(() => [e.modelValue, a.value], (v, g) => {
225
+ const fe = g ? g[0] : !1, [R, N] = v, pe = R, ve = fe && !R;
226
226
  if (N) {
227
- if (pe && (J.value = !!document.body.style.overflow), G) {
228
- e.lockScroll && F(N, !0), V(), window.addEventListener("resize", V);
227
+ if (pe && (J.value = !!document.body.style.overflow), R) {
228
+ e.lockScroll && G(N, !0), V(), window.addEventListener("resize", V);
229
229
  return;
230
230
  }
231
- !e.lockScroll || !ye || J.value || (setTimeout(() => {
232
- N && F(N, !1);
231
+ !e.lockScroll || !ve || J.value || (setTimeout(() => {
232
+ N && G(N, !1);
233
233
  }, e.panelDuration), window.removeEventListener("resize", V));
234
234
  }
235
235
  }, { immediate: !0 });
236
- const se = U(() => {
236
+ const se = q(() => {
237
237
  if (!z.value)
238
238
  return;
239
- const y = h.value + A.value + p.value;
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
- }), ue = U(() => ({
243
- zIndex: L.value,
239
+ const v = h.value + H.value + p.value;
240
+ let g = z.value - H.value - p.value;
241
+ return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g = L.value >= v ? h.value : L.value - H.value - p.value), g;
242
+ }), ue = q(() => ({
243
+ zIndex: F.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
- })), ce = U(() => ({
249
+ })), ce = q(() => ({
250
250
  width: ["left", "right"].includes(e.side) ? e.width : void 0,
251
251
  maxWidth: "100%",
252
252
  ...["top", "bottom"].includes(e.side) ? {
@@ -254,17 +254,17 @@ var X = $({
254
254
  height: e.height,
255
255
  maxHeight: "100%"
256
256
  } : {},
257
- zIndex: L.value,
257
+ zIndex: F.value,
258
258
  backgroundColor: e.panelColor,
259
259
  animationDuration: `${e.panelDuration}ms`,
260
260
  ...Object.assign({}, l.style)
261
261
  }));
262
262
  return {
263
- body: d,
263
+ body: i,
264
264
  panel: a,
265
- overlay: i,
265
+ overlay: s,
266
266
  overlayStyles: ue,
267
- header: s,
267
+ header: d,
268
268
  footer: t,
269
269
  closePanel: de,
270
270
  panelStyles: ce,
@@ -272,9 +272,9 @@ var X = $({
272
272
  };
273
273
  }
274
274
  });
275
- function Re(e, o, l, n, a, i) {
276
- const t = ve("SidePanelCloseButton");
277
- return u(), H(me, {
275
+ function Re(e, o, l, n, a, s) {
276
+ const t = ye("SidePanelCloseButton");
277
+ return u(), I(me, {
278
278
  to: `#${e.idName}`
279
279
  }, [
280
280
  r(
@@ -283,7 +283,7 @@ function Re(e, o, l, n, a, i) {
283
283
  class: m(["vsp-wrapper", [e.modelValue && "vsp-wrapper--active"]])
284
284
  },
285
285
  [
286
- I(_, {
286
+ A(_, {
287
287
  name: "overlay",
288
288
  persisted: ""
289
289
  }, {
@@ -293,7 +293,7 @@ function Re(e, o, l, n, a, i) {
293
293
  {
294
294
  ref: "overlay",
295
295
  class: "vsp-overlay",
296
- style: R(e.overlayStyles),
296
+ style: U(e.overlayStyles),
297
297
  onClick: o[0] || (o[0] = () => e.noClose ? void 0 : e.closePanel())
298
298
  },
299
299
  null,
@@ -306,22 +306,22 @@ function Re(e, o, l, n, a, i) {
306
306
  _: 1
307
307
  /* STABLE */
308
308
  }),
309
- I(_, {
309
+ A(_, {
310
310
  name: e.transitionName || `slide-${e.side}`,
311
- onAfterEnter: o[1] || (o[1] = (s) => e.$emit("opened")),
312
- onAfterLeave: o[2] || (o[2] = (s) => e.$emit("closed"))
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(), v(
315
+ !e.rerender || e.modelValue ? Q((u(), y(
316
316
  "div",
317
317
  {
318
318
  key: 0,
319
319
  ref: "panel",
320
320
  class: m(["vsp", [`vsp--${e.side}-side`, e.$attrs.class]]),
321
- style: R(e.panelStyles)
321
+ style: U(e.panelStyles)
322
322
  },
323
323
  [
324
- e.$slots.header ? (u(), v(
324
+ e.$slots.header ? (u(), y(
325
325
  "div",
326
326
  {
327
327
  key: 0,
@@ -339,11 +339,11 @@ function Re(e, o, l, n, a, i) {
339
339
  {
340
340
  ref: "body",
341
341
  class: m([e.bodyClass, "vsp__body"]),
342
- style: R({ height: `${e.bodyHeight}px` })
342
+ style: U({ height: `${e.bodyHeight}px` })
343
343
  },
344
344
  [
345
345
  B(e.$slots, "default", { close: e.closePanel }),
346
- e.hideCloseBtn ? w("v-if", !0) : (u(), H(t, {
346
+ e.hideCloseBtn ? w("v-if", !0) : (u(), I(t, {
347
347
  key: 0,
348
348
  onClose: e.closePanel
349
349
  }, null, 8, ["onClose"]))
@@ -351,7 +351,7 @@ function Re(e, o, l, n, a, i) {
351
351
  6
352
352
  /* CLASS, STYLE */
353
353
  ),
354
- e.$slots.footer ? (u(), v(
354
+ e.$slots.footer ? (u(), y(
355
355
  "div",
356
356
  {
357
357
  key: 1,
@@ -400,62 +400,65 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
400
400
  },
401
401
  emits: ["update:modelValue", "opened", "closed"],
402
402
  setup(e, { emit: o }) {
403
- const l = o;
404
- function n() {
403
+ const l = o, n = q(() => {
404
+ const t = navigator?.userAgentData?.platform || navigator?.platform;
405
+ return (/iPad|iPhone|iPod/.test(t) || t === "MacIntel" && navigator.maxTouchPoints > 1) && !window.MSStream;
406
+ });
407
+ function a() {
405
408
  l("closed");
406
409
  }
407
- function a() {
410
+ function s() {
408
411
  l("opened");
409
412
  }
410
- return (i, t) => (u(), H(f(X), {
411
- modelValue: i.modelValue,
412
- "lock-scroll": i.lockScroll,
413
- "hide-close-btn": i.hideCloseButton,
414
- width: i.width,
415
- "onUpdate:modelValue": t[1] || (t[1] = (s) => i.$emit("update:modelValue", s)),
416
- onClosed: n,
417
- onOpened: a
413
+ return (t, d) => (u(), I(f(X), {
414
+ modelValue: t.modelValue,
415
+ "lock-scroll": !n.value && t.lockScroll,
416
+ "hide-close-btn": t.hideCloseButton,
417
+ width: t.width,
418
+ "onUpdate:modelValue": d[1] || (d[1] = (i) => t.$emit("update:modelValue", i)),
419
+ onClosed: a,
420
+ onOpened: s
418
421
  }, we({
419
422
  header: k(() => [
420
423
  r("div", Ue, [
421
424
  r("h2", We, [
422
- r("span", null, b(f(Ve)(i.title)), 1),
425
+ r("span", null, b(f(Ve)(t.title)), 1),
423
426
  r("button", {
424
427
  id: "konnectio-side-panel-close",
425
- onClick: t[0] || (t[0] = (s) => i.$emit("update:modelValue", !1))
428
+ onClick: d[0] || (d[0] = (i) => t.$emit("update:modelValue", !1))
426
429
  }, [
427
- I(Pe, {
430
+ A(Pe, {
428
431
  icon: "times",
429
432
  type: "fas",
430
433
  color: "header"
431
434
  })
432
435
  ])
433
436
  ]),
434
- i.subtitle ? (u(), v("h4", Ye, [
435
- r("span", null, b(i.subtitle), 1)
437
+ t.subtitle ? (u(), y("h4", Ye, [
438
+ r("span", null, b(t.subtitle), 1)
436
439
  ])) : w("", !0)
437
440
  ])
438
441
  ]),
439
442
  default: k(() => [
440
- i.description ? (u(), v("div", {
443
+ t.description ? (u(), y("div", {
441
444
  key: 0,
442
445
  class: "konnectio-side-panel-description",
443
- innerHTML: i.description
446
+ innerHTML: t.description
444
447
  }, null, 8, je)) : w("", !0),
445
- B(i.$slots, "default", {}, void 0, !0)
448
+ B(t.$slots, "default", {}, void 0, !0)
446
449
  ]),
447
450
  _: 2
448
451
  }, [
449
- i.$slots.footer ? {
452
+ t.$slots.footer ? {
450
453
  name: "footer",
451
454
  fn: k(() => [
452
- B(i.$slots, "footer", {}, void 0, !0)
455
+ B(t.$slots, "footer", {}, void 0, !0)
453
456
  ]),
454
457
  key: "0"
455
458
  } : void 0
456
459
  ]), 1032, ["modelValue", "lock-scroll", "hide-close-btn", "width"]));
457
460
  }
458
- }), ro = /* @__PURE__ */ O(Ke, [["__scopeId", "data-v-8a2b12d5"]]), Xe = { class: "konnectio-phone-input" }, Je = /* @__PURE__ */ $({
461
+ }), ro = /* @__PURE__ */ M(Ke, [["__scopeId", "data-v-c84b8ee2"]]), Xe = { class: "konnectio-phone-input" }, Je = /* @__PURE__ */ $({
459
462
  __name: "PhoneField",
460
463
  props: {
461
464
  modelValue: {},
@@ -470,40 +473,40 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
470
473
  },
471
474
  emits: ["update:modelValue"],
472
475
  setup(e, { emit: o }) {
473
- const l = o, n = e, a = n.id || ee(), i = c("+45"), t = c("");
474
- function s() {
475
- l("update:modelValue", `${i.value} ${t.value}`);
476
+ const l = o, n = e, a = n.id || ee(), s = c("+45"), t = c("");
477
+ function d() {
478
+ l("update:modelValue", `${s.value} ${t.value}`);
476
479
  }
477
480
  return Y(() => {
478
481
  if (n.modelValue) {
479
- const d = n.modelValue.split(" ");
480
- i.value = d[0], t.value = d[1];
482
+ const i = n.modelValue.split(" ");
483
+ s.value = i[0], t.value = i[1];
481
484
  }
482
- }), (d, p) => (u(), H(ne, {
483
- label: d.label,
485
+ }), (i, p) => (u(), I(ne, {
486
+ label: i.label,
484
487
  id: f(a),
485
488
  type: "phone",
486
- required: d.required,
487
- readonly: d.readonly
489
+ required: i.required,
490
+ readonly: i.readonly
488
491
  }, {
489
492
  default: k(() => [
490
493
  r("div", Xe, [
491
- I(oe, {
492
- modelValue: i.value,
493
- "onUpdate:modelValue": p[0] || (p[0] = (h) => i.value = h),
494
+ A(oe, {
495
+ modelValue: s.value,
496
+ "onUpdate:modelValue": p[0] || (p[0] = (h) => s.value = h),
494
497
  type: "text",
495
498
  id: f(ee)(),
496
499
  name: "phone-code",
497
500
  autocomplete: "tel-country-code",
498
- icon: d.icon,
499
- "icon-color": d.iconColor,
500
- "icon-type": d.iconType,
501
+ icon: i.icon,
502
+ "icon-color": i.iconColor,
503
+ "icon-type": i.iconType,
501
504
  placeholder: "+XX",
502
- required: d.required,
503
- readonly: d.readonly,
504
- onInput: p[1] || (p[1] = (h) => s())
505
+ required: i.required,
506
+ readonly: i.readonly,
507
+ onInput: p[1] || (p[1] = (h) => d())
505
508
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly"]),
506
- I(oe, {
509
+ A(oe, {
507
510
  modelValue: t.value,
508
511
  "onUpdate:modelValue": p[2] || (p[2] = (h) => t.value = h),
509
512
  type: "number",
@@ -511,17 +514,17 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
511
514
  autocomplete: "tel-national",
512
515
  inputmode: "numeric",
513
516
  id: f(a),
514
- placeholder: d.placeholder,
515
- required: d.required,
516
- readonly: d.readonly,
517
- onInput: p[3] || (p[3] = (h) => s())
517
+ placeholder: i.placeholder,
518
+ required: i.required,
519
+ readonly: i.readonly,
520
+ onInput: p[3] || (p[3] = (h) => d())
518
521
  }, null, 8, ["modelValue", "id", "placeholder", "required", "readonly"])
519
522
  ])
520
523
  ]),
521
524
  _: 1
522
525
  }, 8, ["label", "id", "required", "readonly"]));
523
526
  }
524
- }), so = /* @__PURE__ */ O(Je, [["__scopeId", "data-v-3e373d03"]]), Qe = ["required", "type", "name", "readonly", "disabled", "value", "checked"], Ze = ["data-test"], _e = { key: 0 }, xe = {
527
+ }), so = /* @__PURE__ */ M(Je, [["__scopeId", "data-v-3e373d03"]]), Qe = ["required", "type", "name", "readonly", "disabled", "value", "checked"], Ze = ["data-test"], _e = { key: 0 }, xe = {
525
528
  key: 1,
526
529
  class: /* @__PURE__ */ m(["konnectio-click-box-label", "inline"])
527
530
  }, eo = /* @__PURE__ */ $({
@@ -541,13 +544,13 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
541
544
  emits: ["update:modelValue"],
542
545
  setup(e, { emit: o }) {
543
546
  const l = e, n = o, a = Se();
544
- function i() {
547
+ function s() {
545
548
  l.readonly !== !0 && n(
546
549
  "update:modelValue",
547
550
  l.type === "radio" ? l.val : l.numeric ? l.modelValue ? 0 : 1 : !l.modelValue
548
551
  );
549
552
  }
550
- return (t, s) => (u(), H(ne, {
553
+ return (t, d) => (u(), I(ne, {
551
554
  required: t.required,
552
555
  type: t.type,
553
556
  readonly: t.readonly
@@ -571,7 +574,7 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
571
574
  disabled: !!t.readonly,
572
575
  value: t.type === "radio" ? t.val : t.modelValue,
573
576
  checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue,
574
- onChange: s[0] || (s[0] = (d) => i())
577
+ onChange: d[0] || (d[0] = (i) => s())
575
578
  }), null, 16, Qe),
576
579
  r("div", {
577
580
  class: m([
@@ -580,15 +583,15 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
580
583
  ]),
581
584
  tabindex: "0",
582
585
  "data-test": t.name,
583
- onKeyup: s[1] || (s[1] = Ce((d) => i(), ["enter"]))
586
+ onKeyup: d[1] || (d[1] = Ce((i) => s(), ["enter"]))
584
587
  }, null, 42, Ze),
585
- t.label ? (u(), v("div", {
588
+ t.label ? (u(), y("div", {
586
589
  key: 0,
587
590
  class: m(["konnectio-click-box-label", "text-hover", { "with-price": t.price }])
588
591
  }, [
589
592
  r("span", null, b(t.label), 1),
590
- t.price ? (u(), v("span", _e, b(t.price), 1)) : w("", !0)
591
- ], 2)) : f(a).default ? (u(), v("div", xe, [
593
+ t.price ? (u(), y("span", _e, b(t.price), 1)) : w("", !0)
594
+ ], 2)) : f(a).default ? (u(), y("div", xe, [
592
595
  B(t.$slots, "default", {}, void 0, !0)
593
596
  ])) : w("", !0)
594
597
  ], 2)
@@ -596,7 +599,7 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
596
599
  _: 3
597
600
  }, 8, ["required", "type", "readonly"]));
598
601
  }
599
- }), uo = /* @__PURE__ */ O(eo, [["__scopeId", "data-v-6e9623bf"]]), oo = {
602
+ }), uo = /* @__PURE__ */ M(eo, [["__scopeId", "data-v-6e9623bf"]]), oo = {
600
603
  href: "https://policies.google.com/privacy",
601
604
  target: "_blank"
602
605
  }, to = {
@@ -606,7 +609,7 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
606
609
  __name: "GoogleNotice",
607
610
  setup(e) {
608
611
  const { t: o } = $e();
609
- return (l, n) => (u(), v("span", null, [
612
+ return (l, n) => (u(), y("span", null, [
610
613
  W(b(f(o)("googleNotice")) + " ", 1),
611
614
  r("a", oo, b(f(o)("googlePrivacyPolicy")), 1),
612
615
  W(" " + b(f(o)("googleAnd")) + " ", 1),
@@ -645,16 +648,16 @@ const no = /* @__PURE__ */ $({
645
648
  return Y(() => {
646
649
  const l = document.createElement("script"), n = document.createElement("script");
647
650
  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);
648
- }), (l, n) => (u(), v("div", null, [
651
+ }), (l, n) => (u(), y("div", null, [
649
652
  r("div", {
650
653
  id: "konnectio-payment-checkout-wrapper",
651
- class: m({ reePay: f(o) === f(He).ReePay })
654
+ class: m({ reePay: f(o) === f(Ie).ReePay })
652
655
  }, n[0] || (n[0] = [
653
656
  r("div", { id: "konnectio-payment-checkout" }, null, -1)
654
657
  ]), 2)
655
658
  ]));
656
659
  }
657
- }), co = /* @__PURE__ */ O(no, [["__scopeId", "data-v-853041a4"]]);
660
+ }), co = /* @__PURE__ */ M(no, [["__scopeId", "data-v-853041a4"]]);
658
661
  export {
659
662
  ro as B,
660
663
  co as C,
@@ -662,4 +665,4 @@ export {
662
665
  lo as _,
663
666
  uo as a
664
667
  };
665
- //# sourceMappingURL=CheckoutWindow-C26A1ln1.js.map
668
+ //# sourceMappingURL=CheckoutWindow-ByZD2v_h.js.map