@konnectio/core 4.7.18 → 4.8.1

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 (115) hide show
  1. package/dist/{ActionField-L0Lr7Cq5.js → ActionField-nQffsZA2.js} +5 -5
  2. package/dist/ActionField-nQffsZA2.js.br +0 -0
  3. package/dist/ActionField-nQffsZA2.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-CSQUAVcs.js → AvailabilitySkeleton-AmgXdz28.js} +1737 -1580
  5. package/dist/AvailabilitySkeleton-AmgXdz28.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-AmgXdz28.js.gz +0 -0
  7. package/dist/CheckoutWindow-D8IPM2hs.js +1786 -0
  8. package/dist/CheckoutWindow-D8IPM2hs.js.br +0 -0
  9. package/dist/CheckoutWindow-D8IPM2hs.js.gz +0 -0
  10. package/dist/{ErrorMessage-BZqsLh26.js → ErrorMessage-DJAdBPXD.js} +2 -2
  11. package/dist/ErrorMessage-DJAdBPXD.js.br +0 -0
  12. package/dist/ErrorMessage-DJAdBPXD.js.gz +0 -0
  13. package/dist/{EventAvailabilityForm-Cuxc0RuT.js → EventAvailabilityForm-Bspi3PTG.js} +13 -12
  14. package/dist/EventAvailabilityForm-Bspi3PTG.js.br +0 -0
  15. package/dist/EventAvailabilityForm-Bspi3PTG.js.gz +0 -0
  16. package/dist/{Field-AlAFHkiH.js → Field-BbzATkQp.js} +2 -2
  17. package/dist/Field-BbzATkQp.js.br +0 -0
  18. package/dist/Field-BbzATkQp.js.gz +4 -0
  19. package/dist/{HotelAvailabilityForm-C3iHHzNH.js → HotelAvailabilityForm-DcNJrBEP.js} +15 -14
  20. package/dist/HotelAvailabilityForm-DcNJrBEP.js.br +0 -0
  21. package/dist/HotelAvailabilityForm-DcNJrBEP.js.gz +0 -0
  22. package/dist/{SelectField-hZSfVqht.js → SelectField-DRafB_Cb.js} +2980 -2852
  23. package/dist/SelectField-DRafB_Cb.js.br +0 -0
  24. package/dist/SelectField-DRafB_Cb.js.gz +0 -0
  25. package/dist/{TermsOfService-CSImjp8p.js → TermsOfService-BJaXGVwJ.js} +3 -3
  26. package/dist/TermsOfService-BJaXGVwJ.js.br +0 -0
  27. package/dist/TermsOfService-BJaXGVwJ.js.gz +0 -0
  28. package/dist/{_-ceQWaE_o.js → _-P_tgh1jk.js} +3 -3
  29. package/dist/_-P_tgh1jk.js.br +0 -0
  30. package/dist/_-P_tgh1jk.js.gz +3 -0
  31. package/dist/availability.js +8 -8
  32. package/dist/availability.js.br +0 -0
  33. package/dist/availability.js.gz +0 -0
  34. package/dist/cancel-reservation.js +12 -12
  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/deep-link.js +1 -1
  41. package/dist/deep-link.js.br +0 -0
  42. package/dist/deep-link.js.gz +0 -0
  43. package/dist/dist-BHP07uuH.js +3631 -0
  44. package/dist/dist-BHP07uuH.js.br +0 -0
  45. package/dist/dist-BHP07uuH.js.gz +0 -0
  46. package/dist/{dist-DEZcjiNm.js → dist-D4EW1Jz1.js} +82 -69
  47. package/dist/dist-D4EW1Jz1.js.br +0 -0
  48. package/dist/dist-D4EW1Jz1.js.gz +0 -0
  49. package/dist/event.js +270 -234
  50. package/dist/event.js.br +0 -0
  51. package/dist/event.js.gz +0 -0
  52. package/dist/gift-card-validation.js +10 -10
  53. package/dist/gift-card-validation.js.br +0 -0
  54. package/dist/gift-card-validation.js.gz +0 -0
  55. package/dist/gift-card.js +123 -99
  56. package/dist/gift-card.js.br +0 -0
  57. package/dist/gift-card.js.gz +0 -0
  58. package/dist/{giftCard-CoefzLvK.js → giftCard-Db5RQgXn.js} +23 -13
  59. package/dist/giftCard-Db5RQgXn.js.br +0 -0
  60. package/dist/giftCard-Db5RQgXn.js.gz +0 -0
  61. package/dist/hotel.js +1196 -1130
  62. package/dist/hotel.js.br +0 -0
  63. package/dist/hotel.js.gz +0 -0
  64. package/dist/{i18n-DwFTw_rF.js → i18n-BF6zkld-.js} +3397 -3461
  65. package/dist/i18n-BF6zkld-.js.br +0 -0
  66. package/dist/i18n-BF6zkld-.js.gz +0 -0
  67. package/dist/polyfill.js +1906 -1641
  68. package/dist/polyfill.js.br +0 -0
  69. package/dist/polyfill.js.gz +0 -0
  70. package/dist/{rolldown-runtime-Dqa2HsxW.js → rolldown-runtime-B0aSnxlc.js} +2 -2
  71. package/dist/rolldown-runtime-B0aSnxlc.js.br +0 -0
  72. package/dist/rolldown-runtime-B0aSnxlc.js.gz +5 -0
  73. package/dist/{style-DRBxevpd.js → style-CLohB3MA.js} +8 -6
  74. package/dist/style-CLohB3MA.js.br +0 -0
  75. package/dist/style-CLohB3MA.js.gz +0 -0
  76. package/dist-wix/availability.js +42 -36
  77. package/dist-wix/event.js +34 -27
  78. package/dist-wix/gift-card-validation.js +33 -33
  79. package/dist-wix/gift-card.js +42 -35
  80. package/dist-wix/hotel.js +34 -27
  81. package/package.json +25 -23
  82. package/dist/ActionField-L0Lr7Cq5.js.br +0 -0
  83. package/dist/ActionField-L0Lr7Cq5.js.gz +0 -0
  84. package/dist/AvailabilitySkeleton-CSQUAVcs.js.br +0 -0
  85. package/dist/AvailabilitySkeleton-CSQUAVcs.js.gz +0 -0
  86. package/dist/CheckoutWindow-CjVK26L8.js +0 -718
  87. package/dist/CheckoutWindow-CjVK26L8.js.br +0 -0
  88. package/dist/CheckoutWindow-CjVK26L8.js.gz +0 -0
  89. package/dist/ErrorMessage-BZqsLh26.js.br +0 -0
  90. package/dist/ErrorMessage-BZqsLh26.js.gz +0 -0
  91. package/dist/EventAvailabilityForm-Cuxc0RuT.js.br +0 -0
  92. package/dist/EventAvailabilityForm-Cuxc0RuT.js.gz +0 -0
  93. package/dist/Field-AlAFHkiH.js.br +0 -0
  94. package/dist/Field-AlAFHkiH.js.gz +0 -0
  95. package/dist/HotelAvailabilityForm-C3iHHzNH.js.br +0 -0
  96. package/dist/HotelAvailabilityForm-C3iHHzNH.js.gz +0 -0
  97. package/dist/SelectField-hZSfVqht.js.br +0 -0
  98. package/dist/SelectField-hZSfVqht.js.gz +0 -0
  99. package/dist/TermsOfService-CSImjp8p.js.br +0 -0
  100. package/dist/TermsOfService-CSImjp8p.js.gz +0 -3
  101. package/dist/_-ceQWaE_o.js.br +0 -0
  102. package/dist/_-ceQWaE_o.js.gz +0 -5
  103. package/dist/dist-DEZcjiNm.js.br +0 -0
  104. package/dist/dist-DEZcjiNm.js.gz +0 -0
  105. package/dist/dist-DtPUJ4bx.js +0 -1338
  106. package/dist/dist-DtPUJ4bx.js.br +0 -0
  107. package/dist/dist-DtPUJ4bx.js.gz +0 -0
  108. package/dist/giftCard-CoefzLvK.js.br +0 -0
  109. package/dist/giftCard-CoefzLvK.js.gz +0 -0
  110. package/dist/i18n-DwFTw_rF.js.br +0 -0
  111. package/dist/i18n-DwFTw_rF.js.gz +0 -0
  112. package/dist/rolldown-runtime-Dqa2HsxW.js.br +0 -0
  113. package/dist/rolldown-runtime-Dqa2HsxW.js.gz +0 -2
  114. package/dist/style-DRBxevpd.js.br +0 -0
  115. package/dist/style-DRBxevpd.js.gz +0 -0
