@konnectio/core 4.0.56-rc55 → 4.0.56-rc56

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 (71) hide show
  1. package/dist/{ActionField-BAL1bpnL.js → ActionField-D2cIxYLO.js} +12 -12
  2. package/dist/ActionField-D2cIxYLO.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-BX61UaDK.js → AvailabilitySkeleton-fSj-D3gr.js} +50 -49
  4. package/dist/AvailabilitySkeleton-fSj-D3gr.js.br +0 -0
  5. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DmlVYsD2.js +8174 -0
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DmlVYsD2.js.br +0 -0
  7. package/dist/{CheckoutWindow-DufEgcza.js → CheckoutWindow-DDFex8_M.js} +242 -233
  8. package/dist/CheckoutWindow-DDFex8_M.js.br +0 -0
  9. package/dist/{ErrorMessage-CbGOS1Nq.js → ErrorMessage-BxEkmAcA.js} +4 -4
  10. package/dist/ErrorMessage-BxEkmAcA.js.br +0 -0
  11. package/dist/EventAvailabilityForm-Bh21jXV0.js +120 -0
  12. package/dist/EventAvailabilityForm-Bh21jXV0.js.br +0 -0
  13. package/dist/{Field-flvSuRTL.js → Field-C1-c1E69.js} +9 -9
  14. package/dist/Field-C1-c1E69.js.br +0 -0
  15. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-1m-WZuNW.js +18603 -0
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-1m-WZuNW.js.br +0 -0
  17. package/dist/TermsOfService-Cf3uVbvE.js +36 -0
  18. package/dist/TermsOfService-Cf3uVbvE.js.br +0 -0
  19. package/dist/{_-Wr8LhfrM.js → _-DpyfRShv.js} +3 -3
  20. package/dist/_.vue_vue_type_style_index_0_lang-DoCplqzK.js +69 -0
  21. package/dist/_.vue_vue_type_style_index_0_lang-DoCplqzK.js.br +0 -0
  22. package/dist/_commonjsHelpers-7Ka-lrVJ.js +17 -0
  23. package/dist/_sentry-release-injection-file-BwRPXfCP.js +11186 -0
  24. package/dist/_sentry-release-injection-file-BwRPXfCP.js.br +0 -0
  25. package/dist/availability.js +24 -24
  26. package/dist/availability.js.br +0 -0
  27. package/dist/deep-link.js +56 -4
  28. package/dist/deep-link.js.br +0 -0
  29. package/dist/event.js +316 -300
  30. package/dist/event.js.br +0 -0
  31. package/dist/gift-card-validation.js +32 -33
  32. package/dist/gift-card-validation.js.br +0 -0
  33. package/dist/gift-card.js +87 -88
  34. package/dist/gift-card.js.br +0 -0
  35. package/dist/giftCard-D4D0qX4c.js +134 -0
  36. package/dist/giftCard-D4D0qX4c.js.br +0 -0
  37. package/dist/hotel.js +211 -211
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/{masonry.plugin-BMRfOcVe.js → masonry.plugin-BJrxifpp.js} +3352 -3334
  40. package/dist/masonry.plugin-BJrxifpp.js.br +0 -0
  41. package/dist/mitt-CKlYOuwf.js +4290 -0
  42. package/dist/mitt-CKlYOuwf.js.br +0 -0
  43. package/dist/polyfill.js +4523 -4515
  44. package/dist/polyfill.js.br +0 -0
  45. package/dist/style.css +1 -1
  46. package/dist/style.css.br +0 -0
  47. package/dist/{tracing-wxeFiHIa.js → tracing-NLDFmjvp.js} +3 -3
  48. package/dist/tracing-NLDFmjvp.js.br +0 -0
  49. package/package.json +8 -8
  50. package/dist/ActionField-BAL1bpnL.js.br +0 -0
  51. package/dist/AvailabilitySkeleton-BX61UaDK.js.br +0 -0
  52. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CBLGelHH.js +0 -7814
  53. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CBLGelHH.js.br +0 -0
  54. package/dist/CheckoutWindow-DufEgcza.js.br +0 -0
  55. package/dist/ErrorMessage-CbGOS1Nq.js.br +0 -0
  56. package/dist/EventAvailabilityForm-CO2Vt9WR.js +0 -452
  57. package/dist/EventAvailabilityForm-CO2Vt9WR.js.br +0 -0
  58. package/dist/Field-flvSuRTL.js.br +0 -0
  59. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BtVEfiNz.js +0 -21414
  60. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BtVEfiNz.js.br +0 -0
  61. package/dist/TermsOfService-ZtJSXzfs.js +0 -35
  62. package/dist/TermsOfService-ZtJSXzfs.js.br +0 -0
  63. package/dist/_.vue_vue_type_style_index_0_lang-1ZRqGUnk.js +0 -68
  64. package/dist/_.vue_vue_type_style_index_0_lang-1ZRqGUnk.js.br +0 -0
  65. package/dist/_commonjsHelpers-04Qj4xBt.js +0 -9530
  66. package/dist/_commonjsHelpers-04Qj4xBt.js.br +0 -0
  67. package/dist/giftCard-DHP_enh5.js +0 -127
  68. package/dist/giftCard-DHP_enh5.js.br +0 -0
  69. package/dist/masonry.plugin-BMRfOcVe.js.br +0 -0
  70. package/dist/sentry-BSHzssDu.js +0 -18
  71. package/dist/tracing-wxeFiHIa.js.br +0 -0
