@konnectio/core 4.1.26 → 4.1.27

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 (52) hide show
  1. package/dist/{ActionField-Cd4Jby4P.js → ActionField-DgmchlH1.js} +2 -2
  2. package/dist/ActionField-DgmchlH1.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-Dbrv5lGT.js → AvailabilitySkeleton-Cb1mXip0.js} +5 -5
  4. package/dist/AvailabilitySkeleton-Cb1mXip0.js.br +0 -0
  5. package/dist/{CheckoutWindow-D2ZSMnHE.js → CheckoutWindow-faqSlYg7.js} +2 -2
  6. package/dist/CheckoutWindow-faqSlYg7.js.br +0 -0
  7. package/dist/{DateField.vue_vue_type_style_index_0_lang-BpMOgqg_.js → DateField.vue_vue_type_style_index_0_lang-CsHaOHl-.js} +2 -2
  8. package/dist/DateField.vue_vue_type_style_index_0_lang-CsHaOHl-.js.br +0 -0
  9. package/dist/{ErrorMessage-BzyCzAA4.js → ErrorMessage-BLRv3QIb.js} +2 -2
  10. package/dist/ErrorMessage-BLRv3QIb.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-SgCdZfbL.js → EventAvailabilityForm-BQDBjpCr.js} +3 -3
  12. package/dist/EventAvailabilityForm-BQDBjpCr.js.br +0 -0
  13. package/dist/{Field-OyhT-g5Z.js → Field-DaO8VHZ_.js} +3 -3
  14. package/dist/Field-DaO8VHZ_.js.br +0 -0
  15. package/dist/{SelectField.vue_vue_type_style_index_0_lang-CpA1yERn.js → SelectField.vue_vue_type_style_index_0_lang-C9ofPbO5.js} +2 -2
  16. package/dist/SelectField.vue_vue_type_style_index_0_lang-C9ofPbO5.js.br +0 -0
  17. package/dist/{TermsOfService-DfCirgPI.js → TermsOfService-2IXnGpmG.js} +3 -3
  18. package/dist/_-Ca4yBxqD.js +5 -0
  19. package/dist/{_-DSKigw2-.js → _-Dn0RYBro.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-Dyzlcjik.js → _.vue_vue_type_style_index_0_lang-zBkQ6C_3.js} +2 -2
  21. package/dist/availability.js +5 -5
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +3 -3
  24. package/dist/cancel-reservation.js.br +0 -0
  25. package/dist/core.css +1 -1
  26. package/dist/core.css.br +0 -0
  27. package/dist/event.js +94 -98
  28. package/dist/event.js.br +0 -0
  29. package/dist/gift-card-validation.js +7 -7
  30. package/dist/gift-card-validation.js.br +0 -0
  31. package/dist/gift-card.js +8 -8
  32. package/dist/gift-card.js.br +0 -0
  33. package/dist/{giftCard-BShwz2Pf.js → giftCard-DNVqygWX.js} +2 -2
  34. package/dist/giftCard-DNVqygWX.js.br +0 -0
  35. package/dist/hotel.js +8 -8
  36. package/dist/hotel.js.br +0 -0
  37. package/dist/{masonry.plugin-CCtwuyG_.js → masonry.plugin-DXn9h4DT.js} +5 -5
  38. package/dist/masonry.plugin-DXn9h4DT.js.br +0 -0
  39. package/dist/polyfill.js +1 -1
  40. package/dist/polyfill.js.br +0 -0
  41. package/package.json +1 -1
  42. package/dist/ActionField-Cd4Jby4P.js.br +0 -0
  43. package/dist/AvailabilitySkeleton-Dbrv5lGT.js.br +0 -0
  44. package/dist/CheckoutWindow-D2ZSMnHE.js.br +0 -0
  45. package/dist/DateField.vue_vue_type_style_index_0_lang-BpMOgqg_.js.br +0 -0
  46. package/dist/ErrorMessage-BzyCzAA4.js.br +0 -0
  47. package/dist/EventAvailabilityForm-SgCdZfbL.js.br +0 -0
  48. package/dist/Field-OyhT-g5Z.js.br +0 -0
  49. package/dist/SelectField.vue_vue_type_style_index_0_lang-CpA1yERn.js.br +0 -0
  50. package/dist/_-Bn4MVnTU.js +0 -5
  51. package/dist/giftCard-BShwz2Pf.js.br +0 -0
  52. package/dist/masonry.plugin-CCtwuyG_.js.br +0 -0
package/dist/core.css.br CHANGED
Binary file
package/dist/event.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { d as q, u as ne, s as Y, c as j, r as Le, a as $, b as o, g as e, w as m, q as Q, e as t, n as xe, i as c, f as v, h as r, t as l, F as C, v as G, o as et, j as tt, x as ue, y as nt, z as U, A as at, S as ot, k as lt, _ as st, l as it, m as rt, p as ut } from "./mitt-CgrYtI2g.js";
2
- import { a as Pe, f as J, B as dt, g as re, l as ct, s as z, e as de, _ as W, h as ce, I as te, i as mt, u as ye, j as pt, k as vt, m as bt, n as Z, o as he, T as ie, O as ft, p as gt, q as we, C as kt, r as yt, t as ht, v as Dt } from "./SelectField.vue_vue_type_style_index_0_lang-CpA1yERn.js";
2
+ import { a as Pe, f as J, B as dt, g as re, l as ct, s as z, e as de, _ as W, h as ce, I as te, i as mt, u as ye, j as pt, k as vt, m as bt, n as Z, o as he, T as ie, O as ft, p as gt, q as we, C as kt, r as yt, t as ht, v as Dt } from "./SelectField.vue_vue_type_style_index_0_lang-C9ofPbO5.js";
3
3
  import { G as Pt } from "./style-B_8a8HvR.js";
