@konnectio/core 4.7.10 → 4.7.11

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 (98) hide show
  1. package/dist/{ActionField-BSWeY8s9.js → ActionField-DUL0XvJT.js} +1 -1
  2. package/dist/ActionField-DUL0XvJT.js.br +0 -0
  3. package/dist/ActionField-DUL0XvJT.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-Q_NRPJhM.js → AvailabilitySkeleton-DEr2RxbZ.js} +2 -2
  5. package/dist/AvailabilitySkeleton-DEr2RxbZ.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-DEr2RxbZ.js.gz +0 -0
  7. package/dist/{CheckoutWindow-BUNrnlGh.js → CheckoutWindow-BNE0eaqa.js} +95 -88
  8. package/dist/CheckoutWindow-BNE0eaqa.js.br +0 -0
  9. package/dist/CheckoutWindow-BNE0eaqa.js.gz +0 -0
  10. package/dist/{ErrorMessage-BvilVn5L.js → ErrorMessage-c1Xb-slW.js} +1 -1
  11. package/dist/ErrorMessage-c1Xb-slW.js.br +0 -0
  12. package/dist/ErrorMessage-c1Xb-slW.js.gz +0 -0
  13. package/dist/{EventAvailabilityForm-btvOM8KB.js → EventAvailabilityForm-7jg44O4p.js} +2 -2
  14. package/dist/EventAvailabilityForm-7jg44O4p.js.br +0 -0
  15. package/dist/EventAvailabilityForm-7jg44O4p.js.gz +0 -0
  16. package/dist/{Field-DAHZfr5Y.js → Field-BpOBWcqm.js} +1 -1
  17. package/dist/Field-BpOBWcqm.js.br +0 -0
  18. package/dist/Field-BpOBWcqm.js.gz +0 -0
  19. package/dist/{HotelAvailabilityForm-DCCdgoBw.js → HotelAvailabilityForm-D-BlPPkO.js} +2 -2
  20. package/dist/HotelAvailabilityForm-D-BlPPkO.js.br +0 -0
  21. package/dist/HotelAvailabilityForm-D-BlPPkO.js.gz +0 -0
  22. package/dist/{SelectField-CnreRmEZ.js → SelectField-BgawaMC_.js} +36 -35
  23. package/dist/SelectField-BgawaMC_.js.br +0 -0
  24. package/dist/SelectField-BgawaMC_.js.gz +0 -0
  25. package/dist/{TermsOfService-DcFuq9YM.js → TermsOfService-ByMc3JXX.js} +2 -2
  26. package/dist/TermsOfService-ByMc3JXX.js.br +0 -0
  27. package/dist/TermsOfService-ByMc3JXX.js.gz +2 -0
  28. package/dist/{_-DYoQFY32.js → _-BftIyTSa.js} +1 -1
  29. package/dist/_-BftIyTSa.js.br +0 -0
  30. package/dist/_-BftIyTSa.js.gz +0 -0
  31. package/dist/availability.js +7 -7
  32. package/dist/availability.js.br +0 -0
  33. package/dist/availability.js.gz +0 -0
  34. package/dist/cancel-reservation.js +4 -4
  35. package/dist/cancel-reservation.js.br +0 -0
  36. package/dist/cancel-reservation.js.gz +0 -0
  37. package/dist/core.css +1 -1
  38. package/dist/core.css.br +0 -0
  39. package/dist/core.css.gz +0 -0
  40. package/dist/{dist-VETO5cbq.js → dist-BRdmfOkq.js} +2 -2
  41. package/dist/dist-BRdmfOkq.js.br +0 -0
  42. package/dist/{dist-VETO5cbq.js.gz → dist-BRdmfOkq.js.gz} +0 -0
  43. package/dist/{dist-CXMkG9Ch.js → dist-DOhI4S1k.js} +4 -4
  44. package/dist/dist-DOhI4S1k.js.br +0 -0
  45. package/dist/{dist-CXMkG9Ch.js.gz → dist-DOhI4S1k.js.gz} +0 -0
  46. package/dist/event.js +162 -162
  47. package/dist/event.js.br +0 -0
  48. package/dist/event.js.gz +0 -0
  49. package/dist/gift-card-validation.js +7 -7
  50. package/dist/gift-card-validation.js.br +0 -0
  51. package/dist/gift-card-validation.js.gz +0 -0
  52. package/dist/gift-card.js +11 -11
  53. package/dist/gift-card.js.br +0 -0
  54. package/dist/gift-card.js.gz +0 -0
  55. package/dist/{giftCard-k36XguqL.js → giftCard-D7hskPCe.js} +1 -1
  56. package/dist/giftCard-D7hskPCe.js.br +0 -0
  57. package/dist/giftCard-D7hskPCe.js.gz +0 -0
  58. package/dist/hotel.js +1054 -1054
  59. package/dist/hotel.js.br +0 -0
  60. package/dist/hotel.js.gz +0 -0
  61. package/dist/polyfill.js +1 -1
  62. package/dist/polyfill.js.br +0 -0
  63. package/dist/polyfill.js.gz +0 -0
  64. package/dist/{style-HOryxFZm.js → style-CHNgkDj2.js} +1 -1
  65. package/dist/style-CHNgkDj2.js.br +0 -0
  66. package/dist/style-CHNgkDj2.js.gz +0 -0
  67. package/dist-wix/availability.js +2 -2
  68. package/dist-wix/event.js +6 -6
  69. package/dist-wix/gift-card-validation.js +1 -1
  70. package/dist-wix/gift-card.js +5 -5
  71. package/dist-wix/hotel.js +6 -6
  72. package/package.json +1 -1
  73. package/dist/ActionField-BSWeY8s9.js.br +0 -0
  74. package/dist/ActionField-BSWeY8s9.js.gz +0 -0
  75. package/dist/AvailabilitySkeleton-Q_NRPJhM.js.br +0 -0
  76. package/dist/AvailabilitySkeleton-Q_NRPJhM.js.gz +0 -0
  77. package/dist/CheckoutWindow-BUNrnlGh.js.br +0 -0
  78. package/dist/CheckoutWindow-BUNrnlGh.js.gz +0 -0
  79. package/dist/ErrorMessage-BvilVn5L.js.br +0 -0
  80. package/dist/ErrorMessage-BvilVn5L.js.gz +0 -0
  81. package/dist/EventAvailabilityForm-btvOM8KB.js.br +0 -0
  82. package/dist/EventAvailabilityForm-btvOM8KB.js.gz +0 -0
  83. package/dist/Field-DAHZfr5Y.js.br +0 -0
  84. package/dist/Field-DAHZfr5Y.js.gz +0 -0
  85. package/dist/HotelAvailabilityForm-DCCdgoBw.js.br +0 -0
  86. package/dist/HotelAvailabilityForm-DCCdgoBw.js.gz +0 -0
  87. package/dist/SelectField-CnreRmEZ.js.br +0 -0
  88. package/dist/SelectField-CnreRmEZ.js.gz +0 -0
  89. package/dist/TermsOfService-DcFuq9YM.js.br +0 -0
  90. package/dist/TermsOfService-DcFuq9YM.js.gz +0 -3
  91. package/dist/_-DYoQFY32.js.br +0 -0
  92. package/dist/_-DYoQFY32.js.gz +0 -5
  93. package/dist/dist-CXMkG9Ch.js.br +0 -0
  94. package/dist/dist-VETO5cbq.js.br +0 -0
  95. package/dist/giftCard-k36XguqL.js.br +0 -0
  96. package/dist/giftCard-k36XguqL.js.gz +0 -0
  97. package/dist/style-HOryxFZm.js.br +0 -0
  98. package/dist/style-HOryxFZm.js.gz +0 -0
