@konnectio/core 4.0.58 → 4.0.60

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 (69) hide show
  1. package/dist/{ActionField-SljqGQe4.js → ActionField-CVdLZg_F.js} +3 -3
  2. package/dist/ActionField-CVdLZg_F.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-VxFPbzvu.js → AvailabilitySkeleton-D8hRAFp-.js} +22 -23
  4. package/dist/AvailabilitySkeleton-D8hRAFp-.js.br +0 -0
  5. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-B3_PxvDx.js +8668 -0
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-B3_PxvDx.js.br +0 -0
  7. package/dist/{CheckoutWindow-BsR9w1sU.js → CheckoutWindow-DUl3c-Tr.js} +40 -40
  8. package/dist/CheckoutWindow-DUl3c-Tr.js.br +0 -0
  9. package/dist/{ErrorMessage-Bv8Sjw4c.js → ErrorMessage-Dt3tVome.js} +3 -3
  10. package/dist/ErrorMessage-Dt3tVome.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-Cjn9eC1i.js → EventAvailabilityForm-DqV-7Yhd.js} +5 -5
  12. package/dist/EventAvailabilityForm-DqV-7Yhd.js.br +0 -0
  13. package/dist/{Field-Dv-tx0DG.js → Field-Bir0Q2Cn.js} +3 -3
  14. package/dist/Field-Bir0Q2Cn.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BRY3Z3U3.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bz5ezFs1.js} +2313 -2421
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bz5ezFs1.js.br +0 -0
  17. package/dist/TermsOfService-Bi-4Y-Eu.js +36 -0
  18. package/dist/TermsOfService-Bi-4Y-Eu.js.br +0 -0
  19. package/dist/{_-3oY9YKKN.js → _-BaPwdDXA.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-Cm6NL02H.js → _.vue_vue_type_style_index_0_lang-9DUPh09R.js} +5 -5
  21. package/dist/_.vue_vue_type_style_index_0_lang-9DUPh09R.js.br +0 -0
  22. package/dist/{_commonjsHelpers-BljBhQM7.js → _commonjsHelpers-4acPj2Ir.js} +2 -2
  23. package/dist/{_sentry-release-injection-file-D0NAFAC9.js → _sentry-release-injection-file-CSY2pTJK.js} +4169 -4273
  24. package/dist/_sentry-release-injection-file-CSY2pTJK.js.br +0 -0
  25. package/dist/availability.js +7 -7
  26. package/dist/availability.js.br +0 -0
  27. package/dist/deep-link.js +2 -2
  28. package/dist/deep-link.js.br +0 -0
  29. package/dist/event.js +211 -210
  30. package/dist/event.js.br +0 -0
  31. package/dist/gift-card-validation.js +22 -21
  32. package/dist/gift-card-validation.js.br +0 -0
  33. package/dist/gift-card.js +60 -59
  34. package/dist/gift-card.js.br +0 -0
  35. package/dist/giftCard-DrbtM1MV.js +126 -0
  36. package/dist/giftCard-DrbtM1MV.js.br +0 -0
  37. package/dist/hotel.js +26 -25
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/masonry.plugin-CoSanVEe.js +10375 -0
  40. package/dist/masonry.plugin-CoSanVEe.js.br +0 -0
  41. package/dist/{mitt-bU37KQKU.js → mitt-Ciy52c7q.js} +96 -96
  42. package/dist/mitt-Ciy52c7q.js.br +0 -0
  43. package/dist/polyfill.js +16983 -14766
  44. package/dist/polyfill.js.br +0 -0
  45. package/dist/style-Bf1WJ5oD.js +2328 -0
  46. package/dist/style-Bf1WJ5oD.js.br +0 -0
  47. package/dist/style.css +1 -1
  48. package/dist/style.css.br +0 -0
  49. package/package.json +18 -18
  50. package/dist/ActionField-SljqGQe4.js.br +0 -0
  51. package/dist/AvailabilitySkeleton-VxFPbzvu.js.br +0 -0
  52. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CrPwaYxX.js +0 -8652
  53. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CrPwaYxX.js.br +0 -0
  54. package/dist/CheckoutWindow-BsR9w1sU.js.br +0 -0
  55. package/dist/ErrorMessage-Bv8Sjw4c.js.br +0 -0
  56. package/dist/EventAvailabilityForm-Cjn9eC1i.js.br +0 -0
  57. package/dist/Field-Dv-tx0DG.js.br +0 -0
  58. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BRY3Z3U3.js.br +0 -0
  59. package/dist/TermsOfService-DudxcmqT.js +0 -36
  60. package/dist/TermsOfService-DudxcmqT.js.br +0 -0
  61. package/dist/_.vue_vue_type_style_index_0_lang-Cm6NL02H.js.br +0 -0
  62. package/dist/_sentry-release-injection-file-D0NAFAC9.js.br +0 -0
  63. package/dist/giftCard-vxErFkoV.js +0 -134
  64. package/dist/giftCard-vxErFkoV.js.br +0 -0
  65. package/dist/masonry.plugin-BKhDyXyM.js +0 -12766
  66. package/dist/masonry.plugin-BKhDyXyM.js.br +0 -0
  67. package/dist/mitt-bU37KQKU.js.br +0 -0
  68. package/dist/tracing-CMlyHB3J.js +0 -2537
  69. package/dist/tracing-CMlyHB3J.js.br +0 -0
