@konnectio/core 4.1.3 → 4.1.4

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 (60) hide show
  1. package/dist/{ActionField-CRqgWSz1.js → ActionField-C1dgcOKP.js} +3 -3
  2. package/dist/ActionField-C1dgcOKP.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-DVrVFhw4.js → AvailabilitySkeleton-Bazs9H4o.js} +110 -110
  4. package/dist/AvailabilitySkeleton-Bazs9H4o.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bqb9v7l8.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-a1ndpS4g.js} +336 -336
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-a1ndpS4g.js.br +0 -0
  7. package/dist/{CheckoutWindow-DrZnthDH.js → CheckoutWindow-BgqyyJoW.js} +185 -185
  8. package/dist/CheckoutWindow-BgqyyJoW.js.br +0 -0
  9. package/dist/{ErrorMessage-b0lY3zUM.js → ErrorMessage-BzDrnE0F.js} +4 -4
  10. package/dist/ErrorMessage-BzDrnE0F.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-BPkfZcYX.js → EventAvailabilityForm-Cw5NkQXM.js} +10 -10
  12. package/dist/EventAvailabilityForm-Cw5NkQXM.js.br +0 -0
  13. package/dist/{Field-DnS91ODQ.js → Field-BLzufPEA.js} +4 -4
  14. package/dist/Field-BLzufPEA.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CW-XSJQB.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DF8uAZlm.js} +3 -3
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-CZYWu7x-.js → SelectField.vue_vue_type_style_index_0_lang-eQJ88XWq.js} +2936 -2621
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-eQJ88XWq.js.br +0 -0
  18. package/dist/{TermsOfService-B2ELKRPq.js → TermsOfService-BM9pIxg1.js} +4 -4
  19. package/dist/_-C47qU_gt.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-DKkrP6vk.js → _.vue_vue_type_style_index_0_lang-alJEghYY.js} +3 -3
  21. package/dist/availability.js +16 -16
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +14 -14
  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/deep-link.js +13 -13
  28. package/dist/deep-link.js.br +0 -0
  29. package/dist/event.js +55 -55
  30. package/dist/event.js.br +0 -0
  31. package/dist/gift-card-validation.js +24 -24
  32. package/dist/gift-card-validation.js.br +0 -0
  33. package/dist/gift-card.js +56 -56
  34. package/dist/gift-card.js.br +0 -0
  35. package/dist/{giftCard-BsWa3VEY.js → giftCard-pa0AL3wA.js} +26 -26
  36. package/dist/giftCard-pa0AL3wA.js.br +0 -0
  37. package/dist/hotel.js +15 -15
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/{masonry.plugin-By72FzQ9.js → masonry.plugin-p-oq4FQ9.js} +301 -301
  40. package/dist/masonry.plugin-p-oq4FQ9.js.br +0 -0
  41. package/dist/{mitt-Dh_4vPVI.js → mitt-CFrRmK9k.js} +30 -30
  42. package/dist/mitt-CFrRmK9k.js.br +0 -0
  43. package/dist/polyfill.js +1 -1
  44. package/dist/polyfill.js.br +0 -0
  45. package/dist/{style-CXMzdeVK.js → style-CLWqMWeG.js} +59 -59
  46. package/dist/style-CLWqMWeG.js.br +0 -0
  47. package/package.json +2 -1
  48. package/dist/ActionField-CRqgWSz1.js.br +0 -0
  49. package/dist/AvailabilitySkeleton-DVrVFhw4.js.br +0 -0
  50. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bqb9v7l8.js.br +0 -0
  51. package/dist/CheckoutWindow-DrZnthDH.js.br +0 -0
  52. package/dist/ErrorMessage-b0lY3zUM.js.br +0 -0
  53. package/dist/EventAvailabilityForm-BPkfZcYX.js.br +0 -0
  54. package/dist/Field-DnS91ODQ.js.br +0 -0
  55. package/dist/SelectField.vue_vue_type_style_index_0_lang-CZYWu7x-.js.br +0 -0
  56. package/dist/_-DkNAaEsV.js +0 -5
  57. package/dist/giftCard-BsWa3VEY.js.br +0 -0
  58. package/dist/masonry.plugin-By72FzQ9.js.br +0 -0
  59. package/dist/mitt-Dh_4vPVI.js.br +0 -0
  60. package/dist/style-CXMzdeVK.js.br +0 -0
