@konnectio/core 4.0.81 → 4.0.83

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 (73) hide show
  1. package/dist/ActionField-BA-fYDFE.js +100 -0
  2. package/dist/ActionField-BA-fYDFE.js.br +0 -0
  3. package/dist/AvailabilitySkeleton-cs1R6FqT.js +281 -0
  4. package/dist/AvailabilitySkeleton-cs1R6FqT.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-b67PURkf.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Qc9hcPxa.js} +1156 -1171
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Qc9hcPxa.js.br +0 -0
  7. package/dist/{CheckoutWindow-CiImalcO.js → CheckoutWindow-BWvzwZp7.js} +153 -168
  8. package/dist/CheckoutWindow-BWvzwZp7.js.br +0 -0
  9. package/dist/{ErrorMessage-noDYCPm1.js → ErrorMessage-Cznv1pOA.js} +20 -35
  10. package/dist/ErrorMessage-Cznv1pOA.js.br +0 -0
  11. package/dist/EventAvailabilityForm-CCIRdxiD.js +111 -0
  12. package/dist/EventAvailabilityForm-CCIRdxiD.js.br +0 -0
  13. package/dist/Field-BvDQnKDq.js +43 -0
  14. package/dist/Field-BvDQnKDq.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DYwA6hiM.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-9lyXRaoC.js} +2302 -2317
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-9lyXRaoC.js.br +0 -0
  17. package/dist/TermsOfService-GFdUcU5a.js +29 -0
  18. package/dist/_-CApO2y_W.js +5 -0
  19. package/dist/_.vue_vue_type_style_index_0_lang-JXEPTW6b.js +25 -0
  20. package/dist/_commonjsHelpers-DaMA6jEr.js +9 -0
  21. package/dist/availability.js +55 -71
  22. package/dist/availability.js.br +0 -0
  23. package/dist/deep-link.js +21 -36
  24. package/dist/deep-link.js.br +0 -0
  25. package/dist/event.js +408 -424
  26. package/dist/event.js.br +0 -0
  27. package/dist/gift-card-validation.js +73 -89
  28. package/dist/gift-card-validation.js.br +0 -0
  29. package/dist/gift-card.js +181 -197
  30. package/dist/gift-card.js.br +0 -0
  31. package/dist/giftCard-DA27WKsi.js +119 -0
  32. package/dist/giftCard-DA27WKsi.js.br +0 -0
  33. package/dist/hotel.js +505 -520
  34. package/dist/hotel.js.br +0 -0
  35. package/dist/{masonry.plugin-DD0W9fy2.js → masonry.plugin-C22IPiCy.js} +53 -68
  36. package/dist/masonry.plugin-C22IPiCy.js.br +0 -0
  37. package/dist/{mitt-BeqJ2MFv.js → mitt-QLRlCcPH.js} +983 -998
  38. package/dist/mitt-QLRlCcPH.js.br +0 -0
  39. package/dist/polyfill.js +4686 -13780
  40. package/dist/polyfill.js.br +0 -0
  41. package/dist/{style-DcfCYaKA.js → style-CF23zZwv.js} +388 -403
  42. package/dist/style-CF23zZwv.js.br +0 -0
  43. package/dist/{_sentry-release-injection-file-DNUh2Gjq.js → vue.esm-bundler-BkY4vCIk.js} +1987 -2003
  44. package/dist/vue.esm-bundler-BkY4vCIk.js.br +0 -0
  45. package/package.json +1 -3
  46. package/dist/ActionField-CTdoYeCb.js +0 -115
  47. package/dist/ActionField-CTdoYeCb.js.br +0 -0
  48. package/dist/AvailabilitySkeleton-goa9gs9v.js +0 -296
  49. package/dist/AvailabilitySkeleton-goa9gs9v.js.br +0 -0
  50. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-b67PURkf.js.br +0 -0
  51. package/dist/CheckoutWindow-CiImalcO.js.br +0 -0
  52. package/dist/ErrorMessage-noDYCPm1.js.br +0 -0
  53. package/dist/EventAvailabilityForm-9NeWNNcp.js +0 -126
  54. package/dist/EventAvailabilityForm-9NeWNNcp.js.br +0 -0
  55. package/dist/Field-BWYA1VPD.js +0 -58
  56. package/dist/Field-BWYA1VPD.js.br +0 -0
  57. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DYwA6hiM.js.br +0 -0
  58. package/dist/TermsOfService-Ck17xk9Q.js +0 -44
  59. package/dist/TermsOfService-Ck17xk9Q.js.br +0 -0
  60. package/dist/_-Cd2-tqPM.js +0 -20
  61. package/dist/_.vue_vue_type_style_index_0_lang-NE_Zq7Js.js +0 -40
  62. package/dist/_.vue_vue_type_style_index_0_lang-NE_Zq7Js.js.br +0 -0
  63. package/dist/_commonjsHelpers-wQPQJtsq.js +0 -25
  64. package/dist/_commonjsHelpers-wQPQJtsq.js.br +0 -0
  65. package/dist/_sentry-release-injection-file-DNUh2Gjq.js.br +0 -0
  66. package/dist/giftCard-DrwsQrjA.js +0 -134
  67. package/dist/giftCard-DrwsQrjA.js.br +0 -0
  68. package/dist/masonry.plugin-DD0W9fy2.js.br +0 -0
  69. package/dist/mitt-BeqJ2MFv.js.br +0 -0
  70. package/dist/sentry-Bmg62TCa.js +0 -26
  71. package/dist/style-DcfCYaKA.js.br +0 -0
  72. package/dist/tracing-nJlxVqd0.js +0 -2639
  73. package/dist/tracing-nJlxVqd0.js.br +0 -0
