@konnectio/core 4.1.0 → 4.1.2

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 (71) hide show
  1. package/dist/{ActionField-Cpmt5Zg9.js → ActionField-RCouJ4bL.js} +3 -3
  2. package/dist/ActionField-RCouJ4bL.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-Vu5_xmgg.js → AvailabilitySkeleton-DMCMhOc1.js} +25 -25
  4. package/dist/AvailabilitySkeleton-DMCMhOc1.js.br +0 -0
  5. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-mLoIG3Dr.js +8595 -0
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-mLoIG3Dr.js.br +0 -0
  7. package/dist/{CheckoutWindow-BzNZHnDo.js → CheckoutWindow-CIVRhVLH.js} +83 -84
  8. package/dist/CheckoutWindow-CIVRhVLH.js.br +0 -0
  9. package/dist/{ErrorMessage-Do6glE2a.js → ErrorMessage-CRkFYH0N.js} +3 -3
  10. package/dist/ErrorMessage-CRkFYH0N.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-Ctf4T1Y9.js → EventAvailabilityForm-DuzDq1td.js} +4 -4
  12. package/dist/EventAvailabilityForm-DuzDq1td.js.br +0 -0
  13. package/dist/{Field-3qj4q_Da.js → Field-B89fBG1z.js} +4 -4
  14. package/dist/Field-B89fBG1z.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CSJEkKWu.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DHYObk1q.js} +6 -6
  16. package/dist/SelectField.vue_vue_type_style_index_0_lang-DpqEmfGX.js +19391 -0
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-DpqEmfGX.js.br +0 -0
  18. package/dist/{TermsOfService-CxZCC2bU.js → TermsOfService-B3RWtSMr.js} +4 -4
  19. package/dist/_-CS3eNenD.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-d3sS0itn.js → _.vue_vue_type_style_index_0_lang-CPp11Oc1.js} +3 -3
  21. package/dist/availability.js +6 -6
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +5 -5
  24. package/dist/cancel-reservation.js.br +0 -0
  25. package/dist/core.css +1 -0
  26. package/dist/core.css.br +0 -0
  27. package/dist/deep-link.js +1 -1
  28. package/dist/deep-link.js.br +0 -0
  29. package/dist/event.js +9 -9
  30. package/dist/event.js.br +0 -0
  31. package/dist/gift-card-validation.js +9 -9
  32. package/dist/gift-card-validation.js.br +0 -0
  33. package/dist/gift-card.js +10 -10
  34. package/dist/gift-card.js.br +0 -0
  35. package/dist/{giftCard-C0XVvEDP.js → giftCard-ovHKnHZ1.js} +3 -3
  36. package/dist/giftCard-ovHKnHZ1.js.br +0 -0
  37. package/dist/hotel.js +9112 -1582
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/leaflet-src.esm-DBQWLG1M.js +6434 -0
  40. package/dist/leaflet-src.esm-DBQWLG1M.js.br +0 -0
  41. package/dist/marker-icon-2x-DVSLMKfE.js +5 -0
  42. package/dist/marker-icon-2x-DVSLMKfE.js.br +0 -0
  43. package/dist/marker-icon-DbhCZIpd.js +5 -0
  44. package/dist/marker-icon-DbhCZIpd.js.br +0 -0
  45. package/dist/marker-shadow-ZZvxUwqf.js +5 -0
  46. package/dist/{masonry.plugin-Djhh4bxD.js → masonry.plugin-DEok8Hbz.js} +1024 -1014
  47. package/dist/masonry.plugin-DEok8Hbz.js.br +0 -0
  48. package/dist/{mitt-Dv_UvJqG.js → mitt-Dh_4vPVI.js} +4190 -4146
  49. package/dist/mitt-Dh_4vPVI.js.br +0 -0
  50. package/dist/polyfill.js +9944 -6682
  51. package/dist/polyfill.js.br +0 -0
  52. package/dist/{style-DL_k5gwT.js → style-CXMzdeVK.js} +60 -60
  53. package/dist/style-CXMzdeVK.js.br +0 -0
  54. package/package.json +22 -19
  55. package/dist/ActionField-Cpmt5Zg9.js.br +0 -0
  56. package/dist/AvailabilitySkeleton-Vu5_xmgg.js.br +0 -0
  57. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Csznyq5Z.js +0 -8429
  58. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Csznyq5Z.js.br +0 -0
  59. package/dist/CheckoutWindow-BzNZHnDo.js.br +0 -0
  60. package/dist/ErrorMessage-Do6glE2a.js.br +0 -0
  61. package/dist/EventAvailabilityForm-Ctf4T1Y9.js.br +0 -0
  62. package/dist/Field-3qj4q_Da.js.br +0 -0
  63. package/dist/SelectField.vue_vue_type_style_index_0_lang-CAOBBtwX.js +0 -19349
  64. package/dist/SelectField.vue_vue_type_style_index_0_lang-CAOBBtwX.js.br +0 -0
  65. package/dist/_-CDHtcbcg.js +0 -5
  66. package/dist/giftCard-C0XVvEDP.js.br +0 -0
  67. package/dist/masonry.plugin-Djhh4bxD.js.br +0 -0
  68. package/dist/mitt-Dv_UvJqG.js.br +0 -0
  69. package/dist/style-DL_k5gwT.js.br +0 -0
  70. package/dist/style.css +0 -1
  71. package/dist/style.css.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 g } from "./mitt-Dv_UvJqG.js";
