@konnectio/core 4.11.0 → 4.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (100) hide show
  1. package/dist/{ActionField-BMm6Jvy6.js → ActionField-CrGPD8ma.js} +1 -1
  2. package/dist/ActionField-CrGPD8ma.js.br +0 -0
  3. package/dist/ActionField-CrGPD8ma.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-D6jA6cCt.js → AvailabilitySkeleton-CKpPPNyV.js} +4 -4
  5. package/dist/AvailabilitySkeleton-CKpPPNyV.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-CKpPPNyV.js.gz +0 -0
  7. package/dist/{CheckoutWindow-DqkNmmBL.js → CheckoutWindow-W80b2grC.js} +1 -1
  8. package/dist/CheckoutWindow-W80b2grC.js.br +0 -0
  9. package/dist/CheckoutWindow-W80b2grC.js.gz +0 -0
  10. package/dist/{ErrorMessage-CwMiI1oq.js → ErrorMessage-fmvrjZrE.js} +1 -1
  11. package/dist/ErrorMessage-fmvrjZrE.js.br +0 -0
  12. package/dist/ErrorMessage-fmvrjZrE.js.gz +0 -0
  13. package/dist/{EventAvailabilityForm-BsC_U3TW.js → EventAvailabilityForm-BX0CUyYU.js} +2 -2
  14. package/dist/EventAvailabilityForm-BX0CUyYU.js.br +0 -0
  15. package/dist/EventAvailabilityForm-BX0CUyYU.js.gz +0 -0
  16. package/dist/{Field-CSZh1Iay.js → Field-DsFLUyHP.js} +1 -1
  17. package/dist/Field-DsFLUyHP.js.br +0 -0
  18. package/dist/Field-DsFLUyHP.js.gz +0 -0
  19. package/dist/{HotelAvailabilityForm-Ba6R0NBo.js → HotelAvailabilityForm-_wN0A0VR.js} +2 -2
  20. package/dist/HotelAvailabilityForm-_wN0A0VR.js.br +0 -0
  21. package/dist/HotelAvailabilityForm-_wN0A0VR.js.gz +0 -0
  22. package/dist/{SelectField-gX6NoA_J.js → SelectField-__FvhjFN.js} +1666 -1643
  23. package/dist/SelectField-__FvhjFN.js.br +0 -0
  24. package/dist/SelectField-__FvhjFN.js.gz +0 -0
  25. package/dist/{TermsOfService-Bj49E7KU.js → TermsOfService-XhYHiCia.js} +2 -2
  26. package/dist/TermsOfService-XhYHiCia.js.br +0 -0
  27. package/dist/TermsOfService-XhYHiCia.js.gz +1 -0
  28. package/dist/{_-CVTVPCGH.js → _-Bi3jyl9S.js} +1 -1
  29. package/dist/_-Bi3jyl9S.js.br +0 -0
  30. package/dist/_-Bi3jyl9S.js.gz +0 -0
  31. package/dist/availability.js +7 -7
  32. package/dist/availability.js.br +0 -0
  33. package/dist/availability.js.gz +0 -0
  34. package/dist/cancel-reservation.js +4 -4
  35. package/dist/cancel-reservation.js.br +0 -0
  36. package/dist/cancel-reservation.js.gz +0 -0
  37. package/dist/core.css +1 -1
  38. package/dist/core.css.br +0 -0
  39. package/dist/core.css.gz +0 -0
  40. package/dist/{dist-Cqa6zgmo.js → dist-ChCkH-cE.js} +2 -2
  41. package/dist/dist-ChCkH-cE.js.br +0 -0
  42. package/dist/dist-ChCkH-cE.js.gz +0 -0
  43. package/dist/{dist-Da8WGbv9.js → dist-CqcX4eCU.js} +4 -4
  44. package/dist/dist-CqcX4eCU.js.br +0 -0
  45. package/dist/dist-CqcX4eCU.js.gz +0 -0
  46. package/dist/event.js +135 -128
  47. package/dist/event.js.br +0 -0
  48. package/dist/event.js.gz +0 -0
  49. package/dist/gift-card-validation.js +7 -7
  50. package/dist/gift-card-validation.js.br +0 -0
  51. package/dist/gift-card-validation.js.gz +0 -0
  52. package/dist/gift-card.js +9 -9
  53. package/dist/gift-card.js.br +0 -0
  54. package/dist/gift-card.js.gz +0 -0
  55. package/dist/{giftCard-CRvvymrd.js → giftCard-BpWe7WsA.js} +2 -2
  56. package/dist/giftCard-BpWe7WsA.js.br +0 -0
  57. package/dist/giftCard-BpWe7WsA.js.gz +0 -0
  58. package/dist/hotel.js +947 -939
  59. package/dist/hotel.js.br +0 -0
  60. package/dist/hotel.js.gz +0 -0
  61. package/dist/polyfill.js +1 -1
  62. package/dist/polyfill.js.br +0 -0
  63. package/dist/polyfill.js.gz +0 -0
  64. package/dist/{style-bYw2sDU_.js → style-CcIo1t4N.js} +1 -1
  65. package/dist/style-CcIo1t4N.js.br +0 -0
  66. package/dist/style-CcIo1t4N.js.gz +0 -0
  67. package/dist-wix/availability.js +12 -12
  68. package/dist-wix/event.js +5 -5
  69. package/dist-wix/gift-card-validation.js +29 -29
  70. package/dist-wix/gift-card.js +17 -17
  71. package/dist-wix/hotel.js +5 -5
  72. package/package.json +1 -1
  73. package/dist/ActionField-BMm6Jvy6.js.br +0 -0
  74. package/dist/ActionField-BMm6Jvy6.js.gz +0 -0
  75. package/dist/AvailabilitySkeleton-D6jA6cCt.js.br +0 -0
  76. package/dist/AvailabilitySkeleton-D6jA6cCt.js.gz +0 -0
  77. package/dist/CheckoutWindow-DqkNmmBL.js.br +0 -0
  78. package/dist/CheckoutWindow-DqkNmmBL.js.gz +0 -0
  79. package/dist/ErrorMessage-CwMiI1oq.js.br +0 -0
  80. package/dist/ErrorMessage-CwMiI1oq.js.gz +0 -0
  81. package/dist/EventAvailabilityForm-BsC_U3TW.js.br +0 -0
  82. package/dist/EventAvailabilityForm-BsC_U3TW.js.gz +0 -0
  83. package/dist/Field-CSZh1Iay.js.br +0 -0
  84. package/dist/Field-CSZh1Iay.js.gz +0 -0
  85. package/dist/HotelAvailabilityForm-Ba6R0NBo.js.br +0 -0
  86. package/dist/HotelAvailabilityForm-Ba6R0NBo.js.gz +0 -0
  87. package/dist/SelectField-gX6NoA_J.js.br +0 -0
  88. package/dist/SelectField-gX6NoA_J.js.gz +0 -0
  89. package/dist/TermsOfService-Bj49E7KU.js.br +0 -0
  90. package/dist/TermsOfService-Bj49E7KU.js.gz +0 -0
  91. package/dist/_-CVTVPCGH.js.br +0 -0
  92. package/dist/_-CVTVPCGH.js.gz +0 -4
  93. package/dist/dist-Cqa6zgmo.js.br +0 -0
  94. package/dist/dist-Cqa6zgmo.js.gz +0 -0
  95. package/dist/dist-Da8WGbv9.js.br +0 -0
  96. package/dist/dist-Da8WGbv9.js.gz +0 -0
  97. package/dist/giftCard-CRvvymrd.js.br +0 -0
  98. package/dist/giftCard-CRvvymrd.js.gz +0 -0
  99. package/dist/style-bYw2sDU_.js.br +0 -0
  100. package/dist/style-bYw2sDU_.js.gz +0 -0
