@konnectio/core 4.0.56-rc41 → 4.0.56-rc43

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 (63) hide show
  1. package/dist/{ActionField-B7yd3wqo.js → ActionField-BTLE7221.js} +3 -3
  2. package/dist/ActionField-BTLE7221.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-BFkO-iFk.js → AvailabilitySkeleton-UZAEresr.js} +19 -19
  4. package/dist/AvailabilitySkeleton-UZAEresr.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CvsxXVBB.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-kgtV8m-S.js} +4 -4
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-kgtV8m-S.js.br +0 -0
  7. package/dist/{CheckoutWindow-DXpTb3IM.js → CheckoutWindow-Clz85IBZ.js} +14 -14
  8. package/dist/CheckoutWindow-Clz85IBZ.js.br +0 -0
  9. package/dist/{ErrorMessage-DURaj0JK.js → ErrorMessage-VTSFzaD9.js} +3 -3
  10. package/dist/ErrorMessage-VTSFzaD9.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-EdvNJO4b.js → EventAvailabilityForm-QZ9tm4bJ.js} +43 -43
  12. package/dist/EventAvailabilityForm-QZ9tm4bJ.js.br +0 -0
  13. package/dist/{Field-C31DtxD3.js → Field-BUCiT-zy.js} +3 -3
  14. package/dist/Field-BUCiT-zy.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DCFBIwBo.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Dw6yVZCV.js} +8953 -8805
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Dw6yVZCV.js.br +0 -0
  17. package/dist/TermsOfService-EoTv7bpV.js +35 -0
  18. package/dist/TermsOfService-EoTv7bpV.js.br +0 -0
  19. package/dist/_-eb9CY61s.js +12 -0
  20. package/dist/_.vue_vue_type_style_index_0_lang-BbZ0cU3f.js +71 -0
  21. package/dist/_.vue_vue_type_style_index_0_lang-BbZ0cU3f.js.br +0 -0
  22. package/dist/_commonjsHelpers-BnQF6Gki.js +9543 -0
  23. package/dist/_commonjsHelpers-BnQF6Gki.js.br +0 -0
  24. package/dist/availability.js +29 -28
  25. package/dist/availability.js.br +0 -0
  26. package/dist/event.js +42 -41
  27. package/dist/event.js.br +0 -0
  28. package/dist/gift-card-validation.js +24 -23
  29. package/dist/gift-card-validation.js.br +0 -0
  30. package/dist/gift-card.js +29 -28
  31. package/dist/gift-card.js.br +0 -0
  32. package/dist/{giftCard-CTOcXgxl.js → giftCard-BK0GfT2z.js} +15 -15
  33. package/dist/giftCard-BK0GfT2z.js.br +0 -0
  34. package/dist/hotel.js +1249 -1177
  35. package/dist/hotel.js.br +0 -0
  36. package/dist/{masonry.plugin-w0LZcwZT.js → masonry.plugin-CiwMY-Gy.js} +20 -20
  37. package/dist/masonry.plugin-CiwMY-Gy.js.br +0 -0
  38. package/dist/navigation.js +4 -4
  39. package/dist/polyfill.js +5575 -5378
  40. package/dist/polyfill.js.br +0 -0
  41. package/dist/sentry-6-6DYT4Z.js +18 -0
  42. package/dist/style.css +1 -1
  43. package/dist/style.css.br +0 -0
  44. package/dist/tracing-wnoA9-xG.js +2287 -0
  45. package/dist/tracing-wnoA9-xG.js.br +0 -0
  46. package/package.json +15 -15
  47. package/dist/ActionField-B7yd3wqo.js.br +0 -0
  48. package/dist/AvailabilitySkeleton-BFkO-iFk.js.br +0 -0
  49. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CvsxXVBB.js.br +0 -0
  50. package/dist/CheckoutWindow-DXpTb3IM.js.br +0 -0
  51. package/dist/ErrorMessage-DURaj0JK.js.br +0 -0
  52. package/dist/EventAvailabilityForm-EdvNJO4b.js.br +0 -0
  53. package/dist/Field-C31DtxD3.js.br +0 -0
  54. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DCFBIwBo.js.br +0 -0
  55. package/dist/TermsOfService-RMTyUzQE.js +0 -35
  56. package/dist/TermsOfService-RMTyUzQE.js.br +0 -0
  57. package/dist/_-C4rdBIG5.js +0 -12
  58. package/dist/_.vue_vue_type_style_index_0_lang-DxTbCVt9.js +0 -71
  59. package/dist/_.vue_vue_type_style_index_0_lang-DxTbCVt9.js.br +0 -0
  60. package/dist/_commonjsHelpers-BpcYSDvQ.js +0 -11797
  61. package/dist/_commonjsHelpers-BpcYSDvQ.js.br +0 -0
  62. package/dist/giftCard-CTOcXgxl.js.br +0 -0
  63. package/dist/masonry.plugin-w0LZcwZT.js.br +0 -0
