@konnectio/core 4.0.56-rc35 → 4.0.56-rc36

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 (53) hide show
  1. package/dist/{ActionField-Bruv7ZZW.js → ActionField-Ct6NhfWq.js} +43 -34
  2. package/dist/ActionField-Ct6NhfWq.js.br +0 -0
  3. package/dist/AvailabilitySkeleton-DOhrMVl4.js +286 -0
  4. package/dist/AvailabilitySkeleton-DOhrMVl4.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Z4h6wyqj.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-0yAgK-cr.js} +519 -510
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-0yAgK-cr.js.br +0 -0
  7. package/dist/{CheckoutWindow-Dn3fiFuv.js → CheckoutWindow-BVIOQbbL.js} +143 -134
  8. package/dist/CheckoutWindow-BVIOQbbL.js.br +0 -0
  9. package/dist/{ErrorMessage-VK8egk99.js → ErrorMessage-DTSuSB8R.js} +27 -18
  10. package/dist/ErrorMessage-DTSuSB8R.js.br +0 -0
  11. package/dist/EventAvailabilityForm-DVcDsdr8.js +432 -0
  12. package/dist/EventAvailabilityForm-DVcDsdr8.js.br +0 -0
  13. package/dist/Field-IsLH1tNU.js +50 -0
  14. package/dist/Field-IsLH1tNU.js.br +0 -0
  15. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BKo1p702.js +21280 -0
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BKo1p702.js.br +0 -0
  17. package/dist/TermsOfService-BORqI07-.js +35 -0
  18. package/dist/TermsOfService-BORqI07-.js.br +0 -0
  19. package/dist/_commonjsHelpers-UWZO_9XV.js +11796 -0
  20. package/dist/_commonjsHelpers-UWZO_9XV.js.br +0 -0
  21. package/dist/availability.js +60 -50
  22. package/dist/availability.js.br +0 -0
  23. package/dist/event.js +284 -274
  24. package/dist/event.js.br +0 -0
  25. package/dist/gift-card-validation.js +75 -65
  26. package/dist/gift-card-validation.js.br +0 -0
  27. package/dist/gift-card.js +242 -232
  28. package/dist/gift-card.js.br +0 -0
  29. package/dist/hotel.js +697 -693
  30. package/dist/hotel.js.br +0 -0
  31. package/dist/{masonry.plugin-WFnnzw7L.js → masonry.plugin-gY-oSFpV.js} +43 -34
  32. package/dist/masonry.plugin-gY-oSFpV.js.br +0 -0
  33. package/dist/navigation.js +10 -1
  34. package/dist/polyfill.js +14745 -4715
  35. package/dist/polyfill.js.br +0 -0
  36. package/dist/style.css +1 -1
  37. package/dist/style.css.br +0 -0
  38. package/package.json +8 -6
  39. package/dist/ActionField-Bruv7ZZW.js.br +0 -0
  40. package/dist/AvailabilitySkeleton-DxVPZPw3.js +0 -277
  41. package/dist/AvailabilitySkeleton-DxVPZPw3.js.br +0 -0
  42. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Z4h6wyqj.js.br +0 -0
  43. package/dist/CheckoutWindow-Dn3fiFuv.js.br +0 -0
  44. package/dist/ErrorMessage-VK8egk99.js.br +0 -0
  45. package/dist/EventAvailabilityForm-DbkL5luy.js +0 -422
  46. package/dist/EventAvailabilityForm-DbkL5luy.js.br +0 -0
  47. package/dist/Field-fZ3Q2e9-.js +0 -41
  48. package/dist/Field-fZ3Q2e9-.js.br +0 -0
  49. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CJgfqs-l.js +0 -30755
  50. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CJgfqs-l.js.br +0 -0
  51. package/dist/TermsOfService-2g29W45E.js +0 -26
  52. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
  53. package/dist/masonry.plugin-WFnnzw7L.js.br +0 -0