@@ -1,55 +1,40 @@
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-DNUh2Gjq.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-DYwA6hiM.js";
3
- import { u as Ae, s as He } from "./mitt-BeqJ2MFv.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, a4 as me, a5 as he, z as J, c as U, J as ge, b as I, e as d, f as A, w as k, A as Q, B as _, P as q, T as x, n as v, l as B, i as S, Z as be, E as we, m as ne, q as Se, u as f, t as b, X as ke, a1 as Ce, x as W, p as $e, j as Be } from "./vue.esm-bundler-BkY4vCIk.js";
2
+ import { I as Ve, _ as z, A as ee, T as oe, p as ae, d as Pe, P as Te } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-9lyXRaoC.js";
3
+ import { u as Ie, s as Ae } from "./mitt-QLRlCcPH.js";
4
+ function He(e) {
20
5
  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;
6
+ for (var o = 0, l = Array(e.length); o < e.length; o++)
7
+ l[o] = e[o];
8
+ return l;
24
9
  } else
25
10
  return Array.from(e);
26
11
  }
27
- var K = !1;
12
+ var Y = !1;
28
13
  if (typeof window < "u") {
29
- var ne = {
14
+ var te = {
30
15
  get passive() {
31
- K = !0;
16
+ Y = !0;
32
17
  }
33
18
  };
34
- window.addEventListener("testPassive", null, ne), window.removeEventListener("testPassive", null, ne);
19
+ window.addEventListener("testPassive", null, te), window.removeEventListener("testPassive", null, te);
35
20
  }
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));
21
+ var E = typeof window < "u" && window.navigator && window.navigator.platform && (/iP(ad|hone|od)/.test(window.navigator.platform) || window.navigator.platform === "MacIntel" && window.navigator.maxTouchPoints > 1), C = [], O = !1, ie = -1, P = void 0, w = void 0, T = void 0, de = function(o) {
22
+ return C.some(function(l) {
23
+ return !!(l.options.allowTouchMove && l.options.allowTouchMove(o));
39
24
  });
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) {
25
+ }, D = function(o) {
26
+ var l = o || window.event;
27
+ return de(l.target) || l.touches.length > 1 ? !0 : (l.preventDefault && l.preventDefault(), !1);
28
+ }, Ne = function(o) {
44
29
  if (T === void 0) {
45
- var n = !!o && o.reserveScrollBarGap === !0, l = window.innerWidth - document.documentElement.clientWidth;
46
- if (n && l > 0) {
30
+ var l = !!o && o.reserveScrollBarGap === !0, n = window.innerWidth - document.documentElement.clientWidth;
31
+ if (l && n > 0) {
47
32
  var a = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"), 10);
48
- T = document.body.style.paddingRight, document.body.style.paddingRight = a + l + "px";
33
+ T = document.body.style.paddingRight, document.body.style.paddingRight = a + n + "px";
49
34
  }
50
35
  }
51
36
  P === void 0 && (P = document.body.style.overflow, document.body.style.overflow = "hidden");
52
- }, De = function() {
37
+ }, qe = function() {
53
38
  T !== void 0 && (document.body.style.paddingRight = T, T = void 0), P !== void 0 && (document.body.style.overflow = P, P = void 0);
54
39
  }, Ee = function() {
55
40
  return window.requestAnimationFrame(function() {
@@ -59,26 +44,26 @@ var E = typeof window < "u" && window.navigator && window.navigator.platform &&
59
44
  top: document.body.style.top,
60
45
  left: document.body.style.left
61
46
  };
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() {
47
+ var o = window, l = o.scrollY, n = o.scrollX, a = o.innerHeight;
48
+ document.body.style.position = "fixed", document.body.style.top = -l, document.body.style.left = -n, setTimeout(function() {
64
49
  return window.requestAnimationFrame(function() {
65
50
  var s = a - window.innerHeight;
66
- s && n >= a && (document.body.style.top = -(n + s));
51
+ s && l >= a && (document.body.style.top = -(l + s));
67
52
  });
68
53
  }, 300);
69
54
  }
70
55
  });
71
56
  }, Oe = function() {
72
57
  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;
58
+ var o = -parseInt(document.body.style.top, 10), l = -parseInt(document.body.style.left, 10);
59
+ 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
60
  }
