@konnectio/core 4.0.62 → 4.0.64

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 (72) hide show
  1. package/dist/{ActionField-8uyqR4s2.js → ActionField-D28Pe5Bb.js} +33 -25
  2. package/dist/ActionField-D28Pe5Bb.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-DR0TlG1c.js → AvailabilitySkeleton-BGEhEqa-.js} +123 -115
  4. package/dist/AvailabilitySkeleton-BGEhEqa-.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-IMAsOOYG.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CFzvon5m.js} +1089 -1081
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CFzvon5m.js.br +0 -0
  7. package/dist/{CheckoutWindow-b6nqgL-q.js → CheckoutWindow-Cv7p0DrF.js} +174 -166
  8. package/dist/CheckoutWindow-Cv7p0DrF.js.br +0 -0
  9. package/dist/{ErrorMessage-CTB9P7th.js → ErrorMessage-T11Ou3eh.js} +24 -16
  10. package/dist/ErrorMessage-T11Ou3eh.js.br +0 -0
  11. package/dist/EventAvailabilityForm-DeqQKdKV.js +125 -0
  12. package/dist/EventAvailabilityForm-DeqQKdKV.js.br +0 -0
  13. package/dist/Field-DcoRYqr8.js +58 -0
  14. package/dist/Field-DcoRYqr8.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C-2VAK1P.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js} +2031 -2022
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js.br +0 -0
  17. package/dist/TermsOfService-CL0zaNw_.js +44 -0
  18. package/dist/TermsOfService-CL0zaNw_.js.br +0 -0
  19. package/dist/_-C5tf0vwv.js +20 -0
  20. package/dist/_.vue_vue_type_style_index_0_lang-BWAizmh6.js +77 -0
  21. package/dist/_.vue_vue_type_style_index_0_lang-BWAizmh6.js.br +0 -0
  22. package/dist/{_commonjsHelpers-DZ_3pocK.js → _commonjsHelpers-BeCRh3Xf.js} +618 -558
  23. package/dist/_commonjsHelpers-BeCRh3Xf.js.br +0 -0
  24. package/dist/{_sentry-release-injection-file-gnd2S326.js → _sentry-release-injection-file-CY9ljBue.js} +1643 -1635
  25. package/dist/_sentry-release-injection-file-CY9ljBue.js.br +0 -0
  26. package/dist/availability.js +67 -59
  27. package/dist/availability.js.br +0 -0
  28. package/dist/deep-link.js +29 -21
  29. package/dist/deep-link.js.br +0 -0
  30. package/dist/event.js +276 -260
  31. package/dist/event.js.br +0 -0
  32. package/dist/gift-card-validation.js +71 -63
  33. package/dist/gift-card-validation.js.br +0 -0
  34. package/dist/gift-card.js +137 -129
  35. package/dist/gift-card.js.br +0 -0
  36. package/dist/giftCard-CHf9cbmB.js +134 -0
  37. package/dist/giftCard-CHf9cbmB.js.br +0 -0
  38. package/dist/hotel.js +812 -803
  39. package/dist/hotel.js.br +0 -0
  40. package/dist/{masonry.plugin-BNjra0SH.js → masonry.plugin-q1wqMEhq.js} +860 -852
  41. package/dist/masonry.plugin-q1wqMEhq.js.br +0 -0
  42. package/dist/{mitt-B7XZkC8D.js → mitt-CZC0Vuw7.js} +505 -497
  43. package/dist/mitt-CZC0Vuw7.js.br +0 -0
  44. package/dist/polyfill.js +6472 -6259
  45. package/dist/polyfill.js.br +0 -0
  46. package/dist/{style-lYuGbuqk.js → style-Di3bMYae.js} +392 -384
  47. package/dist/style-Di3bMYae.js.br +0 -0
  48. package/dist/style.css +1 -1
  49. package/dist/style.css.br +0 -0
  50. package/package.json +8 -8
  51. package/dist/ActionField-8uyqR4s2.js.br +0 -0
  52. package/dist/AvailabilitySkeleton-DR0TlG1c.js.br +0 -0
  53. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-IMAsOOYG.js.br +0 -0
  54. package/dist/CheckoutWindow-b6nqgL-q.js.br +0 -0
  55. package/dist/ErrorMessage-CTB9P7th.js.br +0 -0
  56. package/dist/EventAvailabilityForm-Dz_XUv-P.js +0 -117
  57. package/dist/EventAvailabilityForm-Dz_XUv-P.js.br +0 -0
  58. package/dist/Field-D74LzwJ5.js +0 -50
  59. package/dist/Field-D74LzwJ5.js.br +0 -0
  60. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C-2VAK1P.js.br +0 -0
  61. package/dist/TermsOfService-BWi7ax17.js +0 -36
  62. package/dist/TermsOfService-BWi7ax17.js.br +0 -0
  63. package/dist/_-D5EdBcrp.js +0 -12
  64. package/dist/_.vue_vue_type_style_index_0_lang-DXnzUVHn.js +0 -69
  65. package/dist/_.vue_vue_type_style_index_0_lang-DXnzUVHn.js.br +0 -0
  66. package/dist/_commonjsHelpers-DZ_3pocK.js.br +0 -0
  67. package/dist/_sentry-release-injection-file-gnd2S326.js.br +0 -0
  68. package/dist/giftCard-Dl1tPQsP.js +0 -126
  69. package/dist/giftCard-Dl1tPQsP.js.br +0 -0
  70. package/dist/masonry.plugin-BNjra0SH.js.br +0 -0
  71. package/dist/mitt-B7XZkC8D.js.br +0 -0
  72. package/dist/style-lYuGbuqk.js.br +0 -0