@@ -1,5 +1,5 @@
1
1
  import { E as e, J as t, N as n, T as r, Tt as i, _ as a, j as o, ut as s, w as c } from "./i18n-DwFTw_rF.js";
2
- import { G as l, S as u, _ as d, n as f, r as p, t as m, v as h } from "./SelectField-CnreRmEZ.js";
2
+ import { G as l, S as u, _ as d, n as f, r as p, t as m, v as h } from "./SelectField-BgawaMC_.js";
3
3
  //#region src/components/inputs/grouped/ActionField.vue?vue&type=script&setup=true&lang.ts
4
4
  var g = { class: "konnectio-action-field" }, _ = /*#__PURE__*/ u(/* @__PURE__ */ n({
5
5
  __name: "ActionField",
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  import { $ as e, A as t, B as n, Ct as r, D as i, Dt as a, E as o, Et as s, F as c, I as l, J as u, K as d, L as f, N as p, O as m, Ot as h, Q as g, R as _, S as v, T as y, Tt as b, V as x, W as S, X as C, _ as w, _t as T, b as E, bt as D, c as O, ct as k, dt as A, g as j, gt as M, j as N, k as P, kt as F, l as I, mt as L, nt as ee, ot as R, q as te, st as z, u as B, ut as V, v as ne, vt as H, w as U, wt as W, xt as re, yt as G } from "./i18n-DwFTw_rF.js";
2
- import { C as ie, E as ae, G as K, H as q, J as oe, P as se, S as ce, T as le, _ as ue, c as de, ct as fe, d as pe, f as me, ft as he, g as ge, h as _e, i as ve, l as ye, m as be, o as xe, p as Se, pt as Ce, s as we, st as Te, z as Ee } from "./SelectField-CnreRmEZ.js";
3
- import { n as De, t as Oe } from "./Field-DAHZfr5Y.js";
2
+ import { C as ie, E as ae, G as K, H as q, J as oe, P as se, S as ce, T as le, _ as ue, c as de, ct as fe, d as pe, f as me, ft as he, g as ge, h as _e, i as ve, l as ye, m as be, o as xe, p as Se, pt as Ce, s as we, st as Te, z as Ee } from "./SelectField-BgawaMC_.js";
3
+ import { n as De, t as Oe } from "./Field-BpOBWcqm.js";
4
4
  //#region src/store/calendar.ts
5
5
  var ke = O("calendar", () => {
6
6
  let e = G({}), t = G(!1), n = G([]), r = G(null), i = ie();
@@ -1,41 +1,41 @@
1
- import { $ as e, A as t, B as n, D as r, E as i, Et as a, H as o, J as s, K as c, N as l, O as u, Ot as d, S as f, T as p, Tt as m, U as h, V as ee, _ as g, a as _, ct as v, dt as y, et as b, g as x, j as S, k as C, kt as w, l as te, ot as ne, u as T, ut as E, w as D, yt as O } from "./i18n-DwFTw_rF.js";
2
- import { E as k, G as A, I as re, S as j, _ as M, at as N, n as P, x as ie } from "./SelectField-CnreRmEZ.js";
1
+ import { $ as e, A as t, B as n, D as r, E as i, Et as a, H as o, J as s, K as c, N as l, O as u, Ot as d, S as f, T as p, Tt as m, U as h, V as ee, _ as g, a as _, ct as v, dt as y, et as b, g as x, j as S, k as C, kt as w, l as T, ot as te, u as E, ut as D, w as O, yt as k } from "./i18n-DwFTw_rF.js";
2
+ import { E as ne, G as A, I as j, S as M, _ as N, at as re, j as ie, n as P, x as F, y as ae } from "./SelectField-BgawaMC_.js";
3
3
  //#region node_modules/body-scroll-lock/lib/bodyScrollLock.esm.js
4
- function ae(e) {
4
+ function oe(e) {
5
5
  if (Array.isArray(e)) {
6
6
  for (var t = 0, n = Array(e.length); t < e.length; t++) n[t] = e[t];
7
7
  return n;
8
8
  } else return Array.from(e);
9
9
  }
10
- var F = !1;
10
+ var I = !1;
11
11
  if (typeof window < "u") {
12
- var I = { get passive() {
13
- F = !0;
12
+ var L = { get passive() {
13
+ I = !0;
14
14
  } };
15
- window.addEventListener("testPassive", null, I), window.removeEventListener("testPassive", null, I);
15
+ window.addEventListener("testPassive", null, L), window.removeEventListener("testPassive", null, L);
16
16
  }
17
- var L = typeof window < "u" && window.navigator && window.navigator.platform && (/iP(ad|hone|od)/.test(window.navigator.platform) || window.navigator.platform === "MacIntel" && window.navigator.maxTouchPoints > 1), R = [], z = !1, B = -1, V = void 0, H = void 0, U = void 0, W = function(e) {
18
- return R.some(function(t) {
17
+ var R = typeof window < "u" && window.navigator && window.navigator.platform && (/iP(ad|hone|od)/.test(window.navigator.platform) || window.navigator.platform === "MacIntel" && window.navigator.maxTouchPoints > 1), z = [], B = !1, V = -1, H = void 0, U = void 0, W = void 0, G = function(e) {
18
+ return z.some(function(t) {
19
19
  return !!(t.options.allowTouchMove && t.options.allowTouchMove(e));
20
20
  });
21
- }, G = function(e) {
22
- var t = e || window.event;
23
- return W(t.target) || t.touches.length > 1 ? !0 : (t.preventDefault && t.preventDefault(), !1);
24
21
  }, K = function(e) {
25
- if (U === void 0) {
22
+ var t = e || window.event;
23
+ return G(t.target) || t.touches.length > 1 ? !0 : (t.preventDefault && t.preventDefault(), !1);
24
+ }, q = function(e) {
25
+ if (W === void 0) {
26
26
  var t = !!e && e.reserveScrollBarGap === !0, n = window.innerWidth - document.documentElement.clientWidth;
27
27
  if (t && n > 0) {
28
28
  var r = parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right"), 10);
29
- U = document.body.style.paddingRight, document.body.style.paddingRight = r + n + "px";
29
+ W = document.body.style.paddingRight, document.body.style.paddingRight = r + n + "px";
30
30
  }
31
31
  }
32
- V === void 0 && (V = document.body.style.overflow, document.body.style.overflow = "hidden");
33
- }, q = function() {
34
- U !== void 0 && (document.body.style.paddingRight = U, U = void 0), V !== void 0 && (document.body.style.overflow = V, V = void 0);
35
- }, J = function() {
32
+ H === void 0 && (H = document.body.style.overflow, document.body.style.overflow = "hidden");
33
+ }, se = function() {
34
+ W !== void 0 && (document.body.style.paddingRight = W, W = void 0), H !== void 0 && (document.body.style.overflow = H, H = void 0);
35
+ }, ce = function() {
36
36
  return window.requestAnimationFrame(function() {
37
- if (H === void 0) {
38
- H = {
37
+ if (U === void 0) {
38
+ U = {
39
39
  position: document.body.style.position,
40
40
  top: document.body.style.top,
41
41
  left: document.body.style.left
@@ -49,53 +49,53 @@ var L = typeof window < "u" && window.navigator && window.navigator.platform &&
49
49
  }, 300);
50
50
  }
51
51
  });
52
- }, oe = function() {
53
- if (H !== void 0) {
52
+ }, le = function() {
53
+ if (U !== void 0) {
54
54
  var e = -parseInt(document.body.style.top, 10), t = -parseInt(document.body.style.left, 10);
55
- document.body.style.position = H.position, document.body.style.top = H.top, document.body.style.left = H.left, window.scrollTo(t, e), H = void 0;
55
+ document.body.style.position = U.position, document.body.style.top = U.top, document.body.style.left = U.left, window.scrollTo(t, e), U = void 0;
56
56
  }
57
- }, se = function(e) {
57
+ }, ue = function(e) {
58
58
  return e ? e.scrollHeight - e.scrollTop <= e.clientHeight : !1;
59
- }, ce = function(e, t) {
60
- var n = e.targetTouches[0].clientY - B;
61
- return W(e.target) ? !1 : t && t.scrollTop === 0 && n > 0 || se(t) && n < 0 ? G(e) : (e.stopPropagation(), !0);
62
- }, le = function(e, t) {
59
+ }, de = function(e, t) {
60
+ var n = e.targetTouches[0].clientY - V;
61
+ return G(e.target) ? !1 : t && t.scrollTop === 0 && n > 0 || ue(t) && n < 0 ? K(e) : (e.stopPropagation(), !0);
62
+ }, fe = function(e, t) {
63
63
  if (!e) {
64
64
  console.error("disableBodyScroll unsuccessful - targetElement must be provided when calling disableBodyScroll on IOS devices.");
65
65
  return;
66
66
  }
67
- if (!R.some(function(t) {
67
+ if (!z.some(function(t) {
68
68
  return t.targetElement === e;
69
69
  })) {
70
70
  var n = {
71
71
  targetElement: e,
72
72
  options: t || {}
73
73
  };
74
- R = [].concat(ae(R), [n]), L ? J() : K(t), L && (e.ontouchstart = function(e) {
75
- e.targetTouches.length === 1 && (B = e.targetTouches[0].clientY);
74
+ z = [].concat(oe(z), [n]), R ? ce() : q(t), R && (e.ontouchstart = function(e) {
75
+ e.targetTouches.length === 1 && (V = e.targetTouches[0].clientY);
76
76
  }, e.ontouchmove = function(t) {
77
- t.targetTouches.length === 1 && ce(t, e);
78
- }, z ||= (document.addEventListener("touchmove", G, F ? { passive: !1 } : void 0), !0));
77
+ t.targetTouches.length === 1 && de(t, e);
78
+ }, B ||= (document.addEventListener("touchmove", K, I ? { passive: !1 } : void 0), !0));
79
79
  }
80
- }, ue = function(e) {
80
+ }, J = function(e) {
81
81
  if (!e) {
82
82
  console.error("enableBodyScroll unsuccessful - targetElement must be provided when calling enableBodyScroll on IOS devices.");
83
83
  return;
84
84
  }
85
- R = R.filter(function(t) {
85
+ z = z.filter(function(t) {
86
86
  return t.targetElement !== e;
87
- }), L && (e.ontouchstart = null, e.ontouchmove = null, z && R.length === 0 && (document.removeEventListener("touchmove", G, F ? { passive: !1 } : void 0), z = !1)), L ? oe() : q();
87
+ }), R && (e.ontouchstart = null, e.ontouchmove = null, B && z.length === 0 && (document.removeEventListener("touchmove", K, I ? { passive: !1 } : void 0), B = !1)), R ? le() : se();
88
88
  }, Y = l({
89
89
  name: "SidePanelCloseButton",
90
90
  emits: ["close"]
91
- }), de = [/* @__PURE__ */ p("span", { class: "vsp-close__x" }, null, -1)];
92
- function fe(e, t, n, r, i, a) {
91
+ }), pe = [/* @__PURE__ */ p("span", { class: "vsp-close__x" }, null, -1)];
92
+ function me(e, t, n, r, i, a) {
93
93
  return s(), u("div", {
94
94
  class: "vsp-close",
95
95
  onClick: t[0] ||= (t) => e.$emit("close")
96
- }, [...de]);
96
+ }, [...pe]);
97
97
  }
98
- Y.render = fe, Y.__file = "src/components/SidePanelCloseButton.vue";
98
+ Y.render = me, Y.__file = "src/components/SidePanelCloseButton.vue";
99
99
  var X = l({
100
100
  name: "VueSidePanel",
101
101
  components: { SidePanelCloseButton: Y },
@@ -194,16 +194,16 @@ var X = l({
194
194
  "opened"
195
195
  ],
196
196
  setup(e, { emit: t, attrs: n }) {
197
- let r, i = O(null), a = O(null), s = O(null), l = O(null), u = O(null), d = O(0), f = O(0), p = O(0), m = O(0), g = O(0), _ = O(), y = O(!1), b = async () => {
197
+ let r, i = k(null), a = k(null), s = k(null), l = k(null), u = k(null), d = k(0), f = k(0), p = k(0), m = k(0), g = k(0), _ = k(), y = k(!1), b = async () => {
198
198
  window?.innerHeight > 0 && (g.value = window.innerHeight), d.value = s.value ? s.value.clientHeight : 0, p.value = l.value ? l.value.clientHeight : 0, f.value = u.value ? u.value.scrollHeight : 0, m.value = i.value ? i.value.clientHeight : 0;
199
199
  }, x = () => t("update:modelValue", !1), S = (t, n) => {
200
200
  if (n) {
201
201
  setTimeout(() => {
202
- le(t, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
202
+ fe(t, { reserveScrollBarGap: !0 }), e.lockScrollHtml && (document.documentElement.style.overflow = "hidden");
203
203
  }, 0);
204
204
  return;
205
205
  }
206
- ue(t), e.lockScrollHtml && document.documentElement.style.removeProperty("overflow");
206
+ J(t), e.lockScrollHtml && document.documentElement.style.removeProperty("overflow");
207
207
  }, C = () => Math.max(...Array.from(document.querySelectorAll("body *"), (e) => parseFloat(window.getComputedStyle(e).zIndex)).filter((e) => !Number.isNaN(e)), 0);
208
208
  c(() => {
209
209
  _.value = e.zIndex === "auto" ? C() : e.zIndex;
@@ -233,7 +233,7 @@ var X = l({
233
233
  }, e.panelDuration), window.removeEventListener("resize", b));
234
234
  }
235
235
  }, { immediate: !0 });
236
- let w = D(() => {
236
+ let w = O(() => {
237
237
  if (!m.value) return;
238
238
  let t = f.value + p.value + d.value, n = m.value - p.value - d.value;
239
239
  return ["top", "bottom"].includes(e.side) && e.height === "auto" && (n = g.value >= t ? f.value : g.value - p.value - d.value), n;
@@ -242,7 +242,7 @@ var X = l({
242
242
  body: u,
243
243
  panel: i,
244
244
  overlay: a,
245
- overlayStyles: D(() => ({
245
+ overlayStyles: O(() => ({
246
246
  zIndex: _.value,
247
247
  animationDuration: `${e.overlayDuration}ms`,
248
248
  "--overlay-opacity": e.overlayOpacity,
@@ -253,7 +253,7 @@ var X = l({
253
253
  header: l,
254
254
  footer: s,
255
255
  closePanel: x,
256
- panelStyles: D(() => ({
256
+ panelStyles: O(() => ({
257
257
  width: ["left", "right"].includes(e.side) ? e.width : void 0,
258
258
  maxWidth: "100%",
259
259
  ...["top", "bottom"].includes(e.side) ? {
@@ -269,25 +269,25 @@ var X = l({
269
269
  };
270
270
  }
271
271
  });
272
- function pe(t, n, o, c, l, m) {
272
+ function he(t, n, o, c, l, m) {
273
273
  let h = b("SidePanelCloseButton");
274
- return s(), i(f, { to: `#${t.idName}` }, [p("div", { class: a(["vsp-wrapper", [t.modelValue && "vsp-wrapper--active"]]) }, [S(T, {
274
+ return s(), i(f, { to: `#${t.idName}` }, [p("div", { class: a(["vsp-wrapper", [t.modelValue && "vsp-wrapper--active"]]) }, [S(E, {
275
275
  name: "overlay",
276
276
  persisted: ""
277
277
  }, {
278
- default: E(() => [y(p("div", {
278
+ default: D(() => [y(p("div", {
279
279
  ref: "overlay",
280
280
  class: "vsp-overlay",
281
281
  style: d(t.overlayStyles),
282
282
  onClick: n[0] ||= () => t.noClose ? void 0 : t.closePanel()
283
283
  }, null, 4), [[x, t.modelValue]])]),
284
284
  _: 1
285
- }), S(T, {
285
+ }), S(E, {
286
286
  name: t.transitionName || `slide-${t.side}`,
287
287
  onAfterEnter: n[1] ||= (e) => t.$emit("opened"),
288
288
  onAfterLeave: n[2] ||= (e) => t.$emit("closed")
289
289
  }, {
290
- default: E(() => [!t.rerender || t.modelValue ? y((s(), u("div", {
290
+ default: D(() => [!t.rerender || t.modelValue ? y((s(), u("div", {
291
291
  key: 0,
292
292
  ref: "panel",
293
293
  class: a(["vsp", [`vsp--${t.side}-side`, t.$attrs.class]]),
@@ -315,13 +315,13 @@ function pe(t, n, o, c, l, m) {
315
315
  _: 3
316
316
  }, 8, ["name"])], 2)], 8, ["to"]);
317
317
  }
318
- X.render = pe, X.__file = "src/components/SidePanel.vue";
318
+ X.render = he, X.__file = "src/components/SidePanel.vue";
319
319
  //#endregion
320
320
  //#region src/components/side-panels/Base.vue?vue&type=script&setup=true&lang.ts
321
- var me = { id: "konnectio-side-panel-header" }, he = { id: "konnectio-side-panel-title" }, ge = {
321
+ var ge = { id: "konnectio-side-panel-header" }, _e = { id: "konnectio-side-panel-title" }, ve = {
322
322
  key: 0,
323
323
  id: "konnectio-side-panel-subtitle"
324
- }, _e = ["innerHTML"], ve = /*#__PURE__*/ j(/* @__PURE__ */ l({
324
+ }, ye = ["innerHTML"], be = /*#__PURE__*/ M(/* @__PURE__ */ l({
325
325
  __name: "Base",
326
326
  props: {
327
327
  modelValue: { type: Boolean },
@@ -346,7 +346,7 @@ var me = { id: "konnectio-side-panel-header" }, he = { id: "konnectio-side-panel
346
346
  "closed"
347
347
  ],
348
348
  setup(t, { emit: n }) {
349
- let a = n, o = D(() => {
349
+ let a = n, o = O(() => {
350
350
  let e = navigator?.userAgentData?.platform || navigator?.platform;
351
351
  return (/iPad|iPhone|iPod/.test(e) || e === "MacIntel" && navigator.maxTouchPoints > 1) && !window.MSStream;
352
352
  });
@@ -365,23 +365,23 @@ var me = { id: "konnectio-side-panel-header" }, he = { id: "konnectio-side-panel
365
365
  onClosed: c,
366
366
  onOpened: l
367
367
  }, C({
368
- header: E(() => [p("div", me, [p("h2", he, [p("span", null, w(m(re)(t.title)), 1), p("button", {
368
+ header: D(() => [p("div", ge, [p("h2", _e, [p("span", null, w(m(j)(t.title)), 1), p("button", {
369
369
  id: "konnectio-side-panel-close",
370
370
  onClick: a[0] ||= (e) => n.$emit("update:modelValue", !1)
371
- }, [S(ie, {
371
+ }, [S(F, {
372
372
  icon: "times",
373
373
  type: "fas",
374
374
  color: "header"
375
- })])]), t.subtitle ? (s(), u("h4", ge, [p("span", null, w(t.subtitle), 1)])) : r("", !0)])]),
376
- default: E(() => [t.description ? (s(), u("div", {
375
+ })])]), t.subtitle ? (s(), u("h4", ve, [p("span", null, w(t.subtitle), 1)])) : r("", !0)])]),
376
+ default: D(() => [t.description ? (s(), u("div", {
377
377
  key: 0,
378
378
  class: "konnectio-side-panel-description",
379
379
  innerHTML: t.description
380
- }, null, 8, _e)) : r("", !0), e(n.$slots, "default", {}, void 0, !0)]),
380
+ }, null, 8, ye)) : r("", !0), e(n.$slots, "default", {}, void 0, !0)]),
381
381
  _: 2
382
382
  }, [n.$slots.footer ? {
383
383
  name: "footer",
384
- fn: E(() => [e(n.$slots, "footer", {}, void 0, !0)]),
384
+ fn: D(() => [e(n.$slots, "footer", {}, void 0, !0)]),
385
385
  key: "0"
386
386
  } : void 0]), 1032, [
387
387
  "modelValue",
@@ -390,7 +390,7 @@ var me = { id: "konnectio-side-panel-header" }, he = { id: "konnectio-side-panel
390
390
  "width"
391
391
  ]));
392
392
  }
393
- }), [["__scopeId", "data-v-85ac191d"]]), ye = { class: "konnectio-phone-input" }, be = /*#__PURE__*/ j(/* @__PURE__ */ l({
393
+ }), [["__scopeId", "data-v-85ac191d"]]), xe = { class: "konnectio-phone-input" }, Se = /*#__PURE__*/ M(/* @__PURE__ */ l({
394
394
  __name: "PhoneField",
395
395
  props: {
396
396
  modelValue: {},
@@ -411,7 +411,7 @@ var me = { id: "konnectio-side-panel-header" }, he = { id: "konnectio-side-panel
411
411
  },
412
412
  emits: ["update:modelValue"],
413
413
  setup(e, { emit: t }) {
414
- let n = t, r = e, a = r.id || A(), o = O("+45"), l = O("");
414
+ let n = t, r = e, a = r.id || A(), o = k("+45"), l = k("");
415
415
  function u() {
416
416
  n("update:modelValue", `${o.value} ${l.value}`);
417
417
  }
@@ -420,14 +420,14 @@ var me = { id: "konnectio-side-panel-header" }, he = { id: "konnectio-side-panel
420
420
  let e = r.modelValue.split(" ");
421
421
  o.value = e[0], l.value = e[1];
422
422
  }
423
- }), (t, n) => (s(), i(M, {
423
+ }), (t, n) => (s(), i(N, {
424
424
  label: e.label,
425
425
  id: m(a),
426
426
  type: "phone",
427
427
  required: e.required,
428
428
  readonly: e.readonly
429
429
  }, {
430
- default: E(() => [p("div", ye, [S(P, {
430
+ default: D(() => [p("div", xe, [S(P, {
431
431
  modelValue: o.value,
432
432
  "onUpdate:modelValue": n[0] ||= (e) => o.value = e,
433
433
  type: "text",
@@ -476,7 +476,7 @@ var me = { id: "konnectio-side-panel-header" }, he = { id: "konnectio-side-panel
476
476
  "readonly"
477
477
  ]));
478
478
  }
479
- }), [["__scopeId", "data-v-b0b6eb09"]]), Z = [
479
+ }), [["__scopeId", "data-v-b0b6eb09"]]), Ce = [
480
480
  "required",
481
481
  "type",
482
482
  "name",
@@ -484,10 +484,10 @@ var me = { id: "konnectio-side-panel-header" }, he = { id: "konnectio-side-panel
484
484
  "disabled",
485
485
  "value",
486
486
  "checked"
487
- ], xe = ["data-test"], Se = { key: 0 }, Ce = {
487
+ ], we = ["data-test"], Te = { key: 0 }, Ee = {
488
488
  key: 1,
489
489
  class: /*@__PURE__*/ a(["konnectio-click-box-label", "inline"])
490
- }, we = /*#__PURE__*/ j(/* @__PURE__ */ l({
490
+ }, De = /*#__PURE__*/ M(/* @__PURE__ */ l({
491
491
  __name: "Checkbox",
492
492
  props: {
493
493
  modelValue: { type: [
@@ -520,16 +520,16 @@ var me = { id: "konnectio-side-panel-header" }, he = { id: "konnectio-side-panel
520
520
  },
521
521
  emits: ["update:modelValue"],
522
522
  setup(t, { emit: o }) {
523
- let c = t, l = o, d = ne();
523
+ let c = t, l = o, d = te();
524
524
  function f() {
525
525
  c.readonly !== !0 && l("update:modelValue", c.type === "radio" ? c.val : c.numeric ? +!c.modelValue : !c.modelValue);
526
526
  }
527
- return (o, c) => (s(), i(M, {
527
+ return (o, c) => (s(), i(N, {
528
528
  required: t.required,
529
529
  type: t.type,
530
530
  readonly: t.readonly
531
531
  }, {
532
- default: E(() => [p("label", { class: a([
532
+ default: D(() => [p("label", { class: a([
533
533
  "konnectio-click-box-container",
534
534
  { "is-readonly": t.readonly },
535
535
  { "has-label": t.label || m(d).default },
@@ -546,13 +546,13 @@ var me = { id: "konnectio-side-panel-header" }, he = { id: "konnectio-side-panel
546
546
  value: t.type === "radio" ? t.val : t.modelValue,
547
547
  checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue,
548
548
  onChange: c[0] ||= (e) => f()
549
- }), null, 16, Z),
549
+ }), null, 16, Ce),
550
550
  p("div", {
551
551
  class: a(["konnectio-click-box", { checked: t.type === "radio" ? t.val === t.modelValue : !!t.modelValue }]),
552
552
  tabindex: "0",
553
553
  "data-test": t.name,
554
554
  onKeyup: c[1] ||= g((e) => f(), ["enter"])
555
- }, null, 42, xe),
555
+ }, null, 42, we),
556
556
  t.label ? (s(), u("div", {
557
557
  key: 0,
558
558
  class: a([
@@ -560,7 +560,7 @@ var me = { id: "konnectio-side-panel-header" }, he = { id: "konnectio-side-panel
560
560
  "text-hover",
561
561
  { "with-price": t.price }
562
562
  ])
563
- }, [p("span", null, w(t.label), 1), t.price ? (s(), u("span", Se, w(t.price), 1)) : r("", !0)], 2)) : m(d).default ? (s(), u("div", Ce, [e(o.$slots, "default", {}, void 0, !0)])) : r("", !0)
563
+ }, [p("span", null, w(t.label), 1), t.price ? (s(), u("span", Te, w(t.price), 1)) : r("", !0)], 2)) : m(d).default ? (s(), u("div", Ee, [e(o.$slots, "default", {}, void 0, !0)])) : r("", !0)
564
564
  ], 2)]),
565
565
  _: 3
566
566
  }, 8, [
@@ -569,28 +569,28 @@ var me = { id: "konnectio-side-panel-header" }, he = { id: "konnectio-side-panel
569
569
  "readonly"
570
570
  ]));
571
571
  }
572
- }), [["__scopeId", "data-v-caa3bb1f"]]), Te = {
572
+ }), [["__scopeId", "data-v-caa3bb1f"]]), Oe = {
573
573
  href: "https://policies.google.com/privacy",
574
574
  target: "_blank"
575
- }, Ee = {
575
+ }, ke = {
576
576
  href: "https://policies.google.com/terms",
577
577
  target: "_blank"
578
- }, Q = /*@__PURE__*/ l({
578
+ }, Z = /*@__PURE__*/ l({
579
579
  __name: "GoogleNotice",
580
580
  setup(e) {
581
581
  let { t: n } = _();
582
582
  return (e, r) => (s(), u("span", null, [
583
583
  t(w(m(n)("googleNotice")) + " ", 1),
584
- p("a", Te, w(m(n)("googlePrivacyPolicy")), 1),
584
+ p("a", Oe, w(m(n)("googlePrivacyPolicy")), 1),
585
585
  t(" " + w(m(n)("googleAnd")) + " ", 1),
586
- p("a", Ee, w(m(n)("googleTOS")), 1),
586
+ p("a", ke, w(m(n)("googleTOS")), 1),
587
587
  t(" " + w(m(n)("googleApply")) + ". ", 1)
588
588
  ]));
589
589
  }
590
590
  });
591
591
  //#endregion
592
592
  //#region src/components/GoogleNotice.vue?vue&type=i18n&index=0&lang.yaml
593
- function $(e) {
593
+ function Q(e) {
594
594
  let t = e;
595
595
  t.__i18n = t.__i18n || [], t.__i18n.push({
596
596
  locale: "",
@@ -684,19 +684,26 @@ function $(e) {
684
684
  }
685
685
  //#endregion
686
686
  //#region src/components/GoogleNotice.vue
687
- typeof $ == "function" && $(Q);
688
- var De = Q, Oe = /*#__PURE__*/ j(/* @__PURE__ */ l({
687
+ typeof Q == "function" && Q(Z);
688
+ var Ae = Z, je = { id: "konnectio-hosted-checkout-waiting" }, $ = /*#__PURE__*/ M(/* @__PURE__ */ l({
689
+ __name: "HostedCheckoutWaiting",
690
+ setup(e) {
691
+ let { t } = _();
692
+ return (e, n) => (s(), u("div", je, [S(ae), p("p", null, w(m(t)("booking.payment.waitForCheckout")), 1)]));
693
+ }
694
+ }), [["__scopeId", "data-v-0147250d"]]), Me = /*#__PURE__*/ M(/* @__PURE__ */ l({
689
695
  __name: "CheckoutWindow",
690
696
  setup(e) {
691
- let { paymentGatewayId: t } = te(k());
697
+ let { paymentGatewayId: t } = T(ne()), { isHostedCheckoutActive: n } = T(ie());
692
698
  return c(() => {
693
699
  let e = document.createElement("script"), t = document.createElement("script");
694
700
  e.setAttribute("src", "https://checkout.dibspayment.eu/v1/checkout.js?v=1"), t.setAttribute("src", "https://checkout.reepay.com/checkout.js"), document.head.appendChild(e), document.head.appendChild(t);
695
- }), (e, n) => (s(), u("div", null, [p("div", {
701
+ }), (e, r) => (s(), u("div", null, [m(n) ? (s(), i($, { key: 0 })) : (s(), u("div", {
702
+ key: 1,
696
703
  id: "konnectio-payment-checkout-wrapper",
697
- class: a({ reePay: m(t) === m(N).ReePay })
698
- }, [...n[0] ||= [p("div", { id: "konnectio-payment-checkout" }, null, -1)]], 2)]));
704
+ class: a({ reePay: m(t) === m(re).ReePay })
705
+ }, [...r[0] ||= [p("div", { id: "konnectio-payment-checkout" }, null, -1)]], 2))]));
699
706
  }
700
- }), [["__scopeId", "data-v-fea36eb8"]]);
707
+ }), [["__scopeId", "data-v-785105ee"]]);
701
708
  //#endregion
702
- export { ve as a, be as i, De as n, we as r, Oe as t };
709
+ export { Se as a, De as i, $ as n, be as o, Ae as r, Me as t };
@@ -1,5 +1,5 @@
1
1
  import { J as e, N as t, O as n, T as r, kt as i, w as a } from "./i18n-DwFTw_rF.js";
2
- import { H as o, S as s } from "./SelectField-CnreRmEZ.js";
2
+ import { H as o, S as s } from "./SelectField-BgawaMC_.js";
3
3
  //#endregion
4
4
  //#region src/components/ErrorMessage.vue?vue&type=script&setup=true&lang.ts
5
5
  var c = { class: "konnectio-notice" }, l = { class: "konnectio-notice-title" }, u = ["innerHTML"], d = { class: "konnectio-notice-help" }, f = ["href"], p = /*#__PURE__*/ s(/* @__PURE__ */ t({
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  import { D as e, E as t, Et as n, J as r, N as i, O as a, Tt as o, a as s, b as c, d as l, j as u, l as d, ut as f, v as p, w as m, yt as h } from "./i18n-DwFTw_rF.js";
2
- import { C as g, H as _, S as v, n as y, t as b, v as x, w as S } from "./SelectField-CnreRmEZ.js";
3
- import { n as C } from "./AvailabilitySkeleton-Q_NRPJhM.js";
2
+ import { C as g, H as _, S as v, n as y, t as b, v as x, w as S } from "./SelectField-BgawaMC_.js";
3
+ import { n as C } from "./AvailabilitySkeleton-DEr2RxbZ.js";
4
4
  //#region src/components/forms/EventAvailabilityForm.vue?vue&type=script&setup=true&lang.ts
5
5
  var w = {
6
6
  class: "konnectio-search-button",
@@ -1,5 +1,5 @@
1
1
  import { D as e, E as t, Et as n, J as r, N as i, O as a, j as o, p as s } from "./i18n-DwFTw_rF.js";
2
- import { S as c } from "./SelectField-CnreRmEZ.js";
2
+ import { S as c } from "./SelectField-BgawaMC_.js";
3
3
  //#region src/components/skeletons/_.vue?vue&type=script&setup=true&lang.ts
4
4
  var l = { class: "konnectio-placeholder" }, u = /*#__PURE__*/ c(/* @__PURE__ */ i({
5
5
  __name: "_",
Binary file
Binary file
@@ -1,6 +1,6 @@
1
1
  import { D as e, E as t, Et as n, J as r, K as ee, N as i, O as a, T as o, Tt as s, a as c, ct as l, d as te, j as u, l as ne, ut as re, v as ie, w as d, yt as f } from "./i18n-DwFTw_rF.js";
2
- import { C as p, E as m, H as ae, N as oe, O as se, S as h, k as ce, lt as le, mt as ue, n as de, r as g, t as fe, v as _ } from "./SelectField-CnreRmEZ.js";
3
- import { n as v, p as pe } from "./AvailabilitySkeleton-Q_NRPJhM.js";
2
+ import { C as p, E as m, H as ae, N as oe, O as se, S as h, k as ce, lt as le, mt as ue, n as de, r as g, t as fe, v as _ } from "./SelectField-BgawaMC_.js";
3
+ import { n as v, p as pe } from "./AvailabilitySkeleton-DEr2RxbZ.js";
4
4
  //#region src/components/forms/HotelAvailabilityForm.vue?vue&type=script&setup=true&lang.ts
5
5
  var me = {
6
6
  class: "konnectio-availability-location",