@konnectio/core 4.4.0 → 4.4.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 (106) hide show
  1. package/dist/{ActionField-CMFQS0Tu.js → ActionField-DFZa6XEE.js} +2 -2
  2. package/dist/ActionField-DFZa6XEE.js.br +0 -0
  3. package/dist/ActionField-DFZa6XEE.js.gz +0 -0
  4. package/dist/{AvailabilitySkeleton-Bxse3JWw.js → AvailabilitySkeleton-DF-xbqwc.js} +5 -5
  5. package/dist/AvailabilitySkeleton-DF-xbqwc.js.br +0 -0
  6. package/dist/AvailabilitySkeleton-DF-xbqwc.js.gz +0 -0
  7. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CWKhedpA.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CRRajYbg.js} +2 -2
  8. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CRRajYbg.js.br +0 -0
  9. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CRRajYbg.js.gz +0 -0
  10. package/dist/{CheckoutWindow-DbyK9q3i.js → CheckoutWindow-D1K21oen.js} +2 -2
  11. package/dist/CheckoutWindow-D1K21oen.js.br +0 -0
  12. package/dist/CheckoutWindow-D1K21oen.js.gz +0 -0
  13. package/dist/{ErrorMessage-CHJAgZQF.js → ErrorMessage-BK__LpVs.js} +2 -2
  14. package/dist/ErrorMessage-BK__LpVs.js.br +0 -0
  15. package/dist/ErrorMessage-BK__LpVs.js.gz +0 -0
  16. package/dist/{EventAvailabilityForm-C12USIHw.js → EventAvailabilityForm-0wtbzDvF.js} +3 -3
  17. package/dist/EventAvailabilityForm-0wtbzDvF.js.br +0 -0
  18. package/dist/EventAvailabilityForm-0wtbzDvF.js.gz +0 -0
  19. package/dist/{Field-DeO4xsFg.js → Field-BtzC8Gm7.js} +3 -3
  20. package/dist/Field-BtzC8Gm7.js.br +0 -0
  21. package/dist/Field-BtzC8Gm7.js.gz +0 -0
  22. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BBxnIROf.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BiqNvDQ-.js} +2 -2
  23. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BiqNvDQ-.js.br +2 -0
  24. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BiqNvDQ-.js.gz +0 -0
  25. package/dist/{SelectField.vue_vue_type_style_index_0_lang-6_UBtMyv.js → SelectField.vue_vue_type_style_index_0_lang-HOvwUDvl.js} +1527 -1522
  26. package/dist/SelectField.vue_vue_type_style_index_0_lang-HOvwUDvl.js.br +0 -0
  27. package/dist/SelectField.vue_vue_type_style_index_0_lang-HOvwUDvl.js.gz +0 -0
  28. package/dist/{TermsOfService-DSR9-slK.js → TermsOfService-BDjNCWRO.js} +3 -3
  29. package/dist/TermsOfService-BDjNCWRO.js.br +0 -0
  30. package/dist/TermsOfService-BDjNCWRO.js.gz +0 -0
  31. package/dist/_-CgubYUBN.js +5 -0
  32. package/dist/_-CgubYUBN.js.br +0 -0
  33. package/dist/_-CgubYUBN.js.gz +0 -0
  34. package/dist/{_.vue_vue_type_style_index_0_lang-C_u0UT6W.js → _.vue_vue_type_style_index_0_lang-B5YYDdEe.js} +2 -2
  35. package/dist/_.vue_vue_type_style_index_0_lang-B5YYDdEe.js.br +0 -0
  36. package/dist/_.vue_vue_type_style_index_0_lang-B5YYDdEe.js.gz +0 -0
  37. package/dist/availability.js +6 -6
  38. package/dist/availability.js.br +0 -0
  39. package/dist/availability.js.gz +0 -0
  40. package/dist/cancel-reservation.js +4 -4
  41. package/dist/cancel-reservation.js.br +0 -0
  42. package/dist/cancel-reservation.js.gz +0 -0
  43. package/dist/core.css +1 -1
  44. package/dist/core.css.br +0 -0
  45. package/dist/core.css.gz +0 -0
  46. package/dist/event.js +383 -383
  47. package/dist/event.js.br +0 -0
  48. package/dist/event.js.gz +0 -0
  49. package/dist/gift-card-validation.js +8 -8
  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 +10 -10
  53. package/dist/gift-card.js.br +0 -0
  54. package/dist/gift-card.js.gz +0 -0
  55. package/dist/{giftCard-D1GA4BA0.js → giftCard-ClmfxLn7.js} +2 -2
  56. package/dist/giftCard-ClmfxLn7.js.br +0 -0
  57. package/dist/giftCard-ClmfxLn7.js.gz +0 -0
  58. package/dist/hotel.js +10 -10
  59. package/dist/hotel.js.br +0 -0
  60. package/dist/hotel.js.gz +0 -0
  61. package/dist/{index-D4nA_tEk.js → index-CypuSCab.js} +49 -48
  62. package/dist/index-CypuSCab.js.br +0 -0
  63. package/dist/index-CypuSCab.js.gz +0 -0
  64. package/dist/{masonry.plugin-DDRglIja.js → masonry.plugin-BRPC0wYu.js} +5 -5
  65. package/dist/masonry.plugin-BRPC0wYu.js.br +0 -0
  66. package/dist/masonry.plugin-BRPC0wYu.js.gz +0 -0
  67. package/dist/polyfill.js +1 -1
  68. package/dist/polyfill.js.br +0 -0
  69. package/dist/polyfill.js.gz +0 -0
  70. package/dist/{style-DijlEV9B.js → style-DisyGIDX.js} +2 -2
  71. package/dist/style-DisyGIDX.js.br +0 -0
  72. package/dist/style-DisyGIDX.js.gz +0 -0
  73. package/package.json +1 -1
  74. package/dist/ActionField-CMFQS0Tu.js.br +0 -0
  75. package/dist/ActionField-CMFQS0Tu.js.gz +0 -0
  76. package/dist/AvailabilitySkeleton-Bxse3JWw.js.br +0 -0
  77. package/dist/AvailabilitySkeleton-Bxse3JWw.js.gz +0 -0
  78. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CWKhedpA.js.br +0 -0
  79. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CWKhedpA.js.gz +0 -0
  80. package/dist/CheckoutWindow-DbyK9q3i.js.br +0 -0
  81. package/dist/CheckoutWindow-DbyK9q3i.js.gz +0 -0
  82. package/dist/ErrorMessage-CHJAgZQF.js.br +0 -0
  83. package/dist/ErrorMessage-CHJAgZQF.js.gz +0 -0
  84. package/dist/EventAvailabilityForm-C12USIHw.js.br +0 -0
  85. package/dist/EventAvailabilityForm-C12USIHw.js.gz +0 -0
  86. package/dist/Field-DeO4xsFg.js.br +0 -0
  87. package/dist/Field-DeO4xsFg.js.gz +0 -0
  88. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BBxnIROf.js.br +0 -0
  89. package/dist/Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BBxnIROf.js.gz +0 -0
  90. package/dist/SelectField.vue_vue_type_style_index_0_lang-6_UBtMyv.js.br +0 -0
  91. package/dist/SelectField.vue_vue_type_style_index_0_lang-6_UBtMyv.js.gz +0 -0
  92. package/dist/TermsOfService-DSR9-slK.js.br +0 -0
  93. package/dist/TermsOfService-DSR9-slK.js.gz +0 -0
  94. package/dist/_-PjpC4p-e.js +0 -5
  95. package/dist/_-PjpC4p-e.js.br +0 -0
  96. package/dist/_-PjpC4p-e.js.gz +0 -0
  97. package/dist/_.vue_vue_type_style_index_0_lang-C_u0UT6W.js.br +0 -0
  98. package/dist/_.vue_vue_type_style_index_0_lang-C_u0UT6W.js.gz +0 -0
  99. package/dist/giftCard-D1GA4BA0.js.br +0 -0
  100. package/dist/giftCard-D1GA4BA0.js.gz +0 -0
  101. package/dist/index-D4nA_tEk.js.br +0 -0
  102. package/dist/index-D4nA_tEk.js.gz +0 -0
  103. package/dist/masonry.plugin-DDRglIja.js.br +0 -0
  104. package/dist/masonry.plugin-DDRglIja.js.gz +0 -0
  105. package/dist/style-DijlEV9B.js.br +0 -0
  106. package/dist/style-DijlEV9B.js.gz +0 -0