76
- }, Me = function(o) {
61
+ }, De = function(o) {
77
62
  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) {
63
+ }, ze = function(o, l) {
64
+ var n = o.targetTouches[0].clientY - ie;
65
+ return de(o.target) ? !1 : l && l.scrollTop === 0 && n > 0 || De(l) && n < 0 ? D(o) : (o.stopPropagation(), !0);
66
+ }, Me = function(o, l) {
82
67
  if (!o) {
83
68
  console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");
84
69
  return;
@@ -86,49 +71,49 @@ var E = typeof window < "u" && window.navigator && window.navigator.platform &&
86
71
  if (!C.some(function(a) {
87
72
  return a.targetElement === o;
88
73
  })) {
89
- var l = {
74
+ var n = {
90
75
  targetElement: o,
91
- options: n || {}
76
+ options: l || {}
92
77
  };
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);
78
+ C = [].concat(He(C), [n]), E ? Ee() : Ne(l), E && (o.ontouchstart = function(a) {
79
+ a.targetTouches.length === 1 && (ie = a.targetTouches[0].clientY);
95
80
  }, o.ontouchmove = function(a) {
96
81
  a.targetTouches.length === 1 && ze(a, o);
97
- }, O || (document.addEventListener("touchmove", M, K ? { passive: !1 } : void 0), O = !0));
82
+ }, O || (document.addEventListener("touchmove", D, Y ? { passive: !1 } : void 0), O = !0));
98
83
  }