package/dist/event.js CHANGED
@@ -1,43 +1,48 @@
1
- import { $ as e, A as t, D as n, E as r, Et as i, J as a, K as o, N as s, O as c, Q as l, T as u, Tt as d, a as f, b as p, ht as m, j as h, k as g, kt as _, l as v, n as y, o as b, ot as x, s as S, ut as C, v as w, w as T, x as E, yt as D } from "./i18n-DwFTw_rF.js";
2
- import { t as O } from "./dist-DtPUJ4bx.js";
3
- import { $ as k, B as A, C as j, D as M, E as N, I as ee, K as te, N as P, Q as F, R as I, S as L, U as ne, V as re, X as R, Y as z, _t as ie, b as ae, et as B, j as oe, n as V, nt as se, ot as ce, q as H, r as U, st as le, v as W, w as G, x as K } from "./SelectField-hZSfVqht.js";
4
- import { t as ue } from "./_-ceQWaE_o.js";
5
- import { a as q, c as J, d as de, f as fe, i as pe, l as me, n as he, o as ge, r as _e, s as ve, u as ye } from "./AvailabilitySkeleton-CSQUAVcs.js";
6
- import { t as be } from "./EventAvailabilityForm-Cuxc0RuT.js";
7
- import { t as Y } from "./style-DRBxevpd.js";
8
- import { a as xe, c as Se, i as Ce, l as we, n as Te, o as Ee, s as De, t as Oe, u as X } from "./dist-DEZcjiNm.js";
9
- import { a as ke, i as Ae, n as je, t as Me } from "./CheckoutWindow-CjVK26L8.js";
1
+ import { $ as e, A as t, D as n, E as r, Et as i, J as a, K as o, N as s, O as c, Q as l, T as u, Tt as d, a as f, b as p, ct as m, ht as h, j as g, k as _, kt as v, l as y, n as b, o as x, ot as S, s as C, ut as w, v as T, w as E, x as D, xt as O, yt as k } from "./i18n-BF6zkld-.js";
2
+ import { t as A } from "./dist-BHP07uuH.js";
3
+ import { $ as j, C as M, D as ee, E as N, H as te, J as P, L as F, N as I, S as L, T as ne, V as R, W as re, X as z, Z as B, b as V, ct as ie, et as ae, j as oe, mt as se, n as ce, q as le, r as H, rt as U, st as ue, tt as de, v as W, w as G, x as K, z as fe } from "./SelectField-DRafB_Cb.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-D8IPM2hs.js";
5
+ import { t as be } from "./_-P_tgh1jk.js";
6
+ import { a as q, 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-AmgXdz28.js";
7
+ import { t as je } from "./EventAvailabilityForm-Bspi3PTG.js";
8
+ import { t as J } from "./style-CLohB3MA.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 Y } from "./dist-D4EW1Jz1.js";
10
10
  //#region node_modules/date-fns/formatDistanceStrict.js
11
- function Z(e, t, n) {
12
- let r = J(), i = n?.locale ?? r.locale ?? _e, a = q(e, t);
11
+ function X(e, t, n) {
12
+ let r = xe(), i = n?.locale ?? r.locale ?? Oe, a = q(e, t);
13
13
  if (isNaN(a)) throw RangeError("Invalid time value");
14
14
  let o = Object.assign({}, n, {
15
15
  addSuffix: n?.addSuffix,
16
16
  comparison: a
17
- }), [s, c] = ge(n?.in, ...a > 0 ? [t, e] : [e, t]), l = pe(n?.roundingMethod ?? "round"), u = c.getTime() - s.getTime(), d = u / me, f = (u - (ve(c) - ve(s))) / me, p = n?.unit, m;
17
+ }), [s, c] = De(n?.in, ...a > 0 ? [t, e] : [e, t]), l = we(n?.roundingMethod ?? "round"), u = c.getTime() - s.getTime(), d = u / Te, f = (u - (ke(c) - ke(s))) / Te, p = n?.unit, m;
18
18
  if (m = p || (d < 1 ? "second" : d < 60 ? "minute" : d < 1440 ? "hour" : f < 43200 ? "day" : f < 525600 ? "month" : "year"), m === "second") {
19
19
  let e = l(u / 1e3);
20
20
  return i.formatDistance("xSeconds", e, o);
21
- } else if (m === "minute") {
21
+ }
22
+ if (m === "minute") {
22
23
  let e = l(d);
23
24
  return i.formatDistance("xMinutes", e, o);
24
- } else if (m === "hour") {
25
+ }
26
+ if (m === "hour") {
25
27
  let e = l(d / 60);
26
28
  return i.formatDistance("xHours", e, o);
27
- } else if (m === "day") {
28
- let e = l(f / ye);
29
+ }
30
+ if (m === "day") {
31
+ let e = l(f / Ae);
29
32
  return i.formatDistance("xDays", e, o);
30
- } else if (m === "month") {
31
- let e = l(f / de);
33
+ }
34
+ if (m === "month") {
35
+ let e = l(f / Se);
32
36
  return e === 12 && p !== "month" ? i.formatDistance("xYears", 1, o) : i.formatDistance("xMonths", e, o);
33
- } else {
34
- let e = l(f / fe);
37
+ }
38
+ {
39
+ let e = l(f / Ce);
35
40
  return i.formatDistance("xYears", e, o);
36
41
  }
37
42
  }
38
43
  //#endregion
39
44
  //#region src/components/listings/event/_.vue?vue&type=script&setup=true&lang.ts
