@konnectio/core 4.1.2 → 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 (61) hide show
  1. package/dist/{ActionField-RCouJ4bL.js → ActionField-C1dgcOKP.js} +11 -11
  2. package/dist/ActionField-C1dgcOKP.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-DMCMhOc1.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-mLoIG3Dr.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-a1ndpS4g.js} +336 -339
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-a1ndpS4g.js.br +0 -0
  7. package/dist/{CheckoutWindow-CIVRhVLH.js → CheckoutWindow-BgqyyJoW.js} +194 -199
  8. package/dist/CheckoutWindow-BgqyyJoW.js.br +0 -0
  9. package/dist/{ErrorMessage-CRkFYH0N.js → ErrorMessage-BzDrnE0F.js} +4 -4
  10. package/dist/ErrorMessage-BzDrnE0F.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-DuzDq1td.js → EventAvailabilityForm-Cw5NkQXM.js} +10 -10
  12. package/dist/EventAvailabilityForm-Cw5NkQXM.js.br +0 -0
  13. package/dist/{Field-B89fBG1z.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-DHYObk1q.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-eQJ88XWq.js +10617 -0
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-eQJ88XWq.js.br +0 -0
  18. package/dist/{TermsOfService-B3RWtSMr.js → TermsOfService-BM9pIxg1.js} +5 -5
  19. package/dist/_-C47qU_gt.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-CPp11Oc1.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 +57 -57
  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-ovHKnHZ1.js → giftCard-pa0AL3wA.js} +26 -26
  36. package/dist/giftCard-pa0AL3wA.js.br +0 -0
  37. package/dist/hotel.js +26 -29
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/{masonry.plugin-DEok8Hbz.js → masonry.plugin-p-oq4FQ9.js} +336 -319
  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 +7 -7
  48. package/dist/ActionField-RCouJ4bL.js.br +0 -0
  49. package/dist/AvailabilitySkeleton-DMCMhOc1.js.br +0 -0
  50. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-mLoIG3Dr.js.br +0 -0
  51. package/dist/CheckoutWindow-CIVRhVLH.js.br +0 -0
  52. package/dist/ErrorMessage-CRkFYH0N.js.br +0 -0
  53. package/dist/EventAvailabilityForm-DuzDq1td.js.br +0 -0
  54. package/dist/Field-B89fBG1z.js.br +0 -0
  55. package/dist/SelectField.vue_vue_type_style_index_0_lang-DpqEmfGX.js +0 -19391
  56. package/dist/SelectField.vue_vue_type_style_index_0_lang-DpqEmfGX.js.br +0 -0
  57. package/dist/_-CS3eNenD.js +0 -5
  58. package/dist/giftCard-ovHKnHZ1.js.br +0 -0
  59. package/dist/masonry.plugin-DEok8Hbz.js.br +0 -0
  60. package/dist/mitt-Dh_4vPVI.js.br +0 -0
  61. 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 U, b as H, e as r, f as I, w as k, G as Q, H as _, a0 as q, 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 z, H as ee, T as oe, x as ae, h as Pe, P as Te } from "./SelectField.vue_vue_type_style_index_0_lang-DpqEmfGX.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 E = 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, 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