2
- import { H as q, c as k, g as B, T as I, d as C, x as F, _ as A } from "./SelectField.vue_vue_type_style_index_0_lang-CAOBBtwX.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 g } from "./mitt-Dh_4vPVI.js";
2
+ import { H as q, c as k, g as B, T as I, d as C, x as F, _ as A } from "./SelectField.vue_vue_type_style_index_0_lang-DpqEmfGX.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-Cpmt5Zg9.js.map
100
+ //# sourceMappingURL=ActionField-RCouJ4bL.js.map
Binary file
@@ -1,8 +1,8 @@
1
- import { d as te, u as De, s as L, r as b, c as s, E as K, o as ke, a as r, g as m, f as n, w as he, i as t, b as k, j as N, e as h, n as S, C as we, h as Ve, O as _e } from "./mitt-Dv_UvJqG.js";
2
- import { u as Q, b as W, a as Ae, h as X, T as Le, c as xe, g as Z, d as ee, w as Ne, _ as le } from "./SelectField.vue_vue_type_style_index_0_lang-CAOBBtwX.js";
3
- import { _ as x } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Csznyq5Z.js";
4
- import { E as ae } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CSJEkKWu.js";
5
- import { F as p } from "./Field-3qj4q_Da.js";
1
+ import { d as te, u as De, s as A, r as b, c as s, E as K, o as ke, a as r, g as m, f as n, w as he, i as t, b as k, j as N, e as h, n as S, C as we, h as Ve, L as _e } from "./mitt-Dh_4vPVI.js";
2
+ import { u as Q, b as W, a as Le, h as X, T as Ae, c as xe, g as Z, d as ee, w as Ne, _ as le } from "./SelectField.vue_vue_type_style_index_0_lang-DpqEmfGX.js";
3
+ import { _ as x } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-mLoIG3Dr.js";
4
+ import { E as ae } from "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DHYObk1q.js";
5
+ import { F as p } from "./Field-B89fBG1z.js";
6
6
  const Se = {
7
7
  class: "konnectio-availability-location",
8
8
  key: "location"
@@ -36,23 +36,23 @@ const Se = {
36
36
  hasHotelLocations: w,
37
37
  hotelLocations: F,
38
38
  controlLocation: ne
39
- } = L(Q()), { fetchAvailabilityData: se } = W(), { areListingsLoading: I } = L(W()), { display: y } = Ae(), {
40
- firstSelectableDateOffset: O,
41
- lastSelectableDateOffset: T,
39
+ } = A(Q()), { fetchAvailabilityData: se } = W(), { areListingsLoading: I } = A(W()), { display: y } = Le(), {
40
+ firstSelectableDateOffset: T,
41
+ lastSelectableDateOffset: E,
42
42
  defaultAdultAmount: ue,
43
43
  defaultChildAmount: re,
44
44
  maxAdultAmount: ce,
45
45
  maxChildAmount: de,
46
46
  splitBookingCalendar: ve
47
- } = L(X()), { hasChildSelection: V } = X(), me = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), be = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 2)).setHours(12, 0, 0, 0)), pe = () => l.disableDefaultLocation ? void 0 : ne.value, E = b(ue.value), M = b(re.value), j = b(me()), P = b(be()), z = b(pe()), g = s({
48
- get: () => l.booking ? $.adults : E.value,
47
+ } = A(X()), { hasChildSelection: V } = X(), me = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 1)).setHours(12, 0, 0, 0)), be = () => new Date(new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + 2)).setHours(12, 0, 0, 0)), pe = () => l.disableDefaultLocation ? void 0 : ne.value, M = b(ue.value), O = b(re.value), j = b(me()), P = b(be()), z = b(pe()), g = s({
48
+ get: () => l.booking ? $.adults : M.value,
49
49
  set: (e) => {
50
- l.booking ? oe.value = Number(e) : E.value = Number(e);
50
+ l.booking ? oe.value = Number(e) : M.value = Number(e);
51
51
  }
52
52
  }), D = s({
53
- get: () => l.booking ? $.children : M.value,
53
+ get: () => l.booking ? $.children : O.value,
54
54
  set: (e) => {
55
- l.booking ? ie.value = Number(e) : M.value = Number(e);
55
+ l.booking ? ie.value = Number(e) : O.value = Number(e);
56
56
  }
57
57
  }), u = s({
58
58
  get: () => l.booking ? B.value : j.value,
@@ -72,15 +72,15 @@ const Se = {
72
72
  }), q = s(() => {
73
73
  const e = F.value.find(({ id: a }) => a === l.selectedLocation);
74
74
  return e ? e.name : "";
75
- }), f = b([]), G = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (O.value - 1)))), ge = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + T.value)));
76
- s(() => new Date((/* @__PURE__ */ new Date()).setDate(u.value.getDate() + O.value)));
77
- const Y = s(() => new Date((/* @__PURE__ */ new Date()).setDate(u.value.getDate() + (T.value + 1)))), _ = s(() => g.value !== 0), fe = s(() => typeof l.link != "string");
75
+ }), f = b([]), G = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + (T.value - 1)))), ge = s(() => new Date((/* @__PURE__ */ new Date()).setDate((/* @__PURE__ */ new Date()).getDate() + E.value)));
76
+ s(() => new Date((/* @__PURE__ */ new Date()).setDate(u.value.getDate() + T.value)));
77
+ const Y = s(() => new Date((/* @__PURE__ */ new Date()).setDate(u.value.getDate() + (E.value + 1)))), _ = s(() => g.value !== 0), fe = s(() => typeof l.link != "string");
78
78
  function J(e) {
79
79
  const a = e.getFullYear();
80
80
  let o = e.getMonth() + 1, v = e.getDate();
81
81
  return v < 10 && (v = "0" + v), o < 10 && (o = "0" + o), `${a}-${o}-${v}`;
82
82
  }
