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