4
- import { _ as $t } from "./_.vue_vue_type_style_index_0_lang-Dyzlcjik.js";
5
- import { B as wt, _ as Et, R as Ot, L as Be, S as _t, M as Vt, T as Nt, C as Tt, V as Lt, a as Bt } from "./masonry.plugin-CCtwuyG_.js";
6
- import { g as Ft, e as Ct, c as St, n as At, a as Ee, m as Oe, b as _e, d as Ve, f as Ne, _ as It } from "./DateField.vue_vue_type_style_index_0_lang-BpMOgqg_.js";
7
- import { C as Rt, P as Mt, a as Ut } from "./CheckoutWindow-D2ZSMnHE.js";
8
- import { E as Gt } from "./EventAvailabilityForm-SgCdZfbL.js";
4
+ import { _ as $t } from "./_.vue_vue_type_style_index_0_lang-zBkQ6C_3.js";
5
+ import { B as wt, _ as _t, R as Et, L as Be, S as Ot, M as Vt, T as Nt, C as Tt, V as Lt, a as Bt } from "./masonry.plugin-DXn9h4DT.js";
6
+ import { g as Ft, e as Ct, c as St, n as At, a as _e, m as Ee, b as Oe, d as Ve, f as Ne, _ as It } from "./DateField.vue_vue_type_style_index_0_lang-CsHaOHl-.js";
7
+ import { C as Rt, P as Mt, a as Ut } from "./CheckoutWindow-faqSlYg7.js";
8
+ import { E as Gt } from "./EventAvailabilityForm-BQDBjpCr.js";
9
9
  function zt(w) {
10
10
  return (n) => {
11
11
  const g = (w ? Math[w] : Math.trunc)(n);
@@ -19,25 +19,25 @@ function qt(w, n, a) {
19
19
  const k = Object.assign({}, a, {
20
20
  addSuffix: a?.addSuffix,
21
21
  comparison: i
22
- }), [h, y] = At(
22
+ }), [y, h] = At(
23
23
  a?.in,
24
24
  ...i > 0 ? [n, w] : [w, n]
25
- ), s = zt("round"), _ = y.getTime() - h.getTime(), D = _ / Ne, T = Ee(y) - Ee(h), b = (_ - T) / Ne, S = a?.unit;
26
- let E;
27
- if (D < 1 ? E = "second" : D < 60 ? E = "minute" : D < Oe ? E = "hour" : b < _e ? E = "day" : b < Ve ? E = "month" : E = "year", E === "second") {
28
- const P = s(_ / 1e3);
25
+ ), s = zt("round"), O = h.getTime() - y.getTime(), D = O / Ne, T = _e(h) - _e(y), b = (O - T) / Ne, S = a?.unit;
26
+ let _;
27
+ if (D < 1 ? _ = "second" : D < 60 ? _ = "minute" : D < Ee ? _ = "hour" : b < Oe ? _ = "day" : b < Ve ? _ = "month" : _ = "year", _ === "second") {
28
+ const P = s(O / 1e3);
29
29
  return p.formatDistance("xSeconds", P, k);
30
- } else if (E === "minute") {
30
+ } else if (_ === "minute") {
31
31
  const P = s(D);
32
32
  return p.formatDistance("xMinutes", P, k);
33
- } else if (E === "hour") {
33
+ } else if (_ === "hour") {
34
34
  const P = s(D / 60);
35
35
  return p.formatDistance("xHours", P, k);
36
- } else if (E === "day") {
37
- const P = s(b / Oe);
36
+ } else if (_ === "day") {
37
+ const P = s(b / Ee);
38
38
  return p.formatDistance("xDays", P, k);
39
- } else if (E === "month") {
40
- const P = s(b / _e);
39
+ } else if (_ === "month") {
40
+ const P = s(b / Oe);
41
41
  return P === 12 && S !== "month" ? p.formatDistance("xYears", 1, k) : p.formatDistance("xMonths", P, k);
42
42
  } else {
43
43
  const P = s(b / Ve);
@@ -73,13 +73,13 @@ const Ht = { class: "konnectio-event-listing-action-button" }, Yt = /* @__PURE__
73
73
  maxNumberOfPeople: p,
74
74
  numberOfPeople: i,
75
75
  eventId: k,
76
- currentEventDate: h,
77
- tableGroupId: y
76
+ currentEventDate: y,
77
+ tableGroupId: h
78
78
  } = Y(J()), {
79
79
  getTemplateAvailability: s,
80
- getEventAvailability: _,
80
+ getEventAvailability: O,
81
81
  isEventListingLoading: D
82
- } = J(), T = j(() => a.maxGuests || a.maxOnlineReservationLimit || p.value || 1 / 0), b = Le(0), S = j(() => D(a.listingId)), E = () => {
82
+ } = J(), T = j(() => a.maxGuests || a.maxOnlineReservationLimit || p.value || 1 / 0), b = Le(0), S = j(() => D(a.listingId)), _ = () => {
83
83
  if (!a.useNumberOfProductsForPersons && (b.value === 0 || isNaN(b.value))) {
84
84
  g({
85
85
  type: "error",
@@ -96,7 +96,7 @@ const Ht = { class: "konnectio-event-listing-action-button" }, Yt = /* @__PURE__
96
96
  });
97
97
  return;
98
98
  }
99
- k.value = a.listingId, y.value = a.tableGroupId, i.value = a.useNumberOfProductsForPersons ? NaN : b.value, _(a.callback);
99
+ k.value = a.listingId, h.value = a.tableGroupId, i.value = a.useNumberOfProductsForPersons ? NaN : b.value, O(a.callback);
100
100
  };
101
101
  return (f, L) => (o(), $(wt, {
102
102
  type: "event",
@@ -138,8 +138,8 @@ const Ht = { class: "konnectio-event-listing-action-button" }, Yt = /* @__PURE__
138
138
  disabled: f.soldOut,
139
139
  "is-loading": S.value,
140
140
  "full-width": "",
141
- "sub-label": e(z)(e(h)),
142
- onClickEvent: L[1] || (L[1] = (I) => f.type === "event" ? P() : E())
141
+ "sub-label": e(z)(e(y)),
142
+ onClickEvent: L[1] || (L[1] = (I) => f.type === "event" ? P() : _())
143
143
  }, null, 8, ["label", "disabled", "is-loading", "sub-label"])
144
144
  ])
145
145
  ], 2)
@@ -197,7 +197,7 @@ const Wt = {
197
197
  callback: i.callback
198
198
  }, {
199
199
  description: m(() => [
200
- i.description ? (o(), $(Et, {
200
+ i.description ? (o(), $(_t, {
201
201
  key: 0,
202
202
  text: i.description
203
203
  }, null, 8, ["text"])) : c("", !0),
@@ -239,28 +239,26 @@ const Wt = {
239
239
  props: {
240
240
  name: {},
241
241
  events: {},
242
- callback: {}
242
+ callback: { type: Function }
243
243
  },
244
244
  setup(w) {
245
245
  return (n, a) => n.events && n.events.length > 1 ? (o(), r("div", Jt, [
246
- t("h3", null, [
247
- t("span", null, l(n.name), 1)
248
- ]),
246
+ c("", !0),
249
247
  t("ul", Kt, [
250
248
  (o(!0), r(C, null, G(n.events, ({
251
249
  id: g,
252
250
  days: p,
253
251
  name: i,
254
252
  timeFrom: k,
255
- timeTo: h,
256
- fromDate: y,
253
+ timeTo: y,
254
+ fromDate: h,
257
255
  toDate: s,
258
- tableGroupId: _,
256
+ tableGroupId: O,
259
257
  description: D,
260
258
  soldOut: T,
261
259
  length: b,
262
260
  images: S,
263
- maxOnlineReservationLimit: E,
261
+ maxOnlineReservationLimit: _,
264
262
  maxPaxPerReservation: P,
265
263
  useNumberOfProductsForPersons: f,
266
264
  maxTicketsLimit: L
@@ -268,21 +266,19 @@ const Wt = {
268
266
  key: g,
269
267
  type: "event",
270
268
  "listing-id": g,
271
- "table-group-id": _,
269
+ "table-group-id": O,
272
270
  description: D,
273
271
  name: i,
274
272
  length: b,
275
273
  gallery: S,
276
274
  days: p,
277
- "from-date": y,
278
- "to-date": s,
279
- "max-online-reservation-limit": P || E || L,
275
+ "max-online-reservation-limit": P || _ || L,
280
276
  "time-from": k,
281
- "time-to": h,
277
+ "time-to": y,
282
278
  "sold-out": T,
283
279
  "use-number-of-products-for-persons": f,
284
280
  callback: n.callback
285
- }, 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))
281
+ }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "callback"]))), 128))
286
282
  ])
287
283
  ])) : n.events ? (o(), $(De, {
288
284
  key: n.events[0].id,
@@ -304,7 +300,7 @@ const Wt = {
304
300
  callback: n.callback
305
301
  }, 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"])) : c("", !0);
306
302
  }
307
- }), xt = /* @__PURE__ */ W(Xt, [["__scopeId", "data-v-cf692e8d"]]), en = { class: "konnectio-special-offer-availability" }, tn = { class: "konnectio-special-offer-availability-button" }, nn = { class: "konnectio-warning-notice" }, an = { key: 0 }, on = { key: 1 }, ln = /* @__PURE__ */ q({
303
+ }), xt = /* @__PURE__ */ W(Xt, [["__scopeId", "data-v-3a92c817"]]), en = { class: "konnectio-special-offer-availability" }, tn = { class: "konnectio-special-offer-availability-button" }, nn = { class: "konnectio-warning-notice" }, an = { key: 0 }, on = { key: 1 }, ln = /* @__PURE__ */ q({
308
304
  __name: "NextEvent",
309
305
  props: {
310
306
  name: {},
@@ -333,10 +329,10 @@ const Wt = {
333
329
  type: "error"
334
330
  });
335
331
  }
336
- const h = j(() => pt(i.fromDate, i.toDate) <= 1), y = j(() => [0, 1, 2, 3, 4, 5, 6].filter((s) => !vt(i.days).includes(s)));
332
+ const y = j(() => pt(i.fromDate, i.toDate) <= 1), h = j(() => [0, 1, 2, 3, 4, 5, 6].filter((s) => !vt(i.days).includes(s)));
337
333
  return et(() => {
338
- h.value && (p.value = new Date(i.fromDate));
339
- }), (s, _) => (o(), $(De, {
334
+ y.value && (p.value = new Date(i.fromDate));
335
+ }), (s, O) => (o(), $(De, {
340
336
  name: s.name,
341
337
  description: s.description,
342
338
  "from-date": s.fromDate,
@@ -361,16 +357,16 @@ const Wt = {
361
357
  t("div", en, [
362
358
  v(It, {
363
359
  modelValue: p.value,
364
- "onUpdate:modelValue": _[0] || (_[0] = (D) => p.value = D),
360
+ "onUpdate:modelValue": O[0] || (O[0] = (D) => p.value = D),
365
361
  label: `${e(n)("event.selectDate")}*`,
366
362
  placeholder: e(n)("event.selectDate"),
367
363
  "icon-type": "fas",
368
364
  "icon-placement": "label",
369
- readonly: h.value,
365
+ readonly: y.value,
370
366
  "start-date": s.fromDate !== "0001-01-01T00:00:00Z" ? new Date(s.fromDate) : new Date(s.toDate),
371
367
  "min-date": s.fromDate !== "0001-01-01T00:00:00Z" ? new Date(s.fromDate) : new Date(s.toDate),
372
368
  "max-date": new Date(s.toDate),
373
- "disabled-week-days": y.value
369
+ "disabled-week-days": h.value
374
370
  }, null, 8, ["modelValue", "label", "placeholder", "readonly", "start-date", "min-date", "max-date", "disabled-week-days"]),
375
371
  t("div", tn, [
376
372
  v(de, {
@@ -380,7 +376,7 @@ const Wt = {
380
376
  ])
381
377
  ]),
382
378
  t("div", nn, [
383
- h.value ? (o(), r("span", an, [
379
+ y.value ? (o(), r("span", an, [
384
380
  ue("*" + l(e(n)("event.canBeBooked")) + " ", 1),
385
381
  t("u", null, l(e(z)(s.fromDate)), 1)
386
382
  ])) : (o(), r("span", on, [
@@ -437,21 +433,21 @@ const Wt = {
437
433
  arrivalTime: p,
438
434
  numberOfPeople: i,
439
435
  numberOfRooms: k,
440
- numberOfTotalDays: h,
441
- isTemplateEvent: y,
436
+ numberOfTotalDays: y,
437
+ isTemplateEvent: h,
442
438
  currentEventDate: s,
443
- length: _,
439
+ length: O,
444
440
  fromDate: D,
445
441
  tableBasePrice: T,
446
442
  getTemplateData: b,
447
443
  basePrice: S,
448
- totalPrice: E,
444
+ totalPrice: _,
449
445
  weekendFee: P,
450
446
  roomUpgrade: f,
451
447
  discountCode: L,
452
448
  totalSelectedProducts: I
453
449
  } = Y(J()), { totalAddonPrice: ae, validateDiscountCode: me } = J(), { currency: oe, hideEventLength: pe } = Y(ce());
454
- return (M, le) => (o(), $(Ot, {
450
+ return (M, le) => (o(), $(Et, {
455
451
  "discount-code": e(L),
456
452
  "onUpdate:discountCode": le[0] || (le[0] = (H) => U(L) ? L.value = H : null),
457
453
  "validate-discount-code": e(me),
@@ -459,7 +455,7 @@ const Wt = {
459
455
  "show-terms-notice": M.showTermsNotice,
460
456
  "is-sidebar-loading": !e(g),
461
457
  "base-price": e(S),
462
- "total-price": e(E),
458
+ "total-price": e(_),
463
459
  "weekend-fee": e(P),
464
460
  "room-upgrade": e(f),
465
461
  notice: e(n)("event.reservationNotice"),
@@ -469,7 +465,7 @@ const Wt = {
469
465
  Q(M.$slots, "form", {}, void 0, !0)
470
466
  ]),
471
467
  "reservation-summary": m(() => [
472
- e(y) ? c("", !0) : (o(), r("li", un, [
468
+ e(h) ? c("", !0) : (o(), r("li", un, [
473
469
  t("span", null, l(e(n)("general.date")), 1),
474
470
  t("b", null, l(e(z)(e(s))), 1)
475
471
  ])),
@@ -477,39 +473,39 @@ const Wt = {
477
473
  t("span", null, l(e(n)("event.numberOfGuests")), 1),
478
474
  t("b", null, l(e(i)), 1)
479
475
  ])) : c("", !0),
480
- !e(y) && e(I) > 0 ? (o(), r("li", cn, [
476
+ !e(h) && e(I) > 0 ? (o(), r("li", cn, [
481
477
  t("span", null, l(e(n)("event.numberOfProducts")), 1),
482
478
  t("b", null, l(e(I)), 1)
483
479
  ])) : c("", !0),
484
- e(y) ? (o(), r(C, { key: 3 }, [
480
+ e(h) ? (o(), r(C, { key: 3 }, [
485
481
  t("li", null, [
486
482
  t("span", null, l(e(n)("booking.reservation.arrival")), 1),
487
483
  t("b", null, l(e(z)(e(D))), 1)
488
484
  ]),
489
485
  t("li", null, [
490
486
  t("span", null, l(e(n)("booking.reservation.departure")), 1),
491
- t("b", null, l(e(z)(e(D), e(h))), 1)
487
+ t("b", null, l(e(z)(e(D), e(y))), 1)
492
488
  ]),
493
489
  t("li", null, [
494
490
  t("span", null, l(e(n)("event.numberOfRooms")), 1),
495
491
  t("b", null, l(e(k)), 1)
496
492
  ]),
497
- e(h) > 0 ? (o(), r("li", mn, [
493
+ e(y) > 0 ? (o(), r("li", mn, [
498
494
  t("span", null, l(e(n)("event.numberOfDays")), 1),
499
- t("b", null, l(e(h)), 1)
495
+ t("b", null, l(e(y)), 1)
500
496
  ])) : c("", !0)
501
497
  ], 64)) : c("", !0),
502
- !e(y) && e(p) ? (o(), r("li", pn, [
498
+ !e(h) && e(p) ? (o(), r("li", pn, [
503
499
  t("span", null, l(e(n)("event.startOfEvent")), 1),
504
500
  t("b", null, l(e(he)(e(p))), 1)
505
501
  ])) : c("", !0),
506
- !e(y) && e(_) && !e(pe) ? (o(), r("li", vn, [
502
+ !e(h) && e(O) && !e(pe) ? (o(), r("li", vn, [
507
503
  t("span", null, l(e(n)("event.lengthOfEvent")), 1),
508
- t("b", null, l(e(he)(e(_))), 1)
504
+ t("b", null, l(e(he)(e(O))), 1)
509
505
  ])) : c("", !0)
510
506
  ]),
511
507
  "price-summary": m(() => [
512
- !e(y) && e(T) > 0 ? (o(), r("li", bn, [
508
+ !e(h) && e(T) > 0 ? (o(), r("li", bn, [
513
509
  t("span", null, l(e(n)("booking.availability.basePrice")), 1),
514
510
  t("b", null, l(e(Z)(e(T), e(oe))), 1)
515
511
  ])) : c("", !0),
@@ -524,14 +520,14 @@ const Wt = {
524
520
  Q(M.$slots, "navigation", {}, void 0, !0)
525
521
  ]),
526
522
  "mobile-under-price": m(() => [
527
- e(y) && e(h) > 0 ? (o(), r("div", fn, [
528
- t("span", null, l(e(z)(e(D))) + " - " + l(e(z)(e(D), e(h))), 1)
523
+ e(h) && e(y) > 0 ? (o(), r("div", fn, [
524
+ t("span", null, l(e(z)(e(D))) + " - " + l(e(z)(e(D), e(y))), 1)
529
525
  ])) : (o(), r("div", gn, [
530
526
  t("span", null, l(e(z)(e(s))), 1)
531
527
  ]))
532
528
  ]),
533
529
  "mobile-summary": m(() => [
534
- !e(y) && e(I) > 0 ? (o(), r("span", kn, l(e(n)("event.numberOfProducts")) + ": " + l(e(I)), 1)) : c("", !0)
530
+ !e(h) && e(I) > 0 ? (o(), r("span", kn, l(e(n)("event.numberOfProducts")) + ": " + l(e(I)), 1)) : c("", !0)
535
531
  ]),
536
532
  _: 2
537
533
  }, [
@@ -553,17 +549,17 @@ const Wt = {
553
549
  ]),
554
550
  t("div", Pn, [
555
551
  c("", !0),
556
- v(_t)
552
+ v(Ot)
557
553
  ])
558
554
  ]));
559
555
  }
560
- }), wn = /* @__PURE__ */ W($n, [["__scopeId", "data-v-3e15c4e3"]]), En = {
556
+ }), wn = /* @__PURE__ */ W($n, [["__scopeId", "data-v-3e15c4e3"]]), _n = {
561
557
  key: 0,
562
558
  id: "konnectio-event-listings-wrapper"
563
- }, On = {
559
+ }, En = {
564
560
  key: 0,
565
561
  class: "konnectio-hotel-availability-title"
566
- }, _n = { class: "konnectio-event-listings" }, Vn = { class: "konnectio-hotel-availability-title" }, Nn = { class: "konnectio-event-listings" }, Tn = ["innerHTML"], Ln = { class: "konnectio-panel" }, Bn = {
562
+ }, On = { class: "konnectio-event-listings" }, Vn = { class: "konnectio-hotel-availability-title" }, Nn = { class: "konnectio-event-listings" }, Tn = ["innerHTML"], Ln = { class: "konnectio-panel" }, Bn = {
567
563
  key: 0,
568
564
  id: "konnectio-event-addons"
569
565
  }, Fn = { class: "konnectio-table with-lines" }, Cn = { class: "konnectio-event-addons-price" }, Sn = { class: "konnectio-event-addons-input" }, An = { class: "konnectio-event-addons-price" }, In = { class: "konnectio-event-addons-price" }, Rn = {
@@ -586,15 +582,15 @@ const Wt = {
586
582
  products: p,
587
583
  numberOfDays: i,
588
584
  name: k,
589
- phone: h,
590
- email: y,
585
+ phone: y,
586
+ email: h,
591
587
  remark: s,
592
- allergies: _,
588
+ allergies: O,
593
589
  arrivalTime: D,
594
590
  hasEvents: T,
595
591
  hasTemplates: b,
596
592
  getEvents: S,
597
- getTemplates: E,
593
+ getTemplates: _,
598
594
  getEventData: P,
599
595
  getTemplateData: f,
600
596
  getEventTableData: L,
@@ -643,25 +639,25 @@ const Wt = {
643
639
  icon: "calendar-check"
644
640
  }
645
641
  ]), Ye = j(() => {
646
- const O = [];
642
+ const E = [];
647
643
  return L.value && L.value.forEach((d) => {
648
- O.find((B) => B.value === d.time) || O.push({
644
+ E.find((B) => B.value === d.time) || E.push({
649
645
  label: he(d.time),
650
646
  value: d.time
651
647
  });
652
- }), O;
648
+ }), E;
653
649
  });
654
650
  function je() {
655
651
  qe(n.resetDate === "yes");
656
652
  }
657
653
  function We() {
658
- const O = yt("history", {
654
+ const E = yt("history", {
659
655
  removeNullishValues: !0
660
- }), d = parseInt(O.rid), B = O.d, V = parseInt(O.eid);
656
+ }), d = parseInt(E.rid), B = E.d, V = parseInt(E.eid);
661
657
  if (B)
662
658
  if (ht(B)) {
663
659
  const u = new Date(B), A = u.setHours(12, 0, 0, 0), R = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
664
- A >= R ? (Se.value = u, O.d = void 0) : be({
660
+ A >= R ? (Se.value = u, E.d = void 0) : be({
665
661
  message: a("alert.error.invalidDateRange"),
666
662
  type: "error"
667
663
  });
@@ -670,18 +666,18 @@ const Wt = {
670
666
  message: a("alert.error.wrongDateFormat"),
671
667
  type: "error"
672
668
  });
673
- isNaN(d) || (Ie(d) ? Ae.value = d : (O.rid = void 0, be({
669
+ isNaN(d) || (Ie(d) ? Ae.value = d : (E.rid = void 0, be({
674
670
  message: a("alert.error.hotelIdNotFound"),
675
671
  type: "error"
676
672
  }))), isNaN(V) || Ce(V), Me();
677
673
  }
678
- return (O, d) => (o(), $(kt, { styling: O.styling }, {
674
+ return (E, d) => (o(), $(kt, { styling: E.styling }, {
679
675
  default: m(() => [
680
676
  (o(), $(ot, { onResolve: We }, {
681
677
  default: m(() => [
682
678
  v($t, {
683
679
  id: "konnectio-event-module",
684
- "access-token": O.accessToken,
680
+ "access-token": E.accessToken,
685
681
  callback: e(Re)
686
682
  }, {
687
683
  default: m(() => [
@@ -694,13 +690,13 @@ const Wt = {
694
690
  sidebar: m(() => [
695
691
  v(Gt, {
696
692
  redirection: !1,
697
- "selected-location": Number(O.selectedLocation),
698
- "hide-locations": O.hideLocations === "yes"
693
+ "selected-location": Number(E.selectedLocation),
694
+ "hide-locations": E.hideLocations === "yes"
699
695
  }, null, 8, ["selected-location", "hide-locations"])
700
696
  ]),
701
697
  form: m(() => [
702
- e(pe) && e(me) ? (o(), r("div", En, [
703
- e(S).length > 0 && e(ve).length > 0 ? (o(), r("h2", On, [
698
+ e(pe) && e(me) ? (o(), r("div", _n, [
699
+ e(S).length > 0 && e(ve).length > 0 ? (o(), r("h2", En, [
704
700
  v(te, {
705
701
  icon: "calendar-clock",
706
702
  type: "fal",
@@ -708,13 +704,13 @@ const Wt = {
708
704
  }),
709
705
  t("span", null, l(e(a)("event.availableNow")), 1)
710
706
  ])) : c("", !0),
711
- t("ul", _n, [
712
- e(T) && O.onlyShow !== "templates" ? (o(!0), r(C, { key: 0 }, G(e(S), (V) => (o(), $(xt, {
707
+ t("ul", On, [
708
+ e(T) && E.onlyShow !== "templates" ? (o(!0), r(C, { key: 0 }, G(e(S), (V) => (o(), $(xt, {
713
709
  name: V.name,
714
710
  events: V.events,
715
711
  callback: B
716
712
  }, null, 8, ["name", "events", "callback"]))), 256)) : c("", !0),
717
- e(b) && O.onlyShow !== "events" ? (o(!0), r(C, { key: 1 }, G(e(E), ({
713
+ e(b) && E.onlyShow !== "events" ? (o(!0), r(C, { key: 1 }, G(e(_), ({
718
714
  id: V,
719
715
  name: u,
720
716
  fromDate: A,
@@ -736,7 +732,7 @@ const Wt = {
736
732
  callback: B
737
733
  }, null, 8, ["listing-id", "name", "images", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128)) : c("", !0)
738
734
  ]),
739
- e(ve).length > 0 && O.onlyShow !== "templates" ? (o(), r(C, { key: 1 }, [
735
+ e(ve).length > 0 && E.onlyShow !== "templates" ? (o(), r(C, { key: 1 }, [
740
736
  t("h2", Vn, [
741
737
  v(te, {
742
738
  icon: "calendar-circle-exclamation",
@@ -784,7 +780,7 @@ const Wt = {
784
780
  }, 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))
785
781
  ])
786
782
  ], 64)) : c("", !0),
787
- !e(T) && !e(b) || !e(T) && O.onlyShow === "events" || !e(b) && O.onlyShow === "templates" ? (o(), r("div", {
783
+ !e(T) && !e(b) || !e(T) && E.onlyShow === "events" || !e(b) && E.onlyShow === "templates" ? (o(), r("div", {
788
784
  key: 2,
789
785
  class: "konnectio-panel",
790
786
  innerHTML: e(a)("event.nothingAvailable")
@@ -933,8 +929,8 @@ const Wt = {
933
929
  required: ""
934
930
  }, null, 8, ["modelValue", "label", "placeholder"]),
935
931
  v(ie, {
936
- modelValue: e(y),
937
- "onUpdate:modelValue": d[1] || (d[1] = (u) => U(y) ? y.value = u : null),
932
+ modelValue: e(h),
933
+ "onUpdate:modelValue": d[1] || (d[1] = (u) => U(h) ? h.value = u : null),
938
934
  label: e(a)("booking.reservation.email"),
939
935
  type: "email",
940
936
  name: "email",
@@ -944,8 +940,8 @@ const Wt = {
944
940
  required: ""
945
941
  }, null, 8, ["modelValue", "label", "placeholder"]),
946
942
  v(Mt, {
947
- modelValue: e(h),
948
- "onUpdate:modelValue": d[2] || (d[2] = (u) => U(h) ? h.value = u : null),
943
+ modelValue: e(y),
944
+ "onUpdate:modelValue": d[2] || (d[2] = (u) => U(y) ? y.value = u : null),
949
945
  label: e(a)("booking.reservation.phone"),
950
946
  icon: "phone-office",
951
947
  placeholder: e(a)("booking.reservation.phonePlaceholder"),
@@ -977,8 +973,8 @@ const Wt = {
977
973
  placeholder: e(a)("booking.reservation.remarkPlaceholder")
978
974
  }, null, 8, ["modelValue", "label", "placeholder"]),
979
975
  v(ie, {
980
- modelValue: e(_),
981
- "onUpdate:modelValue": d[6] || (d[6] = (u) => U(_) ? _.value = u : null),
976
+ modelValue: e(O),
977
+ "onUpdate:modelValue": d[6] || (d[6] = (u) => U(O) ? O.value = u : null),
982
978
  type: "textarea",
983
979
  label: `${e(a)("booking.reservation.allergies")} (${e(a)("booking.reservation.optional")})`,
984
980
  icon: "allergies",
package/dist/event.js.br CHANGED
Binary file
@@ -1,11 +1,11 @@
1
1
  import { d as x, h as v, b as s, e as t, f as a, c as T, u as $, s as k, a as m, w as p, S as B, g as e, j as I, i as D, t as i, z as b, k as N, _ as U, l as F, m as H, p as R } from "./mitt-CgrYtI2g.js";
2
- import { _ as A, y as C, h as j, I as h, n as z, s as O, C as W } from "./SelectField.vue_vue_type_style_index_0_lang-CpA1yERn.js";
3
- import { u as q } from "./giftCard-BShwz2Pf.js";
4
- import { _ as J } from "./_.vue_vue_type_style_index_0_lang-Dyzlcjik.js";
5
- import { A as K } from "./ActionField-Cd4Jby4P.js";
6
- import { E as g } from "./_-DSKigw2-.js";
7
- import { F as y } from "./Field-OyhT-g5Z.js";
8
- import { E as Q } from "./ErrorMessage-BzyCzAA4.js";
2
+ import { _ as A, y as C, h as j, I as h, n as z, s as O, C as W } from "./SelectField.vue_vue_type_style_index_0_lang-C9ofPbO5.js";
3
+ import { u as q } from "./giftCard-DNVqygWX.js";
4
+ import { _ as J } from "./_.vue_vue_type_style_index_0_lang-zBkQ6C_3.js";
5
+ import { A as K } from "./ActionField-DgmchlH1.js";
6
+ import { E as g } from "./_-Dn0RYBro.js";
7
+ import { F as y } from "./Field-DaO8VHZ_.js";
8
+ import { E as Q } from "./ErrorMessage-BLRv3QIb.js";
9
9
  import { G as Y } from "./style-B_8a8HvR.js";
10
10
  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({
11
11
  __name: "GiftCardValidationSkeleton",
Binary file
package/dist/gift-card.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { d as G, u as q, r as O, c as Y, a as y, b as s, w as C, e as l, h as c, i as m, f as t, g as e, n as J, t as L, j as te, C as oe, s as z, D as ne, o as ie, S as se, E as S, G as A, F as re, v as de, z as v, k as ue, _ as ce, l as pe, m as me, p as fe } from "./mitt-CgrYtI2g.js";
2
- import { a as ve, e as T, x as be, _ as x, h as he, d as _e, L as ke, T as M, g as ge, C as ye, v as Ce } from "./SelectField.vue_vue_type_style_index_0_lang-CpA1yERn.js";
2
+ import { a as ve, e as T, x as be, _ as x, h as he, d as _e, L as ke, T as M, g as ge, C as ye, v as Ce } from "./SelectField.vue_vue_type_style_index_0_lang-C9ofPbO5.js";
3
3
  import { G as Ve } from "./style-B_8a8HvR.js";
4
- import { u as I } from "./giftCard-BShwz2Pf.js";
5
- import { _ as $e } from "./_.vue_vue_type_style_index_0_lang-Dyzlcjik.js";
6
- import { C as we, a as Fe, P as Ee, _ as Pe } from "./CheckoutWindow-D2ZSMnHE.js";
7
- import { E as Ue } from "./_-DSKigw2-.js";
8
- import { F as U } from "./Field-OyhT-g5Z.js";
9
- import { E as Te } from "./ErrorMessage-BzyCzAA4.js";
10
- import { S as Ge } from "./TermsOfService-DfCirgPI.js";
4
+ import { u as I } from "./giftCard-DNVqygWX.js";
5
+ import { _ as $e } from "./_.vue_vue_type_style_index_0_lang-zBkQ6C_3.js";
6
+ import { C as we, a as Fe, P as Ee, _ as Pe } from "./CheckoutWindow-faqSlYg7.js";
7
+ import { E as Ue } from "./_-Dn0RYBro.js";
8
+ import { F as U } from "./Field-DaO8VHZ_.js";
9
+ import { E as Te } from "./ErrorMessage-BLRv3QIb.js";
10
+ import { S as Ge } from "./TermsOfService-2IXnGpmG.js";
11
11
  const Se = { class: "media-selector" }, Ae = ["accept"], Me = { class: "media-selector-wrapper" }, Le = { class: "media-selector-tools" }, qe = { key: 0 }, Be = { key: 1 }, Re = { key: 2 }, Ie = ["src"], xe = /* @__PURE__ */ G({
12
12
  __name: "MediaSelector",
13
13
  props: {
Binary file
@@ -1,5 +1,5 @@
1
1
  import { H as V, s as J, r as t, c as a, I as y } from "./mitt-CgrYtI2g.js";
2
- import { z as K, a as Q, h as z, G as o, A as h, D as E, w as O, E as X, S } from "./SelectField.vue_vue_type_style_index_0_lang-CpA1yERn.js";
2
+ import { z as K, a as Q, h as z, G as o, A as h, D as E, w as O, E as X, S } from "./SelectField.vue_vue_type_style_index_0_lang-C9ofPbO5.js";
3
3
  const $ = V("giftCard", () => {
4
4
  const { pay: D } = K(), { display: G } = Q(), { metaData: w, currencyId: M, hasError: P } = J(z()), x = z(), s = t(o.InitialState), u = h("konnectio_name", "", void 0, { serializer: S.string }), v = h("konnectio_email", "", void 0, { serializer: S.string }), d = h("konnectio_phone", "", void 0, { serializer: S.string }), f = t(""), T = t(1), F = t(!0), b = t(""), i = t({
5
5
  base64: "",
@@ -106,4 +106,4 @@ const $ = V("giftCard", () => {
106
106
  export {
107
107
  $ as u
108
108
  };
109
- //# sourceMappingURL=giftCard-BShwz2Pf.js.map
109
+ //# sourceMappingURL=giftCard-DNVqygWX.js.map
Binary file
package/dist/hotel.js CHANGED
@@ -1,13 +1,13 @@
1
1
  import { d as Dt, h as A, b as T, e as k, i as H, F as ft, v as Tt, J as Ke, K as Jn, a as lt, L as Qn, j as rn, n as Ie, M as xr, u as jt, s as qt, r as Ft, N as Mr, g as c, z as At, A as Sr, w as tt, t as O, E as Le, G as Ae, f as B, q as to, C as Ar, c as Pt, x as on, O as is, o as fo, D as an, S as Ir, P as Or, Q as zr, R as Er, k as Br, _ as Zr, l as Dr, m as Nr, p as Rr } from "./mitt-CgrYtI2g.js";
2
- import { _ as Yt, h as Oe, b as fe, u as Ci, I as Ct, s as oe, j as Li, l as eo, q as de, n as se, r as ro, a as po, d as hn, F as Hr, H as bs, g as ki, e as ce, B as Ls, J as ns, x as Vr, T as ye, K as Fr, p as os, M as Gr, N as ss, C as Ur, t as rs, v as $r } from "./SelectField.vue_vue_type_style_index_0_lang-CpA1yERn.js";
2
+ import { _ as Yt, h as Oe, b as fe, u as Ci, I as Ct, s as oe, j as Li, l as eo, q as de, n as se, r as ro, a as po, d as hn, F as Hr, H as bs, g as ki, e as ce, B as Ls, J as ns, x as Vr, T as ye, K as Fr, p as os, M as Gr, N as ss, C as Ur, t as rs, v as $r } from "./SelectField.vue_vue_type_style_index_0_lang-C9ofPbO5.js";
3
3
  import { G as Wr } from "./style-B_8a8HvR.js";
4
- import { R as qr, B as dn, L as jr, S as Yr, M as Kr, T as Xr, C as Jr, b as io, V as Qr, a as ta } from "./masonry.plugin-CCtwuyG_.js";
5
- import { A as ea, H as ia } from "./AvailabilitySkeleton-Dbrv5lGT.js";
6
- import { S as na } from "./TermsOfService-DfCirgPI.js";
7
- import { a as ao, B as ks, C as oa, P as sa } from "./CheckoutWindow-D2ZSMnHE.js";
8
- import { A as ra } from "./ActionField-Cd4Jby4P.js";
4
+ import { R as qr, B as dn, L as jr, S as Yr, M as Kr, T as Xr, C as Jr, b as io, V as Qr, a as ta } from "./masonry.plugin-DXn9h4DT.js";
5
+ import { A as ea, H as ia } from "./AvailabilitySkeleton-Cb1mXip0.js";
6
+ import { S as na } from "./TermsOfService-2IXnGpmG.js";
7
+ import { a as ao, B as ks, C as oa, P as sa } from "./CheckoutWindow-faqSlYg7.js";
8
+ import { A as ra } from "./ActionField-DgmchlH1.js";
9
9
  import { g as aa } from "./_commonjsHelpers-DaMA6jEr.js";
10
- import { _ as ws } from "./DateField.vue_vue_type_style_index_0_lang-BpMOgqg_.js";
10
+ import { _ as ws } from "./DateField.vue_vue_type_style_index_0_lang-CsHaOHl-.js";
11
11
  function lo(a, u = {}, h) {
12
12
  for (const p in a) {
13
13
  const v = a[p], o = h ? `${h}:${p}` : p;
@@ -8930,7 +8930,7 @@ const Ou = /* @__PURE__ */ Dt({
8930
8930
  styling: {}
8931
8931
  },
8932
8932
  setup(a) {
8933
- const u = Or(() => import("./_-Bn4MVnTU.js")), h = a, { t: p } = jt(), {
8933
+ const u = Or(() => import("./_-Ca4yBxqD.js")), h = a, { t: p } = jt(), {
8934
8934
  currentLocation: v,
8935
8935
  templateID: o,
8936
8936
  templateAddons: r,
package/dist/hotel.js.br CHANGED
Binary file
@@ -1,8 +1,8 @@
1
1
  import { d as defineComponent, F as Fragment, U as Comment, V as Text, W as h, X as getCurrentInstance, Y as resolveComponent, r as ref, c as computed$1, D as watch, o as onMounted, h as createElementBlock, b as openBlock, a as createBlock, i as createCommentVNode, w as withCtx, v as renderList, e as createBaseVNode, j as withModifiers, f as createVNode, g as unref, n as normalizeClass, u as useI18n, s as storeToRefs, Z as inject, N as resolveDirective, A as createSlots, E as withDirectives, t as toDisplayString, $ as reactive, a0 as onUnmounted, K as normalizeStyle, q as renderSlot, Q as nextTick, G as vShow, x as createTextVNode, a1 as mergeModels, y as useSlots, a2 as useModel, T as Transition, z as isRef, _ as _mitt } from "./mitt-CgrYtI2g.js";
2
- import { I as Icon, _ as _export_sfc, b as useHotelStore, f as useEventStore, u as useAvailabilityStore, h as useUtilityStore, T as TextField, M as convertDescription, B as BookingLayout, q as capitalized, j as daysBetweenDates, n as showPrice, s as showDate, x as InputField, K as BookingHeaderLayout, P as emitter, w as getUserLanguage, y as useApplyGiftCardStore, e as Clickable, z as usePaymentStore } from "./SelectField.vue_vue_type_style_index_0_lang-CpA1yERn.js";
3
- import { B as Base$1, a as Checkbox, _ as _sfc_main$c } from "./CheckoutWindow-D2ZSMnHE.js";
4
- import { A as ActionField } from "./ActionField-Cd4Jby4P.js";
5
- import { E as Element$1 } from "./_-DSKigw2-.js";
2
+ import { I as Icon, _ as _export_sfc, b as useHotelStore, f as useEventStore, u as useAvailabilityStore, h as useUtilityStore, T as TextField, M as convertDescription, B as BookingLayout, q as capitalized, j as daysBetweenDates, n as showPrice, s as showDate, x as InputField, K as BookingHeaderLayout, P as emitter, w as getUserLanguage, y as useApplyGiftCardStore, e as Clickable, z as usePaymentStore } from "./SelectField.vue_vue_type_style_index_0_lang-C9ofPbO5.js";
3
+ import { B as Base$1, a as Checkbox, _ as _sfc_main$c } from "./CheckoutWindow-faqSlYg7.js";
4
+ import { A as ActionField } from "./ActionField-DgmchlH1.js";
5
+ import { E as Element$1 } from "./_-Dn0RYBro.js";
6
6
  import { g as getDefaultExportFromCjs } from "./_commonjsHelpers-DaMA6jEr.js";
7
7
  /*! *****************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -10721,4 +10721,4 @@ export {
10721
10721
  StickyPlugin as a,
10722
10722
  ListingSkeleton as b
10723
10723
  };
10724
- //# sourceMappingURL=masonry.plugin-CCtwuyG_.js.map
10724
+ //# sourceMappingURL=masonry.plugin-DXn9h4DT.js.map
package/dist/polyfill.js CHANGED
@@ -10298,5 +10298,5 @@ B0();
10298
10298
  b = new ResizeObserver(p), I = new MutationObserver(x), A();
10299
10299
  }
10300
10300
  })()();
10301
- console.log("Konnectio production release: 4.1.26");
10301
+ console.log("Konnectio production release: 4.1.27");
10302
10302
  //# sourceMappingURL=polyfill.js.map