@konnectio/core 4.2.22 → 4.2.24

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-CwUn7-It.js → ActionField-DQSHl4P5.js} +2 -2
  2. package/dist/ActionField-DQSHl4P5.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-wF1iLhv5.js → AvailabilitySkeleton-iTh1cXM0.js} +5 -5
  4. package/dist/AvailabilitySkeleton-iTh1cXM0.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BMwrGnYy.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D4gq_yIB.js} +2 -2
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D4gq_yIB.js.br +0 -0
  7. package/dist/{CheckoutWindow-BO107mLq.js → CheckoutWindow-CZwosj_K.js} +2 -2
  8. package/dist/CheckoutWindow-CZwosj_K.js.br +0 -0
  9. package/dist/{ErrorMessage-CkeII6hz.js → ErrorMessage-Q-vhLJxb.js} +2 -2
  10. package/dist/ErrorMessage-Q-vhLJxb.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-PKidQdAn.js → EventAvailabilityForm-Dln-UKU0.js} +3 -3
  12. package/dist/EventAvailabilityForm-Dln-UKU0.js.br +0 -0
  13. package/dist/{Field-B7FDm5Rr.js → Field-QDM21IEX.js} +3 -3
  14. package/dist/Field-QDM21IEX.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CSN6czES.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BN2D-jcx.js} +2 -2
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-DgB3n7dH.js → SelectField.vue_vue_type_style_index_0_lang-Cje3bbGg.js} +117 -117
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-Cje3bbGg.js.br +0 -0
  18. package/dist/{TermsOfService-BiWRTVKf.js → TermsOfService-Bt6_gcR7.js} +3 -3
  19. package/dist/_-BLuuoSAa.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-BWNxK9qc.js → _.vue_vue_type_style_index_0_lang-D9o2CFtJ.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 +206 -197
  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-FmibKpLS.js → giftCard-B3P4BLxk.js} +2 -2
  34. package/dist/giftCard-B3P4BLxk.js.br +0 -0
  35. package/dist/hotel.js +8 -8
  36. package/dist/hotel.js.br +0 -0
  37. package/dist/{masonry.plugin-CAvgZtpB.js → masonry.plugin-Bd50J7zl.js} +8 -8
  38. package/dist/masonry.plugin-Bd50J7zl.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-CwUn7-It.js.br +0 -0
  43. package/dist/AvailabilitySkeleton-wF1iLhv5.js.br +0 -0
  44. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BMwrGnYy.js.br +0 -0
  45. package/dist/CheckoutWindow-BO107mLq.js.br +0 -0
  46. package/dist/ErrorMessage-CkeII6hz.js.br +0 -0
  47. package/dist/EventAvailabilityForm-PKidQdAn.js.br +0 -0
  48. package/dist/Field-B7FDm5Rr.js.br +0 -0
  49. package/dist/SelectField.vue_vue_type_style_index_0_lang-DgB3n7dH.js.br +0 -0
  50. package/dist/_-BPqwtc4x.js +0 -5
  51. package/dist/giftCard-FmibKpLS.js.br +0 -0
  52. package/dist/masonry.plugin-CAvgZtpB.js.br +0 -0