package/dist/event.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { A as e, At as t, D as n, E as r, Et as i, F as a, I as o, L as s, M as c, N as l, P as u, Pt as d, Q as f, a as p, at as m, bt as h, et as g, f as _, ft as v, gt as y, h as b, it as x, j as S, jt as C, mt as w, n as T, o as E, p as D, w as O, wt as k, z as A } from "./i18n-BU9Enb5i.js";
2
- import { t as j } from "./dist-Cqa6zgmo.js";
3
- import { $ as M, C as ee, D as N, E as P, G as F, H as te, J as ne, L as re, N as I, Q as L, S as R, T as ie, V as z, X as ae, Y as B, at as V, b as oe, j as se, lt as ce, n as H, nt as le, r as U, rt as ue, tt as W, ut as de, v as fe, w as G, x as K, z as q } from "./SelectField-gX6NoA_J.js";
4
- import { a as pe, c as me, i as he, l as ge, n as _e, s as ve, t as ye } from "./CheckoutWindow-DqkNmmBL.js";
5
- import { t as be } from "./_-CVTVPCGH.js";
6
- import { a as J, c as xe, d as Se, f as Ce, i as we, l as Te, n as Ee, o as De, r as Oe, s as ke, u as Ae } from "./AvailabilitySkeleton-D6jA6cCt.js";
7
- import { t as je } from "./EventAvailabilityForm-BsC_U3TW.js";
8
- import { t as Y } from "./style-bYw2sDU_.js";
9
- import { a as Me, c as Ne, i as Pe, l as Fe, n as Ie, o as Le, s as Re, t as ze, u as X } from "./dist-Da8WGbv9.js";
2
+ import { t as j } from "./dist-ChCkH-cE.js";
3
+ import { $ as M, C as N, D as P, E as F, G as I, H as ee, J as te, L as ne, N as re, Q as L, S as R, T as ie, V as z, X as ae, Y as oe, at as se, b as ce, j as le, lt as ue, n as B, nt as V, r as H, rt as de, tt as U, ut as fe, v as W, w as G, x as K, z as q } from "./SelectField-__FvhjFN.js";
4
+ import { a as pe, c as me, i as he, l as ge, n as _e, s as ve, t as ye } from "./CheckoutWindow-W80b2grC.js";
5
+ import { t as be } from "./_-Bi3jyl9S.js";
6
+ import { a as J, c as xe, d as Se, f as Ce, i as we, l as Te, n as Ee, o as De, r as Oe, s as ke, u as Ae } from "./AvailabilitySkeleton-CKpPPNyV.js";
7
+ import { t as je } from "./EventAvailabilityForm-BX0CUyYU.js";
8
+ import { t as Me } from "./style-CcIo1t4N.js";
9
+ import { a as Y, c as Ne, i as Pe, l as Fe, n as Ie, o as Le, s as Re, t as ze, u as Be } from "./dist-CqcX4eCU.js";
10
10
  //#region node_modules/date-fns/formatDistanceStrict.js
