@konnectio/core 4.0.82 → 4.0.84

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 (75) hide show
  1. package/dist/ActionField-CLQbtAU7.js +100 -0
  2. package/dist/ActionField-CLQbtAU7.js.br +0 -0
  3. package/dist/AvailabilitySkeleton-BJPo5KGW.js +309 -0
  4. package/dist/AvailabilitySkeleton-BJPo5KGW.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C4S5K4Ed.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CAv6OSp6.js} +1152 -1168
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CAv6OSp6.js.br +0 -0
  7. package/dist/{CheckoutWindow-DoADcN36.js → CheckoutWindow-C9Sa3vci.js} +159 -174
  8. package/dist/CheckoutWindow-C9Sa3vci.js.br +0 -0
  9. package/dist/{ErrorMessage-BxZaXdig.js → ErrorMessage-D6rbHHXd.js} +20 -35
  10. package/dist/ErrorMessage-D6rbHHXd.js.br +0 -0
  11. package/dist/EventAvailabilityForm-D-Q1vxsm.js +110 -0
  12. package/dist/EventAvailabilityForm-D-Q1vxsm.js.br +0 -0
  13. package/dist/Field-CGT9JUe-.js +43 -0
  14. package/dist/Field-CGT9JUe-.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DIbBJOzF.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BR0ZkskY.js} +2819 -2807
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BR0ZkskY.js.br +0 -0
  17. package/dist/TermsOfService-DmwGAt0q.js +28 -0
  18. package/dist/_-YHi6ciVk.js +5 -0
  19. package/dist/_.vue_vue_type_style_index_0_lang-DeF9xZEQ.js +25 -0
  20. package/dist/_commonjsHelpers-DaMA6jEr.js +9 -0
  21. package/dist/availability.js +54 -71
  22. package/dist/availability.js.br +0 -0
  23. package/dist/deep-link.js +20 -36
  24. package/dist/deep-link.js.br +0 -0
  25. package/dist/event.js +398 -416
  26. package/dist/event.js.br +0 -0
  27. package/dist/gift-card-validation.js +72 -89
  28. package/dist/gift-card-validation.js.br +0 -0
  29. package/dist/gift-card.js +175 -192
  30. package/dist/gift-card.js.br +0 -0
  31. package/dist/giftCard-C-lmDpUB.js +118 -0
  32. package/dist/giftCard-C-lmDpUB.js.br +0 -0
  33. package/dist/hotel.js +1210 -1099
  34. package/dist/hotel.js.br +0 -0
  35. package/dist/{masonry.plugin-DDSHAjDQ.js → masonry.plugin-DL8uXS-9.js} +52 -68
  36. package/dist/masonry.plugin-DL8uXS-9.js.br +0 -0
  37. package/dist/mitt-B_elXQ2J.js +12437 -0
  38. package/dist/mitt-B_elXQ2J.js.br +0 -0
  39. package/dist/polyfill.js +4216 -7869
  40. package/dist/polyfill.js.br +0 -0
  41. package/dist/{style-CT1Yk_a0.js → style-CDpCXUak.js} +391 -406
  42. package/dist/style-CDpCXUak.js.br +0 -0
  43. package/dist/style.css +1 -1
  44. package/dist/style.css.br +0 -0
  45. package/package.json +12 -15
  46. package/dist/ActionField-Mf3IO8Sg.js +0 -115
  47. package/dist/ActionField-Mf3IO8Sg.js.br +0 -0
  48. package/dist/AvailabilitySkeleton-D3xnLMQI.js +0 -296
  49. package/dist/AvailabilitySkeleton-D3xnLMQI.js.br +0 -0
  50. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C4S5K4Ed.js.br +0 -0
  51. package/dist/CheckoutWindow-DoADcN36.js.br +0 -0
  52. package/dist/ErrorMessage-BxZaXdig.js.br +0 -0
  53. package/dist/EventAvailabilityForm-Ctz8ENUN.js +0 -126
  54. package/dist/EventAvailabilityForm-Ctz8ENUN.js.br +0 -0
  55. package/dist/Field-Bg0N8Vc0.js +0 -58
  56. package/dist/Field-Bg0N8Vc0.js.br +0 -0
  57. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DIbBJOzF.js.br +0 -0
  58. package/dist/TermsOfService-CWraQvoB.js +0 -44
  59. package/dist/TermsOfService-CWraQvoB.js.br +0 -4
  60. package/dist/_-BEZe3PAF.js +0 -20
  61. package/dist/_.vue_vue_type_style_index_0_lang-DQzgcH2c.js +0 -40
  62. package/dist/_.vue_vue_type_style_index_0_lang-DQzgcH2c.js.br +0 -0
  63. package/dist/_commonjsHelpers-C8ml6AyB.js +0 -25
  64. package/dist/_commonjsHelpers-C8ml6AyB.js.br +0 -0
  65. package/dist/_sentry-release-injection-file-8liCQLPI.js +0 -9501
  66. package/dist/_sentry-release-injection-file-8liCQLPI.js.br +0 -0
  67. package/dist/giftCard-sImOKdP0.js +0 -134
  68. package/dist/giftCard-sImOKdP0.js.br +0 -0
  69. package/dist/masonry.plugin-DDSHAjDQ.js.br +0 -0
  70. package/dist/mitt-CzL6QOyp.js +0 -2977
  71. package/dist/mitt-CzL6QOyp.js.br +0 -0
  72. package/dist/sentry-Cyc40KnT.js +0 -26
  73. package/dist/style-CT1Yk_a0.js.br +0 -0
  74. package/dist/tracing-6Srl_nMB.js +0 -2628
  75. package/dist/tracing-6Srl_nMB.js.br +0 -0