@@ -1,48 +1,49 @@
1
- import { d as C, o as u, a as m, r as c, h as j, E as ve, G as me, q as X, c as U, H as he, b as I, g as r, f as H, w as $, y as Z, z as Q, I as q, T as x, n as v, v as V, e as S, J as ge, K as be, t as b, u as y, B as we, L as Se, M as ke, D as W, p as Ce, j as $e } from "./_commonjsHelpers-04Qj4xBt.js";
2
- import { z as Be, _ as z, r as ee, T as oe, I as ne, h as Ve, s as Pe, b as Te, P as Ie } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BtVEfiNz.js";
1
+ import { d as $, a as u, g as m, r as c, o as j, a4 as me, a5 as he, z as X, c as U, I as ge, b as I, e as d, f as H, w as k, A as Z, B as Q, J as q, T as x, n as v, l as B, i as S, $ as be, D as we, m as ne, q as Se, u as f, t as b, L as ke, K as Ce, x as W, p as $e, j as Be } from "./_sentry-release-injection-file-BwRPXfCP.js";
2
+ import { I as Ve, _ as z, D as ee, T as oe, p as ae, e as Pe, P as Te } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-1m-WZuNW.js";
3
+ import { u as Ie, s as He } from "./mitt-CKlYOuwf.js";
3
4
  (function() {
4
5
  try {
5
6
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, o = new Error().stack;
6
- o && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[o] = "9b776e6e-29d6-4f97-a241-a4df57cd6be5", e._sentryDebugIdIdentifier = "sentry-dbid-9b776e6e-29d6-4f97-a241-a4df57cd6be5");
7
+ o && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[o] = "1bf5e2c6-860d-4ccd-a93d-8b40a9981b6b", e._sentryDebugIdIdentifier = "sentry-dbid-1bf5e2c6-860d-4ccd-a93d-8b40a9981b6b");
7
8
  } catch {
8
9
  }
9
10
  })();