83
- function A(e) {
83
+ function L(e) {
84
84
  const a = {
85
85
  a: g.value.toString(),
86
86
  c: D.value.toString(),
@@ -115,12 +115,12 @@ const Se = {
115
115
  if (l.booking === !1)
116
116
  if (fe.value) {
117
117
  const e = Ne();
118
- l.link[e] ? A(l.link[e]) : l.link.en ? A(l.link.en) : y({
118
+ l.link[e] ? L(l.link[e]) : l.link.en ? L(l.link.en) : y({
119
119
  message: "Module misconfiguration, contact an admin",
120
120
  type: "error"
121
121
  });
122
122
  } else
123
- A(l.link);
123
+ L(l.link);
124
124
  else _.value && se();
125
125
  }
126
126
  return K(u, (e) => {
@@ -163,7 +163,7 @@ const Se = {
163
163
  "value-key": "id",
164
164
  options: t(F),
165
165
  searchable: !1
166
- }, null, 8, ["modelValue", "label", "placeholder", "options"])) : (r(), k(Le, {
166
+ }, null, 8, ["modelValue", "label", "placeholder", "options"])) : (r(), k(Ae, {
167
167
  key: 0,
168
168
  modelValue: q.value,
169
169
  "onUpdate:modelValue": a[0] || (a[0] = (o) => q.value = o),
@@ -263,10 +263,10 @@ const Se = {
263
263
  }), qe = /* @__PURE__ */ le(He, [["__scopeId", "data-v-d17acb1f"]]), Re = { class: "availability-skeleton" }, Fe = {
264
264
  key: 0,
265
265
  class: "availability-skeleton-navigation"
266
- }, Ie = { class: "availability-skeleton-content" }, Oe = {
266
+ }, Ie = { class: "availability-skeleton-content" }, Te = {
267
267
  key: 1,
268
268
  class: "availability-skeleton-event"
269
- }, Te = /* @__PURE__ */ te({
269
+ }, Ee = /* @__PURE__ */ te({
270
270
  __name: "AvailabilitySkeleton",
271
271
  props: {
272
272
  view: { default: "hotel" },
@@ -301,7 +301,7 @@ const Se = {
301
301
  "with-icon": "",
302
302
  "no-label": ""
303
303
  })
304
- ], 2)) : (r(), m("div", Oe, [
304
+ ], 2)) : (r(), m("div", Te, [
305
305
  n(p, { "with-icon": "" }),
306
306
  n(p, {
307
307
  "with-icon": "",
@@ -311,9 +311,9 @@ const Se = {
311
311
  ])
312
312
  ]));
313
313
  }
314
- }), Ge = /* @__PURE__ */ le(Te, [["__scopeId", "data-v-cebeb733"]]);
314
+ }), Ge = /* @__PURE__ */ le(Ee, [["__scopeId", "data-v-cebeb733"]]);
315
315
  export {
316
316
  Ge as A,
317
317
  qe as H
318
318
  };
319
- //# sourceMappingURL=AvailabilitySkeleton-Vu5_xmgg.js.map
319
+ //# sourceMappingURL=AvailabilitySkeleton-DMCMhOc1.js.map