@konnectio/core 4.0.91 → 4.0.92

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 (62) hide show
  1. package/dist/{ActionField-B2CTKORV.js → ActionField-CgMznDNS.js} +3 -3
  2. package/dist/ActionField-CgMznDNS.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-CEByne0E.js → AvailabilitySkeleton-B12FSS31.js} +21 -21
  4. package/dist/AvailabilitySkeleton-B12FSS31.js.br +0 -0
  5. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-W7VRxfL4.js +9079 -0
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-W7VRxfL4.js.br +0 -0
  7. package/dist/{CheckoutWindow-uezvZeM5.js → CheckoutWindow-BoEtvp4P.js} +26 -26
  8. package/dist/CheckoutWindow-BoEtvp4P.js.br +0 -0
  9. package/dist/{ErrorMessage-BXOgd-QR.js → ErrorMessage-CvJnQM2S.js} +3 -3
  10. package/dist/ErrorMessage-CvJnQM2S.js.br +0 -0
  11. package/dist/EventAvailabilityForm-D_KjLqgK.js +113 -0
  12. package/dist/EventAvailabilityForm-D_KjLqgK.js.br +0 -0
  13. package/dist/{Field-Bg6Pob-I.js → Field-Ce6P6QCM.js} +4 -4
  14. package/dist/Field-Ce6P6QCM.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BkgqTrge.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CtysUXs-.js} +5 -5
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-J0yDDrRu.js → SelectField.vue_vue_type_style_index_0_lang-DeqWEc4j.js} +1790 -1779
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-DeqWEc4j.js.br +0 -0
  18. package/dist/{TermsOfService-DKXsflUi.js → TermsOfService-DS18Dl-L.js} +4 -4
  19. package/dist/_-Csc-2ekB.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-CieEXQMV.js → _.vue_vue_type_style_index_0_lang-CXamzQ3j.js} +3 -3
  21. package/dist/availability.js +6 -6
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +4 -4
  24. package/dist/cancel-reservation.js.br +0 -0
  25. package/dist/deep-link.js +1 -1
  26. package/dist/deep-link.js.br +0 -0
  27. package/dist/event.js +572 -496
  28. package/dist/event.js.br +0 -0
  29. package/dist/gift-card-validation.js +9 -9
  30. package/dist/gift-card-validation.js.br +0 -0
  31. package/dist/gift-card.js +10 -10
  32. package/dist/gift-card.js.br +0 -0
  33. package/dist/{giftCard-AACJPSo5.js → giftCard-Dx--Stye.js} +3 -3
  34. package/dist/giftCard-Dx--Stye.js.br +0 -0
  35. package/dist/hotel.js +163 -163
  36. package/dist/hotel.js.br +0 -0
  37. package/dist/{masonry.plugin-CdawTHCn.js → masonry.plugin-CPsNk-yp.js} +7 -7
  38. package/dist/masonry.plugin-CPsNk-yp.js.br +0 -0
  39. package/dist/{mitt-B7wNuBju.js → mitt-BGszhQ2P.js} +5459 -5617
  40. package/dist/mitt-BGszhQ2P.js.br +0 -0
  41. package/dist/polyfill.js +1 -1
  42. package/dist/polyfill.js.br +0 -0
  43. package/dist/{style-B-eJeldE.js → style-Csy5Jdgv.js} +2 -2
  44. package/dist/style-Csy5Jdgv.js.br +0 -0
  45. package/dist/style.css +1 -1
  46. package/dist/style.css.br +0 -0
  47. package/package.json +14 -14
  48. package/dist/ActionField-B2CTKORV.js.br +0 -0
  49. package/dist/AvailabilitySkeleton-CEByne0E.js.br +0 -0
  50. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C5LNjAOm.js +0 -8697
  51. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C5LNjAOm.js.br +0 -0
  52. package/dist/CheckoutWindow-uezvZeM5.js.br +0 -0
  53. package/dist/ErrorMessage-BXOgd-QR.js.br +0 -0
  54. package/dist/EventAvailabilityForm-m-dJgaNg.js +0 -110
  55. package/dist/EventAvailabilityForm-m-dJgaNg.js.br +0 -0
  56. package/dist/Field-Bg6Pob-I.js.br +0 -0
  57. package/dist/SelectField.vue_vue_type_style_index_0_lang-J0yDDrRu.js.br +0 -0
  58. package/dist/_-Pu-92eeb.js +0 -5
  59. package/dist/giftCard-AACJPSo5.js.br +0 -0
  60. package/dist/masonry.plugin-CdawTHCn.js.br +0 -0
  61. package/dist/mitt-B7wNuBju.js.br +0 -0
  62. package/dist/style-B-eJeldE.js.br +0 -0