@@ -1,57 +1,41 @@
1
- import { d as $, a as u, g as m, r as c, o as G, a4 as he, a5 as ge, z as J, c as W, J 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, E as Se, m as ae, q as ke, u as f, t as b, X as Ce, a1 as $e, x as _, p as Be, j as Ve } from "./_sentry-release-injection-file-8liCQLPI.js";
2
- import { I as Pe, _ as z, A as oe, T as te, p as ie, d as Te, P as Ie } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DIbBJOzF.js";
3
- import { u as Ae, s as He } from "./mitt-CzL6QOyp.js";
4
- (function() {
5
- try {
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] = "94789671-9355-4262-ba2b-d040e3948fa0", e._sentryDebugIdIdentifier = "sentry-dbid-94789671-9355-4262-ba2b-d040e3948fa0");
8
- } catch {
9
- }
10
- })();
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) {
1
+ import { d as $, a as u, g as m, r as c, o as j, ad as me, ae as he, H as Z, c as G, U as ge, b as I, e as d, f as H, w as k, I as Q, J as _, _ as q, T as x, n as v, y as B, j as S, a6 as be, O as we, z as ne, A as Se, i as f, t as b, a4 as ke, aa as Ce, u as $e, D as W, x as Be, p as Ve, k as Pe } from "./mitt-B_elXQ2J.js";
2
+ import { I as Te, _ as z, A as ee, T as oe, p as ae, d as Ie, P as He } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BR0ZkskY.js";
3
+ function Ae(e) {
20
4
  if (Array.isArray(e)) {
21
- for (var o = 0, n = Array(e.length); o < e.length; o++)
22
- n[o] = e[o];
23
- return n;
5
+ for (var o = 0, l = Array(e.length); o < e.length; o++)
6
+ l[o] = e[o];
7
+ return l;
24
8
  } else
25
9
  return Array.from(e);
26
10
  }
27
- var K = !1;
11
+ var X = !1;
28
12
  if (typeof window < "u") {
29
- var ne = {
13
+ var te = {
30
14
  get passive() {
31
- K = !0;
15
+ X = !0;
32
16
  }
33
17
  };
34
- window.addEventListener("testPassive", null, ne), window.removeEventListener("testPassive", null, ne);
18
+ window.addEventListener("testPassive", null, te), window.removeEventListener("testPassive", null, te);
35
19
  }
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));
20
+ var O = typeof window < "u" && window.navigator && window.navigator.platform && (/iP(ad|hone|od)/.test(window.navigator.platform) || window.navigator.platform === "MacIntel" && window.navigator.maxTouchPoints > 1), C = [], D = !1, ie = -1, P = void 0, w = void 0, T = void 0, de = function(o) {
21
+ return C.some(function(l) {
22
+ return !!(l.options.allowTouchMove && l.options.allowTouchMove(o));
39
23
  });
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) {
24
+ }, E = function(o) {
25
+ var l = o || window.event;
26
+ return de(l.target) || l.touches.length > 1 ? !0 : (l.preventDefault && l.preventDefault(), !1);
27
+ }, Ne = function(o) {
44
28
  if (T === void 0) {
45
- var n = !!o && o.reserveScrollBarGap === !0, l = window.innerWidth - document.documentElement.clientWidth;
46
- if (n && l > 0) {
29
+ var l = !!o && o.reserveScrollBarGap === !0, n = window.innerWidth - document.documentElement.clientWidth;
30
+ if (l && n > 0) {
47
31
  var a = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"), 10);
48
- T = document.body.style.paddingRight, document.body.style.paddingRight = a + l + "px";
32
+ T = document.body.style.paddingRight, document.body.style.paddingRight = a + n + "px";
49
33
  }
50
34
  }
51
35
  P === void 0 && (P = document.body.style.overflow, document.body.style.overflow = "hidden");
52
- }, De = function() {
36
+ }, qe = function() {
53
37
  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() {
38
+ }, Oe = function() {
55
39
  return window.requestAnimationFrame(function() {
56
40
  if (w === void 0) {
57
41
  w = {
@@ -59,26 +43,26 @@ var E = typeof window < "u" && window.navigator && window.navigator.platform &&
59
43
  top: document.body.style.top,
60
44
  left: document.body.style.left
61
45
  };
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() {
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() {
64
48
  return window.requestAnimationFrame(function() {
65
49
  var s = a - window.innerHeight;
66
- s && n >= a && (document.body.style.top = -(n + s));
50
+ s && l >= a && (document.body.style.top = -(l + s));
67
51
  });
68
52
  }, 300);
69
53
  }
70
54
  });
71
- }, Oe = function() {
55
+ }, De = function() {
72
56
  if (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;
57
+ var o = -parseInt(document.body.style.top, 10), l = -parseInt(document.body.style.left, 10);
58
+ 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;
75
59
  }
76
- }, Me = function(o) {
60
+ }, Ee = function(o) {
77
61
  return o ? o.scrollHeight - o.scrollTop <= o.clientHeight : !1;
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) {
62
+ }, ze = 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 ? E(o) : (o.stopPropagation(), !0);
65
+ }, Me = function(o, l) {
82
66
  if (!o) {
83
67
  console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");
84
68
  return;
@@ -86,46 +70,46 @@ var E = typeof window < "u" && window.navigator && window.navigator.platform &&
86
70
  if (!C.some(function(a) {
87
71
  return a.targetElement === o;
88
72
  })) {
89
- var l = {
73
+ var n = {
90
74
  targetElement: o,
91
- options: n || {}
75
+ options: l || {}
92
76
  };
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);
77
+ C = [].concat(Ae(C), [n]), O ? Oe() : Ne(l), O && (o.ontouchstart = function(a) {
78
+ a.targetTouches.length === 1 && (ie = a.targetTouches[0].clientY);
95
79
  }, o.ontouchmove = function(a) {
96
80
  a.targetTouches.length === 1 && ze(a, o);
97
- }, O || (document.addEventListener("touchmove", M, K ? { passive: !1 } : void 0), O = !0));
81
+ }, D || (document.addEventListener("touchmove", E, X ? { passive: !1 } : void 0), D = !0));
98
82
  }
99
- }, Fe = function(o) {
83
+ }, Le = function(o) {
100
84
  if (!o) {
101
85
  console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");
102
86
  return;
103
87
  }
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();
88
+ C = C.filter(function(l) {
89
+ return l.targetElement !== o;
90
+ }), O && (o.ontouchstart = null, o.ontouchmove = null, D && C.length === 0 && (document.removeEventListener("touchmove", E, X ? { passive: !1 } : void 0), D = !1)), O ? De() : qe();
107
91
  }, Y = $({
108
92
  name: "SidePanelCloseButton",
109
93
  emits: ["close"]
110
94
  });