40
- var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/ L(/* @__PURE__ */ s({
45
+ var Be = { class: "konnectio-event-listing-action-button" }, Ve = /*#__PURE__*/ L(/* @__PURE__ */ s({
41
46
  __name: "_",
42
47
  props: {
43
48
  name: {},
@@ -68,34 +73,34 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
68
73
  callback: {}
69
74
  },
70
75
  setup(t) {
71
- let { t: o } = f(), s = t, { display: c } = P(), { hideEventGuestAmount: l } = v(N()), { maxNumberOfPeople: p, numberOfPeople: m, eventId: g, currentEventDate: _, tableGroupId: y } = v(G()), { getTemplateAvailability: b, getEventAvailability: x, isEventListingLoading: S } = G(), { addToCart: w } = M(), E = T(() => s.maxGuests || s.maxOnlineReservationLimit || p.value || Infinity), O = D(0), k = T(() => S(s.listingId)), A = () => {
72
- if (!s.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
76
+ let { t: o } = f(), s = t, { display: c } = I(), { hideEventGuestAmount: l } = y(N()), { maxNumberOfPeople: p, numberOfPeople: m, eventId: h, currentEventDate: _, tableGroupId: v } = y(G()), { getTemplateAvailability: b, getEventAvailability: x, isEventListingLoading: S } = G(), { addToCart: C } = ee(), T = E(() => s.maxGuests || s.maxOnlineReservationLimit || p.value || Infinity), D = k(0), O = E(() => S(s.listingId)), A = () => {
77
+ if (!s.useNumberOfProductsForPersons && (D.value === 0 || isNaN(D.value))) {
73
78
  c({
74
79
  type: "error",
75
80
  message: o("alert.error.selectPeople")
76
81
  });
77
82
  return;
78
83
  }
79
- s.trackingEnabled && w({
84
+ s.trackingEnabled && C({
80
85
  id: s.listingId,
81
86
  name: s.name,
82
87
  value: s.fromPrice || 0
83
- }), g.value = s.listingId, m.value = s.useNumberOfProductsForPersons ? NaN : O.value, b(s.callback);
88
+ }), h.value = s.listingId, m.value = s.useNumberOfProductsForPersons ? NaN : D.value, b(s.callback);
84
89
  }, j = () => {
85
- if (!s.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
90
+ if (!s.useNumberOfProductsForPersons && (D.value === 0 || isNaN(D.value))) {
86
91
  c({
87
92
  type: "error",
88
93
  message: o("alert.error.selectPeople")
89
94
  });
90
95
  return;
91
96
  }
92
- s.trackingEnabled && w({
97
+ s.trackingEnabled && C({
93
98
  id: s.listingId,
94
99
  name: s.name,
95
100
  value: s.fromPrice || 0
96
- }), g.value = s.listingId, y.value = s.tableGroupId, m.value = s.useNumberOfProductsForPersons ? NaN : O.value, x(s.callback);
101
+ }), h.value = s.listingId, v.value = s.tableGroupId, m.value = s.useNumberOfProductsForPersons ? NaN : D.value, x(s.callback);
97
102
  };
98
- return (s, c) => (a(), r(we, {
103
+ return (s, c) => (a(), r(Fe, {
99
104
  type: "event",
100
105
  "listing-id": t.listingId,
101
106
  gallery: t.gallery,
@@ -103,30 +108,30 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
103
108
  description: t.description,
104
109
  "prices-from": t.fromPrice,
105
110
  "to-date": t.toDate,
106
- layout: d(se).Event,
111
+ layout: d(U).Event,
107
112
  "disable-deep-link": t.disableDeepLink
108
113
  }, {
109
- description: C(() => [e(s.$slots, "description", { maxNumberOfPeople: d(p) }, void 0, !0)]),
110
- action: C(() => [e(s.$slots, "action", {}, () => [u("div", { class: i(["konnectio-event-listing-action", { "no-selectable-people": t.useNumberOfProductsForPersons }]) }, [t.useNumberOfProductsForPersons ? n("", !0) : (a(), r(U, {
114
+ description: w(() => [e(s.$slots, "description", { maxNumberOfPeople: d(p) }, void 0, !0)]),
115
+ action: w(() => [e(s.$slots, "action", {}, () => [u("div", { class: i(["konnectio-event-listing-action", { "no-selectable-people": t.useNumberOfProductsForPersons }]) }, [t.useNumberOfProductsForPersons ? n("", !0) : (a(), r(H, {
111
116
  key: 0,
112
- modelValue: O.value,
113
- "onUpdate:modelValue": c[0] ||= (e) => O.value = e,
117
+ modelValue: D.value,
118
+ "onUpdate:modelValue": c[0] ||= (e) => D.value = e,
114
119
  label: d(o)("event.numberOfGuests"),
115
120
  icon: "users",
116
121
  "icon-type": "fas",
117
122
  "icon-placement": "label",
118
- description: E.value <= 20 && !d(l) ? `${d(o)("general.availableFor")}: 1 - ${E.value} ${d(H)(d(o)("general.guests"))}` : void 0,
123
+ description: T.value <= 20 && !d(l) ? `${d(o)("general.availableFor")}: 1 - ${T.value} ${d(P)(d(o)("general.guests"))}` : void 0,
119
124
  "min-value": 0,
120
- "max-value": E.value
125
+ "max-value": T.value
121
126
  }, null, 8, [
122
127
  "modelValue",
123
128
  "label",
124
129
  "description",
125
130
  "max-value"
126
- ])), u("div", Ne, [h(W, {
131
+ ])), u("div", Be, [g(W, {
127
132
  label: t.soldOut ? d(o)("event.soldOut") : d(o)("event.bookNowButton"),
128
133
  disabled: t.soldOut,
129
- "is-loading": k.value,
134
+ "is-loading": O.value,
130
135
  "full-width": "",
131
136
  "sub-label": d(z)(d(_)),
132
137
  onClickEvent: c[1] ||= (e) => t.type === "event" ? j() : A()
@@ -148,13 +153,13 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
148
153
  "disable-deep-link"
149
154
  ]));
150
155
  }
151
- }), [["__scopeId", "data-v-bfd98c31"]]), Fe = { class: "konnectio-event-listing-information-new" }, Ie = {
156
+ }), [["__scopeId", "data-v-bfd98c31"]]), He = { class: "konnectio-event-listing-information-new" }, Ue = {
152
157
  key: 1,
153
158
  class: "konnectio-pill-button"
154
- }, Le = {
159
+ }, We = {
155
160
  key: 2,
156
161
  class: "konnectio-pill-button"
157
- }, Re = { key: 0 }, ze = { key: 1 }, Q = /*#__PURE__*/ L(/* @__PURE__ */ s({
162
+ }, Ge = { key: 0 }, Ke = { key: 1 }, Z = /*#__PURE__*/ L(/* @__PURE__ */ s({
158
163
  __name: "Event",
159
164
  props: {
160
165
  name: {},
@@ -177,12 +182,12 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
177
182
  callback: {}
178
183
  },
179
184
  setup(t) {
180
- let i = t, { t: o } = f(), { hideEventLength: s, hideEventEndTime: l } = v(N()), p = T(() => {
185
+ let i = t, { t: o } = f(), { hideEventLength: s, hideEventEndTime: l } = y(N()), p = E(() => {
181
186
  if (!i.length) return;
182
187
  let e = i.length.split(":");
183
- 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));
184
189
  });
185
- return (i, f) => (a(), r(Pe, {
190
+ return (i, f) => (a(), r(Ve, {
186
191
  "listing-id": t.listingId,
187
192
  name: t.name,
188
193
  description: t.description,
@@ -197,21 +202,21 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
197
202
  "tracking-enabled": t.trackingEnabled,
198
203
  callback: t.callback
199
204
  }, {
200
- description: C(() => [t.description ? (a(), r(X, {
205
+ description: w(() => [t.description ? (a(), r(Y, {
201
206
  key: 0,
202
207
  text: t.description
203
- }, null, 8, ["text"])) : n("", !0), u("ul", Fe, [
208
+ }, null, 8, ["text"])) : n("", !0), u("ul", He, [
204
209
  n("", !0),
205
- !d(s) && p.value ? (a(), c("li", Ie, [u("div", null, [h(K, {
210
+ !d(s) && p.value ? (a(), c("li", Ue, [u("div", null, [g(K, {
206
211
  icon: "calendar-clock",
207
212
  color: "header"
208
- }), u("span", null, _(d(o)("event.lengthOfEvent")), 1)]), u("span", null, _(p.value), 1)])) : n("", !0),
209
- t.timeFrom ? (a(), c("li", Le, [u("div", null, [h(K, {
213
+ }), u("span", null, v(d(o)("event.lengthOfEvent")), 1)]), u("span", null, v(p.value), 1)])) : n("", !0),
214
+ t.timeFrom ? (a(), c("li", We, [u("div", null, [g(K, {
210
215
  icon: "calendar-clock",
211
216
  color: "header"
212
- }), u("span", null, _(d(o)("event.startAndEndTime")), 1)]), d(l) ? (a(), c("span", ze, _(d(k)(t.timeFrom)), 1)) : (a(), c("span", Re, _(d(B)(t.timeFrom, t.timeTo)), 1))])) : n("", !0)
217
+ }), u("span", null, v(d(o)("event.startAndEndTime")), 1)]), d(l) ? (a(), c("span", Ke, v(d(ae)(t.timeFrom)), 1)) : (a(), c("span", Ge, v(d(de)(t.timeFrom, t.timeTo)), 1))])) : n("", !0)
213
218
  ])]),
214
- action: C(() => [e(i.$slots, "action", {}, void 0, !0)]),
219
+ action: w(() => [e(i.$slots, "action", {}, void 0, !0)]),
215
220
  _: 3
216
221
  }, 8, [
217
222
  "listing-id",
@@ -228,10 +233,10 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
228
233
  "callback"
229
234
  ]));
230
235
  }
231
- }), [["__scopeId", "data-v-2ecac268"]]), Be = {
236
+ }), [["__scopeId", "data-v-2ecac268"]]), qe = {
232
237
  key: 0,
233
238
  class: "konnectio-event-grouped-listings-container"
234
- }, Ve = { class: "konnectio-event-grouped-listings" }, He = /*#__PURE__*/ L(/* @__PURE__ */ s({
239
+ }, Je = { class: "konnectio-event-grouped-listings" }, Ye = /*#__PURE__*/ L(/* @__PURE__ */ s({
235
240
  __name: "Event",
236
241
  props: {
237
242
  name: {},
@@ -240,7 +245,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
240
245
  callback: { type: Function }
241
246
  },
242
247
  setup(e) {
243
- return (t, i) => e.events && e.events.length > 1 ? (a(), c("div", Be, [n("", !0), u("ul", Ve, [(a(!0), c(p, null, l(e.events, ({ id: t, days: n, name: i, timeFrom: o, timeTo: s, tableGroupId: c, description: l, soldOut: u, length: d, images: f, maxOnlineReservationLimit: p, maxPaxPerReservation: m, useNumberOfProductsForPersons: h, maxTicketsLimit: g }) => (a(), r(Q, {
248
+ return (t, i) => e.events && e.events.length > 1 ? (a(), c("div", qe, [n("", !0), u("ul", Je, [(a(!0), c(p, null, l(e.events, ({ id: t, days: n, name: i, timeFrom: o, timeTo: s, tableGroupId: c, description: l, soldOut: u, length: d, images: f, maxOnlineReservationLimit: p, maxPaxPerReservation: m, useNumberOfProductsForPersons: h, maxTicketsLimit: g }) => (a(), r(Z, {
244
249
  key: t,
245
250
  type: "event",
246
251
  "listing-id": t,
@@ -272,7 +277,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
272
277
  "use-number-of-products-for-persons",
273
278
  "tracking-enabled",
274
279
  "callback"
275
- ]))), 128))])])) : e.events ? (a(), r(Q, {
280
+ ]))), 128))])])) : e.events ? (a(), r(Z, {
276
281
  key: e.events[0].id,
277
282
  type: "event",
278
283
  "listing-id": e.events[0].id,
@@ -310,7 +315,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
310
315
  "callback"
311
316
  ])) : n("", !0);
312
317
  }
313
- }), [["__scopeId", "data-v-3584070d"]]), Ue = { class: "konnectio-special-offer-availability" }, We = { class: "konnectio-special-offer-availability-button" }, $ = { class: "konnectio-warning-notice" }, Ge = { key: 0 }, Ke = { key: 1 }, qe = /*#__PURE__*/ L(/* @__PURE__ */ s({
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 }, Q = { key: 1 }, et = /*#__PURE__*/ L(/* @__PURE__ */ s({
314
319
  __name: "NextEvent",
315
320
  props: {
316
321
  name: {},
@@ -332,14 +337,14 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
332
337
  callback: { type: Function }
333
338
  },
334
339
  setup(e) {
335
- let { t: n } = f(), { updateEventDate: i } = j(), { display: s } = P(), l = D(), p = e;
340
+ let { t: n } = f(), { updateEventDate: i } = M(), { display: s } = I(), l = k(), p = e;
336
341
  function m() {
337
342
  l.value ? i(l.value) : s({
338
343
  message: n("alert.error.selectDate"),
339
344
  type: "error"
340
345
  });
341
346
  }
342
- let g = T(() => I(p.fromDate, p.toDate) <= 1), v = T(() => [
347
+ let h = E(() => fe(p.fromDate, p.toDate) <= 1), _ = E(() => [
343
348
  0,
344
349
  1,
345
350
  2,
@@ -347,10 +352,10 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
347
352
  4,
348
353
  5,
349
354
  6
350
- ].filter((e) => !A(p.days).includes(e)));
355
+ ].filter((e) => !R(p.days).includes(e)));
351
356
  return o(() => {
352
- g.value && (l.value = new Date(p.fromDate));
353
- }), (i, o) => (a(), r(Q, {
357
+ h.value && (l.value = new Date(p.fromDate));
358
+ }), (i, o) => (a(), r(Z, {
354
359
  name: e.name,
355
360
  description: e.description,
356
361
  "from-date": e.fromDate,
@@ -370,18 +375,18 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
370
375
  callback: e.callback,
371
376
  "disable-deep-link": !0
372
377
  }, {
373
- action: C(() => [u("div", null, [u("div", Ue, [h(he, {
378
+ action: w(() => [u("div", null, [u("div", Xe, [g(Ee, {
374
379
  modelValue: l.value,
375
380
  "onUpdate:modelValue": o[0] ||= (e) => l.value = e,
376
381
  label: `${d(n)("event.selectDate")}*`,
377
382
  placeholder: d(n)("event.selectDate"),
378
383
  "icon-type": "fas",
379
384
  "icon-placement": "label",
380
- readonly: g.value,
385
+ readonly: h.value,
381
386
  "start-date": e.fromDate === "0001-01-01T00:00:00Z" ? new Date(e.toDate) : new Date(e.fromDate),
382
387
  "min-date": e.fromDate === "0001-01-01T00:00:00Z" ? new Date(e.toDate) : new Date(e.fromDate),
383
388
  "max-date": new Date(e.toDate),
384
- "disabled-week-days": v.value
389
+ "disabled-week-days": _.value
385
390
  }, null, 8, [
386
391
  "modelValue",
387
392
  "label",
@@ -391,10 +396,10 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
391
396
  "min-date",
392
397
  "max-date",
393
398
  "disabled-week-days"
394
- ]), u("div", We, [h(W, {
399
+ ]), u("div", Ze, [g(W, {
395
400
  label: d(n)("availability.buttonLabel"),
396
- onClick: w(m, ["prevent"])
397
- }, null, 8, ["label"])])]), u("div", $, [g.value ? (a(), c("span", Ge, [t("*" + _(d(n)("event.canBeBooked")) + " ", 1), u("u", null, _(d(z)(e.fromDate)), 1)])) : (a(), c("span", Ke, [t("*" + _(d(n)("event.canBeBooked")) + " ", 1), u("u", null, _(d(R)(e.days)), 1)]))])])]),
401
+ onClick: T(m, ["prevent"])
402
+ }, null, 8, ["label"])])]), u("div", Qe, [h.value ? (a(), c("span", $e, [t("*" + v(d(n)("event.canBeBooked")) + " ", 1), u("u", null, v(d(z)(e.fromDate)), 1)])) : (a(), c("span", Q, [t("*" + v(d(n)("event.canBeBooked")) + " ", 1), u("u", null, v(d(B)(e.days)), 1)]))])])]),
398
403
  _: 1
399
404
  }, 8, [
400
405
  "name",
@@ -416,10 +421,10 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
416
421
  "callback"
417
422
  ]));
418
423
  }
419
- }), [["__scopeId", "data-v-91ea584c"]]), Je = {
424
+ }), [["__scopeId", "data-v-91ea584c"]]), tt = {
420
425
  key: 0,
421
426
  class: "konnectio-event-grouped-listings-container"
422
- }, Ye = { class: "konnectio-event-grouped-listings" }, Xe = /*#__PURE__*/ L(/* @__PURE__ */ s({
427
+ }, nt = { class: "konnectio-event-grouped-listings" }, rt = /*#__PURE__*/ L(/* @__PURE__ */ s({
423
428
  __name: "NextEvent",
424
429
  props: {
425
430
  name: {},
@@ -428,7 +433,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
428
433
  callback: { type: Function }
429
434
  },
430
435
  setup(e) {
431
- return (t, i) => e.events && e.events.length > 1 ? (a(), c("div", Je, [n("", !0), u("ul", Ye, [(a(!0), c(p, null, l(e.events, ({ id: t, days: n, name: i, timeFrom: o, timeTo: s, fromDate: c, toDate: l, tableGroupId: u, description: d, soldOut: f, length: p, images: m, maxOnlineReservationLimit: h, maxPaxPerReservation: g, useNumberOfProductsForPersons: _, maxTicketsLimit: v }) => (a(), r(qe, {
436
+ return (t, i) => e.events && e.events.length > 1 ? (a(), c("div", tt, [n("", !0), u("ul", nt, [(a(!0), c(p, null, l(e.events, ({ id: t, days: n, name: i, timeFrom: o, timeTo: s, fromDate: c, toDate: l, tableGroupId: u, description: d, soldOut: f, length: p, images: m, maxOnlineReservationLimit: h, maxPaxPerReservation: g, useNumberOfProductsForPersons: _, maxTicketsLimit: v }) => (a(), r(et, {
432
437
  key: t,
433
438
  type: "event",
434
439
  "listing-id": t,
@@ -464,7 +469,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
464
469
  "use-number-of-products-for-persons",
465
470
  "tracking-enabled",
466
471
  "callback"
467
- ]))), 128))])])) : e.events ? (a(), r(qe, {
472
+ ]))), 128))])])) : e.events ? (a(), r(et, {
468
473
  key: e.events[0].id,
469
474
  type: "event",
470
475
  "listing-id": e.events[0].id,
@@ -502,7 +507,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
502
507
  "callback"
503
508
  ])) : n("", !0);
504
509
  }
505
- }), [["__scopeId", "data-v-138f6cac"]]), Ze = ["innerHTML"], Qe = /*#__PURE__*/ L(/* @__PURE__ */ s({
510
+ }), [["__scopeId", "data-v-56a468d4"]]), $ = ["innerHTML"], it = /*#__PURE__*/ L(/* @__PURE__ */ s({
506
511
  __name: "FallbackEvent",
507
512
  props: {
508
513
  name: {},
@@ -516,7 +521,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
516
521
  },
517
522
  setup(e) {
518
523
  let { t } = f();
519
- return (n, i) => (a(), r(Q, {
524
+ return (n, i) => (a(), r(Z, {
520
525
  name: e.name,
521
526
  description: e.description,
522
527
  "from-date": e.fromDate,
@@ -527,10 +532,10 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
527
532
  callback: e.callback,
528
533
  "disable-deep-link": !0
529
534
  }, {
530
- action: C(() => [u("div", {
535
+ action: w(() => [u("div", {
531
536
  class: "konnectio-filter-notice konnectio-top-message",
532
537
  innerHTML: d(t)("event.notAvailable", { name: `<b>${e.name}</b>` })
533
- }, null, 8, Ze)]),
538
+ }, null, 8, $)]),
534
539
  _: 1
535
540
  }, 8, [
536
541
  "name",
@@ -543,7 +548,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
543
548
  "callback"
544
549
  ]));
545
550
  }
546
- }), [["__scopeId", "data-v-aca89b02"]]), $e = /* @__PURE__ */ s({
551
+ }), [["__scopeId", "data-v-aca89b02"]]), at = /* @__PURE__ */ s({
547
552
  __name: "Template",
548
553
  props: {
549
554
  name: {},
@@ -560,7 +565,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
560
565
  callback: {}
561
566
  },
562
567
  setup(e) {
563
- return (t, n) => (a(), r(Pe, {
568
+ return (t, n) => (a(), r(Ve, {
564
569
  "listing-id": e.listingId,
565
570
  gallery: e.images,
566
571
  name: e.name,
@@ -581,13 +586,13 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
581
586
  "callback"
582
587
  ]));
583
588
  }
584
- }), et = {
589
+ }), ot = {
585
590
  key: 0,
586
591
  class: "konnectio-panel konnectio-reservation-notice-mobile"
587
- }, tt = ["innerHTML"], nt = { key: 0 }, rt = { key: 1 }, it = { key: 2 }, at = { key: 0 }, ot = { key: 4 }, st = { key: 5 }, ct = { key: 6 }, lt = { key: 0 }, ut = { key: 0 }, dt = { key: 1 }, ft = {
592
+ }, st = ["innerHTML"], ct = { key: 0 }, lt = { key: 1 }, ut = { key: 2 }, dt = { key: 0 }, ft = { key: 4 }, pt = { key: 5 }, mt = { key: 6 }, ht = { key: 0 }, gt = { key: 0 }, _t = { key: 1 }, vt = {
588
593
  key: 0,
589
594
  class: "konnectio-capitalize"
590
- }, pt = /*#__PURE__*/ L(/* @__PURE__ */ s({
595
+ }, yt = /*#__PURE__*/ L(/* @__PURE__ */ s({
591
596
  __name: "EventReservationForm",
592
597
  props: {
593
598
  showGiftCard: {
@@ -601,47 +606,47 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
601
606
  prevCallback: {}
602
607
  },
603
608
  setup(t) {
604
- let { t: i } = f(), o = x(), { areListingsAvailable: s, arrivalTime: h, numberOfPeople: y, numberOfRooms: b, numberOfTotalDays: S, isTemplateEvent: w, currentEventDate: T, length: E, fromDate: D, tableBasePrice: O, getTemplateData: A, basePrice: j, totalPrice: M, weekendFee: ee, roomUpgrade: te, discountCode: P, totalSelectedProducts: I, discountValue: L, appliedDiscountCode: ne } = v(G()), { totalAddonPrice: re, validateDiscountCode: R } = G(), { currency: ie, hideEventLength: ae } = v(N()), B = i("event.reservationNotice");
605
- return (f, v) => (a(), r(xe, {
609
+ let { t: i } = f(), o = S(), { areListingsAvailable: s, arrivalTime: m, numberOfPeople: g, numberOfRooms: b, numberOfTotalDays: x, isTemplateEvent: C, currentEventDate: T, length: E, fromDate: D, tableBasePrice: O, getTemplateData: k, basePrice: A, totalPrice: M, weekendFee: ee, roomUpgrade: te, discountCode: P, totalSelectedProducts: F, discountValue: I, appliedDiscountCode: L } = y(G()), { totalAddonPrice: ne, validateDiscountCode: R } = G(), { currency: re, hideEventLength: B } = y(N()), V = i("event.reservationNotice");
610
+ return (f, y) => (a(), r(Me, {
606
611
  "discount-code": d(P),
607
- "onUpdate:discountCode": v[0] ||= (e) => m(P) ? P.value = e : null,
612
+ "onUpdate:discountCode": y[0] ||= (e) => h(P) ? P.value = e : null,
608
613
  "validate-discount-code": d(R),
609
614
  "show-gift-card": t.showGiftCard,
610
615
  "show-terms-notice": t.showTermsNotice,
611
616
  "is-sidebar-loading": !d(s),
612
- "base-price": d(j),
617
+ "base-price": d(A),
613
618
  "total-price": d(M),
614
619
  "weekend-fee": d(ee),
615
620
  "room-upgrade": d(te),
616
- notice: d(B),
621
+ notice: d(V),
617
622
  "prev-callback": t.prevCallback
618
- }, g({
619
- form: C(() => [e(f.$slots, "form", {}, void 0, !0), d(B) ? (a(), c("div", et, [u("p", {
620
- innerHTML: d(B),
623
+ }, _({
624
+ form: w(() => [e(f.$slots, "form", {}, void 0, !0), d(V) ? (a(), c("div", ot, [u("p", {
625
+ innerHTML: d(V),
621
626
  class: "konnectio-wysiwyg"
622
- }, null, 8, tt)])) : n("", !0)]),
623
- "reservation-summary": C(() => [
624
- d(w) ? n("", !0) : (a(), c("li", nt, [u("span", null, _(d(i)("general.date")), 1), u("b", null, _(d(z)(d(T))), 1)])),
625
- d(y) > 0 ? (a(), c("li", rt, [u("span", null, _(d(i)("event.numberOfGuests")), 1), u("b", null, _(d(y)), 1)])) : n("", !0),
626
- !d(w) && d(I) > 0 ? (a(), c("li", it, [u("span", null, _(d(i)("event.numberOfProducts")), 1), u("b", null, _(d(I)), 1)])) : n("", !0),
627
- d(w) ? (a(), c(p, { key: 3 }, [
628
- u("li", null, [u("span", null, _(d(i)("booking.reservation.arrival")), 1), u("b", null, _(d(z)(d(D))), 1)]),
629
- u("li", null, [u("span", null, _(d(i)("booking.reservation.departure")), 1), u("b", null, _(d(z)(d(D), d(S))), 1)]),
630
- u("li", null, [u("span", null, _(d(i)("event.numberOfRooms")), 1), u("b", null, _(d(b)), 1)]),
631
- d(S) > 0 ? (a(), c("li", at, [u("span", null, _(d(i)("event.numberOfDays")), 1), u("b", null, _(d(S)), 1)])) : n("", !0)
627
+ }, null, 8, st)])) : n("", !0)]),
628
+ "reservation-summary": w(() => [
629
+ d(C) ? n("", !0) : (a(), c("li", ct, [u("span", null, v(d(i)("general.date")), 1), u("b", null, v(d(z)(d(T))), 1)])),
630
+ d(g) > 0 ? (a(), c("li", lt, [u("span", null, v(d(i)("event.numberOfGuests")), 1), u("b", null, v(d(g)), 1)])) : n("", !0),
631
+ !d(C) && d(F) > 0 ? (a(), c("li", ut, [u("span", null, v(d(i)("event.numberOfProducts")), 1), u("b", null, v(d(F)), 1)])) : n("", !0),
632
+ d(C) ? (a(), c(p, { key: 3 }, [
633
+ u("li", null, [u("span", null, v(d(i)("booking.reservation.arrival")), 1), u("b", null, v(d(z)(d(D))), 1)]),
634
+ u("li", null, [u("span", null, v(d(i)("booking.reservation.departure")), 1), u("b", null, v(d(z)(d(D), d(x))), 1)]),
635
+ u("li", null, [u("span", null, v(d(i)("event.numberOfRooms")), 1), u("b", null, v(d(b)), 1)]),
636
+ d(x) > 0 ? (a(), c("li", dt, [u("span", null, v(d(i)("event.numberOfDays")), 1), u("b", null, v(d(x)), 1)])) : n("", !0)
632
637
  ], 64)) : n("", !0),
633
- !d(w) && d(h) ? (a(), c("li", ot, [u("span", null, _(d(i)("event.startOfEvent")), 1), u("b", null, _(d(k)(d(h))), 1)])) : n("", !0),
634
- !d(w) && d(E) && !d(ae) ? (a(), c("li", st, [u("span", null, _(d(i)("event.lengthOfEvent")), 1), u("b", null, _(d(k)(d(E))), 1)])) : n("", !0),
635
- d(L) ? (a(), c("li", ct, [u("span", null, _(d(i)("general.discountCode")), 1), u("b", null, _(d(ne)), 1)])) : n("", !0)
638
+ !d(C) && d(m) ? (a(), c("li", ft, [u("span", null, v(d(i)("event.startOfEvent")), 1), u("b", null, v(d(ae)(d(m))), 1)])) : n("", !0),
639
+ !d(C) && d(E) && !d(B) ? (a(), c("li", pt, [u("span", null, v(d(i)("event.lengthOfEvent")), 1), u("b", null, v(d(ae)(d(E))), 1)])) : n("", !0),
640
+ d(I) ? (a(), c("li", mt, [u("span", null, v(d(i)("general.discountCode")), 1), u("b", null, v(d(L)), 1)])) : n("", !0)
636
641
  ]),
637
- "price-summary": C(() => [!d(w) && d(O) > 0 ? (a(), c("li", lt, [u("span", null, _(d(i)("booking.availability.basePrice")), 1), u("b", null, _(d(F)(d(O), d(ie))), 1)])) : n("", !0), d(A) ? (a(!0), c(p, { key: 1 }, l(d(A), ({ roomGroupId: e }, t) => (a(), c(p, null, [d(re)(e, t) > 0 ? (a(), c("li", { key: e }, [u("span", null, _(d(i)("booking.reservation.addons")) + " - " + _(d(i)("booking.reservation.room")) + " #" + _(t + 1), 1), u("b", null, _(d(F)(d(re)(e, t), d(ie))), 1)])) : n("", !0)], 64))), 256)) : n("", !0)]),
638
- navigation: C(() => [e(f.$slots, "navigation", {}, void 0, !0)]),
639
- "mobile-under-price": C(() => [d(w) && d(S) > 0 ? (a(), c("div", ut, [u("span", null, _(d(z)(d(D))) + " - " + _(d(z)(d(D), d(S))), 1)])) : (a(), c("div", dt, [u("span", null, _(d(z)(d(T))), 1)]))]),
640
- "mobile-summary": C(() => [!d(w) && d(I) > 0 ? (a(), c("span", ft, _(d(i)("event.numberOfProducts")) + ": " + _(d(I)), 1)) : n("", !0)]),
642
+ "price-summary": w(() => [!d(C) && d(O) > 0 ? (a(), c("li", ht, [u("span", null, v(d(i)("booking.availability.basePrice")), 1), u("b", null, v(d(j)(d(O), d(re))), 1)])) : n("", !0), d(k) ? (a(!0), c(p, { key: 1 }, l(d(k), ({ roomGroupId: e }, t) => (a(), c(p, null, [d(ne)(e, t) > 0 ? (a(), c("li", { key: e }, [u("span", null, v(d(i)("booking.reservation.addons")) + " - " + v(d(i)("booking.reservation.room")) + " #" + v(t + 1), 1), u("b", null, v(d(j)(d(ne)(e, t), d(re))), 1)])) : n("", !0)], 64))), 256)) : n("", !0)]),
643
+ navigation: w(() => [e(f.$slots, "navigation", {}, void 0, !0)]),
644
+ "mobile-under-price": w(() => [d(C) && d(x) > 0 ? (a(), c("div", gt, [u("span", null, v(d(z)(d(D))) + " - " + v(d(z)(d(D), d(x))), 1)])) : (a(), c("div", _t, [u("span", null, v(d(z)(d(T))), 1)]))]),
645
+ "mobile-summary": w(() => [!d(C) && d(F) > 0 ? (a(), c("span", vt, v(d(i)("event.numberOfProducts")) + ": " + v(d(F)), 1)) : n("", !0)]),
641
646
  _: 2
642
647
  }, [d(o).sidebar ? {
643
648
  name: "sidebar",
644
- fn: C(() => [e(f.$slots, "sidebar", {}, void 0, !0)]),
649
+ fn: w(() => [e(f.$slots, "sidebar", {}, void 0, !0)]),
645
650
  key: "0"
646
651
  } : void 0]), 1032, [
647
652
  "discount-code",
@@ -657,27 +662,27 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
657
662
  "prev-callback"
658
663
  ]));
659
664
  }
660
- }), [["__scopeId", "data-v-c1e1c642"]]), mt = { class: "event-skeleton" }, ht = { class: "event-skeleton-content" }, gt = { class: "event-skeleton-sidebar" }, _t = /*#__PURE__*/ L(/* @__PURE__ */ s({
665
+ }), [["__scopeId", "data-v-c1e1c642"]]), bt = { class: "event-skeleton" }, xt = { class: "event-skeleton-content" }, St = { class: "event-skeleton-sidebar" }, Ct = /*#__PURE__*/ L(/* @__PURE__ */ s({
661
666
  __name: "EventSkeleton",
662
667
  setup(e) {
663
- return (e, t) => (a(), c("div", mt, [u("div", ht, [h(Te)]), u("div", gt, [n("", !0), h(Ee)])]));
668
+ return (e, t) => (a(), c("div", bt, [u("div", xt, [g(Ie)]), u("div", St, [n("", !0), g(Le)])]));
664
669
  }
665
- }), [["__scopeId", "data-v-af0e7efb"]]), vt = {
670
+ }), [["__scopeId", "data-v-af0e7efb"]]), wt = {
666
671
  key: 0,
667
672
  id: "konnectio-event-listings-wrapper"
668
- }, yt = {
673
+ }, Tt = {
669
674
  key: 0,
670
675
  class: "konnectio-event-listings"
671
- }, bt = {
676
+ }, Et = {
672
677
  key: 1,
673
678
  class: "konnectio-hotel-availability-title"
674
- }, xt = { class: "konnectio-event-listings" }, St = { class: "konnectio-hotel-availability-title" }, Ct = { class: "konnectio-event-listings" }, wt = ["innerHTML"], Tt = { class: "konnectio-panel" }, Et = {
679
+ }, Dt = { class: "konnectio-event-listings" }, Ot = { class: "konnectio-hotel-availability-title" }, kt = { class: "konnectio-event-listings" }, At = ["innerHTML"], jt = { class: "konnectio-panel" }, Mt = {
675
680
  key: 0,
676
681
  id: "konnectio-event-addons"
677
- }, Dt = { class: "konnectio-table with-lines" }, Ot = { class: "konnectio-event-addons-price" }, kt = { class: "konnectio-event-addons-input" }, At = { class: "konnectio-event-addons-price" }, jt = { class: "konnectio-event-addons-price" }, Mt = {
682
+ }, Nt = { class: "konnectio-table with-lines" }, Pt = { class: "konnectio-event-addons-price" }, Ft = { class: "konnectio-event-addons-input" }, It = { class: "konnectio-event-addons-price" }, Lt = { class: "konnectio-event-addons-price" }, Rt = {
678
683
  key: 1,
679
684
  class: "konnectio-table with-lines without-header"
680
- }, Nt = { class: "konnectio-table-addons-information" }, Pt = { key: 0 }, Ft = { class: "konnectio-table-addons-option" }, It = { class: "konnectio-panel" }, Lt = /*#__PURE__*/ L(/* @__PURE__ */ s({
685
+ }, zt = { class: "konnectio-table-addons-information" }, Bt = { key: 0 }, Vt = { class: "konnectio-table-addons-option" }, Ht = { class: "konnectio-panel" }, Ut = /*#__PURE__*/ L(/* @__PURE__ */ s({
681
686
  name: "EventLayout",
682
687
  __name: "Event",
683
688
  props: {
@@ -695,7 +700,26 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
695
700
  styling: {}
696
701
  },
697
702
  setup(e) {
698
- let i = e, { t: o } = f(), s = G(), { isHostedCheckoutActive: g } = v(oe()), { addons: y, products: b, numberOfDays: x, flagOnTable: S, numberOfHighChairs: w, name: D, phone: O, email: A, remark: I, allergies: L, arrivalTime: R, hasEvents: z, hasTemplates: B, getTemplates: se, getEventData: H, getTemplateData: q, getEventTableData: J, hasProducts: de, eventRateType: fe, areListingsAvailable: pe, isAvailabilityDataAvailable: me, hasListingData: he, isPaymentLoading: ge, isReservationFormFilled: _e, requiresArrivalTime: ve, hasSelectedRequiredProducts: ye, getUnavailableEvents: Y, hasFallbackEvents: xe, getFallbackEvents: we, excludeEventIds: Ee } = v(s), Oe = T(() => s.getSortedEvents(i.sortOrder)), { currency: X, enableTracking: Z } = v(N()), { setActiveIdFilter: Ne } = N(), { eventDate: Pe, eventLocation: Fe } = v(j()), { isValidRestaurantId: Ie } = j(), { initialize: Le, fetchListings: Re, createBooking: ze, localAddonPrice: Q, totalAddonPrice: Be, reset: Ve, goBack: Ue } = G(), { beginEventCheckout: We } = M(), { display: $ } = P(), Ge = T(() => [
703
+ let i = e, { t: o } = f(), s = G(), { isHostedCheckoutActive: _ } = y(oe()), { addons: b, products: x, numberOfDays: S, flagOnTable: C, numberOfHighChairs: T, name: k, phone: A, email: P, remark: L, allergies: R, arrivalTime: z, hasEvents: B, hasTemplates: U, getTemplates: de, getEventData: fe, getTemplateData: q, getEventTableData: xe, hasProducts: Se, eventRateType: Ce, areListingsAvailable: we, isAvailabilityDataAvailable: Te, hasListingData: Ee, isPaymentLoading: De, isReservationFormFilled: Oe, requiresArrivalTime: ke, hasSelectedRequiredProducts: Ae, getUnavailableEvents: J, hasFallbackEvents: Me, getFallbackEvents: Fe, excludeEventIds: Le } = y(s), ze = E(() => s.getSortedEvents(i.sortOrder)), { currency: Y, enableTracking: X } = y(N()), { setActiveIdFilter: Be } = N(), { eventDate: Ve, eventLocation: He } = y(M()), { isValidRestaurantId: Ue } = M(), { initialize: We, fetchListings: Ge, createBooking: Ke, bookingPayload: Z, localAddonPrice: qe, totalAddonPrice: Je, reset: Xe, goBack: Ze } = G(), { beginEventCheckout: Qe } = ee(), { display: $e } = I();
704
+ ge.useHttpClient(ve(ne()));
705
+ let Q = O(), et;
706
+ function tt() {
707
+ let { url: e, data: t } = Z();
708
+ if (!Q.value || et !== e) {
709
+ let n = me("post", e, t);
710
+ n.setValidationTimeout(600), et = e, Q.value = n;
711
+ }
712
+ return Q.value;
713
+ }
714
+ function nt(e) {
715
+ let t = tt();
716
+ t.setData(Z().data), t.validate(e);
717
+ }
718
+ function $(e) {
719
+ return Q.value?.errors[e];
720
+ }
721
+ m(k, () => nt("name")), m(P, () => nt("email")), m(A, () => nt("phone"));
722
+ let ot = E(() => [
699
723
  {
700
724
  id: "availability",
701
725
  label: o("booking.availability.title"),
@@ -721,64 +745,68 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
721
745
  label: o("booking.confirmation.title"),
722
746
  icon: "calendar-check"
723
747
  }
724
- ]), Ke = T(() => {
748
+ ]), st = E(() => {
725
749
  let e = [];
726
- return J.value && J.value.forEach((t) => {
750
+ return xe.value && xe.value.forEach((t) => {
727
751
  e.find((e) => e.value === t.time) || e.push({
728
- label: k(t.time),
752
+ label: ae(t.time),
729
753
  value: t.time
730
754
  });
731
755
  }), e;
732
756
  });
733
- function qe() {
734
- Ve(i.resetDate === "yes");
757
+ function ct() {
758
+ Xe(i.resetDate === "yes");
735
759
  }
736
- function Je(e) {
737
- Z.value && We(), ze(e);
760
+ async function lt(e) {
761
+ X.value && Qe();
762
+ let t = await Ke(e);
763
+ t && tt().setErrors(t);
738
764
  }
739
- function Ye() {
740
- let e = ie("history", { removeNullishValues: !0 }), t = parseInt(e.rid), n = e.d, r = parseInt(e.eid);
741
- if (n) if (te(n)) {
742
- let t = new Date(n);
743
- t.setHours(12, 0, 0, 0) >= (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0) ? Pe.value = t : ($({
744
- message: o("alert.error.invalidDateRange"),
765
+ function ut() {
766
+ let e = se("history", { removeNullishValues: !0 }), t = parseInt(e.rid), n = e.d, r = parseInt(e.eid);
767
+ if (n) {
768
+ if (le(n)) {
769
+ let t = new Date(n);
770
+ t.setHours(12, 0, 0, 0) >= (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0) ? Ve.value = t : ($e({
771
+ message: o("alert.error.invalidDateRange"),
772
+ type: "error"
773
+ }), e.d = void 0);
774
+ } else $e({
775
+ message: o("alert.error.wrongDateFormat"),
745
776
  type: "error"
746
- }), e.d = void 0);
747
- } else $({
748
- message: o("alert.error.wrongDateFormat"),
749
- type: "error"
750
- });
751
- isNaN(t) || (Ie(t) ? Fe.value = t : (e.rid = void 0, $({
777
+ });
778
+ }
779
+ isNaN(t) || (Ue(t) ? He.value = t : (e.rid = void 0, $e({
752
780
  message: o("alert.error.hotelIdNotFound"),
753
781
  type: "error"
754
- }))), isNaN(r) || Ne(String(r)), i.excludeEventIds && (Ee.value = i.excludeEventIds), Re();
782
+ }))), isNaN(r) || Be(String(r)), i.excludeEventIds && (Le.value = i.excludeEventIds), Ge();
755
783
  }
756
- return (i, s) => (a(), r(ae, { styling: e.styling }, {
757
- default: C(() => [(a(), r(E, { onResolve: Ye }, {
758
- default: C(() => [h(ue, {
784
+ return (i, s) => (a(), r(V, { styling: e.styling }, {
785
+ default: w(() => [(a(), r(D, { onResolve: ut }, {
786
+ default: w(() => [g(be, {
759
787
  id: "konnectio-event-module",
760
788
  "access-token": e.accessToken,
761
- callback: d(Le)
789
+ callback: d(We)
762
790
  }, {
763
- default: C(() => [h(De, {
764
- steps: Ge.value,
765
- onReset: qe
791
+ default: w(() => [g(Re, {
792
+ steps: ot.value,
793
+ onReset: ct
766
794
  }, {
767
- availability: C(({ next: t }) => [h(pt, null, {
768
- sidebar: C(() => [h(be, {
795
+ availability: w(({ next: t }) => [g(yt, null, {
796
+ sidebar: w(() => [g(je, {
769
797
  redirection: !1,
770
798
  "selected-location": Number(e.selectedLocation),
771
799
  "hide-locations": e.hideLocations === "yes"
772
800
  }, null, 8, ["selected-location", "hide-locations"])]),
773
- form: C(() => [d(he) && d(pe) ? (a(), c("div", vt, [
774
- d(xe) ? (a(), c("ul", yt, [(a(!0), c(p, null, l(d(we), ({ id: e, name: n, description: i, images: o }) => (a(), r(Qe, {
801
+ form: w(() => [d(Ee) && d(we) ? (a(), c("div", wt, [
802
+ d(Me) ? (a(), c("ul", Tt, [(a(!0), c(p, null, l(d(Fe), ({ id: e, name: n, description: i, images: o }) => (a(), r(it, {
775
803
  key: e,
776
804
  type: "event",
777
805
  "listing-id": e,
778
806
  description: i,
779
807
  name: n,
780
808
  gallery: o,
781
- "tracking-enabled": d(Z),
809
+ "tracking-enabled": d(X),
782
810
  callback: t
783
811
  }, null, 8, [
784
812
  "listing-id",
@@ -788,22 +816,23 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
788
816
  "tracking-enabled",
789
817
  "callback"
790
818
  ]))), 128))])) : n("", !0),
791
- Oe.value.length > 0 && d(Y).length > 0 ? (a(), c("h2", bt, [h(K, {
819
+ ze.value.length > 0 && d(J).length > 0 ? (a(), c("h2", Et, [g(K, {
792
820
  icon: "calendar-clock",
793
821
  type: "fal",
794
822
  color: "header"
795
- }), u("span", null, _(d(o)("event.availableNow")), 1)])) : n("", !0),
796
- u("ul", xt, [d(z) && e.onlyShow !== "templates" ? (a(!0), c(p, { key: 0 }, l(Oe.value, (e) => (a(), r(He, {
823
+ }), u("span", null, v(d(o)("event.availableNow")), 1)])) : n("", !0),
824
+ u("ul", Dt, [d(B) && e.onlyShow !== "templates" ? (a(!0), c(p, { key: 0 }, l(ze.value, (e) => (a(), r(Ye, {
825
+ key: e.name,
797
826
  name: e.name,
798
827
  events: e.events ?? [],
799
- "tracking-enabled": d(Z),
828
+ "tracking-enabled": d(X),
800
829
  callback: t
801
830
  }, null, 8, [
802
831
  "name",
803
832
  "events",
804
833
  "tracking-enabled",
805
834
  "callback"
806
- ]))), 256)) : n("", !0), d(B) && e.onlyShow !== "events" ? (a(!0), c(p, { key: 1 }, l(d(se), ({ id: e, name: n, fromDate: i, toDate: o, minimumPersonCount: s, fromPrice: c, description: l, images: u }) => (a(), r($e, {
835
+ ]))), 128)) : n("", !0), d(U) && e.onlyShow !== "events" ? (a(!0), c(p, { key: 1 }, l(d(de), ({ id: e, name: n, fromDate: i, toDate: o, minimumPersonCount: s, fromPrice: c, description: l, images: u }) => (a(), r(at, {
807
836
  key: e,
808
837
  "listing-id": e,
809
838
  name: n,
@@ -813,7 +842,7 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
813
842
  "to-date": o,
814
843
  "minimum-person-count": s,
815
844
  fromPrice: c,
816
- "tracking-enabled": d(Z),
845
+ "tracking-enabled": d(X),
817
846
  callback: t
818
847
  }, null, 8, [
819
848
  "listing-id",
@@ -827,97 +856,98 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
827
856
  "tracking-enabled",
828
857
  "callback"
829
858
  ]))), 128)) : n("", !0)]),
830
- d(Y).length > 0 && e.onlyShow !== "templates" ? (a(), c(p, { key: 2 }, [u("h2", St, [h(K, {
859
+ d(J).length > 0 && e.onlyShow !== "templates" ? (a(), c(p, { key: 2 }, [u("h2", Ot, [g(K, {
831
860
  icon: "calendar-circle-exclamation",
832
861
  type: "fal",
833
862
  color: "header"
834
- }), u("span", null, _(d(o)("event.availableLater")), 1)]), u("ul", Ct, [(a(!0), c(p, null, l(d(Y), (e) => (a(), r(Xe, {
863
+ }), u("span", null, v(d(o)("event.availableLater")), 1)]), u("ul", kt, [(a(!0), c(p, null, l(d(J), (e) => (a(), r(rt, {
864
+ key: e.name,
835
865
  name: e.name,
836
866
  events: e.events ?? [],
837
- "tracking-enabled": d(Z),
867
+ "tracking-enabled": d(X),
838
868
  callback: t
839
869
  }, null, 8, [
840
870
  "name",
841
871
  "events",
842
872
  "tracking-enabled",
843
873
  "callback"
844
- ]))), 256))])], 64)) : n("", !0),
845
- (!d(z) && !d(B) || !d(z) && e.onlyShow === "events" || !d(B) && e.onlyShow === "templates") && !d(xe) ? (a(), c("div", {
874
+ ]))), 128))])], 64)) : n("", !0),
875
+ (!d(B) && !d(U) || !d(B) && e.onlyShow === "events" || !d(U) && e.onlyShow === "templates") && !d(Me) ? (a(), c("div", {
846
876
  key: 3,
847
877
  class: "konnectio-panel",
848
878
  innerHTML: d(o)("event.nothingAvailable")
849
- }, null, 8, wt)) : n("", !0)
850
- ])) : (a(), r(Te, { key: 1 }))]),
879
+ }, null, 8, At)) : n("", !0)
880
+ ])) : (a(), r(Ie, { key: 1 }))]),
851
881
  _: 2
852
882
  }, 1024)]),
853
- addons: C(({ next: e, prev: i }) => [d(me) ? (a(), r(pt, {
883
+ addons: w(({ next: e, prev: i }) => [d(Te) ? (a(), r(yt, {
854
884
  key: 0,
855
- "prev-callback": () => d(Ue)(i)
885
+ "prev-callback": () => d(Ze)(i)
856
886
  }, {
857
- form: C(() => [u("form", Tt, [
858
- u("h2", null, [u("span", null, _(d(o)("event.selectProducts")), 1)]),
859
- d(q) && d(q).length > 0 ? (a(), c("ul", Et, [(a(!0), c(p, null, l(d(q), ({ roomGroupId: e, addons: n, adultPerRoom: i }, f) => (a(), c("li", { key: e }, [u("h5", null, [
860
- u("span", null, _(d(o)("booking.reservation.room")) + " #" + _(f + 1), 1),
887
+ form: w(() => [u("form", jt, [
888
+ u("h2", null, [u("span", null, v(d(o)("event.selectProducts")), 1)]),
889
+ d(q) && d(q).length > 0 ? (a(), c("ul", Mt, [(a(!0), c(p, null, l(d(q), ({ roomGroupId: e, addons: n, adultPerRoom: i }, f) => (a(), c("li", { key: e }, [u("h5", null, [
890
+ u("span", null, v(d(o)("booking.reservation.room")) + " #" + v(f + 1), 1),
861
891
  s[9] ||= t(" (", -1),
862
- h(K, {
892
+ g(K, {
863
893
  icon: "male",
864
894
  type: "fas",
865
895
  color: "header"
866
896
  }),
867
- t(" " + _(i) + ") ", 1)
868
- ]), u("table", Dt, [
897
+ t(" " + v(i) + ") ", 1)
898
+ ]), u("table", Nt, [
869
899
  u("thead", null, [u("tr", null, [
870
- u("th", null, [u("span", null, _(d(o)("booking.reservation.addons")), 1)]),
900
+ u("th", null, [u("span", null, v(d(o)("booking.reservation.addons")), 1)]),
871
901
  s[10] ||= u("th", { class: "konnectio-event-addons-input" }, null, -1),
872
- u("th", Ot, [u("span", null, _(d(o)("booking.availability.price")), 1)])
902
+ u("th", Pt, [u("span", null, v(d(o)("booking.availability.price")), 1)])
873
903
  ])]),
874
904
  u("tbody", null, [(a(!0), c(p, null, l(n, ({ id: t, cardinality: n, name: i, price: o, quantityStrategy: l }) => (a(), c("tr", { key: t }, [
875
905
  u("td", null, [
876
- u("b", null, _(i), 1),
906
+ u("b", null, v(i), 1),
877
907
  s[11] ||= u("br", null, null, -1),
878
- u("span", null, _(d(F)(o, d(X))) + " " + _(d(ne)(l)), 1)
908
+ u("span", null, v(d(j)(o, d(Y))) + " " + v(d(re)(l)), 1)
879
909
  ]),
880
- u("td", kt, [n === d(ce).Mandatory ? (a(), r(U, {
910
+ u("td", Ft, [n === d(ue).Mandatory ? (a(), r(H, {
881
911
  key: 0,
882
912
  "model-value": 1,
883
913
  small: !0,
884
914
  "min-value": 1,
885
915
  "max-value": 1,
886
916
  readonly: ""
887
- })) : (a(), r(U, {
917
+ })) : (a(), r(H, {
888
918
  key: 1,
889
- modelValue: d(y)[`${e}.${t}.${f}`],
890
- "onUpdate:modelValue": (n) => d(y)[`${e}.${t}.${f}`] = n,
919
+ modelValue: d(b)[`${e}.${t}.${f}`],
920
+ "onUpdate:modelValue": (n) => d(b)[`${e}.${t}.${f}`] = n,
891
921
  small: !0,
892
922
  "min-value": 0,
893
- "max-value": d(re)(n)
923
+ "max-value": d(te)(n)
894
924
  }, null, 8, [
895
925
  "modelValue",
896
926
  "onUpdate:modelValue",
897
927
  "max-value"
898
928
  ]))]),
899
- u("td", At, [u("span", null, _(d(F)(d(Q)(t, e, f), d(X))), 1)])
929
+ u("td", It, [u("span", null, v(d(j)(d(qe)(t, e, f), d(Y))), 1)])
900
930
  ]))), 128))]),
901
931
  u("tfoot", null, [u("tr", null, [
902
932
  s[12] ||= u("td", null, null, -1),
903
933
  s[13] ||= u("td", null, null, -1),
904
- u("td", jt, [u("u", null, [u("span", null, _(d(F)(d(Be)(e, f), d(X))), 1)])])
934
+ u("td", Lt, [u("u", null, [u("span", null, v(d(j)(d(Je)(e, f), d(Y))), 1)])])
905
935
  ])])
906
936
  ])]))), 128))])) : n("", !0),
907
- d(de) ? (a(), c("table", Mt, [u("tbody", null, [(a(!0), c(p, null, l(d(H).products, ({ id: e, name: t, price: r, description: i }) => (a(), c("tr", { key: e }, [u("td", Nt, [
908
- u("b", null, [u("span", null, _(d(ee)(t)), 1)]),
909
- i && i !== t ? (a(), c("span", Pt, _(d(ee)(i)), 1)) : n("", !0),
910
- u("u", null, _(d(F)(r, d(X))), 1)
911
- ]), u("td", Ft, [h(U, {
912
- modelValue: d(b)[e],
913
- "onUpdate:modelValue": (t) => d(b)[e] = t,
937
+ d(Se) ? (a(), c("table", Rt, [u("tbody", null, [(a(!0), c(p, null, l(d(fe).products, ({ id: e, name: t, price: r, description: i }) => (a(), c("tr", { key: e }, [u("td", zt, [
938
+ u("b", null, [u("span", null, v(d(F)(t)), 1)]),
939
+ i && i !== t ? (a(), c("span", Bt, v(d(F)(i)), 1)) : n("", !0),
940
+ u("u", null, v(d(j)(r, d(Y))), 1)
941
+ ]), u("td", Vt, [g(H, {
942
+ modelValue: d(x)[e],
943
+ "onUpdate:modelValue": (t) => d(x)[e] = t,
914
944
  small: !0,
915
945
  "min-value": 0
916
946
  }, null, 8, ["modelValue", "onUpdate:modelValue"])])]))), 128))])])) : n("", !0)
917
947
  ])]),
918
- navigation: C(() => [h(W, {
948
+ navigation: w(() => [g(W, {
919
949
  label: d(o)("event.startReservation"),
920
- disabled: !d(ye),
950
+ disabled: !d(Ae),
921
951
  "full-width": "",
922
952
  onClickEvent: e
923
953
  }, null, 8, [
@@ -927,92 +957,98 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
927
957
  ])]),
928
958
  _: 2
929
959
  }, 1032, ["prev-callback"])) : n("", !0)]),
930
- reservation: C(({ next: t, prev: i }) => [h(pt, {
960
+ reservation: w(({ next: t, prev: i }) => [g(yt, {
931
961
  "show-terms-notice": !0,
932
962
  "show-gift-card": !0,
933
- "prev-callback": () => d(Ue)(i)
963
+ "prev-callback": () => d(Ze)(i)
934
964
  }, {
935
- form: C(() => [u("form", It, [
936
- u("h2", null, [u("span", null, _(d(o)("booking.reservation.detailsTitle")), 1)]),
937
- h(V, {
938
- modelValue: d(D),
939
- "onUpdate:modelValue": s[0] ||= (e) => m(D) ? D.value = e : null,
965
+ form: w(() => [u("form", Ht, [
966
+ u("h2", null, [u("span", null, v(d(o)("booking.reservation.detailsTitle")), 1)]),
967
+ g(ce, {
968
+ modelValue: d(k),
969
+ "onUpdate:modelValue": s[0] ||= (e) => h(k) ? k.value = e : null,
940
970
  type: "text",
941
971
  label: d(o)("booking.reservation.name"),
942
972
  icon: "user-alt",
943
973
  placeholder: d(o)("booking.reservation.namePlaceholder"),
974
+ error: $("name"),
944
975
  required: ""
945
976
  }, null, 8, [
946
977
  "modelValue",
947
978
  "label",
948
- "placeholder"
979
+ "placeholder",
980
+ "error"
949
981
  ]),
950
- h(V, {
951
- modelValue: d(A),
952
- "onUpdate:modelValue": s[1] ||= (e) => m(A) ? A.value = e : null,
982
+ g(ce, {
983
+ modelValue: d(P),
984
+ "onUpdate:modelValue": s[1] ||= (e) => h(P) ? P.value = e : null,
953
985
  label: d(o)("booking.reservation.email"),
954
986
  type: "email",
955
987
  name: "email",
956
988
  autocomplete: "email",
957
989
  icon: "at",
958
990
  placeholder: d(o)("booking.reservation.emailPlaceholder"),
991
+ error: $("email"),
959
992
  required: ""
960
993
  }, null, 8, [
961
994
  "modelValue",
962
995
  "label",
963
- "placeholder"
996
+ "placeholder",
997
+ "error"
964
998
  ]),
965
- h(ke, {
966
- modelValue: d(O),
967
- "onUpdate:modelValue": s[2] ||= (e) => m(O) ? O.value = e : null,
999
+ g(pe, {
1000
+ modelValue: d(A),
1001
+ "onUpdate:modelValue": s[2] ||= (e) => h(A) ? A.value = e : null,
968
1002
  label: d(o)("booking.reservation.phone"),
969
1003
  icon: "phone-office",
970
1004
  placeholder: d(o)("booking.reservation.phonePlaceholder"),
1005
+ error: $("phone"),
971
1006
  required: ""
972
1007
  }, null, 8, [
973
1008
  "modelValue",
974
1009
  "label",
975
- "placeholder"
1010
+ "placeholder",
1011
+ "error"
976
1012
  ]),
977
- d(ve) ? (a(), r(Se, {
1013
+ d(ke) ? (a(), r(Ne, {
978
1014
  key: 0,
979
- modelValue: d(R),
980
- "onUpdate:modelValue": s[3] ||= (e) => m(R) ? R.value = e : null,
1015
+ modelValue: d(z),
1016
+ "onUpdate:modelValue": s[3] ||= (e) => h(z) ? z.value = e : null,
981
1017
  label: d(o)("event.selectArrivalTime"),
982
1018
  name: "eventTimeTable",
983
- checkboxes: Ke.value,
1019
+ checkboxes: st.value,
984
1020
  required: ""
985
1021
  }, null, 8, [
986
1022
  "modelValue",
987
1023
  "label",
988
1024
  "checkboxes"
989
1025
  ])) : n("", !0),
990
- d(fe) === d(le).FullDayEvent ? (a(), r(U, {
1026
+ d(Ce) === d(ie).FullDayEvent ? (a(), r(H, {
991
1027
  key: 1,
992
- modelValue: d(x),
993
- "onUpdate:modelValue": s[4] ||= (e) => m(x) ? x.value = e : null,
1028
+ modelValue: d(S),
1029
+ "onUpdate:modelValue": s[4] ||= (e) => h(S) ? S.value = e : null,
994
1030
  label: d(o)("event.numberOfDays"),
995
1031
  "min-value": 1,
996
1032
  required: ""
997
1033
  }, null, 8, ["modelValue", "label"])) : n("", !0),
998
- e.showHighChairs === "yes" ? (a(), r(U, {
1034
+ e.showHighChairs === "yes" ? (a(), r(H, {
999
1035
  key: 2,
1000
- modelValue: d(w),
1001
- "onUpdate:modelValue": s[5] ||= (e) => m(w) ? w.value = e : null,
1036
+ modelValue: d(T),
1037
+ "onUpdate:modelValue": s[5] ||= (e) => h(T) ? T.value = e : null,
1002
1038
  label: d(o)("event.numberOfHighChairs"),
1003
1039
  icon: "baby",
1004
1040
  "no-optional-label": !1
1005
1041
  }, null, 8, ["modelValue", "label"])) : n("", !0),
1006
- e.showFlagOnTable === "yes" ? (a(), r(Ae, {
1042
+ e.showFlagOnTable === "yes" ? (a(), r(he, {
1007
1043
  key: 3,
1008
- modelValue: d(S),
1009
- "onUpdate:modelValue": s[6] ||= (e) => m(S) ? S.value = e : null,
1044
+ modelValue: d(C),
1045
+ "onUpdate:modelValue": s[6] ||= (e) => h(C) ? C.value = e : null,
1010
1046
  label: d(o)("event.flagOnTable")
1011
1047
  }, null, 8, ["modelValue", "label"])) : n("", !0),
1012
- e.hideRemarks === "yes" ? n("", !0) : (a(), r(V, {
1048
+ e.hideRemarks === "yes" ? n("", !0) : (a(), r(ce, {
1013
1049
  key: 4,
1014
- modelValue: d(I),
1015
- "onUpdate:modelValue": s[7] ||= (e) => m(I) ? I.value = e : null,
1050
+ modelValue: d(L),
1051
+ "onUpdate:modelValue": s[7] ||= (e) => h(L) ? L.value = e : null,
1016
1052
  type: "textarea",
1017
1053
  label: d(o)("booking.reservation.remark"),
1018
1054
  icon: "info-circle",
@@ -1022,10 +1058,10 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
1022
1058
  "label",
1023
1059
  "placeholder"
1024
1060
  ])),
1025
- e.hideAllergies !== "yes" && d(H)?.showAllergyFoodFieldOnline ? (a(), r(V, {
1061
+ e.hideAllergies !== "yes" && d(fe)?.showAllergyFoodFieldOnline ? (a(), r(ce, {
1026
1062
  key: 5,
1027
- modelValue: d(L),
1028
- "onUpdate:modelValue": s[8] ||= (e) => m(L) ? L.value = e : null,
1063
+ modelValue: d(R),
1064
+ "onUpdate:modelValue": s[8] ||= (e) => h(R) ? R.value = e : null,
1029
1065
  type: "textarea",
1030
1066
  label: d(o)("booking.reservation.allergies"),
1031
1067
  icon: "allergies",
@@ -1036,12 +1072,12 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
1036
1072
  "placeholder"
1037
1073
  ])) : n("", !0)
1038
1074
  ])]),
1039
- navigation: C(() => [d(g) ? (a(), r(je, { key: 0 })) : n("", !0), h(W, {
1075
+ navigation: w(() => [d(_) ? (a(), r(_e, { key: 0 })) : n("", !0), g(W, {
1040
1076
  label: d(o)("general.confirmReservation"),
1041
- "is-loading": d(ge) || d(g),
1042
- disabled: !d(_e),
1077
+ "is-loading": d(De) || d(_),
1078
+ disabled: !d(Oe),
1043
1079
  "full-width": "",
1044
- onClickEvent: (e) => Je(t)
1080
+ onClickEvent: (e) => lt(t)
1045
1081
  }, null, 8, [
1046
1082
  "label",
1047
1083
  "is-loading",
@@ -1050,20 +1086,20 @@ var Ne = { class: "konnectio-event-listing-action-button" }, Pe = /*#__PURE__*/
1050
1086
  ])]),
1051
1087
  _: 2
1052
1088
  }, 1032, ["prev-callback"])]),
1053
- payment: C(() => [h(Me)]),
1054
- confirmation: C(() => [h(Ce, { message: d(o)("event.confirmationMessage") }, null, 8, ["message"])]),
1089
+ payment: w(() => [g(ye)]),
1090
+ confirmation: w(() => [g(Pe, { message: d(o)("event.confirmationMessage") }, null, 8, ["message"])]),
1055
1091
  _: 1
1056
1092
  }, 8, ["steps"])]),
1057
1093
  _: 1
1058
1094
  }, 8, ["access-token", "callback"])]),
1059
- fallback: C(() => [h(_t)]),
1095
+ fallback: w(() => [g(Ct)]),
1060
1096
  _: 1
1061
1097
  }))]),
1062
1098
  _: 1
1063
1099
  }, 8, ["styling"]));
1064
1100
  }
1065
- }), [["__scopeId", "data-v-f90b7287"]]), Rt = S(), zt = b("konnectio-event", Lt, (e) => {
1066
- e.use(O), e.use(y), e.use(Rt), e.use(Y), e.use(Oe);
1101
+ }), [["__scopeId", "data-v-7b7bd39f"]]), Wt = C(), Gt = x("konnectio-event", Ut, (e) => {
1102
+ e.use(A), e.use(b), e.use(Wt), e.use(J), e.use(ze);
1067
1103
  });
1068
1104
  //#endregion
1069
- export { zt as default };
1105
+ export { Gt as default };