@@ -1,5 +1,5 @@
1
- import { d as c, c as p, a as d, b as i, w as V, e as v, i as t, f as q } from "./mitt-B7wNuBju.js";
2
- import { D as g, d as k, f as B, T as I, e as C, r as F, _ as A } from "./SelectField.vue_vue_type_style_index_0_lang-J0yDDrRu.js";
1
+ import { d as c, c as p, a as d, b as i, w as V, e as v, i as t, f as q } from "./mitt-BGszhQ2P.js";
2
+ import { D as g, c as k, f as B, T as I, d as C, r as F, _ as A } from "./SelectField.vue_vue_type_style_index_0_lang-DeqWEc4j.js";
3
3
  const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
4
4
  __name: "ActionField",
5
5
  props: {
@@ -97,4 +97,4 @@ const L = { class: "fresh-booking-action-field" }, T = /* @__PURE__ */ c({
97
97
  export {
98
98
  w as A
99
99
  };
100
- //# sourceMappingURL=ActionField-B2CTKORV.js.map
100
+ //# sourceMappingURL=ActionField-CgMznDNS.js.map
Binary file
@@ -1,8 +1,8 @@
1
- import { d as le, u as ke, O as he, s as x, r as p, c as u, E as Q, o as we, a as n, g as v, f as s, w as Ve, i as a, b as h, j as w, e as S, n as C, C as _e, h as Ae } from "./mitt-B7wNuBju.js";
2
- import { u as W, b as X, a as Le, g as Z, T as xe, d as Ne, f as ee, e as ae, q as Se, _ as oe } from "./SelectField.vue_vue_type_style_index_0_lang-J0yDDrRu.js";
3
- import { _ as N } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-C5LNjAOm.js";
4
- import { E as te } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BkgqTrge.js";
5
- import { F as f } from "./Field-Bg6Pob-I.js";
1
+ import { d as le, u as ke, s as x, r as p, c as u, C as Q, o as he, a as n, g as v, f as s, w as we, i as a, b as h, j as w, e as S, n as C, D as Ve, h as _e, O as Ae } from "./mitt-BGszhQ2P.js";
2
+ import { u as W, b as X, a as Le, g as Z, T as xe, c as Ne, f as ee, d as ae, q as Se, _ as oe } from "./SelectField.vue_vue_type_style_index_0_lang-DeqWEc4j.js";
3
+ import { _ as N } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-W7VRxfL4.js";
4
+ import { E as te } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CtysUXs-.js";
5
+ import { F as f } from "./Field-Ce6P6QCM.js";
6
6
  const Ce = {
7
7
  class: "konnectio-availability-location",
8
8
  key: "location"
@@ -27,7 +27,7 @@ const Ce = {
27
27
  disableDefaultLocation: { type: Boolean, default: !1 }
28
28
  },
29
29
  setup(U) {
30
- const { t: i } = ke(), $ = he("emitter"), l = U, B = W(), {
30
+ const { t: i } = ke(), $ = Ae("emitter"), l = U, B = W(), {
31
31
  adults: ie,
32
32
  children: ne,
33
33
  arrivalDate: H,
@@ -38,22 +38,22 @@ const Ce = {
38
38
  controlLocation: se
39
39
  } = x(W()), { fetchAvailabilityData: ue } = X(), { areListingsLoading: O } = x(X()), { display: V } = Le(), {
40
40
  firstSelectableDateOffset: T,
41
- lastSelectableDateOffset: E,
41
+ lastSelectableDateOffset: M,
42
42
  disableAdultSelection: b,
43
43
  defaultAdultAmount: re,
44
44
  defaultChildAmount: ce,
45
45
  maxAdultAmount: de,
46
46
  maxChildAmount: ve,
47
47
  splitBookingCalendar: me
48
- } = x(Z()), { hasChildSelection: g } = Z(), be = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), ge = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 2)).setHours(12, 0, 0, 0)), pe = () => l.disableDefaultLocation ? void 0 : se.value, M = p(re.value), j = p(ce.value), P = p(be()), q = p(ge()), z = p(pe()), D = u({
49
- get: () => l.booking ? B.adults : M.value,
48
+ } = x(Z()), { hasChildSelection: g } = Z(), be = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), ge = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 2)).setHours(12, 0, 0, 0)), pe = () => l.disableDefaultLocation ? void 0 : se.value, j = p(re.value), E = p(ce.value), P = p(be()), q = p(ge()), z = p(pe()), D = u({
49
+ get: () => l.booking ? B.adults : j.value,
50
50
  set: (e) => {
51
- l.booking ? ie.value = Number(e) : M.value = Number(e);
51
+ l.booking ? ie.value = Number(e) : j.value = Number(e);
52
52
  }
53
53
  }), _ = u({
54
- get: () => l.booking ? B.children : j.value,
54
+ get: () => l.booking ? B.children : E.value,
55
55
  set: (e) => {
56
- l.booking ? ne.value = Number(e) : j.value = Number(e);
56
+ l.booking ? ne.value = Number(e) : E.value = Number(e);
57
57
  }
58
58
  }), r = u({
59
59
  get: () => l.booking ? H.value : P.value,
@@ -73,9 +73,9 @@ const Ce = {
73
73
  }), G = u(() => {
74
74
  const e = I.value.find(({ id: t }) => t === l.selectedLocation);
75
75
  return e ? e.name : "";
76
- }), k = p([]), Y = u(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (T.value - 1)))), fe = u(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + E.value)));
76
+ }), k = p([]), Y = u(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (T.value - 1)))), fe = u(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + M.value)));
77
77
  u(() => new Date((/* @__PURE__ */ new Date()).setDate(r.value.getDate() + T.value)));
