@konnectio/core 4.0.85 → 4.0.87

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 (49) hide show
  1. package/dist/{ActionField-DJk5QgPZ.js → ActionField-JyyQhohJ.js} +2 -2
  2. package/dist/ActionField-JyyQhohJ.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-CtuxK5gu.js → AvailabilitySkeleton-DfYTjUoS.js} +4 -4
  4. package/dist/AvailabilitySkeleton-DfYTjUoS.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Db0xB137.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CyxA0DFl.js} +282 -282
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CyxA0DFl.js.br +0 -0
  7. package/dist/{CheckoutWindow-C4Of_CDw.js → CheckoutWindow-BANXRcdP.js} +2 -2
  8. package/dist/CheckoutWindow-BANXRcdP.js.br +0 -0
  9. package/dist/{ErrorMessage-CqKEeIyM.js → ErrorMessage-BkKT-ltk.js} +2 -2
  10. package/dist/ErrorMessage-BkKT-ltk.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-BuRH06ec.js → EventAvailabilityForm-TIP9lliE.js} +3 -3
  12. package/dist/EventAvailabilityForm-TIP9lliE.js.br +0 -0
  13. package/dist/{Field-BQY1CedN.js → Field-W3dyKX_L.js} +2 -2
  14. package/dist/Field-W3dyKX_L.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CnESOevH.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DghVL0Oa.js} +522 -522
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DghVL0Oa.js.br +0 -0
  17. package/dist/{TermsOfService-C0j_4-LO.js → TermsOfService-Ch3BEIIo.js} +3 -3
  18. package/dist/_-v0hUQXei.js +5 -0
  19. package/dist/{_.vue_vue_type_style_index_0_lang-B2hdeWg4.js → _.vue_vue_type_style_index_0_lang-0ivLN3Ws.js} +2 -2
  20. package/dist/availability.js +5 -5
  21. package/dist/availability.js.br +0 -0
  22. package/dist/event.js +85 -85
  23. package/dist/event.js.br +0 -0
  24. package/dist/gift-card-validation.js +6 -6
  25. package/dist/gift-card-validation.js.br +0 -0
  26. package/dist/gift-card.js +7 -7
  27. package/dist/gift-card.js.br +0 -0
  28. package/dist/{giftCard-Df_AbMio.js → giftCard-CMpwvYsv.js} +2 -2
  29. package/dist/giftCard-CMpwvYsv.js.br +0 -0
  30. package/dist/hotel.js +7 -7
  31. package/dist/hotel.js.br +0 -0
  32. package/dist/{masonry.plugin-zqPD3EI2.js → masonry.plugin-DkIwTZE2.js} +5 -5
  33. package/dist/masonry.plugin-DkIwTZE2.js.br +0 -0
  34. package/dist/polyfill.js +91 -91
  35. package/dist/polyfill.js.br +0 -0
  36. package/dist/style.css +1 -1
  37. package/dist/style.css.br +0 -0
  38. package/package.json +1 -1
  39. package/dist/ActionField-DJk5QgPZ.js.br +0 -0
  40. package/dist/AvailabilitySkeleton-CtuxK5gu.js.br +0 -0
  41. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Db0xB137.js.br +0 -0
  42. package/dist/CheckoutWindow-C4Of_CDw.js.br +0 -0
  43. package/dist/ErrorMessage-CqKEeIyM.js.br +0 -0
  44. package/dist/EventAvailabilityForm-BuRH06ec.js.br +0 -0
  45. package/dist/Field-BQY1CedN.js.br +0 -0
  46. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CnESOevH.js.br +0 -0
  47. package/dist/_-D5_t925T.js +0 -5
  48. package/dist/giftCard-Df_AbMio.js.br +0 -0
  49. package/dist/masonry.plugin-zqPD3EI2.js.br +0 -0
@@ -1,6 +1,6 @@
1
1
  import { d as o, u as r, a, b as i, w as c, e, i as s } from "./mitt-B_elXQ2J.js";