@@ -1,32 +1,40 @@
1
- import { d as C, o as u, c as m, m as c, p as j, am as ve, an as me, a1 as J, i as U, ao as he, a as I, f as r, e as H, w as $, a9 as Q, aa as _, ap as q, s as x, n as v, ae as V, b as S, aq as ge, ar as be, t as b, a3 as we, g as y, _ as z, r as ee, T as oe, I as ne, ah as Se, as as ke, at as Ce, u as $e, ak as W, K as Be, N as Ve, au as Pe, y as Te, z as Ie } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CJgfqs-l.js";
1
+ import { d as C, o as u, c as m, r as c, h as j, D as ve, E as me, q as Q, g as U, G as he, a as I, f as r, e as H, w as $, v as X, x as Z, H as q, T as x, n as v, z as V, b as S, I as ge, J as be, t as b, u as y, A as we, K as Se, L as ke, C as W, p as Ce, j as $e } from "./_commonjsHelpers-UWZO_9XV.js";
2
+ import { A as Be, _ as z, r as ee, T as oe, I as ne, u as Ve, s as Pe, o as Te, Q as Ie } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BKo1p702.js";
3
+ (function() {
4
+ try {
5
+ var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, o = new Error().stack;
6
+ o && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[o] = "c8b0ac11-085c-450c-8a58-5d8237d7956e", e._sentryDebugIdIdentifier = "sentry-dbid-c8b0ac11-085c-450c-8a58-5d8237d7956e");
7
+ } catch {
8
+ }
9
+ })();
2
10
  function He(e) {
3
11
  if (Array.isArray(e)) {
4
- for (var o = 0, l = Array(e.length); o < e.length; o++)
5
- l[o] = e[o];
6
- return l;
12
+ for (var o = 0, t = Array(e.length); o < e.length; o++)
13
+ t[o] = e[o];
14
+ return t;
7
15
  } else
8
16
  return Array.from(e);
9
17
  }
10
- var K = !1;
18
+ var _ = !1;
11
19
  if (typeof window < "u") {
12
20
  var te = {
13
21
  get passive() {
14
- K = !0;
22
+ _ = !0;
15
23
  }
16
24
  };
17
25
  window.addEventListener("testPassive", null, te), window.removeEventListener("testPassive", null, te);
18
26
  }
