@konnectio/core 4.0.94 → 4.0.96

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 (60) hide show
  1. package/dist/{ActionField-pZOFNMkw.js → ActionField-CmkBMSbw.js} +3 -3
  2. package/dist/ActionField-CmkBMSbw.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-DJyT38F9.js → AvailabilitySkeleton-Btw5b8_6.js} +6 -6
  4. package/dist/AvailabilitySkeleton-Btw5b8_6.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CuRWF7vG.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-QeWz7R5r.js} +3 -3
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-QeWz7R5r.js.br +0 -0
  7. package/dist/{CheckoutWindow-5ngdoK38.js → CheckoutWindow-Cyq3y8uy.js} +3 -3
  8. package/dist/CheckoutWindow-Cyq3y8uy.js.br +0 -0
  9. package/dist/{ErrorMessage-BVaWW4Hz.js → ErrorMessage-KADdvcTq.js} +3 -3
  10. package/dist/ErrorMessage-KADdvcTq.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-Du4kySZ-.js → EventAvailabilityForm-D0ZCbAsf.js} +4 -4
  12. package/dist/EventAvailabilityForm-D0ZCbAsf.js.br +0 -0
  13. package/dist/{Field-MzDRmdmU.js → Field-ht4c0gK9.js} +4 -4
  14. package/dist/Field-ht4c0gK9.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CH1o9S9a.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C7lRVfgI.js} +3 -3
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-BeprYLM8.js → SelectField.vue_vue_type_style_index_0_lang-DYqBNiN1.js} +1011 -1006
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-DYqBNiN1.js.br +0 -0
  18. package/dist/{TermsOfService-9iLxpj-0.js → TermsOfService-CCLrq6bC.js} +4 -4
  19. package/dist/_-DoXy33q-.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-mNFTf-c3.js → _.vue_vue_type_style_index_0_lang-CVZiiXvr.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 +143 -143
  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-CmhfXMZj.js → giftCard-CiZunuJT.js} +3 -3
  34. package/dist/giftCard-CiZunuJT.js.br +0 -0
  35. package/dist/hotel.js +307 -305
  36. package/dist/hotel.js.br +0 -0
  37. package/dist/{masonry.plugin-Bz6kKi0V.js → masonry.plugin-BrbBe-xS.js} +7 -7
  38. package/dist/masonry.plugin-BrbBe-xS.js.br +0 -0
  39. package/dist/{mitt-BGszhQ2P.js → mitt-BvlSsOyy.js} +3570 -3619
  40. package/dist/mitt-BvlSsOyy.js.br +0 -0
  41. package/dist/polyfill.js +1 -1
  42. package/dist/polyfill.js.br +0 -0
  43. package/dist/{style-Csy5Jdgv.js → style-CYxgAqoT.js} +2 -2
  44. package/dist/style-CYxgAqoT.js.br +0 -0
  45. package/dist/style.css +1 -1
  46. package/dist/style.css.br +0 -0
  47. package/package.json +4 -4
  48. package/dist/ActionField-pZOFNMkw.js.br +0 -0
  49. package/dist/AvailabilitySkeleton-DJyT38F9.js.br +0 -0
  50. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CuRWF7vG.js.br +0 -0
  51. package/dist/CheckoutWindow-5ngdoK38.js.br +0 -0
  52. package/dist/ErrorMessage-BVaWW4Hz.js.br +0 -0
  53. package/dist/EventAvailabilityForm-Du4kySZ-.js.br +0 -0
  54. package/dist/Field-MzDRmdmU.js.br +0 -0
  55. package/dist/SelectField.vue_vue_type_style_index_0_lang-BeprYLM8.js.br +0 -0
  56. package/dist/_-DXSHtzqt.js +0 -5
  57. package/dist/giftCard-CmhfXMZj.js.br +0 -0
  58. package/dist/masonry.plugin-Bz6kKi0V.js.br +0 -0
  59. package/dist/mitt-BGszhQ2P.js.br +0 -0
  60. package/dist/style-Csy5Jdgv.js.br +0 -0
