@konnectio/core 4.0.118 → 4.0.119

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (52) hide show
  1. package/dist/{ActionField--tGPb0Ob.js → ActionField-yaTIHJvx.js} +2 -2
  2. package/dist/ActionField-yaTIHJvx.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-DcJF9jAN.js → AvailabilitySkeleton-CV6IiFig.js} +5 -5
  4. package/dist/AvailabilitySkeleton-CV6IiFig.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bt9G4kP9.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-BZQdYoAp.js} +2 -2
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-BZQdYoAp.js.br +0 -0
  7. package/dist/{CheckoutWindow-0SQ_8VzW.js → CheckoutWindow-BLhGzw4p.js} +2 -2
  8. package/dist/CheckoutWindow-BLhGzw4p.js.br +0 -0
  9. package/dist/{ErrorMessage-Bwb7Ib84.js → ErrorMessage-CMNpag_d.js} +2 -2
  10. package/dist/ErrorMessage-CMNpag_d.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-DMLUjzLU.js → EventAvailabilityForm-5IKyXHH5.js} +3 -3
  12. package/dist/EventAvailabilityForm-5IKyXHH5.js.br +0 -0
  13. package/dist/{Field-CbCFTaTs.js → Field-CvoF7Glc.js} +3 -3
  14. package/dist/Field-CvoF7Glc.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-K7qu_idf.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-AECoPKDc.js} +2 -2
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-D3xQFei_.js → SelectField.vue_vue_type_style_index_0_lang-B52OcB6R.js} +2 -2
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-B52OcB6R.js.br +0 -0
  18. package/dist/{TermsOfService-BeBLKeU1.js → TermsOfService-D_TOJHKs.js} +3 -3
  19. package/dist/_-4AAzKjzk.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-BHgddsWZ.js → _.vue_vue_type_style_index_0_lang-Iq1FI_VA.js} +2 -2
  21. package/dist/availability.js +5 -5
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +3 -3
  24. package/dist/cancel-reservation.js.br +0 -0
  25. package/dist/event.js +278 -288
  26. package/dist/event.js.br +0 -0
  27. package/dist/gift-card-validation.js +7 -7
  28. package/dist/gift-card-validation.js.br +0 -0
  29. package/dist/gift-card.js +8 -8
  30. package/dist/gift-card.js.br +0 -0
  31. package/dist/{giftCard-3jj6EyhQ.js → giftCard-DvqomDap.js} +2 -2
  32. package/dist/giftCard-DvqomDap.js.br +0 -0
  33. package/dist/hotel.js +7 -7
  34. package/dist/hotel.js.br +0 -0
  35. package/dist/{masonry.plugin-B2kZ4Lq-.js → masonry.plugin-rZZcRBGq.js} +5 -5
  36. package/dist/masonry.plugin-rZZcRBGq.js.br +0 -0
  37. package/dist/polyfill.js +1 -1
  38. package/dist/polyfill.js.br +0 -0
  39. package/dist/style.css +1 -1
  40. package/dist/style.css.br +0 -0
  41. package/package.json +1 -1
  42. package/dist/ActionField--tGPb0Ob.js.br +0 -0
  43. package/dist/AvailabilitySkeleton-DcJF9jAN.js.br +0 -0
  44. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bt9G4kP9.js.br +0 -0
  45. package/dist/CheckoutWindow-0SQ_8VzW.js.br +0 -0
  46. package/dist/ErrorMessage-Bwb7Ib84.js.br +0 -0
  47. package/dist/EventAvailabilityForm-DMLUjzLU.js.br +0 -0
  48. package/dist/Field-CbCFTaTs.js.br +0 -0
  49. package/dist/SelectField.vue_vue_type_style_index_0_lang-D3xQFei_.js.br +0 -0
  50. package/dist/_-DJq3nquJ.js +0 -5
  51. package/dist/giftCard-3jj6EyhQ.js.br +0 -0
  52. package/dist/masonry.plugin-B2kZ4Lq-.js.br +0 -0
package/dist/event.js CHANGED
@@ -1,48 +1,48 @@
1
- import { d as W, u as ae, s as Y, r as Fe, c as j, a as o, b as _, w as m, v as X, i as e, e as t, j as p, f as v, n as Xe, g as d, t as a, o as Ze, h as xe, x as de, y as et, z as tt, F, A as H, B as M, S as nt, k as at, l as ot, m as lt, p as st, q as it } from "./mitt-HQsLmGCg.js";
2
- import { a as $e, f as Z, g as ue, l as rt, s as U, d as ce, B as ut, _ as x, h as we, I as ne, i as dt, u as Pe, j as ct, k as mt, m as pt, n as _e, o as K, p as vt, q as Ve, T as re, O as bt, C as ft, r as gt, t as kt, v as yt } from "./SelectField.vue_vue_type_style_index_0_lang-D3xQFei_.js";
1
+ import { d as W, u as ae, s as Y, r as Fe, c as j, a as o, b as $, w as m, v as X, i as e, e as t, j as f, f as p, n as Xe, g as c, t as a, o as Ze, h as xe, x as de, y as et, z as tt, F as A, A as H, B as M, S as nt, k as at, l as ot, m as lt, p as st, q as it } from "./mitt-HQsLmGCg.js";
2
+ import { a as _e, f as Z, g as ue, l as rt, s as U, d as ce, B as ut, _ as x, h as we, I as ne, i as dt, u as Pe, j as ct, k as mt, m as pt, n as $e, o as K, p as vt, q as Oe, T as re, O as bt, C as ft, r as gt, t as kt, v as yt } from "./SelectField.vue_vue_type_style_index_0_lang-B52OcB6R.js";
3
3
  import { G as ht } from "./style-Cc6LpDdk.js";
4
- import { _ as Dt } from "./_.vue_vue_type_style_index_0_lang-BHgddsWZ.js";
5
- import { B as Pt, _ as _t, R as $t, L as Ie, S as wt, M as Et, C as Vt, T as Ot, V as Nt, a as Tt } from "./masonry.plugin-B2kZ4Lq-.js";
6
- import { e as Bt, c as St, n as Ct, g as Oe, m as Ne, a as Te, b as Be, d as Ft, f as Se, _ as It } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bt9G4kP9.js";
7
- import { C as Lt, P as At, a as Rt } from "./CheckoutWindow-0SQ_8VzW.js";
8
- import { E as Mt } from "./EventAvailabilityForm-DMLUjzLU.js";
9
- import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-K7qu_idf.js";
4
+ import { _ as Dt } from "./_.vue_vue_type_style_index_0_lang-Iq1FI_VA.js";
5
+ import { B as Pt, _ as $t, R as _t, L as Le, S as wt, M as Et, C as Ot, T as Vt, V as Nt, a as Tt } from "./masonry.plugin-rZZcRBGq.js";
6
+ import { e as Bt, c as Ct, n as St, g as Ve, m as Ne, a as Te, b as Be, d as Ft, f as Ce, _ as Lt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-BZQdYoAp.js";
7
+ import { C as It, P as At, a as Rt } from "./CheckoutWindow-BLhGzw4p.js";
8
+ import { E as Mt } from "./EventAvailabilityForm-5IKyXHH5.js";
9
+ import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-AECoPKDc.js";
10
10
  function Ut(g) {
11
11
  return (l) => {
12
- const b = (g ? Math[g] : Math.trunc)(l);
13
- return b === 0 ? 0 : b;
12
+ const v = (g ? Math[g] : Math.trunc)(l);
13
+ return v === 0 ? 0 : v;
14
14
  };
15
15
  }
16
16
  function Gt(g, l, n) {
17
- const b = Ft(), f = n?.locale ?? b.locale ?? Bt, i = St(g, l);
17
+ const v = Ft(), b = n?.locale ?? v.locale ?? Bt, i = Ct(g, l);
18
18
  if (isNaN(i))
19
19
  throw new RangeError("Invalid time value");
20
20
  const k = Object.assign({}, n, {
21
21
  addSuffix: n?.addSuffix,
22
22
  comparison: i
23
- }), [E, y] = Ct(
23
+ }), [E, y] = St(
24
24
  n?.in,
25
25
  ...i > 0 ? [l, g] : [g, l]
26
- ), s = Ut(n?.roundingMethod ?? "round"), V = y.getTime() - E.getTime(), D = V / Se, $ = Oe(y) - Oe(E), N = (V - $) / Se, I = n?.unit;
26
+ ), s = Ut(n?.roundingMethod ?? "round"), O = y.getTime() - E.getTime(), D = O / Ce, _ = Ve(y) - Ve(E), N = (O - _) / Ce, F = n?.unit;
27
27
  let P;
