@konnectio/core 4.2.17 → 4.2.19

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-BJW87lcj.js → ActionField-B9Q0D5JZ.js} +2 -2
  2. package/dist/ActionField-B9Q0D5JZ.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-TUWmqwq2.js → AvailabilitySkeleton-BE2WHPoT.js} +5 -5
  4. package/dist/AvailabilitySkeleton-BE2WHPoT.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D-bpr23F.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Bfh6Uqp2.js} +2 -2
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Bfh6Uqp2.js.br +0 -0
  7. package/dist/{CheckoutWindow-NlzNanhJ.js → CheckoutWindow-PWUgNbBH.js} +117 -117
  8. package/dist/CheckoutWindow-PWUgNbBH.js.br +0 -0
  9. package/dist/{ErrorMessage-D6fR14ZK.js → ErrorMessage-2zh3BbDl.js} +2 -2
  10. package/dist/ErrorMessage-2zh3BbDl.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-DFxr_2ax.js → EventAvailabilityForm-f2qiIcjs.js} +3 -3
  12. package/dist/EventAvailabilityForm-f2qiIcjs.js.br +0 -0
  13. package/dist/{Field-B8gsbdXP.js → Field-CwvSZG3e.js} +3 -3
  14. package/dist/Field-CwvSZG3e.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DYjT7oP2.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BxI0krY8.js} +2 -2
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-CKmdnn_x.js → SelectField.vue_vue_type_style_index_0_lang-Cc4azhMy.js} +2 -2
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-Cc4azhMy.js.br +0 -0
  18. package/dist/{TermsOfService-TRvQjnyx.js → TermsOfService-CvRWvsp4.js} +3 -3
  19. package/dist/_-CHe1lb8Z.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-SvbL68LW.js → _.vue_vue_type_style_index_0_lang-BI0xBEm8.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-DFnXlpS-.js → giftCard-BUkBOMJw.js} +2 -2
  34. package/dist/giftCard-BUkBOMJw.js.br +0 -0
  35. package/dist/hotel.js +8 -8
  36. package/dist/hotel.js.br +0 -0
  37. package/dist/{masonry.plugin-BvXmke5v.js → masonry.plugin-C6Ub_o8C.js} +5 -5
  38. package/dist/masonry.plugin-C6Ub_o8C.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-BJW87lcj.js.br +0 -0
  43. package/dist/AvailabilitySkeleton-TUWmqwq2.js.br +0 -0
  44. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D-bpr23F.js.br +0 -0
  45. package/dist/CheckoutWindow-NlzNanhJ.js.br +0 -0
  46. package/dist/ErrorMessage-D6fR14ZK.js.br +0 -0
  47. package/dist/EventAvailabilityForm-DFxr_2ax.js.br +0 -0
  48. package/dist/Field-B8gsbdXP.js.br +0 -0
  49. package/dist/SelectField.vue_vue_type_style_index_0_lang-CKmdnn_x.js.br +0 -0
  50. package/dist/_-C-yssiii.js +0 -5
  51. package/dist/giftCard-DFnXlpS-.js.br +0 -0
  52. package/dist/masonry.plugin-BvXmke5v.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-CKmdnn_x.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-Cc4azhMy.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-BJW87lcj.js.map
103
+ //# sourceMappingURL=ActionField-B9Q0D5JZ.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-CKmdnn_x.js";
3
- import { _ as A } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D-bpr23F.js";
4
- import { E as le } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DYjT7oP2.js";
5
- import { F as p } from "./Field-B8gsbdXP.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-Cc4azhMy.js";
3
+ import { _ as A } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Bfh6Uqp2.js";
4
+ import { E as le } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BxI0krY8.js";
5
+ import { F as p } from "./Field-CwvSZG3e.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-TUWmqwq2.js.map
320
+ //# sourceMappingURL=AvailabilitySkeleton-BE2WHPoT.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-CKmdnn_x.js";
2
+ import { w as Xa, J as ul, x as dl } from "./SelectField.vue_vue_type_style_index_0_lang-Cc4azhMy.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-D-bpr23F.js.map
9442
+ //# sourceMappingURL=AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-Bfh6Uqp2.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-CKmdnn_x.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 z, J as ee, x as ne, T as oe, f as Te, Q as Ie } from "./SelectField.vue_vue_type_style_index_0_lang-Cc4azhMy.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 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, 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,22 +46,22 @@ 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
  }