78
- const J = u(() => new Date((/* @__PURE__ */ new Date()).setDate(r.value.getDate() + (E.value + 1)))), A = u(() => !(!b && D.value === 0)), ye = u(() => typeof l.link != "string");
78
+ const J = u(() => new Date((/* @__PURE__ */ new Date()).setDate(r.value.getDate() + (M.value + 1)))), A = u(() => !(!b && D.value === 0)), ye = u(() => typeof l.link != "string");
79
79
  function K(e) {
80
80
  const t = e.getFullYear();
81
81
  let o = e.getMonth() + 1, m = e.getDate();
@@ -131,15 +131,15 @@ const Ce = {
131
131
  k.value = [r.value, d.value];
132
132
  }), Q(k, (e) => {
133
133
  r.value = e[0], d.value = e[1];
134
- }), we(() => {
134
+ }), he(() => {
135
135
  k.value = [r.value, d.value];
136
136
  }), (e, t) => (n(), v("form", {
137
137
  id: "konnectio-availability-form",
138
138
  class: C({ reservation: e.booking }),
139
139
  type: "availability",
140
- onSubmit: Ae(De, ["prevent"])
140
+ onSubmit: _e(De, ["prevent"])
141
141
  }, [
142
- s(_e, {
142
+ s(Ve, {
143
143
  id: "konnectio-availability-form-content",
144
144
  tag: "ul",
145
145
  class: C([
@@ -150,7 +150,7 @@ const Ce = {
150
150
  { "has-location": a(y) }
151
151
  ])
152
152
  }, {
153
- default: Ve(() => [
153
+ default: we(() => [
154
154
  a(y) ? (n(), v("li", Ce, [
155
155
  isNaN(e.selectedLocation) ? (n(), h(Ne, {
156
156
  key: 1,
@@ -269,7 +269,7 @@ const Ce = {
269
269
  }, Oe = { class: "availability-skeleton-content" }, Te = {
270
270
  key: 1,
271
271
  class: "availability-skeleton-event"
272
- }, Ee = /* @__PURE__ */ le({
272
+ }, Me = /* @__PURE__ */ le({
273
273
  __name: "AvailabilitySkeleton",
274
274
  props: {
275
275
  view: { default: "hotel" },
@@ -314,9 +314,9 @@ const Ce = {
314
314
  ])
315
315
  ]));
316
316
  }
317
- }), Ye = /* @__PURE__ */ oe(Ee, [["__scopeId", "data-v-cebeb733"]]);
317
+ }), Ye = /* @__PURE__ */ oe(Me, [["__scopeId", "data-v-cebeb733"]]);
318
318
  export {
319
319
  Ye as A,
320
320
  Ge as H
321
321
  };
322
- //# sourceMappingURL=AvailabilitySkeleton-CEByne0E.js.map
322
+ //# sourceMappingURL=AvailabilitySkeleton-B12FSS31.js.map