28
- if (I ? P = I : D < 1 ? P = "second" : D < 60 ? P = "minute" : D < Ne ? P = "hour" : N < Te ? P = "day" : N < Be ? P = "month" : P = "year", P === "second") {
29
- const u = s(V / 1e3);
30
- return f.formatDistance("xSeconds", u, k);
28
+ if (F ? P = F : D < 1 ? P = "second" : D < 60 ? P = "minute" : D < Ne ? P = "hour" : N < Te ? P = "day" : N < Be ? P = "month" : P = "year", P === "second") {
29
+ const u = s(O / 1e3);
30
+ return b.formatDistance("xSeconds", u, k);
31
31
  } else if (P === "minute") {
32
32
  const u = s(D);
33
- return f.formatDistance("xMinutes", u, k);
33
+ return b.formatDistance("xMinutes", u, k);
34
34
  } else if (P === "hour") {
35
35
  const u = s(D / 60);
36
- return f.formatDistance("xHours", u, k);
36
+ return b.formatDistance("xHours", u, k);
37
37
  } else if (P === "day") {
38
38
  const u = s(N / Ne);
39
- return f.formatDistance("xDays", u, k);
39
+ return b.formatDistance("xDays", u, k);
40
40
  } else if (P === "month") {
41
41
  const u = s(N / Te);
42
- return u === 12 && I !== "month" ? f.formatDistance("xYears", 1, k) : f.formatDistance("xMonths", u, k);
42
+ return u === 12 && F !== "month" ? b.formatDistance("xYears", 1, k) : b.formatDistance("xMonths", u, k);
43
43
  } else {
44
44
  const u = s(N / Be);
45
- return f.formatDistance("xYears", u, k);
45
+ return b.formatDistance("xYears", u, k);
46
46
  }
47
47
  }