package/dist/event.js CHANGED
@@ -1,12 +1,12 @@
1
- import { d as j, u as le, s as z, r as Je, c as J, a as l, b as D, w as m, v as ne, i as e, e as n, j as v, f, n as Ke, g as c, t as o, x as Xe, y as Ze, F as L, z as q, A as R, S as et, B as ye, k as tt, l as nt, m as ot, p as lt, q as at } from "./mitt-BGszhQ2P.js";
2
- import { a as Ne, f as oe, l as st, s as U, d as ve, B as it, _ as ae, g as ke, I as fe, h as rt, i as be, j as H, u as _e, k as ut, m as De, T as te, O as dt, C as ct, n as mt, o as pt, p as vt } from "./SelectField.vue_vue_type_style_index_0_lang-BeprYLM8.js";
3
- import { G as ft } from "./style-Csy5Jdgv.js";
4
- import { b as me, f as bt, a as gt, l as kt, m as ht, u as Y } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CuRWF7vG.js";
5
- import { _ as yt } from "./_.vue_vue_type_style_index_0_lang-mNFTf-c3.js";
6
- import { B as _t, _ as Dt, R as Pt, L as Se, S as Et, M as Vt, C as $t, T as wt, V as Tt, a as Ot } from "./masonry.plugin-Bz6kKi0V.js";
7
- import { C as Nt, P as St, a as Ft } from "./CheckoutWindow-5ngdoK38.js";
8
- import { E as Mt } from "./EventAvailabilityForm-Du4kySZ-.js";
9
- import "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CH1o9S9a.js";
1
+ import { d as j, u as le, s as z, r as Je, c as J, a as l, b as P, w as m, v as ne, i as e, e as n, j as v, f, n as Ke, g as c, t as o, x as Xe, y as Ze, F as L, z as q, A as R, S as et, B as ye, k as tt, l as nt, m as ot, p as lt, q as at } from "./mitt-BvlSsOyy.js";
2
+ import { a as Ne, f as oe, l as st, s as U, d as ve, B as it, _ as ae, g as ke, I as fe, h as rt, i as be, j as H, u as _e, k as ut, m as De, T as te, O as dt, C as ct, n as mt, o as pt, p as vt } from "./SelectField.vue_vue_type_style_index_0_lang-DYqBNiN1.js";
3
+ import { G as ft } from "./style-CYxgAqoT.js";
4
+ import { b as me, f as bt, a as gt, l as kt, m as ht, u as Y } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-QeWz7R5r.js";
5
+ import { _ as yt } from "./_.vue_vue_type_style_index_0_lang-CVZiiXvr.js";
6
+ import { B as _t, _ as Dt, R as Pt, L as Se, S as Et, M as Vt, C as $t, T as wt, V as Tt, a as Ot } from "./masonry.plugin-BrbBe-xS.js";
7
+ import { C as Nt, P as St, a as Ft } from "./CheckoutWindow-Cyq3y8uy.js";
8
+ import { E as Mt } from "./EventAvailabilityForm-D0ZCbAsf.js";
9
+ import "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C7lRVfgI.js";
10
10
  const Pe = 6e4, Ee = 525600, Ve = 43200, $e = 1440, we = Symbol.for("constructDateFrom");
11
11
  function Fe(s, t) {
12
12
  return typeof s == "function" ? s(t) : s && typeof s == "object" && we in s ? s[we](t) : s instanceof Date ? new s.constructor(t) : new Date(t);
@@ -90,34 +90,34 @@ function qt(s) {
90
90
  };
91
91
  }
92
92
  function Ht(s, t, a) {
93
- const p = Lt(), b = a?.locale ?? p.locale ?? zt, u = Gt(s, t);
94
- if (isNaN(u))
93
+ const p = Lt(), b = a?.locale ?? p.locale ?? zt, d = Gt(s, t);
94
+ if (isNaN(d))
95
95
  throw new RangeError("Invalid time value");
96
96
  const k = Object.assign({}, a, {
97
97
  addSuffix: a?.addSuffix,
98
- comparison: u
99
- }), [$, P] = Ct(
98
+ comparison: d
99
+ }), [$, E] = Ct(
100
100
  a?.in,
101
- ...u > 0 ? [t, s] : [s, t]
102
- ), E = qt(a?.roundingMethod ?? "round"), w = P.getTime() - $.getTime(), _ = w / Pe, h = Te(P) - Te($), T = (w - h) / Pe, M = a?.unit;
101
+ ...d > 0 ? [t, s] : [s, t]
102
+ ), V = qt(a?.roundingMethod ?? "round"), w = E.getTime() - $.getTime(), _ = w / Pe, h = Te(E) - Te($), T = (w - h) / Pe, M = a?.unit;
103
103
  let g;
104
104
  if (M ? g = M : _ < 1 ? g = "second" : _ < 60 ? g = "minute" : _ < $e ? g = "hour" : T < Ve ? g = "day" : T < Ee ? g = "month" : g = "year", g === "second") {
105
- const i = E(w / 1e3);
105
+ const i = V(w / 1e3);
106
106
  return b.formatDistance("xSeconds", i, k);
107
107
  } else if (g === "minute") {
108
- const i = E(_);
108
+ const i = V(_);
109
109
  return b.formatDistance("xMinutes", i, k);
110
110
  } else if (g === "hour") {
111
- const i = E(_ / 60);
111
+ const i = V(_ / 60);
112
112
  return b.formatDistance("xHours", i, k);
113
113
  } else if (g === "day") {
114
- const i = E(T / $e);
114
+ const i = V(T / $e);
115
115
  return b.formatDistance("xDays", i, k);
116
116
  } else if (g === "month") {
117
- const i = E(T / Ve);
117
+ const i = V(T / Ve);
118
118
  return i === 12 && M !== "month" ? b.formatDistance("xYears", 1, k) : b.formatDistance("xMonths", i, k);
119
119
  } else {
120
- const i = E(T / Ee);
120
+ const i = V(T / Ee);
121
121
  return b.formatDistance("xYears", i, k);
122
122
  }