11
- function Z(e, t, n) {
11
+ function X(e, t, n) {
12
12
  let r = xe(), i = n?.locale ?? r.locale ?? Oe, a = J(e, t);
13
13
  if (isNaN(a)) throw RangeError("Invalid time value");
14
14
  let o = Object.assign({}, n, {
@@ -42,7 +42,7 @@ function Z(e, t, n) {
42
42
  }
43
43
  //#endregion
44
44
  //#region src/components/listings/event/_.vue?vue&type=script&setup=true&lang.ts
45
- var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R(/* @__PURE__ */ A({
45
+ var Z = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ R(/* @__PURE__ */ A({
46
46
  __name: "_",
47
47
  props: {
48
48
  name: {},
@@ -73,7 +73,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
73
73
  callback: {}
74
74
  },
75
75
  setup(n) {
76
- let { t: r } = p(), i = n, { display: a } = I(), { hideEventGuestAmount: o } = b(P()), { maxNumberOfPeople: u, numberOfPeople: d, eventId: f, currentEventDate: h, tableGroupId: _ } = b(G()), { getTemplateAvailability: v, getEventAvailability: x, isEventListingLoading: w } = G(), { addToCart: T } = N(), E = e(() => i.maxGuests || i.maxOnlineReservationLimit || u.value || Infinity), D = k(0), O = e(() => w(i.listingId)), A = () => {
76
+ let { t: r } = p(), i = n, { display: a } = re(), { hideEventGuestAmount: o } = b(F()), { maxNumberOfPeople: u, numberOfPeople: d, eventId: f, currentEventDate: h, tableGroupId: _ } = b(G()), { getTemplateAvailability: v, getEventAvailability: x, isEventListingLoading: w } = G(), { addToCart: T } = P(), E = e(() => i.maxGuests || i.maxOnlineReservationLimit || u.value || Infinity), D = k(0), O = e(() => w(i.listingId)), A = () => {
77
77
  if (!i.useNumberOfProductsForPersons && (D.value === 0 || isNaN(D.value))) {
78
78
  a({
79
79
  type: "error",
@@ -108,11 +108,11 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
108
108
  description: n.description,
109
109
  "prices-from": n.fromPrice,
110
110
  "to-date": n.toDate,
111
- layout: t(V).Event,
111
+ layout: t(se).Event,
112
112
  "disable-deep-link": n.disableDeepLink
113
113
  }, {
114
114
  description: y(() => [m(e.$slots, "description", { maxNumberOfPeople: t(u) }, void 0, !0)]),
115
- action: y(() => [m(e.$slots, "action", {}, () => [S("div", { class: C(["konnectio-event-listing-action", { "no-selectable-people": n.useNumberOfProductsForPersons }]) }, [n.useNumberOfProductsForPersons ? l("", !0) : (g(), c(U, {
115
+ action: y(() => [m(e.$slots, "action", {}, () => [S("div", { class: C(["konnectio-event-listing-action", { "no-selectable-people": n.useNumberOfProductsForPersons }]) }, [n.useNumberOfProductsForPersons ? l("", !0) : (g(), c(H, {
116
116
  key: 0,
117
117
  modelValue: D.value,
118
118
  "onUpdate:modelValue": i[0] ||= (e) => D.value = e,
@@ -120,7 +120,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
120
120
  icon: "users",
121
121
  "icon-type": "fas",
122
122
  "icon-placement": "label",
123
- description: E.value <= 20 && !t(o) ? `${t(r)("general.availableFor")}: 1 - ${E.value} ${t(B)(t(r)("general.guests"))}` : void 0,
123
+ description: E.value <= 20 && !t(o) ? `${t(r)("general.availableFor")}: 1 - ${E.value} ${t(oe)(t(r)("general.guests"))}` : void 0,
124
124
  "min-value": 0,
125
125
  "max-value": E.value
126
126
  }, null, 8, [
@@ -128,7 +128,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
128
128
  "label",
129
129
  "description",
130
130
  "max-value"
131
- ])), S("div", Be, [s(fe, {
131
+ ])), S("div", Z, [s(W, {
132
132
  label: n.soldOut ? t(r)("event.soldOut") : t(r)("event.bookNowButton"),
133
133
  disabled: n.soldOut,
134
134
  "is-loading": O.value,
@@ -182,10 +182,10 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
182
182
  callback: {}
183
183
  },
184
184
  setup(n) {
185
- let r = n, { t: i } = p(), { hideEventLength: a, hideEventEndTime: o } = b(P()), f = e(() => {
185
+ let r = n, { t: i } = p(), { hideEventLength: a, hideEventEndTime: o } = b(F()), f = e(() => {
186
186
  if (!r.length) return;
187
187
  let e = r.length.split(":");
188
- return Z(new Date(2e3, 0, 1, Number(e[0]), Number(e[1]), 0), new Date(2e3, 0, 1, 0, 0, 0));
188
+ return X(new Date(2e3, 0, 1, Number(e[0]), Number(e[1]), 0), new Date(2e3, 0, 1, 0, 0, 0));
189
189
  });
190
190
  return (e, r) => (g(), c(Ve, {
191
191
  "listing-id": n.listingId,
@@ -202,7 +202,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
202
202
  "tracking-enabled": n.trackingEnabled,
203
203
  callback: n.callback
204
204
  }, {
205
- description: y(() => [n.description ? (g(), c(X, {
205
+ description: y(() => [n.description ? (g(), c(Be, {
206
206
  key: 0,
207
207
  text: n.description
208
208
  }, null, 8, ["text"])) : l("", !0), S("ul", He, [
@@ -214,7 +214,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
214
214
  n.timeFrom ? (g(), u("li", We, [S("div", null, [s(K, {
215
215
  icon: "calendar-clock",
216
216
  color: "header"
217
- }), S("span", null, d(t(i)("event.startAndEndTime")), 1)]), t(o) ? (g(), u("span", Ke, d(t(le)(n.timeFrom)), 1)) : (g(), u("span", Ge, d(t(ue)(n.timeFrom, n.timeTo)), 1))])) : l("", !0)
217
+ }), S("span", null, d(t(i)("event.startAndEndTime")), 1)]), t(o) ? (g(), u("span", Ke, d(t(V)(n.timeFrom)), 1)) : (g(), u("span", Ge, d(t(de)(n.timeFrom, n.timeTo)), 1))])) : l("", !0)
218
218
  ])]),
219
219
  action: y(() => [m(e.$slots, "action", {}, void 0, !0)]),
220
220
  _: 3
@@ -315,7 +315,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
315
315
  "callback"
316
316
  ])) : l("", !0);
317
317
  }
318
- }), [["__scopeId", "data-v-1c96b9a2"]]), Xe = { class: "konnectio-special-offer-availability" }, Ze = { class: "konnectio-special-offer-availability-button" }, Qe = { class: "konnectio-warning-notice" }, $e = { key: 0 }, $ = { key: 1 }, et = /*#__PURE__*/ R(/* @__PURE__ */ A({
318
+ }), [["__scopeId", "data-v-1c96b9a2"]]), Xe = { class: "konnectio-special-offer-availability" }, Ze = { class: "konnectio-special-offer-availability-button" }, Qe = { class: "konnectio-warning-notice" }, $e = { key: 0 }, et = { key: 1 }, $ = /*#__PURE__*/ R(/* @__PURE__ */ A({
319
319
  __name: "NextEvent",
320
320
  props: {
321
321
  name: {},
@@ -337,7 +337,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
337
337
  callback: { type: Function }
338
338
  },
339
339
  setup(n) {
340
- let { t: r } = p(), { updateEventDate: i } = ee(), { display: a } = I(), l = k(), m = n;
340
+ let { t: r } = p(), { updateEventDate: i } = N(), { display: a } = re(), l = k(), m = n;
341
341
  function h() {
342
342
  l.value ? i(l.value) : a({
343
343
  message: r("alert.error.selectDate"),
@@ -396,10 +396,10 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
396
396
  "min-date",
397
397
  "max-date",
398
398
  "disabled-week-days"
399
- ]), S("div", Ze, [s(fe, {
399
+ ]), S("div", Ze, [s(W, {
400
400
  label: t(r)("availability.buttonLabel"),
401
401
  onClick: O(h, ["prevent"])
402
- }, null, 8, ["label"])])]), S("div", Qe, [_.value ? (g(), u("span", $e, [o("*" + d(t(r)("event.canBeBooked")) + " ", 1), S("u", null, d(t(L)(n.fromDate)), 1)])) : (g(), u("span", $, [o("*" + d(t(r)("event.canBeBooked")) + " ", 1), S("u", null, d(t(M)(n.days)), 1)]))])])]),
402
+ }, null, 8, ["label"])])]), S("div", Qe, [_.value ? (g(), u("span", $e, [o("*" + d(t(r)("event.canBeBooked")) + " ", 1), S("u", null, d(t(L)(n.fromDate)), 1)])) : (g(), u("span", et, [o("*" + d(t(r)("event.canBeBooked")) + " ", 1), S("u", null, d(t(M)(n.days)), 1)]))])])]),
403
403
  _: 1
404
404
  }, 8, [
405
405
  "name",
@@ -433,7 +433,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
433
433
  callback: { type: Function }
434
434
  },
435
435
  setup(e) {
436
- return (t, n) => e.events && e.events.length > 1 ? (g(), u("div", tt, [l("", !0), S("ul", nt, [(g(!0), u(r, null, x(e.events, ({ id: t, days: n, name: r, timeFrom: i, timeTo: a, fromDate: o, toDate: s, tableGroupId: l, description: u, soldOut: d, length: f, images: p, maxOnlineReservationLimit: m, maxPaxPerReservation: h, useNumberOfProductsForPersons: _, maxTicketsLimit: v }) => (g(), c(et, {
436
+ return (t, n) => e.events && e.events.length > 1 ? (g(), u("div", tt, [l("", !0), S("ul", nt, [(g(!0), u(r, null, x(e.events, ({ id: t, days: n, name: r, timeFrom: i, timeTo: a, fromDate: o, toDate: s, tableGroupId: l, description: u, soldOut: d, length: f, images: p, maxOnlineReservationLimit: m, maxPaxPerReservation: h, useNumberOfProductsForPersons: _, maxTicketsLimit: v }) => (g(), c($, {
437
437
  key: t,
438
438
  type: "event",
439
439
  "listing-id": t,
@@ -469,7 +469,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
469
469
  "use-number-of-products-for-persons",
470
470
  "tracking-enabled",
471
471
  "callback"
472
- ]))), 128))])])) : e.events ? (g(), c(et, {
472
+ ]))), 128))])])) : e.events ? (g(), c($, {
473
473
  key: e.events[0].id,
474
474
  type: "event",
475
475
  "listing-id": e.events[0].id,
@@ -606,18 +606,18 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
606
606
  prevCallback: {}
607
607
  },
608
608
  setup(e) {
609
- let { t: n } = p(), i = v(), { areListingsAvailable: o, arrivalTime: s, numberOfPeople: f, numberOfRooms: _, numberOfTotalDays: C, isTemplateEvent: w, currentEventDate: T, length: E, fromDate: D, tableBasePrice: O, getTemplateData: k, basePrice: A, totalPrice: j, weekendFee: M, roomUpgrade: ee, discountCode: N, totalSelectedProducts: F, discountValue: te, appliedDiscountCode: ne } = b(G()), { totalAddonPrice: re, validateDiscountCode: I } = G(), { currency: R, hideEventLength: ie } = b(P()), z = n("event.reservationNotice");
610
- return (p, v) => (g(), c(Me, {
611
- "discount-code": t(N),
612
- "onUpdate:discountCode": v[0] ||= (e) => h(N) ? N.value = e : null,
613
- "validate-discount-code": t(I),
609
+ let { t: n } = p(), i = v(), { areListingsAvailable: o, arrivalTime: s, numberOfPeople: f, numberOfRooms: _, numberOfTotalDays: C, isTemplateEvent: w, currentEventDate: T, length: E, fromDate: D, tableBasePrice: O, getTemplateData: k, basePrice: A, totalPrice: j, weekendFee: M, roomUpgrade: N, discountCode: P, totalSelectedProducts: I, discountValue: ee, appliedDiscountCode: te } = b(G()), { totalAddonPrice: ne, validateDiscountCode: re } = G(), { currency: R, hideEventLength: ie } = b(F()), z = n("event.reservationNotice");
610
+ return (p, v) => (g(), c(Y, {
611
+ "discount-code": t(P),
612
+ "onUpdate:discountCode": v[0] ||= (e) => h(P) ? P.value = e : null,
613
+ "validate-discount-code": t(re),
614
614
  "show-gift-card": e.showGiftCard,
615
615
  "show-terms-notice": e.showTermsNotice,
616
616
  "is-sidebar-loading": !t(o),
617
617
  "base-price": t(A),
618
618
  "total-price": t(j),
619
619
  "weekend-fee": t(M),
620
- "room-upgrade": t(ee),
620
+ "room-upgrade": t(N),
621
621
  notice: t(z),
622
622
  "prev-callback": e.prevCallback
623
623
  }, a({
@@ -628,21 +628,21 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
628
628
  "reservation-summary": y(() => [
629
629
  t(w) ? l("", !0) : (g(), u("li", lt, [S("span", null, d(t(n)("general.date")), 1), S("b", null, d(t(L)(t(T))), 1)])),
630
630
  t(f) > 0 ? (g(), u("li", ut, [S("span", null, d(t(n)("event.numberOfGuests")), 1), S("b", null, d(t(f)), 1)])) : l("", !0),
631
- !t(w) && t(F) > 0 ? (g(), u("li", dt, [S("span", null, d(t(n)("event.numberOfProducts")), 1), S("b", null, d(t(F)), 1)])) : l("", !0),
631
+ !t(w) && t(I) > 0 ? (g(), u("li", dt, [S("span", null, d(t(n)("event.numberOfProducts")), 1), S("b", null, d(t(I)), 1)])) : l("", !0),
632
632
  t(w) ? (g(), u(r, { key: 3 }, [
633
633
  S("li", null, [S("span", null, d(t(n)("booking.reservation.arrival")), 1), S("b", null, d(t(L)(t(D))), 1)]),
634
634
  S("li", null, [S("span", null, d(t(n)("booking.reservation.departure")), 1), S("b", null, d(t(L)(t(D), t(C))), 1)]),
635
635
  S("li", null, [S("span", null, d(t(n)("event.numberOfRooms")), 1), S("b", null, d(t(_)), 1)]),
636
636
  t(C) > 0 ? (g(), u("li", ft, [S("span", null, d(t(n)("event.numberOfDays")), 1), S("b", null, d(t(C)), 1)])) : l("", !0)
637
637
  ], 64)) : l("", !0),
638
- !t(w) && t(s) ? (g(), u("li", pt, [S("span", null, d(t(n)("event.startOfEvent")), 1), S("b", null, d(t(le)(t(s))), 1)])) : l("", !0),
639
- !t(w) && t(E) && !t(ie) ? (g(), u("li", mt, [S("span", null, d(t(n)("event.lengthOfEvent")), 1), S("b", null, d(t(le)(t(E))), 1)])) : l("", !0),
640
- t(te) ? (g(), u("li", ht, [S("span", null, d(t(n)("general.discountCode")), 1), S("b", null, d(t(ne)), 1)])) : l("", !0)
638
+ !t(w) && t(s) ? (g(), u("li", pt, [S("span", null, d(t(n)("event.startOfEvent")), 1), S("b", null, d(t(V)(t(s))), 1)])) : l("", !0),
639
+ !t(w) && t(E) && !t(ie) ? (g(), u("li", mt, [S("span", null, d(t(n)("event.lengthOfEvent")), 1), S("b", null, d(t(V)(t(E))), 1)])) : l("", !0),
640
+ t(ee) ? (g(), u("li", ht, [S("span", null, d(t(n)("general.discountCode")), 1), S("b", null, d(t(te)), 1)])) : l("", !0)
641
641
  ]),
642
- "price-summary": y(() => [!t(w) && t(O) > 0 ? (g(), u("li", gt, [S("span", null, d(t(n)("booking.availability.basePrice")), 1), S("b", null, d(t(W)(t(O), t(R))), 1)])) : l("", !0), t(k) ? (g(!0), u(r, { key: 1 }, x(t(k), ({ roomGroupId: e }, i) => (g(), u(r, null, [t(re)(e, i) > 0 ? (g(), u("li", { key: e }, [S("span", null, d(t(n)("booking.reservation.addons")) + " - " + d(t(n)("booking.reservation.room")) + " #" + d(i + 1), 1), S("b", null, d(t(W)(t(re)(e, i), t(R))), 1)])) : l("", !0)], 64))), 256)) : l("", !0)]),
642
+ "price-summary": y(() => [!t(w) && t(O) > 0 ? (g(), u("li", gt, [S("span", null, d(t(n)("booking.availability.basePrice")), 1), S("b", null, d(t(U)(t(O), t(R))), 1)])) : l("", !0), t(k) ? (g(!0), u(r, { key: 1 }, x(t(k), ({ roomGroupId: e }, i) => (g(), u(r, null, [t(ne)(e, i) > 0 ? (g(), u("li", { key: e }, [S("span", null, d(t(n)("booking.reservation.addons")) + " - " + d(t(n)("booking.reservation.room")) + " #" + d(i + 1), 1), S("b", null, d(t(U)(t(ne)(e, i), t(R))), 1)])) : l("", !0)], 64))), 256)) : l("", !0)]),
643
643
  navigation: y(() => [m(p.$slots, "navigation", {}, void 0, !0)]),
644
644
  "mobile-under-price": y(() => [t(w) && t(C) > 0 ? (g(), u("div", _t, [S("span", null, d(t(L)(t(D))) + " - " + d(t(L)(t(D), t(C))), 1)])) : (g(), u("div", vt, [S("span", null, d(t(L)(t(T))), 1)]))]),
645
- "mobile-summary": y(() => [!t(w) && t(F) > 0 ? (g(), u("span", yt, d(t(n)("event.numberOfProducts")) + ": " + d(t(F)), 1)) : l("", !0)]),
645
+ "mobile-summary": y(() => [!t(w) && t(I) > 0 ? (g(), u("span", yt, d(t(n)("event.numberOfProducts")) + ": " + d(t(I)), 1)) : l("", !0)]),
646
646
  _: 2
647
647
  }, [t(i).sidebar ? {
648
648
  name: "sidebar",
@@ -676,13 +676,16 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
676
676
  }, Dt = {
677
677
  key: 1,
678
678
  class: "konnectio-hotel-availability-title"
679
- }, Ot = { class: "konnectio-event-listings" }, kt = { class: "konnectio-hotel-availability-title" }, At = { class: "konnectio-event-listings" }, jt = ["innerHTML"], Mt = { class: "konnectio-panel" }, Nt = {
679
+ }, Ot = { class: "konnectio-event-listings" }, kt = { class: "konnectio-hotel-availability-title" }, At = { class: "konnectio-event-listings" }, jt = ["innerHTML"], Mt = {
680
+ key: 1,
681
+ class: "konnectio-panel konnectio-fetch-failed"
682
+ }, Nt = { class: "konnectio-panel" }, Pt = {
680
683
  key: 0,
681
684
  id: "konnectio-event-addons"
682
- }, Pt = { class: "konnectio-table with-lines" }, Ft = { class: "konnectio-event-addons-price" }, It = { class: "konnectio-event-addons-input" }, Lt = { class: "konnectio-event-addons-price" }, Rt = { class: "konnectio-event-addons-price" }, zt = {
685
+ }, Ft = { class: "konnectio-table with-lines" }, It = { class: "konnectio-event-addons-price" }, Lt = { class: "konnectio-event-addons-input" }, Rt = { class: "konnectio-event-addons-price" }, zt = { class: "konnectio-event-addons-price" }, Bt = {
683
686
  key: 1,
684
687
  class: "konnectio-table with-lines without-header"
685
- }, Bt = { class: "konnectio-table-addons-information" }, Vt = { key: 0 }, Ht = { class: "konnectio-table-addons-option" }, Ut = { class: "konnectio-panel" }, Wt = /*#__PURE__*/ R(/* @__PURE__ */ A({
688
+ }, Vt = { class: "konnectio-table-addons-information" }, Ht = { key: 0 }, Ut = { class: "konnectio-table-addons-option" }, Wt = { class: "konnectio-panel" }, Gt = /*#__PURE__*/ R(/* @__PURE__ */ A({
686
689
  name: "EventLayout",
687
690
  __name: "Event",
688
691
  props: {
@@ -700,26 +703,26 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
700
703
  styling: {}
701
704
  },
702
705
  setup(a) {
703
- let f = a, { t: m } = p(), v = G(), { isHostedCheckoutActive: C } = b(se()), { addons: T, products: E, numberOfDays: D, flagOnTable: O, numberOfHighChairs: k, name: A, phone: j, email: M, remark: L, allergies: R, arrivalTime: z, hasEvents: B, hasTemplates: V, getTemplates: ue, getEventData: q, getTemplateData: J, getEventTableData: xe, hasProducts: Se, eventRateType: Ce, areListingsAvailable: we, isAvailabilityDataAvailable: Te, hasListingData: Ee, isPaymentLoading: De, isReservationFormFilled: Oe, requiresArrivalTime: ke, hasSelectedRequiredProducts: Ae, getUnavailableEvents: Y, hasFallbackEvents: Me, getFallbackEvents: Fe, excludeEventIds: Le } = b(v), ze = e(() => v.getSortedEvents(f.sortOrder)), { currency: X, enableTracking: Z } = b(P()), { setActiveIdFilter: Be } = P(), { eventDate: Ve, eventLocation: He } = b(ee()), { isValidRestaurantId: Ue } = ee(), { initialize: We, fetchListings: Ge, createBooking: Ke, bookingPayload: Q, localAddonPrice: qe, totalAddonPrice: Je, reset: Xe, goBack: Ze } = G(), { beginEventCheckout: Qe } = N(), { display: $e } = I();
706
+ let f = a, { t: m } = p(), v = G(), { isHostedCheckoutActive: C } = b(le()), { addons: T, products: E, numberOfDays: D, flagOnTable: O, numberOfHighChairs: k, name: A, phone: j, email: M, remark: L, allergies: R, arrivalTime: z, hasEvents: oe, hasTemplates: se, getTemplates: de, getEventData: q, getTemplateData: J, getEventTableData: xe, hasProducts: Se, eventRateType: Ce, areListingsAvailable: we, isAvailabilityDataAvailable: Te, hasListingData: Ee, listingsFetchFailed: De, isPaymentLoading: Oe, isReservationFormFilled: ke, requiresArrivalTime: Ae, hasSelectedRequiredProducts: Me, getUnavailableEvents: Y, hasFallbackEvents: Fe, getFallbackEvents: Le, excludeEventIds: ze } = b(v), Be = e(() => v.getSortedEvents(f.sortOrder)), { currency: X, enableTracking: Z } = b(F()), { setActiveIdFilter: Ve } = F(), { eventDate: He, eventLocation: Ue } = b(N()), { isValidRestaurantId: We } = N(), { initialize: Ge, fetchListings: Ke, createBooking: Q, bookingPayload: qe, localAddonPrice: Je, totalAddonPrice: Xe, reset: Ze, goBack: Qe } = G(), { beginEventCheckout: $e } = P(), { display: et } = re();
704
707
  ge.useHttpClient(ve(ie()));
705
- let $ = i(), et;
706
- function tt() {
707
- let { url: e, data: t } = Q();
708
- if (!$.value || et !== e) {
708
+ let $ = i(), tt;
709
+ function nt() {
710
+ let { url: e, data: t } = qe();
711
+ if (!$.value || tt !== e) {
709
712
  let n = me("post", e, t);
710
- n.setValidationTimeout(600), et = e, $.value = n;
713
+ n.setValidationTimeout(600), tt = e, $.value = n;
711
714
  }
712
715
  return $.value;
713
716
  }
714
- function nt(e) {
715
- let t = tt();
716
- t.setData(Q().data), t.validate(e);
717
- }
718
717
  function it(e) {
718
+ let t = nt();
719
+ t.setData(qe().data), t.validate(e);
720
+ }
721
+ function st(e) {
719
722
  return $.value?.errors[e];
720
723
  }
721
- w(A, () => nt("name")), w(M, () => nt("email")), w(j, () => nt("phone"));
722
- let st = e(() => [
724
+ w(A, () => it("name")), w(M, () => it("email")), w(j, () => it("phone"));
725
+ let ct = e(() => [
723
726
  {
724
727
  id: "availability",
725
728
  label: m("booking.availability.title"),
@@ -745,52 +748,52 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
745
748
  label: m("booking.confirmation.title"),
746
749
  icon: "calendar-check"
747
750
  }
748
- ]), ct = e(() => {
751
+ ]), lt = e(() => {
749
752
  let e = [];
750
753
  return xe.value && xe.value.forEach((t) => {
751
754
  e.find((e) => e.value === t.time) || e.push({
752
- label: le(t.time),
755
+ label: V(t.time),
753
756
  value: t.time
754
757
  });
755
758
  }), e;
756
759
  });
757
- function lt() {
758
- Xe(f.resetDate === "yes");
760
+ function ut() {
761
+ Ze(f.resetDate === "yes");
759
762
  }
760
- async function ut(e) {
761
- Z.value && Qe();
762
- let t = await Ke(e);
763
- t && tt().setErrors(t);
763
+ async function dt(e) {
764
+ Z.value && $e();
765
+ let t = await Q(e);
766
+ t && nt().setErrors(t);
764
767
  }
765
- function dt() {
768
+ function ft() {
766
769
  let e = _("history", { removeNullishValues: !0 }), t = parseInt(e.rid), n = e.d, r = parseInt(e.eid);
767
770
  if (n) {
768
- if (ne(n)) {
771
+ if (te(n)) {
769
772
  let t = ae(n);
770
- t.setHours(12, 0, 0, 0) >= (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0) ? (Ve.value = t, e.d = void 0) : ($e({
773
+ t.setHours(12, 0, 0, 0) >= (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0) ? (He.value = t, e.d = void 0) : (et({
771
774
  message: m("alert.error.invalidDateRange"),
772
775
  type: "error"
773
776
  }), e.d = void 0);
774
- } else $e({
777
+ } else et({
775
778
  message: m("alert.error.wrongDateFormat"),
776
779
  type: "error"
777
780
  });
778
781
  }
779
- isNaN(t) || (Ue(t) ? He.value = t : (e.rid = void 0, $e({
782
+ isNaN(t) || (We(t) ? Ue.value = t : (e.rid = void 0, et({
780
783
  message: m("alert.error.hotelIdNotFound"),
781
784
  type: "error"
782
- }))), isNaN(r) || Be(String(r)), f.excludeEventIds && (Le.value = f.excludeEventIds), Ge();
785
+ }))), isNaN(r) || Ve(String(r)), f.excludeEventIds && (ze.value = f.excludeEventIds), Ke();
783
786
  }
784
- return (e, i) => (g(), c(oe, { styling: a.styling }, {
785
- default: y(() => [(g(), c(n, { onResolve: dt }, {
787
+ return (e, i) => (g(), c(ce, { styling: a.styling }, {
788
+ default: y(() => [(g(), c(n, { onResolve: ft }, {
786
789
  default: y(() => [s(be, {
787
790
  id: "konnectio-event-module",
788
791
  "access-token": a.accessToken,
789
- callback: t(We)
792
+ callback: t(Ge)
790
793
  }, {
791
794
  default: y(() => [s(Re, {
792
- steps: st.value,
793
- onReset: lt
795
+ steps: ct.value,
796
+ onReset: ut
794
797
  }, {
795
798
  availability: y(({ next: e }) => [s(bt, null, {
796
799
  sidebar: y(() => [s(je, {
@@ -799,7 +802,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
799
802
  "hide-locations": a.hideLocations === "yes"
800
803
  }, null, 8, ["selected-location", "hide-locations"])]),
801
804
  form: y(() => [t(Ee) && t(we) ? (g(), u("div", Tt, [
802
- t(Me) ? (g(), u("ul", Et, [(g(!0), u(r, null, x(t(Fe), ({ id: n, name: r, description: i, images: a }) => (g(), c(at, {
805
+ t(Fe) ? (g(), u("ul", Et, [(g(!0), u(r, null, x(t(Le), ({ id: n, name: r, description: i, images: a }) => (g(), c(at, {
803
806
  key: n,
804
807
  type: "event",
805
808
  "listing-id": n,
@@ -816,12 +819,12 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
816
819
  "tracking-enabled",
817
820
  "callback"
818
821
  ]))), 128))])) : l("", !0),
819
- ze.value.length > 0 && t(Y).length > 0 ? (g(), u("h2", Dt, [s(K, {
822
+ Be.value.length > 0 && t(Y).length > 0 ? (g(), u("h2", Dt, [s(K, {
820
823
  icon: "calendar-clock",
821
824
  type: "fal",
822
825
  color: "header"
823
826
  }), S("span", null, d(t(m)("event.availableNow")), 1)])) : l("", !0),
824
- S("ul", Ot, [t(B) && a.onlyShow !== "templates" ? (g(!0), u(r, { key: 0 }, x(ze.value, (n) => (g(), c(Ye, {
827
+ S("ul", Ot, [t(oe) && a.onlyShow !== "templates" ? (g(!0), u(r, { key: 0 }, x(Be.value, (n) => (g(), c(Ye, {
825
828
  key: n.name,
826
829
  name: n.name,
827
830
  events: n.events ?? [],
@@ -832,7 +835,7 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
832
835
  "events",
833
836
  "tracking-enabled",
834
837
  "callback"
835
- ]))), 128)) : l("", !0), t(V) && a.onlyShow !== "events" ? (g(!0), u(r, { key: 1 }, x(t(ue), ({ id: n, name: r, fromDate: i, toDate: a, minimumPersonCount: o, fromPrice: s, description: l, images: u }) => (g(), c(ot, {
838
+ ]))), 128)) : l("", !0), t(se) && a.onlyShow !== "events" ? (g(!0), u(r, { key: 1 }, x(t(de), ({ id: n, name: r, fromDate: i, toDate: a, minimumPersonCount: o, fromPrice: s, description: l, images: u }) => (g(), c(ot, {
836
839
  key: n,
837
840
  "listing-id": n,
838
841
  name: r,
@@ -872,82 +875,86 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
872
875
  "tracking-enabled",
873
876
  "callback"
874
877
  ]))), 128))])], 64)) : l("", !0),
875
- (!t(B) && !t(V) || !t(B) && a.onlyShow === "events" || !t(V) && a.onlyShow === "templates") && !t(Me) ? (g(), u("div", {
878
+ (!t(oe) && !t(se) || !t(oe) && a.onlyShow === "events" || !t(se) && a.onlyShow === "templates") && !t(Fe) ? (g(), u("div", {
876
879
  key: 3,
877
880
  class: "konnectio-panel",
878
881
  innerHTML: t(m)("event.nothingAvailable")
879
882
  }, null, 8, jt)) : l("", !0)
880
- ])) : (g(), c(Ie, { key: 1 }))]),
883
+ ])) : t(De) && t(we) ? (g(), u("div", Mt, [S("span", null, d(t(m)("alert.error.couldntFetchListings")), 1), s(W, {
884
+ label: t(m)("general.searchAgain"),
885
+ "full-width": "",
886
+ onClickEvent: i[0] ||= (e) => t(Ke)()
887
+ }, null, 8, ["label"])])) : (g(), c(Ie, { key: 2 }))]),
881
888
  _: 2
882
889
  }, 1024)]),
883
890
  addons: y(({ next: e, prev: n }) => [t(Te) ? (g(), c(bt, {
884
891
  key: 0,
885
- "prev-callback": () => t(Ze)(n)
892
+ "prev-callback": () => t(Qe)(n)
886
893
  }, {
887
- form: y(() => [S("form", Mt, [
894
+ form: y(() => [S("form", Nt, [
888
895
  S("h2", null, [S("span", null, d(t(m)("event.selectProducts")), 1)]),
889
- t(J) && t(J).length > 0 ? (g(), u("ul", Nt, [(g(!0), u(r, null, x(t(J), ({ roomGroupId: e, addons: n, adultPerRoom: a }, l) => (g(), u("li", { key: e }, [S("h5", null, [
896
+ t(J) && t(J).length > 0 ? (g(), u("ul", Pt, [(g(!0), u(r, null, x(t(J), ({ roomGroupId: e, addons: n, adultPerRoom: a }, l) => (g(), u("li", { key: e }, [S("h5", null, [
890
897
  S("span", null, d(t(m)("booking.reservation.room")) + " #" + d(l + 1), 1),
891
- i[9] ||= o(" (", -1),
898
+ i[10] ||= o(" (", -1),
892
899
  s(K, {
893
900
  icon: "male",
894
901
  type: "fas",
895
902
  color: "header"
896
903
  }),
897
904
  o(" " + d(a) + ") ", 1)
898
- ]), S("table", Pt, [
905
+ ]), S("table", Ft, [
899
906
  S("thead", null, [S("tr", null, [
900
907
  S("th", null, [S("span", null, d(t(m)("booking.reservation.addons")), 1)]),
901
- i[10] ||= S("th", { class: "konnectio-event-addons-input" }, null, -1),
902
- S("th", Ft, [S("span", null, d(t(m)("booking.availability.price")), 1)])
908
+ i[11] ||= S("th", { class: "konnectio-event-addons-input" }, null, -1),
909
+ S("th", It, [S("span", null, d(t(m)("booking.availability.price")), 1)])
903
910
  ])]),
904
911
  S("tbody", null, [(g(!0), u(r, null, x(n, ({ id: n, cardinality: r, name: a, price: o, quantityStrategy: s }) => (g(), u("tr", { key: n }, [
905
912
  S("td", null, [
906
913
  S("b", null, d(a), 1),
907
- i[11] ||= S("br", null, null, -1),
908
- S("span", null, d(t(W)(o, t(X))) + " " + d(t(F)(s)), 1)
914
+ i[12] ||= S("br", null, null, -1),
915
+ S("span", null, d(t(U)(o, t(X))) + " " + d(t(I)(s)), 1)
909
916
  ]),
910
- S("td", It, [r === t(ce).Mandatory ? (g(), c(U, {
917
+ S("td", Lt, [r === t(ue).Mandatory ? (g(), c(H, {
911
918
  key: 0,
912
919
  "model-value": 1,
913
920
  small: !0,
914
921
  "min-value": 1,
915
922
  "max-value": 1,
916
923
  readonly: ""
917
- })) : (g(), c(U, {
924
+ })) : (g(), c(H, {
918
925
  key: 1,
919
926
  modelValue: t(T)[`${e}.${n}.${l}`],
920
927
  "onUpdate:modelValue": (r) => t(T)[`${e}.${n}.${l}`] = r,
921
928
  small: !0,
922
929
  "min-value": 0,
923
- "max-value": t(te)(r)
930
+ "max-value": t(ee)(r)
924
931
  }, null, 8, [
925
932
  "modelValue",
926
933
  "onUpdate:modelValue",
927
934
  "max-value"
928
935
  ]))]),
929
- S("td", Lt, [S("span", null, d(t(W)(t(qe)(n, e, l), t(X))), 1)])
936
+ S("td", Rt, [S("span", null, d(t(U)(t(Je)(n, e, l), t(X))), 1)])
930
937
  ]))), 128))]),
931
938
  S("tfoot", null, [S("tr", null, [
932
- i[12] ||= S("td", null, null, -1),
933
939
  i[13] ||= S("td", null, null, -1),
934
- S("td", Rt, [S("u", null, [S("span", null, d(t(W)(t(Je)(e, l), t(X))), 1)])])
940
+ i[14] ||= S("td", null, null, -1),
941
+ S("td", zt, [S("u", null, [S("span", null, d(t(U)(t(Xe)(e, l), t(X))), 1)])])
935
942
  ])])
936
943
  ])]))), 128))])) : l("", !0),
937
- t(Se) ? (g(), u("table", zt, [S("tbody", null, [(g(!0), u(r, null, x(t(q).products, ({ id: e, name: n, price: r, description: i }) => (g(), u("tr", { key: e }, [S("td", Bt, [
938
- S("b", null, [S("span", null, d(t(re)(n)), 1)]),
939
- i && i !== n ? (g(), u("span", Vt, d(t(re)(i)), 1)) : l("", !0),
940
- S("u", null, d(t(W)(r, t(X))), 1)
941
- ]), S("td", Ht, [s(U, {
944
+ t(Se) ? (g(), u("table", Bt, [S("tbody", null, [(g(!0), u(r, null, x(t(q).products, ({ id: e, name: n, price: r, description: i }) => (g(), u("tr", { key: e }, [S("td", Vt, [
945
+ S("b", null, [S("span", null, d(t(ne)(n)), 1)]),
946
+ i && i !== n ? (g(), u("span", Ht, d(t(ne)(i)), 1)) : l("", !0),
947
+ S("u", null, d(t(U)(r, t(X))), 1)
948
+ ]), S("td", Ut, [s(H, {
942
949
  modelValue: t(E)[e],
943
950
  "onUpdate:modelValue": (n) => t(E)[e] = n,
944
951
  small: !0,
945
952
  "min-value": 0
946
953
  }, null, 8, ["modelValue", "onUpdate:modelValue"])])]))), 128))])])) : l("", !0)
947
954
  ])]),
948
- navigation: y(() => [s(fe, {
955
+ navigation: y(() => [s(W, {
949
956
  label: t(m)("event.startReservation"),
950
- disabled: !t(Ae),
957
+ disabled: !t(Me),
951
958
  "full-width": "",
952
959
  onClickEvent: e
953
960
  }, null, 8, [
@@ -960,18 +967,18 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
960
967
  reservation: y(({ next: e, prev: n }) => [s(bt, {
961
968
  "show-terms-notice": !0,
962
969
  "show-gift-card": !0,
963
- "prev-callback": () => t(Ze)(n)
970
+ "prev-callback": () => t(Qe)(n)
964
971
  }, {
965
- form: y(() => [S("form", Ut, [
972
+ form: y(() => [S("form", Wt, [
966
973
  S("h2", null, [S("span", null, d(t(m)("booking.reservation.detailsTitle")), 1)]),
967
- s(H, {
974
+ s(B, {
968
975
  modelValue: t(A),
969
- "onUpdate:modelValue": i[0] ||= (e) => h(A) ? A.value = e : null,
976
+ "onUpdate:modelValue": i[1] ||= (e) => h(A) ? A.value = e : null,
970
977
  type: "text",
971
978
  label: t(m)("booking.reservation.name"),
972
979
  icon: "user-alt",
973
980
  placeholder: t(m)("booking.reservation.namePlaceholder"),
974
- error: it("name"),
981
+ error: st("name"),
975
982
  required: ""
976
983
  }, null, 8, [
977
984
  "modelValue",
@@ -979,16 +986,16 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
979
986
  "placeholder",
980
987
  "error"
981
988
  ]),
982
- s(H, {
989
+ s(B, {
983
990
  modelValue: t(M),
984
- "onUpdate:modelValue": i[1] ||= (e) => h(M) ? M.value = e : null,
991
+ "onUpdate:modelValue": i[2] ||= (e) => h(M) ? M.value = e : null,
985
992
  label: t(m)("booking.reservation.email"),
986
993
  type: "email",
987
994
  name: "email",
988
995
  autocomplete: "email",
989
996
  icon: "at",
990
997
  placeholder: t(m)("booking.reservation.emailPlaceholder"),
991
- error: it("email"),
998
+ error: st("email"),
992
999
  required: ""
993
1000
  }, null, 8, [
994
1001
  "modelValue",
@@ -998,11 +1005,11 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
998
1005
  ]),
999
1006
  s(pe, {
1000
1007
  modelValue: t(j),
1001
- "onUpdate:modelValue": i[2] ||= (e) => h(j) ? j.value = e : null,
1008
+ "onUpdate:modelValue": i[3] ||= (e) => h(j) ? j.value = e : null,
1002
1009
  label: t(m)("booking.reservation.phone"),
1003
1010
  icon: "phone-office",
1004
1011
  placeholder: t(m)("booking.reservation.phonePlaceholder"),
1005
- error: it("phone"),
1012
+ error: st("phone"),
1006
1013
  required: ""
1007
1014
  }, null, 8, [
1008
1015
  "modelValue",
@@ -1010,31 +1017,31 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
1010
1017
  "placeholder",
1011
1018
  "error"
1012
1019
  ]),
1013
- t(ke) ? (g(), c(Ne, {
1020
+ t(Ae) ? (g(), c(Ne, {
1014
1021
  key: 0,
1015
1022
  modelValue: t(z),
1016
- "onUpdate:modelValue": i[3] ||= (e) => h(z) ? z.value = e : null,
1023
+ "onUpdate:modelValue": i[4] ||= (e) => h(z) ? z.value = e : null,
1017
1024
  label: t(m)("event.selectArrivalTime"),
1018
1025
  name: "eventTimeTable",
1019
- checkboxes: ct.value,
1026
+ checkboxes: lt.value,
1020
1027
  required: ""
1021
1028
  }, null, 8, [
1022
1029
  "modelValue",
1023
1030
  "label",
1024
1031
  "checkboxes"
1025
1032
  ])) : l("", !0),
1026
- t(Ce) === t(de).FullDayEvent ? (g(), c(U, {
1033
+ t(Ce) === t(fe).FullDayEvent ? (g(), c(H, {
1027
1034
  key: 1,
1028
1035
  modelValue: t(D),
1029
- "onUpdate:modelValue": i[4] ||= (e) => h(D) ? D.value = e : null,
1036
+ "onUpdate:modelValue": i[5] ||= (e) => h(D) ? D.value = e : null,
1030
1037
  label: t(m)("event.numberOfDays"),
1031
1038
  "min-value": 1,
1032
1039
  required: ""
1033
1040
  }, null, 8, ["modelValue", "label"])) : l("", !0),
1034
- a.showHighChairs === "yes" ? (g(), c(U, {
1041
+ a.showHighChairs === "yes" ? (g(), c(H, {
1035
1042
  key: 2,
1036
1043
  modelValue: t(k),
1037
- "onUpdate:modelValue": i[5] ||= (e) => h(k) ? k.value = e : null,
1044
+ "onUpdate:modelValue": i[6] ||= (e) => h(k) ? k.value = e : null,
1038
1045
  label: t(m)("event.numberOfHighChairs"),
1039
1046
  icon: "baby",
1040
1047
  "no-optional-label": !1
@@ -1042,13 +1049,13 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
1042
1049
  a.showFlagOnTable === "yes" ? (g(), c(he, {
1043
1050
  key: 3,
1044
1051
  modelValue: t(O),
1045
- "onUpdate:modelValue": i[6] ||= (e) => h(O) ? O.value = e : null,
1052
+ "onUpdate:modelValue": i[7] ||= (e) => h(O) ? O.value = e : null,
1046
1053
  label: t(m)("event.flagOnTable")
1047
1054
  }, null, 8, ["modelValue", "label"])) : l("", !0),
1048
- a.hideRemarks === "yes" ? l("", !0) : (g(), c(H, {
1055
+ a.hideRemarks === "yes" ? l("", !0) : (g(), c(B, {
1049
1056
  key: 4,
1050
1057
  modelValue: t(L),
1051
- "onUpdate:modelValue": i[7] ||= (e) => h(L) ? L.value = e : null,
1058
+ "onUpdate:modelValue": i[8] ||= (e) => h(L) ? L.value = e : null,
1052
1059
  type: "textarea",
1053
1060
  label: t(m)("booking.reservation.remark"),
1054
1061
  icon: "info-circle",
@@ -1058,10 +1065,10 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
1058
1065
  "label",
1059
1066
  "placeholder"
1060
1067
  ])),
1061
- a.hideAllergies !== "yes" && t(q)?.showAllergyFoodFieldOnline ? (g(), c(H, {
1068
+ a.hideAllergies !== "yes" && t(q)?.showAllergyFoodFieldOnline ? (g(), c(B, {
1062
1069
  key: 5,
1063
1070
  modelValue: t(R),
1064
- "onUpdate:modelValue": i[8] ||= (e) => h(R) ? R.value = e : null,
1071
+ "onUpdate:modelValue": i[9] ||= (e) => h(R) ? R.value = e : null,
1065
1072
  type: "textarea",
1066
1073
  label: t(m)("booking.reservation.allergies"),
1067
1074
  icon: "allergies",
@@ -1072,12 +1079,12 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
1072
1079
  "placeholder"
1073
1080
  ])) : l("", !0)
1074
1081
  ])]),
1075
- navigation: y(() => [t(C) ? (g(), c(_e, { key: 0 })) : l("", !0), s(fe, {
1082
+ navigation: y(() => [t(C) ? (g(), c(_e, { key: 0 })) : l("", !0), s(W, {
1076
1083
  label: t(m)("general.confirmReservation"),
1077
- "is-loading": t(De) || t(C),
1078
- disabled: !t(Oe),
1084
+ "is-loading": t(Oe) || t(C),
1085
+ disabled: !t(ke),
1079
1086
  "full-width": "",
1080
- onClickEvent: (t) => ut(e)
1087
+ onClickEvent: (t) => dt(e)
1081
1088
  }, null, 8, [
1082
1089
  "label",
1083
1090
  "is-loading",
@@ -1098,8 +1105,8 @@ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/
1098
1105
  _: 1
1099
1106
  }, 8, ["styling"]));
1100
1107
  }
1101
- }), [["__scopeId", "data-v-766373f0"]]), Gt = D(), Kt = E("konnectio-event", Wt, (e) => {
1102
- e.use(j), e.use(T), e.use(Gt), e.use(Y), e.use(ze);
1108
+ }), [["__scopeId", "data-v-a5263005"]]), Kt = D(), qt = E("konnectio-event", Gt, (e) => {
1109
+ e.use(j), e.use(T), e.use(Kt), e.use(Me), e.use(ze);
1103
1110
  });
1104
1111
  //#endregion
1105
- export { Kt as default };
1112
+ export { qt as default };