package/dist/hotel.js CHANGED
@@ -1,15 +1,16 @@
1
- import { d as Q, r as ne, a as u, b as A, w as $, l as qe, u as t, g as f, e as a, t as v, A as We, B as Ke, f as g, i as _, s as F, F as M, x as Ye, v as N, h as Ae, c as G, p as kt, j as _t, o as tt, z as De, n as He, S as to, C as oo, D as no, E as lo, k as ao } from "./_sentry-release-injection-file-D0NAFAC9.js";
2
- import { u as le, s as Z, T as io, c as so, i as ro, m as co } from "./mitt-bU37KQKU.js";
3
- import { d as Ve, x as me, u as _e, I as K, s as ce, y as Ze, l as dt, z as re, h as oe, _ as ue, n as Be, A as Vt, b as Qe, c as de, e as Tt, B as $t, D as ct, T as se, p as uo, F as po, a as mo, C as fo, i as ut, j as ho, k as pt, m as vo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BRY3Z3U3.js";
4
- import { R as yo, B as Ee, L as go, S as bo, M as ko, a as ze, C as _o, T as Vo, V as To, G as $o } from "./masonry.plugin-BKhDyXyM.js";
5
- import { A as Co, H as wo } from "./AvailabilitySkeleton-VxFPbzvu.js";
6
- import { S as Po } from "./TermsOfService-DudxcmqT.js";
7
- import { C as Se, B as Ao, P as Do, a as Ho } from "./CheckoutWindow-BsR9w1sU.js";
8
- import { _ as Ct } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CrPwaYxX.js";
1
+ import { d as Q, r as ne, a as u, b as A, w as $, l as qe, u as t, g as f, e as a, t as v, A as We, B as Ke, f as g, i as _, s as F, F as M, x as Ye, v as N, h as Ae, c as G, p as kt, j as _t, o as tt, z as De, n as He, S as to, C as oo, D as no, E as lo, k as ao } from "./_sentry-release-injection-file-CSY2pTJK.js";
2
+ import { u as le, s as Z, T as io, c as so, i as ro, m as co } from "./mitt-Ciy52c7q.js";
3
+ import { d as Ve, x as me, u as _e, I as K, s as ce, y as Ze, l as dt, z as re, h as oe, _ as ue, n as Be, A as Vt, b as Qe, c as de, e as Tt, B as $t, D as ct, T as se, p as uo, F as po, a as mo, C as fo, i as ut, j as ho, k as pt, m as vo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bz5ezFs1.js";
4
+ import { G as yo } from "./style-Bf1WJ5oD.js";
5
+ import { A as go, H as bo } from "./AvailabilitySkeleton-D8hRAFp-.js";
6
+ import { R as ko, B as Ee, L as _o, S as Vo, M as To, a as ze, C as $o, T as Co, V as wo } from "./masonry.plugin-CoSanVEe.js";
7
+ import { S as Po } from "./TermsOfService-Bi-4Y-Eu.js";
8
+ import { C as Se, B as Ao, P as Do, a as Ho } from "./CheckoutWindow-DUl3c-Tr.js";
9
+ import { _ as Ct } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-B3_PxvDx.js";
9
10
  (function() {
10
11
  try {
11
12
  var l = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
12
- n && (l._sentryDebugIds = l._sentryDebugIds || {}, l._sentryDebugIds[n] = "ab56a4e5-535c-4dee-beaa-bb51cb39fe60", l._sentryDebugIdIdentifier = "sentry-dbid-ab56a4e5-535c-4dee-beaa-bb51cb39fe60");
13
+ n && (l._sentryDebugIds = l._sentryDebugIds || {}, l._sentryDebugIds[n] = "dcb41e34-ffd6-4139-98a4-4220c93b22c8", l._sentryDebugIdIdentifier = "sentry-dbid-dcb41e34-ffd6-4139-98a4-4220c93b22c8");
13
14
  } catch {
14
15
  }
15
16
  })();
@@ -54,7 +55,7 @@ const Mo = { key: 0 }, Lo = { key: 1 }, Uo = { key: 0 }, Ro = { class: "konnecti
54
55
  function ye(ee) {
55
56
  return ee.reduce((U, { totalPrice: ge }) => U + ge, 0);
56
57
  }
57
- return (ee, z) => (u(), A(yo, {
58
+ return (ee, z) => (u(), A(ko, {
58
59
  "discount-code": t(X),
59
60
  "onUpdate:discountCode": z[4] || (z[4] = (U) => N(X) ? X.value = U : null),
60
61
  "validate-discount-code": t(Le),
@@ -865,15 +866,15 @@ const en = /* @__PURE__ */ Q({
865
866
  setup(l) {
866
867
  return (n, o) => (u(), f("div", gn, [
867
868
  a("div", bn, [
868
- g(Co, { hotel: "" }),
869
- g(go)
869
+ g(go, { hotel: "" }),
870
+ g(_o)
870
871
  ]),
871
872
  a("div", kn, [
872
- g(bo)
873
+ g(Vo)
873
874
  ])
874
875
  ]));
875
876
  }
876
- }), Vn = /* @__PURE__ */ ue(_n, [["__scopeId", "data-v-1bb21da4"]]), Tn = (l) => (kt("data-v-2713d0ba"), l = l(), _t(), l), $n = { id: "booking-availability-container" }, Cn = { id: "booking-availability-controls" };
877
+ }), Vn = /* @__PURE__ */ ue(_n, [["__scopeId", "data-v-1bb21da4"]]), Tn = (l) => (kt("data-v-91403293"), l = l(), _t(), l), $n = { id: "booking-availability-container" }, Cn = { id: "booking-availability-controls" };
877
878
  const wn = { key: 1 }, Pn = { key: 0 }, An = {
878
879
  key: 0,
879
880
  id: "booking-availability-packages"
@@ -920,7 +921,7 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
920
921
  styling: {}
921
922
  },
922
923
  setup(l) {
923
- const n = oo(() => import("./_-3oY9YKKN.js")), o = l, { t: e } = le(), {
924
+ const n = oo(() => import("./_-BaPwdDXA.js")), o = l, { t: e } = le(), {
924
925
  templateID: i,
925
926
  templateAddons: s,
926
927
  countries: m,
@@ -1048,7 +1049,7 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1048
1049
  const k = ho("hash-params", {
1049
1050
  removeNullishValues: !0
1050
1051
  }), T = parseInt(k.a), q = parseInt(k.c), D = parseInt(k.hid), y = parseInt(k.n), W = k.ci, E = k.co, S = k.id;
1051
- if (isNaN(T) || (T > lt.value ? ye.value = lt.value : ye.value = T, k.a = void 0), isNaN(q) || (q > at.value ? ee.value = at.value : ee.value = q, k.c = void 0), isNaN(y) || y > 0 && (k.n = void 0), isNaN(D) || (Re(D) ? (z.value = D, k.hid = void 0) : je({
1052
+ if (isNaN(T) || (T > lt.value ? ye.value = lt.value : ye.value = T, k.a = void 0), isNaN(q) || (q > at.value ? ee.value = at.value : ee.value = q, k.c = void 0), isNaN(y) || y > 0 && (k.n = void 0), isNaN(D) || (Re(D) ? z.value = D : je({
1052
1053
  message: e("alert.error.hotelIdNotFound"),
1053
1054
  type: "error"
1054
1055
  })), W && E)
@@ -1076,7 +1077,7 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1076
1077
  callback: t(Gt)
1077
1078
  }, {
1078
1079
  default: $(() => [
1079
- g(ko, {
1080
+ g(To, {
1080
1081
  layout: k.headerLayout,
1081
1082
  steps: Wt,
1082
1083
  onReset: t(Ft)
@@ -1086,7 +1087,7 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1086
1087
  form: $(() => [
1087
1088
  a("div", $n, [
1088
1089
  a("div", Cn, [
1089
- g(wo, {
1090
+ g(bo, {
1090
1091
  booking: !0,
1091
1092
  "selected-location": Number(k.selectedLocation)
1092
1093
  }, null, 8, ["selected-location"])
@@ -1525,7 +1526,7 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1525
1526
  icon: "allergies",
1526
1527
  placeholder: t(e)("booking.reservation.allergiesPlaceholder")
1527
1528
  }, null, 8, ["modelValue", "label", "placeholder"]),
1528
- t(Mt) ? _("", !0) : (u(), A(_o, {
1529
+ t(Mt) ? _("", !0) : (u(), A($o, {
1529
1530
  key: 2,
1530
1531
  modelValue: t(d),
1531
1532
  "onUpdate:modelValue": T[15] || (T[15] = (y) => N(d) ? d.value = y : null),
@@ -1559,7 +1560,7 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1559
1560
  g(Ho)
1560
1561
  ]),
1561
1562
  confirmation: $(() => [
1562
- g(Vo, {
1563
+ g(Co, {
1563
1564
  message: t(e)("booking.confirmation.thankYou")
1564
1565
  }, null, 8, ["message"])
1565
1566
  ]),
@@ -1578,7 +1579,7 @@ const Qn = /* @__PURE__ */ Tn(() => /* @__PURE__ */ a("th", { class: "konnectio-
1578
1579
  _: 1
1579
1580
  }, 8, ["styling"]));
1580
1581
  }
1581
- }), Ce = /* @__PURE__ */ ue(sl, [["__scopeId", "data-v-2713d0ba"]]);
1582
+ }), Ce = /* @__PURE__ */ ue(sl, [["__scopeId", "data-v-91403293"]]);
1582
1583
  function Xe(l, n = {}, o) {
1583
1584
  for (const e in l) {
1584
1585
  const i = l[e], s = o ? `${o}:${e}` : e;
@@ -1752,7 +1753,7 @@ function Dt(l, n) {
1752
1753
  for (const s of i)
1753
1754
  if (typeof o[s] < "u") {
1754
1755
  const m = String(o[s]);
1755
- return `${e}:${s}:${m}`;
1756
+ return n && !n(m) ? !1 : `${e}:${s}:${m}`;
1756
1757
  }
1757
1758
  return !1;
1758
1759
  }
@@ -1776,7 +1777,7 @@ async function bl(l, n, o) {
1776
1777
  }
1777
1778
  function kl(l, n) {
1778
1779
  const o = l === "class" ? " " : ";";
1779
- return typeof n == "object" && !Array.isArray(n) && (n = Object.entries(n).filter(([, e]) => e).map(([e, i]) => l === "style" ? `${e}:${i}` : e)), (Array.isArray(n) ? n.join(o) : n)?.split(o).filter((e) => e.trim()).filter(Boolean).join(o);
1780
+ return typeof n == "object" && !Array.isArray(n) && (n = Object.entries(n).filter(([, e]) => e).map(([e, i]) => l === "style" ? `${e}:${i}` : e)), String(Array.isArray(n) ? n.join(o) : n)?.split(o).filter((e) => e.trim()).filter(Boolean).join(o);
1780
1781
  }
1781
1782
  async function Ht(l, n) {
1782
1783
  for (const o of Object.keys(l)) {
@@ -1888,7 +1889,7 @@ async function $l(l, n = {}) {
1888
1889
  else if (C === "style")
1889
1890
  for (const b of (I || "").split(";").filter(Boolean)) {
1890
1891
  const [w, ...H] = b.split(":").map((O) => O.trim());
1891
- m(d, `${B}:${b}:${w}`, () => {
1892
+ m(d, `${B}:${w}`, () => {
1892
1893
  h.style.removeProperty(w);
1893
1894
  }), h.style.setProperty(w, H.join(":"));
1894
1895
  }
@@ -2205,7 +2206,7 @@ class Yl extends HTMLElement {
2205
2206
  let r = this.attributes.getNamedItem(c)?.value;
2206
2207
  m.hasOwnProperty(c) && (r = m[c]), s[c] = r;
2207
2208
  }
2208
- this.vueApp = ao(Ce, s), this.vueApp.provide("emitter", Jl), this.vueApp.use(xl), this.vueApp.use(zl), this.vueApp.use(To), this.vueApp.use(ro), this.vueApp.use($o), this.vueApp.use(vo, { bootstrap: !0 });
2209
+ this.vueApp = ao(Ce, s), this.vueApp.provide("emitter", Jl), this.vueApp.use(xl), this.vueApp.use(zl), this.vueApp.use(wo), this.vueApp.use(ro), this.vueApp.use(yo), this.vueApp.use(vo, { bootstrap: !0 });
2209
2210
  const p = document.createElement("div");
2210
2211
  this.vueApp.mount(p), this.appendChild(p.children[0]);
2211
2212
  }
package/dist/hotel.js.br CHANGED
Binary file