19
- 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), k = [], D = !1, ae = -1, P = void 0, w = void 0, T = void 0, ie = function(o) {
20
- return k.some(function(l) {
21
- return !!(l.options.allowTouchMove && l.options.allowTouchMove(o));
27
+ var D = typeof window < "u" && window.navigator && window.navigator.platform && (/iP(ad|hone|od)/.test(window.navigator.platform) || window.navigator.platform === "MacIntel" && window.navigator.maxTouchPoints > 1), k = [], E = !1, ae = -1, P = void 0, w = void 0, T = void 0, ie = function(o) {
28
+ return k.some(function(t) {
29
+ return !!(t.options.allowTouchMove && t.options.allowTouchMove(o));
22
30
  });
23
- }, E = function(o) {
24
- var l = o || window.event;
25
- return ie(l.target) || l.touches.length > 1 ? !0 : (l.preventDefault && l.preventDefault(), !1);
31
+ }, O = function(o) {
32
+ var t = o || window.event;
33
+ return ie(t.target) || t.touches.length > 1 ? !0 : (t.preventDefault && t.preventDefault(), !1);
26
34
  }, Ae = function(o) {
27
35
  if (T === void 0) {
28
- var l = !!o && o.reserveScrollBarGap === !0, n = window.innerWidth - document.documentElement.clientWidth;
29
- if (l && n > 0) {
36
+ var t = !!o && o.reserveScrollBarGap === !0, n = window.innerWidth - document.documentElement.clientWidth;
37
+ if (t && n > 0) {
30
38
  var a = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"), 10);
31
39
  T = document.body.style.paddingRight, document.body.style.paddingRight = a + n + "px";
32
40
  }
@@ -42,26 +50,26 @@ var O = typeof window < "u" && window.navigator && window.navigator.platform &&
42
50
  top: document.body.style.top,
43
51
  left: document.body.style.left
44
52
  };
45
- var o = window, l = o.scrollY, n = o.scrollX, a = o.innerHeight;
46
- document.body.style.position = "fixed", document.body.style.top = -l, document.body.style.left = -n, setTimeout(function() {
53
+ var o = window, t = o.scrollY, n = o.scrollX, a = o.innerHeight;
54
+ document.body.style.position = "fixed", document.body.style.top = -t, document.body.style.left = -n, setTimeout(function() {
47
55
  return window.requestAnimationFrame(function() {
48
56
  var i = a - window.innerHeight;
49
- i && l >= a && (document.body.style.top = -(l + i));
57
+ i && t >= a && (document.body.style.top = -(t + i));
50
58
  });
51
59
  }, 300);
52
60
  }
53
61
  });
54
- }, Oe = function() {
62
+ }, De = function() {
55
63
  if (w !== void 0) {
56
- var o = -parseInt(document.body.style.top, 10), l = -parseInt(document.body.style.left, 10);
57
- 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;
64
+ var o = -parseInt(document.body.style.top, 10), t = -parseInt(document.body.style.left, 10);
65
+ document.body.style.position = w.position, document.body.style.top = w.top, document.body.style.left = w.left, window.scrollTo(t, o), w = void 0;
58
66
  }
59
- }, De = function(o) {
67
+ }, Ee = function(o) {
60
68
  return o ? o.scrollHeight - o.scrollTop <= o.clientHeight : !1;
61
- }, Ee = function(o, l) {
69
+ }, Oe = function(o, t) {
62
70
  var n = o.targetTouches[0].clientY - ae;
63
- return ie(o.target) ? !1 : l && l.scrollTop === 0 && n > 0 || De(l) && n < 0 ? E(o) : (o.stopPropagation(), !0);
64
- }, ze = function(o, l) {
71
+ return ie(o.target) ? !1 : t && t.scrollTop === 0 && n > 0 || Ee(t) && n < 0 ? O(o) : (o.stopPropagation(), !0);
72
+ }, ze = function(o, t) {
65
73
  if (!o) {
66
74
  console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");
67
75
  return;
@@ -71,47 +79,47 @@ var O = typeof window < "u" && window.navigator && window.navigator.platform &&
71
79
  })) {
72
80
  var n = {
73
81
  targetElement: o,
74
- options: l || {}
82
+ options: t || {}
75
83
  };
76
- k = [].concat(He(k), [n]), O ? qe() : Ae(l), O && (o.ontouchstart = function(a) {
84
+ k = [].concat(He(k), [n]), D ? qe() : Ae(t), D && (o.ontouchstart = function(a) {
77
85
  a.targetTouches.length === 1 && (ae = a.targetTouches[0].clientY);
78
86
  }, o.ontouchmove = function(a) {
79
- a.targetTouches.length === 1 && Ee(a, o);
80
- }, D || (document.addEventListener("touchmove", E, K ? { passive: !1 } : void 0), D = !0));
87
+ a.targetTouches.length === 1 && Oe(a, o);
88
+ }, E || (document.addEventListener("touchmove", O, _ ? { passive: !1 } : void 0), E = !0));
81
89
  }
82
- }, Me = function(o) {
90
+ }, Le = function(o) {
83
91
  if (!o) {
84
92
  console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");
85
93
  return;
86
94
  }
87
- k = k.filter(function(l) {
88
- return l.targetElement !== o;
89
- }), O && (o.ontouchstart = null, o.ontouchmove = null, D && k.length === 0 && (document.removeEventListener("touchmove", E, K ? { passive: !1 } : void 0), D = !1)), O ? Oe() : Ne();
90
- }, Y = C({
95
+ k = k.filter(function(t) {
96
+ return t.targetElement !== o;
97
+ }), D && (o.ontouchstart = null, o.ontouchmove = null, E && k.length === 0 && (document.removeEventListener("touchmove", O, _ ? { passive: !1 } : void 0), E = !1)), D ? De() : Ne();
98
+ }, K = C({
91
99
  name: "SidePanelCloseButton",
92
100
  emits: ["close"]
93
101
  });
94
- const Le = /* @__PURE__ */ r(
102
+ const Me = /* @__PURE__ */ r(
95
103
  "span",
96
104
  { class: "vsp-close__x" },
97
105
  null,
98
106
  -1
99
107
  /* HOISTED */
100
108
  ), Fe = [
101
- Le
109
+ Me
102
110
  ];
103
- function Re(e, o, l, n, a, i) {
111
+ function Ge(e, o, t, n, a, i) {
104
112
  return u(), m("div", {
105
113
  class: "vsp-close",
106
- onClick: o[0] || (o[0] = (t) => e.$emit("close"))
114
+ onClick: o[0] || (o[0] = (l) => e.$emit("close"))
107
115
  }, [...Fe]);
108
116
  }
109
- Y.render = Re;
110
- Y.__file = "src/components/SidePanelCloseButton.vue";
111
- var X = C({
117
+ K.render = Ge;
118
+ K.__file = "src/components/SidePanelCloseButton.vue";
119
+ var Y = C({
112
120
  name: "VueSidePanel",
113
121
  components: {
114
- SidePanelCloseButton: Y
122
+ SidePanelCloseButton: K
115
123
  },
116
124
  props: {
117
125
  idName: {
@@ -198,46 +206,46 @@ var X = C({
198
206
  }
199
207
  },
200
208
  emits: ["update:modelValue", "closed", "opened"],
201
- setup(e, { emit: o, attrs: l }) {
209
+ setup(e, { emit: o, attrs: t }) {
202
210
  let n;
203
- const a = c(null), i = c(null), t = c(null), s = c(null), d = c(null), p = c(0), h = c(0), A = c(0), M = c(0), L = c(0), F = c(), Z = c(!1), B = async () => {
204
- window?.innerHeight > 0 && (L.value = window.innerHeight), p.value = t.value ? t.value.clientHeight : 0, A.value = s.value ? s.value.clientHeight : 0, h.value = d.value ? d.value.scrollHeight : 0, M.value = a.value ? a.value.clientHeight : 0;
205
- }, de = () => o("update:modelValue", !1), R = (f, g) => {
211
+ const a = c(null), i = c(null), l = c(null), s = c(null), d = c(null), f = c(0), h = c(0), A = c(0), L = c(0), M = c(0), F = c(), J = c(!1), B = async () => {
212
+ window?.innerHeight > 0 && (M.value = window.innerHeight), f.value = l.value ? l.value.clientHeight : 0, A.value = s.value ? s.value.clientHeight : 0, h.value = d.value ? d.value.scrollHeight : 0, L.value = a.value ? a.value.clientHeight : 0;
213
+ }, de = () => o("update:modelValue", !1), G = (p, g) => {
206
214
  if (g) {
207
215
  setTimeout(() => {
208
- ze(f, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
216
+ ze(p, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
209
217
  }, 0);
210
218
  return;
211
219
  }
212
- Me(f), e.lockScrollHtml && document.documentElement.style.removeProperty("overflow");
213
- }, re = () => Math.max(...Array.from(document.querySelectorAll("body *"), (f) => parseFloat(window.getComputedStyle(f).zIndex)).filter((f) => !Number.isNaN(f)), 0);
220
+ Le(p), e.lockScrollHtml && document.documentElement.style.removeProperty("overflow");
221
+ }, re = () => Math.max(...Array.from(document.querySelectorAll("body *"), (p) => parseFloat(window.getComputedStyle(p).zIndex)).filter((p) => !Number.isNaN(p)), 0);
214
222
  j(() => {
215
223
  F.value = e.zIndex === "auto" ? re() : e.zIndex;
216
224
  }), ve(() => {
217
225
  document.getElementById(e.idName) || (n = document.createElement("div"), n.setAttribute("id", e.idName), document.body.appendChild(n));
218
226
  }), me(() => {
219
- const { modelValue: f, lockScroll: g } = e;
220
- g && a.value && f && R(a.value, !1), n && document.body.removeChild(n), window.removeEventListener("resize", B);
221
- }), J(() => [s.value, t.value, e.height, e.width, e.side, e.modelValue], () => {
227
+ const { modelValue: p, lockScroll: g } = e;
228
+ g && a.value && p && G(a.value, !1), n && document.body.removeChild(n), window.removeEventListener("resize", B);
229
+ }), Q(() => [s.value, l.value, e.height, e.width, e.side, e.modelValue], () => {
222
230
  be(() => B());
223
- }), J(() => [e.modelValue, a.value], (f, g) => {
224
- const pe = g ? g[0] : !1, [G, N] = f, fe = G, ye = pe && !G;
231
+ }), Q(() => [e.modelValue, a.value], (p, g) => {
232
+ const fe = g ? g[0] : !1, [R, N] = p, pe = R, ye = fe && !R;
225
233
  if (N) {
226
- if (fe && (Z.value = !!document.body.style.overflow), G) {
227
- e.lockScroll && R(N, !0), B(), window.addEventListener("resize", B);
234
+ if (pe && (J.value = !!document.body.style.overflow), R) {
235
+ e.lockScroll && G(N, !0), B(), window.addEventListener("resize", B);
228
236
  return;
229
237
  }
230
- !e.lockScroll || !ye || Z.value || (setTimeout(() => {
231
- N && R(N, !1);
238
+ !e.lockScroll || !ye || J.value || (setTimeout(() => {
239
+ N && G(N, !1);
232
240
  }, e.panelDuration), window.removeEventListener("resize", B));
233
241
  }
234
242
  }, { immediate: !0 });
235
243
  const se = U(() => {
236
- if (!M.value)
244
+ if (!L.value)
237
245
  return;
238
- const f = h.value + A.value + p.value;
239
- let g = M.value - A.value - p.value;
240
- return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g = L.value >= f ? h.value : L.value - A.value - p.value), g;
246
+ const p = h.value + A.value + f.value;
247
+ let g = L.value - A.value - f.value;
248
+ return ["top", "bottom"].includes(e.side) && e.height === "auto" && (g = M.value >= p ? h.value : M.value - A.value - f.value), g;
241
249
  }), ue = U(() => ({
242
250
  zIndex: F.value,
243
251
  animationDuration: `${e.overlayDuration}ms`,
@@ -256,7 +264,7 @@ var X = C({
256
264
  zIndex: F.value,
257
265
  backgroundColor: e.panelColor,
258
266
  animationDuration: `${e.panelDuration}ms`,
259
- ...Object.assign({}, l.style)
267
+ ...Object.assign({}, t.style)
260
268
  }));
261
269
  return {
262
270
  body: d,
@@ -264,15 +272,15 @@ var X = C({
264
272
  overlay: i,
265
273
  overlayStyles: ue,
266
274
  header: s,
267
- footer: t,
275
+ footer: l,
268
276
  closePanel: de,
269
277
  panelStyles: ce,
270
278
  bodyHeight: se
271
279
  };
272
280
  }
273
281
  });
274
- function Ge(e, o, l, n, a, i) {
275
- const t = he("SidePanelCloseButton");
282
+ function Re(e, o, t, n, a, i) {
283
+ const l = he("SidePanelCloseButton");
276
284
  return u(), I(ge, {
277
285
  to: `#${e.idName}`
278
286
  }, [
@@ -287,7 +295,7 @@ function Ge(e, o, l, n, a, i) {
287
295
  persisted: ""
288
296
  }, {
289
297
  default: $(() => [
290
- Q(r(
298
+ X(r(
291
299
  "div",
292
300
  {
293
301
  ref: "overlay",
@@ -299,7 +307,7 @@ function Ge(e, o, l, n, a, i) {
299
307
  4
300
308
  /* STYLE */
301
309
  ), [
302
- [_, e.modelValue]
310
+ [Z, e.modelValue]
303
311
  ])
304
312
  ]),
305
313
  _: 1
@@ -311,7 +319,7 @@ function Ge(e, o, l, n, a, i) {
311
319
  onAfterLeave: o[2] || (o[2] = (s) => e.$emit("closed"))
312
320
  }, {
313
321
  default: $(() => [
314
- !e.rerender || e.modelValue ? Q((u(), m(
322
+ !e.rerender || e.modelValue ? X((u(), m(
315
323
  "div",
316
324
  {
317
325
  key: 0,
@@ -342,7 +350,7 @@ function Ge(e, o, l, n, a, i) {
342
350
  },
343
351
  [
344
352
  V(e.$slots, "default", { close: e.closePanel }),
345
- e.hideCloseBtn ? S("v-if", !0) : (u(), I(t, {
353
+ e.hideCloseBtn ? S("v-if", !0) : (u(), I(l, {
346
354
  key: 0,
347
355
  onClose: e.closePanel
348
356
  }, null, 8, ["onClose"]))
@@ -367,7 +375,7 @@ function Ge(e, o, l, n, a, i) {
367
375
  6
368
376
  /* CLASS, STYLE */
369
377
  )), [
370
- [_, e.rerender ? !0 : e.modelValue]
378
+ [Z, e.rerender ? !0 : e.modelValue]
371
379
  ]) : S("v-if", !0)
372
380
  ]),
373
381
  _: 3
@@ -379,12 +387,12 @@ function Ge(e, o, l, n, a, i) {
379
387
  )
380
388
  ], 8, ["to"]);
381
389
  }
382
- X.render = Ge;
383
- X.__file = "src/components/SidePanel.vue";
390
+ Y.render = Re;
391
+ Y.__file = "src/components/SidePanel.vue";
384
392
  const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-panel-title" }, je = {
385
393
  key: 0,
386
394
  id: "konnectio-side-panel-subtitle"
387
- }, Ke = ["innerHTML"], Ye = /* @__PURE__ */ C({
395
+ }, _e = ["innerHTML"], Ke = /* @__PURE__ */ C({
388
396
  __name: "Base",
389
397
  props: {
390
398
  modelValue: { type: Boolean },
@@ -399,19 +407,19 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
399
407
  },
400
408
  emits: ["update:modelValue", "opened", "closed"],
401
409
  setup(e, { emit: o }) {
402
- const l = o;
410
+ const t = o;
403
411
  function n() {
404
- l("closed");
412
+ t("closed");
405
413
  }
406
414
  function a() {
407
- l("opened");
415
+ t("opened");
408
416
  }
409
- return (i, t) => (u(), I(y(X), {
417
+ return (i, l) => (u(), I(y(Y), {
410
418
  modelValue: i.modelValue,
411
419
  "lock-scroll": i.lockScroll,
412
420
  "hide-close-btn": i.hideCloseButton,
413
421
  width: i.width,
414
- "onUpdate:modelValue": t[1] || (t[1] = (s) => i.$emit("update:modelValue", s)),
422
+ "onUpdate:modelValue": l[1] || (l[1] = (s) => i.$emit("update:modelValue", s)),
415
423
  onClosed: n,
416
424
  onOpened: a
417
425
  }, {
@@ -421,9 +429,9 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
421
429
  r("span", null, b(i.title), 1),
422
430
  r("button", {
423
431
  id: "konnectio-side-panel-close",
424
- onClick: t[0] || (t[0] = (s) => i.$emit("update:modelValue", !1))
432
+ onClick: l[0] || (l[0] = (s) => i.$emit("update:modelValue", !1))
425
433
  }, [
426
- H(we, {
434
+ H(Be, {
427
435
  icon: "times",
428
436
  type: "fas",
429
437
  color: "header"
@@ -440,14 +448,14 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
440
448
  r("div", {
441
449
  class: "konnectio-side-panel-description",
442
450
  innerHTML: i.description
443
- }, null, 8, Ke),
451
+ }, null, 8, _e),
444
452
  V(i.$slots, "default", {}, void 0, !0)
445
453
  ])
446
454
  ]),
447
455
  _: 3
448
456
  }, 8, ["modelValue", "lock-scroll", "hide-close-btn", "width"]));
449
457
  }
450
- }), uo = /* @__PURE__ */ z(Ye, [["__scopeId", "data-v-ce9ba7e5"]]), Xe = { class: "fresh-booking-phone-input" }, Ze = /* @__PURE__ */ C({
458
+ }), co = /* @__PURE__ */ z(Ke, [["__scopeId", "data-v-ce9ba7e5"]]), Ye = { class: "fresh-booking-phone-input" }, Je = /* @__PURE__ */ C({
451
459
  __name: "PhoneField",
452
460
  props: {
453
461
  modelValue: {},
@@ -463,16 +471,16 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
463
471
  },
464
472
  emits: ["update:modelValue"],
465
473
  setup(e, { emit: o }) {
466
- const l = o, n = e, a = n.id || ee(), i = c("+45"), t = c("");
474
+ const t = o, n = e, a = n.id || ee(), i = c("+45"), l = c("");
467
475
  function s() {
468
- l("update:modelValue", `${i.value} ${t.value}`);
476
+ t("update:modelValue", `${i.value} ${l.value}`);
469
477
  }
470
478
  return j(() => {
471
479
  if (n.modelValue) {
472
480
  const d = n.modelValue.split(" ");
473
- i.value = d[0], t.value = d[1];
481
+ i.value = d[0], l.value = d[1];
474
482
  }
475
- }), (d, p) => (u(), I(ne, {
483
+ }), (d, f) => (u(), I(ne, {
476
484
  label: d.label,
477
485
  id: y(a),
478
486
  type: "phone",
@@ -480,10 +488,10 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
480
488
  readonly: d.readonly
481
489
  }, {
482
490
  default: $(() => [
483
- r("div", Xe, [
491
+ r("div", Ye, [
484
492
  H(oe, {
485
493
  modelValue: i.value,
486
- "onUpdate:modelValue": p[0] || (p[0] = (h) => i.value = h),
494
+ "onUpdate:modelValue": f[0] || (f[0] = (h) => i.value = h),
487
495
  type: "text",
488
496
  id: y(ee)(),
489
497
  name: "phone-code",
@@ -495,11 +503,11 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
495
503
  required: d.required,
496
504
  readonly: d.readonly,
497
505
  "input-style": d.inputStyle,
498
- onInput: p[1] || (p[1] = (h) => s())
506
+ onInput: f[1] || (f[1] = (h) => s())
499
507
  }, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "required", "readonly", "input-style"]),
500
508
  H(oe, {
501
- modelValue: t.value,
502
- "onUpdate:modelValue": p[2] || (p[2] = (h) => t.value = h),
509
+ modelValue: l.value,
510
+ "onUpdate:modelValue": f[2] || (f[2] = (h) => l.value = h),
503
511
  type: "number",
504
512
  name: "phone",
505
513
  autocomplete: "tel-national",
@@ -508,14 +516,14 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
508
516
  required: d.required,
509
517
  readonly: d.readonly,
510
518
  "input-style": d.inputStyle,
511
- onInput: p[3] || (p[3] = (h) => s())
519
+ onInput: f[3] || (f[3] = (h) => s())
512
520
  }, null, 8, ["modelValue", "id", "placeholder", "required", "readonly", "input-style"])
513
521
  ])
514
522
  ]),
515
523
  _: 1
516
524
  }, 8, ["label", "id", "required", "readonly"]));
517
525
  }
518
- }), co = /* @__PURE__ */ z(Ze, [["__scopeId", "data-v-5cd094ab"]]), Je = ["required", "type", "name", "readonly", "disabled", "value", "checked"], Qe = ["data-test"], _e = { key: 0 }, xe = {
526
+ }), fo = /* @__PURE__ */ z(Je, [["__scopeId", "data-v-5cd094ab"]]), Qe = ["required", "type", "name", "readonly", "disabled", "value", "checked"], Xe = ["data-test"], Ze = { key: 0 }, xe = {
519
527
  key: 1,
520
528
  class: /* @__PURE__ */ v(["konnectio-click-box-label", "inline"])
521
529
  }, eo = /* @__PURE__ */ C({
@@ -535,56 +543,56 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
535
543
  },
536
544
  emits: ["update:modelValue"],
537
545
  setup(e, { emit: o }) {
538
- const l = e, n = o, a = Se();
546
+ const t = e, n = o, a = we();
539
547
  function i() {
540
- l.readonly !== !0 && n(
548
+ t.readonly !== !0 && n(
541
549
  "update:modelValue",
542
- l.type === "radio" ? l.val : l.numeric ? l.modelValue ? 0 : 1 : !l.modelValue
550
+ t.type === "radio" ? t.val : t.numeric ? t.modelValue ? 0 : 1 : !t.modelValue
543
551
  );
544
552
  }
545
- return (t, s) => (u(), I(ne, {
546
- required: t.required,
547
- type: t.type,
548
- readonly: t.readonly
553
+ return (l, s) => (u(), I(ne, {
554
+ required: l.required,
555
+ type: l.type,
556
+ readonly: l.readonly
549
557
  }, {
550
558
  default: $(() => [
551
559
  r("label", {
552
560
  class: v([
553
561
  "konnectio-click-box-container",
554
- { "is-readonly": t.readonly },
555
- { "has-label": t.label || y(a).default },
556
- t.type === "radio" ? "radio" : "checkbox"
562
+ { "is-readonly": l.readonly },
563
+ { "has-label": l.label || y(a).default },
564
+ l.type === "radio" ? "radio" : "checkbox"
557
565
  ])
558
566
  }, [
559
- r("input", ke(t.$attrs, {
560
- required: !!t.required,
561
- type: t.type,
562
- name: t.name,
567
+ r("input", Se(l.$attrs, {
568
+ required: !!l.required,
569
+ type: l.type,
570
+ name: l.name,
563
571
  class: "hidden",
564
- readonly: !!t.readonly,
565
- disabled: !!t.readonly,
566
- value: t.type === "radio" ? t.val : t.modelValue,
567
- checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue,
572
+ readonly: !!l.readonly,
573
+ disabled: !!l.readonly,
574
+ value: l.type === "radio" ? l.val : l.modelValue,
575
+ checked: l.type === "radio" ? l.val === l.modelValue : !!l.modelValue,
568
576
  onChange: s[0] || (s[0] = (d) => i())
569
- }), null, 16, Je),
577
+ }), null, 16, Qe),
570
578
  r("div", {
571
579
  class: v([
572
580
  "konnectio-click-box",
573
- { checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue }
581
+ { checked: l.type === "radio" ? l.val === l.modelValue : !!l.modelValue }
574
582
  ]),
575
583
  tabindex: "0",
576
- style: q(t.inputStyle),
577
- "data-test": t.name,
578
- onKeyup: s[1] || (s[1] = Ce((d) => i(), ["enter"]))
579
- }, null, 46, Qe),
580
- t.label ? (u(), m("div", {
584
+ style: q(l.inputStyle),
585
+ "data-test": l.name,
586
+ onKeyup: s[1] || (s[1] = ke((d) => i(), ["enter"]))
587
+ }, null, 46, Xe),
588
+ l.label ? (u(), m("div", {
581
589
  key: 0,
582
- class: v(["konnectio-click-box-label", "text-hover", { "with-price": t.price }])
590
+ class: v(["konnectio-click-box-label", "text-hover", { "with-price": l.price }])
583
591
  }, [
584
- r("span", null, b(t.label), 1),
585
- t.price ? (u(), m("span", _e, b(t.price), 1)) : S("", !0)
592
+ r("span", null, b(l.label), 1),
593
+ l.price ? (u(), m("span", Ze, b(l.price), 1)) : S("", !0)
586
594
  ], 2)) : y(a).default ? (u(), m("div", xe, [
587
- V(t.$slots, "default", {}, void 0, !0)
595
+ V(l.$slots, "default", {}, void 0, !0)
588
596
  ])) : S("", !0)
589
597
  ], 2)
590
598
  ]),
@@ -600,8 +608,8 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
600
608
  }, lo = /* @__PURE__ */ C({
601
609
  __name: "GoogleNotice",
602
610
  setup(e) {
603
- const { t: o } = $e();
604
- return (l, n) => (u(), m("span", null, [
611
+ const { t: o } = Ve();
612
+ return (t, n) => (u(), m("span", null, [
605
613
  W(b(y(o)("googleNotice")) + " ", 1),
606
614
  r("a", oo, b(y(o)("googlePrivacyPolicy")), 1),
607
615
  W(" " + b(y(o)("googleAnd")) + " ", 1),
@@ -633,27 +641,28 @@ function le(e) {
633
641
  });
634
642
  }
635
643
  typeof le == "function" && le(lo);
636
- const no = (e) => (Te("data-v-853041a4"), e = e(), Ie(), e), ao = /* @__PURE__ */ no(() => /* @__PURE__ */ r("div", { id: "konnectio-payment-checkout" }, null, -1)), io = [
644
+ const no = (e) => (Ce("data-v-853041a4"), e = e(), $e(), e), ao = /* @__PURE__ */ no(() => /* @__PURE__ */ r("div", { id: "konnectio-payment-checkout" }, null, -1)), io = [
637
645
  ao
638
646
  ], ro = /* @__PURE__ */ C({
639
647
  __name: "CheckoutWindow",
640
648
  setup(e) {
641
- const { paymentGatewayId: o } = Be(Ve());
649
+ const { paymentGatewayId: o } = Pe(Te());
642
650
  return j(() => {
643
- const l = document.createElement("script"), n = document.createElement("script");
644
- 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);
645
- }), (l, n) => (u(), m("div", null, [
651
+ const t = document.createElement("script"), n = document.createElement("script");
652
+ t.setAttribute("src", "https://checkout.dibspayment.eu/v1/checkout.js?v=1"), n.setAttribute("src", "https://checkout.reepay.com/checkout.js"), document.head.appendChild(t), document.head.appendChild(n);
653
+ }), (t, n) => (u(), m("div", null, [
646
654
  r("div", {
647
655
  id: "konnectio-payment-checkout-wrapper",
648
- class: v({ reePay: y(o) === y(Pe).ReePay })
656
+ class: v({ reePay: y(o) === y(Ie).ReePay })
649
657
  }, io, 2)
650
658
  ]));
651
659
  }
652
- }), fo = /* @__PURE__ */ z(ro, [["__scopeId", "data-v-853041a4"]]);
660
+ }), yo = /* @__PURE__ */ z(ro, [["__scopeId", "data-v-853041a4"]]);
653
661
  export {
654
- uo as B,
655
- fo as C,
656
- co as P,
662
+ co as B,
663
+ yo as C,
664
+ fo as P,
657
665
  lo as _,
658
666
  po as a
659
667
  };
668
+ //# sourceMappingURL=CheckoutWindow-BVIOQbbL.js.map