package/dist/event.js CHANGED
@@ -1,12 +1,12 @@
1
- import { d as U, u as K, s as q, c as W, r as Ce, a as p, b as l, g as e, w as m, q as Q, e as t, i as c, f as b, n as lt, h as r, t as o, F as I, v as M, o as ot, j as st, x as de, y as it, z as R, A as rt, S as ut, k as dt, _ as ct, l as mt, m as pt, p as vt } from "./mitt-gcxZCriv.js";
2
- import { a as Pe, f as oe, g as J, B as bt, h as ae, l as ft, s as z, e as ce, _ as Y, I as le, i as gt, j as me, u as De, k as kt, m as yt, n as ht, o as Z, T as ue, O as Dt, p as Pt, q as Ee, C as $t, r as wt, t as Et, v as Ot } from "./SelectField.vue_vue_type_style_index_0_lang-DgB3n7dH.js";
3
- import { G as Vt } from "./style-CzTnJo8X.js";
4
- import { _ as Tt } from "./_.vue_vue_type_style_index_0_lang-BWNxK9qc.js";
5
- import { B as _t, _ as Nt, R as Ft, L as Be, S as Lt, M as Ct, T as Bt, C as At, V as It, a as St } from "./masonry.plugin-CAvgZtpB.js";
6
- import { g as Rt, e as Mt, c as Ut, n as Gt, a as Oe, m as Ve, b as Te, d as _e, f as Ne, _ as Ht } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BMwrGnYy.js";
7
- import { C as zt, P as qt, a as Fe } from "./CheckoutWindow-BO107mLq.js";
8
- import { E as Yt } from "./EventAvailabilityForm-PKidQdAn.js";
9
- import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CSN6czES.js";
1
+ import { d as U, u as K, s as q, c as W, r as Be, a as p, b as l, g as e, w as m, q as Q, e as t, i as c, f as b, n as lt, h as r, t as o, F as I, v as M, o as ot, j as st, x as ce, y as it, z as R, A as rt, S as ut, k as dt, _ as ct, l as mt, m as pt, p as vt } from "./mitt-gcxZCriv.js";
2
+ import { a as $e, f as se, g as J, B as bt, h as le, l as ft, s as z, e as me, _ as Y, I as oe, i as gt, j as pe, u as Pe, k as kt, m as yt, n as ht, o as Z, T as de, O as Dt, p as Pt, q as Oe, C as $t, r as wt, t as Et, v as Ot } from "./SelectField.vue_vue_type_style_index_0_lang-Cje3bbGg.js";
3
+ import { G as _t } from "./style-CzTnJo8X.js";
4
+ import { _ as Tt } from "./_.vue_vue_type_style_index_0_lang-D9o2CFtJ.js";
5
+ import { B as Vt, _ as Nt, R as Ft, L as Ae, S as Lt, M as Ct, T as Bt, C as At, V as It, a as St } from "./masonry.plugin-Bd50J7zl.js";
6
+ import { g as Rt, e as Mt, c as Ut, n as Ht, a as _e, m as Te, b as Ve, d as Ne, f as Fe, _ as Gt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-D4gq_yIB.js";
7
+ import { C as zt, P as qt, a as Le } from "./CheckoutWindow-CZwosj_K.js";
8
+ import { E as Yt } from "./EventAvailabilityForm-Dln-UKU0.js";
9
+ import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BN2D-jcx.js";
10
10
  function jt(P) {
11
11
  return (n) => {
12
12
  const k = (P ? Math[P] : Math.trunc)(n);
@@ -20,13 +20,13 @@ function Wt(P, n, a) {
20
20
  const i = Object.assign({}, a, {
21
21
  addSuffix: a?.addSuffix,
22
22
  comparison: f
23
- }), [y, h] = Gt(
23
+ }), [y, h] = Ht(
24
24
  a?.in,
25
25
  ...f > 0 ? [n, P] : [P, n]
26
- ), s = jt("round"), _ = h.getTime() - y.getTime(), $ = _ / Ne, C = Oe(h) - Oe(y), V = (_ - C) / Ne, O = a?.unit;
26
+ ), s = jt("round"), V = h.getTime() - y.getTime(), $ = V / Fe, C = _e(h) - _e(y), _ = (V - C) / Fe, O = a?.unit;
27
27
  let D;
28
- if ($ < 1 ? D = "second" : $ < 60 ? D = "minute" : $ < Ve ? D = "hour" : V < Te ? D = "day" : V < _e ? D = "month" : D = "year", D === "second") {
29
- const w = s(_ / 1e3);
28
+ if ($ < 1 ? D = "second" : $ < 60 ? D = "minute" : $ < Te ? D = "hour" : _ < Ve ? D = "day" : _ < Ne ? D = "month" : D = "year", D === "second") {
29
+ const w = s(V / 1e3);
30
30
  return v.formatDistance("xSeconds", w, i);
31
31
  } else if (D === "minute") {
32
32
  const w = s($);
@@ -35,13 +35,13 @@ function Wt(P, n, a) {
35
35
  const w = s($ / 60);
36
36
  return v.formatDistance("xHours", w, i);
37
37
  } else if (D === "day") {
38
- const w = s(V / Ve);
38
+ const w = s(_ / Te);
39
39
  return v.formatDistance("xDays", w, i);
40
40
  } else if (D === "month") {
41
- const w = s(V / Te);
41
+ const w = s(_ / Ve);
42
42
  return w === 12 && O !== "month" ? v.formatDistance("xYears", 1, i) : v.formatDistance("xMonths", w, i);
43
43
  } else {
44
- const w = s(V / _e);
44
+ const w = s(_ / Ne);
45
45
  return v.formatDistance("xYears", w, i);
46
46
  }
47
47
  }
@@ -70,19 +70,19 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
70
70
  callback: {}
71
71
  },
72
72
  setup(P) {
73
- const { t: n } = K(), a = P, { display: k } = Pe(), {
73
+ const { t: n } = K(), a = P, { display: k } = $e(), {
74
74
  hideEventGuestAmount: v
75
- } = q(oe()), {
75
+ } = q(se()), {
76
76
  maxNumberOfPeople: f,
77
77
  numberOfPeople: i,
78
78
  eventId: y,
79
79
  currentEventDate: h,
80
80
  tableGroupId: s
81
81
  } = q(J()), {
82
- getTemplateAvailability: _,
82
+ getTemplateAvailability: V,
83
83
  getEventAvailability: $,
84
84
  isEventListingLoading: C
85
- } = J(), V = W(() => a.maxGuests || a.maxOnlineReservationLimit || f.value || 1 / 0), O = Ce(0), D = W(() => C(a.listingId)), w = () => {
85
+ } = J(), _ = W(() => a.maxGuests || a.maxOnlineReservationLimit || f.value || 1 / 0), O = Be(0), D = W(() => C(a.listingId)), w = () => {
86
86
  if (!a.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
87
87
  k({
88
88
  type: "error",
@@ -90,7 +90,7 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
90
90
  });
91
91
  return;
92
92
  }
93
- y.value = a.listingId, i.value = a.useNumberOfProductsForPersons ? NaN : O.value, _(a.callback);
93
+ y.value = a.listingId, i.value = a.useNumberOfProductsForPersons ? NaN : O.value, V(a.callback);
94
94
  }, X = () => {
95
95
  if (!a.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
96
96
  k({
@@ -101,7 +101,7 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
101
101
  }
102
102
  y.value = a.listingId, s.value = a.tableGroupId, i.value = a.useNumberOfProductsForPersons ? NaN : O.value, $(a.callback);
103
103
  };
104
- return (E, L) => (l(), p(_t, {
104
+ return (E, L) => (l(), p(Vt, {
105
105
  type: "event",
106
106
  "listing-id": E.listingId,
107
107
  gallery: E.gallery,
@@ -123,26 +123,26 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
123
123
  { "no-selectable-people": E.useNumberOfProductsForPersons }
124
124
  ])
125
125
  }, [
126
- E.useNumberOfProductsForPersons ? c("", !0) : (l(), p(ae, {
126
+ E.useNumberOfProductsForPersons ? c("", !0) : (l(), p(le, {
127
127
  key: 0,
128
128
  modelValue: O.value,
129
- "onUpdate:modelValue": L[0] || (L[0] = (G) => O.value = G),
129
+ "onUpdate:modelValue": L[0] || (L[0] = (H) => O.value = H),
130
130
  label: e(n)("event.numberOfGuests"),
131
131
  icon: "users",
132
132
  "icon-type": "fas",
133
133
  "icon-placement": "label",
134
- description: V.value <= 20 && !e(v) ? `${e(n)("general.availableFor")}: 1 - ${V.value} ${e(ft)(e(n)("general.guests"))}` : void 0,
134
+ description: _.value <= 20 && !e(v) ? `${e(n)("general.availableFor")}: 1 - ${_.value} ${e(ft)(e(n)("general.guests"))}` : void 0,
135
135
  "min-value": 0,
136
- "max-value": V.value
136
+ "max-value": _.value
137
137
  }, null, 8, ["modelValue", "label", "description", "max-value"])),
138
138
  t("div", Zt, [
139
- b(ce, {
139
+ b(me, {
140
140
  label: E.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
141
141
  disabled: E.soldOut,
142
142
  "is-loading": D.value,
143
143
  "full-width": "",
144
144
  "sub-label": e(z)(e(h)),
145
- onClickEvent: L[1] || (L[1] = (G) => E.type === "event" ? X() : w())
145
+ onClickEvent: L[1] || (L[1] = (H) => E.type === "event" ? X() : w())
146
146
  }, null, 8, ["label", "disabled", "is-loading", "sub-label"])
147
147
  ])
148
148
  ], 2)
@@ -151,7 +151,7 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
151
151
  _: 3
152
152
  }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout", "disable-deep-link"]));
153
153
  }
154
- }), Ae = /* @__PURE__ */ Y(Qt, [["__scopeId", "data-v-5bd6f82e"]]), Jt = { class: "konnectio-event-listing-information-new" };
154
+ }), Ie = /* @__PURE__ */ Y(Qt, [["__scopeId", "data-v-5bd6f82e"]]), Jt = { class: "konnectio-event-listing-information-new" };
155
155
  const Kt = {
156
156
  key: 1,
157
157
  class: "konnectio-pill-button"
@@ -184,7 +184,7 @@ const Kt = {
184
184
  const n = P, { t: a } = K(), {
185
185
  hideEventLength: k,
186
186
  hideEventEndTime: v
187
- } = q(oe()), f = W(() => {
187
+ } = q(se()), f = W(() => {
188
188
  if (!n.length)
189
189
  return;
190
190
  const i = n.length.split(":");
@@ -193,7 +193,7 @@ const Kt = {
193
193
  new Date(2e3, 0, 1, 0, 0, 0)
194
194
  );
195
195
  });
196
- return (i, y) => (l(), p(Ae, {
196
+ return (i, y) => (l(), p(Ie, {
197
197
  "listing-id": i.listingId,
198
198
  name: i.name,
199
199
  description: i.description,
@@ -216,7 +216,7 @@ const Kt = {
216
216
  c("", !0),
217
217
  !e(k) && f.value ? (l(), r("li", Kt, [
218
218
  t("div", null, [
219
- b(le, {
219
+ b(oe, {
220
220
  icon: "calendar-clock",
221
221
  color: "header"
222
222
  }),
@@ -226,13 +226,13 @@ const Kt = {
226
226
  ])) : c("", !0),
227
227
  i.timeFrom ? (l(), r("li", Xt, [
228
228
  t("div", null, [
229
- b(le, {
229
+ b(oe, {
230
230
  icon: "calendar-clock",
231
231
  color: "header"
232
232
  }),
233
233
  t("span", null, o(e(a)("event.startAndEndTime")), 1)
234
234
  ]),
235
- e(v) ? (l(), r("span", en, o(e(me)(i.timeFrom)), 1)) : (l(), r("span", xt, o(e(gt)(i.timeFrom, i.timeTo)), 1))
235
+ e(v) ? (l(), r("span", en, o(e(pe)(i.timeFrom)), 1)) : (l(), r("span", xt, o(e(gt)(i.timeFrom, i.timeTo)), 1))
236
236
  ])) : c("", !0)
237
237
  ])
238
238
  ]),
@@ -242,7 +242,7 @@ const Kt = {
242
242
  _: 3
243
243
  }, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "use-number-of-products-for-persons", "to-date", "sold-out", "callback"]));
244
244
  }
245
- }), pe = /* @__PURE__ */ Y(tn, [["__scopeId", "data-v-bd8a264c"]]), nn = {
245
+ }), ve = /* @__PURE__ */ Y(tn, [["__scopeId", "data-v-bd8a264c"]]), nn = {
246
246
  key: 0,
247
247
  class: "konnectio-event-grouped-listings-container"
248
248
  }, an = { class: "konnectio-event-grouped-listings" }, ln = /* @__PURE__ */ U({
@@ -264,14 +264,14 @@ const Kt = {
264
264
  timeTo: y,
265
265
  tableGroupId: h,
266
266
  description: s,
267
- soldOut: _,
267
+ soldOut: V,
268
268
  length: $,
269
269
  images: C,
270
- maxOnlineReservationLimit: V,
270
+ maxOnlineReservationLimit: _,
271
271
  maxPaxPerReservation: O,
272
272
  useNumberOfProductsForPersons: D,
273
273
  maxTicketsLimit: w
274
- }) => (l(), p(pe, {
274
+ }) => (l(), p(ve, {
275
275
  key: k,
276
276
  type: "event",
277
277
  "listing-id": k,
@@ -281,15 +281,15 @@ const Kt = {
281
281
  length: $,
282
282
  gallery: C,
283
283
  days: v,
284
- "max-online-reservation-limit": O || V || w,
284
+ "max-online-reservation-limit": O || _ || w,
285
285
  "time-from": i,
286
286
  "time-to": y,
287
- "sold-out": _,
287
+ "sold-out": V,
288
288
  "use-number-of-products-for-persons": D,
289
289
  callback: n.callback
290
290
  }, 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))
291
291
  ])
292
- ])) : n.events ? (l(), p(pe, {
292
+ ])) : n.events ? (l(), p(ve, {
293
293
  key: n.events[0].id,
294
294
  type: "event",
295
295
  "listing-id": n.events[0].id,
@@ -331,7 +331,7 @@ const Kt = {
331
331
  callback: { type: Function }
332
332
  },
333
333
  setup(P) {
334
- const { t: n } = K(), { updateEventDate: a } = De(), { display: k } = Pe(), v = Ce(), f = P;
334
+ const { t: n } = K(), { updateEventDate: a } = Pe(), { display: k } = $e(), v = Be(), f = P;
335
335
  function i() {
336
336
  v.value ? a(v.value) : k({
337
337
  message: n("alert.error.selectDate"),
@@ -341,7 +341,7 @@ const Kt = {
341
341
  const y = W(() => kt(f.fromDate, f.toDate) <= 1), h = W(() => [0, 1, 2, 3, 4, 5, 6].filter((s) => !yt(f.days).includes(s)));
342
342
  return ot(() => {
343
343
  y.value && (v.value = new Date(f.fromDate));
344
- }), (s, _) => (l(), p(pe, {
344
+ }), (s, V) => (l(), p(ve, {
345
345
  name: s.name,
346
346
  description: s.description,
347
347
  "from-date": s.fromDate,
@@ -364,9 +364,9 @@ const Kt = {
364
364
  action: m(() => [
365
365
  t("div", null, [
366
366
  t("div", sn, [
367
- b(Ht, {
367
+ b(Gt, {
368
368
  modelValue: v.value,
369
- "onUpdate:modelValue": _[0] || (_[0] = ($) => v.value = $),
369
+ "onUpdate:modelValue": V[0] || (V[0] = ($) => v.value = $),
370
370
  label: `${e(n)("event.selectDate")}*`,
371
371
  placeholder: e(n)("event.selectDate"),
372
372
  "icon-type": "fas",
@@ -378,7 +378,7 @@ const Kt = {
378
378
  "disabled-week-days": h.value
379
379
  }, null, 8, ["modelValue", "label", "placeholder", "readonly", "start-date", "min-date", "max-date", "disabled-week-days"]),
380
380
  t("div", rn, [
381
- b(ce, {
381
+ b(me, {
382
382
  label: e(n)("availability.buttonLabel"),
383
383
  onClick: st(i, ["prevent"])
384
384
  }, null, 8, ["label"])
@@ -386,10 +386,10 @@ const Kt = {
386
386
  ]),
387
387
  t("div", un, [
388
388
  y.value ? (l(), r("span", dn, [
389
- de("*" + o(e(n)("event.canBeBooked")) + " ", 1),
389
+ ce("*" + o(e(n)("event.canBeBooked")) + " ", 1),
390
390
  t("u", null, o(e(z)(s.fromDate)), 1)
391
391
  ])) : (l(), r("span", cn, [
392
- de("*" + o(e(n)("event.canBeBooked")) + " ", 1),
392
+ ce("*" + o(e(n)("event.canBeBooked")) + " ", 1),
393
393
  t("u", null, o(e(ht)(s.days)), 1)
394
394
  ]))
395
395
  ])
@@ -411,7 +411,7 @@ const Kt = {
411
411
  },
412
412
  setup(P) {
413
413
  const { t: n } = K();
414
- return (a, k) => (l(), p(pe, {
414
+ return (a, k) => (l(), p(ve, {
415
415
  name: a.name,
416
416
  description: a.description,
417
417
  "from-date": a.fromDate,
@@ -447,7 +447,7 @@ const Kt = {
447
447
  callback: {}
448
448
  },
449
449
  setup(P) {
450
- return (n, a) => (l(), p(Ae, {
450
+ return (n, a) => (l(), p(Ie, {
451
451
  "listing-id": n.listingId,
452
452
  gallery: n.images,
453
453
  name: n.name,
@@ -458,10 +458,13 @@ const Kt = {
458
458
  callback: n.callback
459
459
  }, null, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
460
460
  }
461
- }), kn = { key: 0 }, yn = { key: 1 }, hn = { key: 2 }, Dn = { key: 0 }, Pn = { key: 4 }, $n = { key: 5 }, wn = { key: 0 }, En = { key: 0 }, On = { key: 1 }, Vn = {
461
+ }), kn = {
462
+ key: 0,
463
+ class: "konnectio-panel konnectio-reservation-notice-mobile"
464
+ }, yn = ["innerHTML"], hn = { key: 0 }, Dn = { key: 1 }, Pn = { key: 2 }, $n = { key: 0 }, wn = { key: 4 }, En = { key: 5 }, On = { key: 0 }, _n = { key: 0 }, Tn = { key: 1 }, Vn = {
462
465
  key: 0,
463
466
  class: "konnectio-capitalize"
464
- }, Tn = /* @__PURE__ */ U({
467
+ }, Nn = /* @__PURE__ */ U({
465
468
  __name: "EventReservationForm",
466
469
  props: {
467
470
  showGiftCard: { type: Boolean, default: !1 },
@@ -477,44 +480,50 @@ const Kt = {
477
480
  numberOfTotalDays: y,
478
481
  isTemplateEvent: h,
479
482
  currentEventDate: s,
480
- length: _,
483
+ length: V,
481
484
  fromDate: $,
482
485
  tableBasePrice: C,
483
- getTemplateData: V,
486
+ getTemplateData: _,
484
487
  basePrice: O,
485
488
  totalPrice: D,
486
489
  weekendFee: w,
487
490
  roomUpgrade: X,
488
491
  discountCode: E,
489
492
  totalSelectedProducts: L
490
- } = q(J()), { totalAddonPrice: G, validateDiscountCode: ve } = J(), { currency: se, hideEventLength: be } = q(oe());
491
- return (H, ie) => (l(), p(Ft, {
493
+ } = q(J()), { totalAddonPrice: H, validateDiscountCode: be } = J(), { currency: ie, hideEventLength: fe } = q(se()), x = n("event.reservationNotice");
494
+ return (G, re) => (l(), p(Ft, {
492
495
  "discount-code": e(E),
493
- "onUpdate:discountCode": ie[0] || (ie[0] = (j) => R(E) ? E.value = j : null),
494
- "validate-discount-code": e(ve),
495
- "show-gift-card": H.showGiftCard,
496
- "show-terms-notice": H.showTermsNotice,
496
+ "onUpdate:discountCode": re[0] || (re[0] = (j) => R(E) ? E.value = j : null),
497
+ "validate-discount-code": e(be),
498
+ "show-gift-card": G.showGiftCard,
499
+ "show-terms-notice": G.showTermsNotice,
497
500
  "is-sidebar-loading": !e(k),
498
501
  "base-price": e(O),
499
502
  "total-price": e(D),
500
503
  "weekend-fee": e(w),
501
504
  "room-upgrade": e(X),
502
- notice: e(n)("event.reservationNotice"),
503
- "prev-callback": H.prevCallback
505
+ notice: e(x),
506
+ "prev-callback": G.prevCallback
504
507
  }, rt({
505
508
  form: m(() => [
506
- Q(H.$slots, "form", {}, void 0, !0)
509
+ Q(G.$slots, "form", {}, void 0, !0),
510
+ e(x) ? (l(), r("div", kn, [
511
+ t("p", {
512
+ innerHTML: e(x),
513
+ class: "konnectio-wysiwyg"
514
+ }, null, 8, yn)
515
+ ])) : c("", !0)
507
516
  ]),
508
517
  "reservation-summary": m(() => [
509
- e(h) ? c("", !0) : (l(), r("li", kn, [
518
+ e(h) ? c("", !0) : (l(), r("li", hn, [
510
519
  t("span", null, o(e(n)("general.date")), 1),
511
520
  t("b", null, o(e(z)(e(s))), 1)
512
521
  ])),
513
- e(f) > 0 ? (l(), r("li", yn, [
522
+ e(f) > 0 ? (l(), r("li", Dn, [
514
523
  t("span", null, o(e(n)("event.numberOfGuests")), 1),
515
524
  t("b", null, o(e(f)), 1)
516
525
  ])) : c("", !0),
517
- !e(h) && e(L) > 0 ? (l(), r("li", hn, [
526
+ !e(h) && e(L) > 0 ? (l(), r("li", Pn, [
518
527
  t("span", null, o(e(n)("event.numberOfProducts")), 1),
519
528
  t("b", null, o(e(L)), 1)
520
529
  ])) : c("", !0),
@@ -531,39 +540,39 @@ const Kt = {
531
540
  t("span", null, o(e(n)("event.numberOfRooms")), 1),
532
541
  t("b", null, o(e(i)), 1)
533
542
  ]),
534
- e(y) > 0 ? (l(), r("li", Dn, [
543
+ e(y) > 0 ? (l(), r("li", $n, [
535
544
  t("span", null, o(e(n)("event.numberOfDays")), 1),
536
545
  t("b", null, o(e(y)), 1)
537
546
  ])) : c("", !0)
538
547
  ], 64)) : c("", !0),
539
- !e(h) && e(v) ? (l(), r("li", Pn, [
548
+ !e(h) && e(v) ? (l(), r("li", wn, [
540
549
  t("span", null, o(e(n)("event.startOfEvent")), 1),
541
- t("b", null, o(e(me)(e(v))), 1)
550
+ t("b", null, o(e(pe)(e(v))), 1)
542
551
  ])) : c("", !0),
543
- !e(h) && e(_) && !e(be) ? (l(), r("li", $n, [
552
+ !e(h) && e(V) && !e(fe) ? (l(), r("li", En, [
544
553
  t("span", null, o(e(n)("event.lengthOfEvent")), 1),
545
- t("b", null, o(e(me)(e(_))), 1)
554
+ t("b", null, o(e(pe)(e(V))), 1)
546
555
  ])) : c("", !0)
547
556
  ]),
548
557
  "price-summary": m(() => [
549
- !e(h) && e(C) > 0 ? (l(), r("li", wn, [
558
+ !e(h) && e(C) > 0 ? (l(), r("li", On, [
550
559
  t("span", null, o(e(n)("booking.availability.basePrice")), 1),
551
- t("b", null, o(e(Z)(e(C), e(se))), 1)
560
+ t("b", null, o(e(Z)(e(C), e(ie))), 1)
552
561
  ])) : c("", !0),
553
- e(V) ? (l(!0), r(I, { key: 1 }, M(e(V), ({ roomGroupId: j }, x) => (l(), r(I, null, [
554
- e(G)(j, x) > 0 ? (l(), r("li", { key: j }, [
555
- t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(x + 1), 1),
556
- t("b", null, o(e(Z)(e(G)(j, x), e(se))), 1)
562
+ e(_) ? (l(!0), r(I, { key: 1 }, M(e(_), ({ roomGroupId: j }, ee) => (l(), r(I, null, [
563
+ e(H)(j, ee) > 0 ? (l(), r("li", { key: j }, [
564
+ t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(ee + 1), 1),
565
+ t("b", null, o(e(Z)(e(H)(j, ee), e(ie))), 1)
557
566
  ])) : c("", !0)
558
567
  ], 64))), 256)) : c("", !0)
559
568
  ]),
560
569
  navigation: m(() => [
561
- Q(H.$slots, "navigation", {}, void 0, !0)
570
+ Q(G.$slots, "navigation", {}, void 0, !0)
562
571
  ]),
563
572
  "mobile-under-price": m(() => [
564
- e(h) && e(y) > 0 ? (l(), r("div", En, [
573
+ e(h) && e(y) > 0 ? (l(), r("div", _n, [
565
574
  t("span", null, o(e(z)(e($))) + " - " + o(e(z)(e($), e(y))), 1)
566
- ])) : (l(), r("div", On, [
575
+ ])) : (l(), r("div", Tn, [
567
576
  t("span", null, o(e(z)(e(s))), 1)
568
577
  ]))
569
578
  ]),
@@ -575,38 +584,38 @@ const Kt = {
575
584
  e(a).sidebar ? {
576
585
  name: "sidebar",
577
586
  fn: m(() => [
578
- Q(H.$slots, "sidebar", {}, void 0, !0)
587
+ Q(G.$slots, "sidebar", {}, void 0, !0)
579
588
  ]),
580
589
  key: "0"
581
590
  } : void 0
582
591
  ]), 1032, ["discount-code", "validate-discount-code", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "notice", "prev-callback"]));
583
592
  }
584
- }), he = /* @__PURE__ */ Y(Tn, [["__scopeId", "data-v-9b28e490"]]), _n = { class: "event-skeleton" }, Nn = { class: "event-skeleton-content" }, Fn = { class: "event-skeleton-sidebar" }, Ln = /* @__PURE__ */ U({
593
+ }), De = /* @__PURE__ */ Y(Nn, [["__scopeId", "data-v-32d9183d"]]), Fn = { class: "event-skeleton" }, Ln = { class: "event-skeleton-content" }, Cn = { class: "event-skeleton-sidebar" }, Bn = /* @__PURE__ */ U({
585
594
  __name: "EventSkeleton",
586
595
  setup(P) {
587
- return (n, a) => (l(), r("div", _n, [
588
- t("div", Nn, [
589
- b(Be)
596
+ return (n, a) => (l(), r("div", Fn, [
597
+ t("div", Ln, [
598
+ b(Ae)
590
599
  ]),
591
- t("div", Fn, [
600
+ t("div", Cn, [
592
601
  c("", !0),
593
602
  b(Lt)
594
603
  ])
595
604
  ]));
596
605
  }
597
- }), Cn = /* @__PURE__ */ Y(Ln, [["__scopeId", "data-v-3e15c4e3"]]), Bn = {
606
+ }), An = /* @__PURE__ */ Y(Bn, [["__scopeId", "data-v-3e15c4e3"]]), In = {
598
607
  key: 0,
599
608
  id: "konnectio-event-listings-wrapper"
600
- }, An = {
609
+ }, Sn = {
601
610
  key: 1,
602
611
  class: "konnectio-hotel-availability-title"
603
- }, In = { class: "konnectio-event-listings" }, Sn = { class: "konnectio-hotel-availability-title" }, Rn = { class: "konnectio-event-listings" }, Mn = ["innerHTML"], Un = { class: "konnectio-panel" }, Gn = {
612
+ }, Rn = { class: "konnectio-event-listings" }, Mn = { class: "konnectio-hotel-availability-title" }, Un = { class: "konnectio-event-listings" }, Hn = ["innerHTML"], Gn = { class: "konnectio-panel" }, zn = {
604
613
  key: 0,
605
614
  id: "konnectio-event-addons"
606
- }, Hn = { class: "konnectio-table with-lines" }, zn = { class: "konnectio-event-addons-price" }, qn = { class: "konnectio-event-addons-input" }, Yn = { class: "konnectio-event-addons-price" }, jn = { class: "konnectio-event-addons-price" }, Wn = {
615
+ }, qn = { class: "konnectio-table with-lines" }, Yn = { class: "konnectio-event-addons-price" }, jn = { class: "konnectio-event-addons-input" }, Wn = { class: "konnectio-event-addons-price" }, Zn = { class: "konnectio-event-addons-price" }, Qn = {
607
616
  key: 1,
608
617
  class: "konnectio-table with-lines without-header"
609
- }, Zn = { class: "konnectio-table-addons-information" }, Qn = { key: 0 }, Jn = { class: "konnectio-table-addons-option" }, Kn = { class: "konnectio-panel" }, Xn = /* @__PURE__ */ U({
618
+ }, Jn = { class: "konnectio-table-addons-information" }, Kn = { key: 0 }, Xn = { class: "konnectio-table-addons-option" }, xn = { class: "konnectio-panel" }, ea = /* @__PURE__ */ U({
610
619
  name: "EventLayout",
611
620
  __name: "Event",
612
621
  props: {
@@ -630,38 +639,38 @@ const Kt = {
630
639
  numberOfHighChairs: y,
631
640
  name: h,
632
641
  phone: s,
633
- email: _,
642
+ email: V,
634
643
  remark: $,
635
644
  allergies: C,
636
- arrivalTime: V,
645
+ arrivalTime: _,
637
646
  hasEvents: O,
638
647
  hasTemplates: D,
639
648
  getEvents: w,
640
649
  getTemplates: X,
641
650
  getEventData: E,
642
651
  getTemplateData: L,
643
- getEventTableData: G,
644
- hasProducts: ve,
645
- eventRateType: se,
646
- areListingsAvailable: be,
647
- isAvailabilityDataAvailable: H,
648
- hasListingData: ie,
649
- isPaymentLoading: j,
650
- isReservationFormFilled: x,
651
- requiresArrivalTime: Ie,
652
+ getEventTableData: H,
653
+ hasProducts: be,
654
+ eventRateType: ie,
655
+ areListingsAvailable: fe,
656
+ isAvailabilityDataAvailable: x,
657
+ hasListingData: G,
658
+ isPaymentLoading: re,
659
+ isReservationFormFilled: j,
660
+ requiresArrivalTime: ee,
652
661
  hasSelectedRequiredProducts: Se,
653
- getUnavailableEvents: fe,
654
- hasFallbackEvents: $e,
662
+ getUnavailableEvents: ge,
663
+ hasFallbackEvents: we,
655
664
  getFallbackEvents: Re
656
- } = q(J()), { currency: re } = q(oe()), { setActiveIdFilter: Me } = oe(), { eventDate: Ue, eventLocation: Ge } = q(De()), { isValidRestaurantId: He } = De(), {
665
+ } = q(J()), { currency: ue } = q(se()), { setActiveIdFilter: Me } = se(), { eventDate: Ue, eventLocation: He } = q(Pe()), { isValidRestaurantId: Ge } = Pe(), {
657
666
  initialize: ze,
658
667
  fetchListings: qe,
659
668
  createBooking: Ye,
660
669
  localAddonPrice: je,
661
670
  totalAddonPrice: We,
662
671
  reset: Ze,
663
- goBack: we
664
- } = J(), { display: ge } = Pe(), Qe = W(() => [
672
+ goBack: Ee
673
+ } = J(), { display: ke } = $e(), Qe = W(() => [
665
674
  {
666
675
  id: "availability",
667
676
  label: a("booking.availability.title"),
@@ -689,9 +698,9 @@ const Kt = {
689
698
  }
690
699
  ]), Je = W(() => {
691
700
  const g = [];
692
- return G.value && G.value.forEach((d) => {
701
+ return H.value && H.value.forEach((d) => {
693
702
  g.find((F) => F.value === d.time) || g.push({
694
- label: me(d.time),
703
+ label: pe(d.time),
695
704
  value: d.time
696
705
  });
697
706
  }), g;
@@ -706,16 +715,16 @@ const Kt = {
706
715
  if (F)
707
716
  if (Et(F)) {
708
717
  const u = new Date(F), B = u.setHours(12, 0, 0, 0), S = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
709
- B >= S ? Ue.value = u : (ge({
718
+ B >= S ? Ue.value = u : (ke({
710
719
  message: a("alert.error.invalidDateRange"),
711
720
  type: "error"
712
721
  }), g.d = void 0);
713
722
  } else
714
- ge({
723
+ ke({
715
724
  message: a("alert.error.wrongDateFormat"),
716
725
  type: "error"
717
726
  });
718
- isNaN(d) || (He(d) ? Ge.value = d : (g.rid = void 0, ge({
727
+ isNaN(d) || (Ge(d) ? He.value = d : (g.rid = void 0, ke({
719
728
  message: a("alert.error.hotelIdNotFound"),
720
729
  type: "error"
721
730
  }))), isNaN(T) || Me(T), qe();
@@ -735,7 +744,7 @@ const Kt = {
735
744
  onReset: Ke
736
745
  }, {
737
746
  availability: m(({ next: F }) => [
738
- b(he, null, {
747
+ b(De, null, {
739
748
  sidebar: m(() => [
740
749
  b(Yt, {
741
750
  redirection: !1,
@@ -744,8 +753,8 @@ const Kt = {
744
753
  }, null, 8, ["selected-location", "hide-locations"])
745
754
  ]),
746
755
  form: m(() => [
747
- e(ie) && e(be) ? (l(), r("div", Bn, [
748
- e($e) ? (l(!0), r(I, { key: 0 }, M(e(Re), ({
756
+ e(G) && e(fe) ? (l(), r("div", In, [
757
+ e(we) ? (l(!0), r(I, { key: 0 }, M(e(Re), ({
749
758
  id: T,
750
759
  name: u,
751
760
  description: B,
@@ -759,15 +768,15 @@ const Kt = {
759
768
  gallery: S,
760
769
  callback: F
761
770
  }, null, 8, ["listing-id", "description", "name", "gallery", "callback"]))), 128)) : c("", !0),
762
- e(O) && e(fe).length > 0 ? (l(), r("h2", An, [
763
- b(le, {
771
+ e(O) && e(ge).length > 0 ? (l(), r("h2", Sn, [
772
+ b(oe, {
764
773
  icon: "calendar-clock",
765
774
  type: "fal",
766
775
  color: "header"
767
776
  }),
768
777
  t("span", null, o(e(a)("event.availableNow")), 1)
769
778
  ])) : c("", !0),
770
- t("ul", In, [
779
+ t("ul", Rn, [
771
780
  e(O) && g.onlyShow !== "templates" ? (l(!0), r(I, { key: 0 }, M(e(w), (T) => (l(), p(on, {
772
781
  name: T.name,
773
782
  events: T.events,
@@ -780,14 +789,14 @@ const Kt = {
780
789
  toDate: S,
781
790
  minimumPersonCount: N,
782
791
  fromPrice: A,
783
- description: ee,
784
- images: te
792
+ description: te,
793
+ images: ne
785
794
  }) => (l(), p(gn, {
786
795
  key: T,
787
796
  "listing-id": T,
788
797
  name: u,
789
- images: te,
790
- description: ee,
798
+ images: ne,
799
+ description: te,
791
800
  "from-date": B,
792
801
  "to-date": S,
793
802
  "minimum-person-count": N,
@@ -795,28 +804,28 @@ const Kt = {
795
804
  callback: F
796
805
  }, null, 8, ["listing-id", "name", "images", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128)) : c("", !0)
797
806
  ]),
798
- e(fe).length > 0 && g.onlyShow !== "templates" ? (l(), r(I, { key: 2 }, [
799
- t("h2", Sn, [
800
- b(le, {
807
+ e(ge).length > 0 && g.onlyShow !== "templates" ? (l(), r(I, { key: 2 }, [
808
+ t("h2", Mn, [
809
+ b(oe, {
801
810
  icon: "calendar-circle-exclamation",
802
811
  type: "fal",
803
812
  color: "header"
804
813
  }),
805
814
  t("span", null, o(e(a)("event.availableLater")), 1)
806
815
  ]),
807
- t("ul", Rn, [
808
- (l(!0), r(I, null, M(e(fe), ({
816
+ t("ul", Un, [
817
+ (l(!0), r(I, null, M(e(ge), ({
809
818
  id: T,
810
819
  days: u,
811
820
  name: B,
812
821
  timeFrom: S,
813
822
  timeTo: N,
814
823
  fromDate: A,
815
- toDate: ee,
816
- tableGroupId: te,
817
- description: ke,
818
- soldOut: ye,
819
- length: ne,
824
+ toDate: te,
825
+ tableGroupId: ne,
826
+ description: ye,
827
+ soldOut: he,
828
+ length: ae,
820
829
  images: xe,
821
830
  maxOnlineReservationLimit: et,
822
831
  maxPaxPerReservation: tt,
@@ -826,44 +835,44 @@ const Kt = {
826
835
  key: T,
827
836
  type: "event",
828
837
  "listing-id": T,
829
- "table-group-id": te,
830
- description: ke,
838
+ "table-group-id": ne,
839
+ description: ye,
831
840
  name: B,
832
- length: ne,
841
+ length: ae,
833
842
  gallery: xe,
834
843
  days: u,
835
844
  "from-date": A,
836
- "to-date": ee,
845
+ "to-date": te,
837
846
  "max-online-reservation-limit": tt || et || at,
838
847
  "time-from": S,
839
848
  "time-to": N,
840
- "sold-out": ye,
849
+ "sold-out": he,
841
850
  "use-number-of-products-for-persons": nt,
842
851
  callback: F
843
852
  }, 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))
844
853
  ])
845
854
  ], 64)) : c("", !0),
846
- (!e(O) && !e(D) || !e(O) && g.onlyShow === "events" || !e(D) && g.onlyShow === "templates") && !e($e) ? (l(), r("div", {
855
+ (!e(O) && !e(D) || !e(O) && g.onlyShow === "events" || !e(D) && g.onlyShow === "templates") && !e(we) ? (l(), r("div", {
847
856
  key: 3,
848
857
  class: "konnectio-panel",
849
858
  innerHTML: e(a)("event.nothingAvailable")
850
- }, null, 8, Mn)) : c("", !0)
851
- ])) : (l(), p(Be, { key: 1 }))
859
+ }, null, 8, Hn)) : c("", !0)
860
+ ])) : (l(), p(Ae, { key: 1 }))
852
861
  ]),
853
862
  _: 2
854
863
  }, 1024)
855
864
  ]),
856
865
  addons: m(({ next: F, prev: T }) => [
857
- e(H) ? (l(), p(he, {
866
+ e(x) ? (l(), p(De, {
858
867
  key: 0,
859
- "prev-callback": () => e(we)(T)
868
+ "prev-callback": () => e(Ee)(T)
860
869
  }, {
861
870
  form: m(() => [
862
- t("form", Un, [
871
+ t("form", Gn, [
863
872
  t("h2", null, [
864
873
  t("span", null, o(e(a)("event.selectProducts")), 1)
865
874
  ]),
866
- e(L) && e(L).length > 0 ? (l(), r("ul", Gn, [
875
+ e(L) && e(L).length > 0 ? (l(), r("ul", zn, [
867
876
  (l(!0), r(I, null, M(e(L), ({
868
877
  roomGroupId: u,
869
878
  addons: B,
@@ -871,22 +880,22 @@ const Kt = {
871
880
  }, N) => (l(), r("li", { key: u }, [
872
881
  t("h5", null, [
873
882
  t("span", null, o(e(a)("booking.reservation.room")) + " #" + o(N + 1), 1),
874
- d[9] || (d[9] = de(" (")),
875
- b(le, {
883
+ d[9] || (d[9] = ce(" (")),
884
+ b(oe, {
876
885
  icon: "male",
877
886
  type: "fas",
878
887
  color: "header"
879
888
  }),
880
- de(" " + o(S) + ") ", 1)
889
+ ce(" " + o(S) + ") ", 1)
881
890
  ]),
882
- t("table", Hn, [
891
+ t("table", qn, [
883
892
  t("thead", null, [
884
893
  t("tr", null, [
885
894
  t("th", null, [
886
895
  t("span", null, o(e(a)("booking.reservation.addons")), 1)
887
896
  ]),
888
897
  d[10] || (d[10] = t("th", { class: "konnectio-event-addons-input" }, null, -1)),
889
- t("th", zn, [
898
+ t("th", Yn, [
890
899
  t("span", null, o(e(a)("booking.availability.price")), 1)
891
900
  ])
892
901
  ])
@@ -894,32 +903,32 @@ const Kt = {
894
903
  t("tbody", null, [
895
904
  (l(!0), r(I, null, M(B, ({
896
905
  id: A,
897
- cardinality: ee,
898
- name: te,
899
- price: ke,
900
- quantityStrategy: ye
906
+ cardinality: te,
907
+ name: ne,
908
+ price: ye,
909
+ quantityStrategy: he
901
910
  }) => (l(), r("tr", { key: A }, [
902
911
  t("td", null, [
903
- t("b", null, o(te), 1),
912
+ t("b", null, o(ne), 1),
904
913
  d[11] || (d[11] = t("br", null, null, -1)),
905
- t("span", null, o(e(Z)(ke, e(re))) + " " + o(e(Pt)(ye)), 1)
914
+ t("span", null, o(e(Z)(ye, e(ue))) + " " + o(e(Pt)(he)), 1)
906
915
  ]),
907
- t("td", qn, [
908
- ee === 3 ? (l(), p(ae, {
916
+ t("td", jn, [
917
+ te === 3 ? (l(), p(le, {
909
918
  key: 0,
910
919
  modelValue: e(k)[`${u}.${A}.${N}`],
911
- "onUpdate:modelValue": (ne) => e(k)[`${u}.${A}.${N}`] = ne,
920
+ "onUpdate:modelValue": (ae) => e(k)[`${u}.${A}.${N}`] = ae,
912
921
  small: !0,
913
922
  "min-value": 0
914
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), p(Fe, {
923
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), p(Le, {
915
924
  key: 1,
916
925
  modelValue: e(k)[`${u}.${A}.${N}`],
917
- "onUpdate:modelValue": (ne) => e(k)[`${u}.${A}.${N}`] = ne,
926
+ "onUpdate:modelValue": (ae) => e(k)[`${u}.${A}.${N}`] = ae,
918
927
  numeric: !0
919
928
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
920
929
  ]),
921
- t("td", Yn, [
922
- t("span", null, o(e(Z)(e(je)(A, u, N), e(re))), 1)
930
+ t("td", Wn, [
931
+ t("span", null, o(e(Z)(e(je)(A, u, N), e(ue))), 1)
923
932
  ])
924
933
  ]))), 128))
925
934
  ]),
@@ -927,9 +936,9 @@ const Kt = {
927
936
  t("tr", null, [
928
937
  d[12] || (d[12] = t("td", null, null, -1)),
929
938
  d[13] || (d[13] = t("td", null, null, -1)),
930
- t("td", jn, [
939
+ t("td", Zn, [
931
940
  t("u", null, [
932
- t("span", null, o(e(Z)(e(We)(u, N), e(re))), 1)
941
+ t("span", null, o(e(Z)(e(We)(u, N), e(ue))), 1)
933
942
  ])
934
943
  ])
935
944
  ])
@@ -937,18 +946,18 @@ const Kt = {
937
946
  ])
938
947
  ]))), 128))
939
948
  ])) : c("", !0),
940
- e(ve) ? (l(), r("table", Wn, [
949
+ e(be) ? (l(), r("table", Qn, [
941
950
  t("tbody", null, [
942
951
  (l(!0), r(I, null, M(e(E).products, ({ id: u, name: B, price: S, description: N }) => (l(), r("tr", { key: u }, [
943
- t("td", Zn, [
952
+ t("td", Jn, [
944
953
  t("b", null, [
945
- t("span", null, o(e(Ee)(B)), 1)
954
+ t("span", null, o(e(Oe)(B)), 1)
946
955
  ]),
947
- N && N !== B ? (l(), r("span", Qn, o(e(Ee)(N)), 1)) : c("", !0),
948
- t("u", null, o(e(Z)(S, e(re))), 1)
956
+ N && N !== B ? (l(), r("span", Kn, o(e(Oe)(N)), 1)) : c("", !0),
957
+ t("u", null, o(e(Z)(S, e(ue))), 1)
949
958
  ]),
950
- t("td", Jn, [
951
- b(ae, {
959
+ t("td", Xn, [
960
+ b(le, {
952
961
  modelValue: e(v)[u],
953
962
  "onUpdate:modelValue": (A) => e(v)[u] = A,
954
963
  small: !0,
@@ -961,7 +970,7 @@ const Kt = {
961
970
  ])
962
971
  ]),
963
972
  navigation: m(() => [
964
- b(ce, {
973
+ b(me, {
965
974
  label: e(a)("event.startReservation"),
966
975
  disabled: !e(Se),
967
976
  "full-width": "",
@@ -972,17 +981,17 @@ const Kt = {
972
981
  }, 1032, ["prev-callback"])) : c("", !0)
973
982
  ]),
974
983
  reservation: m(({ next: F, prev: T }) => [
975
- b(he, {
984
+ b(De, {
976
985
  "show-terms-notice": !0,
977
986
  "show-gift-card": !0,
978
- "prev-callback": () => e(we)(T)
987
+ "prev-callback": () => e(Ee)(T)
979
988
  }, {
980
989
  form: m(() => [
981
- t("form", Kn, [
990
+ t("form", xn, [
982
991
  t("h2", null, [
983
992
  t("span", null, o(e(a)("booking.reservation.detailsTitle")), 1)
984
993
  ]),
985
- b(ue, {
994
+ b(de, {
986
995
  modelValue: e(h),
987
996
  "onUpdate:modelValue": d[0] || (d[0] = (u) => R(h) ? h.value = u : null),
988
997
  type: "text",
@@ -991,9 +1000,9 @@ const Kt = {
991
1000
  placeholder: e(a)("booking.reservation.namePlaceholder"),
992
1001
  required: ""
993
1002
  }, null, 8, ["modelValue", "label", "placeholder"]),
994
- b(ue, {
995
- modelValue: e(_),
996
- "onUpdate:modelValue": d[1] || (d[1] = (u) => R(_) ? _.value = u : null),
1003
+ b(de, {
1004
+ modelValue: e(V),
1005
+ "onUpdate:modelValue": d[1] || (d[1] = (u) => R(V) ? V.value = u : null),
997
1006
  label: e(a)("booking.reservation.email"),
998
1007
  type: "email",
999
1008
  name: "email",
@@ -1010,16 +1019,16 @@ const Kt = {
1010
1019
  placeholder: e(a)("booking.reservation.phonePlaceholder"),
1011
1020
  required: ""
1012
1021
  }, null, 8, ["modelValue", "label", "placeholder"]),
1013
- e(Ie) ? (l(), p(At, {
1022
+ e(ee) ? (l(), p(At, {
1014
1023
  key: 0,
1015
- modelValue: e(V),
1016
- "onUpdate:modelValue": d[3] || (d[3] = (u) => R(V) ? V.value = u : null),
1024
+ modelValue: e(_),
1025
+ "onUpdate:modelValue": d[3] || (d[3] = (u) => R(_) ? _.value = u : null),
1017
1026
  label: e(a)("event.selectArrivalTime"),
1018
1027
  name: "eventTimeTable",
1019
1028
  checkboxes: Je.value,
1020
1029
  required: ""
1021
1030
  }, null, 8, ["modelValue", "label", "checkboxes"])) : c("", !0),
1022
- e(se) === e(Dt).FullDayEvent ? (l(), p(ae, {
1031
+ e(ie) === e(Dt).FullDayEvent ? (l(), p(le, {
1023
1032
  key: 1,
1024
1033
  modelValue: e(f),
1025
1034
  "onUpdate:modelValue": d[4] || (d[4] = (u) => R(f) ? f.value = u : null),
@@ -1027,7 +1036,7 @@ const Kt = {
1027
1036
  "min-value": 1,
1028
1037
  required: ""
1029
1038
  }, null, 8, ["modelValue", "label"])) : c("", !0),
1030
- g.showHighChairs === "yes" ? (l(), p(ae, {
1039
+ g.showHighChairs === "yes" ? (l(), p(le, {
1031
1040
  key: 2,
1032
1041
  modelValue: e(y),
1033
1042
  "onUpdate:modelValue": d[5] || (d[5] = (u) => R(y) ? y.value = u : null),
@@ -1035,13 +1044,13 @@ const Kt = {
1035
1044
  icon: "baby",
1036
1045
  "no-optional-label": !1
1037
1046
  }, null, 8, ["modelValue", "label"])) : c("", !0),
1038
- g.showFlagOnTable === "yes" ? (l(), p(Fe, {
1047
+ g.showFlagOnTable === "yes" ? (l(), p(Le, {
1039
1048
  key: 3,
1040
1049
  modelValue: e(i),
1041
1050
  "onUpdate:modelValue": d[6] || (d[6] = (u) => R(i) ? i.value = u : null),
1042
1051
  label: e(a)("event.flagOnTable")
1043
1052
  }, null, 8, ["modelValue", "label"])) : c("", !0),
1044
- g.hideRemarks !== "yes" ? (l(), p(ue, {
1053
+ g.hideRemarks !== "yes" ? (l(), p(de, {
1045
1054
  key: 4,
1046
1055
  modelValue: e($),
1047
1056
  "onUpdate:modelValue": d[7] || (d[7] = (u) => R($) ? $.value = u : null),
@@ -1050,7 +1059,7 @@ const Kt = {
1050
1059
  icon: "info-circle",
1051
1060
  placeholder: e(a)("booking.reservation.remarkPlaceholder")
1052
1061
  }, null, 8, ["modelValue", "label", "placeholder"])) : c("", !0),
1053
- g.hideAllergies !== "yes" ? (l(), p(ue, {
1062
+ g.hideAllergies !== "yes" ? (l(), p(de, {
1054
1063
  key: 5,
1055
1064
  modelValue: e(C),
1056
1065
  "onUpdate:modelValue": d[8] || (d[8] = (u) => R(C) ? C.value = u : null),
@@ -1062,10 +1071,10 @@ const Kt = {
1062
1071
  ])
1063
1072
  ]),
1064
1073
  navigation: m(() => [
1065
- b(ce, {
1074
+ b(me, {
1066
1075
  label: e(a)("general.confirmReservation"),
1067
- "is-loading": e(j),
1068
- disabled: !e(x),
1076
+ "is-loading": e(re),
1077
+ disabled: !e(j),
1069
1078
  "full-width": "",
1070
1079
  onClickEvent: (u) => e(Ye)(F)
1071
1080
  }, null, 8, ["label", "is-loading", "disabled", "onClickEvent"])
@@ -1088,7 +1097,7 @@ const Kt = {
1088
1097
  }, 8, ["access-token", "callback"])
1089
1098
  ]),
1090
1099
  fallback: m(() => [
1091
- b(Cn)
1100
+ b(An)
1092
1101
  ]),
1093
1102
  _: 1
1094
1103
  }))
@@ -1096,8 +1105,8 @@ const Kt = {
1096
1105
  _: 1
1097
1106
  }, 8, ["styling"]));
1098
1107
  }
1099
- }), Le = /* @__PURE__ */ Y(Xn, [["__scopeId", "data-v-55115e88"]]), xn = dt(), ea = ct, ta = ea();
1100
- class na extends HTMLElement {
1108
+ }), Ce = /* @__PURE__ */ Y(ea, [["__scopeId", "data-v-55115e88"]]), ta = dt(), na = ct, aa = na();
1109
+ class la extends HTMLElement {
1101
1110
  vueApp;
1102
1111
  constructor() {
1103
1112
  super();
@@ -1106,14 +1115,14 @@ class na extends HTMLElement {
1106
1115
  this.vueApp.unmount();
1107
1116
  }
1108
1117
  connectedCallback() {
1109
- const n = mt(Le, this.attributes);
1110
- this.vueApp = pt(Le, n), this.vueApp.provide("emitter", ta), this.vueApp.use(vt), this.vueApp.use(xn), this.vueApp.use(It), this.vueApp.use(Vt), this.vueApp.use(St), this.vueApp.use(Ot, { bootstrap: !0 });
1118
+ const n = mt(Ce, this.attributes);
1119
+ this.vueApp = pt(Ce, n), this.vueApp.provide("emitter", aa), this.vueApp.use(vt), this.vueApp.use(ta), this.vueApp.use(It), this.vueApp.use(_t), this.vueApp.use(St), this.vueApp.use(Ot, { bootstrap: !0 });
1111
1120
  const a = document.createElement("div");
1112
1121
  this.vueApp.mount(a), this.appendChild(a.children[0]);
1113
1122
  }
1114
1123
  }
1115
- window.customElements.define("konnectio-event", na);
1124
+ window.customElements.define("konnectio-event", la);
1116
1125
  export {
1117
- na as default
1126
+ la as default
1118
1127
  };
1119
1128
  //# sourceMappingURL=event.js.map