@@ -1,5 +1,5 @@
1
- import { d as c, c as y, o as i, b as u, w as V, g, u as s, f as v } from "./_commonjsHelpers-BpcYSDvQ.js";
2
- import { r as I, k, l as q, T as w, C as B, I as C, _ as D } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DCFBIwBo.js";
1
+ import { d as c, c as y, o as i, b as u, w as V, g, u as s, f as v } from "./_commonjsHelpers-BnQF6Gki.js";
2
+ import { r as I, k, l as q, T as w, C as B, I as C, _ as D } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Dw6yVZCV.js";
3
3
  (function() {
4
4
  try {
5
5
  var o = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
@@ -104,4 +104,4 @@ const F = { class: "fresh-booking-action-field" }, h = /* @__PURE__ */ c({
104
104
  export {
105
105
  T as A
106
106
  };
107
- //# sourceMappingURL=ActionField-B7yd3wqo.js.map
107
+ //# sourceMappingURL=ActionField-BTLE7221.js.map
Binary file
@@ -1,11 +1,11 @@
1
- import { d as Y, m as me, r as f, c as s, q as G, h as pe, o as n, a as r, f as u, w as fe, u as e, b as g, e as y, g as N, F as J, n as $, l as ge, i as De } from "./_commonjsHelpers-BpcYSDvQ.js";
2
- import { h as ye, s as L, m as K, z as P, b as ke, T as x, k as he, l as Q, C as W, g as we, _ as Z, E as X } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DCFBIwBo.js";
3
- import { _ as _e } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CvsxXVBB.js";
4
- import { F as D } from "./Field-C31DtxD3.js";
1
+ import { d as Y, m as me, r as f, c as s, q as G, h as pe, o as n, a as r, f as u, w as fe, u as e, b as g, e as y, g as N, F as J, n as $, l as ge, i as De } from "./_commonjsHelpers-BnQF6Gki.js";
2
+ import { h as ye, s as L, m as K, y as P, b as ke, T as x, k as he, l as Q, C as W, g as we, _ as Z, E as X } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Dw6yVZCV.js";
3
+ import { _ as _e } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-kgtV8m-S.js";
4
+ import { F as D } from "./Field-BUCiT-zy.js";
5
5
  (function() {
6
6
  try {
7
7
  var c = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new Error().stack;
8
- t && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[t] = "742572b1-565c-4415-afa9-658089f67247", c._sentryDebugIdIdentifier = "sentry-dbid-742572b1-565c-4415-afa9-658089f67247");
8
+ t && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[t] = "7b3829fe-49e5-4ab5-b0b2-27775b1478af", c._sentryDebugIdIdentifier = "sentry-dbid-7b3829fe-49e5-4ab5-b0b2-27775b1478af");
9
9
  } catch {
10
10
  }
11
11
  })();
@@ -46,30 +46,30 @@ const Ve = {
46
46
  defaultAdultAmount: oe,
47
47
  defaultChildAmount: ne,
48
48
  controlLocation: se
49
- } = L(ke()), ue = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), re = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 2)).setHours(12, 0, 0, 0)), T = f(oe.value), z = f(ne.value), M = f(ue()), O = f(re()), q = f(se.value), m = s({
49
+ } = L(ke()), ue = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), re = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 2)).setHours(12, 0, 0, 0)), T = f(oe.value), M = f(ne.value), O = f(ue()), q = f(re()), z = f(se.value), m = s({
50
50
  get: () => l.booking ? C.value : T.value,
51
51
  set: (a) => {
52
52
  l.booking ? C.value = Number(a) : T.value = Number(a);
53
53
  }
54
54
  }), k = s({
55
- get: () => l.booking ? S.value : z.value,
55
+ get: () => l.booking ? S.value : M.value,
56
56
  set: (a) => {
57
- l.booking ? S.value = Number(a) : z.value = Number(a);
57
+ l.booking ? S.value = Number(a) : M.value = Number(a);
58
58
  }
59
59
  }), v = s({
60
- get: () => l.booking ? U.value : M.value,
60
+ get: () => l.booking ? U.value : O.value,
61
61
  set: (a) => {
62
- l.booking ? U.value = a : M.value = a;
62
+ l.booking ? U.value = a : O.value = a;
63
63
  }
64
64
  }), p = s({
65
- get: () => l.booking ? I.value : O.value,
65
+ get: () => l.booking ? I.value : q.value,
66
66
  set: (a) => {
67
- l.booking ? I.value = a : O.value = a;
67
+ l.booking ? I.value = a : q.value = a;
68
68
  }
69
69
  }), V = s({
70
- get: () => isNaN(l.selectedLocation) ? l.booking ? B.value : q.value : l.selectedLocation,
70
+ get: () => isNaN(l.selectedLocation) ? l.booking ? B.value : z.value : l.selectedLocation,
71
71
  set: (a) => {
72
- l.booking ? B.value = a : q.value = a;
72
+ l.booking ? B.value = a : z.value = a;
73
73
  }
74
74
  }), j = s(() => {
75
75
  const a = F.value.find(({ id: i }) => i === l.selectedLocation);
@@ -229,7 +229,7 @@ const Ve = {
229
229
  }, 8, ["class"])
230
230
  ], 34));