111
- const Re = /* @__PURE__ */ d(
95
+ const Fe = /* @__PURE__ */ d(
112
96
  "span",
113
97
  { class: "vsp-close__x" },
114
98
  null,
115
99
  -1
116
100
  /* HOISTED */
117
- ), Ue = [
118
- Re
101
+ ), Re = [
102
+ Fe
119
103
  ];
120
- function je(e, o, n, l, a, s) {
104
+ function Ue(e, o, l, n, a, s) {
121
105
  return u(), m("div", {
122
106
  class: "vsp-close",
123
107
  onClick: o[0] || (o[0] = (t) => e.$emit("close"))
124
- }, [...Ue]);
108
+ }, [...Re]);
125
109
  }
126
- Y.render = je;
110
+ Y.render = Ue;
127
111
  Y.__file = "src/components/SidePanelCloseButton.vue";
128
- var X = $({
112
+ var K = $({
129
113
  name: "VueSidePanel",
130
114
  components: {
131
115
  SidePanelCloseButton: Y
@@ -215,54 +199,54 @@ var X = $({
215
199
  }
216
200
  },
217
201
  emits: ["update:modelValue", "closed", "opened"],
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) => {
202
+ setup(e, { emit: o, attrs: l }) {
203
+ let n;
204
+ 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(), J = c(!1), V = async () => {
205
+ 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;
206
+ }, re = () => o("update:modelValue", !1), R = (y, g) => {
223
207
  if (g) {
224
208
  setTimeout(() => {
225
- Le(y, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
209
+ Me(y, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
226
210
  }, 0);
227
211
  return;
228
212
  }
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;
213
+ Le(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);
215
+ j(() => {
216
+ F.value = e.zIndex === "auto" ? se() : e.zIndex;
217
+ }), me(() => {
218
+ document.getElementById(e.idName) || (n = document.createElement("div"), n.setAttribute("id", e.idName), document.body.appendChild(n));
233
219
  }), he(() => {
234
- document.getElementById(e.idName) || (l = document.createElement("div"), l.setAttribute("id", e.idName), document.body.appendChild(l));
235
- }), ge(() => {
236
220
  const { modelValue: y, lockScroll: g } = e;
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;
221
+ g && a.value && y && R(a.value, !1), n && document.body.removeChild(n), window.removeEventListener("resize", V);
222
+ }), Z(() => [r.value, t.value, e.height, e.width, e.side, e.modelValue], () => {
223
+ we(() => V());
224
+ }), Z(() => [e.modelValue, a.value], (y, g) => {
225
+ const pe = g ? g[0] : !1, [U, N] = y, ye = U, ve = pe && !U;
242
226
  if (N) {
243
- if (ve && (Z.value = !!document.body.style.overflow), j) {
244
- e.lockScroll && U(N, !0), V(), window.addEventListener("resize", V);
227
+ if (ye && (J.value = !!document.body.style.overflow), U) {
228
+ e.lockScroll && R(N, !0), V(), window.addEventListener("resize", V);
245
229
  return;
246
230
  }
247
- !e.lockScroll || !me || Z.value || (setTimeout(() => {
248
- N && U(N, !1);
231
+ !e.lockScroll || !ve || J.value || (setTimeout(() => {
232
+ N && R(N, !1);
249
233
  }, e.panelDuration), window.removeEventListener("resize", V));
250
234
  }
251
235
  }, { immediate: !0 });
252
- const ce = W(() => {
253
- if (!L.value)
236
+ const ue = G(() => {
237
+ if (!M.value)
254
238
  return;
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,
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 = G(() => ({
243
+ zIndex: F.value,
260
244
  animationDuration: `${e.overlayDuration}ms`,
261
245
  "--overlay-opacity": e.overlayOpacity,
262
246
  opacity: e.modelValue ? e.overlayOpacity : 0,
263
247
  backgroundColor: e.overlayColor,
264
248
  pointerEvents: e.modelValue ? "all" : "none"
265
- })), pe = W(() => ({
249
+ })), fe = G(() => ({
266
250
  width: ["left", "right"].includes(e.side) ? e.width : void 0,
267
251
  maxWidth: "100%",
268
252
  ...["top", "bottom"].includes(e.side) ? {
@@ -270,27 +254,27 @@ var X = $({
270
254
  height: e.height,
271
255
  maxHeight: "100%"
272
256
  } : {},
273
- zIndex: R.value,
257
+ zIndex: F.value,
274
258
  backgroundColor: e.panelColor,
275
259
  animationDuration: `${e.panelDuration}ms`,
276
- ...Object.assign({}, n.style)
260
+ ...Object.assign({}, l.style)
277
261
  }));
278
262
  return {
279
263
  body: i,
280
264
  panel: a,
281
265
  overlay: s,
282
- overlayStyles: fe,
266
+ overlayStyles: ce,
283
267
  header: r,
284
268
  footer: t,
285
- closePanel: se,
286
- panelStyles: pe,
287
- bodyHeight: ce
269
+ closePanel: re,
270
+ panelStyles: fe,
271
+ bodyHeight: ue
288
272
  };
289
273
  }
290
274
  });
291
- function We(e, o, n, l, a, s) {
292
- const t = be("SidePanelCloseButton");
293
- return u(), I(we, {
275
+ function Ge(e, o, l, n, a, s) {
276
+ const t = ge("SidePanelCloseButton");
277
+ return u(), I(be, {
294
278
  to: `#${e.idName}`
295
279
  }, [
296
280
  d(
@@ -299,7 +283,7 @@ function We(e, o, n, l, a, s) {
299
283
  class: v(["vsp-wrapper", [e.modelValue && "vsp-wrapper--active"]])
300
284
  },
301
285
  [
302
- A(ee, {
286
+ H(x, {
303
287
  name: "overlay",
304
288
  persisted: ""
305
289
  }, {
@@ -309,20 +293,20 @@ function We(e, o, n, l, a, s) {
309
293
  {
310
294
  ref: "overlay",
311
295
  class: "vsp-overlay",
312
- style: D(e.overlayStyles),
296
+ style: q(e.overlayStyles),
313
297
  onClick: o[0] || (o[0] = () => e.noClose ? void 0 : e.closePanel())
314
298
  },
315
299
  null,
316
300
  4
317
301
  /* STYLE */
318
302
  ), [
319
- [x, e.modelValue]
303
+ [_, e.modelValue]
320
304
  ])
321
305
  ]),
322
306
  _: 1
323
307
  /* STABLE */
324
308
  }),
325
- A(ee, {
309
+ H(x, {
326
310
  name: e.transitionName || `slide-${e.side}`,
327
311
  onAfterEnter: o[1] || (o[1] = (r) => e.$emit("opened")),
328
312
  onAfterLeave: o[2] || (o[2] = (r) => e.$emit("closed"))
@@ -334,7 +318,7 @@ function We(e, o, n, l, a, s) {
334
318
  key: 0,
335
319
  ref: "panel",
336
320
  class: v(["vsp", [`vsp--${e.side}-side`, e.$attrs.class]]),
337
- style: D(e.panelStyles)
321
+ style: q(e.panelStyles)
338
322
  },
339
323
  [
340
324
  e.$slots.header ? (u(), m(
@@ -355,7 +339,7 @@ function We(e, o, n, l, a, s) {
355
339
  {
356
340
  ref: "body",
357
341
  class: v([e.bodyClass, "vsp__body"]),
358
- style: D({ height: `${e.bodyHeight}px` })
342
+ style: q({ height: `${e.bodyHeight}px` })
359
343
  },
360
344
  [
361
345
  B(e.$slots, "default", { close: e.closePanel }),
@@ -384,7 +368,7 @@ function We(e, o, n, l, a, s) {
384
368
  6
385
369
  /* CLASS, STYLE */
386
370
  )), [
387
- [x, e.rerender ? !0 : e.modelValue]
371
+ [_, e.rerender ? !0 : e.modelValue]
388
372
  ]) : S("v-if", !0)
389
373
  ]),
390
374
  _: 3
@@ -396,12 +380,12 @@ function We(e, o, n, l, a, s) {
396
380
  )
397
381
  ], 8, ["to"]);
398
382
  }
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 = {
383
+ K.render = Ge;
384
+ K.__file = "src/components/SidePanel.vue";
385
+ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-panel-title" }, Xe = {
402
386
  key: 0,
403
387
  id: "konnectio-side-panel-subtitle"
404
- }, Ye = ["innerHTML"], Xe = /* @__PURE__ */ $({
388
+ }, Ye = ["innerHTML"], Ke = /* @__PURE__ */ $({
405
389
  __name: "Base",
406
390
  props: {
407
391
  modelValue: { type: Boolean },
@@ -416,14 +400,14 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
416
400
  },
417
401
  emits: ["update:modelValue", "opened", "closed"],
418
402
  setup(e, { emit: o }) {
419
- const n = o, l = ae();
403
+ const l = o, n = ne();
420
404
  function a() {
421
- n("closed");
405
+ l("closed");
422
406
  }
423
407
  function s() {
424
- n("opened");
408
+ l("opened");
425
409
  }
426
- return (t, r) => (u(), I(f(X), {
410
+ return (t, r) => (u(), I(f(K), {
427
411
  modelValue: t.modelValue,
428
412
  "lock-scroll": t.lockScroll,
429
413
  "hide-close-btn": t.hideCloseButton,
@@ -431,23 +415,23 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
431
415
  "onUpdate:modelValue": r[1] || (r[1] = (i) => t.$emit("update:modelValue", i)),
432
416
  onClosed: a,
433
417
  onOpened: s
434
- }, ke({
418
+ }, Se({
435
419
  header: k(() => [
436
- d("div", _e, [
437
- d("h2", Ge, [
420
+ d("div", We, [
421
+ d("h2", je, [
438
422
  d("span", null, b(t.title), 1),
439
423
  d("button", {
440
424
  id: "konnectio-side-panel-close",
441
425
  onClick: r[0] || (r[0] = (i) => t.$emit("update:modelValue", !1))
442
426
  }, [
443
- A(Pe, {
427
+ H(Te, {
444
428
  icon: "times",
445
429
  type: "fas",
446
430
  color: "header"
447
431
  })
448
432
  ])
449
433
  ]),
450
- t.subtitle ? (u(), m("h4", Ke, [
434
+ t.subtitle ? (u(), m("h4", Xe, [
451
435
  d("span", null, b(t.subtitle), 1)
452
436
  ])) : S("", !0)
453
437
  ])
@@ -463,7 +447,7 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
463
447
  ]),
464
448
  _: 2
465
449
  }, [
466
- f(l).footer ? {
450
+ f(n).footer ? {
467
451
  name: "footer",
468
452
  fn: k(() => [
469
453
  B(t.$slots, "footer", {}, void 0, !0)
@@ -472,7 +456,7 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
472
456
  } : void 0
473
457
  ]), 1032, ["modelValue", "lock-scroll", "hide-close-btn", "width"]));
474
458
  }
475
- }), yo = /* @__PURE__ */ z(Xe, [["__scopeId", "data-v-c027dd25"]]), Ze = { class: "konnectio-phone-input" }, Je = /* @__PURE__ */ $({
459
+ }), fo = /* @__PURE__ */ z(Ke, [["__scopeId", "data-v-c027dd25"]]), Je = { class: "konnectio-phone-input" }, Ze = /* @__PURE__ */ $({
476
460
  __name: "PhoneField",
477
461
  props: {
478
462
  modelValue: {},
@@ -488,16 +472,16 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
488
472
  },
489
473
  emits: ["update:modelValue"],
490
474
  setup(e, { emit: o }) {
491
- const n = o, l = e, a = l.id || oe(), s = c("+45"), t = c("");
475
+ const l = o, n = e, a = n.id || ee(), s = c("+45"), t = c("");
492
476
  function r() {
493
- n("update:modelValue", `${s.value} ${t.value}`);
477
+ l("update:modelValue", `${s.value} ${t.value}`);
494
478
  }
495
- return G(() => {
496
- if (l.modelValue) {
497
- const i = l.modelValue.split(" ");
479
+ return j(() => {
480
+ if (n.modelValue) {
481
+ const i = n.modelValue.split(" ");
498
482
  s.value = i[0], t.value = i[1];
499
483
  }
500
- }), (i, p) => (u(), I(ie, {
484
+ }), (i, p) => (u(), I(ae, {
501
485
  label: i.label,
502
486
  id: f(a),
503
487
  type: "phone",
@@ -505,29 +489,30 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
505
489
  readonly: i.readonly
506
490
  }, {
507
491
  default: k(() => [
508
- d("div", Ze, [
509
- A(te, {
492
+ d("div", Je, [
493
+ H(oe, {
510
494
  modelValue: s.value,
511
495
  "onUpdate:modelValue": p[0] || (p[0] = (h) => s.value = h),
512
496
  type: "text",
513
- id: f(oe)(),
497
+ id: f(ee)(),
514
498
  name: "phone-code",
515
499
  autocomplete: "tel-country-code",
516
500
  icon: i.icon,
517
501
  "icon-color": i.iconColor,
518
502
  "icon-type": i.iconType,
519
- placeholder: "+45",
503
+ placeholder: "+XX",
520
504
  required: i.required,
521
505
  readonly: i.readonly,
522
506
  "input-style": i.inputStyle,
523
507
  onInput: p[1] || (p[1] = (h) => r())
524
508
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly", "input-style"]),
525
- A(te, {
509
+ H(oe, {
526
510
  modelValue: t.value,
527
511
  "onUpdate:modelValue": p[2] || (p[2] = (h) => t.value = h),
528
512
  type: "number",
529
513
  name: "phone",
530
514
  autocomplete: "tel-national",
515
+ inputmode: "numeric",
531
516
  id: f(a),
532
517
  placeholder: i.placeholder,
533
518
  required: i.required,
@@ -540,10 +525,10 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
540
525
  _: 1
541
526
  }, 8, ["label", "id", "required", "readonly"]));
542
527
  }
543
- }), vo = /* @__PURE__ */ z(Je, [["__scopeId", "data-v-89427ae0"]]), Qe = ["required", "type", "name", "readonly", "disabled", "value", "checked"], xe = ["data-test"], eo = { key: 0 }, oo = {
528
+ }), po = /* @__PURE__ */ z(Ze, [["__scopeId", "data-v-903f92f7"]]), Qe = ["required", "type", "name", "readonly", "disabled", "value", "checked"], _e = ["data-test"], xe = { key: 0 }, eo = {
544
529
  key: 1,
545
530
  class: /* @__PURE__ */ v(["konnectio-click-box-label", "inline"])
546
- }, to = /* @__PURE__ */ $({
531
+ }, oo = /* @__PURE__ */ $({
547
532
  __name: "Checkbox",
548
533
  props: {
549
534
  modelValue: { type: [String, Boolean, Number] },
@@ -560,14 +545,14 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
560
545
  },
561
546
  emits: ["update:modelValue"],
562
547
  setup(e, { emit: o }) {
563
- const n = e, l = o, a = ae();
548
+ const l = e, n = o, a = ne();
564
549
  function s() {
565
- n.readonly !== !0 && l(
550
+ l.readonly !== !0 && n(
566
551
  "update:modelValue",
567
- n.type === "radio" ? n.val : n.numeric ? n.modelValue ? 0 : 1 : !n.modelValue
552
+ l.type === "radio" ? l.val : l.numeric ? l.modelValue ? 0 : 1 : !l.modelValue
568
553
  );
569
554
  }
570
- return (t, r) => (u(), I(ie, {
555
+ return (t, r) => (u(), I(ae, {
571
556
  required: t.required,
572
557
  type: t.type,
573
558
  readonly: t.readonly
@@ -581,7 +566,7 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
581
566
  t.type === "radio" ? "radio" : "checkbox"
582
567
  ])
583
568
  }, [
584
- d("input", Ce(t.$attrs, {
569
+ d("input", ke(t.$attrs, {
585
570
  required: !!t.required,
586
571
  type: t.type,
587
572
  name: t.name,
@@ -598,17 +583,17 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
598
583
  { checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue }
599
584
  ]),
600
585
  tabindex: "0",
601
- style: D(t.inputStyle),
586
+ style: q(t.inputStyle),
602
587
  "data-test": t.name,
603
- onKeyup: r[1] || (r[1] = $e((i) => s(), ["enter"]))
604
- }, null, 46, xe),
588
+ onKeyup: r[1] || (r[1] = Ce((i) => s(), ["enter"]))
589
+ }, null, 46, _e),
605
590
  t.label ? (u(), m("div", {
606
591
  key: 0,
607
592
  class: v(["konnectio-click-box-label", "text-hover", { "with-price": t.price }])
608
593
  }, [
609
594
  d("span", null, b(t.label), 1),
610
- t.price ? (u(), m("span", eo, b(t.price), 1)) : S("", !0)
611
- ], 2)) : f(a).default ? (u(), m("div", oo, [
595
+ t.price ? (u(), m("span", xe, b(t.price), 1)) : S("", !0)
596
+ ], 2)) : f(a).default ? (u(), m("div", eo, [
612
597
  B(t.$slots, "default", {}, void 0, !0)
613
598
  ])) : S("", !0)
614
599
  ], 2)
@@ -616,22 +601,22 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
616
601
  _: 3
617
602
  }, 8, ["required", "type", "readonly"]));
618
603
  }
619
- }), mo = /* @__PURE__ */ z(to, [["__scopeId", "data-v-1827c76b"]]), no = {
604
+ }), yo = /* @__PURE__ */ z(oo, [["__scopeId", "data-v-1827c76b"]]), to = {
620
605
  href: "https://policies.google.com/privacy",
621
606
  target: "_blank"
622
607
  }, lo = {
623
608
  href: "https://policies.google.com/terms",
624
609
  target: "_blank"
625
- }, ao = /* @__PURE__ */ $({
610
+ }, no = /* @__PURE__ */ $({
626
611
  __name: "GoogleNotice",
627
612
  setup(e) {
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),
613
+ const { t: o } = $e();
614
+ return (l, n) => (u(), m("span", null, [
615
+ W(b(f(o)("googleNotice")) + " ", 1),
616
+ d("a", to, b(f(o)("googlePrivacyPolicy")), 1),
617
+ W(" " + b(f(o)("googleAnd")) + " ", 1),
633
618
  d("a", lo, b(f(o)("googleTOS")), 1),
634
- _(" " + b(f(o)("googleApply")) + ". ", 1)
619
+ W(" " + b(f(o)("googleApply")) + ". ", 1)
635
620
  ]));
636
621
  }
637
622
  });
@@ -657,29 +642,29 @@ function le(e) {
657
642
  }
658
643
  });
659
644
  }
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__ */ $({
645
+ typeof le == "function" && le(no);
646
+ const ao = (e) => (Ve("data-v-853041a4"), e = e(), Pe(), e), io = /* @__PURE__ */ ao(() => /* @__PURE__ */ d("div", { id: "konnectio-payment-checkout" }, null, -1)), ro = [
647
+ io
648
+ ], so = /* @__PURE__ */ $({
664
649
  __name: "CheckoutWindow",
665
650
  setup(e) {
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, [
651
+ const { paymentGatewayId: o } = Be(Ie());
652
+ return j(() => {
653
+ const l = document.createElement("script"), n = document.createElement("script");
654
+ 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);
655
+ }), (l, n) => (u(), m("div", null, [
671
656
  d("div", {
672
657
  id: "konnectio-payment-checkout-wrapper",
673
- class: v({ reePay: f(o) === f(Ie).ReePay })
674
- }, so, 2)
658
+ class: v({ reePay: f(o) === f(He).ReePay })
659
+ }, ro, 2)
675
660
  ]));
676
661
  }
677
- }), ho = /* @__PURE__ */ z(uo, [["__scopeId", "data-v-853041a4"]]);
662
+ }), vo = /* @__PURE__ */ z(so, [["__scopeId", "data-v-853041a4"]]);
678
663
  export {
679
- yo as B,
680
- mo as C,
681
- vo as P,
682
- ao as _,
683
- ho as a
664
+ fo as B,
665
+ yo as C,
666
+ po as P,
667
+ no as _,
668
+ vo as a
684
669
  };
685
- //# sourceMappingURL=CheckoutWindow-DoADcN36.js.map
670
+ //# sourceMappingURL=CheckoutWindow-C9Sa3vci.js.map