48
48
  const zt = { class: "konnectio-event-listing-action-button" }, qt = /* @__PURE__ */ W({
@@ -69,36 +69,36 @@ const zt = { class: "konnectio-event-listing-action-button" }, qt = /* @__PURE__
69
69
  callback: {}
70
70
  },
71
71
  setup(g) {
72
- const { t: l } = ae(), n = g, { display: b } = $e(), {
73
- maxNumberOfPeople: f,
72
+ const { t: l } = ae(), n = g, { display: v } = _e(), {
73
+ maxNumberOfPeople: b,
74
74
  numberOfPeople: i,
75
75
  eventId: k,
76
76
  currentEventDate: E,
77
77
  tableGroupId: y
78
78
  } = Y(Z()), {
79
79
  getTemplateAvailability: s,
80
- getEventAvailability: V,
80
+ getEventAvailability: O,
81
81
  isEventListingLoading: D
82
- } = Z(), $ = Fe(0), N = j(() => D(n.listingId)), I = () => {
83
- if (!n.useNumberOfProductsForPersons && ($.value === 0 || isNaN($.value))) {
84
- b({
82
+ } = Z(), _ = Fe(0), N = j(() => D(n.listingId)), F = () => {
83
+ if (!n.useNumberOfProductsForPersons && (_.value === 0 || isNaN(_.value))) {
84
+ v({
85
85
  type: "error",
86
86
  message: l("alert.error.selectPeople")
87
87
  });
88
88
  return;
89
89
  }
90
- k.value = n.listingId, i.value = n.useNumberOfProductsForPersons ? NaN : $.value, s(n.callback);
90
+ k.value = n.listingId, i.value = n.useNumberOfProductsForPersons ? NaN : _.value, s(n.callback);
91
91
  }, P = () => {
92
- if (!n.useNumberOfProductsForPersons && ($.value === 0 || isNaN($.value))) {
93
- b({
92
+ if (!n.useNumberOfProductsForPersons && (_.value === 0 || isNaN(_.value))) {
93
+ v({
94
94
  type: "error",
95
95
  message: l("alert.error.selectPeople")
96
96
  });
97
97
  return;
98
98
  }
99
- k.value = n.listingId, y.value = n.tableGroupId, i.value = n.useNumberOfProductsForPersons ? NaN : $.value, V(n.callback);
99
+ k.value = n.listingId, y.value = n.tableGroupId, i.value = n.useNumberOfProductsForPersons ? NaN : _.value, O(n.callback);
100
100
  };
101
- return (u, L) => (o(), _(Pt, {
101
+ return (u, L) => (o(), $(Pt, {
102
102
  type: "event",
103
103
  "listing-id": u.listingId,
104
104
  gallery: u.gallery,
@@ -109,7 +109,7 @@ const zt = { class: "konnectio-event-listing-action-button" }, qt = /* @__PURE__
109
109
  layout: e(ut).Event
110
110
  }, {
111
111
  description: m(() => [
112
- X(u.$slots, "description", { maxNumberOfPeople: e(f) }, void 0, !0)
112
+ X(u.$slots, "description", { maxNumberOfPeople: e(b) }, void 0, !0)
113
113
  ]),
114
114
  action: m(() => [
115
115
  X(u.$slots, "action", {}, () => [
@@ -119,26 +119,26 @@ const zt = { class: "konnectio-event-listing-action-button" }, qt = /* @__PURE__
119
119
  { "no-selectable-people": u.useNumberOfProductsForPersons }
120
120
  ])
121
121
  }, [
122
- u.useNumberOfProductsForPersons ? p("", !0) : (o(), _(ue, {
122
+ u.useNumberOfProductsForPersons ? f("", !0) : (o(), $(ue, {
123
123
  key: 0,
124
- modelValue: $.value,
125
- "onUpdate:modelValue": L[0] || (L[0] = (A) => $.value = A),
124
+ modelValue: _.value,
125
+ "onUpdate:modelValue": L[0] || (L[0] = (I) => _.value = I),
126
126
  label: e(l)("event.numberOfGuests"),
127
127
  icon: "users",
128
128
  "icon-type": "fas",
129
129
  "icon-placement": "label",
130
130
  description: u.maxGuests <= 20 ? `${e(l)("general.availableFor")}: 1 - ${u.maxGuests} ${e(rt)(e(l)("general.guests"))}` : void 0,
131
131
  "min-value": 0,
132
- "max-value": u.maxOnlineReservationLimit || u.maxGuests || e(f) || 1 / 0
132
+ "max-value": u.maxOnlineReservationLimit || u.maxGuests || e(b) || 1 / 0
133
133
  }, null, 8, ["modelValue", "label", "description", "max-value"])),
134
134
  t("div", zt, [
135
- v(ce, {
135
+ p(ce, {
136
136
  label: u.soldOut ? e(l)("event.soldOut") : e(l)("event.bookNowButton"),
137
137
  disabled: u.soldOut,
138
138
  "is-loading": N.value,
139
139
  "full-width": "",
140
140
  "sub-label": e(U)(e(E)),
141
- onClickEvent: L[1] || (L[1] = (A) => u.type === "event" ? P() : I())
141
+ onClickEvent: L[1] || (L[1] = (I) => u.type === "event" ? P() : F())
142
142
  }, null, 8, ["label", "disabled", "is-loading", "sub-label"])
143
143
  ])
144
144
  ], 2)
@@ -147,7 +147,7 @@ const zt = { class: "konnectio-event-listing-action-button" }, qt = /* @__PURE__
147
147
  _: 3
148
148
  }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
149
149
  }
150
- }), Le = /* @__PURE__ */ x(qt, [["__scopeId", "data-v-81aa25c5"]]), Ht = { class: "konnectio-event-listing-information-new" };
150
+ }), Ie = /* @__PURE__ */ x(qt, [["__scopeId", "data-v-81aa25c5"]]), Ht = { class: "konnectio-event-listing-information-new" };
151
151
  const Yt = {
152
152
  key: 1,
153
153
  class: "konnectio-pill-button"
@@ -174,14 +174,14 @@ const Yt = {
174
174
  callback: {}
175
175
  },
176
176
  setup(g) {
177
- const l = g, { t: n } = ae(), { hideEventLength: b } = Y(we()), f = j(() => {
177
+ const l = g, { t: n } = ae(), { hideEventLength: v } = Y(we()), b = j(() => {
178
178
  const i = l.length.split(":");
179
179
  return Gt(
180
180
  new Date(2e3, 0, 1, Number(i[0]), Number(i[1]), 0),
181
181
  new Date(2e3, 0, 1, 0, 0, 0)
182
182
  );
183
183
  });
184
- return (i, k) => (o(), _(Le, {
184
+ return (i, k) => (o(), $(Ie, {
185
185
  "listing-id": i.listingId,
186
186
  name: i.name,
187
187
  description: i.description,
@@ -196,25 +196,25 @@ const Yt = {
196
196
  callback: i.callback
197
197
  }, {
198
198
  description: m(() => [
199
- i.description ? (o(), _(_t, {
199
+ i.description ? (o(), $($t, {
200
200
  key: 0,
201
201
  text: i.description
202
- }, null, 8, ["text"])) : p("", !0),
202
+ }, null, 8, ["text"])) : f("", !0),
203
203
  t("ul", Ht, [
204
- p("", !0),
205
- e(b) ? p("", !0) : (o(), d("li", Yt, [
204
+ f("", !0),
205
+ e(v) ? f("", !0) : (o(), c("li", Yt, [
206
206
  t("div", null, [
207
- v(ne, {
207
+ p(ne, {
208
208
  icon: "calendar-clock",
209
209
  color: "header"
210
210
  }),
211
211
  t("span", null, a(e(n)("event.lengthOfEvent")), 1)
212
212
  ]),
213
- t("span", null, a(f.value), 1)
213
+ t("span", null, a(b.value), 1)
214
214
  ])),
215
215
  t("li", jt, [
216
216
  t("div", null, [
217
- v(ne, {
217
+ p(ne, {
218
218
  icon: "calendar-clock",
219
219
  color: "header"
220
220
  }),
@@ -252,17 +252,17 @@ const Yt = {
252
252
  callback: { type: Function }
253
253
  },
254
254
  setup(g) {
255
- const { t: l } = ae(), { updateEventDate: n } = Pe(), { display: b } = $e(), f = Fe(), i = g;
255
+ const { t: l } = ae(), { updateEventDate: n } = Pe(), { display: v } = _e(), b = Fe(), i = g;
256
256
  function k() {
257
- f.value ? n(f.value) : b({
257
+ b.value ? n(b.value) : v({
258
258
  message: l("alert.error.selectDate"),
259
259
  type: "error"
260
260
  });
261
261
  }
262
262
  const E = j(() => mt(i.fromDate, i.toDate) <= 1), y = j(() => [0, 1, 2, 3, 4, 5, 6].filter((s) => !pt(i.days).includes(s)));
263
263
  return Ze(() => {
264
- E.value && (f.value = new Date(i.fromDate));
265
- }), (s, V) => (o(), _(Ae, {
264
+ E.value && (b.value = new Date(i.fromDate));
265
+ }), (s, O) => (o(), $(Ae, {
266
266
  name: s.name,
267
267
  description: s.description,
268
268
  "from-date": s.fromDate,
@@ -284,9 +284,9 @@ const Yt = {
284
284
  action: m(() => [
285
285
  t("div", null, [
286
286
  t("div", Qt, [
287
- v(It, {
288
- modelValue: f.value,
289
- "onUpdate:modelValue": V[0] || (V[0] = (D) => f.value = D),
287
+ p(Lt, {
288
+ modelValue: b.value,
289
+ "onUpdate:modelValue": O[0] || (O[0] = (D) => b.value = D),
290
290
  label: `${e(l)("event.selectDate")}*`,
291
291
  placeholder: e(l)("event.selectDate"),
292
292
  "icon-type": "fas",
@@ -298,17 +298,17 @@ const Yt = {
298
298
  "disabled-week-days": y.value
299
299
  }, null, 8, ["modelValue", "label", "placeholder", "readonly", "start-date", "min-date", "max-date", "disabled-week-days"]),
300
300
  t("div", Jt, [
301
- v(ce, {
301
+ p(ce, {
302
302
  label: e(l)("availability.buttonLabel"),
303
303
  onClick: xe(k, ["prevent"])
304
304
  }, null, 8, ["label"])
305
305
  ])
306
306
  ]),
307
307
  t("div", Kt, [
308
- E.value ? (o(), d("span", Xt, [
308
+ E.value ? (o(), c("span", Xt, [
309
309
  de("*" + a(e(l)("event.canBeBooked")) + " ", 1),
310
310
  t("u", null, a(e(U)(s.fromDate)), 1)
311
- ])) : (o(), d("span", Zt, [
311
+ ])) : (o(), c("span", Zt, [
312
312
  de("*" + a(e(l)("event.canBeBooked")) + " ", 1),
313
313
  t("u", null, a(e(ct)(s.days)), 1)
314
314
  ]))
@@ -344,15 +344,15 @@ const Yt = {
344
344
  url: l.image
345
345
  }];
346
346
  });
347
- return (b, f) => (o(), _(Le, {
348
- "listing-id": b.listingId,
347
+ return (v, b) => (o(), $(Ie, {
348
+ "listing-id": v.listingId,
349
349
  gallery: n.value,
350
- name: b.name,
351
- description: b.description,
352
- "prices-from": b.fromPrice,
353
- "to-date": b.toDate,
350
+ name: v.name,
351
+ description: v.description,
352
+ "prices-from": v.fromPrice,
353
+ "to-date": v.toDate,
354
354
  type: "template",
355
- callback: b.callback
355
+ callback: v.callback
356
356
  }, null, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
357
357
  }
358
358
  }), nn = { key: 0 }, an = { key: 1 }, on = { key: 2 }, ln = { key: 4 }, sn = { key: 5 }, rn = { key: 0 }, un = { key: 0 }, dn = { key: 1 }, cn = {
@@ -367,32 +367,32 @@ const Yt = {
367
367
  },
368
368
  setup(g) {
369
369
  const { t: l } = ae(), n = et(), {
370
- areListingsAvailable: b,
371
- arrivalTime: f,
370
+ areListingsAvailable: v,
371
+ arrivalTime: b,
372
372
  numberOfPeople: i,
373
373
  numberOfRooms: k,
374
374
  numberOfTotalDays: E,
375
375
  isTemplateEvent: y,
376
376
  currentEventDate: s,
377
- length: V,
377
+ length: O,
378
378
  fromDate: D,
379
- tableBasePrice: $,
379
+ tableBasePrice: _,
380
380
  getTemplateData: N,
381
- basePrice: I,
381
+ basePrice: F,
382
382
  totalPrice: P,
383
383
  weekendFee: u,
384
384
  roomUpgrade: L,
385
- discountCode: A,
385
+ discountCode: I,
386
386
  totalSelectedProducts: Q
387
387
  } = Y(Z()), { totalAddonPrice: me, validateDiscountCode: pe } = Z(), { currency: oe, hideEventLength: ve } = Y(we());
388
- return (R, le) => (o(), _($t, {
389
- "discount-code": e(A),
390
- "onUpdate:discountCode": le[0] || (le[0] = (J) => M(A) ? A.value = J : null),
388
+ return (R, le) => (o(), $(_t, {
389
+ "discount-code": e(I),
390
+ "onUpdate:discountCode": le[0] || (le[0] = (J) => M(I) ? I.value = J : null),
391
391
  "validate-discount-code": e(pe),
392
392
  "show-gift-card": R.showGiftCard,
393
393
  "show-terms-notice": R.showTermsNotice,
394
- "is-sidebar-loading": !e(b),
395
- "base-price": e(I),
394
+ "is-sidebar-loading": !e(v),
395
+ "base-price": e(F),
396
396
  "total-price": e(P),
397
397
  "weekend-fee": e(u),
398
398
  "room-upgrade": e(L),
@@ -403,19 +403,19 @@ const Yt = {
403
403
  X(R.$slots, "form", {}, void 0, !0)
404
404
  ]),
405
405
  "reservation-summary": m(() => [
406
- e(y) ? p("", !0) : (o(), d("li", nn, [
406
+ e(y) ? f("", !0) : (o(), c("li", nn, [
407
407
  t("span", null, a(e(l)("general.date")), 1),
408
408
  t("b", null, a(e(U)(e(s))), 1)
409
409
  ])),
410
- e(i) > 0 ? (o(), d("li", an, [
410
+ e(i) > 0 ? (o(), c("li", an, [
411
411
  t("span", null, a(e(l)("event.numberOfGuests")), 1),
412
412
  t("b", null, a(e(i)), 1)
413
- ])) : p("", !0),
414
- !e(y) && e(Q) > 0 ? (o(), d("li", on, [
413
+ ])) : f("", !0),
414
+ !e(y) && e(Q) > 0 ? (o(), c("li", on, [
415
415
  t("span", null, a(e(l)("event.numberOfProducts")), 1),
416
416
  t("b", null, a(e(Q)), 1)
417
- ])) : p("", !0),
418
- e(y) ? (o(), d(F, { key: 3 }, [
417
+ ])) : f("", !0),
418
+ e(y) ? (o(), c(A, { key: 3 }, [
419
419
  t("li", null, [
420
420
  t("span", null, a(e(l)("booking.reservation.arrival")), 1),
421
421
  t("b", null, a(e(U)(e(D))), 1)
@@ -432,38 +432,38 @@ const Yt = {
432
432
  t("span", null, a(e(l)("event.numberOfDays")), 1),
433
433
  t("b", null, a(e(E)), 1)
434
434
  ])
435
- ], 64)) : p("", !0),
436
- !e(y) && e(f) ? (o(), d("li", ln, [
435
+ ], 64)) : f("", !0),
436
+ !e(y) && e(b) ? (o(), c("li", ln, [
437
437
  t("span", null, a(e(l)("event.startOfEvent")), 1),
438
- t("b", null, a(e(_e)(e(f))), 1)
439
- ])) : p("", !0),
440
- !e(y) && e(V) && !e(ve) ? (o(), d("li", sn, [
438
+ t("b", null, a(e($e)(e(b))), 1)
439
+ ])) : f("", !0),
440
+ !e(y) && e(O) && !e(ve) ? (o(), c("li", sn, [
441
441
  t("span", null, a(e(l)("event.lengthOfEvent")), 1),
442
- t("b", null, a(e(_e)(e(V))), 1)
443
- ])) : p("", !0)
442
+ t("b", null, a(e($e)(e(O))), 1)
443
+ ])) : f("", !0)
444
444
  ]),
445
445
  "price-summary": m(() => [
446
- !e(y) && e($) > 0 ? (o(), d("li", rn, [
446
+ !e(y) && e(_) > 0 ? (o(), c("li", rn, [
447
447
  t("span", null, a(e(l)("booking.availability.basePrice")), 1),
448
- t("b", null, a(e(K)(e($), e(oe))), 1)
449
- ])) : p("", !0),
450
- e(N) ? (o(!0), d(F, { key: 1 }, H(e(N), ({ roomGroupId: J }, se) => (o(), d("li", { key: J }, [
448
+ t("b", null, a(e(K)(e(_), e(oe))), 1)
449
+ ])) : f("", !0),
450
+ e(N) ? (o(!0), c(A, { key: 1 }, H(e(N), ({ roomGroupId: J }, se) => (o(), c("li", { key: J }, [
451
451
  t("span", null, a(e(l)("booking.reservation.addons")) + " - " + a(e(l)("booking.reservation.room")) + " #" + a(se + 1), 1),
452
452
  t("b", null, a(e(K)(e(me)(J, se), e(oe))), 1)
453
- ]))), 128)) : p("", !0)
453
+ ]))), 128)) : f("", !0)
454
454
  ]),
455
455
  navigation: m(() => [
456
456
  X(R.$slots, "navigation", {}, void 0, !0)
457
457
  ]),
458
458
  "mobile-under-price": m(() => [
459
- e(y) ? (o(), d("div", un, [
459
+ e(y) ? (o(), c("div", un, [
460
460
  t("span", null, a(e(U)(e(D))) + " - " + a(e(U)(e(D), e(E))), 1)
461
- ])) : (o(), d("div", dn, [
461
+ ])) : (o(), c("div", dn, [
462
462
  t("span", null, a(e(U)(e(s))), 1)
463
463
  ]))
464
464
  ]),
465
465
  "mobile-summary": m(() => [
466
- !e(y) && e(Q) > 0 ? (o(), d("span", cn, a(e(l)("event.numberOfProducts")) + ": " + a(e(Q)), 1)) : p("", !0)
466
+ !e(y) && e(Q) > 0 ? (o(), c("span", cn, a(e(l)("event.numberOfProducts")) + ": " + a(e(Q)), 1)) : f("", !0)
467
467
  ]),
468
468
  _: 2
469
469
  }, [
@@ -479,13 +479,13 @@ const Yt = {
479
479
  }), De = /* @__PURE__ */ x(mn, [["__scopeId", "data-v-c4b0b5c7"]]), pn = { class: "event-skeleton" }, vn = { class: "event-skeleton-content" }, bn = { class: "event-skeleton-sidebar" }, fn = /* @__PURE__ */ W({
480
480
  __name: "EventSkeleton",
481
481
  setup(g) {
482
- return (l, n) => (o(), d("div", pn, [
482
+ return (l, n) => (o(), c("div", pn, [
483
483
  t("div", vn, [
484
- v(Ie)
484
+ p(Le)
485
485
  ]),
486
486
  t("div", bn, [
487
- p("", !0),
488
- v(wt)
487
+ f("", !0),
488
+ p(wt)
489
489
  ])
490
490
  ]));
491
491
  }
@@ -495,15 +495,13 @@ const Yt = {
495
495
  }, yn = {
496
496
  key: 0,
497
497
  class: "konnectio-hotel-availability-title"
498
- };
499
- const hn = { class: "konnectio-event-listings" };
500
- const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel-availability-title" }, _n = { class: "konnectio-event-listings" }, $n = ["innerHTML"], wn = { class: "konnectio-panel" }, En = {
498
+ }, hn = { class: "konnectio-event-listings" }, Dn = { class: "konnectio-hotel-availability-title" }, Pn = { class: "konnectio-event-listings" }, $n = ["innerHTML"], _n = { class: "konnectio-panel" }, wn = {
501
499
  key: 0,
502
500
  id: "konnectio-event-addons"
503
- }, Vn = { class: "konnectio-table with-lines" }, On = { class: "konnectio-event-addons-price" }, Nn = { class: "konnectio-event-addons-input" }, Tn = { class: "konnectio-event-addons-price" }, Bn = { class: "konnectio-event-addons-price" }, Sn = {
501
+ }, En = { class: "konnectio-table with-lines" }, On = { class: "konnectio-event-addons-price" }, Vn = { class: "konnectio-event-addons-input" }, Nn = { class: "konnectio-event-addons-price" }, Tn = { class: "konnectio-event-addons-price" }, Bn = {
504
502
  key: 1,
505
503
  class: "konnectio-table with-lines"
506
- }, Cn = { class: "konnectio-table-addons-information" }, Fn = { key: 0 }, In = { class: "konnectio-table-addons-option" }, Ln = { class: "konnectio-panel" }, An = /* @__PURE__ */ W({
504
+ }, Cn = { class: "konnectio-table-addons-information" }, Sn = { key: 0 }, Fn = { class: "konnectio-table-addons-option" }, Ln = { class: "konnectio-panel" }, In = /* @__PURE__ */ W({
507
505
  name: "EventLayout",
508
506
  __name: "Event",
509
507
  props: {
@@ -515,22 +513,22 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
515
513
  },
516
514
  setup(g) {
517
515
  const l = g, { t: n } = ae(), {
518
- addons: b,
519
- products: f,
516
+ addons: v,
517
+ products: b,
520
518
  numberOfDays: i,
521
519
  name: k,
522
520
  phone: E,
523
521
  email: y,
524
522
  remark: s,
525
- allergies: V,
523
+ allergies: O,
526
524
  arrivalTime: D,
527
- hasEvents: $,
525
+ hasEvents: _,
528
526
  hasTemplates: N,
529
- getEvents: I,
527
+ getEvents: F,
530
528
  getTemplates: P,
531
529
  getEventData: u,
532
530
  getTemplateData: L,
533
- getEventTableData: A,
531
+ getEventTableData: I,
534
532
  hasProducts: Q,
535
533
  eventRateType: me,
536
534
  areListingsAvailable: pe,
@@ -549,7 +547,7 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
549
547
  totalAddonPrice: Ye,
550
548
  reset: je,
551
549
  goBack: Ee
552
- } = Z(), { display: fe } = $e(), We = j(() => [
550
+ } = Z(), { display: fe } = _e(), We = j(() => [
553
551
  {
554
552
  id: "availability",
555
553
  label: n("booking.availability.title"),
@@ -577,10 +575,10 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
577
575
  }
578
576
  ]), Qe = j(() => {
579
577
  const w = [];
580
- return A.value && A.value.forEach((c) => {
581
- w.find((B) => B.value === c.time) || w.push({
582
- label: _e(c.time),
583
- value: c.time
578
+ return I.value && I.value.forEach((d) => {
579
+ w.find((B) => B.value === d.time) || w.push({
580
+ label: $e(d.time),
581
+ value: d.time
584
582
  });
585
583
  }), w;
586
584
  });
@@ -590,11 +588,11 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
590
588
  function Ke() {
591
589
  const w = gt("history", {
592
590
  removeNullishValues: !0
593
- }), c = parseInt(w.rid), B = w.d, O = parseInt(w.eid);
591
+ }), d = parseInt(w.rid), B = w.d, V = parseInt(w.eid);
594
592
  if (B)
595
593
  if (kt(B)) {
596
- const S = new Date(B), C = S.setHours(12, 0, 0, 0), h = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
597
- C >= h ? (Re.value = S, w.d = void 0) : fe({
594
+ const C = new Date(B), S = C.setHours(12, 0, 0, 0), h = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
595
+ S >= h ? (Re.value = C, w.d = void 0) : fe({
598
596
  message: n("alert.error.invalidDateRange"),
599
597
  type: "error"
600
598
  });
@@ -603,126 +601,118 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
603
601
  message: n("alert.error.wrongDateFormat"),
604
602
  type: "error"
605
603
  });
606
- isNaN(c) || (Ue(c) ? Me.value = c : fe({
604
+ isNaN(d) || (Ue(d) ? Me.value = d : fe({
607
605
  message: n("alert.error.hotelIdNotFound"),
608
606
  type: "error"
609
607
  }));
610
608
  let r;
611
- isNaN(O) || (r = O), ze(r);
609
+ isNaN(V) || (r = V), ze(r);
612
610
  }
613
- return (w, c) => (o(), _(ft, { styling: w.styling }, {
611
+ return (w, d) => (o(), $(ft, { styling: w.styling }, {
614
612
  default: m(() => [
615
- (o(), _(nt, { onResolve: Ke }, {
613
+ (o(), $(nt, { onResolve: Ke }, {
616
614
  default: m(() => [
617
- v(Dt, {
615
+ p(Dt, {
618
616
  id: "konnectio-event-module",
619
617
  "access-token": w.accessToken,
620
618
  callback: e(Ge)
621
619
  }, {
622
620
  default: m(() => [
623
- v(Et, {
621
+ p(Et, {
624
622
  steps: We.value,
625
623
  onReset: Je
626
624
  }, {
627
625
  availability: m(({ next: B }) => [
628
- v(De, null, {
626
+ p(De, null, {
629
627
  sidebar: m(() => [
630
- v(Mt, {
628
+ p(Mt, {
631
629
  redirection: !1,
632
630
  "selected-location": Number(w.selectedLocation)
633
631
  }, null, 8, ["selected-location"])
634
632
  ]),
635
633
  form: m(() => [
636
- e(ve) && e(pe) ? (o(), d("div", kn, [
637
- e(I).length > 0 && e(be).length > 0 ? (o(), d("h2", yn, [
638
- v(ne, {
634
+ e(ve) && e(pe) ? (o(), c("div", kn, [
635
+ e(F).length > 0 && e(be).length > 0 ? (o(), c("h2", yn, [
636
+ p(ne, {
639
637
  icon: "calendar-clock",
640
638
  type: "fal",
641
639
  color: "header"
642
640
  }),
643
641
  t("span", null, a(e(n)("event.availableNow")), 1)
644
- ])) : p("", !0),
645
- e($) && w.onlyShow !== "templates" ? (o(), d(F, { key: 1 }, [
646
- p("", !0),
647
- t("ul", hn, [
648
- (o(!0), d(F, null, H(e(I), ({
649
- id: O,
650
- days: r,
651
- name: S,
652
- timeFrom: C,
653
- timeTo: h,
654
- fromDate: T,
655
- toDate: G,
656
- tableGroupId: z,
657
- description: ee,
658
- soldOut: te,
659
- length: q,
660
- images: ge,
661
- maxOnlineReservationLimit: ke,
662
- maxPaxPerReservation: ye,
663
- useNumberOfProductsForPersons: he
664
- }) => (o(), _(Ae, {
665
- key: O,
666
- type: "event",
667
- "listing-id": O,
668
- "table-group-id": z,
669
- description: ee,
670
- name: S,
671
- length: q,
672
- gallery: ge,
673
- days: r,
674
- "from-date": T,
675
- "to-date": G,
676
- "max-online-reservation-limit": ye || ke,
677
- "time-from": C,
678
- "time-to": h,
679
- "sold-out": te,
680
- "use-number-of-products-for-persons": he,
681
- callback: B
682
- }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "callback"]))), 128))
683
- ])
684
- ], 64)) : p("", !0),
685
- e(N) && w.onlyShow !== "events" ? (o(), d(F, { key: 2 }, [
686
- p("", !0),
687
- t("ul", Dn, [
688
- (o(!0), d(F, null, H(e(P), ({
689
- id: O,
690
- name: r,
691
- fromDate: S,
692
- toDate: C,
693
- minimumPersonCount: h,
694
- fromPrice: T,
695
- description: G,
696
- imageUrl: z
697
- }) => (o(), _(tn, {
698
- key: O,
699
- "listing-id": O,
700
- name: r,
701
- image: z,
702
- description: G,
703
- "from-date": S,
704
- "to-date": C,
705
- "minimum-person-count": h,
706
- fromPrice: T,
707
- callback: B
708
- }, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
709
- ])
710
- ], 64)) : p("", !0),
711
- e(be).length > 0 && w.onlyShow !== "templates" ? (o(), d(F, { key: 3 }, [
712
- t("h2", Pn, [
713
- v(ne, {
642
+ ])) : f("", !0),
643
+ t("ul", hn, [
644
+ e(_) && w.onlyShow !== "templates" ? (o(!0), c(A, { key: 0 }, H(e(F), ({
645
+ id: V,
646
+ days: r,
647
+ name: C,
648
+ timeFrom: S,
649
+ timeTo: h,
650
+ fromDate: T,
651
+ toDate: G,
652
+ tableGroupId: z,
653
+ description: ee,
654
+ soldOut: te,
655
+ length: q,
656
+ images: ge,
657
+ maxOnlineReservationLimit: ke,
658
+ maxPaxPerReservation: ye,
659
+ useNumberOfProductsForPersons: he
660
+ }) => (o(), $(Ae, {
661
+ key: V,
662
+ type: "event",
663
+ "listing-id": V,
664
+ "table-group-id": z,
665
+ description: ee,
666
+ name: C,
667
+ length: q,
668
+ gallery: ge,
669
+ days: r,
670
+ "from-date": T,
671
+ "to-date": G,
672
+ "max-online-reservation-limit": ye || ke,
673
+ "time-from": S,
674
+ "time-to": h,
675
+ "sold-out": te,
676
+ "use-number-of-products-for-persons": he,
677
+ callback: B
678
+ }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "callback"]))), 128)) : f("", !0),
679
+ e(N) && w.onlyShow !== "events" ? (o(!0), c(A, { key: 1 }, H(e(P), ({
680
+ id: V,
681
+ name: r,
682
+ fromDate: C,
683
+ toDate: S,
684
+ minimumPersonCount: h,
685
+ fromPrice: T,
686
+ description: G,
687
+ imageUrl: z
688
+ }) => (o(), $(tn, {
689
+ key: V,
690
+ "listing-id": V,
691
+ name: r,
692
+ image: z,
693
+ description: G,
694
+ "from-date": C,
695
+ "to-date": S,
696
+ "minimum-person-count": h,
697
+ fromPrice: T,
698
+ callback: B
699
+ }, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128)) : f("", !0)
700
+ ]),
701
+ e(be).length > 0 && w.onlyShow !== "templates" ? (o(), c(A, { key: 1 }, [
702
+ t("h2", Dn, [
703
+ p(ne, {
714
704
  icon: "calendar-circle-exclamation",
715
705
  type: "fal",
716
706
  color: "header"
717
707
  }),
718
708
  t("span", null, a(e(n)("event.availableLater")), 1)
719
709
  ]),
720
- t("ul", _n, [
721
- (o(!0), d(F, null, H(e(be), ({
722
- id: O,
710
+ t("ul", Pn, [
711
+ (o(!0), c(A, null, H(e(be), ({
712
+ id: V,
723
713
  days: r,
724
- name: S,
725
- timeFrom: C,
714
+ name: C,
715
+ timeFrom: S,
726
716
  timeTo: h,
727
717
  fromDate: T,
728
718
  toDate: G,
@@ -734,112 +724,112 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
734
724
  maxOnlineReservationLimit: ke,
735
725
  maxPaxPerReservation: ye,
736
726
  useNumberOfProductsForPersons: he
737
- }) => (o(), _(en, {
738
- key: O,
727
+ }) => (o(), $(en, {
728
+ key: V,
739
729
  type: "event",
740
- "listing-id": O,
730
+ "listing-id": V,
741
731
  "table-group-id": z,
742
732
  description: ee,
743
- name: S,
733
+ name: C,
744
734
  length: q,
745
735
  gallery: ge,
746
736
  days: r,
747
737
  "from-date": T,
748
738
  "to-date": G,
749
739
  "max-online-reservation-limit": ye || ke,
750
- "time-from": C,
740
+ "time-from": S,
751
741
  "time-to": h,
752
742
  "sold-out": te,
753
743
  "use-number-of-products-for-persons": he,
754
744
  callback: B
755
745
  }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "callback"]))), 128))
756
746
  ])
757
- ], 64)) : p("", !0),
758
- !e($) && !e(N) || !e($) && w.onlyShow === "events" || !e(N) && w.onlyShow === "templates" ? (o(), d("div", {
759
- key: 4,
747
+ ], 64)) : f("", !0),
748
+ !e(_) && !e(N) || !e(_) && w.onlyShow === "events" || !e(N) && w.onlyShow === "templates" ? (o(), c("div", {
749
+ key: 2,
760
750
  class: "konnectio-panel",
761
751
  innerHTML: e(n)("event.nothingAvailable")
762
- }, null, 8, $n)) : p("", !0)
763
- ])) : (o(), _(Ie, { key: 1 }))
752
+ }, null, 8, $n)) : f("", !0)
753
+ ])) : (o(), $(Le, { key: 1 }))
764
754
  ]),
765
755
  _: 2
766
756
  }, 1024)
767
757
  ]),
768
- addons: m(({ next: B, prev: O }) => [
769
- e(oe) ? (o(), _(De, {
758
+ addons: m(({ next: B, prev: V }) => [
759
+ e(oe) ? (o(), $(De, {
770
760
  key: 0,
771
- "prev-callback": () => e(Ee)(O)
761
+ "prev-callback": () => e(Ee)(V)
772
762
  }, {
773
763
  form: m(() => [
774
- t("form", wn, [
764
+ t("form", _n, [
775
765
  t("h2", null, [
776
766
  t("span", null, a(e(n)("event.selectProducts")), 1)
777
767
  ]),
778
- e(L) && e(L).length > 0 ? (o(), d("ul", En, [
779
- (o(!0), d(F, null, H(e(L), ({
768
+ e(L) && e(L).length > 0 ? (o(), c("ul", wn, [
769
+ (o(!0), c(A, null, H(e(L), ({
780
770
  roomGroupId: r,
781
- addons: S,
782
- adultPerRoom: C
783
- }, h) => (o(), d("li", { key: r }, [
771
+ addons: C,
772
+ adultPerRoom: S
773
+ }, h) => (o(), c("li", { key: r }, [
784
774
  t("h5", null, [
785
775
  t("span", null, a(e(n)("booking.reservation.room")) + " #" + a(h + 1), 1),
786
- c[7] || (c[7] = de(" (")),
787
- v(ne, {
776
+ d[7] || (d[7] = de(" (")),
777
+ p(ne, {
788
778
  icon: "male",
789
779
  type: "fas",
790
780
  color: "header"
791
781
  }),
792
- de(" " + a(C) + ") ", 1)
782
+ de(" " + a(S) + ") ", 1)
793
783
  ]),
794
- t("table", Vn, [
784
+ t("table", En, [
795
785
  t("thead", null, [
796
786
  t("tr", null, [
797
787
  t("th", null, [
798
788
  t("span", null, a(e(n)("booking.reservation.addons")), 1)
799
789
  ]),
800
- c[8] || (c[8] = t("th", { class: "konnectio-event-addons-input" }, null, -1)),
790
+ d[8] || (d[8] = t("th", { class: "konnectio-event-addons-input" }, null, -1)),
801
791
  t("th", On, [
802
792
  t("span", null, a(e(n)("booking.availability.price")), 1)
803
793
  ])
804
794
  ])
805
795
  ]),
806
796
  t("tbody", null, [
807
- (o(!0), d(F, null, H(S, ({
797
+ (o(!0), c(A, null, H(C, ({
808
798
  id: T,
809
799
  cardinality: G,
810
800
  name: z,
811
801
  price: ee,
812
802
  quantityStrategy: te
813
- }) => (o(), d("tr", { key: T }, [
803
+ }) => (o(), c("tr", { key: T }, [
814
804
  t("td", null, [
815
805
  t("b", null, a(z), 1),
816
- c[9] || (c[9] = t("br", null, null, -1)),
806
+ d[9] || (d[9] = t("br", null, null, -1)),
817
807
  t("span", null, a(e(K)(ee, e(ie))) + " " + a(e(vt)(te)), 1)
818
808
  ]),
819
- t("td", Nn, [
820
- G === 3 ? (o(), _(ue, {
809
+ t("td", Vn, [
810
+ G === 3 ? (o(), $(ue, {
821
811
  key: 0,
822
- modelValue: e(b)[`${r}.${T}.${h}`],
823
- "onUpdate:modelValue": (q) => e(b)[`${r}.${T}.${h}`] = q,
812
+ modelValue: e(v)[`${r}.${T}.${h}`],
813
+ "onUpdate:modelValue": (q) => e(v)[`${r}.${T}.${h}`] = q,
824
814
  small: !0,
825
815
  "min-value": 0
826
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (o(), _(Lt, {
816
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (o(), $(It, {
827
817
  key: 1,
828
- modelValue: e(b)[`${r}.${T}.${h}`],
829
- "onUpdate:modelValue": (q) => e(b)[`${r}.${T}.${h}`] = q,
818
+ modelValue: e(v)[`${r}.${T}.${h}`],
819
+ "onUpdate:modelValue": (q) => e(v)[`${r}.${T}.${h}`] = q,
830
820
  numeric: !0
831
821
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
832
822
  ]),
833
- t("td", Tn, [
823
+ t("td", Nn, [
834
824
  t("span", null, a(e(K)(e(He)(T, r, h), e(ie))), 1)
835
825
  ])
836
826
  ]))), 128))
837
827
  ]),
838
828
  t("tfoot", null, [
839
829
  t("tr", null, [
840
- c[10] || (c[10] = t("td", null, null, -1)),
841
- c[11] || (c[11] = t("td", null, null, -1)),
842
- t("td", Bn, [
830
+ d[10] || (d[10] = t("td", null, null, -1)),
831
+ d[11] || (d[11] = t("td", null, null, -1)),
832
+ t("td", Tn, [
843
833
  t("u", null, [
844
834
  t("span", null, a(e(K)(e(Ye)(r, h), e(ie))), 1)
845
835
  ])
@@ -848,32 +838,32 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
848
838
  ])
849
839
  ])
850
840
  ]))), 128))
851
- ])) : p("", !0),
852
- e(Q) ? (o(), d("table", Sn, [
841
+ ])) : f("", !0),
842
+ e(Q) ? (o(), c("table", Bn, [
853
843
  t("tbody", null, [
854
- (o(!0), d(F, null, H(e(u).products, ({ id: r, name: S, price: C, description: h }) => (o(), d("tr", { key: r }, [
844
+ (o(!0), c(A, null, H(e(u).products, ({ id: r, name: C, price: S, description: h }) => (o(), c("tr", { key: r }, [
855
845
  t("td", Cn, [
856
846
  t("b", null, [
857
- t("span", null, a(e(Ve)(S)), 1)
847
+ t("span", null, a(e(Oe)(C)), 1)
858
848
  ]),
859
- h && h !== S ? (o(), d("span", Fn, a(e(Ve)(h)), 1)) : p("", !0),
860
- t("u", null, a(e(K)(C, e(ie))), 1)
849
+ h && h !== C ? (o(), c("span", Sn, a(e(Oe)(h)), 1)) : f("", !0),
850
+ t("u", null, a(e(K)(S, e(ie))), 1)
861
851
  ]),
862
- t("td", In, [
863
- v(ue, {
864
- modelValue: e(f)[r],
865
- "onUpdate:modelValue": (T) => e(f)[r] = T,
852
+ t("td", Fn, [
853
+ p(ue, {
854
+ modelValue: e(b)[r],
855
+ "onUpdate:modelValue": (T) => e(b)[r] = T,
866
856
  small: !0,
867
857
  "min-value": 0
868
858
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
869
859
  ])
870
860
  ]))), 128))
871
861
  ])
872
- ])) : p("", !0)
862
+ ])) : f("", !0)
873
863
  ])
874
864
  ]),
875
865
  navigation: m(() => [
876
- v(ce, {
866
+ p(ce, {
877
867
  label: e(n)("event.startReservation"),
878
868
  disabled: !e(se),
879
869
  "full-width": "",
@@ -881,31 +871,31 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
881
871
  }, null, 8, ["label", "disabled", "onClickEvent"])
882
872
  ]),
883
873
  _: 2
884
- }, 1032, ["prev-callback"])) : p("", !0)
874
+ }, 1032, ["prev-callback"])) : f("", !0)
885
875
  ]),
886
- reservation: m(({ next: B, prev: O }) => [
887
- v(De, {
876
+ reservation: m(({ next: B, prev: V }) => [
877
+ p(De, {
888
878
  "show-terms-notice": !0,
889
879
  "show-gift-card": !0,
890
- "prev-callback": () => e(Ee)(O)
880
+ "prev-callback": () => e(Ee)(V)
891
881
  }, {
892
882
  form: m(() => [
893
883
  t("form", Ln, [
894
884
  t("h2", null, [
895
885
  t("span", null, a(e(n)("booking.reservation.detailsTitle")), 1)
896
886
  ]),
897
- v(re, {
887
+ p(re, {
898
888
  modelValue: e(k),
899
- "onUpdate:modelValue": c[0] || (c[0] = (r) => M(k) ? k.value = r : null),
889
+ "onUpdate:modelValue": d[0] || (d[0] = (r) => M(k) ? k.value = r : null),
900
890
  type: "text",
901
891
  label: e(n)("booking.reservation.name"),
902
892
  icon: "user-alt",
903
893
  placeholder: e(n)("booking.reservation.namePlaceholder"),
904
894
  required: ""
905
895
  }, null, 8, ["modelValue", "label", "placeholder"]),
906
- v(re, {
896
+ p(re, {
907
897
  modelValue: e(y),
908
- "onUpdate:modelValue": c[1] || (c[1] = (r) => M(y) ? y.value = r : null),
898
+ "onUpdate:modelValue": d[1] || (d[1] = (r) => M(y) ? y.value = r : null),
909
899
  label: e(n)("booking.reservation.email"),
910
900
  type: "email",
911
901
  name: "email",
@@ -914,42 +904,42 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
914
904
  placeholder: e(n)("booking.reservation.emailPlaceholder"),
915
905
  required: ""
916
906
  }, null, 8, ["modelValue", "label", "placeholder"]),
917
- v(At, {
907
+ p(At, {
918
908
  modelValue: e(E),
919
- "onUpdate:modelValue": c[2] || (c[2] = (r) => M(E) ? E.value = r : null),
909
+ "onUpdate:modelValue": d[2] || (d[2] = (r) => M(E) ? E.value = r : null),
920
910
  label: e(n)("booking.reservation.phone"),
921
911
  icon: "phone-office",
922
912
  placeholder: e(n)("booking.reservation.phonePlaceholder"),
923
913
  required: ""
924
914
  }, null, 8, ["modelValue", "label", "placeholder"]),
925
- e(J) ? (o(), _(Vt, {
915
+ e(J) ? (o(), $(Ot, {
926
916
  key: 0,
927
917
  modelValue: e(D),
928
- "onUpdate:modelValue": c[3] || (c[3] = (r) => M(D) ? D.value = r : null),
918
+ "onUpdate:modelValue": d[3] || (d[3] = (r) => M(D) ? D.value = r : null),
929
919
  label: e(n)("event.selectArrivalTime"),
930
920
  name: "eventTimeTable",
931
921
  checkboxes: Qe.value,
932
922
  required: ""
933
- }, null, 8, ["modelValue", "label", "checkboxes"])) : p("", !0),
934
- e(me) === e(bt).FullDayEvent ? (o(), _(ue, {
923
+ }, null, 8, ["modelValue", "label", "checkboxes"])) : f("", !0),
924
+ e(me) === e(bt).FullDayEvent ? (o(), $(ue, {
935
925
  key: 1,
936
926
  modelValue: e(i),
937
- "onUpdate:modelValue": c[4] || (c[4] = (r) => M(i) ? i.value = r : null),
927
+ "onUpdate:modelValue": d[4] || (d[4] = (r) => M(i) ? i.value = r : null),
938
928
  label: e(n)("event.numberOfDays"),
939
929
  "min-value": 1,
940
930
  required: ""
941
- }, null, 8, ["modelValue", "label"])) : p("", !0),
942
- v(re, {
931
+ }, null, 8, ["modelValue", "label"])) : f("", !0),
932
+ p(re, {
943
933
  modelValue: e(s),
944
- "onUpdate:modelValue": c[5] || (c[5] = (r) => M(s) ? s.value = r : null),
934
+ "onUpdate:modelValue": d[5] || (d[5] = (r) => M(s) ? s.value = r : null),
945
935
  type: "textarea",
946
936
  label: `${e(n)("booking.reservation.remark")} (${e(n)("booking.reservation.optional")})`,
947
937
  icon: "info-circle",
948
938
  placeholder: e(n)("booking.reservation.remarkPlaceholder")
949
939
  }, null, 8, ["modelValue", "label", "placeholder"]),
950
- v(re, {
951
- modelValue: e(V),
952
- "onUpdate:modelValue": c[6] || (c[6] = (r) => M(V) ? V.value = r : null),
940
+ p(re, {
941
+ modelValue: e(O),
942
+ "onUpdate:modelValue": d[6] || (d[6] = (r) => M(O) ? O.value = r : null),
953
943
  type: "textarea",
954
944
  label: `${e(n)("booking.reservation.allergies")} (${e(n)("booking.reservation.optional")})`,
955
945
  icon: "allergies",
@@ -958,7 +948,7 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
958
948
  ])
959
949
  ]),
960
950
  navigation: m(() => [
961
- v(ce, {
951
+ p(ce, {
962
952
  label: e(n)("general.confirmReservation"),
963
953
  "is-loading": e(R),
964
954
  disabled: !e(le),
@@ -970,10 +960,10 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
970
960
  }, 1032, ["prev-callback"])
971
961
  ]),
972
962
  payment: m(() => [
973
- v(Rt)
963
+ p(Rt)
974
964
  ]),
975
965
  confirmation: m(() => [
976
- v(Ot, {
966
+ p(Vt, {
977
967
  message: e(n)("event.confirmationMessage")
978
968
  }, null, 8, ["message"])
979
969
  ]),
@@ -984,7 +974,7 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
984
974
  }, 8, ["access-token", "callback"])
985
975
  ]),
986
976
  fallback: m(() => [
987
- v(gn)
977
+ p(gn)
988
978
  ]),
989
979
  _: 1
990
980
  }))
@@ -992,8 +982,8 @@ const Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel
992
982
  _: 1
993
983
  }, 8, ["styling"]));
994
984
  }
995
- }), Ce = /* @__PURE__ */ x(An, [["__scopeId", "data-v-c3c580c9"]]), Rn = at(), Mn = it();
996
- class Un extends HTMLElement {
985
+ }), Se = /* @__PURE__ */ x(In, [["__scopeId", "data-v-ac75b987"]]), An = at(), Rn = it();
986
+ class Mn extends HTMLElement {
997
987
  vueApp;
998
988
  constructor() {
999
989
  super();
@@ -1002,14 +992,14 @@ class Un extends HTMLElement {
1002
992
  this.vueApp.unmount();
1003
993
  }
1004
994
  connectedCallback() {
1005
- const l = ot(Ce, this.attributes);
1006
- this.vueApp = lt(Ce, l), this.vueApp.provide("emitter", Mn), this.vueApp.use(st), this.vueApp.use(Rn), this.vueApp.use(Nt), this.vueApp.use(ht), this.vueApp.use(Tt), this.vueApp.use(yt, { bootstrap: !0 });
995
+ const l = ot(Se, this.attributes);
996
+ this.vueApp = lt(Se, l), this.vueApp.provide("emitter", Rn), this.vueApp.use(st), this.vueApp.use(An), this.vueApp.use(Nt), this.vueApp.use(ht), this.vueApp.use(Tt), this.vueApp.use(yt, { bootstrap: !0 });
1007
997
  const n = document.createElement("div");
1008
998
  this.vueApp.mount(n), this.appendChild(n.children[0]);
1009
999
  }
1010
1000
  }
1011
- window.customElements.define("konnectio-event", Un);
1001
+ window.customElements.define("konnectio-event", Mn);
1012
1002
  export {
1013
- Un as default
1003
+ Mn as default
1014
1004
  };
1015
1005
  //# sourceMappingURL=event.js.map