2
- import { F as p, _ } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CnESOevH.js";
3
- import { B as d } from "./CheckoutWindow-C4Of_CDw.js";
2
+ import { F as p, _ } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DghVL0Oa.js";
3
+ import { B as d } from "./CheckoutWindow-BANXRcdP.js";
4
4
  const m = { class: "konnectio-terms-side-panel" }, l = ["innerHTML"], f = /* @__PURE__ */ o({
5
5
  __name: "TermsOfService",
6
6
  props: {
@@ -25,4 +25,4 @@ const m = { class: "konnectio-terms-side-panel" }, l = ["innerHTML"], f = /* @__
25
25
  export {
26
26
  x as S
27
27
  };
28
- //# sourceMappingURL=TermsOfService-C0j_4-LO.js.map
28
+ //# sourceMappingURL=TermsOfService-Ch3BEIIo.js.map
@@ -0,0 +1,5 @@
1
+ import { _ as f } from "./_.vue_vue_type_style_index_0_lang-0ivLN3Ws.js";
2
+ export {
3
+ f as default
4
+ };
5
+ //# sourceMappingURL=_-v0hUQXei.js.map
@@ -1,5 +1,5 @@
1
1
  import { d as i, ap as a, a as l, g as p, y as _ } from "./mitt-B_elXQ2J.js";
2
- import { d as m } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CnESOevH.js";
2
+ import { d as m } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DghVL0Oa.js";
3
3
  const d = {
4
4
  class: "konnectio-app",
5
5
  ref: "base"
@@ -22,4 +22,4 @@ const d = {
22
22
  export {
23
23
  y as _
24
24
  };
25
- //# sourceMappingURL=_.vue_vue_type_style_index_0_lang-B2hdeWg4.js.map
25
+ //# sourceMappingURL=_.vue_vue_type_style_index_0_lang-0ivLN3Ws.js.map
@@ -1,9 +1,9 @@
1
1
  import { d as E, u as S, r as T, c as o, o as B, a as l, b as s, w as c, S as D, e, f as p, g as I, n as y, h as f, t as A, i as d, F as M, j as L, T as N, p as P, k as F, l as H, m as V, q as $, s as z, v as j } from "./mitt-B_elXQ2J.js";
2
- import { u as q, C as K, _ as U } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CnESOevH.js";
3
- import { _ as x } from "./_.vue_vue_type_style_index_0_lang-B2hdeWg4.js";
4
- import { H as G, A as J } from "./AvailabilitySkeleton-CtuxK5gu.js";
5
- import { E as O } from "./EventAvailabilityForm-BuRH06ec.js";
6
- import { E as Q } from "./ErrorMessage-CqKEeIyM.js";
2
+ import { u as q, C as K, _ as U } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DghVL0Oa.js";
3
+ import { _ as x } from "./_.vue_vue_type_style_index_0_lang-0ivLN3Ws.js";
4
+ import { H as G, A as J } from "./AvailabilitySkeleton-DfYTjUoS.js";
5
+ import { E as O } from "./EventAvailabilityForm-TIP9lliE.js";
6
+ import { E as Q } from "./ErrorMessage-BkKT-ltk.js";
7
7
  const R = (i) => (P("data-v-014bccfe"), i = i(), F(), i), W = { class: "konnectio-availability-module" }, X = { class: "konnectio-availability-navigation" }, Y = /* @__PURE__ */ R(() => /* @__PURE__ */ e("div", { class: "konnectio-availability-divider" }, null, -1)), Z = { class: "konnectio-availability-search-form" }, ee = /* @__PURE__ */ E({
8
8
  name: "AvailabilityLayout",
9
9
  __name: "Availability",
Binary file
package/dist/event.js CHANGED
@@ -1,11 +1,11 @@
1
- import { d as j, u as oe, x as G, r as We, c as K, a as l, b as P, w as d, y as ae, i as e, e as t, j as c, f as m, n as Je, g as u, t as a, z as Ke, A as Xe, F as I, B as z, C as R, S as Ze, D as ye, p as xe, k as et, l as tt, m as nt, q as at, s as lt, v as ot } from "./mitt-B_elXQ2J.js";
2
- import { a as Oe, b as le, l as st, s as M, c as be, B as it, _ as se, d as ke, I as fe, e as rt, f as ge, g as H, u as _e, h as ut, i as Pe, T as te, O as dt, C as ct, j as mt, k as pt, m as vt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CnESOevH.js";
1
+ import { d as j, u as oe, x as G, r as We, c as K, a as l, b as V, w as d, y as ae, i as e, e as t, j as c, f as m, n as Je, g as u, t as a, z as Ke, A as Xe, F as I, B as z, C as R, S as Ze, D as ye, p as xe, k as et, l as tt, m as nt, q as at, s as lt, v as ot } from "./mitt-B_elXQ2J.js";
2
+ import { a as Oe, b as le, l as st, s as M, c as be, B as it, _ as se, d as ke, I as fe, e as rt, f as ge, g as H, u as _e, h as ut, i as Pe, T as te, O as dt, C as ct, j as mt, k as pt, m as vt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DghVL0Oa.js";
3
3
  import { G as bt } from "./style-CDpCXUak.js";
4
- import { c as ft, t as ne, g as Ve, e as gt, m as De, a as $e, b as Ee, d as kt, f as we, u as Y } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Db0xB137.js";
5
- import { _ as ht } from "./_.vue_vue_type_style_index_0_lang-B2hdeWg4.js";
6
- import { B as yt, _ as _t, R as Pt, L as Ne, S as Vt, M as Dt, C as $t, T as Et, V as wt, a as Tt } from "./masonry.plugin-zqPD3EI2.js";
7
- import { C as Ot, P as Nt, a as St } from "./CheckoutWindow-C4Of_CDw.js";
8
- import { E as Bt } from "./EventAvailabilityForm-BuRH06ec.js";
4
+ import { c as ft, t as ne, g as Ve, e as gt, m as De, a as $e, b as Ee, d as kt, f as we, u as Y } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CyxA0DFl.js";
5
+ import { _ as ht } from "./_.vue_vue_type_style_index_0_lang-0ivLN3Ws.js";
6
+ import { B as yt, _ as _t, R as Pt, L as Ne, S as Vt, M as Dt, C as $t, T as Et, V as wt, a as Tt } from "./masonry.plugin-DkIwTZE2.js";
7
+ import { C as Ot, P as Nt, a as St } from "./CheckoutWindow-BANXRcdP.js";
8
+ import { E as Bt } from "./EventAvailabilityForm-TIP9lliE.js";
9
9
  function Ct(f) {
10
10
  return (n) => {
11
11
  const r = Math[f], v = r(n);
@@ -22,25 +22,25 @@ function At(f, n, r) {
22
22
  });
23
23
  let E, k;
24
24
  i > 0 ? (E = ne(n), k = ne(f)) : (E = ne(f), k = ne(n));
25
- const V = Ct("round"), w = k.getTime() - E.getTime(), _ = w / we, D = Ve(k) - Ve(E), T = (w - D) / we, U = r?.unit;
26
- let h;
27
- if (_ < 1 ? h = "second" : _ < 60 ? h = "minute" : _ < De ? h = "hour" : T < $e ? h = "day" : T < Ee ? h = "month" : h = "year", h === "second") {
28
- const o = V(w / 1e3);
25
+ const D = Ct("round"), w = k.getTime() - E.getTime(), P = w / we, h = Ve(k) - Ve(E), T = (w - h) / we, U = r?.unit;
26
+ let y;
27
+ if (P < 1 ? y = "second" : P < 60 ? y = "minute" : P < De ? y = "hour" : T < $e ? y = "day" : T < Ee ? y = "month" : y = "year", y === "second") {
28
+ const o = D(w / 1e3);
29
29
  return b.formatDistance("xSeconds", o, g);
30
- } else if (h === "minute") {
31
- const o = V(_);
30
+ } else if (y === "minute") {
31
+ const o = D(P);
32
32
  return b.formatDistance("xMinutes", o, g);
33
- } else if (h === "hour") {
34
- const o = V(_ / 60);
33
+ } else if (y === "hour") {
34
+ const o = D(P / 60);
35
35
  return b.formatDistance("xHours", o, g);
36
- } else if (h === "day") {
37
- const o = V(T / De);
36
+ } else if (y === "day") {
37
+ const o = D(T / De);
38
38
  return b.formatDistance("xDays", o, g);
39
- } else if (h === "month") {
40
- const o = V(T / $e);
39
+ } else if (y === "month") {
40
+ const o = D(T / $e);
41
41
  return o === 12 && U !== "month" ? b.formatDistance("xYears", 1, g) : b.formatDistance("xMonths", o, g);
42
42
  } else {
43
- const o = V(T / Ee);
43
+ const o = D(T / Ee);
44
44
  return b.formatDistance("xYears", o, g);
45
45
  }
46
46
  }
@@ -75,29 +75,29 @@ const It = { class: "konnectio-event-listing-action-button" }, Lt = /* @__PURE__
75
75
  currentEventDate: E,
76
76
  tableGroupId: k
77
77
  } = G(Y()), {
78
- getTemplateAvailability: V,
78
+ getTemplateAvailability: D,
79
79
  getEventAvailability: w,
80
- isEventListingLoading: _
81
- } = Y(), D = We(0), T = K(() => _(r.listingId)), U = () => {
82
- if (!r.useNumberOfProductsForPersons && D.value === 0) {
80
+ isEventListingLoading: P
81
+ } = Y(), h = We(0), T = K(() => P(r.listingId)), U = () => {
82
+ if (!r.useNumberOfProductsForPersons && (h.value === 0 || isNaN(h.value))) {
83
83
  v({
84
84
  type: "error",
85
85
  message: n("alert.error.selectPeople")
86
86
  });
87
87
  return;
88
88
  }
89
- g.value = r.listingId, i.value = D.value, V(r.callback);
90
- }, h = () => {
91
- if (!r.useNumberOfProductsForPersons && D.value === 0) {
89
+ g.value = r.listingId, i.value = h.value, D(r.callback);
90
+ }, y = () => {
91
+ if (!r.useNumberOfProductsForPersons && (h.value === 0 || isNaN(h.value))) {
92
92
  v({
93
93
  type: "error",
94
94
  message: n("alert.error.selectPeople")
95
95
  });
96
96
  return;
97
97
  }
98
- g.value = r.listingId, k.value = r.tableGroupId, i.value = D.value, w(r.callback);
98
+ g.value = r.listingId, k.value = r.tableGroupId, i.value = h.value, w(r.callback);
99
99
  };
100
- return (o, C) => (l(), P(yt, {
100
+ return (o, C) => (l(), V(yt, {
101
101
  type: "event",
102
102
  "listing-id": o.listingId,
103
103
  gallery: o.gallery,
@@ -117,10 +117,10 @@ const It = { class: "konnectio-event-listing-action-button" }, Lt = /* @__PURE__
117
117
  { "no-selectable-people": o.useNumberOfProductsForPersons }
118
118
  ])
119
119
  }, [
120
- o.useNumberOfProductsForPersons ? c("", !0) : (l(), P(le, {
120
+ o.useNumberOfProductsForPersons ? c("", !0) : (l(), V(le, {
121
121
  key: 0,
122
- modelValue: D.value,
123
- "onUpdate:modelValue": C[0] || (C[0] = (L) => D.value = L),
122
+ modelValue: h.value,
123
+ "onUpdate:modelValue": C[0] || (C[0] = (L) => h.value = L),
124
124
  label: e(n)("event.numberOfGuests"),
125
125
  icon: "users",
126
126
  "icon-type": "fas",
@@ -136,7 +136,7 @@ const It = { class: "konnectio-event-listing-action-button" }, Lt = /* @__PURE__
136
136
  "is-loading": T.value,
137
137
  "full-width": "",
138
138
  "sub-label": e(M)(e(E)),
139
- onClickEvent: C[1] || (C[1] = (L) => o.type === "event" ? h() : U())
139
+ onClickEvent: C[1] || (C[1] = (L) => o.type === "event" ? y() : U())
140
140
  }, null, 8, ["label", "disabled", "is-loading", "sub-label"])
141
141
  ])
142
142
  ], 2)
@@ -144,7 +144,7 @@ const It = { class: "konnectio-event-listing-action-button" }, Lt = /* @__PURE__
144
144
  _: 3
145
145
  }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
146
146
  }
147
- }), Se = /* @__PURE__ */ se(Lt, [["__scopeId", "data-v-ef9fea04"]]), Ft = { class: "konnectio-event-listing-information-new" };
147
+ }), Se = /* @__PURE__ */ se(Lt, [["__scopeId", "data-v-19799af2"]]), Ft = { class: "konnectio-event-listing-information-new" };
148
148
  const Rt = {
149
149
  key: 1,
150
150
  class: "konnectio-pill-button"
@@ -178,7 +178,7 @@ const Rt = {
178
178
  new Date(2e3, 0, 1, 0, 0, 0)
179
179
  );
180
180
  });
181
- return (i, g) => (l(), P(Se, {
181
+ return (i, g) => (l(), V(Se, {
182
182
  "listing-id": i.listingId,
183
183
  name: i.name,
184
184
  description: i.description,
@@ -192,7 +192,7 @@ const Rt = {
192
192
  callback: i.callback
193
193
  }, {
194
194
  description: d(() => [
195
- i.description ? (l(), P(_t, {
195
+ i.description ? (l(), V(_t, {
196
196
  key: 0,
197
197
  text: i.description
198
198
  }, null, 8, ["text"])) : c("", !0),
@@ -249,7 +249,7 @@ const Rt = {
249
249
  url: n.image
250
250
  }];
251
251
  });
252
- return (v, b) => (l(), P(Se, {
252
+ return (v, b) => (l(), V(Se, {
253
253
  "listing-id": v.listingId,
254
254
  gallery: r.value,
255
255
  name: v.name,
@@ -275,18 +275,18 @@ const Rt = {
275
275
  numberOfRooms: g,
276
276
  numberOfTotalDays: E,
277
277
  isTemplateEvent: k,
278
- currentEventDate: V,
278
+ currentEventDate: D,
279
279
  length: w,
280
- fromDate: _,
281
- tableBasePrice: D,
280
+ fromDate: P,
281
+ tableBasePrice: h,
282
282
  getTemplateData: T,
283
283
  basePrice: U,
284
- totalPrice: h,
284
+ totalPrice: y,
285
285
  weekendFee: o,
286
286
  roomUpgrade: C,
287
287
  discountCode: L
288
288
  } = G(Y()), { totalAddonPrice: re, validateDiscountCode: ue } = Y(), { currency: X, hideEventLength: de } = G(ke());
289
- return (F, Z) => (l(), P(Pt, {
289
+ return (F, Z) => (l(), V(Pt, {
290
290
  "discount-code": e(L),
291
291
  "onUpdate:discountCode": Z[0] || (Z[0] = (q) => R(L) ? L.value = q : null),
292
292
  "validate-discount-code": e(ue),
@@ -294,7 +294,7 @@ const Rt = {
294
294
  "show-terms-notice": F.showTermsNotice,
295
295
  "is-sidebar-loading": !e(v),
296
296
  "base-price": e(U),
297
- "total-price": e(h),
297
+ "total-price": e(y),
298
298
  "weekend-fee": e(o),
299
299
  "room-upgrade": e(C),
300
300
  notice: e(n)("event.reservationNotice"),
@@ -306,7 +306,7 @@ const Rt = {
306
306
  "reservation-summary": d(() => [
307
307
  e(k) ? c("", !0) : (l(), u("li", zt, [
308
308
  t("span", null, a(e(n)("general.date")), 1),
309
- t("b", null, a(e(M)(e(V))), 1)
309
+ t("b", null, a(e(M)(e(D))), 1)
310
310
  ])),
311
311
  e(i) > 0 ? (l(), u("li", Ht, [
312
312
  t("span", null, a(e(n)("event.numberOfGuests")), 1),
@@ -315,11 +315,11 @@ const Rt = {
315
315
  e(k) ? (l(), u(I, { key: 2 }, [
316
316
  t("li", null, [
317
317
  t("span", null, a(e(n)("booking.reservation.arrival")), 1),
318
- t("b", null, a(e(M)(e(_))), 1)
318
+ t("b", null, a(e(M)(e(P))), 1)
319
319
  ]),
320
320
  t("li", null, [
321
321
  t("span", null, a(e(n)("booking.reservation.departure")), 1),
322
- t("b", null, a(e(M)(e(_), e(E))), 1)
322
+ t("b", null, a(e(M)(e(P), e(E))), 1)
323
323
  ]),
324
324
  t("li", null, [
325
325
  t("span", null, a(e(n)("event.numberOfRooms")), 1),
@@ -340,9 +340,9 @@ const Rt = {
340
340
  ])) : c("", !0)
341
341
  ]),
342
342
  "price-summary": d(() => [
343
- !e(k) && e(D) > 0 ? (l(), u("li", Qt, [
343
+ !e(k) && e(h) > 0 ? (l(), u("li", Qt, [
344
344
  t("span", null, a(e(n)("booking.availability.basePrice")), 1),
345
- t("b", null, a(e(H)(e(D), e(X))), 1)
345
+ t("b", null, a(e(H)(e(h), e(X))), 1)
346
346
  ])) : c("", !0),
347
347
  e(T) ? (l(!0), u(I, { key: 1 }, z(e(T), ({ roomGroupId: q }, x) => (l(), u("li", { key: q }, [
348
348
  t("span", null, a(e(n)("booking.reservation.addons")) + " - " + a(e(n)("booking.reservation.room")) + " #" + a(x + 1), 1),
@@ -354,9 +354,9 @@ const Rt = {
354
354
  ]),
355
355
  "mobile-under-price": d(() => [
356
356
  e(k) ? (l(), u("div", Wt, [
357
- t("span", null, a(e(M)(e(_))) + " - " + a(e(M)(e(_), e(E))), 1)
357
+ t("span", null, a(e(M)(e(P))) + " - " + a(e(M)(e(P), e(E))), 1)
358
358
  ])) : (l(), u("div", Jt, [
359
- t("span", null, a(e(M)(e(V))), 1)
359
+ t("span", null, a(e(M)(e(D))), 1)
360
360
  ]))
361
361
  ]),
362
362
  _: 2
@@ -412,13 +412,13 @@ const an = { class: "konnectio-event-listings" }, ln = ["innerHTML"], on = { cla
412
412
  phone: g,
413
413
  email: E,
414
414
  remark: k,
415
- allergies: V,
415
+ allergies: D,
416
416
  arrivalTime: w,
417
- hasEvents: _,
418
- hasTemplates: D,
417
+ hasEvents: P,
418
+ hasTemplates: h,
419
419
  getEvents: T,
420
420
  getTemplates: U,
421
- getEventData: h,
421
+ getEventData: y,
422
422
  getTemplateData: o,
423
423
  getEventTableData: C,
424
424
  hasProducts: L,
@@ -479,8 +479,8 @@ const an = { class: "konnectio-event-listings" }, ln = ["innerHTML"], on = { cla
479
479
  }), p = parseInt($.rid), B = $.d, O = parseInt($.eid);
480
480
  if (B)
481
481
  if (pt(B)) {
482
- const S = new Date(B), A = S.setHours(12, 0, 0, 0), y = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
483
- A >= y ? (Be.value = S, $.d = void 0) : ce({
482
+ const S = new Date(B), A = S.setHours(12, 0, 0, 0), _ = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
483
+ A >= _ ? (Be.value = S, $.d = void 0) : ce({
484
484
  message: n("alert.error.invalidDateRange"),
485
485
  type: "error"
486
486
  });
@@ -496,9 +496,9 @@ const an = { class: "konnectio-event-listings" }, ln = ["innerHTML"], on = { cla
496
496
  let s;
497
497
  isNaN(O) || (s = O), Le(s);
498
498
  }
499
- return ($, p) => (l(), P(ct, { styling: $.styling }, {
499
+ return ($, p) => (l(), V(ct, { styling: $.styling }, {
500
500
  default: d(() => [
501
- (l(), P(Ze, { onResolve: ze }, {
501
+ (l(), V(Ze, { onResolve: ze }, {
502
502
  default: d(() => [
503
503
  m(ht, {
504
504
  id: "konnectio-event-module",
@@ -520,7 +520,7 @@ const an = { class: "konnectio-event-listings" }, ln = ["innerHTML"], on = { cla
520
520
  ]),
521
521
  form: d(() => [
522
522
  e(de) && e(ue) ? (l(), u("div", tn, [
523
- e(_) && $.onlyShow !== "templates" ? (l(), u(I, { key: 0 }, [
523
+ e(P) && $.onlyShow !== "templates" ? (l(), u(I, { key: 0 }, [
524
524
  c("", !0),
525
525
  t("ul", nn, [
526
526
  (l(!0), u(I, null, z(e(T), ({
@@ -528,7 +528,7 @@ const an = { class: "konnectio-event-listings" }, ln = ["innerHTML"], on = { cla
528
528
  days: s,
529
529
  name: S,
530
530
  timeFrom: A,
531
- timeTo: y,
531
+ timeTo: _,
532
532
  fromDate: N,
533
533
  toDate: Q,
534
534
  tableGroupId: W,
@@ -539,7 +539,7 @@ const an = { class: "konnectio-event-listings" }, ln = ["innerHTML"], on = { cla
539
539
  maxOnlineReservationLimit: Ye,
540
540
  maxPaxPerReservation: je,
541
541
  useNumberOfProductsForPersons: Qe
542
- }) => (l(), P(Gt, {
542
+ }) => (l(), V(Gt, {
543
543
  key: O,
544
544
  type: "event",
545
545
  "listing-id": O,
@@ -553,14 +553,14 @@ const an = { class: "konnectio-event-listings" }, ln = ["innerHTML"], on = { cla
553
553
  "to-date": Q,
554
554
  "max-online-reservation-limit": je || Ye,
555
555
  "time-from": A,
556
- "time-to": y,
556
+ "time-to": _,
557
557
  "sold-out": pe,
558
558
  "use-number-of-products-for-persons": Qe,
559
559
  callback: B
560
560
  }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "callback"]))), 128))
561
561
  ])
562
562
  ], 64)) : c("", !0),
563
- e(D) && $.onlyShow !== "events" ? (l(), u(I, { key: 1 }, [
563
+ e(h) && $.onlyShow !== "events" ? (l(), u(I, { key: 1 }, [
564
564
  c("", !0),
565
565
  t("ul", an, [
566
566
  (l(!0), u(I, null, z(e(U), ({
@@ -568,11 +568,11 @@ const an = { class: "konnectio-event-listings" }, ln = ["innerHTML"], on = { cla
568
568
  name: s,
569
569
  fromDate: S,
570
570
  toDate: A,
571
- minimumPersonCount: y,
571
+ minimumPersonCount: _,
572
572
  fromPrice: N,
573
573
  description: Q,
574
574
  imageUrl: W
575
- }) => (l(), P(qt, {
575
+ }) => (l(), V(qt, {
576
576
  key: O,
577
577
  "listing-id": O,
578
578
  name: s,
@@ -580,24 +580,24 @@ const an = { class: "konnectio-event-listings" }, ln = ["innerHTML"], on = { cla
580
580
  description: Q,
581
581
  "from-date": S,
582
582
  "to-date": A,
583
- "minimum-person-count": y,
583
+ "minimum-person-count": _,
584
584
  fromPrice: N,
585
585
  callback: B
586
586
  }, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
587
587
  ])
588
588
  ], 64)) : c("", !0),
589
- !e(_) && !e(D) || !e(_) && $.onlyShow === "events" || !e(D) && $.onlyShow === "templates" ? (l(), u("div", {
589
+ !e(P) && !e(h) || !e(P) && $.onlyShow === "events" || !e(h) && $.onlyShow === "templates" ? (l(), u("div", {
590
590
  key: 2,
591
591
  class: "konnectio-panel",
592
592
  innerHTML: e(n)("event.nothingAvailable")
593
593
  }, null, 8, ln)) : c("", !0)
594
- ])) : (l(), P(Ne, { key: 1 }))
594
+ ])) : (l(), V(Ne, { key: 1 }))
595
595
  ]),
596
596
  _: 2
597
597
  }, 1024)
598
598
  ]),
599
599
  addons: d(({ next: B, prev: O }) => [
600
- e(X) ? (l(), P(ve, {
600
+ e(X) ? (l(), V(ve, {
601
601
  key: 0,
602
602
  "prev-callback": () => e(he)(O)
603
603
  }, {
@@ -611,9 +611,9 @@ const an = { class: "konnectio-event-listings" }, ln = ["innerHTML"], on = { cla
611
611
  roomGroupId: s,
612
612
  addons: S,
613
613
  adultPerRoom: A
614
- }, y) => (l(), u("li", { key: s }, [
614
+ }, _) => (l(), u("li", { key: s }, [
615
615
  t("h5", null, [
616
- t("span", null, a(e(n)("booking.reservation.room")) + " #" + a(y + 1), 1),
616
+ t("span", null, a(e(n)("booking.reservation.room")) + " #" + a(_ + 1), 1),
617
617
  ye(" ("),
618
618
  m(fe, {
619
619
  icon: "male",
@@ -648,21 +648,21 @@ const an = { class: "konnectio-event-listings" }, ln = ["innerHTML"], on = { cla
648
648
  t("span", null, a(e(H)(me, e(ee))) + " " + a(e(ut)(pe)), 1)
649
649
  ]),
650
650
  t("td", mn, [
651
- Q === 3 ? (l(), P(le, {
651
+ Q === 3 ? (l(), V(le, {
652
652
  key: 0,
653
- modelValue: e(r)[`${s}.${N}.${y}`],
654
- "onUpdate:modelValue": (J) => e(r)[`${s}.${N}.${y}`] = J,
653
+ modelValue: e(r)[`${s}.${N}.${_}`],
654
+ "onUpdate:modelValue": (J) => e(r)[`${s}.${N}.${_}`] = J,
655
655
  small: !0,
656
656
  "min-value": 0
657
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), P(Ot, {
657
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), V(Ot, {
658
658
  key: 1,
659
- modelValue: e(r)[`${s}.${N}.${y}`],
660
- "onUpdate:modelValue": (J) => e(r)[`${s}.${N}.${y}`] = J,
659
+ modelValue: e(r)[`${s}.${N}.${_}`],
660
+ "onUpdate:modelValue": (J) => e(r)[`${s}.${N}.${_}`] = J,
661
661
  numeric: !0
662
662
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
663
663
  ]),
664
664
  t("td", pn, [
665
- t("span", null, a(e(H)(e(Re)(N, s, y), e(ee))), 1)
665
+ t("span", null, a(e(H)(e(Re)(N, s, _), e(ee))), 1)
666
666
  ])
667
667
  ]))), 128))
668
668
  ]),
@@ -672,7 +672,7 @@ const an = { class: "konnectio-event-listings" }, ln = ["innerHTML"], on = { cla
672
672
  bn,
673
673
  t("td", fn, [
674
674
  t("u", null, [
675
- t("span", null, a(e(H)(e(Ue)(s, y), e(ee))), 1)
675
+ t("span", null, a(e(H)(e(Ue)(s, _), e(ee))), 1)
676
676
  ])
677
677
  ])
678
678
  ])
@@ -682,12 +682,12 @@ const an = { class: "konnectio-event-listings" }, ln = ["innerHTML"], on = { cla
682
682
  ])) : c("", !0),
683
683
  e(L) ? (l(), u("table", gn, [
684
684
  t("tbody", null, [
685
- (l(!0), u(I, null, z(e(h).products, ({ id: s, name: S, price: A, description: y }) => (l(), u("tr", { key: s }, [
685
+ (l(!0), u(I, null, z(e(y).products, ({ id: s, name: S, price: A, description: _ }) => (l(), u("tr", { key: s }, [
686
686
  t("td", kn, [
687
687
  t("b", null, [
688
688
  t("span", null, a(e(Pe)(S)), 1)
689
689
  ]),
690
- y && y !== S ? (l(), u("span", hn, a(e(Pe)(y)), 1)) : c("", !0),
690
+ _ && _ !== S ? (l(), u("span", hn, a(e(Pe)(_)), 1)) : c("", !0),
691
691
  t("span", null, a(e(H)(A, e(ee))), 1)
692
692
  ]),
693
693
  t("td", yn, [
@@ -753,7 +753,7 @@ const an = { class: "konnectio-event-listings" }, ln = ["innerHTML"], on = { cla
753
753
  placeholder: e(n)("booking.reservation.phonePlaceholder"),
754
754
  required: ""
755
755
  }, null, 8, ["modelValue", "label", "placeholder"]),
756
- e(q) ? (l(), P($t, {
756
+ e(q) ? (l(), V($t, {
757
757
  key: 0,
758
758
  modelValue: e(w),
759
759
  "onUpdate:modelValue": p[3] || (p[3] = (s) => R(w) ? w.value = s : null),
@@ -762,7 +762,7 @@ const an = { class: "konnectio-event-listings" }, ln = ["innerHTML"], on = { cla
762
762
  checkboxes: qe.value,
763
763
  required: ""
764
764
  }, null, 8, ["modelValue", "label", "checkboxes"])) : c("", !0),
765
- e(re) === e(dt).FullDayEvent ? (l(), P(le, {
765
+ e(re) === e(dt).FullDayEvent ? (l(), V(le, {
766
766
  key: 1,
767
767
  modelValue: e(b),
768
768
  "onUpdate:modelValue": p[4] || (p[4] = (s) => R(b) ? b.value = s : null),
@@ -779,8 +779,8 @@ const an = { class: "konnectio-event-listings" }, ln = ["innerHTML"], on = { cla
779
779
  placeholder: e(n)("booking.reservation.remarkPlaceholder")
780
780
  }, null, 8, ["modelValue", "label", "placeholder"]),
781
781
  m(te, {
782
- modelValue: e(V),
783
- "onUpdate:modelValue": p[6] || (p[6] = (s) => R(V) ? V.value = s : null),
782
+ modelValue: e(D),
783
+ "onUpdate:modelValue": p[6] || (p[6] = (s) => R(D) ? D.value = s : null),
784
784
  type: "textarea",
785
785
  label: `${e(n)("booking.reservation.allergies")} (${e(n)("booking.reservation.optional")})`,
786
786
  icon: "allergies",
package/dist/event.js.br CHANGED
Binary file
@@ -1,10 +1,10 @@
1
1
  import { d as x, a as s, g as v, e as t, f as a, c as T, u as $, x as k, b as m, w as p, S as B, i as e, t as i, C, j as I, h as D, l as N, m as U, q as F, s as H, v as q } from "./mitt-B_elXQ2J.js";
2
- import { E as h, _ as A, q as b, d as R, I as g, g as j, s as O, C as W } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CnESOevH.js";
3
- import { u as z } from "./giftCard-Df_AbMio.js";
4
- import { _ as J } from "./_.vue_vue_type_style_index_0_lang-B2hdeWg4.js";
5
- import { A as K } from "./ActionField-DJk5QgPZ.js";
6
- import { F as y } from "./Field-BQY1CedN.js";
7
- import { E as Q } from "./ErrorMessage-CqKEeIyM.js";
2
+ import { E as h, _ as A, q as b, d as R, I as g, g as j, s as O, C as W } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DghVL0Oa.js";
3
+ import { u as z } from "./giftCard-CMpwvYsv.js";
4
+ import { _ as J } from "./_.vue_vue_type_style_index_0_lang-0ivLN3Ws.js";
5
+ import { A as K } from "./ActionField-JyyQhohJ.js";
6
+ import { F as y } from "./Field-W3dyKX_L.js";
7
+ import { E as Q } from "./ErrorMessage-BkKT-ltk.js";
8
8
  import { G as Y } from "./style-CDpCXUak.js";
9
9
  const Z = { class: "gift-card-validation-skeleton" }, tt = { class: "gift-card-validation-skeleton-form" }, et = { class: "gift-card-validation-skeleton-text" }, at = { class: "gift-card-validation-skeleton-input" }, nt = /* @__PURE__ */ x({
10
10
  __name: "GiftCardValidationSkeleton",
Binary file
package/dist/gift-card.js CHANGED
@@ -1,12 +1,12 @@
1
1
  import { d as T, u as L, r as O, c as J, a as i, b as y, w as C, e as l, g as c, f as t, i as e, j as f, n as Y, t as q, h as te, G as oe, x as W, H as ne, o as ie, S as se, I as G, J as A, F as re, B as de, C as b, p as ue, k as ce, l as pe, m as me, q as fe, s as ve, v as be } from "./mitt-B_elXQ2J.js";
2
- import { a as he, c as S, p as _e, E as ke, _ as x, d as ge, n as ye, L as Ce, T as M, b as Ve, C as we, m as $e } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CnESOevH.js";
2
+ import { a as he, c as S, p as _e, E as ke, _ as x, d as ge, n as ye, L as Ce, T as M, b as Ve, C as we, m as $e } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DghVL0Oa.js";
3
3
  import { G as Fe } from "./style-CDpCXUak.js";
4
- import { u as R } from "./giftCard-Df_AbMio.js";
5
- import { _ as Pe } from "./_.vue_vue_type_style_index_0_lang-B2hdeWg4.js";
6
- import { a as Ee, C as Ue, P as Se, _ as Te } from "./CheckoutWindow-C4Of_CDw.js";
7
- import { F as U } from "./Field-BQY1CedN.js";
8
- import { E as Ge } from "./ErrorMessage-CqKEeIyM.js";
9
- import { S as Ae } from "./TermsOfService-C0j_4-LO.js";
4
+ import { u as R } from "./giftCard-CMpwvYsv.js";
5
+ import { _ as Pe } from "./_.vue_vue_type_style_index_0_lang-0ivLN3Ws.js";
6
+ import { a as Ee, C as Ue, P as Se, _ as Te } from "./CheckoutWindow-BANXRcdP.js";
7
+ import { F as U } from "./Field-W3dyKX_L.js";
8
+ import { E as Ge } from "./ErrorMessage-BkKT-ltk.js";
9
+ import { S as Ae } from "./TermsOfService-Ch3BEIIo.js";
10
10
  const Me = { class: "media-selector" }, qe = ["accept"], Le = { class: "media-selector-wrapper" }, Ie = { class: "media-selector-tools" }, Be = { key: 0 }, Re = { key: 1 }, xe = { key: 2 }, He = ["src"], De = /* @__PURE__ */ T({
11
11
  __name: "MediaSelector",
12
12
  props: {
Binary file
@@ -1,4 +1,4 @@
1
- import { r as V, a as H, d as A, G as s, t as h, S as y, v as M, o as O, w as J } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CnESOevH.js";
1
+ import { r as V, a as H, d as A, G as s, t as h, S as y, v as M, o as O, w as J } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DghVL0Oa.js";
2
2
  import { K as Q, x as X, r as t, c as a, L as S } from "./mitt-B_elXQ2J.js";
3
3
  const ee = Q("giftCard", () => {
4
4
  const { pay: E } = V(), { display: G } = H(), { bearerToken: w, metaData: P, currencyId: D, hasError: T } = X(A()), b = A(), o = t(s.InitialState), u = h("konnectio_name", "", void 0, { serializer: y.string }), v = h("konnectio_email", "", void 0, { serializer: y.string }), d = h("konnectio_phone", "", void 0, { serializer: y.string }), p = t(""), k = t(1), F = t(!0), C = t(""), l = t({
@@ -115,4 +115,4 @@ const ee = Q("giftCard", () => {
115
115
  export {
116
116
  ee as u
117
117
  };
118
- //# sourceMappingURL=giftCard-Df_AbMio.js.map
118
+ //# sourceMappingURL=giftCard-CMpwvYsv.js.map
Binary file
package/dist/hotel.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { d as ee, u as ie, x as Z, r as ae, M as po, a as d, b as A, A as mo, i as e, w, g as v, e as s, t as h, I as De, J as Je, f as y, j as V, B as j, F as E, y as ze, D as tt, C as F, h as Pt, G as fo, p as it, k as st, c as K, o as rt, H as Me, n as Ne, S as ho, N as vo, O as yo, P as ko, l as go, m as bo, q as _o, s as Vo, v as To } from "./mitt-B_elXQ2J.js";
2
- import { d as Pe, x as ve, u as Ce, I as W, s as ne, y as we, l as Ye, i as pe, g as le, _ as fe, n as Be, z as At, b as ot, c as me, B as St, a as Ht, A as vt, T as ue, p as wo, D as $o, C as Co, h as yt, j as Po, k as kt, m as Ao } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CnESOevH.js";
2
+ import { d as Pe, x as ve, u as Ce, I as W, s as ne, y as we, l as Ye, i as pe, g as le, _ as fe, n as Be, z as At, b as ot, c as me, B as St, a as Ht, A as vt, T as ue, p as wo, D as $o, C as Co, h as yt, j as Po, k as kt, m as Ao } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DghVL0Oa.js";
3
3
  import { G as So } from "./style-CDpCXUak.js";
4
- import { R as Ho, B as Ue, L as Do, S as Io, M as Mo, b as Qe, C as No, T as Lo, V as Ro, a as Bo } from "./masonry.plugin-zqPD3EI2.js";
5
- import { A as Uo, H as Eo } from "./AvailabilitySkeleton-CtuxK5gu.js";
6
- import { S as Oo } from "./TermsOfService-C0j_4-LO.js";
7
- import { C as $e, B as Fo, P as Go, a as qo } from "./CheckoutWindow-C4Of_CDw.js";
8
- import { _ as Dt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Db0xB137.js";
4
+ import { R as Ho, B as Ue, L as Do, S as Io, M as Mo, b as Qe, C as No, T as Lo, V as Ro, a as Bo } from "./masonry.plugin-DkIwTZE2.js";
5
+ import { A as Uo, H as Eo } from "./AvailabilitySkeleton-DfYTjUoS.js";
6
+ import { S as Oo } from "./TermsOfService-Ch3BEIIo.js";
7
+ import { C as $e, B as Fo, P as Go, a as qo } from "./CheckoutWindow-BANXRcdP.js";
8
+ import { _ as Dt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CyxA0DFl.js";
9
9
  const jo = (n) => (it("data-v-3b5fb922"), n = n(), st(), n), Wo = { key: 0 }, xo = { class: "konnectio-hotel-reservation-warning" }, Ko = { class: "konnectio-hotel-reservation-warning" }, Jo = { class: "konnectio-hotel-reservation-warning" };
10
10
  const zo = { key: 0 }, Yo = { key: 1 }, Qo = { key: 0 }, Xo = { class: "konnectio-reservation-actions" }, Zo = {
11
11
  key: 0,
@@ -954,7 +954,7 @@ const hl = /* @__PURE__ */ Un(() => /* @__PURE__ */ s("th", { class: "konnectio-
954
954
  styling: {}
955
955
  },
956
956
  setup(n) {
957
- const t = vo(() => import("./_-D5_t925T.js")), l = n, { t: o } = ie(), {
957
+ const t = vo(() => import("./_-v0hUQXei.js")), l = n, { t: o } = ie(), {
958
958
  currentLocation: i,
959
959
  templateID: a,
960
960
  templateAddons: r,
package/dist/hotel.js.br CHANGED
Binary file
@@ -1,8 +1,8 @@
1
1
  import { d as defineComponent, R as getCurrentInstance, U as resolveComponent, V as h, W as Comment, X as Text, F as Fragment, r as ref, c as computed$1, H as watch, o as onMounted, a as openBlock, g as createElementBlock, b as createBlock, w as withCtx, e as createBaseVNode, h as withModifiers, j as createCommentVNode, f as createVNode, B as renderList, i as unref, n as normalizeClass, p as pushScopeId, k as popScopeId, u as useI18n, x as storeToRefs, Q as inject, M as resolveDirective, A as createSlots, I as withDirectives, t as toDisplayString, Y as reactive, Z as onUnmounted, y as renderSlot, _ as normalizeStyle, O as nextTick, J as vShow, D as createTextVNode, $ as mergeModels, z as useSlots, a0 as useModel, T as Transition, C as isRef, v as mitt } from "./mitt-B_elXQ2J.js";
2
- import { I as Icon, _ as _export_sfc, x as useHotelStore, T as TextField, F as convertDescription, B as BookingLayout, d as useUtilityStore, i as capitalized, y as daysBetweenDates, g as showPrice, s as showDate, p as InputField, D as BookingHeaderLayout, E as Element$1, q as useApplyGiftCardStore, r as usePaymentStore } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CnESOevH.js";
3
- import { B as Base$1, C as Checkbox, _ as _sfc_main$c } from "./CheckoutWindow-C4Of_CDw.js";
4
- import { u as useEventStore } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Db0xB137.js";
5
- import { A as ActionField } from "./ActionField-DJk5QgPZ.js";
2
+ import { I as Icon, _ as _export_sfc, x as useHotelStore, T as TextField, F as convertDescription, B as BookingLayout, d as useUtilityStore, i as capitalized, y as daysBetweenDates, g as showPrice, s as showDate, p as InputField, D as BookingHeaderLayout, E as Element$1, q as useApplyGiftCardStore, r as usePaymentStore } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DghVL0Oa.js";
3
+ import { B as Base$1, C as Checkbox, _ as _sfc_main$c } from "./CheckoutWindow-BANXRcdP.js";
4
+ import { u as useEventStore } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CyxA0DFl.js";
5
+ import { A as ActionField } from "./ActionField-JyyQhohJ.js";
6
6
  import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./_commonjsHelpers-DaMA6jEr.js";
7
7
  /*! *****************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -10689,4 +10689,4 @@ export {
10689
10689
  StickyPlugin as a,
10690
10690
  ListingSkeleton as b
10691
10691
  };
10692
- //# sourceMappingURL=masonry.plugin-zqPD3EI2.js.map
10692
+ //# sourceMappingURL=masonry.plugin-DkIwTZE2.js.map