- }, D = 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 E = 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 ? D(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 E = 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]), E ? Ne() : Ie(l), E && (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
- }, O || (document.addEventListener("touchmove", D, Y ? { passive: !1 } : void 0), O = !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
- }), E && (o.ontouchstart = null, o.ontouchmove = null, O && C.length === 0 && (document.removeEventListener("touchmove", D, Y ? { passive: !1 } : void 0), O = !1)), E ? 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), M = c(0), L = c(0), F = c(), Z = c(!1), V = async () => {
205
- window?.innerHeight > 0 && (L.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, M.value = a.value ? a.value.clientHeight : 0;
206
- }, re = () => o("update:modelValue", !1), R = (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
- F.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 && R(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, [G, N] = y, ye = G, ve = pe && !G;
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), G) {
228
- e.lockScroll && R(N, !0), V(), window.addEventListener("resize", V);
227
+ if (pe && (Q.value = !!document.body.style.overflow), G) {
228
+ e.lockScroll && F(N, !0), V(), window.addEventListener("resize", V);
229
229
  return;
230
230
  }
231
- !e.lockScroll || !ve || Z.value || (setTimeout(() => {
232
- N && R(N, !1);
231
+ !e.lockScroll || !ye || Q.value || (setTimeout(() => {
232
+ N && F(N, !1);
233
233
  }, e.panelDuration), window.removeEventListener("resize", V));
234
234
  }
235
235
  }, { immediate: !0 });
236
- const ue = U(() => {
236
+ const se = R(() => {
237
237
  if (!M.value)
238
238
  return;
239
- const y = h.value + A.value + p.value;
240
- let g = M.value - A.value - p.value;
241
- return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g = L.value >= y ? h.value : L.value - A.value - p.value), g;
242
- }), ce = U(() => ({
243
- zIndex: F.value,
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
+ 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 = U(() => ({
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) ? {
@@ -254,27 +254,27 @@ var K = $({
254
254
  height: e.height,
255
255
  maxHeight: "100%"
256
256
  } : {},
257
- zIndex: F.value,
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,12 +288,12 @@ 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",
295
295
  class: "vsp-overlay",
296
- style: q(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,
@@ -308,17 +308,17 @@ 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,
319
319
  ref: "panel",
320
320
  class: m(["vsp", [`vsp--${e.side}-side`, e.$attrs.class]]),
321
- style: q(e.panelStyles)
321
+ style: U(e.panelStyles)
322
322
  },
323
323
  [
324
324
  e.$slots.header ? (u(), v(
@@ -339,11 +339,11 @@ function Re(e, o, l, n, a, s) {
339
339
  {
340
340
  ref: "body",
341
341
  class: m([e.bodyClass, "vsp__body"]),
342
- style: q({ 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(), 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__ */ z(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: {},
@@ -466,65 +466,62 @@ const Ge = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-pan
466
466
  iconColor: {},
467
467
  iconType: { default: "fal" },
468
468
  required: { type: Boolean, default: !1 },
469
- readonly: { type: Boolean, default: !1 },
470
- inputStyle: {}
469
+ readonly: { type: Boolean, default: !1 }
471
470
  },
472
471
  emits: ["update:modelValue"],
473
472
  setup(e, { emit: o }) {
474
- const l = o, n = e, a = n.id || ee(), s = c("+45"), t = c("");
475
- function d() {
476
- 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}`);
477
476
  }
478
477
  return j(() => {
479
478
  if (n.modelValue) {
480
- const i = n.modelValue.split(" ");
481
- s.value = i[0], t.value = i[1];
479
+ const d = n.modelValue.split(" ");
480
+ i.value = d[0], l.value = d[1];
482
481
  }
483
- }), (i, p) => (u(), H(ae, {
484
- label: i.label,
485
- id: f(a),
482
+ }), (d, f) => (u(), H(ne, {
483
+ label: d.label,
484
+ id: y(a),
486
485
  type: "phone",
487
- required: i.required,
488
- readonly: i.readonly
486
+ required: d.required,
487
+ readonly: d.readonly
489
488
  }, {
490
489
  default: k(() => [
491
- r("div", Xe, [
490
+ r("div", Ye, [
492
491
  I(oe, {
493
- modelValue: s.value,
494
- "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),
495
494
  type: "text",
496
- id: f(ee)(),
495
+ id: y(ee)(),
497
496
  name: "phone-code",
498
497
  autocomplete: "tel-country-code",
499
- icon: i.icon,
500
- "icon-color": i.iconColor,
501
- "icon-type": i.iconType,
498
+ icon: d.icon,
499
+ "icon-color": d.iconColor,
500
+ "icon-type": d.iconType,
502
501
  placeholder: "+XX",
503
- required: i.required,
504
- readonly: i.readonly,
505
- "input-style": i.inputStyle,
506
- onInput: p[1] || (p[1] = (h) => d())
507
- }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly", "input-style"]),
502
+ required: d.required,
503
+ readonly: d.readonly,
504
+ onInput: f[1] || (f[1] = (h) => s())
505
+ }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly"]),
508
506
  I(oe, {
509
- modelValue: t.value,
510
- "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),
511
509
  type: "number",
512
510
  name: "phone",
513
511
  autocomplete: "tel-national",
514
512
  inputmode: "numeric",
515
- id: f(a),
516
- placeholder: i.placeholder,
517
- required: i.required,
518
- readonly: i.readonly,
519
- "input-style": i.inputStyle,
520
- onInput: p[3] || (p[3] = (h) => d())
521
- }, null, 8, ["modelValue", "id", "placeholder", "required", "readonly", "input-style"])
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
+ }, null, 8, ["modelValue", "id", "placeholder", "required", "readonly"])
522
519
  ])
523
520
  ]),
524
521
  _: 1
525
522
  }, 8, ["label", "id", "required", "readonly"]));
526
523
  }
527
- }), ro = /* @__PURE__ */ z(Ke, [["__scopeId", "data-v-b21c5ffb"]]), 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 = {
528
525
  key: 1,
529
526
  class: /* @__PURE__ */ m(["konnectio-click-box-label", "inline"])
530
527
  }, xe = /* @__PURE__ */ $({
@@ -539,68 +536,66 @@ const Ge = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-pan
539
536
  readonly: { type: Boolean, default: !1 },
540
537
  type: { default: "checkbox" },
541
538
  required: { type: Boolean, default: !1 },
542
- inputStyle: {},
543
539
  val: {}
544
540
  },
545
541
  emits: ["update:modelValue"],
546
542
  setup(e, { emit: o }) {
547
- const l = e, n = o, a = ne();
548
- function s() {
549
- l.readonly !== !0 && n(
543
+ const t = e, n = o, a = Se();
544
+ function i() {
545
+ t.readonly !== !0 && n(
550
546
  "update:modelValue",
551
- 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
552
548
  );
553
549
  }
554
- return (t, d) => (u(), H(ae, {
555
- required: t.required,
556
- type: t.type,
557
- readonly: t.readonly
550
+ return (l, s) => (u(), H(ne, {
551
+ required: l.required,
552
+ type: l.type,
553
+ readonly: l.readonly
558
554
  }, {
559
555
  default: k(() => [
560
556
  r("label", {
561
557
  class: m([
562
558
  "konnectio-click-box-container",
563
- { "is-readonly": t.readonly },
564
- { "has-label": t.label || f(a).default },
565
- t.type === "radio" ? "radio" : "checkbox"
559
+ { "is-readonly": l.readonly },
560
+ { "has-label": l.label || y(a).default },
561
+ l.type === "radio" ? "radio" : "checkbox"
566
562
  ])
567
563
  }, [
568
- r("input", ke(t.$attrs, {
569
- required: !!t.required,
570
- type: t.type,
571
- name: t.name,
564
+ r("input", ke(l.$attrs, {
565
+ required: !!l.required,
566
+ type: l.type,
567
+ name: l.name,
572
568
  class: "hidden",
573
- readonly: !!t.readonly,
574
- disabled: !!t.readonly,
575
- value: t.type === "radio" ? t.val : t.modelValue,
576
- checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue,
577
- onChange: d[0] || (d[0] = (i) => s())
578
- }), 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),
579
575
  r("div", {
580
576
  class: m([
581
577
  "konnectio-click-box",
582
- { checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue }
578
+ { checked: l.type === "radio" ? l.val === l.modelValue : !!l.modelValue }
583
579
  ]),
584
580
  tabindex: "0",
585
- style: q(t.inputStyle),
586
- "data-test": t.name,
587
- onKeyup: d[1] || (d[1] = Ce((i) => s(), ["enter"]))
588
- }, null, 46, Je),
589
- 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", {
590
585
  key: 0,
591
- 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 }])
592
587
  }, [
593
- r("span", null, b(t.label), 1),
594
- t.price ? (u(), v("span", Qe, b(t.price), 1)) : w("", !0)
595
- ], 2)) : f(a).default ? (u(), v("div", _e, [
596
- 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)
597
592
  ])) : w("", !0)
598
593
  ], 2)
599
594
  ]),
600
595
  _: 3
601
596
  }, 8, ["required", "type", "readonly"]));
602
597
  }
603
- }), so = /* @__PURE__ */ z(xe, [["__scopeId", "data-v-b3fe38a4"]]), eo = {
598
+ }), so = /* @__PURE__ */ O(xe, [["__scopeId", "data-v-6029b875"]]), eo = {
604
599
  href: "https://policies.google.com/privacy",
605
600
  target: "_blank"
606
601
  }, oo = {
@@ -610,12 +605,12 @@ const Ge = { id: "konnectio-side-panel-header" }, Ue = { id: "konnectio-side-pan
610
605
  __name: "GoogleNotice",
611
606
  setup(e) {
612
607
  const { t: o } = $e();
613
- return (l, n) => (u(), v("span", null, [
614
- W(b(f(o)("googleNotice")) + " ", 1),
615
- r("a", eo, b(f(o)("googlePrivacyPolicy")), 1),
616
- W(" " + b(f(o)("googleAnd")) + " ", 1),
617
- r("a", oo, b(f(o)("googleTOS")), 1),
618
- 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)
619
614
  ]));
620
615
  }
621
616
  });
@@ -647,18 +642,18 @@ const lo = /* @__PURE__ */ $({
647
642
  setup(e) {
648
643
  const { paymentGatewayId: o } = Be(Pe());
649
644
  return j(() => {
650
- const l = document.createElement("script"), n = document.createElement("script");
651
- 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);
652
- }), (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, [
653
648
  r("div", {
654
649
  id: "konnectio-payment-checkout-wrapper",
655
- class: m({ reePay: f(o) === f(Te).ReePay })
650
+ class: m({ reePay: y(o) === y(Te).ReePay })
656
651
  }, n[0] || (n[0] = [
657
652
  r("div", { id: "konnectio-payment-checkout" }, null, -1)
658
653
  ]), 2)
659
654
  ]));
660
655
  }
661
- }), uo = /* @__PURE__ */ z(lo, [["__scopeId", "data-v-853041a4"]]);
656
+ }), uo = /* @__PURE__ */ O(lo, [["__scopeId", "data-v-853041a4"]]);
662
657
  export {
663
658
  io as B,
664
659
  so as C,
@@ -666,4 +661,4 @@ export {
666
661
  to as _,
667
662
  uo as a
668
663
  };
669
- //# sourceMappingURL=CheckoutWindow-CIVRhVLH.js.map
664
+ //# sourceMappingURL=CheckoutWindow-BgqyyJoW.js.map