@@ -1,49 +1,57 @@
1
- import { d as $, a as u, g as m, r as c, o as j, a3 as me, a4 as he, z as Z, c as U, I as ge, b as I, e as d, f as H, w as k, A as J, B as Q, P as q, T as x, n as v, l as B, i as S, Z as be, D as we, m as ne, q as Se, u as f, t as b, X as ke, a0 as Ce, x as W, p as $e, j as Be } from "./_sentry-release-injection-file-gnd2S326.js";
2
- import { I as Ve, _ as z, D as ee, T as oe, q as ae, e as Pe, P as Te } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C-2VAK1P.js";
3
- import { u as Ie, s as He } from "./mitt-B7XZkC8D.js";
1
+ import { d as $, a as u, g as m, r as c, o as G, a3 as he, a4 as ge, z as J, c as W, I as be, b as I, e as d, f as A, w as k, A as Q, B as x, P as D, T as ee, n as v, l as B, i as S, Z as we, D as Se, m as ae, q as ke, u as f, t as b, X as Ce, a0 as $e, x as _, p as Be, j as Ve } from "./_sentry-release-injection-file-CY9ljBue.js";
2
+ import { I as Pe, _ as z, D as oe, T as te, q as ie, e as Te, P as Ie } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js";
3
+ import { u as Ae, s as He } from "./mitt-CZC0Vuw7.js";
4
4
  (function() {
5
5
  try {
6
6
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, o = new Error().stack;
7
- o && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[o] = "902df770-1c38-424c-94c3-d1a73d2a08aa", e._sentryDebugIdIdentifier = "sentry-dbid-902df770-1c38-424c-94c3-d1a73d2a08aa");
7
+ o && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[o] = "59dec9f6-70c1-4890-ba65-c21dcfd35073", e._sentryDebugIdIdentifier = "sentry-dbid-59dec9f6-70c1-4890-ba65-c21dcfd35073");
8
8
  } catch {
9
9
  }
10
10
  })();