99
- }, Fe = function(o) {
84
+ }, Le = function(o) {
100
85
  if (!o) {
101
86
  console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");
102
87
  return;
103
88
  }
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 = $({
89
+ C = C.filter(function(l) {
90
+ return l.targetElement !== o;
91
+ }), E && (o.ontouchstart = null, o.ontouchmove = null, O && C.length === 0 && (document.removeEventListener("touchmove", D, Y ? { passive: !1 } : void 0), O = !1)), E ? Oe() : qe();
92
+ }, K = $({
108
93
  name: "SidePanelCloseButton",
109
94
  emits: ["close"]
110
95
  });
111
- const Re = /* @__PURE__ */ d(
96
+ const Fe = /* @__PURE__ */ d(
112
97
  "span",
113
98
  { class: "vsp-close__x" },
114
99
  null,
115
100
  -1
116
101
  /* HOISTED */
117
- ), Ue = [
118
- Re
102
+ ), Re = [
103
+ Fe
119
104
  ];
120
- function je(e, o, n, l, a, s) {
105
+ function Ge(e, o, l, n, a, s) {
121
106
  return u(), m("div", {
122
107
  class: "vsp-close",
123
108
  onClick: o[0] || (o[0] = (t) => e.$emit("close"))
124
- }, [...Ue]);
109
+ }, [...Re]);
125
110
  }
126
- Y.render = je;
127
- Y.__file = "src/components/SidePanelCloseButton.vue";
111
+ K.render = Ge;
112
+ K.__file = "src/components/SidePanelCloseButton.vue";
128
113
  var X = $({
129
114
  name: "VueSidePanel",
130
115
  components: {
131
- SidePanelCloseButton: Y
116
+ SidePanelCloseButton: K
132
117
  },
133
118
  props: {
134
119
  idName: {
@@ -215,54 +200,54 @@ var X = $({
215
200
  }
216
201
  },
217
202
  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) => {
203
+ setup(e, { emit: o, attrs: l }) {
204
+ let n;
205
+ 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), M = c(0), L = c(0), F = c(), Z = c(!1), V = async () => {
206
+ window?.innerHeight > 0 && (L.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, M.value = a.value ? a.value.clientHeight : 0;
207
+ }, re = () => o("update:modelValue", !1), R = (y, g) => {
223
208
  if (g) {
224
209
  setTimeout(() => {
225
- Le(y, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
210
+ Me(y, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
226
211
  }, 0);
227
212
  return;
228
213
  }
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;
214
+ Le(y), e.lockScrollHtml && document.documentElement.style.removeProperty("overflow");
215
+ }, se = () => Math.max(...Array.from(document.querySelectorAll("body *"), (y) => parseFloat(window.getComputedStyle(y).zIndex)).filter((y) => !Number.isNaN(y)), 0);
216
+ j(() => {
217
+ F.value = e.zIndex === "auto" ? se() : e.zIndex;
218
+ }), me(() => {
219
+ document.getElementById(e.idName) || (n = document.createElement("div"), n.setAttribute("id", e.idName), document.body.appendChild(n));
233
220
  }), he(() => {
234
- document.getElementById(e.idName) || (l = document.createElement("div"), l.setAttribute("id", e.idName), document.body.appendChild(l));
235
- }), ge(() => {
236
221
  const { modelValue: y, lockScroll: g } = e;
237
- g && a.value && y && U(a.value, !1), l && document.body.removeChild(l), window.removeEventListener("resize", V);
222
+ g && a.value && y && R(a.value, !1), n && document.body.removeChild(n), window.removeEventListener("resize", V);
238
223
  }), J(() => [r.value, t.value, e.height, e.width, e.side, e.modelValue], () => {
239
- Se(() => V());
224
+ we(() => V());
240
225
  }), J(() => [e.modelValue, a.value], (y, g) => {
241
- const ye = g ? g[0] : !1, [j, N] = y, ve = j, me = ye && !j;
226
+ const pe = g ? g[0] : !1, [G, N] = y, ye = G, ve = pe && !G;
242
227
  if (N) {
243
- if (ve && (Z.value = !!document.body.style.overflow), j) {
244
- e.lockScroll && U(N, !0), V(), window.addEventListener("resize", V);
228
+ if (ye && (Z.value = !!document.body.style.overflow), G) {
229
+ e.lockScroll && R(N, !0), V(), window.addEventListener("resize", V);
245
230
  return;
246
231
  }
247
- !e.lockScroll || !me || Z.value || (setTimeout(() => {
248
- N && U(N, !1);
232
+ !e.lockScroll || !ve || Z.value || (setTimeout(() => {
233
+ N && R(N, !1);
249
234
  }, e.panelDuration), window.removeEventListener("resize", V));
250
235
  }
251
236
  }, { immediate: !0 });
252
- const ce = W(() => {
253
- if (!L.value)
237
+ const ue = U(() => {
238
+ if (!M.value)
254
239
  return;
255
240
  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,
241
+ let g = M.value - H.value - p.value;
242
+ return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g = L.value >= y ? h.value : L.value - H.value - p.value), g;
243
+ }), ce = U(() => ({
244
+ zIndex: F.value,
260
245
  animationDuration: `${e.overlayDuration}ms`,
261
246
  "--overlay-opacity": e.overlayOpacity,
262
247
  opacity: e.modelValue ? e.overlayOpacity : 0,
263
248
  backgroundColor: e.overlayColor,
264
249
  pointerEvents: e.modelValue ? "all" : "none"
265
- })), pe = W(() => ({
250
+ })), fe = U(() => ({
266
251
  width: ["left", "right"].includes(e.side) ? e.width : void 0,
267
252
  maxWidth: "100%",
268
253
  ...["top", "bottom"].includes(e.side) ? {
@@ -270,27 +255,27 @@ var X = $({
270
255
  height: e.height,
271
256
  maxHeight: "100%"
272
257
  } : {},
273
- zIndex: R.value,
258
+ zIndex: F.value,
274
259
  backgroundColor: e.panelColor,
275
260
  animationDuration: `${e.panelDuration}ms`,
276
- ...Object.assign({}, n.style)
261
+ ...Object.assign({}, l.style)
277
262
  }));
278
263
  return {
279
264
  body: i,
280
265
  panel: a,
281
266
  overlay: s,
282
- overlayStyles: fe,
267
+ overlayStyles: ce,
283
268
  header: r,
284
269
  footer: t,
285
- closePanel: se,
286
- panelStyles: pe,
287
- bodyHeight: ce
270
+ closePanel: re,
271
+ panelStyles: fe,
272
+ bodyHeight: ue
288
273
  };
289
274
  }
290
275
  });
291
- function We(e, o, n, l, a, s) {
292
- const t = be("SidePanelCloseButton");
293
- return u(), I(we, {
276
+ function Ue(e, o, l, n, a, s) {
277
+ const t = ge("SidePanelCloseButton");
278
+ return u(), I(be, {
294
279
  to: `#${e.idName}`
295
280
  }, [
296
281
  d(
@@ -299,7 +284,7 @@ function We(e, o, n, l, a, s) {
299
284
  class: v(["vsp-wrapper", [e.modelValue && "vsp-wrapper--active"]])
300
285
  },
301
286
  [
302
- A(ee, {
287
+ A(x, {
303
288
  name: "overlay",
304
289
  persisted: ""
305
290
  }, {
@@ -309,20 +294,20 @@ function We(e, o, n, l, a, s) {
309
294
  {
310
295
  ref: "overlay",
311
296
  class: "vsp-overlay",
312
- style: D(e.overlayStyles),
297
+ style: q(e.overlayStyles),
313
298
  onClick: o[0] || (o[0] = () => e.noClose ? void 0 : e.closePanel())
314
299
  },
315
300
  null,
316
301
  4
317
302
  /* STYLE */
318
303
  ), [
319
- [x, e.modelValue]
304
+ [_, e.modelValue]
320
305
  ])
321
306
  ]),
322
307
  _: 1
323
308
  /* STABLE */
324
309
  }),
325
- A(ee, {
310
+ A(x, {
326
311
  name: e.transitionName || `slide-${e.side}`,
327
312
  onAfterEnter: o[1] || (o[1] = (r) => e.$emit("opened")),
328
313
  onAfterLeave: o[2] || (o[2] = (r) => e.$emit("closed"))
@@ -334,7 +319,7 @@ function We(e, o, n, l, a, s) {
334
319
  key: 0,
335
320
  ref: "panel",
336
321
  class: v(["vsp", [`vsp--${e.side}-side`, e.$attrs.class]]),
337
- style: D(e.panelStyles)
322
+ style: q(e.panelStyles)
338
323
  },
339
324
  [
340
325
  e.$slots.header ? (u(), m(
@@ -355,7 +340,7 @@ function We(e, o, n, l, a, s) {
355
340
  {
356
341
  ref: "body",
357
342
  class: v([e.bodyClass, "vsp__body"]),
358
- style: D({ height: `${e.bodyHeight}px` })
343
+ style: q({ height: `${e.bodyHeight}px` })
359
344
  },
360
345
  [
361
346
  B(e.$slots, "default", { close: e.closePanel }),
@@ -384,7 +369,7 @@ function We(e, o, n, l, a, s) {
384
369
  6
385
370
  /* CLASS, STYLE */
386
371
  )), [
387
- [x, e.rerender ? !0 : e.modelValue]
372
+ [_, e.rerender ? !0 : e.modelValue]
388
373
  ]) : S("v-if", !0)
389
374
  ]),
390
375
  _: 3
@@ -396,12 +381,12 @@ function We(e, o, n, l, a, s) {
396
381
  )
397
382
  ], 8, ["to"]);
398
383
  }
399
- X.render = We;
384
+ X.render = Ue;
400
385
  X.__file = "src/components/SidePanel.vue";
401
- const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-panel-title" }, Ke = {
386
+ const We = { id: "konnectio-side-panel-header" }, je = { id: "konnectio-side-panel-title" }, Ye = {
402
387
  key: 0,
403
388
  id: "konnectio-side-panel-subtitle"
404
- }, Ye = ["innerHTML"], Xe = /* @__PURE__ */ $({
389
+ }, Ke = ["innerHTML"], Xe = /* @__PURE__ */ $({
405
390
  __name: "Base",
406
391
  props: {
407
392
  modelValue: { type: Boolean },
@@ -416,12 +401,12 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
416
401
  },
417
402
  emits: ["update:modelValue", "opened", "closed"],
418
403
  setup(e, { emit: o }) {
419
- const n = o, l = ae();
404
+ const l = o, n = ne();
420
405
  function a() {
421
- n("closed");
406
+ l("closed");
422
407
  }
423
408
  function s() {
424
- n("opened");
409
+ l("opened");
425
410
  }
426
411
  return (t, r) => (u(), I(f(X), {
427
412
  modelValue: t.modelValue,
@@ -431,23 +416,23 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
431
416
  "onUpdate:modelValue": r[1] || (r[1] = (i) => t.$emit("update:modelValue", i)),
432
417
  onClosed: a,
433
418
  onOpened: s
434
- }, ke({
419
+ }, Se({
435
420
  header: k(() => [
436
- d("div", _e, [
437
- d("h2", Ge, [
421
+ d("div", We, [
422
+ d("h2", je, [
438
423
  d("span", null, b(t.title), 1),
439
424
  d("button", {
440
425
  id: "konnectio-side-panel-close",
441
426
  onClick: r[0] || (r[0] = (i) => t.$emit("update:modelValue", !1))
442
427
  }, [
443
- A(Pe, {
428
+ A(Ve, {
444
429
  icon: "times",
445
430
  type: "fas",
446
431
  color: "header"
447
432
  })
448
433
  ])
449
434
  ]),
450
- t.subtitle ? (u(), m("h4", Ke, [
435
+ t.subtitle ? (u(), m("h4", Ye, [
451
436
  d("span", null, b(t.subtitle), 1)
452
437
  ])) : S("", !0)
453
438
  ])
@@ -457,13 +442,13 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
457
442
  d("div", {
458
443
  class: "konnectio-side-panel-description",
459
444
  innerHTML: t.description
460
- }, null, 8, Ye),
445
+ }, null, 8, Ke),
461
446
  B(t.$slots, "default", {}, void 0, !0)
462
447
  ])
463
448
  ]),
464
449
  _: 2
465
450
  }, [
466
- f(l).footer ? {
451
+ f(n).footer ? {
467
452
  name: "footer",
468
453
  fn: k(() => [
469
454
  B(t.$slots, "footer", {}, void 0, !0)
@@ -472,7 +457,7 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
472
457
  } : void 0
473
458
  ]), 1032, ["modelValue", "lock-scroll", "hide-close-btn", "width"]));
474
459
  }
475
- }), yo = /* @__PURE__ */ z(Xe, [["__scopeId", "data-v-c027dd25"]]), Ze = { class: "konnectio-phone-input" }, Je = /* @__PURE__ */ $({
460
+ }), po = /* @__PURE__ */ z(Xe, [["__scopeId", "data-v-c027dd25"]]), Ze = { class: "konnectio-phone-input" }, Je = /* @__PURE__ */ $({
476
461
  __name: "PhoneField",
477
462
  props: {
478
463
  modelValue: {},
@@ -488,16 +473,16 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
488
473
  },
489
474
  emits: ["update:modelValue"],
490
475
  setup(e, { emit: o }) {
491
- const n = o, l = e, a = l.id || oe(), s = c("+45"), t = c("");
476
+ const l = o, n = e, a = n.id || ee(), s = c("+45"), t = c("");
492
477
  function r() {
493
- n("update:modelValue", `${s.value} ${t.value}`);
478
+ l("update:modelValue", `${s.value} ${t.value}`);
494
479
  }
495
- return G(() => {
496
- if (l.modelValue) {
497
- const i = l.modelValue.split(" ");
480
+ return j(() => {
481
+ if (n.modelValue) {
482
+ const i = n.modelValue.split(" ");
498
483
  s.value = i[0], t.value = i[1];
499
484
  }
500
- }), (i, p) => (u(), I(ie, {
485
+ }), (i, p) => (u(), I(ae, {
501
486
  label: i.label,
502
487
  id: f(a),
503
488
  type: "phone",
@@ -506,11 +491,11 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
506
491
  }, {
507
492
  default: k(() => [
508
493
  d("div", Ze, [
509
- A(te, {
494
+ A(oe, {
510
495
  modelValue: s.value,
511
496
  "onUpdate:modelValue": p[0] || (p[0] = (h) => s.value = h),
512
497
  type: "text",
513
- id: f(oe)(),
498
+ id: f(ee)(),
514
499
  name: "phone-code",
515
500
  autocomplete: "tel-country-code",
516
501
  icon: i.icon,
@@ -522,7 +507,7 @@ const _e = { id: "konnectio-side-panel-header" }, Ge = { id: "konnectio-side-pan
522
507
  "input-style": i.inputStyle,
523
508
  onInput: p[1] || (p[1] = (h) => r())
524
509
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly", "input-style"]),
525
- A(te, {
510
+ A(oe, {
526
511
  modelValue: t.value,
527
512
  "onUpdate:modelValue": p[2] || (p[2] = (h) => t.value = h),
528
513
  type: "number",
@@ -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
+ }), yo = /* @__PURE__ */ z(Je, [["__scopeId", "data-v-89427ae0"]]), 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
+ }), vo = /* @__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 } = Ie();
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) => ($e("data-v-853041a4"), e = e(), Be(), 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 } = Ae(Pe());
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(Te).ReePay })
659
+ }, ro, 2)
675
660
  ]));
676
661
  }
677
- }), ho = /* @__PURE__ */ z(uo, [["__scopeId", "data-v-853041a4"]]);
662
+ }), mo = /* @__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
+ po as B,
665
+ vo as C,
666
+ yo as P,
667
+ no as _,
668
+ mo as a
684
669
  };
685
- //# sourceMappingURL=CheckoutWindow-CiImalcO.js.map
670
+ //# sourceMappingURL=CheckoutWindow-BWvzwZp7.js.map