10
- function He(e) {
11
+ function Ae(e) {
11
12
  if (Array.isArray(e)) {
12
- for (var o = 0, t = Array(e.length); o < e.length; o++)
13
- t[o] = e[o];
14
- return t;
13
+ for (var o = 0, l = Array(e.length); o < e.length; o++)
14
+ l[o] = e[o];
15
+ return l;
15
16
  } else
16
17
  return Array.from(e);
17
18
  }
18
- var _ = !1;
19
+ var K = !1;
19
20
  if (typeof window < "u") {
20
21
  var te = {
21
22
  get passive() {
22
- _ = !0;
23
+ K = !0;
23
24
  }
24
25
  };
25
26
  window.addEventListener("testPassive", null, te), window.removeEventListener("testPassive", null, te);
26
27
  }
27
- var D = typeof window < "u" && window.navigator && window.navigator.platform && (/iP(ad|hone|od)/.test(window.navigator.platform) || window.navigator.platform === "MacIntel" && window.navigator.maxTouchPoints > 1), k = [], E = !1, ae = -1, P = void 0, w = void 0, T = void 0, ie = function(o) {
28
- return k.some(function(t) {
29
- return !!(t.options.allowTouchMove && t.options.allowTouchMove(o));
28
+ var D = typeof window < "u" && window.navigator && window.navigator.platform && (/iP(ad|hone|od)/.test(window.navigator.platform) || window.navigator.platform === "MacIntel" && window.navigator.maxTouchPoints > 1), C = [], E = !1, ie = -1, P = void 0, w = void 0, T = void 0, de = function(o) {
29
+ return C.some(function(l) {
30
+ return !!(l.options.allowTouchMove && l.options.allowTouchMove(o));
30
31
  });
31
32
  }, O = function(o) {
32
- var t = o || window.event;
33
- return ie(t.target) || t.touches.length > 1 ? !0 : (t.preventDefault && t.preventDefault(), !1);
34
- }, Ae = function(o) {
33
+ var l = o || window.event;
34
+ return de(l.target) || l.touches.length > 1 ? !0 : (l.preventDefault && l.preventDefault(), !1);
35
+ }, Ne = function(o) {
35
36
  if (T === void 0) {
36
- var t = !!o && o.reserveScrollBarGap === !0, n = window.innerWidth - document.documentElement.clientWidth;
37
- if (t && n > 0) {
37
+ var l = !!o && o.reserveScrollBarGap === !0, n = window.innerWidth - document.documentElement.clientWidth;
38
+ if (l && n > 0) {
38
39
  var a = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"), 10);
39
40
  T = document.body.style.paddingRight, document.body.style.paddingRight = a + n + "px";
40
41
  }
41
42
  }
42
43
  P === void 0 && (P = document.body.style.overflow, document.body.style.overflow = "hidden");
43
- }, Ne = function() {
44
- T !== void 0 && (document.body.style.paddingRight = T, T = void 0), P !== void 0 && (document.body.style.overflow = P, P = void 0);
45
44
  }, qe = function() {
45
+ T !== void 0 && (document.body.style.paddingRight = T, T = void 0), P !== void 0 && (document.body.style.overflow = P, P = void 0);
46
+ }, De = function() {
46
47
  return window.requestAnimationFrame(function() {
47
48
  if (w === void 0) {
48
49
  w = {
@@ -50,76 +51,76 @@ var D = typeof window < "u" && window.navigator && window.navigator.platform &&
50
51
  top: document.body.style.top,
51
52
  left: document.body.style.left
52
53
  };
53
- var o = window, t = o.scrollY, n = o.scrollX, a = o.innerHeight;
54
- document.body.style.position = "fixed", document.body.style.top = -t, document.body.style.left = -n, setTimeout(function() {
54
+ var o = window, l = o.scrollY, n = o.scrollX, a = o.innerHeight;
55
+ document.body.style.position = "fixed", document.body.style.top = -l, document.body.style.left = -n, setTimeout(function() {
55
56
  return window.requestAnimationFrame(function() {
56
- var i = a - window.innerHeight;
57
- i && t >= a && (document.body.style.top = -(t + i));
57
+ var s = a - window.innerHeight;
58
+ s && l >= a && (document.body.style.top = -(l + s));
58
59
  });
59
60
  }, 300);
60
61
  }
61
62
  });
62
- }, De = function() {
63
+ }, Ee = function() {
63
64
  if (w !== void 0) {
64
- var o = -parseInt(document.body.style.top, 10), t = -parseInt(document.body.style.left, 10);
65
- document.body.style.position = w.position, document.body.style.top = w.top, document.body.style.left = w.left, window.scrollTo(t, o), w = void 0;
65
+ var o = -parseInt(document.body.style.top, 10), l = -parseInt(document.body.style.left, 10);
66
+ document.body.style.position = w.position, document.body.style.top = w.top, document.body.style.left = w.left, window.scrollTo(l, o), w = void 0;
66
67
  }
67
- }, Ee = function(o) {
68
+ }, Oe = function(o) {
68
69
  return o ? o.scrollHeight - o.scrollTop <= o.clientHeight : !1;
69
- }, Oe = function(o, t) {
70
- var n = o.targetTouches[0].clientY - ae;
71
- return ie(o.target) ? !1 : t && t.scrollTop === 0 && n > 0 || Ee(t) && n < 0 ? O(o) : (o.stopPropagation(), !0);
72
- }, ze = function(o, t) {
70
+ }, ze = function(o, l) {
71
+ var n = o.targetTouches[0].clientY - ie;
72
+ return de(o.target) ? !1 : l && l.scrollTop === 0 && n > 0 || Oe(l) && n < 0 ? O(o) : (o.stopPropagation(), !0);
73
+ }, Le = function(o, l) {
73
74
  if (!o) {
74
75
  console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");
75
76
  return;
76
77
  }
77
- if (!k.some(function(a) {
78
+ if (!C.some(function(a) {
78
79
  return a.targetElement === o;
79
80
  })) {
80
81
  var n = {
81
82
  targetElement: o,
82
- options: t || {}
83
+ options: l || {}
83
84
  };
84
- k = [].concat(He(k), [n]), D ? qe() : Ae(t), D && (o.ontouchstart = function(a) {
85
- a.targetTouches.length === 1 && (ae = a.targetTouches[0].clientY);
85
+ C = [].concat(Ae(C), [n]), D ? De() : Ne(l), D && (o.ontouchstart = function(a) {
86
+ a.targetTouches.length === 1 && (ie = a.targetTouches[0].clientY);
86
87
  }, o.ontouchmove = function(a) {
87
- a.targetTouches.length === 1 && Oe(a, o);
88
- }, E || (document.addEventListener("touchmove", O, _ ? { passive: !1 } : void 0), E = !0));
88
+ a.targetTouches.length === 1 && ze(a, o);
89
+ }, E || (document.addEventListener("touchmove", O, K ? { passive: !1 } : void 0), E = !0));
89
90
  }
90
91
  }, Me = function(o) {
91
92
  if (!o) {
92
93
  console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");
93
94
  return;
94
95
  }
95
- k = k.filter(function(t) {
96
- return t.targetElement !== o;
97
- }), D && (o.ontouchstart = null, o.ontouchmove = null, E && k.length === 0 && (document.removeEventListener("touchmove", O, _ ? { passive: !1 } : void 0), E = !1)), D ? De() : Ne();
98
- }, K = C({
96
+ C = C.filter(function(l) {
97
+ return l.targetElement !== o;
98
+ }), D && (o.ontouchstart = null, o.ontouchmove = null, E && C.length === 0 && (document.removeEventListener("touchmove", O, K ? { passive: !1 } : void 0), E = !1)), D ? Ee() : qe();
99
+ }, Y = $({
99
100
  name: "SidePanelCloseButton",
100
101
  emits: ["close"]
101
102
  });
102
- const Le = /* @__PURE__ */ r(
103
+ const Fe = /* @__PURE__ */ d(
103
104
  "span",
104
105
  { class: "vsp-close__x" },
105
106
  null,
106
107
  -1
107
108
  /* HOISTED */
108
- ), Fe = [
109
- Le
109
+ ), Re = [
110
+ Fe
110
111
  ];
111
- function Ge(e, o, t, n, a, i) {
112
+ function Ge(e, o, l, n, a, s) {
112
113
  return u(), m("div", {
113
114
  class: "vsp-close",
114
- onClick: o[0] || (o[0] = (l) => e.$emit("close"))
115
- }, [...Fe]);
115
+ onClick: o[0] || (o[0] = (t) => e.$emit("close"))
116
+ }, [...Re]);
116
117
  }
117
- K.render = Ge;
118
- K.__file = "src/components/SidePanelCloseButton.vue";
119
- var Y = C({
118
+ Y.render = Ge;
119
+ Y.__file = "src/components/SidePanelCloseButton.vue";
120
+ var _ = $({
120
121
  name: "VueSidePanel",
121
122
  components: {
122
- SidePanelCloseButton: K
123
+ SidePanelCloseButton: Y
123
124
  },
124
125
  props: {
125
126
  idName: {
@@ -206,54 +207,54 @@ var Y = C({
206
207
  }
207
208
  },
208
209
  emits: ["update:modelValue", "closed", "opened"],
209
- setup(e, { emit: o, attrs: t }) {
210
+ setup(e, { emit: o, attrs: l }) {
210
211
  let n;
211
- 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), L = c(0), F = c(), J = c(!1), B = async () => {
212
- window?.innerHeight > 0 && (L.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;
213
- }, de = () => o("update:modelValue", !1), G = (p, g) => {
212
+ const a = c(null), s = c(null), t = c(null), r = c(null), i = c(null), p = c(0), h = c(0), A = c(0), L = c(0), M = c(0), F = c(), J = c(!1), V = async () => {
213
+ window?.innerHeight > 0 && (M.value = window.innerHeight), p.value = t.value ? t.value.clientHeight : 0, A.value = r.value ? r.value.clientHeight : 0, h.value = i.value ? i.value.scrollHeight : 0, L.value = a.value ? a.value.clientHeight : 0;
214
+ }, re = () => o("update:modelValue", !1), R = (y, g) => {
214
215
  if (g) {
215
216
  setTimeout(() => {
216
- ze(p, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
217
+ Le(y, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
217
218
  }, 0);
218
219
  return;
219
220
  }
220
- Me(p), e.lockScrollHtml && document.documentElement.style.removeProperty("overflow");
221
- }, re = () => Math.max(...Array.from(document.querySelectorAll("body *"), (p) => parseFloat(window.getComputedStyle(p).zIndex)).filter((p) => !Number.isNaN(p)), 0);
221
+ Me(y), e.lockScrollHtml && document.documentElement.style.removeProperty("overflow");
222
+ }, se = () => Math.max(...Array.from(document.querySelectorAll("body *"), (y) => parseFloat(window.getComputedStyle(y).zIndex)).filter((y) => !Number.isNaN(y)), 0);
222
223
  j(() => {
223
- F.value = e.zIndex === "auto" ? re() : e.zIndex;
224
- }), ve(() => {
225
- document.getElementById(e.idName) || (n = document.createElement("div"), n.setAttribute("id", e.idName), document.body.appendChild(n));
224
+ F.value = e.zIndex === "auto" ? se() : e.zIndex;
226
225
  }), me(() => {
227
- const { modelValue: p, lockScroll: g } = e;
228
- g && a.value && p && G(a.value, !1), n && document.body.removeChild(n), window.removeEventListener("resize", B);
229
- }), X(() => [s.value, l.value, e.height, e.width, e.side, e.modelValue], () => {
230
- be(() => B());
231
- }), X(() => [e.modelValue, a.value], (p, g) => {
232
- const fe = g ? g[0] : !1, [R, N] = p, pe = R, ye = fe && !R;
226
+ document.getElementById(e.idName) || (n = document.createElement("div"), n.setAttribute("id", e.idName), document.body.appendChild(n));
227
+ }), he(() => {
228
+ const { modelValue: y, lockScroll: g } = e;
229
+ g && a.value && y && R(a.value, !1), n && document.body.removeChild(n), window.removeEventListener("resize", V);
230
+ }), X(() => [r.value, t.value, e.height, e.width, e.side, e.modelValue], () => {
231
+ we(() => V());
232
+ }), X(() => [e.modelValue, a.value], (y, g) => {
233
+ const pe = g ? g[0] : !1, [G, N] = y, ye = G, ve = pe && !G;
233
234
  if (N) {
234
- if (pe && (J.value = !!document.body.style.overflow), R) {
235
- e.lockScroll && G(N, !0), B(), window.addEventListener("resize", B);
235
+ if (ye && (J.value = !!document.body.style.overflow), G) {
236
+ e.lockScroll && R(N, !0), V(), window.addEventListener("resize", V);
236
237
  return;
237
238
  }
238
- !e.lockScroll || !ye || J.value || (setTimeout(() => {
239
- N && G(N, !1);
240
- }, e.panelDuration), window.removeEventListener("resize", B));
239
+ !e.lockScroll || !ve || J.value || (setTimeout(() => {
240
+ N && R(N, !1);
241
+ }, e.panelDuration), window.removeEventListener("resize", V));
241
242
  }
242
243
  }, { immediate: !0 });
243
- const se = U(() => {
244
- if (!M.value)
244
+ const ue = U(() => {
245
+ if (!L.value)
245
246
  return;
246
- const p = h.value + A.value + f.value;
247
- let g = M.value - A.value - f.value;
248
- return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g = L.value >= p ? h.value : L.value - A.value - f.value), g;
249
- }), ue = U(() => ({
247
+ const y = h.value + A.value + p.value;
248
+ let g = L.value - A.value - p.value;
249
+ return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g = M.value >= y ? h.value : M.value - A.value - p.value), g;
250
+ }), ce = U(() => ({
250
251
  zIndex: F.value,
251
252
  animationDuration: `${e.overlayDuration}ms`,
252
253
  "--overlay-opacity": e.overlayOpacity,
253
254
  opacity: e.modelValue ? e.overlayOpacity : 0,
254
255
  backgroundColor: e.overlayColor,
255
256
  pointerEvents: e.modelValue ? "all" : "none"
256
- })), ce = U(() => ({
257
+ })), fe = U(() => ({
257
258
  width: ["left", "right"].includes(e.side) ? e.width : void 0,
258
259
  maxWidth: "100%",
259
260
  ...["top", "bottom"].includes(e.side) ? {
@@ -264,27 +265,27 @@ var Y = C({
264
265
  zIndex: F.value,
265
266
  backgroundColor: e.panelColor,
266
267
  animationDuration: `${e.panelDuration}ms`,
267
- ...Object.assign({}, t.style)
268
+ ...Object.assign({}, l.style)
268
269
  }));
269
270
  return {
270
- body: d,
271
+ body: i,
271
272
  panel: a,
272
- overlay: i,
273
- overlayStyles: ue,
274
- header: s,
275
- footer: l,
276
- closePanel: de,
277
- panelStyles: ce,
278
- bodyHeight: se
273
+ overlay: s,
274
+ overlayStyles: ce,
275
+ header: r,
276
+ footer: t,
277
+ closePanel: re,
278
+ panelStyles: fe,
279
+ bodyHeight: ue
279
280
  };
280
281
  }
281
282
  });
282
- function Re(e, o, t, n, a, i) {
283
- const l = he("SidePanelCloseButton");
284
- return u(), I(ge, {
283
+ function Ue(e, o, l, n, a, s) {
284
+ const t = ge("SidePanelCloseButton");
285
+ return u(), I(be, {
285
286
  to: `#${e.idName}`
286
287
  }, [
287
- r(
288
+ d(
288
289
  "div",
289
290
  {
290
291
  class: v(["vsp-wrapper", [e.modelValue && "vsp-wrapper--active"]])
@@ -294,8 +295,8 @@ function Re(e, o, t, n, a, i) {
294
295
  name: "overlay",
295
296
  persisted: ""
296
297
  }, {
297
- default: $(() => [
298
- Z(r(
298
+ default: k(() => [
299
+ Z(d(
299
300
  "div",
300
301
  {
301
302
  ref: "overlay",
@@ -315,10 +316,10 @@ function Re(e, o, t, n, a, i) {
315
316
  }),
316
317
  H(x, {
317
318
  name: e.transitionName || `slide-${e.side}`,
318
- onAfterEnter: o[1] || (o[1] = (s) => e.$emit("opened")),
319
- onAfterLeave: o[2] || (o[2] = (s) => e.$emit("closed"))
319
+ onAfterEnter: o[1] || (o[1] = (r) => e.$emit("opened")),
320
+ onAfterLeave: o[2] || (o[2] = (r) => e.$emit("closed"))
320
321
  }, {
321
- default: $(() => [
322
+ default: k(() => [
322
323
  !e.rerender || e.modelValue ? Z((u(), m(
323
324
  "div",
324
325
  {
@@ -336,12 +337,12 @@ function Re(e, o, t, n, a, i) {
336
337
  class: v([e.headerClass, "vsp__header"])
337
338
  },
338
339
  [
339
- V(e.$slots, "header", { close: e.closePanel })
340
+ B(e.$slots, "header", { close: e.closePanel })
340
341
  ],
341
342
  2
342
343
  /* CLASS */
343
344
  )) : S("v-if", !0),
344
- r(
345
+ d(
345
346
  "div",
346
347
  {
347
348
  ref: "body",
@@ -349,8 +350,8 @@ function Re(e, o, t, n, a, i) {
349
350
  style: q({ height: `${e.bodyHeight}px` })
350
351
  },
351
352
  [
352
- V(e.$slots, "default", { close: e.closePanel }),
353
- e.hideCloseBtn ? S("v-if", !0) : (u(), I(l, {
353
+ B(e.$slots, "default", { close: e.closePanel }),
354
+ e.hideCloseBtn ? S("v-if", !0) : (u(), I(t, {
354
355
  key: 0,
355
356
  onClose: e.closePanel
356
357
  }, null, 8, ["onClose"]))
@@ -366,7 +367,7 @@ function Re(e, o, t, n, a, i) {
366
367
  class: v([e.footerClass, "vsp__footer"])
367
368
  },
368
369
  [
369
- V(e.$slots, "footer")
370
+ B(e.$slots, "footer")
370
371
  ],
371
372
  2
372
373
  /* CLASS */
@@ -387,12 +388,12 @@ function Re(e, o, t, n, a, i) {
387
388
  )
388
389
  ], 8, ["to"]);
389
390
  }
390
- Y.render = Re;
391
- Y.__file = "src/components/SidePanel.vue";
392
- const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-panel-title" }, je = {
391
+ _.render = Ue;
392
+ _.__file = "src/components/SidePanel.vue";
393
+ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-panel-title" }, Ke = {
393
394
  key: 0,
394
395
  id: "konnectio-side-panel-subtitle"
395
- }, _e = ["innerHTML"], Ke = /* @__PURE__ */ C({
396
+ }, Ye = ["innerHTML"], _e = /* @__PURE__ */ $({
396
397
  __name: "Base",
397
398
  props: {
398
399
  modelValue: { type: Boolean },
@@ -407,55 +408,63 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
407
408
  },
408
409
  emits: ["update:modelValue", "opened", "closed"],
409
410
  setup(e, { emit: o }) {
410
- const t = o;
411
- function n() {
412
- t("closed");
413
- }
411
+ const l = o, n = ne();
414
412
  function a() {
415
- t("opened");
413
+ l("closed");
416
414
  }
417
- return (i, l) => (u(), I(y(Y), {
418
- modelValue: i.modelValue,
419
- "lock-scroll": i.lockScroll,
420
- "hide-close-btn": i.hideCloseButton,
421
- width: i.width,
422
- "onUpdate:modelValue": l[1] || (l[1] = (s) => i.$emit("update:modelValue", s)),
423
- onClosed: n,
424
- onOpened: a
425
- }, {
426
- header: $(() => [
427
- r("div", Ue, [
428
- r("h2", We, [
429
- r("span", null, b(i.title), 1),
430
- r("button", {
415
+ function s() {
416
+ l("opened");
417
+ }
418
+ return (t, r) => (u(), I(f(_), {
419
+ modelValue: t.modelValue,
420
+ "lock-scroll": t.lockScroll,
421
+ "hide-close-btn": t.hideCloseButton,
422
+ width: t.width,
423
+ "onUpdate:modelValue": r[1] || (r[1] = (i) => t.$emit("update:modelValue", i)),
424
+ onClosed: a,
425
+ onOpened: s
426
+ }, Se({
427
+ header: k(() => [
428
+ d("div", We, [
429
+ d("h2", je, [
430
+ d("span", null, b(t.title), 1),
431
+ d("button", {
431
432
  id: "konnectio-side-panel-close",
432
- onClick: l[0] || (l[0] = (s) => i.$emit("update:modelValue", !1))
433
+ onClick: r[0] || (r[0] = (i) => t.$emit("update:modelValue", !1))
433
434
  }, [
434
- H(Be, {
435
+ H(Ve, {
435
436
  icon: "times",
436
437
  type: "fas",
437
438
  color: "header"
438
439
  })
439
440
  ])
440
441
  ]),
441
- i.subtitle ? (u(), m("h4", je, [
442
- r("span", null, b(i.subtitle), 1)
442
+ t.subtitle ? (u(), m("h4", Ke, [
443
+ d("span", null, b(t.subtitle), 1)
443
444
  ])) : S("", !0)
444
445
  ])
445
446
  ]),
446
- default: $(() => [
447
- r("div", null, [
448
- r("div", {
447
+ default: k(() => [
448
+ d("div", null, [
449
+ d("div", {
449
450
  class: "konnectio-side-panel-description",
450
- innerHTML: i.description
451
- }, null, 8, _e),
452
- V(i.$slots, "default", {}, void 0, !0)
451
+ innerHTML: t.description
452
+ }, null, 8, Ye),
453
+ B(t.$slots, "default", {}, void 0, !0)
453
454
  ])
454
455
  ]),
455
- _: 3
456
- }, 8, ["modelValue", "lock-scroll", "hide-close-btn", "width"]));
456
+ _: 2
457
+ }, [
458
+ f(n).footer ? {
459
+ name: "footer",
460
+ fn: k(() => [
461
+ B(t.$slots, "footer", {}, void 0, !0)
462
+ ]),
463
+ key: "0"
464
+ } : void 0
465
+ ]), 1032, ["modelValue", "lock-scroll", "hide-close-btn", "width"]));
457
466
  }
458
- }), co = /* @__PURE__ */ z(Ke, [["__scopeId", "data-v-ce9ba7e5"]]), Ye = { class: "fresh-booking-phone-input" }, Je = /* @__PURE__ */ C({
467
+ }), po = /* @__PURE__ */ z(_e, [["__scopeId", "data-v-060086ec"]]), Je = { class: "fresh-booking-phone-input" }, Xe = /* @__PURE__ */ $({
459
468
  __name: "PhoneField",
460
469
  props: {
461
470
  modelValue: {},
@@ -471,62 +480,62 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
471
480
  },
472
481
  emits: ["update:modelValue"],
473
482
  setup(e, { emit: o }) {
474
- const t = o, n = e, a = n.id || ee(), i = c("+45"), l = c("");
475
- function s() {
476
- t("update:modelValue", `${i.value} ${l.value}`);
483
+ const l = o, n = e, a = n.id || ee(), s = c("+45"), t = c("");
484
+ function r() {
485
+ l("update:modelValue", `${s.value} ${t.value}`);
477
486
  }
478
487
  return j(() => {
479
488
  if (n.modelValue) {
480
- const d = n.modelValue.split(" ");
481
- i.value = d[0], l.value = d[1];
489
+ const i = n.modelValue.split(" ");
490
+ s.value = i[0], t.value = i[1];
482
491
  }
483
- }), (d, f) => (u(), I(ne, {
484
- label: d.label,
485
- id: y(a),
492
+ }), (i, p) => (u(), I(ae, {
493
+ label: i.label,
494
+ id: f(a),
486
495
  type: "phone",
487
- required: d.required,
488
- readonly: d.readonly
496
+ required: i.required,
497
+ readonly: i.readonly
489
498
  }, {
490
- default: $(() => [
491
- r("div", Ye, [
499
+ default: k(() => [
500
+ d("div", Je, [
492
501
  H(oe, {
493
- modelValue: i.value,
494
- "onUpdate:modelValue": f[0] || (f[0] = (h) => i.value = h),
502
+ modelValue: s.value,
503
+ "onUpdate:modelValue": p[0] || (p[0] = (h) => s.value = h),
495
504
  type: "text",
496
- id: y(ee)(),
505
+ id: f(ee)(),
497
506
  name: "phone-code",
498
507
  autocomplete: "tel-country-code",
499
- icon: d.icon,
500
- "icon-color": d.iconColor,
501
- "icon-type": d.iconType,
508
+ icon: i.icon,
509
+ "icon-color": i.iconColor,
510
+ "icon-type": i.iconType,
502
511
  placeholder: "+45",
503
- required: d.required,
504
- readonly: d.readonly,
505
- "input-style": d.inputStyle,
506
- onInput: f[1] || (f[1] = (h) => s())
512
+ required: i.required,
513
+ readonly: i.readonly,
514
+ "input-style": i.inputStyle,
515
+ onInput: p[1] || (p[1] = (h) => r())
507
516
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly", "input-style"]),
508
517
  H(oe, {
509
- modelValue: l.value,
510
- "onUpdate:modelValue": f[2] || (f[2] = (h) => l.value = h),
518
+ modelValue: t.value,
519
+ "onUpdate:modelValue": p[2] || (p[2] = (h) => t.value = h),
511
520
  type: "number",
512
521
  name: "phone",
513
522
  autocomplete: "tel-national",
514
- id: y(a),
515
- placeholder: d.placeholder,
516
- required: d.required,
517
- readonly: d.readonly,
518
- "input-style": d.inputStyle,
519
- onInput: f[3] || (f[3] = (h) => s())
523
+ id: f(a),
524
+ placeholder: i.placeholder,
525
+ required: i.required,
526
+ readonly: i.readonly,
527
+ "input-style": i.inputStyle,
528
+ onInput: p[3] || (p[3] = (h) => r())
520
529
  }, null, 8, ["modelValue", "id", "placeholder", "required", "readonly", "input-style"])
521
530
  ])
522
531
  ]),
523
532
  _: 1
524
533
  }, 8, ["label", "id", "required", "readonly"]));
525
534
  }
526
- }), fo = /* @__PURE__ */ z(Je, [["__scopeId", "data-v-5cd094ab"]]), Xe = ["required", "type", "name", "readonly", "disabled", "value", "checked"], Ze = ["data-test"], Qe = { key: 0 }, xe = {
535
+ }), yo = /* @__PURE__ */ z(Xe, [["__scopeId", "data-v-5cd094ab"]]), Ze = ["required", "type", "name", "readonly", "disabled", "value", "checked"], Qe = ["data-test"], xe = { key: 0 }, eo = {
527
536
  key: 1,
528
537
  class: /* @__PURE__ */ v(["konnectio-click-box-label", "inline"])
529
- }, eo = /* @__PURE__ */ C({
538
+ }, oo = /* @__PURE__ */ $({
530
539
  __name: "Checkbox",
531
540
  props: {
532
541
  modelValue: { type: [String, Boolean, Number] },
@@ -543,78 +552,78 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
543
552
  },
544
553
  emits: ["update:modelValue"],
545
554
  setup(e, { emit: o }) {
546
- const t = e, n = o, a = we();
547
- function i() {
548
- t.readonly !== !0 && n(
555
+ const l = e, n = o, a = ne();
556
+ function s() {
557
+ l.readonly !== !0 && n(
549
558
  "update:modelValue",
550
- t.type === "radio" ? t.val : t.numeric ? t.modelValue ? 0 : 1 : !t.modelValue
559
+ l.type === "radio" ? l.val : l.numeric ? l.modelValue ? 0 : 1 : !l.modelValue
551
560
  );
552
561
  }
553
- return (l, s) => (u(), I(ne, {
554
- required: l.required,
555
- type: l.type,
556
- readonly: l.readonly
562
+ return (t, r) => (u(), I(ae, {
563
+ required: t.required,
564
+ type: t.type,
565
+ readonly: t.readonly
557
566
  }, {
558
- default: $(() => [
559
- r("label", {
567
+ default: k(() => [
568
+ d("label", {
560
569
  class: v([
561
570
  "konnectio-click-box-container",
562
- { "is-readonly": l.readonly },
563
- { "has-label": l.label || y(a).default },
564
- l.type === "radio" ? "radio" : "checkbox"
571
+ { "is-readonly": t.readonly },
572
+ { "has-label": t.label || f(a).default },
573
+ t.type === "radio" ? "radio" : "checkbox"
565
574
  ])
566
575
  }, [
567
- r("input", Se(l.$attrs, {
568
- required: !!l.required,
569
- type: l.type,
570
- name: l.name,
576
+ d("input", ke(t.$attrs, {
577
+ required: !!t.required,
578
+ type: t.type,
579
+ name: t.name,
571
580
  class: "hidden",
572
- readonly: !!l.readonly,
573
- disabled: !!l.readonly,
574
- value: l.type === "radio" ? l.val : l.modelValue,
575
- checked: l.type === "radio" ? l.val === l.modelValue : !!l.modelValue,
576
- onChange: s[0] || (s[0] = (d) => i())
577
- }), null, 16, Xe),
578
- r("div", {
581
+ readonly: !!t.readonly,
582
+ disabled: !!t.readonly,
583
+ value: t.type === "radio" ? t.val : t.modelValue,
584
+ checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue,
585
+ onChange: r[0] || (r[0] = (i) => s())
586
+ }), null, 16, Ze),
587
+ d("div", {
579
588
  class: v([
580
589
  "konnectio-click-box",
581
- { checked: l.type === "radio" ? l.val === l.modelValue : !!l.modelValue }
590
+ { checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue }
582
591
  ]),
583
592
  tabindex: "0",
584
- style: q(l.inputStyle),
585
- "data-test": l.name,
586
- onKeyup: s[1] || (s[1] = ke((d) => i(), ["enter"]))
587
- }, null, 46, Ze),
588
- l.label ? (u(), m("div", {
593
+ style: q(t.inputStyle),
594
+ "data-test": t.name,
595
+ onKeyup: r[1] || (r[1] = Ce((i) => s(), ["enter"]))
596
+ }, null, 46, Qe),
597
+ t.label ? (u(), m("div", {
589
598
  key: 0,
590
- class: v(["konnectio-click-box-label", "text-hover", { "with-price": l.price }])
599
+ class: v(["konnectio-click-box-label", "text-hover", { "with-price": t.price }])
591
600
  }, [
592
- r("span", null, b(l.label), 1),
593
- l.price ? (u(), m("span", Qe, b(l.price), 1)) : S("", !0)
594
- ], 2)) : y(a).default ? (u(), m("div", xe, [
595
- V(l.$slots, "default", {}, void 0, !0)
601
+ d("span", null, b(t.label), 1),
602
+ t.price ? (u(), m("span", xe, b(t.price), 1)) : S("", !0)
603
+ ], 2)) : f(a).default ? (u(), m("div", eo, [
604
+ B(t.$slots, "default", {}, void 0, !0)
596
605
  ])) : S("", !0)
597
606
  ], 2)
598
607
  ]),
599
608
  _: 3
600
609
  }, 8, ["required", "type", "readonly"]));
601
610
  }
602
- }), po = /* @__PURE__ */ z(eo, [["__scopeId", "data-v-f6e8dfe3"]]), oo = {
611
+ }), vo = /* @__PURE__ */ z(oo, [["__scopeId", "data-v-f6e8dfe3"]]), to = {
603
612
  href: "https://policies.google.com/privacy",
604
613
  target: "_blank"
605
- }, to = {
614
+ }, lo = {
606
615
  href: "https://policies.google.com/terms",
607
616
  target: "_blank"
608
- }, lo = /* @__PURE__ */ C({
617
+ }, no = /* @__PURE__ */ $({
609
618
  __name: "GoogleNotice",
610
619
  setup(e) {
611
- const { t: o } = Ve();
612
- return (t, n) => (u(), m("span", null, [
613
- W(b(y(o)("googleNotice")) + " ", 1),
614
- r("a", oo, b(y(o)("googlePrivacyPolicy")), 1),
615
- W(" " + b(y(o)("googleAnd")) + " ", 1),
616
- r("a", to, b(y(o)("googleTOS")), 1),
617
- W(" " + b(y(o)("googleApply")) + ". ", 1)
620
+ const { t: o } = Ie();
621
+ return (l, n) => (u(), m("span", null, [
622
+ W(b(f(o)("googleNotice")) + " ", 1),
623
+ d("a", to, b(f(o)("googlePrivacyPolicy")), 1),
624
+ W(" " + b(f(o)("googleAnd")) + " ", 1),
625
+ d("a", lo, b(f(o)("googleTOS")), 1),
626
+ W(" " + b(f(o)("googleApply")) + ". ", 1)
618
627
  ]));
619
628
  }
620
629
  });
@@ -640,29 +649,29 @@ function le(e) {
640
649
  }
641
650
  });
642
651
  }
643
- typeof le == "function" && le(lo);
644
- const no = (e) => (Ce("data-v-853041a4"), e = e(), $e(), e), ao = /* @__PURE__ */ no(() => /* @__PURE__ */ r("div", { id: "konnectio-payment-checkout" }, null, -1)), io = [
645
- ao
646
- ], ro = /* @__PURE__ */ C({
652
+ typeof le == "function" && le(no);
653
+ const ao = (e) => ($e("data-v-853041a4"), e = e(), Be(), e), io = /* @__PURE__ */ ao(() => /* @__PURE__ */ d("div", { id: "konnectio-payment-checkout" }, null, -1)), ro = [
654
+ io
655
+ ], so = /* @__PURE__ */ $({
647
656
  __name: "CheckoutWindow",
648
657
  setup(e) {
649
- const { paymentGatewayId: o } = Pe(Te());
658
+ const { paymentGatewayId: o } = He(Pe());
650
659
  return j(() => {
651
- const t = document.createElement("script"), n = document.createElement("script");
652
- 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);
653
- }), (t, n) => (u(), m("div", null, [
654
- r("div", {
660
+ const l = document.createElement("script"), n = document.createElement("script");
661
+ 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);
662
+ }), (l, n) => (u(), m("div", null, [
663
+ d("div", {
655
664
  id: "konnectio-payment-checkout-wrapper",
656
- class: v({ reePay: y(o) === y(Ie).ReePay })
657
- }, io, 2)
665
+ class: v({ reePay: f(o) === f(Te).ReePay })
666
+ }, ro, 2)
658
667
  ]));
659
668
  }
660
- }), yo = /* @__PURE__ */ z(ro, [["__scopeId", "data-v-853041a4"]]);
669
+ }), mo = /* @__PURE__ */ z(so, [["__scopeId", "data-v-853041a4"]]);
661
670
  export {
662
- co as B,
663
- yo as C,
664
- fo as P,
665
- lo as _,
666
- po as a
671
+ po as B,
672
+ vo as C,
673
+ yo as P,
674
+ no as _,
675
+ mo as a
667
676
  };
668
- //# sourceMappingURL=CheckoutWindow-DufEgcza.js.map
677
+ //# sourceMappingURL=CheckoutWindow-DDFex8_M.js.map