package/dist/event.js CHANGED
@@ -1,46 +1,46 @@
1
- import { d as M, u as _, s as q, c as Z, r as Ie, a as m, b as l, g as e, w as v, q as K, e as n, i as r, f as y, n as lt, h as s, t as o, F as N, v as R, o as ot, j as it, x as ue, y as st, z as S, A as rt, S as dt, k as ct, _ as ut, l as mt, m as vt, p as bt } from "./mitt-CvmiLPAX.js";
2
- import { G as gt } from "./style-DijlEV9B.js";
3
- import { a as Ee, f as oe, g as X, h as Ae, B as kt, i as ae, l as ft, s as z, e as me, _ as G, I as le, j as yt, k as ve, u as Pe, m as ht, n as pt, o as Dt, p as J, T as ce, O as Pt, q as Et, r as xe, C as $t, t as wt, v as xt } from "./SelectField.vue_vue_type_style_index_0_lang-6_UBtMyv.js";
4
- import { _ as Ot } from "./_.vue_vue_type_style_index_0_lang-C_u0UT6W.js";
5
- import { B as Tt, _ as Vt, R as Ft, L as Se, S as Nt, M as Lt, T as Ct, C as Bt, V as It, a as At } from "./masonry.plugin-DDRglIja.js";
6
- import { g as St, e as Rt, c as Mt, n as Ut, a as Oe, b as Ht, m as Te, d as Ve, f as Fe, h as Ne, _ as Gt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CWKhedpA.js";
7
- import { C as zt, P as qt, a as Le } from "./CheckoutWindow-DbyK9q3i.js";
8
- import { E as Yt } from "./EventAvailabilityForm-C12USIHw.js";
9
- import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BBxnIROf.js";
10
- import { f as jt } from "./index-D4nA_tEk.js";
11
- function Wt(t, i, a) {
12
- const D = St(), b = a?.locale ?? D.locale ?? Rt, k = Mt(t, i);
13
- if (isNaN(k))
1
+ import { d as M, u as _, s as q, c as Y, r as Ae, a as v, b as l, g as e, w as b, q as K, e as n, i as r, f as h, n as ot, h as s, t as o, F as N, v as R, o as it, j as st, x as ue, y as rt, z as S, A as dt, S as ct, k as ut, _ as mt, l as vt, m as bt, p as gt } from "./mitt-CvmiLPAX.js";
2
+ import { G as ft } from "./style-DisyGIDX.js";
3
+ import { a as Ee, f as oe, g as X, h as Se, B as kt, i as ae, l as yt, s as z, e as me, _ as G, I as le, j as ht, k as ve, u as Pe, m as pt, n as Dt, o as Pt, p as J, T as ce, O as Et, q as $t, r as xe, C as wt, t as Ot, v as xt } from "./SelectField.vue_vue_type_style_index_0_lang-HOvwUDvl.js";
4
+ import { _ as Tt } from "./_.vue_vue_type_style_index_0_lang-B5YYDdEe.js";
5
+ import { B as Vt, _ as Ft, R as Nt, L as Re, S as Lt, M as Ct, T as Bt, C as It, V as At, a as St } from "./masonry.plugin-BRPC0wYu.js";
6
+ import { g as Rt, e as Mt, c as Ut, n as Ht, a as Te, b as Gt, m as Ve, d as Fe, f as Ne, h as Le, _ as zt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CRRajYbg.js";
7
+ import { C as qt, P as Yt, a as Ce } from "./CheckoutWindow-D1K21oen.js";
8
+ import { E as jt } from "./EventAvailabilityForm-0wtbzDvF.js";
9
+ import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-BiqNvDQ-.js";
10
+ import { f as Wt } from "./index-CypuSCab.js";
11
+ function Zt(t, i, a) {
12
+ const E = Rt(), m = a?.locale ?? E.locale ?? Mt, f = Ut(t, i);
13
+ if (isNaN(f))
14
14
  throw new RangeError("Invalid time value");
15
15
  const g = Object.assign({}, a, {
16
16
  addSuffix: a?.addSuffix,
17
- comparison: k
18
- }), [f, h] = Ut(
17
+ comparison: f
18
+ }), [k, p] = Ht(
19
19
  a?.in,
20
- ...k > 0 ? [i, t] : [t, i]
21
- ), P = Ht("round"), $ = h.getTime() - f.getTime(), E = $ / Ne, T = Oe(h) - Oe(f), w = ($ - T) / Ne, O = a?.unit;
20
+ ...f > 0 ? [i, t] : [t, i]
21
+ ), D = Gt("round"), $ = p.getTime() - k.getTime(), P = $ / Le, T = Te(p) - Te(k), w = ($ - T) / Le, x = a?.unit;
22
22
  let u;
23
- if (E < 1 ? u = "second" : E < 60 ? u = "minute" : E < Te ? u = "hour" : w < Ve ? u = "day" : w < Fe ? u = "month" : u = "year", u === "second") {
24
- const p = P($ / 1e3);
25
- return b.formatDistance("xSeconds", p, g);
23
+ if (P < 1 ? u = "second" : P < 60 ? u = "minute" : P < Ve ? u = "hour" : w < Fe ? u = "day" : w < Ne ? u = "month" : u = "year", u === "second") {
24
+ const y = D($ / 1e3);
25
+ return m.formatDistance("xSeconds", y, g);
26
26
  } else if (u === "minute") {
27
- const p = P(E);
28
- return b.formatDistance("xMinutes", p, g);
27
+ const y = D(P);
28
+ return m.formatDistance("xMinutes", y, g);
29
29
  } else if (u === "hour") {
30
- const p = P(E / 60);
31
- return b.formatDistance("xHours", p, g);
30
+ const y = D(P / 60);
31
+ return m.formatDistance("xHours", y, g);
32
32
  } else if (u === "day") {
33
- const p = P(w / Te);
34
- return b.formatDistance("xDays", p, g);
33
+ const y = D(w / Ve);
34
+ return m.formatDistance("xDays", y, g);
35
35
  } else if (u === "month") {
36
- const p = P(w / Ve);
37
- return p === 12 && O !== "month" ? b.formatDistance("xYears", 1, g) : b.formatDistance("xMonths", p, g);
36
+ const y = D(w / Fe);
37
+ return y === 12 && x !== "month" ? m.formatDistance("xYears", 1, g) : m.formatDistance("xMonths", y, g);
38
38
  } else {
39
- const p = P(w / Fe);
40
- return b.formatDistance("xYears", p, g);
39
+ const y = D(w / Ne);
40
+ return m.formatDistance("xYears", y, g);
41
41
  }
42
42
  }
43
- const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__ */ M({
43
+ const Qt = { class: "konnectio-event-listing-action-button" }, Jt = /* @__PURE__ */ M({
44
44
  __name: "_",
45
45
  props: {
46
46
  name: {},
@@ -65,21 +65,21 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
65
65
  callback: {}
66
66
  },
67
67
  setup(t) {
68
- const { t: i } = _(), a = t, { display: D } = Ee(), {
69
- hideEventGuestAmount: b
68
+ const { t: i } = _(), a = t, { display: E } = Ee(), {
69
+ hideEventGuestAmount: m
70
70
  } = q(oe()), {
71
- maxNumberOfPeople: k,
71
+ maxNumberOfPeople: f,
72
72
  numberOfPeople: g,
73
- eventId: f,
74
- currentEventDate: h,
75
- tableGroupId: P
73
+ eventId: k,
74
+ currentEventDate: p,
75
+ tableGroupId: D
76
76
  } = q(X()), {
77
77
  getTemplateAvailability: $,
78
- getEventAvailability: E,
78
+ getEventAvailability: P,
79
79
  isEventListingLoading: T
80
- } = X(), { addToCart: w } = Ae(), O = Z(() => a.maxGuests || a.maxOnlineReservationLimit || k.value || 1 / 0), u = Ie(0), p = Z(() => T(a.listingId)), Y = () => {
80
+ } = X(), { addToCart: w } = Se(), x = Y(() => a.maxGuests || a.maxOnlineReservationLimit || f.value || 1 / 0), u = Ae(0), y = Y(() => T(a.listingId)), j = () => {
81
81
  if (!a.useNumberOfProductsForPersons && (u.value === 0 || isNaN(u.value))) {
82
- D({
82
+ E({
83
83
  type: "error",
84
84
  message: i("alert.error.selectPeople")
85
85
  });
@@ -89,10 +89,10 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
89
89
  id: a.listingId,
90
90
  name: a.name,
91
91
  value: a.fromPrice || 0
92
- }), f.value = a.listingId, g.value = a.useNumberOfProductsForPersons ? NaN : u.value, $(a.callback);
92
+ }), k.value = a.listingId, g.value = a.useNumberOfProductsForPersons ? NaN : u.value, $(a.callback);
93
93
  }, B = () => {
94
94
  if (!a.useNumberOfProductsForPersons && (u.value === 0 || isNaN(u.value))) {
95
- D({
95
+ E({
96
96
  type: "error",
97
97
  message: i("alert.error.selectPeople")
98
98
  });
@@ -102,9 +102,9 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
102
102
  id: a.listingId,
103
103
  name: a.name,
104
104
  value: a.fromPrice || 0
105
- }), f.value = a.listingId, P.value = a.tableGroupId, g.value = a.useNumberOfProductsForPersons ? NaN : u.value, E(a.callback);
105
+ }), k.value = a.listingId, D.value = a.tableGroupId, g.value = a.useNumberOfProductsForPersons ? NaN : u.value, P(a.callback);
106
106
  };
107
- return (C, U) => (l(), m(Tt, {
107
+ return (C, U) => (l(), v(Vt, {
108
108
  type: "event",
109
109
  "listing-id": t.listingId,
110
110
  gallery: t.gallery,
@@ -115,18 +115,18 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
115
115
  layout: e(kt).Event,
116
116
  "disable-deep-link": t.disableDeepLink
117
117
  }, {
118
- description: v(() => [
119
- K(C.$slots, "description", { maxNumberOfPeople: e(k) }, void 0, !0)
118
+ description: b(() => [
119
+ K(C.$slots, "description", { maxNumberOfPeople: e(f) }, void 0, !0)
120
120
  ]),
121
- action: v(() => [
121
+ action: b(() => [
122
122
  K(C.$slots, "action", {}, () => [
123
123
  n("div", {
124
- class: lt([
124
+ class: ot([
125
125
  "konnectio-event-listing-action",
126
126
  { "no-selectable-people": t.useNumberOfProductsForPersons }
127
127
  ])
128
128
  }, [
129
- t.useNumberOfProductsForPersons ? r("", !0) : (l(), m(ae, {
129
+ t.useNumberOfProductsForPersons ? r("", !0) : (l(), v(ae, {
130
130
  key: 0,
131
131
  modelValue: u.value,
132
132
  "onUpdate:modelValue": U[0] || (U[0] = (Q) => u.value = Q),
@@ -134,18 +134,18 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
134
134
  icon: "users",
135
135
  "icon-type": "fas",
136
136
  "icon-placement": "label",
137
- description: O.value <= 20 && !e(b) ? `${e(i)("general.availableFor")}: 1 - ${O.value} ${e(ft)(e(i)("general.guests"))}` : void 0,
137
+ description: x.value <= 20 && !e(m) ? `${e(i)("general.availableFor")}: 1 - ${x.value} ${e(yt)(e(i)("general.guests"))}` : void 0,
138
138
  "min-value": 0,
139
- "max-value": O.value
139
+ "max-value": x.value
140
140
  }, null, 8, ["modelValue", "label", "description", "max-value"])),
141
- n("div", Zt, [
142
- y(me, {
141
+ n("div", Qt, [
142
+ h(me, {
143
143
  label: t.soldOut ? e(i)("event.soldOut") : e(i)("event.bookNowButton"),
144
144
  disabled: t.soldOut,
145
- "is-loading": p.value,
145
+ "is-loading": y.value,
146
146
  "full-width": "",
147
- "sub-label": e(z)(e(h)),
148
- onClickEvent: U[1] || (U[1] = (Q) => t.type === "event" ? B() : Y())
147
+ "sub-label": e(z)(e(p)),
148
+ onClickEvent: U[1] || (U[1] = (Q) => t.type === "event" ? B() : j())
149
149
  }, null, 8, ["label", "disabled", "is-loading", "sub-label"])
150
150
  ])
151
151
  ], 2)
@@ -154,14 +154,14 @@ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__
154
154
  _: 3
155
155
  }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout", "disable-deep-link"]));
156
156
  }
157
- }), Re = /* @__PURE__ */ G(Qt, [["__scopeId", "data-v-23ac9949"]]), Jt = { class: "konnectio-event-listing-information-new" };
158
- const Kt = {
157
+ }), Me = /* @__PURE__ */ G(Jt, [["__scopeId", "data-v-23ac9949"]]), Kt = { class: "konnectio-event-listing-information-new" };
158
+ const Xt = {
159
159
  key: 1,
160
160
  class: "konnectio-pill-button"
161
- }, Xt = {
161
+ }, _t = {
162
162
  key: 2,
163
163
  class: "konnectio-pill-button"
164
- }, _t = { key: 0 }, en = { key: 1 }, tn = /* @__PURE__ */ M({
164
+ }, en = { key: 0 }, tn = { key: 1 }, nn = /* @__PURE__ */ M({
165
165
  __name: "Event",
166
166
  props: {
167
167
  name: {},
@@ -185,18 +185,18 @@ const Kt = {
185
185
  },
186
186
  setup(t) {
187
187
  const i = t, { t: a } = _(), {
188
- hideEventLength: D,
189
- hideEventEndTime: b
190
- } = q(oe()), k = Z(() => {
188
+ hideEventLength: E,
189
+ hideEventEndTime: m
190
+ } = q(oe()), f = Y(() => {
191
191
  if (!i.length)
192
192
  return;
193
193
  const g = i.length.split(":");
194
- return Wt(
194
+ return Zt(
195
195
  new Date(2e3, 0, 1, Number(g[0]), Number(g[1]), 0),
196
196
  new Date(2e3, 0, 1, 0, 0, 0)
197
197
  );
198
198
  });
199
- return (g, f) => (l(), m(Re, {
199
+ return (g, k) => (l(), v(Me, {
200
200
  "listing-id": t.listingId,
201
201
  name: t.name,
202
202
  description: t.description,
@@ -211,45 +211,45 @@ const Kt = {
211
211
  "tracking-enabled": t.trackingEnabled,
212
212
  callback: t.callback
213
213
  }, {
214
- description: v(() => [
215
- t.description ? (l(), m(Vt, {
214
+ description: b(() => [
215
+ t.description ? (l(), v(Ft, {
216
216
  key: 0,
217
217
  text: t.description
218
218
  }, null, 8, ["text"])) : r("", !0),
219
- n("ul", Jt, [
219
+ n("ul", Kt, [
220
220
  r("", !0),
221
- !e(D) && k.value ? (l(), s("li", Kt, [
221
+ !e(E) && f.value ? (l(), s("li", Xt, [
222
222
  n("div", null, [
223
- y(le, {
223
+ h(le, {
224
224
  icon: "calendar-clock",
225
225
  color: "header"
226
226
  }),
227
227
  n("span", null, o(e(a)("event.lengthOfEvent")), 1)
228
228
  ]),
229
- n("span", null, o(k.value), 1)
229
+ n("span", null, o(f.value), 1)
230
230
  ])) : r("", !0),
231
- t.timeFrom ? (l(), s("li", Xt, [
231
+ t.timeFrom ? (l(), s("li", _t, [
232
232
  n("div", null, [
233
- y(le, {
233
+ h(le, {
234
234
  icon: "calendar-clock",
235
235
  color: "header"
236
236
  }),
237
237
  n("span", null, o(e(a)("event.startAndEndTime")), 1)
238
238
  ]),
239
- e(b) ? (l(), s("span", en, o(e(ve)(t.timeFrom)), 1)) : (l(), s("span", _t, o(e(yt)(t.timeFrom, t.timeTo)), 1))
239
+ e(m) ? (l(), s("span", tn, o(e(ve)(t.timeFrom)), 1)) : (l(), s("span", en, o(e(ht)(t.timeFrom, t.timeTo)), 1))
240
240
  ])) : r("", !0)
241
241
  ])
242
242
  ]),
243
- action: v(() => [
243
+ action: b(() => [
244
244
  K(g.$slots, "action", {}, void 0, !0)
245
245
  ]),
246
246
  _: 3
247
247
  }, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "use-number-of-products-for-persons", "to-date", "sold-out", "tracking-enabled", "callback"]));
248
248
  }
249
- }), be = /* @__PURE__ */ G(tn, [["__scopeId", "data-v-40cbbf2c"]]), nn = {
249
+ }), be = /* @__PURE__ */ G(nn, [["__scopeId", "data-v-40cbbf2c"]]), an = {
250
250
  key: 0,
251
251
  class: "konnectio-event-grouped-listings-container"
252
- }, an = { class: "konnectio-event-grouped-listings" }, ln = /* @__PURE__ */ M({
252
+ }, ln = { class: "konnectio-event-grouped-listings" }, on = /* @__PURE__ */ M({
253
253
  __name: "Event",
254
254
  props: {
255
255
  name: {},
@@ -258,44 +258,44 @@ const Kt = {
258
258
  callback: { type: Function }
259
259
  },
260
260
  setup(t) {
261
- return (i, a) => t.events && t.events.length > 1 ? (l(), s("div", nn, [
261
+ return (i, a) => t.events && t.events.length > 1 ? (l(), s("div", an, [
262
262
  r("", !0),
263
- n("ul", an, [
263
+ n("ul", ln, [
264
264
  (l(!0), s(N, null, R(t.events, ({
265
- id: D,
266
- days: b,
267
- name: k,
265
+ id: E,
266
+ days: m,
267
+ name: f,
268
268
  timeFrom: g,
269
- timeTo: f,
270
- tableGroupId: h,
271
- description: P,
269
+ timeTo: k,
270
+ tableGroupId: p,
271
+ description: D,
272
272
  soldOut: $,
273
- length: E,
273
+ length: P,
274
274
  images: T,
275
275
  maxOnlineReservationLimit: w,
276
- maxPaxPerReservation: O,
276
+ maxPaxPerReservation: x,
277
277
  useNumberOfProductsForPersons: u,
278
- maxTicketsLimit: p
279
- }) => (l(), m(be, {
280
- key: D,
278
+ maxTicketsLimit: y
279
+ }) => (l(), v(be, {
280
+ key: E,
281
281
  type: "event",
282
- "listing-id": D,
283
- "table-group-id": h,
284
- description: P,
285
- name: k,
286
- length: E,
282
+ "listing-id": E,
283
+ "table-group-id": p,
284
+ description: D,
285
+ name: f,
286
+ length: P,
287
287
  gallery: T,
288
- days: b,
289
- "max-online-reservation-limit": O || w || p || void 0,
288
+ days: m,
289
+ "max-online-reservation-limit": x || w || y || void 0,
290
290
  "time-from": g,
291
- "time-to": f,
291
+ "time-to": k,
292
292
  "sold-out": $,
293
293
  "use-number-of-products-for-persons": u,
294
294
  "tracking-enabled": t.trackingEnabled,
295
295
  callback: t.callback
296
296
  }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "tracking-enabled", "callback"]))), 128))
297
297
  ])
298
- ])) : t.events ? (l(), m(be, {
298
+ ])) : t.events ? (l(), v(be, {
299
299
  key: t.events[0].id,
300
300
  type: "event",
301
301
  "listing-id": t.events[0].id,
@@ -316,7 +316,7 @@ const Kt = {
316
316
  callback: t.callback
317
317
  }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "tracking-enabled", "callback"])) : r("", !0);
318
318
  }
319
- }), on = /* @__PURE__ */ G(ln, [["__scopeId", "data-v-374ad034"]]), sn = { class: "konnectio-special-offer-availability" }, rn = { class: "konnectio-special-offer-availability-button" }, dn = { class: "konnectio-warning-notice" }, cn = { key: 0 }, un = { key: 1 }, mn = /* @__PURE__ */ M({
319
+ }), sn = /* @__PURE__ */ G(on, [["__scopeId", "data-v-374ad034"]]), rn = { class: "konnectio-special-offer-availability" }, dn = { class: "konnectio-special-offer-availability-button" }, cn = { class: "konnectio-warning-notice" }, un = { key: 0 }, mn = { key: 1 }, vn = /* @__PURE__ */ M({
320
320
  __name: "NextEvent",
321
321
  props: {
322
322
  name: {},
@@ -338,17 +338,17 @@ const Kt = {
338
338
  callback: { type: Function }
339
339
  },
340
340
  setup(t) {
341
- const { t: i } = _(), { updateEventDate: a } = Pe(), { display: D } = Ee(), b = Ie(), k = t;
341
+ const { t: i } = _(), { updateEventDate: a } = Pe(), { display: E } = Ee(), m = Ae(), f = t;
342
342
  function g() {
343
- b.value ? a(b.value) : D({
343
+ m.value ? a(m.value) : E({
344
344
  message: i("alert.error.selectDate"),
345
345
  type: "error"
346
346
  });
347
347
  }
348
- const f = Z(() => ht(k.fromDate, k.toDate) <= 1), h = Z(() => [0, 1, 2, 3, 4, 5, 6].filter((P) => !pt(k.days).includes(P)));
349
- return ot(() => {
350
- f.value && (b.value = new Date(k.fromDate));
351
- }), (P, $) => (l(), m(be, {
348
+ const k = Y(() => pt(f.fromDate, f.toDate) <= 1), p = Y(() => [0, 1, 2, 3, 4, 5, 6].filter((D) => !Dt(f.days).includes(D)));
349
+ return it(() => {
350
+ k.value && (m.value = new Date(f.fromDate));
351
+ }), (D, $) => (l(), v(be, {
352
352
  name: t.name,
353
353
  description: t.description,
354
354
  "from-date": t.fromDate,
@@ -368,36 +368,36 @@ const Kt = {
368
368
  callback: t.callback,
369
369
  "disable-deep-link": !0
370
370
  }, {
371
- action: v(() => [
371
+ action: b(() => [
372
372
  n("div", null, [
373
- n("div", sn, [
374
- y(Gt, {
375
- modelValue: b.value,
376
- "onUpdate:modelValue": $[0] || ($[0] = (E) => b.value = E),
373
+ n("div", rn, [
374
+ h(zt, {
375
+ modelValue: m.value,
376
+ "onUpdate:modelValue": $[0] || ($[0] = (P) => m.value = P),
377
377
  label: `${e(i)("event.selectDate")}*`,
378
378
  placeholder: e(i)("event.selectDate"),
379
379
  "icon-type": "fas",
380
380
  "icon-placement": "label",
381
- readonly: f.value,
381
+ readonly: k.value,
382
382
  "start-date": t.fromDate !== "0001-01-01T00:00:00Z" ? new Date(t.fromDate) : new Date(t.toDate),
383
383
  "min-date": t.fromDate !== "0001-01-01T00:00:00Z" ? new Date(t.fromDate) : new Date(t.toDate),
384
384
  "max-date": new Date(t.toDate),
385
- "disabled-week-days": h.value
385
+ "disabled-week-days": p.value
386
386
  }, null, 8, ["modelValue", "label", "placeholder", "readonly", "start-date", "min-date", "max-date", "disabled-week-days"]),
387
- n("div", rn, [
388
- y(me, {
387
+ n("div", dn, [
388
+ h(me, {
389
389
  label: e(i)("availability.buttonLabel"),
390
- onClick: it(g, ["prevent"])
390
+ onClick: st(g, ["prevent"])
391
391
  }, null, 8, ["label"])
392
392
  ])
393
393
  ]),
394
- n("div", dn, [
395
- f.value ? (l(), s("span", cn, [
394
+ n("div", cn, [
395
+ k.value ? (l(), s("span", un, [
396
396
  ue("*" + o(e(i)("event.canBeBooked")) + " ", 1),
397
397
  n("u", null, o(e(z)(t.fromDate)), 1)
398
- ])) : (l(), s("span", un, [
398
+ ])) : (l(), s("span", mn, [
399
399
  ue("*" + o(e(i)("event.canBeBooked")) + " ", 1),
400
- n("u", null, o(e(Dt)(t.days)), 1)
400
+ n("u", null, o(e(Pt)(t.days)), 1)
401
401
  ]))
402
402
  ])
403
403
  ])
@@ -405,10 +405,10 @@ const Kt = {
405
405
  _: 1
406
406
  }, 8, ["name", "description", "from-date", "to-date", "length", "time-from", "time-to", "gallery", "days", "listing-id", "table-group-id", "max-online-reservation-limit", "minimum-person-count", "use-number-of-products-for-persons", "tracking-enabled", "sold-out", "callback"]));
407
407
  }
408
- }), Ce = /* @__PURE__ */ G(mn, [["__scopeId", "data-v-f6aed3b0"]]), vn = {
408
+ }), Be = /* @__PURE__ */ G(vn, [["__scopeId", "data-v-f6aed3b0"]]), bn = {
409
409
  key: 0,
410
410
  class: "konnectio-event-grouped-listings-container"
411
- }, bn = { class: "konnectio-event-grouped-listings" }, gn = /* @__PURE__ */ M({
411
+ }, gn = { class: "konnectio-event-grouped-listings" }, fn = /* @__PURE__ */ M({
412
412
  __name: "NextEvent",
413
413
  props: {
414
414
  name: {},
@@ -417,48 +417,48 @@ const Kt = {
417
417
  callback: { type: Function }
418
418
  },
419
419
  setup(t) {
420
- return (i, a) => t.events && t.events.length > 1 ? (l(), s("div", vn, [
420
+ return (i, a) => t.events && t.events.length > 1 ? (l(), s("div", bn, [
421
421
  r("", !0),
422
- n("ul", bn, [
422
+ n("ul", gn, [
423
423
  (l(!0), s(N, null, R(t.events, ({
424
- id: D,
425
- days: b,
426
- name: k,
424
+ id: E,
425
+ days: m,
426
+ name: f,
427
427
  timeFrom: g,
428
- timeTo: f,
429
- fromDate: h,
430
- toDate: P,
428
+ timeTo: k,
429
+ fromDate: p,
430
+ toDate: D,
431
431
  tableGroupId: $,
432
- description: E,
432
+ description: P,
433
433
  soldOut: T,
434
434
  length: w,
435
- images: O,
435
+ images: x,
436
436
  maxOnlineReservationLimit: u,
437
- maxPaxPerReservation: p,
438
- useNumberOfProductsForPersons: Y,
437
+ maxPaxPerReservation: y,
438
+ useNumberOfProductsForPersons: j,
439
439
  maxTicketsLimit: B
440
- }) => (l(), m(Ce, {
441
- key: D,
440
+ }) => (l(), v(Be, {
441
+ key: E,
442
442
  type: "event",
443
- "listing-id": D,
443
+ "listing-id": E,
444
444
  "table-group-id": $,
445
- description: E,
446
- name: k,
445
+ description: P,
446
+ name: f,
447
447
  length: w,
448
- gallery: O,
449
- days: b,
450
- "from-date": h,
451
- "to-date": P,
452
- "max-online-reservation-limit": p || u || B || void 0,
448
+ gallery: x,
449
+ days: m,
450
+ "from-date": p,
451
+ "to-date": D,
452
+ "max-online-reservation-limit": y || u || B || void 0,
453
453
  "time-from": g,
454
- "time-to": f,
454
+ "time-to": k,
455
455
  "sold-out": T,
456
- "use-number-of-products-for-persons": Y,
456
+ "use-number-of-products-for-persons": j,
457
457
  "tracking-enabled": t.trackingEnabled,
458
458
  callback: t.callback
459
459
  }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "tracking-enabled", "callback"]))), 128))
460
460
  ])
461
- ])) : t.events ? (l(), m(Ce, {
461
+ ])) : t.events ? (l(), v(Be, {
462
462
  key: t.events[0].id,
463
463
  type: "event",
464
464
  "listing-id": t.events[0].id,
@@ -479,7 +479,7 @@ const Kt = {
479
479
  callback: t.callback
480
480
  }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "tracking-enabled", "callback"])) : r("", !0);
481
481
  }
482
- }), kn = /* @__PURE__ */ G(gn, [["__scopeId", "data-v-39263761"]]), fn = ["innerHTML"], yn = /* @__PURE__ */ M({
482
+ }), kn = /* @__PURE__ */ G(fn, [["__scopeId", "data-v-39263761"]]), yn = ["innerHTML"], hn = /* @__PURE__ */ M({
483
483
  __name: "FallbackEvent",
484
484
  props: {
485
485
  name: {},
@@ -493,7 +493,7 @@ const Kt = {
493
493
  },
494
494
  setup(t) {
495
495
  const { t: i } = _();
496
- return (a, D) => (l(), m(be, {
496
+ return (a, E) => (l(), v(be, {
497
497
  name: t.name,
498
498
  description: t.description,
499
499
  "from-date": t.fromDate,
@@ -504,16 +504,16 @@ const Kt = {
504
504
  callback: t.callback,
505
505
  "disable-deep-link": !0
506
506
  }, {
507
- action: v(() => [
507
+ action: b(() => [
508
508
  n("div", {
509
509
  class: "konnectio-filter-notice konnectio-top-message",
510
510
  innerHTML: e(i)("event.notAvailable", { name: `<b>${t.name}</b>` })
511
- }, null, 8, fn)
511
+ }, null, 8, yn)
512
512
  ]),
513
513
  _: 1
514
514
  }, 8, ["name", "description", "from-date", "gallery", "days", "listing-id", "tracking-enabled", "callback"]));
515
515
  }
516
- }), hn = /* @__PURE__ */ G(yn, [["__scopeId", "data-v-0167deff"]]), pn = /* @__PURE__ */ M({
516
+ }), pn = /* @__PURE__ */ G(hn, [["__scopeId", "data-v-0167deff"]]), Dn = /* @__PURE__ */ M({
517
517
  __name: "Template",
518
518
  props: {
519
519
  name: {},
@@ -530,7 +530,7 @@ const Kt = {
530
530
  callback: {}
531
531
  },
532
532
  setup(t) {
533
- return (i, a) => (l(), m(Re, {
533
+ return (i, a) => (l(), v(Me, {
534
534
  "listing-id": t.listingId,
535
535
  gallery: t.images,
536
536
  name: t.name,
@@ -542,13 +542,13 @@ const Kt = {
542
542
  callback: t.callback
543
543
  }, null, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "tracking-enabled", "callback"]));
544
544
  }
545
- }), Dn = {
545
+ }), Pn = {
546
546
  key: 0,
547
547
  class: "konnectio-panel konnectio-reservation-notice-mobile"
548
- }, Pn = ["innerHTML"], En = { key: 0 }, $n = { key: 1 }, wn = { key: 2 }, xn = { key: 0 }, On = { key: 4 }, Tn = { key: 5 }, Vn = { key: 6 }, Fn = { key: 0 }, Nn = { key: 0 }, Ln = { key: 1 }, Cn = {
548
+ }, En = ["innerHTML"], $n = { key: 0 }, wn = { key: 1 }, On = { key: 2 }, xn = { key: 0 }, Tn = { key: 4 }, Vn = { key: 5 }, Fn = { key: 6 }, Nn = { key: 0 }, Ln = { key: 0 }, Cn = { key: 1 }, Bn = {
549
549
  key: 0,
550
550
  class: "konnectio-capitalize"
551
- }, Bn = /* @__PURE__ */ M({
551
+ }, In = /* @__PURE__ */ M({
552
552
  __name: "EventReservationForm",
553
553
  props: {
554
554
  showGiftCard: { type: Boolean, default: !1 },
@@ -556,156 +556,156 @@ const Kt = {
556
556
  prevCallback: {}
557
557
  },
558
558
  setup(t) {
559
- const { t: i } = _(), a = st(), {
560
- areListingsAvailable: D,
561
- arrivalTime: b,
562
- numberOfPeople: k,
559
+ const { t: i } = _(), a = rt(), {
560
+ areListingsAvailable: E,
561
+ arrivalTime: m,
562
+ numberOfPeople: f,
563
563
  numberOfRooms: g,
564
- numberOfTotalDays: f,
565
- isTemplateEvent: h,
566
- currentEventDate: P,
564
+ numberOfTotalDays: k,
565
+ isTemplateEvent: p,
566
+ currentEventDate: D,
567
567
  length: $,
568
- fromDate: E,
568
+ fromDate: P,
569
569
  tableBasePrice: T,
570
570
  getTemplateData: w,
571
- basePrice: O,
571
+ basePrice: x,
572
572
  totalPrice: u,
573
- weekendFee: p,
574
- roomUpgrade: Y,
573
+ weekendFee: y,
574
+ roomUpgrade: j,
575
575
  discountCode: B,
576
576
  totalSelectedProducts: C,
577
577
  discountValue: U,
578
578
  appliedDiscountCode: Q
579
- } = q(X()), { totalAddonPrice: ie, validateDiscountCode: ge } = X(), { currency: se, hideEventLength: ke } = q(oe()), ee = i("event.reservationNotice");
580
- return (te, re) => (l(), m(Ft, {
579
+ } = q(X()), { totalAddonPrice: ie, validateDiscountCode: ge } = X(), { currency: se, hideEventLength: fe } = q(oe()), ee = i("event.reservationNotice");
580
+ return (te, re) => (l(), v(Nt, {
581
581
  "discount-code": e(B),
582
- "onUpdate:discountCode": re[0] || (re[0] = (j) => S(B) ? B.value = j : null),
582
+ "onUpdate:discountCode": re[0] || (re[0] = (W) => S(B) ? B.value = W : null),
583
583
  "validate-discount-code": e(ge),
584
584
  "show-gift-card": t.showGiftCard,
585
585
  "show-terms-notice": t.showTermsNotice,
586
- "is-sidebar-loading": !e(D),
587
- "base-price": e(O),
586
+ "is-sidebar-loading": !e(E),
587
+ "base-price": e(x),
588
588
  "total-price": e(u),
589
- "weekend-fee": e(p),
590
- "room-upgrade": e(Y),
589
+ "weekend-fee": e(y),
590
+ "room-upgrade": e(j),
591
591
  notice: e(ee),
592
592
  "prev-callback": t.prevCallback
593
- }, rt({
594
- form: v(() => [
593
+ }, dt({
594
+ form: b(() => [
595
595
  K(te.$slots, "form", {}, void 0, !0),
596
- e(ee) ? (l(), s("div", Dn, [
596
+ e(ee) ? (l(), s("div", Pn, [
597
597
  n("p", {
598
598
  innerHTML: e(ee),
599
599
  class: "konnectio-wysiwyg"
600
- }, null, 8, Pn)
600
+ }, null, 8, En)
601
601
  ])) : r("", !0)
602
602
  ]),
603
- "reservation-summary": v(() => [
604
- e(h) ? r("", !0) : (l(), s("li", En, [
603
+ "reservation-summary": b(() => [
604
+ e(p) ? r("", !0) : (l(), s("li", $n, [
605
605
  n("span", null, o(e(i)("general.date")), 1),
606
- n("b", null, o(e(z)(e(P))), 1)
606
+ n("b", null, o(e(z)(e(D))), 1)
607
607
  ])),
608
- e(k) > 0 ? (l(), s("li", $n, [
608
+ e(f) > 0 ? (l(), s("li", wn, [
609
609
  n("span", null, o(e(i)("event.numberOfGuests")), 1),
610
- n("b", null, o(e(k)), 1)
610
+ n("b", null, o(e(f)), 1)
611
611
  ])) : r("", !0),
612
- !e(h) && e(C) > 0 ? (l(), s("li", wn, [
612
+ !e(p) && e(C) > 0 ? (l(), s("li", On, [
613
613
  n("span", null, o(e(i)("event.numberOfProducts")), 1),
614
614
  n("b", null, o(e(C)), 1)
615
615
  ])) : r("", !0),
616
- e(h) ? (l(), s(N, { key: 3 }, [
616
+ e(p) ? (l(), s(N, { key: 3 }, [
617
617
  n("li", null, [
618
618
  n("span", null, o(e(i)("booking.reservation.arrival")), 1),
619
- n("b", null, o(e(z)(e(E))), 1)
619
+ n("b", null, o(e(z)(e(P))), 1)
620
620
  ]),
621
621
  n("li", null, [
622
622
  n("span", null, o(e(i)("booking.reservation.departure")), 1),
623
- n("b", null, o(e(z)(e(E), e(f))), 1)
623
+ n("b", null, o(e(z)(e(P), e(k))), 1)
624
624
  ]),
625
625
  n("li", null, [
626
626
  n("span", null, o(e(i)("event.numberOfRooms")), 1),
627
627
  n("b", null, o(e(g)), 1)
628
628
  ]),
629
- e(f) > 0 ? (l(), s("li", xn, [
629
+ e(k) > 0 ? (l(), s("li", xn, [
630
630
  n("span", null, o(e(i)("event.numberOfDays")), 1),
631
- n("b", null, o(e(f)), 1)
631
+ n("b", null, o(e(k)), 1)
632
632
  ])) : r("", !0)
633
633
  ], 64)) : r("", !0),
634
- !e(h) && e(b) ? (l(), s("li", On, [
634
+ !e(p) && e(m) ? (l(), s("li", Tn, [
635
635
  n("span", null, o(e(i)("event.startOfEvent")), 1),
636
- n("b", null, o(e(ve)(e(b))), 1)
636
+ n("b", null, o(e(ve)(e(m))), 1)
637
637
  ])) : r("", !0),
638
- !e(h) && e($) && !e(ke) ? (l(), s("li", Tn, [
638
+ !e(p) && e($) && !e(fe) ? (l(), s("li", Vn, [
639
639
  n("span", null, o(e(i)("event.lengthOfEvent")), 1),
640
640
  n("b", null, o(e(ve)(e($))), 1)
641
641
  ])) : r("", !0),
642
- e(U) ? (l(), s("li", Vn, [
642
+ e(U) ? (l(), s("li", Fn, [
643
643
  n("span", null, o(e(i)("general.discountCode")), 1),
644
644
  n("b", null, o(e(Q)), 1)
645
645
  ])) : r("", !0)
646
646
  ]),
647
- "price-summary": v(() => [
648
- !e(h) && e(T) > 0 ? (l(), s("li", Fn, [
647
+ "price-summary": b(() => [
648
+ !e(p) && e(T) > 0 ? (l(), s("li", Nn, [
649
649
  n("span", null, o(e(i)("booking.availability.basePrice")), 1),
650
650
  n("b", null, o(e(J)(e(T), e(se))), 1)
651
651
  ])) : r("", !0),
652
- e(w) ? (l(!0), s(N, { key: 1 }, R(e(w), ({ roomGroupId: j }, W) => (l(), s(N, null, [
653
- e(ie)(j, W) > 0 ? (l(), s("li", { key: j }, [
654
- n("span", null, o(e(i)("booking.reservation.addons")) + " - " + o(e(i)("booking.reservation.room")) + " #" + o(W + 1), 1),
655
- n("b", null, o(e(J)(e(ie)(j, W), e(se))), 1)
652
+ e(w) ? (l(!0), s(N, { key: 1 }, R(e(w), ({ roomGroupId: W }, Z) => (l(), s(N, null, [
653
+ e(ie)(W, Z) > 0 ? (l(), s("li", { key: W }, [
654
+ n("span", null, o(e(i)("booking.reservation.addons")) + " - " + o(e(i)("booking.reservation.room")) + " #" + o(Z + 1), 1),
655
+ n("b", null, o(e(J)(e(ie)(W, Z), e(se))), 1)
656
656
  ])) : r("", !0)
657
657
  ], 64))), 256)) : r("", !0)
658
658
  ]),
659
- navigation: v(() => [
659
+ navigation: b(() => [
660
660
  K(te.$slots, "navigation", {}, void 0, !0)
661
661
  ]),
662
- "mobile-under-price": v(() => [
663
- e(h) && e(f) > 0 ? (l(), s("div", Nn, [
664
- n("span", null, o(e(z)(e(E))) + " - " + o(e(z)(e(E), e(f))), 1)
665
- ])) : (l(), s("div", Ln, [
666
- n("span", null, o(e(z)(e(P))), 1)
662
+ "mobile-under-price": b(() => [
663
+ e(p) && e(k) > 0 ? (l(), s("div", Ln, [
664
+ n("span", null, o(e(z)(e(P))) + " - " + o(e(z)(e(P), e(k))), 1)
665
+ ])) : (l(), s("div", Cn, [
666
+ n("span", null, o(e(z)(e(D))), 1)
667
667
  ]))
668
668
  ]),
669
- "mobile-summary": v(() => [
670
- !e(h) && e(C) > 0 ? (l(), s("span", Cn, o(e(i)("event.numberOfProducts")) + ": " + o(e(C)), 1)) : r("", !0)
669
+ "mobile-summary": b(() => [
670
+ !e(p) && e(C) > 0 ? (l(), s("span", Bn, o(e(i)("event.numberOfProducts")) + ": " + o(e(C)), 1)) : r("", !0)
671
671
  ]),
672
672
  _: 2
673
673
  }, [
674
674
  e(a).sidebar ? {
675
675
  name: "sidebar",
676
- fn: v(() => [
676
+ fn: b(() => [
677
677
  K(te.$slots, "sidebar", {}, void 0, !0)
678
678
  ]),
679
679
  key: "0"
680
680
  } : void 0
681
681
  ]), 1032, ["discount-code", "validate-discount-code", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "notice", "prev-callback"]));
682
682
  }
683
- }), De = /* @__PURE__ */ G(Bn, [["__scopeId", "data-v-d2ff3f68"]]), In = { class: "event-skeleton" }, An = { class: "event-skeleton-content" }, Sn = { class: "event-skeleton-sidebar" }, Rn = /* @__PURE__ */ M({
683
+ }), De = /* @__PURE__ */ G(In, [["__scopeId", "data-v-d2ff3f68"]]), An = { class: "event-skeleton" }, Sn = { class: "event-skeleton-content" }, Rn = { class: "event-skeleton-sidebar" }, Mn = /* @__PURE__ */ M({
684
684
  __name: "EventSkeleton",
685
685
  setup(t) {
686
- return (i, a) => (l(), s("div", In, [
687
- n("div", An, [
688
- y(Se)
689
- ]),
686
+ return (i, a) => (l(), s("div", An, [
690
687
  n("div", Sn, [
688
+ h(Re)
689
+ ]),
690
+ n("div", Rn, [
691
691
  r("", !0),
692
- y(Nt)
692
+ h(Lt)
693
693
  ])
694
694
  ]));
695
695
  }
696
- }), Mn = /* @__PURE__ */ G(Rn, [["__scopeId", "data-v-3e15c4e3"]]), Un = {
696
+ }), Un = /* @__PURE__ */ G(Mn, [["__scopeId", "data-v-3e15c4e3"]]), Hn = {
697
697
  key: 0,
698
698
  id: "konnectio-event-listings-wrapper"
699
- }, Hn = {
699
+ }, Gn = {
700
700
  key: 1,
701
701
  class: "konnectio-hotel-availability-title"
702
- }, Gn = { class: "konnectio-event-listings" }, zn = { class: "konnectio-hotel-availability-title" }, qn = { class: "konnectio-event-listings" }, Yn = ["innerHTML"], jn = { class: "konnectio-panel" }, Wn = {
702
+ }, zn = { class: "konnectio-event-listings" }, qn = { class: "konnectio-hotel-availability-title" }, Yn = { class: "konnectio-event-listings" }, jn = ["innerHTML"], Wn = { class: "konnectio-panel" }, Zn = {
703
703
  key: 0,
704
704
  id: "konnectio-event-addons"
705
- }, Zn = { class: "konnectio-table with-lines" }, Qn = { class: "konnectio-event-addons-price" }, Jn = { class: "konnectio-event-addons-input" }, Kn = { class: "konnectio-event-addons-price" }, Xn = { class: "konnectio-event-addons-price" }, _n = {
705
+ }, Qn = { class: "konnectio-table with-lines" }, Jn = { class: "konnectio-event-addons-price" }, Kn = { class: "konnectio-event-addons-input" }, Xn = { class: "konnectio-event-addons-price" }, _n = { class: "konnectio-event-addons-price" }, ea = {
706
706
  key: 1,
707
707
  class: "konnectio-table with-lines without-header"
708
- }, ea = { class: "konnectio-table-addons-information" }, ta = { key: 0 }, na = { class: "konnectio-table-addons-option" }, aa = { class: "konnectio-panel" }, la = /* @__PURE__ */ M({
708
+ }, ta = { class: "konnectio-table-addons-information" }, na = { key: 0 }, aa = { class: "konnectio-table-addons-option" }, la = { class: "konnectio-panel" }, oa = /* @__PURE__ */ M({
709
709
  name: "EventLayout",
710
710
  __name: "Event",
711
711
  props: {
@@ -718,25 +718,25 @@ const Kt = {
718
718
  hideAllergies: { default: "no" },
719
719
  showFlagOnTable: { default: "no" },
720
720
  showHighChairs: {},
721
+ sortOrder: { default: "asc" },
721
722
  styling: {}
722
723
  },
723
724
  setup(t) {
724
- const i = t, { t: a } = _(), {
725
- addons: D,
726
- products: b,
727
- numberOfDays: k,
728
- flagOnTable: g,
729
- numberOfHighChairs: f,
730
- name: h,
731
- phone: P,
732
- email: $,
733
- remark: E,
734
- allergies: T,
735
- arrivalTime: w,
736
- hasEvents: O,
737
- hasTemplates: u,
738
- getEvents: p,
739
- getTemplates: Y,
725
+ const i = t, { t: a } = _(), E = X(), {
726
+ addons: m,
727
+ products: f,
728
+ numberOfDays: g,
729
+ flagOnTable: k,
730
+ numberOfHighChairs: p,
731
+ name: D,
732
+ phone: $,
733
+ email: P,
734
+ remark: T,
735
+ allergies: w,
736
+ arrivalTime: x,
737
+ hasEvents: u,
738
+ hasTemplates: y,
739
+ getTemplates: j,
740
740
  getEventData: B,
741
741
  getTemplateData: C,
742
742
  getEventTableData: U,
@@ -744,23 +744,23 @@ const Kt = {
744
744
  eventRateType: ie,
745
745
  areListingsAvailable: ge,
746
746
  isAvailabilityDataAvailable: se,
747
- hasListingData: ke,
747
+ hasListingData: fe,
748
748
  isPaymentLoading: ee,
749
749
  isReservationFormFilled: te,
750
750
  requiresArrivalTime: re,
751
- hasSelectedRequiredProducts: j,
752
- getUnavailableEvents: W,
751
+ hasSelectedRequiredProducts: W,
752
+ getUnavailableEvents: Z,
753
753
  hasFallbackEvents: $e,
754
- getFallbackEvents: Me
755
- } = q(X()), { currency: de, enableTracking: ne } = q(oe()), { setActiveIdFilter: Ue } = oe(), { eventDate: He, eventLocation: Ge } = q(Pe()), { isValidRestaurantId: ze } = Pe(), {
756
- initialize: qe,
757
- fetchListings: Ye,
758
- createBooking: je,
759
- localAddonPrice: We,
760
- totalAddonPrice: Ze,
761
- reset: Qe,
762
- goBack: we
763
- } = X(), { beginEventCheckout: Je } = Ae(), { display: fe } = Ee(), Ke = Z(() => [
754
+ getFallbackEvents: Ue
755
+ } = q(E), we = Y(() => E.getSortedEvents(i.sortOrder)), { currency: de, enableTracking: ne } = q(oe()), { setActiveIdFilter: He } = oe(), { eventDate: Ge, eventLocation: ze } = q(Pe()), { isValidRestaurantId: qe } = Pe(), {
756
+ initialize: Ye,
757
+ fetchListings: je,
758
+ createBooking: We,
759
+ localAddonPrice: Ze,
760
+ totalAddonPrice: Qe,
761
+ reset: Je,
762
+ goBack: Oe
763
+ } = X(), { beginEventCheckout: Ke } = Se(), { display: ke } = Ee(), Xe = Y(() => [
764
764
  {
765
765
  id: "availability",
766
766
  label: a("booking.availability.title"),
@@ -786,7 +786,7 @@ const Kt = {
786
786
  label: a("booking.confirmation.title"),
787
787
  icon: "calendar-check"
788
788
  }
789
- ]), Xe = Z(() => {
789
+ ]), _e = Y(() => {
790
790
  const L = [];
791
791
  return U.value && U.value.forEach((c) => {
792
792
  L.find((V) => V.value === c.time) || L.push({
@@ -795,90 +795,90 @@ const Kt = {
795
795
  });
796
796
  }), L;
797
797
  });
798
- function _e() {
799
- Qe(i.resetDate === "yes");
798
+ function et() {
799
+ Je(i.resetDate === "yes");
800
800
  }
801
- function et(L) {
802
- ne.value && Je(), je(L);
801
+ function tt(L) {
802
+ ne.value && Ke(), We(L);
803
803
  }
804
- function tt() {
805
- const L = wt("history", {
804
+ function nt() {
805
+ const L = Ot("history", {
806
806
  removeNullishValues: !0
807
- }), c = parseInt(L.rid), V = L.d, x = parseInt(L.eid);
807
+ }), c = parseInt(L.rid), V = L.d, O = parseInt(L.eid);
808
808
  if (V)
809
809
  if (xt(V)) {
810
810
  const d = new Date(V), I = d.setHours(12, 0, 0, 0), H = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
811
- I >= H ? He.value = d : (fe({
811
+ I >= H ? Ge.value = d : (ke({
812
812
  message: a("alert.error.invalidDateRange"),
813
813
  type: "error"
814
814
  }), L.d = void 0);
815
815
  } else
816
- fe({
816
+ ke({
817
817
  message: a("alert.error.wrongDateFormat"),
818
818
  type: "error"
819
819
  });
820
- isNaN(c) || (ze(c) ? Ge.value = c : (L.rid = void 0, fe({
820
+ isNaN(c) || (qe(c) ? ze.value = c : (L.rid = void 0, ke({
821
821
  message: a("alert.error.hotelIdNotFound"),
822
822
  type: "error"
823
- }))), isNaN(x) || Ue(x), Ye();
823
+ }))), isNaN(O) || He(O), je();
824
824
  }
825
- return (L, c) => (l(), m($t, { styling: t.styling }, {
826
- default: v(() => [
827
- (l(), m(dt, { onResolve: tt }, {
828
- default: v(() => [
829
- y(Ot, {
825
+ return (L, c) => (l(), v(wt, { styling: t.styling }, {
826
+ default: b(() => [
827
+ (l(), v(ct, { onResolve: nt }, {
828
+ default: b(() => [
829
+ h(Tt, {
830
830
  id: "konnectio-event-module",
831
831
  "access-token": t.accessToken,
832
- callback: e(qe)
832
+ callback: e(Ye)
833
833
  }, {
834
- default: v(() => [
835
- y(Lt, {
836
- steps: Ke.value,
837
- onReset: _e
834
+ default: b(() => [
835
+ h(Ct, {
836
+ steps: Xe.value,
837
+ onReset: et
838
838
  }, {
839
- availability: v(({ next: V }) => [
840
- y(De, null, {
841
- sidebar: v(() => [
842
- y(Yt, {
839
+ availability: b(({ next: V }) => [
840
+ h(De, null, {
841
+ sidebar: b(() => [
842
+ h(jt, {
843
843
  redirection: !1,
844
844
  "selected-location": Number(t.selectedLocation),
845
845
  "hide-locations": t.hideLocations === "yes"
846
846
  }, null, 8, ["selected-location", "hide-locations"])
847
847
  ]),
848
- form: v(() => [
849
- e(ke) && e(ge) ? (l(), s("div", Un, [
850
- e($e) ? (l(!0), s(N, { key: 0 }, R(e(Me), ({
851
- id: x,
848
+ form: b(() => [
849
+ e(fe) && e(ge) ? (l(), s("div", Hn, [
850
+ e($e) ? (l(!0), s(N, { key: 0 }, R(e(Ue), ({
851
+ id: O,
852
852
  name: d,
853
853
  description: I,
854
854
  images: H
855
- }) => (l(), m(hn, {
856
- key: x,
855
+ }) => (l(), v(pn, {
856
+ key: O,
857
857
  type: "event",
858
- "listing-id": x,
858
+ "listing-id": O,
859
859
  description: I,
860
860
  name: d,
861
861
  gallery: H,
862
862
  "tracking-enabled": e(ne),
863
863
  callback: V
864
864
  }, null, 8, ["listing-id", "description", "name", "gallery", "tracking-enabled", "callback"]))), 128)) : r("", !0),
865
- e(p).length > 0 && e(W).length > 0 ? (l(), s("h2", Hn, [
866
- y(le, {
865
+ we.value.length > 0 && e(Z).length > 0 ? (l(), s("h2", Gn, [
866
+ h(le, {
867
867
  icon: "calendar-clock",
868
868
  type: "fal",
869
869
  color: "header"
870
870
  }),
871
871
  n("span", null, o(e(a)("event.availableNow")), 1)
872
872
  ])) : r("", !0),
873
- n("ul", Gn, [
874
- e(O) && t.onlyShow !== "templates" ? (l(!0), s(N, { key: 0 }, R(e(p), (x) => (l(), m(on, {
875
- name: x.name,
876
- events: x.events,
873
+ n("ul", zn, [
874
+ e(u) && t.onlyShow !== "templates" ? (l(!0), s(N, { key: 0 }, R(we.value, (O) => (l(), v(sn, {
875
+ name: O.name,
876
+ events: O.events,
877
877
  "tracking-enabled": e(ne),
878
878
  callback: V
879
879
  }, null, 8, ["name", "events", "tracking-enabled", "callback"]))), 256)) : r("", !0),
880
- e(u) && t.onlyShow !== "events" ? (l(!0), s(N, { key: 1 }, R(e(Y), ({
881
- id: x,
880
+ e(y) && t.onlyShow !== "events" ? (l(!0), s(N, { key: 1 }, R(e(j), ({
881
+ id: O,
882
882
  name: d,
883
883
  fromDate: I,
884
884
  toDate: H,
@@ -886,9 +886,9 @@ const Kt = {
886
886
  fromPrice: A,
887
887
  description: ye,
888
888
  images: he
889
- }) => (l(), m(pn, {
890
- key: x,
891
- "listing-id": x,
889
+ }) => (l(), v(Dn, {
890
+ key: O,
891
+ "listing-id": O,
892
892
  name: d,
893
893
  images: he,
894
894
  description: ye,
@@ -900,45 +900,45 @@ const Kt = {
900
900
  callback: V
901
901
  }, null, 8, ["listing-id", "name", "images", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "tracking-enabled", "callback"]))), 128)) : r("", !0)
902
902
  ]),
903
- e(W).length > 0 && t.onlyShow !== "templates" ? (l(), s(N, { key: 2 }, [
904
- n("h2", zn, [
905
- y(le, {
903
+ e(Z).length > 0 && t.onlyShow !== "templates" ? (l(), s(N, { key: 2 }, [
904
+ n("h2", qn, [
905
+ h(le, {
906
906
  icon: "calendar-circle-exclamation",
907
907
  type: "fal",
908
908
  color: "header"
909
909
  }),
910
910
  n("span", null, o(e(a)("event.availableLater")), 1)
911
911
  ]),
912
- n("ul", qn, [
913
- (l(!0), s(N, null, R(e(W), (x) => (l(), m(kn, {
914
- name: x.name,
915
- events: x.events,
912
+ n("ul", Yn, [
913
+ (l(!0), s(N, null, R(e(Z), (O) => (l(), v(kn, {
914
+ name: O.name,
915
+ events: O.events,
916
916
  "tracking-enabled": e(ne),
917
917
  callback: V
918
918
  }, null, 8, ["name", "events", "tracking-enabled", "callback"]))), 256))
919
919
  ])
920
920
  ], 64)) : r("", !0),
921
- (!e(O) && !e(u) || !e(O) && t.onlyShow === "events" || !e(u) && t.onlyShow === "templates") && !e($e) ? (l(), s("div", {
921
+ (!e(u) && !e(y) || !e(u) && t.onlyShow === "events" || !e(y) && t.onlyShow === "templates") && !e($e) ? (l(), s("div", {
922
922
  key: 3,
923
923
  class: "konnectio-panel",
924
924
  innerHTML: e(a)("event.nothingAvailable")
925
- }, null, 8, Yn)) : r("", !0)
926
- ])) : (l(), m(Se, { key: 1 }))
925
+ }, null, 8, jn)) : r("", !0)
926
+ ])) : (l(), v(Re, { key: 1 }))
927
927
  ]),
928
928
  _: 2
929
929
  }, 1024)
930
930
  ]),
931
- addons: v(({ next: V, prev: x }) => [
932
- e(se) ? (l(), m(De, {
931
+ addons: b(({ next: V, prev: O }) => [
932
+ e(se) ? (l(), v(De, {
933
933
  key: 0,
934
- "prev-callback": () => e(we)(x)
934
+ "prev-callback": () => e(Oe)(O)
935
935
  }, {
936
- form: v(() => [
937
- n("form", jn, [
936
+ form: b(() => [
937
+ n("form", Wn, [
938
938
  n("h2", null, [
939
939
  n("span", null, o(e(a)("event.selectProducts")), 1)
940
940
  ]),
941
- e(C) && e(C).length > 0 ? (l(), s("ul", Wn, [
941
+ e(C) && e(C).length > 0 ? (l(), s("ul", Zn, [
942
942
  (l(!0), s(N, null, R(e(C), ({
943
943
  roomGroupId: d,
944
944
  addons: I,
@@ -947,21 +947,21 @@ const Kt = {
947
947
  n("h5", null, [
948
948
  n("span", null, o(e(a)("booking.reservation.room")) + " #" + o(F + 1), 1),
949
949
  c[9] || (c[9] = ue(" (", -1)),
950
- y(le, {
950
+ h(le, {
951
951
  icon: "male",
952
952
  type: "fas",
953
953
  color: "header"
954
954
  }),
955
955
  ue(" " + o(H) + ") ", 1)
956
956
  ]),
957
- n("table", Zn, [
957
+ n("table", Qn, [
958
958
  n("thead", null, [
959
959
  n("tr", null, [
960
960
  n("th", null, [
961
961
  n("span", null, o(e(a)("booking.reservation.addons")), 1)
962
962
  ]),
963
963
  c[10] || (c[10] = n("th", { class: "konnectio-event-addons-input" }, null, -1)),
964
- n("th", Qn, [
964
+ n("th", Jn, [
965
965
  n("span", null, o(e(a)("booking.availability.price")), 1)
966
966
  ])
967
967
  ])
@@ -971,30 +971,30 @@ const Kt = {
971
971
  id: A,
972
972
  cardinality: ye,
973
973
  name: he,
974
- price: nt,
975
- quantityStrategy: at
974
+ price: at,
975
+ quantityStrategy: lt
976
976
  }) => (l(), s("tr", { key: A }, [
977
977
  n("td", null, [
978
978
  n("b", null, o(he), 1),
979
979
  c[11] || (c[11] = n("br", null, null, -1)),
980
- n("span", null, o(e(J)(nt, e(de))) + " " + o(e(Et)(at)), 1)
980
+ n("span", null, o(e(J)(at, e(de))) + " " + o(e($t)(lt)), 1)
981
981
  ]),
982
- n("td", Jn, [
983
- ye === 3 ? (l(), m(ae, {
982
+ n("td", Kn, [
983
+ ye === 3 ? (l(), v(ae, {
984
984
  key: 0,
985
- modelValue: e(D)[`${d}.${A}.${F}`],
986
- "onUpdate:modelValue": (pe) => e(D)[`${d}.${A}.${F}`] = pe,
985
+ modelValue: e(m)[`${d}.${A}.${F}`],
986
+ "onUpdate:modelValue": (pe) => e(m)[`${d}.${A}.${F}`] = pe,
987
987
  small: !0,
988
988
  "min-value": 0
989
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), m(Le, {
989
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), v(Ce, {
990
990
  key: 1,
991
- modelValue: e(D)[`${d}.${A}.${F}`],
992
- "onUpdate:modelValue": (pe) => e(D)[`${d}.${A}.${F}`] = pe,
991
+ modelValue: e(m)[`${d}.${A}.${F}`],
992
+ "onUpdate:modelValue": (pe) => e(m)[`${d}.${A}.${F}`] = pe,
993
993
  numeric: !0
994
994
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
995
995
  ]),
996
- n("td", Kn, [
997
- n("span", null, o(e(J)(e(We)(A, d, F), e(de))), 1)
996
+ n("td", Xn, [
997
+ n("span", null, o(e(J)(e(Ze)(A, d, F), e(de))), 1)
998
998
  ])
999
999
  ]))), 128))
1000
1000
  ]),
@@ -1002,9 +1002,9 @@ const Kt = {
1002
1002
  n("tr", null, [
1003
1003
  c[12] || (c[12] = n("td", null, null, -1)),
1004
1004
  c[13] || (c[13] = n("td", null, null, -1)),
1005
- n("td", Xn, [
1005
+ n("td", _n, [
1006
1006
  n("u", null, [
1007
- n("span", null, o(e(J)(e(Ze)(d, F), e(de))), 1)
1007
+ n("span", null, o(e(J)(e(Qe)(d, F), e(de))), 1)
1008
1008
  ])
1009
1009
  ])
1010
1010
  ])
@@ -1012,20 +1012,20 @@ const Kt = {
1012
1012
  ])
1013
1013
  ]))), 128))
1014
1014
  ])) : r("", !0),
1015
- e(Q) ? (l(), s("table", _n, [
1015
+ e(Q) ? (l(), s("table", ea, [
1016
1016
  n("tbody", null, [
1017
1017
  (l(!0), s(N, null, R(e(B).products, ({ id: d, name: I, price: H, description: F }) => (l(), s("tr", { key: d }, [
1018
- n("td", ea, [
1018
+ n("td", ta, [
1019
1019
  n("b", null, [
1020
1020
  n("span", null, o(e(xe)(I)), 1)
1021
1021
  ]),
1022
- F && F !== I ? (l(), s("span", ta, o(e(xe)(F)), 1)) : r("", !0),
1022
+ F && F !== I ? (l(), s("span", na, o(e(xe)(F)), 1)) : r("", !0),
1023
1023
  n("u", null, o(e(J)(H, e(de))), 1)
1024
1024
  ]),
1025
- n("td", na, [
1026
- y(ae, {
1027
- modelValue: e(b)[d],
1028
- "onUpdate:modelValue": (A) => e(b)[d] = A,
1025
+ n("td", aa, [
1026
+ h(ae, {
1027
+ modelValue: e(f)[d],
1028
+ "onUpdate:modelValue": (A) => e(f)[d] = A,
1029
1029
  small: !0,
1030
1030
  "min-value": 0
1031
1031
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
@@ -1035,10 +1035,10 @@ const Kt = {
1035
1035
  ])) : r("", !0)
1036
1036
  ])
1037
1037
  ]),
1038
- navigation: v(() => [
1039
- y(me, {
1038
+ navigation: b(() => [
1039
+ h(me, {
1040
1040
  label: e(a)("event.startReservation"),
1041
- disabled: !e(j),
1041
+ disabled: !e(W),
1042
1042
  "full-width": "",
1043
1043
  onClickEvent: V
1044
1044
  }, null, 8, ["label", "disabled", "onClickEvent"])
@@ -1046,29 +1046,29 @@ const Kt = {
1046
1046
  _: 2
1047
1047
  }, 1032, ["prev-callback"])) : r("", !0)
1048
1048
  ]),
1049
- reservation: v(({ next: V, prev: x }) => [
1050
- y(De, {
1049
+ reservation: b(({ next: V, prev: O }) => [
1050
+ h(De, {
1051
1051
  "show-terms-notice": !0,
1052
1052
  "show-gift-card": !0,
1053
- "prev-callback": () => e(we)(x)
1053
+ "prev-callback": () => e(Oe)(O)
1054
1054
  }, {
1055
- form: v(() => [
1056
- n("form", aa, [
1055
+ form: b(() => [
1056
+ n("form", la, [
1057
1057
  n("h2", null, [
1058
1058
  n("span", null, o(e(a)("booking.reservation.detailsTitle")), 1)
1059
1059
  ]),
1060
- y(ce, {
1061
- modelValue: e(h),
1062
- "onUpdate:modelValue": c[0] || (c[0] = (d) => S(h) ? h.value = d : null),
1060
+ h(ce, {
1061
+ modelValue: e(D),
1062
+ "onUpdate:modelValue": c[0] || (c[0] = (d) => S(D) ? D.value = d : null),
1063
1063
  type: "text",
1064
1064
  label: e(a)("booking.reservation.name"),
1065
1065
  icon: "user-alt",
1066
1066
  placeholder: e(a)("booking.reservation.namePlaceholder"),
1067
1067
  required: ""
1068
1068
  }, null, 8, ["modelValue", "label", "placeholder"]),
1069
- y(ce, {
1070
- modelValue: e($),
1071
- "onUpdate:modelValue": c[1] || (c[1] = (d) => S($) ? $.value = d : null),
1069
+ h(ce, {
1070
+ modelValue: e(P),
1071
+ "onUpdate:modelValue": c[1] || (c[1] = (d) => S(P) ? P.value = d : null),
1072
1072
  label: e(a)("booking.reservation.email"),
1073
1073
  type: "email",
1074
1074
  name: "email",
@@ -1077,58 +1077,58 @@ const Kt = {
1077
1077
  placeholder: e(a)("booking.reservation.emailPlaceholder"),
1078
1078
  required: ""
1079
1079
  }, null, 8, ["modelValue", "label", "placeholder"]),
1080
- y(qt, {
1081
- modelValue: e(P),
1082
- "onUpdate:modelValue": c[2] || (c[2] = (d) => S(P) ? P.value = d : null),
1080
+ h(Yt, {
1081
+ modelValue: e($),
1082
+ "onUpdate:modelValue": c[2] || (c[2] = (d) => S($) ? $.value = d : null),
1083
1083
  label: e(a)("booking.reservation.phone"),
1084
1084
  icon: "phone-office",
1085
1085
  placeholder: e(a)("booking.reservation.phonePlaceholder"),
1086
1086
  required: ""
1087
1087
  }, null, 8, ["modelValue", "label", "placeholder"]),
1088
- e(re) ? (l(), m(Bt, {
1088
+ e(re) ? (l(), v(It, {
1089
1089
  key: 0,
1090
- modelValue: e(w),
1091
- "onUpdate:modelValue": c[3] || (c[3] = (d) => S(w) ? w.value = d : null),
1090
+ modelValue: e(x),
1091
+ "onUpdate:modelValue": c[3] || (c[3] = (d) => S(x) ? x.value = d : null),
1092
1092
  label: e(a)("event.selectArrivalTime"),
1093
1093
  name: "eventTimeTable",
1094
- checkboxes: Xe.value,
1094
+ checkboxes: _e.value,
1095
1095
  required: ""
1096
1096
  }, null, 8, ["modelValue", "label", "checkboxes"])) : r("", !0),
1097
- e(ie) === e(Pt).FullDayEvent ? (l(), m(ae, {
1097
+ e(ie) === e(Et).FullDayEvent ? (l(), v(ae, {
1098
1098
  key: 1,
1099
- modelValue: e(k),
1100
- "onUpdate:modelValue": c[4] || (c[4] = (d) => S(k) ? k.value = d : null),
1099
+ modelValue: e(g),
1100
+ "onUpdate:modelValue": c[4] || (c[4] = (d) => S(g) ? g.value = d : null),
1101
1101
  label: e(a)("event.numberOfDays"),
1102
1102
  "min-value": 1,
1103
1103
  required: ""
1104
1104
  }, null, 8, ["modelValue", "label"])) : r("", !0),
1105
- t.showHighChairs === "yes" ? (l(), m(ae, {
1105
+ t.showHighChairs === "yes" ? (l(), v(ae, {
1106
1106
  key: 2,
1107
- modelValue: e(f),
1108
- "onUpdate:modelValue": c[5] || (c[5] = (d) => S(f) ? f.value = d : null),
1107
+ modelValue: e(p),
1108
+ "onUpdate:modelValue": c[5] || (c[5] = (d) => S(p) ? p.value = d : null),
1109
1109
  label: e(a)("event.numberOfHighChairs"),
1110
1110
  icon: "baby",
1111
1111
  "no-optional-label": !1
1112
1112
  }, null, 8, ["modelValue", "label"])) : r("", !0),
1113
- t.showFlagOnTable === "yes" ? (l(), m(Le, {
1113
+ t.showFlagOnTable === "yes" ? (l(), v(Ce, {
1114
1114
  key: 3,
1115
- modelValue: e(g),
1116
- "onUpdate:modelValue": c[6] || (c[6] = (d) => S(g) ? g.value = d : null),
1115
+ modelValue: e(k),
1116
+ "onUpdate:modelValue": c[6] || (c[6] = (d) => S(k) ? k.value = d : null),
1117
1117
  label: e(a)("event.flagOnTable")
1118
1118
  }, null, 8, ["modelValue", "label"])) : r("", !0),
1119
- t.hideRemarks !== "yes" ? (l(), m(ce, {
1119
+ t.hideRemarks !== "yes" ? (l(), v(ce, {
1120
1120
  key: 4,
1121
- modelValue: e(E),
1122
- "onUpdate:modelValue": c[7] || (c[7] = (d) => S(E) ? E.value = d : null),
1121
+ modelValue: e(T),
1122
+ "onUpdate:modelValue": c[7] || (c[7] = (d) => S(T) ? T.value = d : null),
1123
1123
  type: "textarea",
1124
1124
  label: e(a)("booking.reservation.remark"),
1125
1125
  icon: "info-circle",
1126
1126
  placeholder: e(a)("booking.reservation.remarkPlaceholder")
1127
1127
  }, null, 8, ["modelValue", "label", "placeholder"])) : r("", !0),
1128
- t.hideAllergies !== "yes" && e(B)?.showAllergyFoodFieldOnline ? (l(), m(ce, {
1128
+ t.hideAllergies !== "yes" && e(B)?.showAllergyFoodFieldOnline ? (l(), v(ce, {
1129
1129
  key: 5,
1130
- modelValue: e(T),
1131
- "onUpdate:modelValue": c[8] || (c[8] = (d) => S(T) ? T.value = d : null),
1130
+ modelValue: e(w),
1131
+ "onUpdate:modelValue": c[8] || (c[8] = (d) => S(w) ? w.value = d : null),
1132
1132
  type: "textarea",
1133
1133
  label: e(a)("booking.reservation.allergies"),
1134
1134
  icon: "allergies",
@@ -1136,23 +1136,23 @@ const Kt = {
1136
1136
  }, null, 8, ["modelValue", "label", "placeholder"])) : r("", !0)
1137
1137
  ])
1138
1138
  ]),
1139
- navigation: v(() => [
1140
- y(me, {
1139
+ navigation: b(() => [
1140
+ h(me, {
1141
1141
  label: e(a)("general.confirmReservation"),
1142
1142
  "is-loading": e(ee),
1143
1143
  disabled: !e(te),
1144
1144
  "full-width": "",
1145
- onClickEvent: (d) => et(V)
1145
+ onClickEvent: (d) => tt(V)
1146
1146
  }, null, 8, ["label", "is-loading", "disabled", "onClickEvent"])
1147
1147
  ]),
1148
1148
  _: 2
1149
1149
  }, 1032, ["prev-callback"])
1150
1150
  ]),
1151
- payment: v(() => [
1152
- y(zt)
1151
+ payment: b(() => [
1152
+ h(qt)
1153
1153
  ]),
1154
- confirmation: v(() => [
1155
- y(Ct, {
1154
+ confirmation: b(() => [
1155
+ h(Bt, {
1156
1156
  message: e(a)("event.confirmationMessage")
1157
1157
  }, null, 8, ["message"])
1158
1158
  ]),
@@ -1162,8 +1162,8 @@ const Kt = {
1162
1162
  _: 1
1163
1163
  }, 8, ["access-token", "callback"])
1164
1164
  ]),
1165
- fallback: v(() => [
1166
- y(Mn)
1165
+ fallback: b(() => [
1166
+ h(Un)
1167
1167
  ]),
1168
1168
  _: 1
1169
1169
  }))
@@ -1171,8 +1171,8 @@ const Kt = {
1171
1171
  _: 1
1172
1172
  }, 8, ["styling"]));
1173
1173
  }
1174
- }), Be = /* @__PURE__ */ G(la, [["__scopeId", "data-v-c8565d9c"]]), oa = ct(), ia = ut, sa = ia();
1175
- class ra extends HTMLElement {
1174
+ }), Ie = /* @__PURE__ */ G(oa, [["__scopeId", "data-v-f58c56d6"]]), ia = ut(), sa = mt, ra = sa();
1175
+ class da extends HTMLElement {
1176
1176
  vueApp;
1177
1177
  constructor() {
1178
1178
  super();
@@ -1181,14 +1181,14 @@ class ra extends HTMLElement {
1181
1181
  this.vueApp.unmount();
1182
1182
  }
1183
1183
  connectedCallback() {
1184
- const i = mt(Be, this.attributes);
1185
- this.vueApp = vt(Be, i), this.vueApp.provide("emitter", sa), this.vueApp.use(jt), this.vueApp.use(bt), this.vueApp.use(oa), this.vueApp.use(It), this.vueApp.use(gt), this.vueApp.use(At);
1184
+ const i = vt(Ie, this.attributes);
1185
+ this.vueApp = bt(Ie, i), this.vueApp.provide("emitter", ra), this.vueApp.use(Wt), this.vueApp.use(gt), this.vueApp.use(ia), this.vueApp.use(At), this.vueApp.use(ft), this.vueApp.use(St);
1186
1186
  const a = document.createElement("div");
1187
1187
  this.vueApp.mount(a), this.appendChild(a.children[0]);
1188
1188
  }
1189
1189
  }
1190
- window.customElements.define("konnectio-event", ra);
1190
+ window.customElements.define("konnectio-event", da);
1191
1191
  export {
1192
- ra as default
1192
+ da as default
1193
1193
  };
1194
1194
  //# sourceMappingURL=event.js.map