231
231
  }
232
- }), ze = /* @__PURE__ */ Z(Ne, [["__scopeId", "data-v-f1455e7b"]]), $e = { class: "availability-skeleton" }, Ce = {
232
+ }), Me = /* @__PURE__ */ Z(Ne, [["__scopeId", "data-v-07ba8c15"]]), $e = { class: "availability-skeleton" }, Ce = {
233
233
  key: 0,
234
234
  class: "availability-skeleton-navigation"
235
235
  }, Se = { class: "availability-skeleton-content" }, Ue = {
@@ -280,9 +280,9 @@ const Ve = {
280
280
  ])
281
281
  ]));
282
282
  }
283
- }), Me = /* @__PURE__ */ Z(Ie, [["__scopeId", "data-v-17762b9b"]]);
283
+ }), Oe = /* @__PURE__ */ Z(Ie, [["__scopeId", "data-v-17762b9b"]]);
284
284
  export {
285
- Me as A,
286
- ze as H
285
+ Oe as A,
286
+ Me as H
287
287
  };
288
- //# sourceMappingURL=AvailabilitySkeleton-BFkO-iFk.js.map
288
+ //# sourceMappingURL=AvailabilitySkeleton-UZAEresr.js.map
@@ -1,9 +1,9 @@
1
- import { Z as ca, r as U, d as je, B as Lt, a7 as ia, h as Ze, K as pt, _ as Ma, q as Rt, c as H, o as A, a as W, f as at, C as Ue, A as Se, w as be, v as le, Q as qe, R as Ke, u as m, L as Xe, x as wn, b as Me, T as Zt, e as j, ak as Da, J as Tr, n as xe, U as Pr, an as _n, M as he, g as fe, i as $e, F as ke, I as lt, t as Qe, D as xt, ao as Ar, y as ga, z as ba, a9 as $r, aa as Cr } from "./_commonjsHelpers-BpcYSDvQ.js";
2
- import { r as Or, g as Rr, I as Sr } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DCFBIwBo.js";
1
+ import { Z as ca, r as U, d as je, B as Lt, a7 as ia, h as Ze, K as pt, _ as Ma, q as Rt, c as H, o as A, a as W, f as at, C as Ue, A as Se, w as be, v as le, Q as qe, R as Ke, u as m, L as Xe, x as wn, b as Me, T as Zt, e as j, ai as Da, J as Tr, n as xe, U as Pr, al as _n, M as he, g as fe, i as $e, F as ke, I as lt, t as Qe, D as xt, am as Ar, y as ga, z as ba, a9 as $r, aa as Cr } from "./_commonjsHelpers-BnQF6Gki.js";
2
+ import { r as Or, g as Rr, I as Sr } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Dw6yVZCV.js";
3
3
  (function() {
4
4
  try {
5
5
  var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, e = new Error().stack;
6
- e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "752726e3-63f3-4a91-94eb-c6ace9534808", t._sentryDebugIdIdentifier = "sentry-dbid-752726e3-63f3-4a91-94eb-c6ace9534808");
6
+ e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "f5f579a3-02ba-4ea2-83ab-076412521e64", t._sentryDebugIdIdentifier = "sentry-dbid-f5f579a3-02ba-4ea2-83ab-076412521e64");
7
7
  } catch {
8
8
  }
9
9
  })();
@@ -7743,4 +7743,4 @@ export {
7743
7743
  Gs as m,
7744
7744
  de as t
7745
7745
  };
7746
- //# sourceMappingURL=AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CvsxXVBB.js.map
7746
+ //# sourceMappingURL=AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-kgtV8m-S.js.map
@@ -1,9 +1,9 @@
1
- import { d as C, o as u, a as m, r as c, h as j, E as ve, G as me, q as Q, c as U, H as he, b as I, g as r, f as H, w as $, y as X, z as Z, I as q, T as x, n as v, v as V, e as S, J as ge, K as be, t as b, u as y, B as we, L as Se, M as ke, D as W, p as Ce, j as $e } from "./_commonjsHelpers-BpcYSDvQ.js";
2
- import { A as Be, _ as z, r as ee, T as oe, I as ne, h as Ve, s as Pe, b as Te, Q as Ie } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DCFBIwBo.js";
1
+ import { d as C, o as u, a as m, r as c, h as j, E as ve, G as me, q as X, c as U, H as he, b as I, g as r, f as H, w as $, y as Z, z as Q, I as q, T as x, n as v, v as V, e as S, J as ge, K as be, t as b, u as y, B as we, L as Se, M as ke, D as W, p as Ce, j as $e } from "./_commonjsHelpers-BnQF6Gki.js";
2
+ import { z as Be, _ as z, r as ee, T as oe, I as ne, h as Ve, s as Pe, b as Te, P as Ie } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Dw6yVZCV.js";
3
3
  (function() {
4
4
  try {
5
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] = "881cd919-6614-4ef5-aaea-f02b25c043d4", e._sentryDebugIdIdentifier = "sentry-dbid-881cd919-6614-4ef5-aaea-f02b25c043d4");
6
+ o && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[o] = "9b776e6e-29d6-4f97-a241-a4df57cd6be5", e._sentryDebugIdIdentifier = "sentry-dbid-9b776e6e-29d6-4f97-a241-a4df57cd6be5");
7
7
  } catch {
8
8
  }