11
- function Ae(e) {
11
+ {
12
+ var q = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
13
+ q._sentryModuleMetadata = q._sentryModuleMetadata || {}, q._sentryModuleMetadata[new Error().stack] = Object.assign(
14
+ {},
15
+ q._sentryModuleMetadata[new Error().stack],
16
+ { "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
17
+ );
18
+ }
19
+ function Ne(e) {
12
20
  if (Array.isArray(e)) {
13
- for (var o = 0, l = Array(e.length); o < e.length; o++)
14
- l[o] = e[o];
15
- return l;
21
+ for (var o = 0, n = Array(e.length); o < e.length; o++)
22
+ n[o] = e[o];
23
+ return n;
16
24
  } else
17
25
  return Array.from(e);
18
26
  }
19
- var Y = !1;
27
+ var K = !1;
20
28
  if (typeof window < "u") {
21
- var te = {
29
+ var ne = {
22
30
  get passive() {
23
- Y = !0;
31
+ K = !0;
24
32
  }
25
33
  };
26
- window.addEventListener("testPassive", null, te), window.removeEventListener("testPassive", null, te);
34
+ window.addEventListener("testPassive", null, ne), window.removeEventListener("testPassive", null, ne);
27
35
  }
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));
36
+ 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, de = -1, P = void 0, w = void 0, T = void 0, re = function(o) {
37
+ return C.some(function(n) {
38
+ return !!(n.options.allowTouchMove && n.options.allowTouchMove(o));
31
39
  });
32
- }, O = 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) {
40
+ }, M = function(o) {
41
+ var n = o || window.event;
42
+ return re(n.target) || n.touches.length > 1 ? !0 : (n.preventDefault && n.preventDefault(), !1);
43
+ }, qe = function(o) {
36
44
  if (T === void 0) {
37
- var l = !!o && o.reserveScrollBarGap === !0, n = window.innerWidth - document.documentElement.clientWidth;
38
- if (l && n > 0) {
45
+ var n = !!o && o.reserveScrollBarGap === !0, l = window.innerWidth - document.documentElement.clientWidth;
46
+ if (n && l > 0) {
39
47
  var a = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"), 10);
40
- T = document.body.style.paddingRight, document.body.style.paddingRight = a + n + "px";
48
+ T = document.body.style.paddingRight, document.body.style.paddingRight = a + l + "px";
41
49
  }
42
50
  }
43
51
  P === void 0 && (P = document.body.style.overflow, document.body.style.overflow = "hidden");
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
52
  }, De = function() {
53
+ T !== void 0 && (document.body.style.paddingRight = T, T = void 0), P !== void 0 && (document.body.style.overflow = P, P = void 0);
54
+ }, Ee = function() {
47
55
  return window.requestAnimationFrame(function() {
48
56
  if (w === void 0) {
49
57
  w = {
@@ -51,26 +59,26 @@ var D = typeof window < "u" && window.navigator && window.navigator.platform &&
51
59
  top: document.body.style.top,
52
60
  left: document.body.style.left
53
61
  };
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() {
62
+ var o = window, n = o.scrollY, l = o.scrollX, a = o.innerHeight;
63
+ document.body.style.position = "fixed", document.body.style.top = -n, document.body.style.left = -l, setTimeout(function() {
56
64
  return window.requestAnimationFrame(function() {
57
65
  var s = a - window.innerHeight;
58
- s && l >= a && (document.body.style.top = -(l + s));
66
+ s && n >= a && (document.body.style.top = -(n + s));
59
67
  });
60
68
  }, 300);
61
69
  }
62
70
  });
63
- }, Ee = function() {
71
+ }, Oe = function() {
64
72
  if (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;
73
+ var o = -parseInt(document.body.style.top, 10), n = -parseInt(document.body.style.left, 10);
74
+ document.body.style.position = w.position, document.body.style.top = w.top, document.body.style.left = w.left, window.scrollTo(n, o), w = void 0;
67
75
  }
68
- }, Oe = function(o) {
76
+ }, Me = function(o) {
69
77
  return o ? o.scrollHeight - o.scrollTop <= o.clientHeight : !1;
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
- }, Me = function(o, l) {
78
+ }, ze = function(o, n) {
79
+ var l = o.targetTouches[0].clientY - de;
80
+ return re(o.target) ? !1 : n && n.scrollTop === 0 && l > 0 || Me(n) && l < 0 ? M(o) : (o.stopPropagation(), !0);
81
+ }, Le = function(o, n) {
74
82
  if (!o) {
75
83
  console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");
76
84
  return;
@@ -78,49 +86,49 @@ var D = typeof window < "u" && window.navigator && window.navigator.platform &&
78
86
  if (!C.some(function(a) {
79
87
  return a.targetElement === o;
80
88
  })) {
81
- var n = {
89
+ var l = {
82
90
  targetElement: o,
83
- options: l || {}
91
+ options: n || {}
84
92
  };
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);
93
+ C = [].concat(Ne(C), [l]), E ? Ee() : qe(n), E && (o.ontouchstart = function(a) {
94
+ a.targetTouches.length === 1 && (de = a.targetTouches[0].clientY);
87
95
  }, o.ontouchmove = function(a) {
88
96
  a.targetTouches.length === 1 && ze(a, o);
89
- }, E || (document.addEventListener("touchmove", O, Y ? { passive: !1 } : void 0), E = !0));
97
+ }, O || (document.addEventListener("touchmove", M, K ? { passive: !1 } : void 0), O = !0));
90
98
  }
91
- }, Le = function(o) {
99
+ }, Fe = function(o) {
92
100
  if (!o) {
93
101
  console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");
94
102
  return;
95
103
  }
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, Y ? { passive: !1 } : void 0), E = !1)), D ? Ee() : qe();
99
- }, _ = $({
104
+ C = C.filter(function(n) {
105
+ return n.targetElement !== o;
106
+ }), E && (o.ontouchstart = null, o.ontouchmove = null, O && C.length === 0 && (document.removeEventListener("touchmove", M, K ? { passive: !1 } : void 0), O = !1)), E ? Oe() : De();
107
+ }, Y = $({
100
108
  name: "SidePanelCloseButton",
101
109
  emits: ["close"]
102
110
  });
103
- const Fe = /* @__PURE__ */ d(
111
+ const Re = /* @__PURE__ */ d(
104
112
  "span",
105
113
  { class: "vsp-close__x" },
106
114
  null,
107
115
  -1
108
116
  /* HOISTED */
109
- ), Re = [
110
- Fe
117
+ ), Ue = [
118
+ Re
111
119
  ];
112
- function Ge(e, o, l, n, a, s) {
120
+ function je(e, o, n, l, a, s) {
113
121
  return u(), m("div", {
114
122
  class: "vsp-close",
115
123
  onClick: o[0] || (o[0] = (t) => e.$emit("close"))
116
- }, [...Re]);
124
+ }, [...Ue]);
117
125
  }
118
- _.render = Ge;
119
- _.__file = "src/components/SidePanelCloseButton.vue";
120
- var K = $({
126
+ Y.render = je;
127
+ Y.__file = "src/components/SidePanelCloseButton.vue";
128
+ var X = $({
121
129
  name: "VueSidePanel",
122
130
  components: {
123
- SidePanelCloseButton: _
131
+ SidePanelCloseButton: Y
124
132
  },
125
133
  props: {
126
134
  idName: {
@@ -207,54 +215,54 @@ var K = $({
207
215
  }
208
216
  },
209
217
  emits: ["update:modelValue", "closed", "opened"],
210
- setup(e, { emit: o, attrs: l }) {
211
- let n;
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), M = c(0), L = c(0), F = c(), X = c(!1), V = async () => {
213
- window?.innerHeight > 0 && (L.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, M.value = a.value ? a.value.clientHeight : 0;
214
- }, re = () => o("update:modelValue", !1), R = (y, g) => {
218
+ setup(e, { emit: o, attrs: n }) {
219
+ let l;
220
+ const a = c(null), s = c(null), t = c(null), r = c(null), i = c(null), p = c(0), h = c(0), H = c(0), L = c(0), F = c(0), R = c(), Z = c(!1), V = async () => {
221
+ window?.innerHeight > 0 && (F.value = window.innerHeight), p.value = t.value ? t.value.clientHeight : 0, H.value = r.value ? r.value.clientHeight : 0, h.value = i.value ? i.value.scrollHeight : 0, L.value = a.value ? a.value.clientHeight : 0;
222
+ }, se = () => o("update:modelValue", !1), U = (y, g) => {
215
223
  if (g) {
216
224
  setTimeout(() => {
217
- Me(y, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
225
+ Le(y, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
218
226
  }, 0);
219
227
  return;
220
228
  }
221
- Le(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);
223
- j(() => {
224
- F.value = e.zIndex === "auto" ? se() : e.zIndex;
225
- }), me(() => {
226
- document.getElementById(e.idName) || (n = document.createElement("div"), n.setAttribute("id", e.idName), document.body.appendChild(n));
229
+ Fe(y), e.lockScrollHtml && document.documentElement.style.removeProperty("overflow");
230
+ }, ue = () => Math.max(...Array.from(document.querySelectorAll("body *"), (y) => parseFloat(window.getComputedStyle(y).zIndex)).filter((y) => !Number.isNaN(y)), 0);
231
+ G(() => {
232
+ R.value = e.zIndex === "auto" ? ue() : e.zIndex;
227
233
  }), he(() => {
234
+ document.getElementById(e.idName) || (l = document.createElement("div"), l.setAttribute("id", e.idName), document.body.appendChild(l));
235
+ }), ge(() => {
228
236
  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
- }), Z(() => [r.value, t.value, e.height, e.width, e.side, e.modelValue], () => {
231
- we(() => V());
232
- }), Z(() => [e.modelValue, a.value], (y, g) => {
233
- const pe = g ? g[0] : !1, [G, N] = y, ye = G, ve = pe && !G;
237
+ g && a.value && y && U(a.value, !1), l && document.body.removeChild(l), window.removeEventListener("resize", V);
238
+ }), J(() => [r.value, t.value, e.height, e.width, e.side, e.modelValue], () => {
239
+ Se(() => V());
240
+ }), J(() => [e.modelValue, a.value], (y, g) => {
241
+ const ye = g ? g[0] : !1, [j, N] = y, ve = j, me = ye && !j;
234
242
  if (N) {
235
- if (ye && (X.value = !!document.body.style.overflow), G) {
236
- e.lockScroll && R(N, !0), V(), window.addEventListener("resize", V);
243
+ if (ve && (Z.value = !!document.body.style.overflow), j) {
244
+ e.lockScroll && U(N, !0), V(), window.addEventListener("resize", V);
237
245
  return;
238
246
  }
239
- !e.lockScroll || !ve || X.value || (setTimeout(() => {
240
- N && R(N, !1);
247
+ !e.lockScroll || !me || Z.value || (setTimeout(() => {
248
+ N && U(N, !1);
241
249
  }, e.panelDuration), window.removeEventListener("resize", V));
242
250
  }
243
251
  }, { immediate: !0 });
244
- const ue = U(() => {
245
- if (!M.value)
252
+ const ce = W(() => {
253
+ if (!L.value)
246
254
  return;
247
- const y = h.value + A.value + p.value;
248
- let g = M.value - A.value - p.value;
249
- return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g = L.value >= y ? h.value : L.value - A.value - p.value), g;
250
- }), ce = U(() => ({
251
- zIndex: F.value,
255
+ const y = h.value + H.value + p.value;
256
+ let g = L.value - H.value - p.value;
257
+ return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g = F.value >= y ? h.value : F.value - H.value - p.value), g;
258
+ }), fe = W(() => ({
259
+ zIndex: R.value,
252
260
  animationDuration: `${e.overlayDuration}ms`,
253
261
  "--overlay-opacity": e.overlayOpacity,
254
262
  opacity: e.modelValue ? e.overlayOpacity : 0,
255
263
  backgroundColor: e.overlayColor,
256
264
  pointerEvents: e.modelValue ? "all" : "none"
257
- })), fe = U(() => ({
265
+ })), pe = W(() => ({
258
266
  width: ["left", "right"].includes(e.side) ? e.width : void 0,
259
267
  maxWidth: "100%",
260
268
  ...["top", "bottom"].includes(e.side) ? {
@@ -262,27 +270,27 @@ var K = $({
262
270
  height: e.height,
263
271
  maxHeight: "100%"
264
272
  } : {},
265
- zIndex: F.value,
273
+ zIndex: R.value,
266
274
  backgroundColor: e.panelColor,
267
275
  animationDuration: `${e.panelDuration}ms`,
268
- ...Object.assign({}, l.style)
276
+ ...Object.assign({}, n.style)
269
277
  }));
270
278
  return {
271
279
  body: i,
272
280
  panel: a,
273
281
  overlay: s,
274
- overlayStyles: ce,
282
+ overlayStyles: fe,
275
283
  header: r,
276
284
  footer: t,
277
- closePanel: re,
278
- panelStyles: fe,
279
- bodyHeight: ue
285
+ closePanel: se,
286
+ panelStyles: pe,
287
+ bodyHeight: ce
280
288
  };
281
289
  }
282
290
  });
283
- function Ue(e, o, l, n, a, s) {
284
- const t = ge("SidePanelCloseButton");
285
- return u(), I(be, {
291
+ function We(e, o, n, l, a, s) {
292
+ const t = be("SidePanelCloseButton");
293
+ return u(), I(we, {
286
294
  to: `#${e.idName}`
287
295
  }, [
288
296
  d(
@@ -291,42 +299,42 @@ function Ue(e, o, l, n, a, s) {
291
299
  class: v(["vsp-wrapper", [e.modelValue && "vsp-wrapper--active"]])
292
300
  },
293
301
  [
294
- H(x, {
302
+ A(ee, {
295
303
  name: "overlay",
296
304
  persisted: ""
297
305
  }, {
298
306
  default: k(() => [
299
- J(d(
307
+ Q(d(
300
308
  "div",
301
309
  {
302
310
  ref: "overlay",
303
311
  class: "vsp-overlay",
304
- style: q(e.overlayStyles),
312
+ style: D(e.overlayStyles),
305
313
  onClick: o[0] || (o[0] = () => e.noClose ? void 0 : e.closePanel())
306
314
  },
307
315
  null,
308
316
  4
309
317
  /* STYLE */
310
318
  ), [
311
- [Q, e.modelValue]
319
+ [x, e.modelValue]
312
320
  ])
313
321
  ]),
314
322
  _: 1
315
323
  /* STABLE */
316
324
  }),
317
- H(x, {
325
+ A(ee, {
318
326
  name: e.transitionName || `slide-${e.side}`,
319
327
  onAfterEnter: o[1] || (o[1] = (r) => e.$emit("opened")),
320
328
  onAfterLeave: o[2] || (o[2] = (r) => e.$emit("closed"))
321
329
  }, {
322
330
  default: k(() => [
323
- !e.rerender || e.modelValue ? J((u(), m(
331
+ !e.rerender || e.modelValue ? Q((u(), m(
324
332
  "div",
325
333
  {
326
334
  key: 0,
327
335
  ref: "panel",
328
336
  class: v(["vsp", [`vsp--${e.side}-side`, e.$attrs.class]]),
329
- style: q(e.panelStyles)
337
+ style: D(e.panelStyles)
330
338
  },
331
339
  [
332
340
  e.$slots.header ? (u(), m(
@@ -347,7 +355,7 @@ function Ue(e, o, l, n, a, s) {
347
355
  {
348
356
  ref: "body",
349
357
  class: v([e.bodyClass, "vsp__body"]),
350
- style: q({ height: `${e.bodyHeight}px` })
358
+ style: D({ height: `${e.bodyHeight}px` })
351
359
  },
352
360
  [
353
361
  B(e.$slots, "default", { close: e.closePanel }),
@@ -376,7 +384,7 @@ function Ue(e, o, l, n, a, s) {
376
384
  6
377
385
  /* CLASS, STYLE */
378
386
  )), [
379
- [Q, e.rerender ? !0 : e.modelValue]
387
+ [x, e.rerender ? !0 : e.modelValue]
380
388
  ]) : S("v-if", !0)
381
389
  ]),
382
390
  _: 3
@@ -388,12 +396,12 @@ function Ue(e, o, l, n, a, s) {
388
396
  )
389
397
  ], 8, ["to"]);
390
398
  }
391
- K.render = Ue;
392
- K.__file = "src/components/SidePanel.vue";
393
- const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-panel-title" }, Ye = {
399
+ X.render = We;
400
+ X.__file = "src/components/SidePanel.vue";
401
+ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-panel-title" }, Ke = {
394
402
  key: 0,
395
403
  id: "konnectio-side-panel-subtitle"
396
- }, _e = ["innerHTML"], Ke = /* @__PURE__ */ $({
404
+ }, Ye = ["innerHTML"], Xe = /* @__PURE__ */ $({
397
405
  __name: "Base",
398
406
  props: {
399
407
  modelValue: { type: Boolean },
@@ -408,14 +416,14 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
408
416
  },
409
417
  emits: ["update:modelValue", "opened", "closed"],
410
418
  setup(e, { emit: o }) {
411
- const l = o, n = ne();
419
+ const n = o, l = ae();
412
420
  function a() {
413
- l("closed");
421
+ n("closed");
414
422
  }
415
423
  function s() {
416
- l("opened");
424
+ n("opened");
417
425
  }
418
- return (t, r) => (u(), I(f(K), {
426
+ return (t, r) => (u(), I(f(X), {
419
427
  modelValue: t.modelValue,
420
428
  "lock-scroll": t.lockScroll,
421
429
  "hide-close-btn": t.hideCloseButton,
@@ -423,23 +431,23 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
423
431
  "onUpdate:modelValue": r[1] || (r[1] = (i) => t.$emit("update:modelValue", i)),
424
432
  onClosed: a,
425
433
  onOpened: s
426
- }, Se({
434
+ }, ke({
427
435
  header: k(() => [
428
- d("div", We, [
429
- d("h2", je, [
436
+ d("div", _e, [
437
+ d("h2", Ge, [
430
438
  d("span", null, b(t.title), 1),
431
439
  d("button", {
432
440
  id: "konnectio-side-panel-close",
433
441
  onClick: r[0] || (r[0] = (i) => t.$emit("update:modelValue", !1))
434
442
  }, [
435
- H(Ve, {
443
+ A(Pe, {
436
444
  icon: "times",
437
445
  type: "fas",
438
446
  color: "header"
439
447
  })
440
448
  ])
441
449
  ]),
442
- t.subtitle ? (u(), m("h4", Ye, [
450
+ t.subtitle ? (u(), m("h4", Ke, [
443
451
  d("span", null, b(t.subtitle), 1)
444
452
  ])) : S("", !0)
445
453
  ])
@@ -449,13 +457,13 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
449
457
  d("div", {
450
458
  class: "konnectio-side-panel-description",
451
459
  innerHTML: t.description
452
- }, null, 8, _e),
460
+ }, null, 8, Ye),
453
461
  B(t.$slots, "default", {}, void 0, !0)
454
462
  ])
455
463
  ]),
456
464
  _: 2
457
465
  }, [
458
- f(n).footer ? {
466
+ f(l).footer ? {
459
467
  name: "footer",
460
468
  fn: k(() => [
461
469
  B(t.$slots, "footer", {}, void 0, !0)
@@ -464,7 +472,7 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
464
472
  } : void 0
465
473
  ]), 1032, ["modelValue", "lock-scroll", "hide-close-btn", "width"]));
466
474
  }
467
- }), po = /* @__PURE__ */ z(Ke, [["__scopeId", "data-v-c027dd25"]]), Xe = { class: "fresh-booking-phone-input" }, Ze = /* @__PURE__ */ $({
475
+ }), yo = /* @__PURE__ */ z(Xe, [["__scopeId", "data-v-c027dd25"]]), Ze = { class: "konnectio-phone-input" }, Je = /* @__PURE__ */ $({
468
476
  __name: "PhoneField",
469
477
  props: {
470
478
  modelValue: {},
@@ -480,16 +488,16 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
480
488
  },
481
489
  emits: ["update:modelValue"],
482
490
  setup(e, { emit: o }) {
483
- const l = o, n = e, a = n.id || ee(), s = c("+45"), t = c("");
491
+ const n = o, l = e, a = l.id || oe(), s = c("+45"), t = c("");
484
492
  function r() {
485
- l("update:modelValue", `${s.value} ${t.value}`);
493
+ n("update:modelValue", `${s.value} ${t.value}`);
486
494
  }
487
- return j(() => {
488
- if (n.modelValue) {
489
- const i = n.modelValue.split(" ");
495
+ return G(() => {
496
+ if (l.modelValue) {
497
+ const i = l.modelValue.split(" ");
490
498
  s.value = i[0], t.value = i[1];
491
499
  }
492
- }), (i, p) => (u(), I(ae, {
500
+ }), (i, p) => (u(), I(ie, {
493
501
  label: i.label,
494
502
  id: f(a),
495
503
  type: "phone",
@@ -497,12 +505,12 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
497
505
  readonly: i.readonly
498
506
  }, {
499
507
  default: k(() => [
500
- d("div", Xe, [
501
- H(oe, {
508
+ d("div", Ze, [
509
+ A(te, {
502
510
  modelValue: s.value,
503
511
  "onUpdate:modelValue": p[0] || (p[0] = (h) => s.value = h),
504
512
  type: "text",
505
- id: f(ee)(),
513
+ id: f(oe)(),
506
514
  name: "phone-code",
507
515
  autocomplete: "tel-country-code",
508
516
  icon: i.icon,
@@ -514,7 +522,7 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
514
522
  "input-style": i.inputStyle,
515
523
  onInput: p[1] || (p[1] = (h) => r())
516
524
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly", "input-style"]),
517
- H(oe, {
525
+ A(te, {
518
526
  modelValue: t.value,
519
527
  "onUpdate:modelValue": p[2] || (p[2] = (h) => t.value = h),
520
528
  type: "number",
@@ -532,10 +540,10 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
532
540
  _: 1
533
541
  }, 8, ["label", "id", "required", "readonly"]));
534
542
  }
535
- }), yo = /* @__PURE__ */ z(Ze, [["__scopeId", "data-v-5cd094ab"]]), Je = ["required", "type", "name", "readonly", "disabled", "value", "checked"], Qe = ["data-test"], xe = { key: 0 }, eo = {
543
+ }), vo = /* @__PURE__ */ z(Je, [["__scopeId", "data-v-89427ae0"]]), Qe = ["required", "type", "name", "readonly", "disabled", "value", "checked"], xe = ["data-test"], eo = { key: 0 }, oo = {
536
544
  key: 1,
537
545
  class: /* @__PURE__ */ v(["konnectio-click-box-label", "inline"])
538
- }, oo = /* @__PURE__ */ $({
546
+ }, to = /* @__PURE__ */ $({
539
547
  __name: "Checkbox",
540
548
  props: {
541
549
  modelValue: { type: [String, Boolean, Number] },
@@ -552,14 +560,14 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
552
560
  },
553
561
  emits: ["update:modelValue"],
554
562
  setup(e, { emit: o }) {
555
- const l = e, n = o, a = ne();
563
+ const n = e, l = o, a = ae();
556
564
  function s() {
557
- l.readonly !== !0 && n(
565
+ n.readonly !== !0 && l(
558
566
  "update:modelValue",
559
- l.type === "radio" ? l.val : l.numeric ? l.modelValue ? 0 : 1 : !l.modelValue
567
+ n.type === "radio" ? n.val : n.numeric ? n.modelValue ? 0 : 1 : !n.modelValue
560
568
  );
561
569
  }
562
- return (t, r) => (u(), I(ae, {
570
+ return (t, r) => (u(), I(ie, {
563
571
  required: t.required,
564
572
  type: t.type,
565
573
  readonly: t.readonly
@@ -573,7 +581,7 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
573
581
  t.type === "radio" ? "radio" : "checkbox"
574
582
  ])
575
583
  }, [
576
- d("input", ke(t.$attrs, {
584
+ d("input", Ce(t.$attrs, {
577
585
  required: !!t.required,
578
586
  type: t.type,
579
587
  name: t.name,
@@ -583,24 +591,24 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
583
591
  value: t.type === "radio" ? t.val : t.modelValue,
584
592
  checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue,
585
593
  onChange: r[0] || (r[0] = (i) => s())
586
- }), null, 16, Je),
594
+ }), null, 16, Qe),
587
595
  d("div", {
588
596
  class: v([
589
597
  "konnectio-click-box",
590
598
  { checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue }
591
599
  ]),
592
600
  tabindex: "0",
593
- style: q(t.inputStyle),
601
+ style: D(t.inputStyle),
594
602
  "data-test": t.name,
595
- onKeyup: r[1] || (r[1] = Ce((i) => s(), ["enter"]))
596
- }, null, 46, Qe),
603
+ onKeyup: r[1] || (r[1] = $e((i) => s(), ["enter"]))
604
+ }, null, 46, xe),
597
605
  t.label ? (u(), m("div", {
598
606
  key: 0,
599
607
  class: v(["konnectio-click-box-label", "text-hover", { "with-price": t.price }])
600
608
  }, [
601
609
  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, [
610
+ t.price ? (u(), m("span", eo, b(t.price), 1)) : S("", !0)
611
+ ], 2)) : f(a).default ? (u(), m("div", oo, [
604
612
  B(t.$slots, "default", {}, void 0, !0)
605
613
  ])) : S("", !0)
606
614
  ], 2)
@@ -608,22 +616,22 @@ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-pan
608
616
  _: 3
609
617
  }, 8, ["required", "type", "readonly"]));
610
618
  }
611
- }), vo = /* @__PURE__ */ z(oo, [["__scopeId", "data-v-1827c76b"]]), to = {
619
+ }), mo = /* @__PURE__ */ z(to, [["__scopeId", "data-v-1827c76b"]]), no = {
612
620
  href: "https://policies.google.com/privacy",
613
621
  target: "_blank"
614
622
  }, lo = {
615
623
  href: "https://policies.google.com/terms",
616
624
  target: "_blank"
617
- }, no = /* @__PURE__ */ $({
625
+ }, ao = /* @__PURE__ */ $({
618
626
  __name: "GoogleNotice",
619
627
  setup(e) {
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),
628
+ const { t: o } = Ae();
629
+ return (n, l) => (u(), m("span", null, [
630
+ _(b(f(o)("googleNotice")) + " ", 1),
631
+ d("a", no, b(f(o)("googlePrivacyPolicy")), 1),
632
+ _(" " + b(f(o)("googleAnd")) + " ", 1),
625
633
  d("a", lo, b(f(o)("googleTOS")), 1),
626
- W(" " + b(f(o)("googleApply")) + ". ", 1)
634
+ _(" " + b(f(o)("googleApply")) + ". ", 1)
627
635
  ]));
628
636
  }
629
637
  });
@@ -649,29 +657,29 @@ function le(e) {
649
657
  }
650
658
  });
651
659
  }
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__ */ $({
660
+ typeof le == "function" && le(ao);
661
+ const io = (e) => (Be("data-v-853041a4"), e = e(), Ve(), e), ro = /* @__PURE__ */ io(() => /* @__PURE__ */ d("div", { id: "konnectio-payment-checkout" }, null, -1)), so = [
662
+ ro
663
+ ], uo = /* @__PURE__ */ $({
656
664
  __name: "CheckoutWindow",
657
665
  setup(e) {
658
- const { paymentGatewayId: o } = He(Pe());
659
- return j(() => {
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, [
666
+ const { paymentGatewayId: o } = He(Te());
667
+ return G(() => {
668
+ const n = document.createElement("script"), l = document.createElement("script");
669
+ n.setAttribute("src", "https://checkout.dibspayment.eu/v1/checkout.js?v=1"), l.setAttribute("src", "https://checkout.reepay.com/checkout.js"), document.head.appendChild(n), document.head.appendChild(l);
670
+ }), (n, l) => (u(), m("div", null, [
663
671
  d("div", {
664
672
  id: "konnectio-payment-checkout-wrapper",
665
- class: v({ reePay: f(o) === f(Te).ReePay })
666
- }, ro, 2)
673
+ class: v({ reePay: f(o) === f(Ie).ReePay })
674
+ }, so, 2)
667
675
  ]));
668
676
  }
669
- }), mo = /* @__PURE__ */ z(so, [["__scopeId", "data-v-853041a4"]]);
677
+ }), ho = /* @__PURE__ */ z(uo, [["__scopeId", "data-v-853041a4"]]);
670
678
  export {
671
- po as B,
672
- vo as C,
673
- yo as P,
674
- no as _,
675
- mo as a
679
+ yo as B,
680
+ mo as C,
681
+ vo as P,
682
+ ao as _,
683
+ ho as a
676
684
  };
677
- //# sourceMappingURL=CheckoutWindow-b6nqgL-q.js.map
685
+ //# sourceMappingURL=CheckoutWindow-Cv7p0DrF.js.map