@konnectio/core 4.7.9 → 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 (101) hide show
  1. package/dist/{ActionField-BLUufdat.js → ActionField-DUL0XvJT.js} +6 -6
  2. package/dist/ActionField-DUL0XvJT.js.br +0 -0
  3. package/dist/ActionField-DUL0XvJT.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-DlcBMiZx.js → AvailabilitySkeleton-DEr2RxbZ.js} +113 -113
  5. package/dist/AvailabilitySkeleton-DEr2RxbZ.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-DEr2RxbZ.js.gz +0 -0
  7. package/dist/{CheckoutWindow-BcRZIzMT.js → CheckoutWindow-BNE0eaqa.js} +96 -89
  8. package/dist/CheckoutWindow-BNE0eaqa.js.br +0 -0
  9. package/dist/CheckoutWindow-BNE0eaqa.js.gz +0 -0
  10. package/dist/{ErrorMessage-C8zkJCJE.js → ErrorMessage-c1Xb-slW.js} +7 -7
  11. package/dist/ErrorMessage-c1Xb-slW.js.br +0 -0
  12. package/dist/ErrorMessage-c1Xb-slW.js.gz +0 -0
  13. package/dist/{EventAvailabilityForm-B4sFsGhI.js → EventAvailabilityForm-7jg44O4p.js} +16 -16
  14. package/dist/EventAvailabilityForm-7jg44O4p.js.br +0 -0
  15. package/dist/EventAvailabilityForm-7jg44O4p.js.gz +0 -0
  16. package/dist/{Field-De-fvk85.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-C8uTiy9J.js → HotelAvailabilityForm-D-BlPPkO.js} +6 -6
  20. package/dist/HotelAvailabilityForm-D-BlPPkO.js.br +0 -0
  21. package/dist/HotelAvailabilityForm-D-BlPPkO.js.gz +0 -0
  22. package/dist/{SelectField-CDAxug6h.js → SelectField-BgawaMC_.js} +1889 -1870
  23. package/dist/SelectField-BgawaMC_.js.br +0 -0
  24. package/dist/SelectField-BgawaMC_.js.gz +0 -0
  25. package/dist/{TermsOfService-Dt5Q1SCK.js → TermsOfService-ByMc3JXX.js} +6 -6
  26. package/dist/TermsOfService-ByMc3JXX.js.br +0 -0
  27. package/dist/TermsOfService-ByMc3JXX.js.gz +2 -0
  28. package/dist/{_-Be3oAOAc.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 +11 -11
  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-BPlclb9p.js → dist-BRdmfOkq.js} +2 -2
  41. package/dist/dist-BRdmfOkq.js.br +0 -0
  42. package/dist/dist-BRdmfOkq.js.gz +0 -0
  43. package/dist/{dist-C_IilFmu.js → dist-DOhI4S1k.js} +25 -26
  44. package/dist/dist-DOhI4S1k.js.br +0 -0
  45. package/dist/dist-DOhI4S1k.js.gz +0 -0
  46. package/dist/event.js +176 -176
  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-D7hskPCe.js +104 -0
  56. package/dist/giftCard-D7hskPCe.js.br +0 -0
  57. package/dist/giftCard-D7hskPCe.js.gz +0 -0
  58. package/dist/hotel.js +1047 -1049
  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-D9WMflRR.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 +19 -19
  68. package/dist-wix/event.js +6 -6
  69. package/dist-wix/gift-card-validation.js +20 -20
  70. package/dist-wix/gift-card.js +20 -20
  71. package/dist-wix/hotel.js +6 -6
  72. package/package.json +4 -1
  73. package/dist/ActionField-BLUufdat.js.br +0 -0
  74. package/dist/ActionField-BLUufdat.js.gz +0 -0
  75. package/dist/AvailabilitySkeleton-DlcBMiZx.js.br +0 -0
  76. package/dist/AvailabilitySkeleton-DlcBMiZx.js.gz +0 -0
  77. package/dist/CheckoutWindow-BcRZIzMT.js.br +0 -0
  78. package/dist/CheckoutWindow-BcRZIzMT.js.gz +0 -0
  79. package/dist/ErrorMessage-C8zkJCJE.js.br +0 -0
  80. package/dist/ErrorMessage-C8zkJCJE.js.gz +0 -0
  81. package/dist/EventAvailabilityForm-B4sFsGhI.js.br +0 -0
  82. package/dist/EventAvailabilityForm-B4sFsGhI.js.gz +0 -0
  83. package/dist/Field-De-fvk85.js.br +0 -0
  84. package/dist/Field-De-fvk85.js.gz +0 -0
  85. package/dist/HotelAvailabilityForm-C8uTiy9J.js.br +0 -0
  86. package/dist/HotelAvailabilityForm-C8uTiy9J.js.gz +0 -0
  87. package/dist/SelectField-CDAxug6h.js.br +0 -0
  88. package/dist/SelectField-CDAxug6h.js.gz +0 -0
  89. package/dist/TermsOfService-Dt5Q1SCK.js.br +0 -0
  90. package/dist/TermsOfService-Dt5Q1SCK.js.gz +0 -0
  91. package/dist/_-Be3oAOAc.js.br +0 -0
  92. package/dist/_-Be3oAOAc.js.gz +0 -5
  93. package/dist/dist-BPlclb9p.js.br +0 -0
  94. package/dist/dist-BPlclb9p.js.gz +0 -0
  95. package/dist/dist-C_IilFmu.js.br +0 -0
  96. package/dist/dist-C_IilFmu.js.gz +0 -0
  97. package/dist/giftCard-CxI94mQ4.js +0 -104
  98. package/dist/giftCard-CxI94mQ4.js.br +0 -0
  99. package/dist/giftCard-CxI94mQ4.js.gz +0 -0
  100. package/dist/style-D9WMflRR.js.br +0 -0
  101. package/dist/style-D9WMflRR.js.gz +0 -0