54
54
  });
55
- }, De = function() {
55
+ }, Oe = function() {
56
56
  if (S !== void 0) {
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
+ }, De = 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);
64
+ return ie(o.target) ? !1 : l && l.scrollTop === 0 && n > 0 || De(l) && n < 0 ? E(o) : (o.stopPropagation(), !0);
65
65
  }, ze = function(o, l) {
66
66
  if (!o) {
67
67
  console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");
@@ -74,10 +74,10 @@ 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]), O ? qe() : He(l), O && (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);
80
+ a.targetTouches.length === 1 && Ee(a, o);
81
81
  }, D || (document.addEventListener("touchmove", E, j ? { passive: !1 } : void 0), D = !0));
82
82
  }
83
83
  }, Me = function(o) {
@@ -87,7 +87,7 @@ var q = typeof window < "u" && window.navigator && window.navigator.platform &&
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
+ }), O && (o.ontouchstart = null, o.ontouchmove = null, D && C.length === 0 && (document.removeEventListener("touchmove", E, j ? { passive: !1 } : void 0), D = !1)), O ? Oe() : 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), 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, H.value = d.value ? d.value.clientHeight : 0, h.value = i.value ? i.value.scrollHeight : 0, M.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
+ ze(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
+ Me(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(() => {
237
- if (!z.value)
236
+ const se = q(() => {
237
+ if (!M.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 = M.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,62 @@ 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(() => /(iPad|iPhone|iPod)/g.test(navigator.userAgent));
404
+ function a() {
405
405
  l("closed");
406
406
  }
407
- function a() {
407
+ function s() {
408
408
  l("opened");
409
409
  }
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
410
+ return (t, d) => (u(), I(f(X), {
411
+ modelValue: t.modelValue,
412
+ "lock-scroll": !n.value && t.lockScroll,
413
+ "hide-close-btn": t.hideCloseButton,
414
+ width: t.width,
415
+ "onUpdate:modelValue": d[1] || (d[1] = (i) => t.$emit("update:modelValue", i)),
416
+ onClosed: a,
417
+ onOpened: s
418
418
  }, we({
419
419
  header: k(() => [
420
420
  r("div", Ue, [
421
421
  r("h2", We, [
422
- r("span", null, b(f(Ve)(i.title)), 1),
422
+ r("span", null, b(f(Ve)(t.title)), 1),
423
423
  r("button", {
424
424
  id: "konnectio-side-panel-close",
425
- onClick: t[0] || (t[0] = (s) => i.$emit("update:modelValue", !1))
425
+ onClick: d[0] || (d[0] = (i) => t.$emit("update:modelValue", !1))
426
426
  }, [
427
- I(Pe, {
427
+ A(Pe, {
428
428
  icon: "times",
429
429
  type: "fas",
430
430
  color: "header"
431
431
  })
432
432
  ])
433
433
  ]),
434
- i.subtitle ? (u(), v("h4", Ye, [
435
- r("span", null, b(i.subtitle), 1)
434
+ t.subtitle ? (u(), y("h4", Ye, [
435
+ r("span", null, b(t.subtitle), 1)
436
436
  ])) : w("", !0)
437
437
  ])
438
438
  ]),
439
439
  default: k(() => [
440
- i.description ? (u(), v("div", {
440
+ t.description ? (u(), y("div", {
441
441
  key: 0,
442
442
  class: "konnectio-side-panel-description",
443
- innerHTML: i.description
443
+ innerHTML: t.description
444
444
  }, null, 8, je)) : w("", !0),
445
- B(i.$slots, "default", {}, void 0, !0)
445
+ B(t.$slots, "default", {}, void 0, !0)
446
446
  ]),
447
447
  _: 2
448
448
  }, [
449
- i.$slots.footer ? {
449
+ t.$slots.footer ? {
450
450
  name: "footer",
451
451
  fn: k(() => [
452
- B(i.$slots, "footer", {}, void 0, !0)
452
+ B(t.$slots, "footer", {}, void 0, !0)
453
453
  ]),
454
454
  key: "0"
455
455
  } : void 0
456
456
  ]), 1032, ["modelValue", "lock-scroll", "hide-close-btn", "width"]));
457
457
  }
458
- }), ro = /* @__PURE__ */ O(Ke, [["__scopeId", "data-v-717b585f"]]), Xe = { class: "konnectio-phone-input" }, Je = /* @__PURE__ */ $({
458
+ }), ro = /* @__PURE__ */ z(Ke, [["__scopeId", "data-v-0243d513"]]), Xe = { class: "konnectio-phone-input" }, Je = /* @__PURE__ */ $({
459
459
  __name: "PhoneField",
460
460
  props: {
461
461
  modelValue: {},
@@ -470,40 +470,40 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
470
470
  },
471
471
  emits: ["update:modelValue"],
472
472
  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}`);
473
+ const l = o, n = e, a = n.id || ee(), s = c("+45"), t = c("");
474
+ function d() {
475
+ l("update:modelValue", `${s.value} ${t.value}`);
476
476
  }
477
477
  return Y(() => {
478
478
  if (n.modelValue) {
479
- const d = n.modelValue.split(" ");
480
- i.value = d[0], t.value = d[1];
479
+ const i = n.modelValue.split(" ");
480
+ s.value = i[0], t.value = i[1];
481
481
  }
482
- }), (d, p) => (u(), H(ne, {
483
- label: d.label,
482
+ }), (i, p) => (u(), I(ne, {
483
+ label: i.label,
484
484
  id: f(a),
485
485
  type: "phone",
486
- required: d.required,
487
- readonly: d.readonly
486
+ required: i.required,
487
+ readonly: i.readonly
488
488
  }, {
489
489
  default: k(() => [
490
490
  r("div", Xe, [
491
- I(oe, {
492
- modelValue: i.value,
493
- "onUpdate:modelValue": p[0] || (p[0] = (h) => i.value = h),
491
+ A(oe, {
492
+ modelValue: s.value,
493
+ "onUpdate:modelValue": p[0] || (p[0] = (h) => s.value = h),
494
494
  type: "text",
495
495
  id: f(ee)(),
496
496
  name: "phone-code",
497
497
  autocomplete: "tel-country-code",
498
- icon: d.icon,
499
- "icon-color": d.iconColor,
500
- "icon-type": d.iconType,
498
+ icon: i.icon,
499
+ "icon-color": i.iconColor,
500
+ "icon-type": i.iconType,
501
501
  placeholder: "+XX",
502
- required: d.required,
503
- readonly: d.readonly,
504
- onInput: p[1] || (p[1] = (h) => s())
502
+ required: i.required,
503
+ readonly: i.readonly,
504
+ onInput: p[1] || (p[1] = (h) => d())
505
505
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly"]),
506
- I(oe, {
506
+ A(oe, {
507
507
  modelValue: t.value,
508
508
  "onUpdate:modelValue": p[2] || (p[2] = (h) => t.value = h),
509
509
  type: "number",
@@ -511,17 +511,17 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
511
511
  autocomplete: "tel-national",
512
512
  inputmode: "numeric",
513
513
  id: f(a),
514
- placeholder: d.placeholder,
515
- required: d.required,
516
- readonly: d.readonly,
517
- onInput: p[3] || (p[3] = (h) => s())
514
+ placeholder: i.placeholder,
515
+ required: i.required,
516
+ readonly: i.readonly,
517
+ onInput: p[3] || (p[3] = (h) => d())
518
518
  }, null, 8, ["modelValue", "id", "placeholder", "required", "readonly"])
519
519
  ])
520
520
  ]),
521
521
  _: 1
522
522
  }, 8, ["label", "id", "required", "readonly"]));
523
523
  }
524
- }), so = /* @__PURE__ */ O(Je, [["__scopeId", "data-v-3e373d03"]]), Qe = ["required", "type", "name", "readonly", "disabled", "value", "checked"], Ze = ["data-test"], _e = { key: 0 }, xe = {
524
+ }), so = /* @__PURE__ */ z(Je, [["__scopeId", "data-v-3e373d03"]]), Qe = ["required", "type", "name", "readonly", "disabled", "value", "checked"], Ze = ["data-test"], _e = { key: 0 }, xe = {
525
525
  key: 1,
526
526
  class: /* @__PURE__ */ m(["konnectio-click-box-label", "inline"])
527
527
  }, eo = /* @__PURE__ */ $({
@@ -541,13 +541,13 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
541
541
  emits: ["update:modelValue"],
542
542
  setup(e, { emit: o }) {
543
543
  const l = e, n = o, a = Se();
544
- function i() {
544
+ function s() {
545
545
  l.readonly !== !0 && n(
546
546
  "update:modelValue",
547
547
  l.type === "radio" ? l.val : l.numeric ? l.modelValue ? 0 : 1 : !l.modelValue
548
548
  );
549
549
  }
550
- return (t, s) => (u(), H(ne, {
550
+ return (t, d) => (u(), I(ne, {
551
551
  required: t.required,
552
552
  type: t.type,
553
553
  readonly: t.readonly
@@ -571,7 +571,7 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
571
571
  disabled: !!t.readonly,
572
572
  value: t.type === "radio" ? t.val : t.modelValue,
573
573
  checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue,
574
- onChange: s[0] || (s[0] = (d) => i())
574
+ onChange: d[0] || (d[0] = (i) => s())
575
575
  }), null, 16, Qe),
576
576
  r("div", {
577
577
  class: m([
@@ -580,15 +580,15 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
580
580
  ]),
581
581
  tabindex: "0",
582
582
  "data-test": t.name,
583
- onKeyup: s[1] || (s[1] = Ce((d) => i(), ["enter"]))
583
+ onKeyup: d[1] || (d[1] = Ce((i) => s(), ["enter"]))
584
584
  }, null, 42, Ze),
585
- t.label ? (u(), v("div", {
585
+ t.label ? (u(), y("div", {
586
586
  key: 0,
587
587
  class: m(["konnectio-click-box-label", "text-hover", { "with-price": t.price }])
588
588
  }, [
589
589
  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, [
590
+ t.price ? (u(), y("span", _e, b(t.price), 1)) : w("", !0)
591
+ ], 2)) : f(a).default ? (u(), y("div", xe, [
592
592
  B(t.$slots, "default", {}, void 0, !0)
593
593
  ])) : w("", !0)
594
594
  ], 2)
@@ -596,7 +596,7 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
596
596
  _: 3
597
597
  }, 8, ["required", "type", "readonly"]));
598
598
  }
599
- }), uo = /* @__PURE__ */ O(eo, [["__scopeId", "data-v-6e9623bf"]]), oo = {
599
+ }), uo = /* @__PURE__ */ z(eo, [["__scopeId", "data-v-6e9623bf"]]), oo = {
600
600
  href: "https://policies.google.com/privacy",
601
601
  target: "_blank"
602
602
  }, to = {
@@ -606,7 +606,7 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
606
606
  __name: "GoogleNotice",
607
607
  setup(e) {
608
608
  const { t: o } = $e();
609
- return (l, n) => (u(), v("span", null, [
609
+ return (l, n) => (u(), y("span", null, [
610
610
  W(b(f(o)("googleNotice")) + " ", 1),
611
611
  r("a", oo, b(f(o)("googlePrivacyPolicy")), 1),
612
612
  W(" " + b(f(o)("googleAnd")) + " ", 1),
@@ -645,16 +645,16 @@ const no = /* @__PURE__ */ $({
645
645
  return Y(() => {
646
646
  const l = document.createElement("script"), n = document.createElement("script");
647
647
  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, [
648
+ }), (l, n) => (u(), y("div", null, [
649
649
  r("div", {
650
650
  id: "konnectio-payment-checkout-wrapper",
651
- class: m({ reePay: f(o) === f(He).ReePay })
651
+ class: m({ reePay: f(o) === f(Ie).ReePay })
652
652
  }, n[0] || (n[0] = [
653
653
  r("div", { id: "konnectio-payment-checkout" }, null, -1)
654
654
  ]), 2)
655
655
  ]));
656
656
  }
657
- }), co = /* @__PURE__ */ O(no, [["__scopeId", "data-v-853041a4"]]);
657
+ }), co = /* @__PURE__ */ z(no, [["__scopeId", "data-v-853041a4"]]);
658
658
  export {
659
659
  ro as B,
660
660
  co as C,
@@ -662,4 +662,4 @@ export {
662
662
  lo as _,
663
663
  uo as a
664
664
  };
665
- //# sourceMappingURL=CheckoutWindow-NlzNanhJ.js.map
665
+ //# sourceMappingURL=CheckoutWindow-PWUgNbBH.js.map