@@ -1,33 +1,33 @@
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";
1
+ import { d as $, a as u, g as v, r as c, o as j, af as ve, Q as me, D as Z, c as R, b as H, e as r, f as I, w as k, E as J, G as _, a0 as U, T as x, n as m, q as B, j as w, a8 as he, M as ge, X as be, y as we, t as b, i as y, x as Se, a6 as ke, ac as Ce, u as $e, v as W, s as Be } from "./mitt-CFrRmK9k.js";
2
+ import { I as Ve, _ as O, H as ee, T as oe, x as ne, h as Pe, P as Te } from "./SelectField.vue_vue_type_style_index_0_lang-eQJ88XWq.js";
3
3
  function He(e) {
4
4
  if (Array.isArray(e)) {
5
- for (var o = 0, l = Array(e.length); o < e.length; o++)
6
- l[o] = e[o];
7
- return l;
5
+ for (var o = 0, t = Array(e.length); o < e.length; o++)
6
+ t[o] = e[o];
7
+ return t;
8
8
  } else
9
9
  return Array.from(e);
10
10
  }
11
- var Y = !1;
11
+ var X = !1;
12
12
  if (typeof window < "u") {
13
13
  var te = {
14
14
  get passive() {
15
- Y = !0;
15
+ X = !0;
16
16
  }
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 = [], E = !1, ie = -1, P = void 0, S = void 0, T = void 0, de = function(o) {
21
- return C.some(function(l) {
22
- return !!(l.options.allowTouchMove && l.options.allowTouchMove(o));
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) {
21
+ return C.some(function(t) {
22
+ return !!(t.options.allowTouchMove && t.options.allowTouchMove(o));
23
23
  });
24
- }, O = function(o) {
25
- var l = o || window.event;
26
- return de(l.target) || l.touches.length > 1 ? !0 : (l.preventDefault && l.preventDefault(), !1);
24
+ }, E = function(o) {
25
+ var t = o || window.event;
26
+ return ie(t.target) || t.touches.length > 1 ? !0 : (t.preventDefault && t.preventDefault(), !1);
27
27
  }, Ie = function(o) {
28
28
  if (T === void 0) {
29
- var l = !!o && o.reserveScrollBarGap === !0, n = window.innerWidth - document.documentElement.clientWidth;
30
- if (l && n > 0) {
29
+ var t = !!o && o.reserveScrollBarGap === !0, n = window.innerWidth - document.documentElement.clientWidth;
30
+ if (t && n > 0) {
31
31
  var a = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"), 10);
32
32
  T = document.body.style.paddingRight, document.body.style.paddingRight = a + n + "px";
33
33
  }
@@ -43,26 +43,26 @@ var q = typeof window < "u" && window.navigator && window.navigator.platform &&
43
43
  top: document.body.style.top,
44
44
  left: document.body.style.left
45
45
  };
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() {
46
+ var o = window, t = o.scrollY, n = o.scrollX, a = o.innerHeight;
47
+ document.body.style.position = "fixed", document.body.style.top = -t, document.body.style.left = -n, setTimeout(function() {
48
48
  return window.requestAnimationFrame(function() {
49
- var s = a - window.innerHeight;
50
- s && l >= a && (document.body.style.top = -(l + s));
49
+ var i = a - window.innerHeight;
50
+ i && t >= a && (document.body.style.top = -(t + i));
51
51
  });
52
52
  }, 300);
53
53
  }
54
54
  });
55
55
  }, qe = function() {
56
56
  if (S !== void 0) {
57
- var o = -parseInt(document.body.style.top, 10), l = -parseInt(document.body.style.left, 10);
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;
57
+ var o = -parseInt(document.body.style.top, 10), t = -parseInt(document.body.style.left, 10);
58
+ document.body.style.position = S.position, document.body.style.top = S.top, document.body.style.left = S.left, window.scrollTo(t, 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) {
63
- var n = o.targetTouches[0].clientY - ie;
64
- return de(o.target) ? !1 : l && l.scrollTop === 0 && n > 0 || Ee(l) && n < 0 ? O(o) : (o.stopPropagation(), !0);
65
- }, De = function(o, l) {
62
+ }, Ee = function(o, t) {
63
+ var n = o.targetTouches[0].clientY - ae;
64
+ return ie(o.target) ? !1 : t && t.scrollTop === 0 && n > 0 || De(t) && n < 0 ? E(o) : (o.stopPropagation(), !0);
65
+ }, Oe = function(o, t) {
66
66
  if (!o) {
67
67
  console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");
68
68
  return;
@@ -72,47 +72,47 @@ var q = typeof window < "u" && window.navigator && window.navigator.platform &&
72
72
  })) {
73
73
  var n = {
74
74
  targetElement: o,
75
- options: l || {}
75
+ options: t || {}
76
76
  };
77
- C = [].concat(He(C), [n]), q ? Ne() : Ie(l), q && (o.ontouchstart = function(a) {
78
- a.targetTouches.length === 1 && (ie = a.targetTouches[0].clientY);
77
+ C = [].concat(He(C), [n]), q ? Ne() : Ie(t), q && (o.ontouchstart = function(a) {
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
- }, E || (document.addEventListener("touchmove", O, Y ? { passive: !1 } : void 0), E = !0));
80
+ a.targetTouches.length === 1 && Ee(a, o);
81
+ }, D || (document.addEventListener("touchmove", E, X ? { passive: !1 } : void 0), D = !0));
82
82
  }
83
- }, ze = function(o) {
83
+ }, Me = 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
- C = C.filter(function(l) {
89
- return l.targetElement !== o;
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
- }, X = $({
88
+ C = C.filter(function(t) {
89
+ return t.targetElement !== o;
90
+ }), q && (o.ontouchstart = null, o.ontouchmove = null, D && C.length === 0 && (document.removeEventListener("touchmove", E, X ? { passive: !1 } : void 0), D = !1)), q ? qe() : Ae();
91
+ }, Y = $({
92
92
  name: "SidePanelCloseButton",
93
93
  emits: ["close"]
94
94
  });
95
- const Me = /* @__PURE__ */ r(
95
+ const ze = /* @__PURE__ */ r(
96
96
  "span",
97
97
  { class: "vsp-close__x" },
98
98
  null,
99
99
  -1
100
100
  /* HOISTED */
101
101
  ), Le = [
102
- Me
102
+ ze
103
103
  ];
104
- function Fe(e, o, l, n, a, s) {
104
+ function Fe(e, o, t, n, a, i) {
105
105
  return u(), v("div", {
106
106
  class: "vsp-close",
107
- onClick: o[0] || (o[0] = (t) => e.$emit("close"))
107
+ onClick: o[0] || (o[0] = (l) => e.$emit("close"))
108
108
  }, [...Le]);
109
109
  }
110
- X.render = Fe;
111
- X.__file = "src/components/SidePanelCloseButton.vue";
110
+ Y.render = Fe;
111
+ Y.__file = "src/components/SidePanelCloseButton.vue";
112
112
  var K = $({
113
113
  name: "VueSidePanel",
114
114
  components: {
115
- SidePanelCloseButton: X
115
+ SidePanelCloseButton: Y
116
116
  },
117
117
  props: {
118
118
  idName: {
@@ -199,54 +199,54 @@ var K = $({
199
199
  }
200
200
  },
201
201
  emits: ["update:modelValue", "closed", "opened"],
202
- setup(e, { emit: o, attrs: l }) {
202
+ setup(e, { emit: o, attrs: t }) {
203
203
  let n;
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) => {
204
+ const a = c(null), i = c(null), l = c(null), s = c(null), d = c(null), f = c(0), h = c(0), A = c(0), M = c(0), z = c(0), L = c(), Q = c(!1), V = async () => {
205
+ window?.innerHeight > 0 && (z.value = window.innerHeight), f.value = l.value ? l.value.clientHeight : 0, A.value = s.value ? s.value.clientHeight : 0, h.value = d.value ? d.value.scrollHeight : 0, M.value = a.value ? a.value.clientHeight : 0;
206
+ }, de = () => o("update:modelValue", !1), F = (p, g) => {
207
207
  if (g) {
208
208
  setTimeout(() => {
209
- De(y, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
209
+ Oe(p, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
210
210
  }, 0);
211
211
  return;
212
212
  }
213
- ze(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);
213
+ Me(p), e.lockScrollHtml && document.documentElement.style.removeProperty("overflow");
214
+ }, re = () => Math.max(...Array.from(document.querySelectorAll("body *"), (p) => parseFloat(window.getComputedStyle(p).zIndex)).filter((p) => !Number.isNaN(p)), 0);
215
215
  j(() => {
216
- L.value = e.zIndex === "auto" ? se() : e.zIndex;
217
- }), me(() => {
216
+ L.value = e.zIndex === "auto" ? re() : e.zIndex;
217
+ }), ve(() => {
218
218
  document.getElementById(e.idName) || (n = document.createElement("div"), n.setAttribute("id", e.idName), document.body.appendChild(n));
219
- }), he(() => {
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
- }), J(() => [d.value, t.value, e.height, e.width, e.side, e.modelValue], () => {
223
- be(() => V());
224
- }), J(() => [e.modelValue, a.value], (y, g) => {
225
- const pe = g ? g[0] : !1, [R, N] = y, ye = R, ve = pe && !R;
219
+ }), me(() => {
220
+ const { modelValue: p, lockScroll: g } = e;
221
+ g && a.value && p && F(a.value, !1), n && document.body.removeChild(n), window.removeEventListener("resize", V);
222
+ }), Z(() => [s.value, l.value, e.height, e.width, e.side, e.modelValue], () => {
223
+ ge(() => V());
224
+ }), Z(() => [e.modelValue, a.value], (p, g) => {
225
+ const fe = g ? g[0] : !1, [G, N] = p, pe = G, ye = fe && !G;
226
226
  if (N) {
227
- if (ye && (Z.value = !!document.body.style.overflow), R) {
227
+ if (pe && (Q.value = !!document.body.style.overflow), G) {
228
228
  e.lockScroll && F(N, !0), V(), window.addEventListener("resize", V);
229
229
  return;
230
230
  }
231
- !e.lockScroll || !ve || Z.value || (setTimeout(() => {
231
+ !e.lockScroll || !ye || Q.value || (setTimeout(() => {
232
232
  N && F(N, !1);
233
233
  }, e.panelDuration), window.removeEventListener("resize", V));
234
234
  }
235
235
  }, { immediate: !0 });
236
- const ue = G(() => {
237
- if (!z.value)
236
+ const se = R(() => {
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
- }), ce = G(() => ({
239
+ const p = h.value + A.value + f.value;
240
+ let g = M.value - A.value - f.value;
241
+ return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g = z.value >= p ? h.value : z.value - A.value - f.value), g;
242
+ }), ue = R(() => ({
243
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 = G(() => ({
249
+ })), ce = R(() => ({
250
250
  width: ["left", "right"].includes(e.side) ? e.width : void 0,
251
251
  maxWidth: "100%",
252
252
  ...["top", "bottom"].includes(e.side) ? {
@@ -257,24 +257,24 @@ var K = $({
257
257
  zIndex: L.value,
258
258
  backgroundColor: e.panelColor,
259
259
  animationDuration: `${e.panelDuration}ms`,
260
- ...Object.assign({}, l.style)
260
+ ...Object.assign({}, t.style)
261
261
  }));
262
262
  return {
263
- body: i,
263
+ body: d,
264
264
  panel: a,
265
- overlay: s,
266
- overlayStyles: ce,
267
- header: d,
268
- footer: t,
269
- closePanel: re,
270
- panelStyles: fe,
271
- bodyHeight: ue
265
+ overlay: i,
266
+ overlayStyles: ue,
267
+ header: s,
268
+ footer: l,
269
+ closePanel: de,
270
+ panelStyles: ce,
271
+ bodyHeight: se
272
272
  };
273
273
  }
274
274
  });
275
- function Re(e, o, l, n, a, s) {
276
- const t = we("SidePanelCloseButton");
277
- return u(), H(ge, {
275
+ function Ge(e, o, t, n, a, i) {
276
+ const l = be("SidePanelCloseButton");
277
+ return u(), H(he, {
278
278
  to: `#${e.idName}`
279
279
  }, [
280
280
  r(
@@ -288,7 +288,7 @@ function Re(e, o, l, n, a, s) {
288
288
  persisted: ""
289
289
  }, {
290
290
  default: k(() => [
291
- Q(r(
291
+ J(r(
292
292
  "div",
293
293
  {
294
294
  ref: "overlay",
@@ -308,11 +308,11 @@ function Re(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] = (d) => e.$emit("opened")),
312
- onAfterLeave: o[2] || (o[2] = (d) => e.$emit("closed"))
311
+ onAfterEnter: o[1] || (o[1] = (s) => e.$emit("opened")),
312
+ onAfterLeave: o[2] || (o[2] = (s) => e.$emit("closed"))
313
313
  }, {
314
314
  default: k(() => [
315
- !e.rerender || e.modelValue ? Q((u(), v(
315
+ !e.rerender || e.modelValue ? J((u(), v(
316
316
  "div",
317
317
  {
318
318
  key: 0,
@@ -343,7 +343,7 @@ function Re(e, o, l, n, a, s) {
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(), H(l, {
347
347
  key: 0,
348
348
  onClose: e.closePanel
349
349
  }, null, 8, ["onClose"]))
@@ -380,12 +380,12 @@ function Re(e, o, l, n, a, s) {
380
380
  )
381
381
  ], 8, ["to"]);
382
382
  }
383
- K.render = Re;
383
+ K.render = Ge;
384
384
  K.__file = "src/components/SidePanel.vue";
385
- const Ge = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-panel-title" }, We = {
385
+ const Re = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-panel-title" }, We = {
386
386
  key: 0,
387
387
  id: "konnectio-side-panel-subtitle"
388
- }, je = ["innerHTML"], Ye = /* @__PURE__ */ $({
388
+ }, je = ["innerHTML"], Xe = /* @__PURE__ */ $({
389
389
  __name: "Base",
390
390
  props: {
391
391
  modelValue: { type: Boolean },
@@ -400,29 +400,29 @@ const Ge = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-pan
400
400
  },
401
401
  emits: ["update:modelValue", "opened", "closed"],
402
402
  setup(e, { emit: o }) {
403
- const l = o, n = ne();
404
- function a() {
405
- l("closed");
403
+ const t = o;
404
+ function n() {
405
+ t("closed");
406
406
  }
407
- function s() {
408
- l("opened");
407
+ function a() {
408
+ t("opened");
409
409
  }
410
- return (t, d) => (u(), H(f(K), {
411
- modelValue: t.modelValue,
412
- "lock-scroll": 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
- }, Se({
410
+ return (i, l) => (u(), H(y(K), {
411
+ modelValue: i.modelValue,
412
+ "lock-scroll": i.lockScroll,
413
+ "hide-close-btn": i.hideCloseButton,
414
+ width: i.width,
415
+ "onUpdate:modelValue": l[1] || (l[1] = (s) => i.$emit("update:modelValue", s)),
416
+ onClosed: n,
417
+ onOpened: a
418
+ }, we({
419
419
  header: k(() => [
420
- r("div", Ge, [
420
+ r("div", Re, [
421
421
  r("h2", Ue, [
422
- r("span", null, b(t.title), 1),
422
+ r("span", null, b(i.title), 1),
423
423
  r("button", {
424
424
  id: "konnectio-side-panel-close",
425
- onClick: d[0] || (d[0] = (i) => t.$emit("update:modelValue", !1))
425
+ onClick: l[0] || (l[0] = (s) => i.$emit("update:modelValue", !1))
426
426
  }, [
427
427
  I(Ve, {
428
428
  icon: "times",
@@ -431,31 +431,31 @@ const Ge = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-pan
431
431
  })
432
432
  ])
433
433
  ]),
434
- t.subtitle ? (u(), v("h4", We, [
435
- r("span", null, b(t.subtitle), 1)
434
+ i.subtitle ? (u(), v("h4", We, [
435
+ r("span", null, b(i.subtitle), 1)
436
436
  ])) : w("", !0)
437
437
  ])
438
438
  ]),
439
439
  default: k(() => [
440
- t.description ? (u(), v("div", {
440
+ i.description ? (u(), v("div", {
441
441
  key: 0,
442
442
  class: "konnectio-side-panel-description",
443
- innerHTML: t.description
443
+ innerHTML: i.description
444
444
  }, null, 8, je)) : w("", !0),
445
- B(t.$slots, "default", {}, void 0, !0)
445
+ B(i.$slots, "default", {}, void 0, !0)
446
446
  ]),
447
447
  _: 2
448
448
  }, [
449
- f(n).footer ? {
449
+ i.$slots.footer ? {
450
450
  name: "footer",
451
451
  fn: k(() => [
452
- B(t.$slots, "footer", {}, void 0, !0)
452
+ B(i.$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
- }), io = /* @__PURE__ */ D(Ye, [["__scopeId", "data-v-ab4f4cbb"]]), Xe = { class: "konnectio-phone-input" }, Ke = /* @__PURE__ */ $({
458
+ }), io = /* @__PURE__ */ O(Xe, [["__scopeId", "data-v-f2475ad4"]]), Ye = { class: "konnectio-phone-input" }, Ke = /* @__PURE__ */ $({
459
459
  __name: "PhoneField",
460
460
  props: {
461
461
  modelValue: {},
@@ -470,58 +470,58 @@ const Ge = { id: "konnectio-side-panel-header" }, Ue = { 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(), s = c("+45"), t = c("");
474
- function d() {
475
- l("update:modelValue", `${s.value} ${t.value}`);
473
+ const t = o, n = e, a = n.id || ee(), i = c("+45"), l = c("");
474
+ function s() {
475
+ t("update:modelValue", `${i.value} ${l.value}`);
476
476
  }
477
477
  return j(() => {
478
478
  if (n.modelValue) {
479
- const i = n.modelValue.split(" ");
480
- s.value = i[0], t.value = i[1];
479
+ const d = n.modelValue.split(" ");
480
+ i.value = d[0], l.value = d[1];
481
481
  }
482
- }), (i, p) => (u(), H(ae, {
483
- label: i.label,
484
- id: f(a),
482
+ }), (d, f) => (u(), H(ne, {
483
+ label: d.label,
484
+ id: y(a),
485
485
  type: "phone",
486
- required: i.required,
487
- readonly: i.readonly
486
+ required: d.required,
487
+ readonly: d.readonly
488
488
  }, {
489
489
  default: k(() => [
490
- r("div", Xe, [
490
+ r("div", Ye, [
491
491
  I(oe, {
492
- modelValue: s.value,
493
- "onUpdate:modelValue": p[0] || (p[0] = (h) => s.value = h),
492
+ modelValue: i.value,
493
+ "onUpdate:modelValue": f[0] || (f[0] = (h) => i.value = h),
494
494
  type: "text",
495
- id: f(ee)(),
495
+ id: y(ee)(),
496
496
  name: "phone-code",
497
497
  autocomplete: "tel-country-code",
498
- icon: i.icon,
499
- "icon-color": i.iconColor,
500
- "icon-type": i.iconType,
498
+ icon: d.icon,
499
+ "icon-color": d.iconColor,
500
+ "icon-type": d.iconType,
501
501
  placeholder: "+XX",
502
- required: i.required,
503
- readonly: i.readonly,
504
- onInput: p[1] || (p[1] = (h) => d())
502
+ required: d.required,
503
+ readonly: d.readonly,
504
+ onInput: f[1] || (f[1] = (h) => s())
505
505
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly"]),
506
506
  I(oe, {
507
- modelValue: t.value,
508
- "onUpdate:modelValue": p[2] || (p[2] = (h) => t.value = h),
507
+ modelValue: l.value,
508
+ "onUpdate:modelValue": f[2] || (f[2] = (h) => l.value = h),
509
509
  type: "number",
510
510
  name: "phone",
511
511
  autocomplete: "tel-national",
512
512
  inputmode: "numeric",
513
- id: f(a),
514
- placeholder: i.placeholder,
515
- required: i.required,
516
- readonly: i.readonly,
517
- onInput: p[3] || (p[3] = (h) => d())
513
+ id: y(a),
514
+ placeholder: d.placeholder,
515
+ required: d.required,
516
+ readonly: d.readonly,
517
+ onInput: f[3] || (f[3] = (h) => s())
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
- }), ro = /* @__PURE__ */ D(Ke, [["__scopeId", "data-v-3e373d03"]]), Ze = ["required", "type", "name", "readonly", "disabled", "value", "checked"], Je = ["data-test"], Qe = { key: 0 }, _e = {
524
+ }), ro = /* @__PURE__ */ O(Ke, [["__scopeId", "data-v-3e373d03"]]), Qe = ["required", "type", "name", "readonly", "disabled", "value", "checked"], Ze = ["data-test"], Je = { key: 0 }, _e = {
525
525
  key: 1,
526
526
  class: /* @__PURE__ */ m(["konnectio-click-box-label", "inline"])
527
527
  }, xe = /* @__PURE__ */ $({
@@ -540,62 +540,62 @@ const Ge = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-pan
540
540
  },
541
541
  emits: ["update:modelValue"],
542
542
  setup(e, { emit: o }) {
543
- const l = e, n = o, a = ne();
544
- function s() {
545
- l.readonly !== !0 && n(
543
+ const t = e, n = o, a = Se();
544
+ function i() {
545
+ t.readonly !== !0 && n(
546
546
  "update:modelValue",
547
- l.type === "radio" ? l.val : l.numeric ? l.modelValue ? 0 : 1 : !l.modelValue
547
+ t.type === "radio" ? t.val : t.numeric ? t.modelValue ? 0 : 1 : !t.modelValue
548
548
  );
549
549
  }
550
- return (t, d) => (u(), H(ae, {
551
- required: t.required,
552
- type: t.type,
553
- readonly: t.readonly
550
+ return (l, s) => (u(), H(ne, {
551
+ required: l.required,
552
+ type: l.type,
553
+ readonly: l.readonly
554
554
  }, {
555
555
  default: k(() => [
556
556
  r("label", {
557
557
  class: m([
558
558
  "konnectio-click-box-container",
559
- { "is-readonly": t.readonly },
560
- { "has-label": t.label || f(a).default },
561
- t.type === "radio" ? "radio" : "checkbox"
559
+ { "is-readonly": l.readonly },
560
+ { "has-label": l.label || y(a).default },
561
+ l.type === "radio" ? "radio" : "checkbox"
562
562
  ])
563
563
  }, [
564
- r("input", ke(t.$attrs, {
565
- required: !!t.required,
566
- type: t.type,
567
- name: t.name,
564
+ r("input", ke(l.$attrs, {
565
+ required: !!l.required,
566
+ type: l.type,
567
+ name: l.name,
568
568
  class: "hidden",
569
- readonly: !!t.readonly,
570
- disabled: !!t.readonly,
571
- value: t.type === "radio" ? t.val : t.modelValue,
572
- checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue,
573
- onChange: d[0] || (d[0] = (i) => s())
574
- }), null, 16, Ze),
569
+ readonly: !!l.readonly,
570
+ disabled: !!l.readonly,
571
+ value: l.type === "radio" ? l.val : l.modelValue,
572
+ checked: l.type === "radio" ? l.val === l.modelValue : !!l.modelValue,
573
+ onChange: s[0] || (s[0] = (d) => i())
574
+ }), null, 16, Qe),
575
575
  r("div", {
576
576
  class: m([
577
577
  "konnectio-click-box",
578
- { checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue }
578
+ { checked: l.type === "radio" ? l.val === l.modelValue : !!l.modelValue }
579
579
  ]),
580
580
  tabindex: "0",
581
- "data-test": t.name,
582
- onKeyup: d[1] || (d[1] = Ce((i) => s(), ["enter"]))
583
- }, null, 42, Je),
584
- t.label ? (u(), v("div", {
581
+ "data-test": l.name,
582
+ onKeyup: s[1] || (s[1] = Ce((d) => i(), ["enter"]))
583
+ }, null, 42, Ze),
584
+ l.label ? (u(), v("div", {
585
585
  key: 0,
586
- class: m(["konnectio-click-box-label", "text-hover", { "with-price": t.price }])
586
+ class: m(["konnectio-click-box-label", "text-hover", { "with-price": l.price }])
587
587
  }, [
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, [
591
- B(t.$slots, "default", {}, void 0, !0)
588
+ r("span", null, b(l.label), 1),
589
+ l.price ? (u(), v("span", Je, b(l.price), 1)) : w("", !0)
590
+ ], 2)) : y(a).default ? (u(), v("div", _e, [
591
+ B(l.$slots, "default", {}, void 0, !0)
592
592
  ])) : w("", !0)
593
593
  ], 2)
594
594
  ]),
595
595
  _: 3
596
596
  }, 8, ["required", "type", "readonly"]));
597
597
  }
598
- }), so = /* @__PURE__ */ D(xe, [["__scopeId", "data-v-6029b875"]]), eo = {
598
+ }), so = /* @__PURE__ */ O(xe, [["__scopeId", "data-v-6029b875"]]), eo = {
599
599
  href: "https://policies.google.com/privacy",
600
600
  target: "_blank"
601
601
  }, oo = {
@@ -605,12 +605,12 @@ const Ge = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-pan
605
605
  __name: "GoogleNotice",
606
606
  setup(e) {
607
607
  const { t: o } = $e();
608
- return (l, n) => (u(), v("span", null, [
609
- W(b(f(o)("googleNotice")) + " ", 1),
610
- r("a", eo, b(f(o)("googlePrivacyPolicy")), 1),
611
- W(" " + b(f(o)("googleAnd")) + " ", 1),
612
- r("a", oo, b(f(o)("googleTOS")), 1),
613
- W(" " + b(f(o)("googleApply")) + ". ", 1)
608
+ return (t, n) => (u(), v("span", null, [
609
+ W(b(y(o)("googleNotice")) + " ", 1),
610
+ r("a", eo, b(y(o)("googlePrivacyPolicy")), 1),
611
+ W(" " + b(y(o)("googleAnd")) + " ", 1),
612
+ r("a", oo, b(y(o)("googleTOS")), 1),
613
+ W(" " + b(y(o)("googleApply")) + ". ", 1)
614
614
  ]));
615
615
  }
616
616
  });
@@ -642,18 +642,18 @@ const lo = /* @__PURE__ */ $({
642
642
  setup(e) {
643
643
  const { paymentGatewayId: o } = Be(Pe());
644
644
  return j(() => {
645
- const l = document.createElement("script"), n = document.createElement("script");
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);
647
- }), (l, n) => (u(), v("div", null, [
645
+ const t = document.createElement("script"), n = document.createElement("script");
646
+ t.setAttribute("src", "https://checkout.dibspayment.eu/v1/checkout.js?v=1"), n.setAttribute("src", "https://checkout.reepay.com/checkout.js"), document.head.appendChild(t), document.head.appendChild(n);
647
+ }), (t, n) => (u(), v("div", null, [
648
648
  r("div", {
649
649
  id: "konnectio-payment-checkout-wrapper",
650
- class: m({ reePay: f(o) === f(Te).ReePay })
650
+ class: m({ reePay: y(o) === y(Te).ReePay })
651
651
  }, n[0] || (n[0] = [
652
652
  r("div", { id: "konnectio-payment-checkout" }, null, -1)
653
653
  ]), 2)
654
654
  ]));
655
655
  }
656
- }), uo = /* @__PURE__ */ D(lo, [["__scopeId", "data-v-853041a4"]]);
656
+ }), uo = /* @__PURE__ */ O(lo, [["__scopeId", "data-v-853041a4"]]);
657
657
  export {
658
658
  io as B,
659
659
  so as C,
@@ -661,4 +661,4 @@ export {
661
661
  to as _,
662
662
  uo as a
663
663
  };
664
- //# sourceMappingURL=CheckoutWindow-DrZnthDH.js.map
664
+ //# sourceMappingURL=CheckoutWindow-BgqyyJoW.js.map