@@ -1,11 +1,11 @@
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, S as _, W as v, n as y, t as b, v as x, w as S } from "./SelectField-CDAxug6h.js";
3
- import { n as C } from "./AvailabilitySkeleton-DlcBMiZx.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",
7
7
  key: "search"
8
- }, T = /*#__PURE__*/ _(/* @__PURE__ */ i({
8
+ }, T = /*#__PURE__*/ v(/* @__PURE__ */ i({
9
9
  __name: "EventAvailabilityForm",
10
10
  props: {
11
11
  redirection: {
@@ -20,32 +20,32 @@ var w = {
20
20
  }
21
21
  },
22
22
  setup(i) {
23
- let _ = i, { eventLocation: T, eventLocations: E, hasEventLocations: D, eventLocationControl: O, eventDate: k } = d(g()), { updateEventAvailability: A } = g(), { fetchListings: j } = S(), { t: M } = s(), N = h(O.value), P = h(/* @__PURE__ */ new Date()), F = m({
24
- get: () => _.redirection ? N.value : T.value,
23
+ let v = i, { eventLocation: T, eventLocations: E, hasEventLocations: D, eventLocationControl: O, eventDate: k } = d(g()), { updateEventAvailability: A } = g(), { fetchListings: j } = S(), { t: M } = s(), N = h(O.value), P = h(/* @__PURE__ */ new Date()), F = m({
24
+ get: () => v.redirection ? N.value : T.value,
25
25
  set: (e) => {
26
- _.redirection ? N.value = Number(e) : T.value = Number(e);
26
+ v.redirection ? N.value = Number(e) : T.value = Number(e);
27
27
  }
28
28
  }), I = m({
29
- get: () => _.redirection ? P.value : k.value,
29
+ get: () => v.redirection ? P.value : k.value,
30
30
  set: (e) => {
31
- _.redirection ? P.value = e : k.value = e;
31
+ v.redirection ? P.value = e : k.value = e;
32
32
  }
33
- }), L = m(() => typeof _.link != "string"), R = m(() => {
34
- let e = E.value.find(({ id: e }) => e === _.selectedLocation);
33
+ }), L = m(() => typeof v.link != "string"), R = m(() => {
34
+ let e = E.value.find(({ id: e }) => e === v.selectedLocation);
35
35
  return e ? e.name : "";
36
- }), z = m(() => D.value && !_.hideLocations);
36
+ }), z = m(() => D.value && !v.hideLocations);
37
37
  function B() {
38
- if (_.redirection === !0) if (A({
38
+ if (v.redirection === !0) if (A({
39
39
  date: I.value,
40
40
  location: F.value
41
41
  }), L.value) {
42
- let e = v();
43
- _.link[e] ? window.location.replace(_.link[e]) : _.link.en && window.location.replace(_.link.en);
44
- } else window.location.replace(_.link);
42
+ let e = _();
43
+ v.link[e] ? window.location.replace(v.link[e]) : v.link.en && window.location.replace(v.link.en);
44
+ } else window.location.replace(v.link);
45
45
  else j();
46
46
  }
47
47
  function V() {
48
- _.redirection === !1 && j();
48
+ v.redirection === !1 && j();
49
49
  }
50
50
  return (s, d) => (r(), a("form", {
51
51
  class: n([
@@ -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-CDAxug6h.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, F as ae, O as oe, S as h, W as se, dt as ce, gt as le, k as ue, n as de, r as g, t as fe, v as _ } from "./SelectField-CDAxug6h.js";
3
- import { n as v, p as pe } from "./AvailabilitySkeleton-DlcBMiZx.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",
@@ -39,7 +39,7 @@ var me = {
39
39
  }
40
40
  },
41
41
  setup(i) {
42
- let { t: h } = c(), y = i, b = p(), { adults: be, children: xe, roomCount: Se, arrivalDate: x, departureDate: S, location: C, hasHotelLocations: w, hotelLocations: T, controlLocation: Ce } = ne(p()), E = oe(), we = pe(), { display: D } = ae(), { firstSelectableDateOffset: O, lastSelectableDateOffset: k, defaultAdultAmount: A, defaultChildAmount: j, maxAdultAmount: Te, maxChildAmount: Ee, splitBookingCalendar: De, disableCalendarPricesAvailability: M } = ne(m()), { hasChildSelection: N, hasRoomAmountSelection: P } = m(), Oe = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + O.value)).setHours(12, 0, 0, 0)), ke = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + O.value + 1)).setHours(12, 0, 0, 0)), Ae = () => y.disableDefaultLocation ? void 0 : Ce.value, F = f(A.value), I = f(j.value), L = f(1), R = f(Oe()), z = f(ke()), B = f(Ae()), V = d({
42
+ let { t: h } = c(), y = i, b = p(), { adults: be, children: xe, roomCount: Se, arrivalDate: x, departureDate: S, location: C, hasHotelLocations: w, hotelLocations: T, controlLocation: Ce } = ne(p()), E = se(), we = pe(), { display: D } = oe(), { firstSelectableDateOffset: O, lastSelectableDateOffset: k, defaultAdultAmount: A, defaultChildAmount: j, maxAdultAmount: Te, maxChildAmount: Ee, splitBookingCalendar: De, disableCalendarPricesAvailability: M } = ne(m()), { hasChildSelection: N, hasRoomAmountSelection: P } = m(), Oe = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + O.value)).setHours(12, 0, 0, 0)), ke = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + O.value + 1)).setHours(12, 0, 0, 0)), Ae = () => y.disableDefaultLocation ? void 0 : Ce.value, F = f(A.value), I = f(j.value), L = f(1), R = f(Oe()), z = f(ke()), B = f(Ae()), V = d({
43
43
  get: () => y.booking ? b.adults : F.value,
44
44
  set: (e) => {
45
45
  y.booking ? be.value = Number(e) : F.value = Number(e);
@@ -111,7 +111,7 @@ var me = {
111
111
  return;
112
112
  }
113
113
  if (y.booking === !1) if (Pe.value) {
114
- let e = se();
114
+ let e = ae();
115
115
  y.link[e] ? Q(y.link[e]) : y.link.en ? Q(y.link.en) : D({
116
116
  message: "Module misconfiguration, contact an admin",
117
117
  type: "error"
@@ -119,7 +119,7 @@ var me = {
119
119
  } else Q(y.link);
120
120
  else X.value && E.fetchAvailabilityData();
121
121
  }
122
- let Ie = le("history", { removeNullishValues: !0 });
122
+ let Ie = ue("history", { removeNullishValues: !0 });
123
123
  function $() {
124
124
  y.booking && (Ie.ci = Z(W.value), Ie.co = Z(G.value));
125
125
  }
@@ -128,7 +128,7 @@ var me = {
128
128
  new Date(G.value) < t && (G.value = t), $();
129
129
  }), l(G, () => {
130
130
  $();
131
- }), ce(ue).on(() => {
131
+ }), le(ce).on(() => {
132
132
  Y.value = [W.value, G.value];
133
133
  }), l(Y, (e) => {
134
134
  W.value = e[0], G.value = e[1];