123
123
  }
@@ -147,12 +147,12 @@ const Yt = { class: "konnectio-event-listing-action-button" }, jt = /* @__PURE__
147
147
  setup(s) {
148
148
  const { t } = le(), a = s, { display: p } = Ne(), {
149
149
  maxNumberOfPeople: b,
150
- numberOfPeople: u,
150
+ numberOfPeople: d,
151
151
  eventId: k,
152
152
  currentEventDate: $,
153
- tableGroupId: P
153
+ tableGroupId: E
154
154
  } = z(Y()), {
155
- getTemplateAvailability: E,
155
+ getTemplateAvailability: V,
156
156
  getEventAvailability: w,
157
157
  isEventListingLoading: _
158
158
  } = Y(), h = Je(0), T = J(() => _(a.listingId)), M = () => {
@@ -163,7 +163,7 @@ const Yt = { class: "konnectio-event-listing-action-button" }, jt = /* @__PURE__
163
163
  });
164
164
  return;
165
165
  }
166
- k.value = a.listingId, u.value = h.value, E(a.callback);
166
+ k.value = a.listingId, d.value = h.value, V(a.callback);
167
167
  }, g = () => {
168
168
  if (!a.useNumberOfProductsForPersons && (h.value === 0 || isNaN(h.value))) {
169
169
  p({
@@ -172,9 +172,9 @@ const Yt = { class: "konnectio-event-listing-action-button" }, jt = /* @__PURE__
172
172
  });
173
173
  return;
174
174
  }
175
- k.value = a.listingId, P.value = a.tableGroupId, u.value = h.value, w(a.callback);
175
+ k.value = a.listingId, E.value = a.tableGroupId, d.value = h.value, w(a.callback);
176
176
  };
177
- return (i, C) => (l(), D(_t, {
177
+ return (i, C) => (l(), P(_t, {
178
178
  type: "event",
179
179
  "listing-id": i.listingId,
180
180
  gallery: i.gallery,
@@ -194,7 +194,7 @@ const Yt = { class: "konnectio-event-listing-action-button" }, jt = /* @__PURE__
194
194
  { "no-selectable-people": i.useNumberOfProductsForPersons }
195
195
  ])
196
196
  }, [
197
- i.useNumberOfProductsForPersons ? v("", !0) : (l(), D(oe, {
197
+ i.useNumberOfProductsForPersons ? v("", !0) : (l(), P(oe, {
198
198
  key: 0,
199
199
  modelValue: h.value,
200
200
  "onUpdate:modelValue": C[0] || (C[0] = (A) => h.value = A),
@@ -249,29 +249,29 @@ const Qt = {
249
249
  },
250
250
  setup(s) {
251
251
  const t = s, { t: a } = le(), { hideEventLength: p } = z(ke()), b = J(() => {
252
- const u = t.length.split(":");
252
+ const d = t.length.split(":");
253
253
  return Ht(
254
- new Date(2e3, 0, 1, Number(u[0]), Number(u[1]), 0),
254
+ new Date(2e3, 0, 1, Number(d[0]), Number(d[1]), 0),
255
255
  new Date(2e3, 0, 1, 0, 0, 0)
256
256
  );
257
257
  });
258
- return (u, k) => (l(), D(Me, {
259
- "listing-id": u.listingId,
260
- name: u.name,
261
- description: u.description,
262
- gallery: u.gallery,
263
- "prices-from": u.fromPrice,
264
- "table-group-id": u.tableGroupId,
265
- "max-guests": u.maxOnlineReservationLimit,
266
- "use-number-of-products-for-persons": u.useNumberOfProductsForPersons,
267
- "to-date": u.toDate,
258
+ return (d, k) => (l(), P(Me, {
259
+ "listing-id": d.listingId,
260
+ name: d.name,
261
+ description: d.description,
262
+ gallery: d.gallery,
263
+ "prices-from": d.fromPrice,
264
+ "table-group-id": d.tableGroupId,
265
+ "max-guests": d.maxOnlineReservationLimit,
266
+ "use-number-of-products-for-persons": d.useNumberOfProductsForPersons,
267
+ "to-date": d.toDate,
268
268
  type: "event",
269
- callback: u.callback
269
+ callback: d.callback
270
270
  }, {
271
271
  description: m(() => [
272
- u.description ? (l(), D(Dt, {
272
+ d.description ? (l(), P(Dt, {
273
273
  key: 0,
274
- text: u.description
274
+ text: d.description
275
275
  }, null, 8, ["text"])) : v("", !0),
276
276
  n("ul", Wt, [
277
277
  v("", !0),
@@ -293,7 +293,7 @@ const Qt = {
293
293
  }),
294
294
  n("span", null, o(e(a)("event.startAndEndTime")), 1)
295
295
  ]),
296
- n("span", null, o(e(rt)(u.timeFrom, u.timeTo)), 1)
296
+ n("span", null, o(e(rt)(d.timeFrom, d.timeTo)), 1)
297
297
  ])
298
298
  ])
299
299
  ]),
@@ -326,7 +326,7 @@ const Qt = {
326
326
  url: t.image
327
327
  }];
328
328
  });
329
- return (p, b) => (l(), D(Me, {
329
+ return (p, b) => (l(), P(Me, {
330
330
  "listing-id": p.listingId,
331
331
  gallery: a.value,
332
332
  name: p.name,
@@ -348,11 +348,11 @@ const Qt = {
348
348
  const { t } = le(), a = Xe(), {
349
349
  areListingsAvailable: p,
350
350
  arrivalTime: b,
351
- numberOfPeople: u,
351
+ numberOfPeople: d,
352
352
  numberOfRooms: k,
353
353
  numberOfTotalDays: $,
354
- isTemplateEvent: P,
355
- currentEventDate: E,
354
+ isTemplateEvent: E,
355
+ currentEventDate: V,
356
356
  length: w,
357
357
  fromDate: _,
358
358
  tableBasePrice: h,
@@ -363,7 +363,7 @@ const Qt = {
363
363
  roomUpgrade: C,
364
364
  discountCode: A
365
365
  } = z(Y()), { totalAddonPrice: se, validateDiscountCode: ie } = Y(), { currency: K, hideEventLength: re } = z(ke());
366
- return (I, X) => (l(), D(Pt, {
366
+ return (I, X) => (l(), P(Pt, {
367
367
  "discount-code": e(A),
368
368
  "onUpdate:discountCode": X[0] || (X[0] = (G) => R(A) ? A.value = G : null),
369
369
  "validate-discount-code": e(ie),
@@ -381,15 +381,15 @@ const Qt = {
381
381
  ne(I.$slots, "form")
382
382
  ]),
383
383
  "reservation-summary": m(() => [
384
- e(P) ? v("", !0) : (l(), c("li", Zt, [
384
+ e(E) ? v("", !0) : (l(), c("li", Zt, [
385
385
  n("span", null, o(e(t)("general.date")), 1),
386
- n("b", null, o(e(U)(e(E))), 1)
386
+ n("b", null, o(e(U)(e(V))), 1)
387
387
  ])),
388
- e(u) > 0 ? (l(), c("li", en, [
388
+ e(d) > 0 ? (l(), c("li", en, [
389
389
  n("span", null, o(e(t)("event.numberOfGuests")), 1),
390
- n("b", null, o(e(u)), 1)
390
+ n("b", null, o(e(d)), 1)
391
391
  ])) : v("", !0),
392
- e(P) ? (l(), c(L, { key: 2 }, [
392
+ e(E) ? (l(), c(L, { key: 2 }, [
393
393
  n("li", null, [
394
394
  n("span", null, o(e(t)("booking.reservation.arrival")), 1),
395
395
  n("b", null, o(e(U)(e(_))), 1)
@@ -407,17 +407,17 @@ const Qt = {
407
407
  n("b", null, o(e($)), 1)
408
408
  ])
409
409
  ], 64)) : v("", !0),
410
- !e(P) && e(b) ? (l(), c("li", tn, [
410
+ !e(E) && e(b) ? (l(), c("li", tn, [
411
411
  n("span", null, o(e(t)("event.startOfEvent")), 1),
412
412
  n("b", null, o(e(be)(e(b))), 1)
413
413
  ])) : v("", !0),
414
- !e(P) && e(w) && !e(re) ? (l(), c("li", nn, [
414
+ !e(E) && e(w) && !e(re) ? (l(), c("li", nn, [
415
415
  n("span", null, o(e(t)("event.lengthOfEvent")), 1),
416
416
  n("b", null, o(e(be)(e(w))), 1)
417
417
  ])) : v("", !0)
418
418
  ]),
419
419
  "price-summary": m(() => [
420
- !e(P) && e(h) > 0 ? (l(), c("li", on, [
420
+ !e(E) && e(h) > 0 ? (l(), c("li", on, [
421
421
  n("span", null, o(e(t)("booking.availability.basePrice")), 1),
422
422
  n("b", null, o(e(H)(e(h), e(K))), 1)
423
423
  ])) : v("", !0),
@@ -430,10 +430,10 @@ const Qt = {
430
430
  ne(I.$slots, "navigation")
431
431
  ]),
432
432
  "mobile-under-price": m(() => [
433
- e(P) ? (l(), c("div", ln, [
433
+ e(E) ? (l(), c("div", ln, [
434
434
  n("span", null, o(e(U)(e(_))) + " - " + o(e(U)(e(_), e($))), 1)
435
435
  ])) : (l(), c("div", an, [
436
- n("span", null, o(e(U)(e(E))), 1)
436
+ n("span", null, o(e(U)(e(V))), 1)
437
437
  ]))
438
438
  ]),
439
439
  _: 2
@@ -485,11 +485,11 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
485
485
  addons: a,
486
486
  products: p,
487
487
  numberOfDays: b,
488
- name: u,
488
+ name: d,
489
489
  phone: k,
490
490
  email: $,
491
- remark: P,
492
- allergies: E,
491
+ remark: E,
492
+ allergies: V,
493
493
  arrivalTime: w,
494
494
  hasEvents: _,
495
495
  hasTemplates: h,
@@ -542,22 +542,22 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
542
542
  icon: "calendar-check"
543
543
  }
544
544
  ]), He = J(() => {
545
- const V = [];
546
- return C.value && C.value.forEach((d) => {
547
- V.push({
548
- label: be(d.time),
549
- value: d.time
545
+ const D = [];
546
+ return C.value && C.value.forEach((u) => {
547
+ D.find((O) => O.value === u.time) || D.push({
548
+ label: be(u.time),
549
+ value: u.time
550
550
  });
551
- }), V;
551
+ }), D;
552
552
  });
553
553
  function Ye() {
554
- const V = mt("history", {
554
+ const D = mt("history", {
555
555
  removeNullishValues: !0
556
- }), d = parseInt(V.rid), F = V.d, O = parseInt(V.eid);
557
- if (F)
558
- if (pt(F)) {
559
- const S = new Date(F), B = S.setHours(12, 0, 0, 0), y = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
560
- B >= y ? (Ce.value = S, V.d = void 0) : ue({
556
+ }), u = parseInt(D.rid), O = D.d, N = parseInt(D.eid);
557
+ if (O)
558
+ if (pt(O)) {
559
+ const F = new Date(O), B = F.setHours(12, 0, 0, 0), y = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
560
+ B >= y ? (Ce.value = F, D.d = void 0) : ue({
561
561
  message: t("alert.error.invalidDateRange"),
562
562
  type: "error"
563
563
  });
@@ -566,20 +566,20 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
566
566
  message: t("alert.error.wrongDateFormat"),
567
567
  type: "error"
568
568
  });
569
- isNaN(d) || (Le(d) ? Be.value = d : ue({
569
+ isNaN(u) || (Le(u) ? Be.value = u : ue({
570
570
  message: t("alert.error.hotelIdNotFound"),
571
571
  type: "error"
572
572
  }));
573
573
  let r;
574
- isNaN(O) || (r = O), Ie(r);
574
+ isNaN(N) || (r = N), Ie(r);
575
575
  }
576
- return (V, d) => (l(), D(ct, { styling: V.styling }, {
576
+ return (D, u) => (l(), P(ct, { styling: D.styling }, {
577
577
  default: m(() => [
578
- (l(), D(et, { onResolve: Ye }, {
578
+ (l(), P(et, { onResolve: Ye }, {
579
579
  default: m(() => [
580
580
  f(yt, {
581
581
  id: "konnectio-event-module",
582
- "access-token": V.accessToken,
582
+ "access-token": D.accessToken,
583
583
  callback: e(Ae)
584
584
  }, {
585
585
  default: m(() => [
@@ -587,26 +587,26 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
587
587
  steps: qe.value,
588
588
  onReset: e(Ge)
589
589
  }, {
590
- availability: m(({ next: F }) => [
590
+ availability: m(({ next: O }) => [
591
591
  f(pe, null, {
592
592
  sidebar: m(() => [
593
593
  f(Mt, {
594
594
  redirection: !1,
595
- "selected-location": Number(V.selectedLocation)
595
+ "selected-location": Number(D.selectedLocation)
596
596
  }, null, 8, ["selected-location"])
597
597
  ]),
598
598
  form: m(() => [
599
599
  e(re) && e(ie) ? (l(), c("div", mn, [
600
- e(_) && V.onlyShow !== "templates" ? (l(), c(L, { key: 0 }, [
600
+ e(_) && D.onlyShow !== "templates" ? (l(), c(L, { key: 0 }, [
601
601
  v("", !0),
602
602
  n("ul", pn, [
603
603
  (l(!0), c(L, null, q(e(T), ({
604
- id: O,
604
+ id: N,
605
605
  days: r,
606
- name: S,
606
+ name: F,
607
607
  timeFrom: B,
608
608
  timeTo: y,
609
- fromDate: N,
609
+ fromDate: S,
610
610
  toDate: W,
611
611
  tableGroupId: Q,
612
612
  description: de,
@@ -616,67 +616,67 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
616
616
  maxOnlineReservationLimit: We,
617
617
  maxPaxPerReservation: Qe,
618
618
  useNumberOfProductsForPersons: xe
619
- }) => (l(), D(Kt, {
620
- key: O,
619
+ }) => (l(), P(Kt, {
620
+ key: N,
621
621
  type: "event",
622
- "listing-id": O,
622
+ "listing-id": N,
623
623
  "table-group-id": Q,
624
624
  description: de,
625
- name: S,
625
+ name: F,
626
626
  length: x,
627
627
  gallery: je,
628
628
  days: r,
629
- "from-date": N,
629
+ "from-date": S,
630
630
  "to-date": W,
631
631
  "max-online-reservation-limit": Qe || We,
632
632
  "time-from": B,
633
633
  "time-to": y,
634
634
  "sold-out": ce,
635
635
  "use-number-of-products-for-persons": xe,
636
- callback: F
636
+ callback: O
637
637
  }, 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))
638
638
  ])
639
639
  ], 64)) : v("", !0),
640
- e(h) && V.onlyShow !== "events" ? (l(), c(L, { key: 1 }, [
640
+ e(h) && D.onlyShow !== "events" ? (l(), c(L, { key: 1 }, [
641
641
  v("", !0),
642
642
  n("ul", vn, [
643
643
  (l(!0), c(L, null, q(e(M), ({
644
- id: O,
644
+ id: N,
645
645
  name: r,
646
- fromDate: S,
646
+ fromDate: F,
647
647
  toDate: B,
648
648
  minimumPersonCount: y,
649
- fromPrice: N,
649
+ fromPrice: S,
650
650
  description: W,
651
651
  imageUrl: Q
652
- }) => (l(), D(Xt, {
653
- key: O,
654
- "listing-id": O,
652
+ }) => (l(), P(Xt, {
653
+ key: N,
654
+ "listing-id": N,
655
655
  name: r,
656
656
  image: Q,
657
657
  description: W,
658
- "from-date": S,
658
+ "from-date": F,
659
659
  "to-date": B,
660
660
  "minimum-person-count": y,
661
- fromPrice: N,
662
- callback: F
661
+ fromPrice: S,
662
+ callback: O
663
663
  }, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
664
664
  ])
665
665
  ], 64)) : v("", !0),
666
- !e(_) && !e(h) || !e(_) && V.onlyShow === "events" || !e(h) && V.onlyShow === "templates" ? (l(), c("div", {
666
+ !e(_) && !e(h) || !e(_) && D.onlyShow === "events" || !e(h) && D.onlyShow === "templates" ? (l(), c("div", {
667
667
  key: 2,
668
668
  class: "konnectio-panel",
669
669
  innerHTML: e(t)("event.nothingAvailable")
670
670
  }, null, 8, fn)) : v("", !0)
671
- ])) : (l(), D(Se, { key: 1 }))
671
+ ])) : (l(), P(Se, { key: 1 }))
672
672
  ]),
673
673
  _: 2
674
674
  }, 1024)
675
675
  ]),
676
- addons: m(({ next: F, prev: O }) => [
677
- e(K) ? (l(), D(pe, {
676
+ addons: m(({ next: O, prev: N }) => [
677
+ e(K) ? (l(), P(pe, {
678
678
  key: 0,
679
- "prev-callback": () => e(he)(O)
679
+ "prev-callback": () => e(he)(N)
680
680
  }, {
681
681
  form: m(() => [
682
682
  n("form", bn, [
@@ -686,12 +686,12 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
686
686
  e(i) && e(i).length > 0 ? (l(), c("ul", gn, [
687
687
  (l(!0), c(L, null, q(e(i), ({
688
688
  roomGroupId: r,
689
- addons: S,
689
+ addons: F,
690
690
  adultPerRoom: B
691
691
  }, y) => (l(), c("li", { key: r }, [
692
692
  n("h5", null, [
693
693
  n("span", null, o(e(t)("booking.reservation.room")) + " #" + o(y + 1), 1),
694
- d[7] || (d[7] = ye(" (")),
694
+ u[7] || (u[7] = ye(" (")),
695
695
  f(fe, {
696
696
  icon: "male",
697
697
  type: "fas",
@@ -705,48 +705,48 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
705
705
  n("th", null, [
706
706
  n("span", null, o(e(t)("booking.reservation.addons")), 1)
707
707
  ]),
708
- d[8] || (d[8] = n("th", { class: "konnectio-event-addons-input" }, null, -1)),
708
+ u[8] || (u[8] = n("th", { class: "konnectio-event-addons-input" }, null, -1)),
709
709
  n("th", hn, [
710
710
  n("span", null, o(e(t)("booking.availability.price")), 1)
711
711
  ])
712
712
  ])
713
713
  ]),
714
714
  n("tbody", null, [
715
- (l(!0), c(L, null, q(S, ({
716
- id: N,
715
+ (l(!0), c(L, null, q(F, ({
716
+ id: S,
717
717
  cardinality: W,
718
718
  name: Q,
719
719
  price: de,
720
720
  quantityStrategy: ce
721
- }) => (l(), c("tr", { key: N }, [
721
+ }) => (l(), c("tr", { key: S }, [
722
722
  n("td", null, [
723
723
  n("b", null, o(Q), 1),
724
- d[9] || (d[9] = n("br", null, null, -1)),
724
+ u[9] || (u[9] = n("br", null, null, -1)),
725
725
  n("span", null, o(e(H)(de, e(ee))) + " " + o(e(ut)(ce)), 1)
726
726
  ]),
727
727
  n("td", yn, [
728
- W === 3 ? (l(), D(oe, {
728
+ W === 3 ? (l(), P(oe, {
729
729
  key: 0,
730
- modelValue: e(a)[`${r}.${N}.${y}`],
731
- "onUpdate:modelValue": (x) => e(a)[`${r}.${N}.${y}`] = x,
730
+ modelValue: e(a)[`${r}.${S}.${y}`],
731
+ "onUpdate:modelValue": (x) => e(a)[`${r}.${S}.${y}`] = x,
732
732
  small: !0,
733
733
  "min-value": 0
734
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), D(Nt, {
734
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), P(Nt, {
735
735
  key: 1,
736
- modelValue: e(a)[`${r}.${N}.${y}`],
737
- "onUpdate:modelValue": (x) => e(a)[`${r}.${N}.${y}`] = x,
736
+ modelValue: e(a)[`${r}.${S}.${y}`],
737
+ "onUpdate:modelValue": (x) => e(a)[`${r}.${S}.${y}`] = x,
738
738
  numeric: !0
739
739
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
740
740
  ]),
741
741
  n("td", _n, [
742
- n("span", null, o(e(H)(e(Ue)(N, r, y), e(ee))), 1)
742
+ n("span", null, o(e(H)(e(Ue)(S, r, y), e(ee))), 1)
743
743
  ])
744
744
  ]))), 128))
745
745
  ]),
746
746
  n("tfoot", null, [
747
747
  n("tr", null, [
748
- d[10] || (d[10] = n("td", null, null, -1)),
749
- d[11] || (d[11] = n("td", null, null, -1)),
748
+ u[10] || (u[10] = n("td", null, null, -1)),
749
+ u[11] || (u[11] = n("td", null, null, -1)),
750
750
  n("td", Dn, [
751
751
  n("u", null, [
752
752
  n("span", null, o(e(H)(e(ze)(r, y), e(ee))), 1)
@@ -759,18 +759,18 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
759
759
  ])) : v("", !0),
760
760
  e(A) ? (l(), c("table", Pn, [
761
761
  n("tbody", null, [
762
- (l(!0), c(L, null, q(e(g).products, ({ id: r, name: S, price: B, description: y }) => (l(), c("tr", { key: r }, [
762
+ (l(!0), c(L, null, q(e(g).products, ({ id: r, name: F, price: B, description: y }) => (l(), c("tr", { key: r }, [
763
763
  n("td", En, [
764
764
  n("b", null, [
765
- n("span", null, o(e(De)(S)), 1)
765
+ n("span", null, o(e(De)(F)), 1)
766
766
  ]),
767
- y && y !== S ? (l(), c("span", Vn, o(e(De)(y)), 1)) : v("", !0),
767
+ y && y !== F ? (l(), c("span", Vn, o(e(De)(y)), 1)) : v("", !0),
768
768
  n("span", null, o(e(H)(B, e(ee))), 1)
769
769
  ]),
770
770
  n("td", $n, [
771
771
  f(oe, {
772
772
  modelValue: e(p)[r],
773
- "onUpdate:modelValue": (N) => e(p)[r] = N,
773
+ "onUpdate:modelValue": (S) => e(p)[r] = S,
774
774
  small: !0,
775
775
  "min-value": 0
776
776
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
@@ -785,17 +785,17 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
785
785
  label: e(t)("event.startReservation"),
786
786
  disabled: !e(Z),
787
787
  "full-width": "",
788
- onClickEvent: F
788
+ onClickEvent: O
789
789
  }, null, 8, ["label", "disabled", "onClickEvent"])
790
790
  ]),
791
791
  _: 2
792
792
  }, 1032, ["prev-callback"])) : v("", !0)
793
793
  ]),
794
- reservation: m(({ next: F, prev: O }) => [
794
+ reservation: m(({ next: O, prev: N }) => [
795
795
  f(pe, {
796
796
  "show-terms-notice": !0,
797
797
  "show-gift-card": !0,
798
- "prev-callback": () => e(he)(O)
798
+ "prev-callback": () => e(he)(N)
799
799
  }, {
800
800
  form: m(() => [
801
801
  n("form", wn, [
@@ -803,8 +803,8 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
803
803
  n("span", null, o(e(t)("booking.reservation.detailsTitle")), 1)
804
804
  ]),
805
805
  f(te, {
806
- modelValue: e(u),
807
- "onUpdate:modelValue": d[0] || (d[0] = (r) => R(u) ? u.value = r : null),
806
+ modelValue: e(d),
807
+ "onUpdate:modelValue": u[0] || (u[0] = (r) => R(d) ? d.value = r : null),
808
808
  type: "text",
809
809
  label: e(t)("booking.reservation.name"),
810
810
  icon: "user-alt",
@@ -813,7 +813,7 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
813
813
  }, null, 8, ["modelValue", "label", "placeholder"]),
814
814
  f(te, {
815
815
  modelValue: e($),
816
- "onUpdate:modelValue": d[1] || (d[1] = (r) => R($) ? $.value = r : null),
816
+ "onUpdate:modelValue": u[1] || (u[1] = (r) => R($) ? $.value = r : null),
817
817
  label: e(t)("booking.reservation.email"),
818
818
  type: "email",
819
819
  name: "email",
@@ -824,40 +824,40 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
824
824
  }, null, 8, ["modelValue", "label", "placeholder"]),
825
825
  f(St, {
826
826
  modelValue: e(k),
827
- "onUpdate:modelValue": d[2] || (d[2] = (r) => R(k) ? k.value = r : null),
827
+ "onUpdate:modelValue": u[2] || (u[2] = (r) => R(k) ? k.value = r : null),
828
828
  label: e(t)("booking.reservation.phone"),
829
829
  icon: "phone-office",
830
830
  placeholder: e(t)("booking.reservation.phonePlaceholder"),
831
831
  required: ""
832
832
  }, null, 8, ["modelValue", "label", "placeholder"]),
833
- e(G) ? (l(), D($t, {
833
+ e(G) ? (l(), P($t, {
834
834
  key: 0,
835
835
  modelValue: e(w),
836
- "onUpdate:modelValue": d[3] || (d[3] = (r) => R(w) ? w.value = r : null),
836
+ "onUpdate:modelValue": u[3] || (u[3] = (r) => R(w) ? w.value = r : null),
837
837
  label: e(t)("event.selectArrivalTime"),
838
838
  name: "eventTimeTable",
839
839
  checkboxes: He.value,
840
840
  required: ""
841
841
  }, null, 8, ["modelValue", "label", "checkboxes"])) : v("", !0),
842
- e(se) === e(dt).FullDayEvent ? (l(), D(oe, {
842
+ e(se) === e(dt).FullDayEvent ? (l(), P(oe, {
843
843
  key: 1,
844
844
  modelValue: e(b),
845
- "onUpdate:modelValue": d[4] || (d[4] = (r) => R(b) ? b.value = r : null),
845
+ "onUpdate:modelValue": u[4] || (u[4] = (r) => R(b) ? b.value = r : null),
846
846
  label: e(t)("event.numberOfDays"),
847
847
  "min-value": 1,
848
848
  required: ""
849
849
  }, null, 8, ["modelValue", "label"])) : v("", !0),
850
850
  f(te, {
851
- modelValue: e(P),
852
- "onUpdate:modelValue": d[5] || (d[5] = (r) => R(P) ? P.value = r : null),
851
+ modelValue: e(E),
852
+ "onUpdate:modelValue": u[5] || (u[5] = (r) => R(E) ? E.value = r : null),
853
853
  type: "textarea",
854
854
  label: `${e(t)("booking.reservation.remark")} (${e(t)("booking.reservation.optional")})`,
855
855
  icon: "info-circle",
856
856
  placeholder: e(t)("booking.reservation.remarkPlaceholder")
857
857
  }, null, 8, ["modelValue", "label", "placeholder"]),
858
858
  f(te, {
859
- modelValue: e(E),
860
- "onUpdate:modelValue": d[6] || (d[6] = (r) => R(E) ? E.value = r : null),
859
+ modelValue: e(V),
860
+ "onUpdate:modelValue": u[6] || (u[6] = (r) => R(V) ? V.value = r : null),
861
861
  type: "textarea",
862
862
  label: `${e(t)("booking.reservation.allergies")} (${e(t)("booking.reservation.optional")})`,
863
863
  icon: "allergies",
@@ -871,7 +871,7 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
871
871
  "is-loading": e(I),
872
872
  disabled: !e(X),
873
873
  "full-width": "",
874
- onClickEvent: (r) => e(Re)(F)
874
+ onClickEvent: (r) => e(Re)(O)
875
875
  }, null, 8, ["label", "is-loading", "disabled", "onClickEvent"])
876
876
  ]),
877
877
  _: 2
@@ -900,7 +900,7 @@ const vn = { class: "konnectio-event-listings" }, fn = ["innerHTML"], bn = { cla
900
900
  _: 1
901
901
  }, 8, ["styling"]));
902
902
  }
903
- }), Oe = /* @__PURE__ */ ae(Tn, [["__scopeId", "data-v-5c3efe22"]]), On = tt(), Nn = at();
903
+ }), Oe = /* @__PURE__ */ ae(Tn, [["__scopeId", "data-v-a173daaf"]]), On = tt(), Nn = at();
904
904
  class Sn extends HTMLElement {
905
905
  vueApp;
906
906
  constructor() {