9
9
  })();
@@ -226,9 +226,9 @@ var Y = C({
226
226
  }), me(() => {
227
227
  const { modelValue: p, lockScroll: g } = e;
228
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], () => {
229
+ }), X(() => [s.value, l.value, e.height, e.width, e.side, e.modelValue], () => {
230
230
  be(() => B());
231
- }), Q(() => [e.modelValue, a.value], (p, g) => {
231
+ }), X(() => [e.modelValue, a.value], (p, g) => {
232
232
  const fe = g ? g[0] : !1, [R, N] = p, pe = R, ye = fe && !R;
233
233
  if (N) {
234
234
  if (pe && (J.value = !!document.body.style.overflow), R) {
@@ -295,7 +295,7 @@ function Re(e, o, t, n, a, i) {
295
295
  persisted: ""
296
296
  }, {
297
297
  default: $(() => [
298
- X(r(
298
+ Z(r(
299
299
  "div",
300
300
  {
301
301
  ref: "overlay",
@@ -307,7 +307,7 @@ function Re(e, o, t, n, a, i) {
307
307
  4
308
308
  /* STYLE */
309
309
  ), [
310
- [Z, e.modelValue]
310
+ [Q, e.modelValue]
311
311
  ])
312
312
  ]),
313
313
  _: 1
@@ -319,7 +319,7 @@ function Re(e, o, t, n, a, i) {
319
319
  onAfterLeave: o[2] || (o[2] = (s) => e.$emit("closed"))
320
320
  }, {
321
321
  default: $(() => [
322
- !e.rerender || e.modelValue ? X((u(), m(
322
+ !e.rerender || e.modelValue ? Z((u(), m(
323
323
  "div",
324
324
  {
325
325
  key: 0,
@@ -375,7 +375,7 @@ function Re(e, o, t, n, a, i) {
375
375
  6
376
376
  /* CLASS, STYLE */
377
377
  )), [
378
- [Z, e.rerender ? !0 : e.modelValue]
378
+ [Q, e.rerender ? !0 : e.modelValue]
379
379
  ]) : S("v-if", !0)
380
380
  ]),
381
381
  _: 3
@@ -523,7 +523,7 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
523
523
  _: 1
524
524
  }, 8, ["label", "id", "required", "readonly"]));
525
525
  }
526
- }), fo = /* @__PURE__ */ z(Je, [["__scopeId", "data-v-5cd094ab"]]), Qe = ["required", "type", "name", "readonly", "disabled", "value", "checked"], Xe = ["data-test"], Ze = { key: 0 }, xe = {
526
+ }), fo = /* @__PURE__ */ z(Je, [["__scopeId", "data-v-5cd094ab"]]), Xe = ["required", "type", "name", "readonly", "disabled", "value", "checked"], Ze = ["data-test"], Qe = { key: 0 }, xe = {
527
527
  key: 1,
528
528
  class: /* @__PURE__ */ v(["konnectio-click-box-label", "inline"])
529
529
  }, eo = /* @__PURE__ */ C({
@@ -574,7 +574,7 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
574
574
  value: l.type === "radio" ? l.val : l.modelValue,
575
575
  checked: l.type === "radio" ? l.val === l.modelValue : !!l.modelValue,
576
576
  onChange: s[0] || (s[0] = (d) => i())
577
- }), null, 16, Qe),
577
+ }), null, 16, Xe),
578
578
  r("div", {
579
579
  class: v([
580
580
  "konnectio-click-box",
@@ -584,13 +584,13 @@ const Ue = { id: "konnectio-side-panel-header" }, We = { id: "konnectio-side-pan
584
584
  style: q(l.inputStyle),
585
585
  "data-test": l.name,
586
586
  onKeyup: s[1] || (s[1] = ke((d) => i(), ["enter"]))
587
- }, null, 46, Xe),
587
+ }, null, 46, Ze),
588
588
  l.label ? (u(), m("div", {
589
589
  key: 0,
590
590
  class: v(["konnectio-click-box-label", "text-hover", { "with-price": l.price }])
591
591
  }, [
592
592
  r("span", null, b(l.label), 1),
593
- l.price ? (u(), m("span", Ze, b(l.price), 1)) : S("", !0)
593
+ l.price ? (u(), m("span", Qe, b(l.price), 1)) : S("", !0)
594
594
  ], 2)) : y(a).default ? (u(), m("div", xe, [
595
595
  V(l.$slots, "default", {}, void 0, !0)
596
596
  ])) : S("", !0)
@@ -665,4 +665,4 @@ export {
665
665
  lo as _,
666
666
  po as a
667
667
  };
668
- //# sourceMappingURL=CheckoutWindow-DXpTb3IM.js.map
668
+ //# sourceMappingURL=CheckoutWindow-Clz85IBZ.js.map
@@ -1,5 +1,5 @@
1
- import { d as g, o as B, a as J, g as E, t as i, p as S, j as R } from "./_commonjsHelpers-BpcYSDvQ.js";
2
- import { _ as k } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DCFBIwBo.js";
1
+ import { d as g, o as B, a as J, g as E, t as i, p as S, j as R } from "./_commonjsHelpers-BnQF6Gki.js";
2
+ import { _ as k } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Dw6yVZCV.js";
3
3
  (function() {
4
4
  try {
5
5
  var A = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, C = new Error().stack;
@@ -42,4 +42,4 @@ const o = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAACCQAAAgkCAYAAABoLDe6AAA
42
42
  export {
43
43
  l as E
44
44
  };
45
- //# sourceMappingURL=ErrorMessage-DURaj0JK.js.map
45
+ //# sourceMappingURL=ErrorMessage-VTSFzaD9.js.map
Binary file
@@ -1,26 +1,26 @@
1
- import { r as i, c as a, d as Ke, h as He, o as W, a as me, f as X, w as Qe, u as z, b as Je, e as fe, l as We, n as Xe, i as Ye } from "./_commonjsHelpers-BpcYSDvQ.js";
2
- import { d as Ze, u as et, s as ee, v as tt, a as at, b as ge, m as te, w as p, c as Y, O as ye, S as Z, x as nt, e as $, g as C, i as N, y as ot, h as lt, k as st, C as it, _ as rt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DCFBIwBo.js";
1
+ import { r as i, c as a, d as Ke, h as He, o as W, a as fe, f as X, w as Qe, u as z, b as Je, e as me, l as We, n as Xe, i as Ye } from "./_commonjsHelpers-BnQF6Gki.js";
2
+ import { d as Ze, u as et, s as ee, t as tt, a as at, b as ge, m as te, v as p, c as Y, O as ye, S as Z, w as nt, e as $, g as C, i as N, x as ot, h as lt, k as st, C as it, _ as rt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Dw6yVZCV.js";
3
3
  import "./navigation.js";
4
- import { _ as ut } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CvsxXVBB.js";
4
+ import { _ as ut } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-kgtV8m-S.js";
5
5
  (function() {
6
6
  try {
7
- var I = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, l = new Error().stack;
8
- l && (I._sentryDebugIds = I._sentryDebugIds || {}, I._sentryDebugIds[l] = "8887955a-a441-498c-9094-7b31e0a2f5ea", I._sentryDebugIdIdentifier = "sentry-dbid-8887955a-a441-498c-9094-7b31e0a2f5ea");
7
+ var D = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, l = new Error().stack;
8
+ l && (D._sentryDebugIds = D._sentryDebugIds || {}, D._sentryDebugIds[l] = "d9fba2f9-992c-4892-b898-dfb944e9de05", D._sentryDebugIdIdentifier = "sentry-dbid-d9fba2f9-992c-4892-b898-dfb944e9de05");
9
9
  } catch {
10
10
  }
11
11
  })();
12
12
  const ct = Ze("event", () => {
13
- const I = et(), { voucher: l } = ee(tt()), { display: m } = at(), { bearerToken: w, metaData: F } = ee(ge()), j = ge(), b = te(), f = i({}), B = a(() => Object.keys(f.value).length > 0), t = i(void 0), o = i(!0), r = i(p.InitialState), A = i(NaN), T = i(1), k = i(NaN), V = i(NaN), D = i(""), E = Y("konnectio_name", "", void 0, { serializer: Z.string }), G = Y("konnectio_phone", "", void 0, { serializer: Z.string }), x = Y("konnectio_email", "", void 0, { serializer: Z.string }), u = i(""), g = i({}), d = i({}), U = i("");
13
+ const D = et(), { voucher: l } = ee(tt()), { display: f } = at(), { bearerToken: w, metaData: F } = ee(ge()), j = ge(), b = te(), m = i({}), B = a(() => Object.keys(m.value).length > 0), t = i(void 0), o = i(!0), r = i(p.InitialState), A = i(NaN), T = i(1), k = i(NaN), V = i(NaN), I = i(""), E = Y("konnectio_name", "", void 0, { serializer: Z.string }), G = Y("konnectio_phone", "", void 0, { serializer: Z.string }), x = Y("konnectio_email", "", void 0, { serializer: Z.string }), u = i(""), g = i({}), d = i({}), U = i("");
14
14
  function s(e) {
15
15
  return e ? e.templateId !== void 0 : !1;
16
16
  }
17
- const he = a(() => j.metaData.hotels.findIndex((e) => e.id === b.eventLocation) || 0), O = a(() => j.metaData.hotels[he.value]), be = a(() => O.value.maxNumberPerBooking ? O.value.maxNumberPerBooking : 1 / 0), ke = a(() => O.value.name ? O.value.name : ""), De = a(() => O.value.subtitle ? O.value.subtitle : ""), M = a(() => b.searchDate.toISOString()), Ie = a(() => s(t.value)), q = a(() => s(t.value) ? t.value.numberOfDays : T.value), we = a(() => s(t.value) ? t.value.packageCount : 0), Ae = a(() => s(t.value) ? t.value.fromDate : ""), L = a(() => f.value.events !== void 0 ? f.value.events.find((e) => e.id === k.value) : void 0), Se = a(() => L.value ? L.value.length : void 0), ae = a(() => s(t.value) ? t.value.templateId : 0), Pe = a(() => f.value.events), Ee = a(() => f.value.templates), Le = a(() => f.value.events.length > 0), _e = a(() => f.value.templates.length > 0), ne = a(() => L.value && L.value.eventRateType ? L.value.eventRateType : ye.None), K = a(() => {
17
+ const he = a(() => j.metaData.hotels.findIndex((e) => e.id === b.eventLocation) || 0), O = a(() => j.metaData.hotels[he.value]), be = a(() => O.value.maxNumberPerBooking ? O.value.maxNumberPerBooking : 1 / 0), ke = a(() => O.value.name ? O.value.name : ""), Ie = a(() => O.value.subtitle ? O.value.subtitle : ""), M = a(() => b.searchDate.toISOString()), De = a(() => s(t.value)), q = a(() => s(t.value) ? t.value.numberOfDays : T.value), we = a(() => s(t.value) ? t.value.packageCount : 0), Ae = a(() => s(t.value) ? t.value.fromDate : ""), L = a(() => m.value.events !== void 0 ? m.value.events.find((e) => e.id === k.value) : void 0), Se = a(() => L.value ? L.value.length : void 0), ae = a(() => s(t.value) ? t.value.templateId : 0), Pe = a(() => m.value.events), Ee = a(() => m.value.templates), Le = a(() => m.value.events.length > 0), _e = a(() => m.value.templates.length > 0), ne = a(() => L.value && L.value.eventRateType ? L.value.eventRateType : ye.None), K = a(() => {
18
18
  if (!s(t.value))
19
19
  return t.value;
20
20
  }), oe = a(() => {
21
21
  if (K.value !== void 0) {
22
22
  const e = K.value.find(
23
- (n) => n.time === D.value
23
+ (n) => n.time === I.value
24
24
  );
25
25
  if (e && e.price)
26
26
  return e.price;
@@ -78,7 +78,7 @@ const ct = Ze("event", () => {
78
78
  for (const c in e)
79
79
  n += Number.isNaN(e[c]) ? 0 : e[c];
80
80
  return n > 0;
81
- }), ie = a(() => s(t.value) ? !1 : Object.keys(d.value).length > 0), Me = a(() => !!(E.value !== "" && x.value !== "" && G.value.length >= 5 && (!ie.value || Oe.value) && (!(!s(t.value) && ne.value !== ye.FullDayEvent) || D.value !== "")));
81
+ }), ie = a(() => s(t.value) ? !1 : Object.keys(d.value).length > 0), Me = a(() => !!(E.value !== "" && x.value !== "" && G.value.length >= 5 && (!ie.value || Oe.value) && (!(!s(t.value) && ne.value !== ye.FullDayEvent) || I.value !== "")));
82
82
  function Re(e) {
83
83
  return r.value === p.ReservationState && k.value === e && o.value;
84
84
  }
@@ -96,7 +96,7 @@ const ct = Ze("event", () => {
96
96
  })).data;
97
97
  F.value = e, ue();
98
98
  } catch {
99
- m({
99
+ f({
100
100
  message: N.t("alert.error.couldntFetchMetadata"),
101
101
  type: "warning"
102
102
  });
@@ -116,9 +116,9 @@ const ct = Ze("event", () => {
116
116
  Accept: "application/json"
117
117
  }
118
118
  })).data;
119
- f.value = e, o.value = !1;
119
+ m.value = e, o.value = !1;
120
120
  } catch {
121
- m({
121
+ f({
122
122
  message: N.t("alert.error.couldntFetchListings"),
123
123
  type: "warning"
124
124
  });
@@ -140,12 +140,12 @@ const ct = Ze("event", () => {
140
140
  Accept: "application/json"
141
141
  }
142
142
  })).data;
143
- n.rooms.length === 0 ? m({
143
+ n.rooms.length === 0 ? f({
144
144
  message: N.t("alert.error.eventNotAvailable"),
145
145
  type: "warning"
146
146
  }) : (t.value = n, e()), o.value = !1;
147
147
  } catch {
148
- o.value = !1, r.value = p.AvailabilityState, m({
148
+ o.value = !1, r.value = p.AvailabilityState, f({
149
149
  message: N.t("alert.error.couldntFetchEvent"),
150
150
  type: "warning"
151
151
  });
@@ -170,7 +170,7 @@ const ct = Ze("event", () => {
170
170
  })).data;
171
171
  t.value = n, o.value = !1, e();
172
172
  } catch {
173
- o.value = !1, r.value = p.AvailabilityState, m({
173
+ o.value = !1, r.value = p.AvailabilityState, f({
174
174
  message: N.t("alert.error.couldntFetchEvent"),
175
175
  type: "warning"
176
176
  });
@@ -191,7 +191,7 @@ const ct = Ze("event", () => {
191
191
  })).data;
192
192
  console.log(e);
193
193
  } catch (e) {
194
- console.log(e), m({
194
+ console.log(e), f({
195
195
  message: N.t("alert.error.discountCodeValidation"),
196
196
  type: "warning"
197
197
  });
@@ -200,7 +200,7 @@ const ct = Ze("event", () => {
200
200
  async function Be(e) {
201
201
  r.value = p.PaymentState, o.value = !0;
202
202
  const n = () => {
203
- o.value = !1, r.value = p.ReservationState, m({
203
+ o.value = !1, r.value = p.ReservationState, f({
204
204
  message: N.t("booking.other.errorMessage"),
205
205
  type: "warning"
206
206
  });
@@ -231,7 +231,7 @@ const ct = Ze("event", () => {
231
231
  templateCounts: _
232
232
  };
233
233
  else {
234
- y = [], v = D.value;
234
+ y = [], v = I.value;
235
235
  for (const h in d.value) {
236
236
  const R = d.value[parseInt(h)];
237
237
  R > 0 && y.push({
@@ -262,22 +262,22 @@ const ct = Ze("event", () => {
262
262
  Accept: "application/json"
263
263
  }
264
264
  }).then((h) => {
265
- o.value = !1, I.pay({
265
+ o.value = !1, D.pay({
266
266
  callback: e,
267
267
  response: h.data
268
268
  });
269
269
  }).catch(() => n());
270
270
  }
271
271
  function Ue(e) {
272
- g.value = {}, d.value = {}, D.value = "", e();
272
+ g.value = {}, d.value = {}, I.value = "", e();
273
273
  }
274
274
  function qe() {
275
275
  re();
276
276
  }
277
277
  return {
278
- fetchMetaData: re,
278
+ fetchMetadata: re,
279
279
  metaData: F,
280
- listingData: f,
280
+ listingData: m,
281
281
  tableBasePrice: oe,
282
282
  availabilityData: t,
283
283
  isLoading: o,
@@ -286,7 +286,7 @@ const ct = Ze("event", () => {
286
286
  numberOfDays: T,
287
287
  eventId: k,
288
288
  tableGroupId: V,
289
- arrivalTime: D,
289
+ arrivalTime: I,
290
290
  addons: g,
291
291
  products: d,
292
292
  discountCode: U,
@@ -294,10 +294,10 @@ const ct = Ze("event", () => {
294
294
  phone: G,
295
295
  email: x,
296
296
  remark: u,
297
- isTemplateEvent: Ie,
297
+ isTemplateEvent: De,
298
298
  maxNumberOfPeople: be,
299
299
  title: ke,
300
- subtitle: De,
300
+ subtitle: Ie,
301
301
  date: M,
302
302
  numberOfTotalDays: q,
303
303
  numberOfRooms: we,
@@ -318,12 +318,12 @@ const ct = Ze("event", () => {
318
318
  hasProducts: ie,
319
319
  eventRateType: ne,
320
320
  isReservationFormFilled: Me,
321
- isMetaDataAvailable: ze,
321
+ isMetadataAvailable: ze,
322
322
  areListingsAvailable: $e,
323
323
  isAvailabilityDataAvailable: Fe,
324
324
  isPaymentLoading: Ve,
325
325
  isEventListingLoading: Re,
326
- // fetchMetaData,
326
+ // fetchMetadata,
327
327
  fetchListings: ue,
328
328
  getTemplateAvailability: Ge,
329
329
  getEventAvailability: xe,
@@ -344,18 +344,18 @@ const ct = Ze("event", () => {
344
344
  link: {},
345
345
  redirection: { type: Boolean, default: !0 }
346
346
  },
347
- setup(I) {
348
- const l = I, {
349
- eventLocation: m,
347
+ setup(D) {
348
+ const l = D, {
349
+ eventLocation: f,
350
350
  eventLocations: w,
351
351
  hasEventLocations: F,
352
352
  eventLocationControl: j,
353
353
  searchDate: b,
354
- isExpired: f
355
- } = ee(te()), { reset: B, fetchMetadata: t, updateEventAvailability: o } = te(), { fetchListings: r } = ct(), { t: A } = lt(), T = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), k = i(j.value), V = i(T()), D = a({
356
- get: () => l.redirection ? k.value : m.value,
354
+ isExpired: m
355
+ } = ee(te()), { reset: B, fetchMetadata: t, updateEventAvailability: o } = te(), { fetchListings: r } = ct(), { t: A } = lt(), T = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), k = i(j.value), V = i(T()), I = a({
356
+ get: () => l.redirection ? k.value : f.value,
357
357
  set: (u) => {
358
- l.redirection ? k.value = Number(u) : m.value = Number(u);
358
+ l.redirection ? k.value = Number(u) : f.value = Number(u);
359
359
  }
360
360
  }), E = a({
361
361
  get: () => l.redirection ? V.value : b.value,
@@ -367,7 +367,7 @@ const ct = Ze("event", () => {
367
367
  if (l.redirection === !0)
368
368
  if (o({
369
369
  date: E.value,
370
- location: D.value
370
+ location: I.value
371
371
  }), G.value) {
372
372
  const u = C();
373
373
  l.link[u] ? window.location.replace(l.link[u]) : l.link.en && window.location.replace(l.link.en);
@@ -377,8 +377,8 @@ const ct = Ze("event", () => {
377
377
  r();
378
378
  }
379
379
  return He(() => {
380
- f.value && B(), l.redirection === !1 && t();
381
- }), (u, g) => (W(), me("form", {
380
+ m.value && B(), l.redirection === !1 && t();
381
+ }), (u, g) => (W(), fe("form", {
382
382
  class: Xe([
383
383
  "konnectio-event-search-form",
384
384
  { "has-locations": z(F) },
@@ -392,8 +392,8 @@ const ct = Ze("event", () => {
392
392
  }, {
393
393
  default: Qe(() => [
394
394
  z(F) ? (W(), Je(st, {
395
- modelValue: D.value,
396
- "onUpdate:modelValue": g[0] || (g[0] = (d) => D.value = d),
395
+ modelValue: I.value,
396
+ "onUpdate:modelValue": g[0] || (g[0] = (d) => I.value = d),
397
397
  key: "location",
398
398
  label: z(A)("general.location"),
399
399
  icon: "location-dot",
@@ -403,7 +403,7 @@ const ct = Ze("event", () => {
403
403
  "value-key": "id",
404
404
  options: z(w),
405
405
  searchable: !1
406
- }, null, 8, ["modelValue", "label", "options"])) : fe("", !0),
406
+ }, null, 8, ["modelValue", "label", "options"])) : me("", !0),
407
407
  X(ut, {
408
408
  modelValue: E.value,
409
409
  "onUpdate:modelValue": g[1] || (g[1] = (d) => E.value = d),
@@ -413,12 +413,12 @@ const ct = Ze("event", () => {
413
413
  "icon-placement": "label",
414
414
  "min-date": /* @__PURE__ */ new Date()
415
415
  }, null, 8, ["modelValue", "label", "min-date"]),
416
- u.redirection ? (W(), me("li", vt, [
416
+ u.redirection ? (W(), fe("li", vt, [
417
417
  X(it, {
418
418
  type: "submit",
419
419
  label: z(A)("availability.buttonLabel")
420
420
  }, null, 8, ["label"])
421
- ])) : fe("", !0)
421
+ ])) : me("", !0)
422
422
  ]),
423
423
  _: 1
424
424
  })
@@ -429,4 +429,4 @@ export {
429
429
  yt as E,
430
430
  ct as u
431
431
  };
432
- //# sourceMappingURL=EventAvailabilityForm-EdvNJO4b.js.map
432
+ //# sourceMappingURL=EventAvailabilityForm-QZ9tm4bJ.js.map
@@ -1,5 +1,5 @@
1
- import { d as l, o as a, a as o, b as i, e as r, f as n, n as f } from "./_commonjsHelpers-BpcYSDvQ.js";
2
- import { E as s, _ as p } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DCFBIwBo.js";
1
+ import { d as l, o as a, a as o, b as i, e as r, f as n, n as f } from "./_commonjsHelpers-BnQF6Gki.js";
2
+ import { E as s, _ as p } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Dw6yVZCV.js";
3
3
  (function() {
4
4
  try {
5
5
  var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, e = new Error().stack;
@@ -47,4 +47,4 @@ const c = {
47
47
  export {
48
48
  y as F
49
49
  };
50
- //# sourceMappingURL=Field-C31DtxD3.js.map
50
+ //# sourceMappingURL=Field-BUCiT-zy.js.map
Binary file