@konnectio/core 4.0.78 → 4.0.80

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 (70) hide show
  1. package/dist/{ActionField-D1AcDNUE.js → ActionField-CvQ0YUxr.js} +3 -3
  2. package/dist/ActionField-CvQ0YUxr.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-B0FWFnN6.js → AvailabilitySkeleton-BE4L1nd9.js} +8 -8
  4. package/dist/AvailabilitySkeleton-BE4L1nd9.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-JnSSHTkH.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CKFyiTSe.js} +450 -454
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CKFyiTSe.js.br +0 -0
  7. package/dist/{CheckoutWindow-Cws4xlFh.js → CheckoutWindow-DuKRLFkx.js} +4 -4
  8. package/dist/CheckoutWindow-DuKRLFkx.js.br +0 -0
  9. package/dist/{ErrorMessage-B6BIQrJ8.js → ErrorMessage-DdHNHm5r.js} +3 -3
  10. package/dist/ErrorMessage-DdHNHm5r.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-CTrHK6u8.js → EventAvailabilityForm-SfWnl0dH.js} +22 -22
  12. package/dist/EventAvailabilityForm-SfWnl0dH.js.br +0 -0
  13. package/dist/{Field-BryEWVA8.js → Field-7wRhrgF1.js} +3 -3
  14. package/dist/Field-7wRhrgF1.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-ZheDrC_U.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BzUYVcum.js} +3520 -3533
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BzUYVcum.js.br +0 -0
  17. package/dist/{TermsOfService-uJR7p5kw.js → TermsOfService-CGd1v8bv.js} +5 -5
  18. package/dist/TermsOfService-CGd1v8bv.js.br +0 -0
  19. package/dist/{_-BxNIkTdg.js → _-BdhU6Q-9.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-BWlknM8U.js → _.vue_vue_type_style_index_0_lang-fhGwRVNV.js} +3 -3
  21. package/dist/_.vue_vue_type_style_index_0_lang-fhGwRVNV.js.br +0 -0
  22. package/dist/{_commonjsHelpers-DQdlNp0G.js → _commonjsHelpers-B783nPtq.js} +2 -2
  23. package/dist/_commonjsHelpers-B783nPtq.js.br +0 -0
  24. package/dist/{_sentry-release-injection-file-DkG7UTOK.js → _sentry-release-injection-file-DuTrFXi9.js} +654 -654
  25. package/dist/_sentry-release-injection-file-DuTrFXi9.js.br +0 -0
  26. package/dist/availability.js +8 -8
  27. package/dist/availability.js.br +0 -0
  28. package/dist/deep-link.js +2 -2
  29. package/dist/deep-link.js.br +0 -0
  30. package/dist/event.js +285 -289
  31. package/dist/event.js.br +0 -0
  32. package/dist/gift-card-validation.js +10 -10
  33. package/dist/gift-card-validation.js.br +0 -0
  34. package/dist/gift-card.js +11 -11
  35. package/dist/gift-card.js.br +0 -0
  36. package/dist/{giftCard-wJFR36fs.js → giftCard-Cym4np9i.js} +12 -12
  37. package/dist/giftCard-Cym4np9i.js.br +0 -0
  38. package/dist/hotel.js +228 -227
  39. package/dist/hotel.js.br +0 -0
  40. package/dist/{masonry.plugin-u5HYEWAB.js → masonry.plugin-Dq7Bgo5Z.js} +41 -45
  41. package/dist/masonry.plugin-Dq7Bgo5Z.js.br +0 -0
  42. package/dist/{mitt-Cch9H-U-.js → mitt-D8TbGxgr.js} +440 -440
  43. package/dist/mitt-D8TbGxgr.js.br +0 -0
  44. package/dist/polyfill.js +102 -103
  45. package/dist/polyfill.js.br +0 -0
  46. package/dist/{sentry-CLKvKsmO.js → sentry-w--IXIuo.js} +3 -3
  47. package/dist/{style-Dg684HOi.js → style-D8yY0ZfC.js} +2 -2
  48. package/dist/style-D8yY0ZfC.js.br +0 -0
  49. package/dist/style.css +1 -1
  50. package/dist/style.css.br +0 -0
  51. package/dist/{tracing-BVguX61l.js → tracing-nJlxVqd0.js} +39 -39
  52. package/dist/tracing-nJlxVqd0.js.br +0 -0
  53. package/package.json +7 -7
  54. package/dist/ActionField-D1AcDNUE.js.br +0 -0
  55. package/dist/AvailabilitySkeleton-B0FWFnN6.js.br +0 -0
  56. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-JnSSHTkH.js.br +0 -0
  57. package/dist/CheckoutWindow-Cws4xlFh.js.br +0 -0
  58. package/dist/ErrorMessage-B6BIQrJ8.js.br +0 -0
  59. package/dist/EventAvailabilityForm-CTrHK6u8.js.br +0 -0
  60. package/dist/Field-BryEWVA8.js.br +0 -0
  61. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-ZheDrC_U.js.br +0 -0
  62. package/dist/TermsOfService-uJR7p5kw.js.br +0 -0
  63. package/dist/_.vue_vue_type_style_index_0_lang-BWlknM8U.js.br +0 -0
  64. package/dist/_commonjsHelpers-DQdlNp0G.js.br +0 -0
  65. package/dist/_sentry-release-injection-file-DkG7UTOK.js.br +0 -0
  66. package/dist/giftCard-wJFR36fs.js.br +0 -0
  67. package/dist/masonry.plugin-u5HYEWAB.js.br +0 -0
  68. package/dist/mitt-Cch9H-U-.js.br +0 -0
  69. package/dist/style-Dg684HOi.js.br +0 -0
  70. package/dist/tracing-BVguX61l.js.br +0 -0
package/dist/event.js CHANGED
@@ -1,17 +1,17 @@
1
- import { d as Y, r as We, c as J, a, b as P, w as m, l as ae, u as e, e as t, i as d, f as v, n as Je, g as u, t as o, m as Xe, q as Ze, s as G, F as R, v as M, S as xe, x as _e, p as et, j as tt, k as nt } from "./_sentry-release-injection-file-DkG7UTOK.js";
2
- import { u as se, s as q, c as ot, l as at, i as lt, m as st } from "./mitt-Cch9H-U-.js";
3
- import { c as it } from "./sentry-CLKvKsmO.js";
4
- import { a as Se, b as le, l as rt, s as U, c as be, B as ut, _ as ie, d as he, I as ge, e as dt, f as ke, g as j, u as Pe, h as ct, i as we, T as ne, O as mt, C as pt, j as vt, k as ft, m as bt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-ZheDrC_U.js";
5
- import { G as gt } from "./style-Dg684HOi.js";
6
- import { e as kt, c as ht, t as oe, g as $e, m as De, a as Ee, b as Ve, d as yt, f as Te, u as H } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-JnSSHTkH.js";
7
- import { _ as _t } from "./_.vue_vue_type_style_index_0_lang-BWlknM8U.js";
8
- import { B as Pt, _ as wt, R as $t, L as Ie, S as Dt, M as Et, C as Vt, T as Tt, V as Ot, a as St } from "./masonry.plugin-u5HYEWAB.js";
9
- import { C as It, P as Nt, a as Bt } from "./CheckoutWindow-Cws4xlFh.js";
10
- import { E as At } from "./EventAvailabilityForm-CTrHK6u8.js";
1
+ import { d as Y, r as We, c as J, a, b as P, w as c, l as ae, u as e, e as t, i as m, f as p, n as Je, g as u, t as o, m as Xe, q as Ze, F as C, s as G, v as R, S as xe, x as _e, p as et, j as tt, k as nt } from "./_sentry-release-injection-file-DuTrFXi9.js";
2
+ import { u as se, s as q, c as ot, l as at, i as lt, m as st } from "./mitt-D8TbGxgr.js";
3
+ import { c as it } from "./sentry-w--IXIuo.js";
4
+ import { a as Se, b as le, l as rt, s as M, c as be, B as ut, _ as ie, d as he, I as ge, e as dt, f as ke, g as j, u as Pe, h as ct, i as we, T as ne, O as mt, C as pt, j as vt, k as ft, m as bt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BzUYVcum.js";
5
+ import { G as gt } from "./style-D8yY0ZfC.js";
6
+ import { c as kt, t as oe, g as De, e as ht, m as Ee, a as Ve, b as $e, d as yt, f as Oe, u as H } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CKFyiTSe.js";
7
+ import { _ as _t } from "./_.vue_vue_type_style_index_0_lang-fhGwRVNV.js";
8
+ import { B as Pt, _ as wt, R as Dt, L as Ie, S as Et, M as Vt, C as $t, T as Ot, V as Tt, a as St } from "./masonry.plugin-Dq7Bgo5Z.js";
9
+ import { C as It, P as Nt, a as Bt } from "./CheckoutWindow-DuKRLFkx.js";
10
+ import { E as At } from "./EventAvailabilityForm-SfWnl0dH.js";
11
11
  (function() {
12
12
  try {
13
- var c = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
14
- n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "5d3c07fb-dfdc-4ee3-915a-0ab71d5eec9f", c._sentryDebugIdIdentifier = "sentry-dbid-5d3c07fb-dfdc-4ee3-915a-0ab71d5eec9f");
13
+ var d = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
14
+ n && (d._sentryDebugIds = d._sentryDebugIds || {}, d._sentryDebugIds[n] = "027b97c3-463c-4a2a-b24b-5c2e6454ed19", d._sentryDebugIdIdentifier = "sentry-dbid-027b97c3-463c-4a2a-b24b-5c2e6454ed19");
15
15
  } catch {
16
16
  }
17
17
  })();
@@ -23,42 +23,42 @@ import { E as At } from "./EventAvailabilityForm-CTrHK6u8.js";
23
23
  { "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
24
24
  );
25
25
  }
26
- function Ct(c) {
26
+ function Ct(d) {
27
27
  return (n) => {
28
- const f = (c ? Math[c] : Math.trunc)(n);
28
+ const i = Math[d], f = i(n);
29
29
  return f === 0 ? 0 : f;
30
30
  };
31
31
  }
32
- function Lt(c, n, i) {
33
- const f = yt(), g = i?.locale ?? f.locale ?? kt, r = ht(c, n);
32
+ function Lt(d, n, i) {
33
+ const b = yt().locale ?? ht, r = kt(d, n);
34
34
  if (isNaN(r))
35
35
  throw new RangeError("Invalid time value");
36
- const h = Object.assign({}, i, {
36
+ const g = Object.assign({}, i, {
37
37
  addSuffix: i?.addSuffix,
38
38
  comparison: r
39
39
  });
40
- let E, p;
41
- r > 0 ? (E = oe(n), p = oe(c)) : (E = oe(c), p = oe(n));
42
- const w = Ct(i?.roundingMethod ?? "round"), V = p.getTime() - E.getTime(), _ = V / Te, $ = $e(p) - $e(E), T = (V - $) / Te, B = i?.unit;
43
- let k;
44
- if (B ? k = B : _ < 1 ? k = "second" : _ < 60 ? k = "minute" : _ < De ? k = "hour" : T < Ee ? k = "day" : T < Ve ? k = "month" : k = "year", k === "second") {
45
- const l = w(V / 1e3);
46
- return g.formatDistance("xSeconds", l, h);
47
- } else if (k === "minute") {
40
+ let V, k;
41
+ r > 0 ? (V = oe(n), k = oe(d)) : (V = oe(d), k = oe(n));
42
+ const w = Ct("round"), $ = k.getTime() - V.getTime(), _ = $ / Oe, D = De(k) - De(V), O = ($ - D) / Oe, U = i?.unit;
43
+ let h;
44
+ if (_ < 1 ? h = "second" : _ < 60 ? h = "minute" : _ < Ee ? h = "hour" : O < Ve ? h = "day" : O < $e ? h = "month" : h = "year", h === "second") {
45
+ const l = w($ / 1e3);
46
+ return b.formatDistance("xSeconds", l, g);
47
+ } else if (h === "minute") {
48
48
  const l = w(_);
49
- return g.formatDistance("xMinutes", l, h);
50
- } else if (k === "hour") {
49
+ return b.formatDistance("xMinutes", l, g);
50
+ } else if (h === "hour") {
51
51
  const l = w(_ / 60);
52
- return g.formatDistance("xHours", l, h);
53
- } else if (k === "day") {
54
- const l = w(T / De);
55
- return g.formatDistance("xDays", l, h);
56
- } else if (k === "month") {
57
- const l = w(T / Ee);
58
- return l === 12 && B !== "month" ? g.formatDistance("xYears", 1, h) : g.formatDistance("xMonths", l, h);
52
+ return b.formatDistance("xHours", l, g);
53
+ } else if (h === "day") {
54
+ const l = w(O / Ee);
55
+ return b.formatDistance("xDays", l, g);
56
+ } else if (h === "month") {
57
+ const l = w(O / Ve);
58
+ return l === 12 && U !== "month" ? b.formatDistance("xYears", 1, g) : b.formatDistance("xMonths", l, g);
59
59
  } else {
60
- const l = w(T / Ve);
61
- return g.formatDistance("xYears", l, h);
60
+ const l = w(O / $e);
61
+ return b.formatDistance("xYears", l, g);
62
62
  }
63
63
  }
64
64
  const Ft = { class: "konnectio-event-listing-action-button" }, Rt = /* @__PURE__ */ Y({
@@ -84,37 +84,37 @@ const Ft = { class: "konnectio-event-listing-action-button" }, Rt = /* @__PURE__
84
84
  trackingEnabled: { type: Boolean },
85
85
  callback: {}
86
86
  },
87
- setup(c) {
88
- const { t: n } = se(), i = c, { display: f } = Se(), {
89
- maxNumberOfPeople: g,
87
+ setup(d) {
88
+ const { t: n } = se(), i = d, { display: f } = Se(), {
89
+ maxNumberOfPeople: b,
90
90
  numberOfPeople: r,
91
- eventId: h,
92
- currentEventDate: E,
93
- tableGroupId: p
91
+ eventId: g,
92
+ currentEventDate: V,
93
+ tableGroupId: k
94
94
  } = q(H()), {
95
95
  getTemplateAvailability: w,
96
- getEventAvailability: V,
96
+ getEventAvailability: $,
97
97
  isEventListingLoading: _
98
- } = H(), $ = We(0), T = J(() => _(i.listingId)), B = () => {
99
- if (!i.useNumberOfProductsForPersons && $.value === 0) {
98
+ } = H(), D = We(0), O = J(() => _(i.listingId)), U = () => {
99
+ if (!i.useNumberOfProductsForPersons && D.value === 0) {
100
100
  f({
101
101
  type: "error",
102
102
  message: n("alert.error.selectPeople")
103
103
  });
104
104
  return;
105
105
  }
106
- h.value = i.listingId, r.value = $.value, w(i.callback);
107
- }, k = () => {
108
- if (!i.useNumberOfProductsForPersons && $.value === 0) {
106
+ g.value = i.listingId, r.value = D.value, w(i.callback);
107
+ }, h = () => {
108
+ if (!i.useNumberOfProductsForPersons && D.value === 0) {
109
109
  f({
110
110
  type: "error",
111
111
  message: n("alert.error.selectPeople")
112
112
  });
113
113
  return;
114
114
  }
115
- h.value = i.listingId, p.value = i.tableGroupId, r.value = $.value, V(i.callback);
115
+ g.value = i.listingId, k.value = i.tableGroupId, r.value = D.value, $(i.callback);
116
116
  };
117
- return (l, A) => (a(), P(Pt, {
117
+ return (l, B) => (a(), P(Pt, {
118
118
  type: "event",
119
119
  "listing-id": l.listingId,
120
120
  gallery: l.gallery,
@@ -124,36 +124,36 @@ const Ft = { class: "konnectio-event-listing-action-button" }, Rt = /* @__PURE__
124
124
  "to-date": l.toDate,
125
125
  layout: e(ut).Event
126
126
  }, {
127
- description: m(() => [
128
- ae(l.$slots, "description", { maxNumberOfPeople: e(g) }, void 0, !0)
127
+ description: c(() => [
128
+ ae(l.$slots, "description", { maxNumberOfPeople: e(b) }, void 0, !0)
129
129
  ]),
130
- action: m(() => [
130
+ action: c(() => [
131
131
  t("div", {
132
132
  class: Je([
133
133
  "konnectio-event-listing-action",
134
134
  { "no-selectable-people": l.useNumberOfProductsForPersons }
135
135
  ])
136
136
  }, [
137
- l.useNumberOfProductsForPersons ? d("", !0) : (a(), P(le, {
137
+ l.useNumberOfProductsForPersons ? m("", !0) : (a(), P(le, {
138
138
  key: 0,
139
- modelValue: $.value,
140
- "onUpdate:modelValue": A[0] || (A[0] = (L) => $.value = L),
139
+ modelValue: D.value,
140
+ "onUpdate:modelValue": B[0] || (B[0] = (L) => D.value = L),
141
141
  label: e(n)("event.numberOfGuests"),
142
142
  icon: "users",
143
143
  "icon-type": "fas",
144
144
  "icon-placement": "label",
145
145
  description: l.maxGuests <= 20 ? `${e(n)("general.availableFor")}: 1 - ${l.maxGuests} ${e(rt)(e(n)("general.guests"))}` : void 0,
146
146
  "min-value": 0,
147
- "max-value": l.maxOnlineReservationLimit || l.maxGuests || e(g) || 1 / 0
147
+ "max-value": l.maxOnlineReservationLimit || l.maxGuests || e(b) || 1 / 0
148
148
  }, null, 8, ["modelValue", "label", "description", "max-value"])),
149
149
  t("div", Ft, [
150
- v(be, {
150
+ p(be, {
151
151
  label: l.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
152
152
  disabled: l.soldOut,
153
- "is-loading": T.value,
153
+ "is-loading": O.value,
154
154
  "full-width": "",
155
- "sub-label": e(U)(e(E)),
156
- onClickEvent: A[1] || (A[1] = (L) => l.type === "event" ? k() : B())
155
+ "sub-label": e(M)(e(V)),
156
+ onClickEvent: B[1] || (B[1] = (L) => l.type === "event" ? h() : U())
157
157
  }, null, 8, ["label", "disabled", "is-loading", "sub-label"])
158
158
  ])
159
159
  ], 2)
@@ -161,8 +161,8 @@ const Ft = { class: "konnectio-event-listing-action-button" }, Rt = /* @__PURE__
161
161
  _: 3
162
162
  }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
163
163
  }
164
- }), Ne = /* @__PURE__ */ ie(Rt, [["__scopeId", "data-v-ef9fea04"]]), Mt = { class: "konnectio-event-listing-information-new" };
165
- const Ut = {
164
+ }), Ne = /* @__PURE__ */ ie(Rt, [["__scopeId", "data-v-ef9fea04"]]), Ut = { class: "konnectio-event-listing-information-new" };
165
+ const Mt = {
166
166
  key: 1,
167
167
  class: "konnectio-pill-button"
168
168
  }, qt = { class: "konnectio-pill-button" }, zt = /* @__PURE__ */ Y({
@@ -187,15 +187,15 @@ const Ut = {
187
187
  trackingEnabled: { type: Boolean },
188
188
  callback: {}
189
189
  },
190
- setup(c) {
191
- const n = c, { t: i } = se(), { hideEventLength: f } = q(he()), g = J(() => {
190
+ setup(d) {
191
+ const n = d, { t: i } = se(), { hideEventLength: f } = q(he()), b = J(() => {
192
192
  const r = n.length.split(":");
193
193
  return Lt(
194
194
  new Date(2e3, 0, 1, Number(r[0]), Number(r[1]), 0),
195
195
  new Date(2e3, 0, 1, 0, 0, 0)
196
196
  );
197
197
  });
198
- return (r, h) => (a(), P(Ne, {
198
+ return (r, g) => (a(), P(Ne, {
199
199
  "listing-id": r.listingId,
200
200
  name: r.name,
201
201
  description: r.description,
@@ -208,26 +208,26 @@ const Ut = {
208
208
  type: "event",
209
209
  callback: r.callback
210
210
  }, {
211
- description: m(() => [
211
+ description: c(() => [
212
212
  r.description ? (a(), P(wt, {
213
213
  key: 0,
214
214
  text: r.description
215
- }, null, 8, ["text"])) : d("", !0),
216
- t("ul", Mt, [
217
- d("", !0),
218
- e(f) ? d("", !0) : (a(), u("li", Ut, [
215
+ }, null, 8, ["text"])) : m("", !0),
216
+ t("ul", Ut, [
217
+ m("", !0),
218
+ e(f) ? m("", !0) : (a(), u("li", Mt, [
219
219
  t("div", null, [
220
- v(ge, {
220
+ p(ge, {
221
221
  icon: "calendar-clock",
222
222
  color: "header"
223
223
  }),
224
224
  t("span", null, o(e(i)("event.lengthOfEvent")), 1)
225
225
  ]),
226
- t("span", null, o(g.value), 1)
226
+ t("span", null, o(b.value), 1)
227
227
  ])),
228
228
  t("li", qt, [
229
229
  t("div", null, [
230
- v(ge, {
230
+ p(ge, {
231
231
  icon: "calendar-clock",
232
232
  color: "header"
233
233
  }),
@@ -256,8 +256,8 @@ const Ut = {
256
256
  trackingEnabled: { type: Boolean },
257
257
  callback: {}
258
258
  },
259
- setup(c) {
260
- const n = c, i = J(() => {
259
+ setup(d) {
260
+ const n = d, i = J(() => {
261
261
  if (n.image)
262
262
  return [{
263
263
  large: n.image,
@@ -266,7 +266,7 @@ const Ut = {
266
266
  url: n.image
267
267
  }];
268
268
  });
269
- return (f, g) => (a(), P(Ne, {
269
+ return (f, b) => (a(), P(Ne, {
270
270
  "listing-id": f.listingId,
271
271
  gallery: i.value,
272
272
  name: f.name,
@@ -277,148 +277,144 @@ const Ut = {
277
277
  callback: f.callback
278
278
  }, null, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
279
279
  }
280
- }), Ht = { key: 0 }, Yt = { key: 1 }, Kt = { key: 2 }, Qt = { key: 3 }, Wt = { key: 4 }, Jt = { key: 5 }, Xt = { key: 6 }, Zt = { key: 7 }, xt = { key: 0 }, en = { key: 0 }, tn = { key: 1 }, nn = { key: 2 }, fe = /* @__PURE__ */ Y({
280
+ }), Ht = { key: 0 }, Yt = { key: 1 }, Kt = { key: 3 }, Qt = { key: 4 }, Wt = { key: 0 }, Jt = { key: 0 }, Xt = { key: 1 }, fe = /* @__PURE__ */ Y({
281
281
  __name: "EventReservationForm",
282
282
  props: {
283
283
  showGiftCard: { type: Boolean, default: !1 },
284
284
  showTermsNotice: { type: Boolean, default: !1 },
285
285
  prevCallback: {}
286
286
  },
287
- setup(c) {
287
+ setup(d) {
288
288
  const { t: n } = se(), i = Xe(), {
289
289
  areListingsAvailable: f,
290
- arrivalTime: g,
290
+ arrivalTime: b,
291
291
  numberOfPeople: r,
292
- numberOfRooms: h,
293
- numberOfTotalDays: E,
294
- isTemplateEvent: p,
292
+ numberOfRooms: g,
293
+ numberOfTotalDays: V,
294
+ isTemplateEvent: k,
295
295
  currentEventDate: w,
296
- length: V,
296
+ length: $,
297
297
  fromDate: _,
298
- tableBasePrice: $,
299
- getTemplateData: T,
300
- basePrice: B,
301
- totalPrice: k,
298
+ tableBasePrice: D,
299
+ getTemplateData: O,
300
+ basePrice: U,
301
+ totalPrice: h,
302
302
  weekendFee: l,
303
- roomUpgrade: A,
303
+ roomUpgrade: B,
304
304
  discountCode: L
305
305
  } = q(H()), { totalAddonPrice: ue, validateDiscountCode: de } = H(), { currency: X, hideEventLength: ce } = q(he());
306
- return (F, Z) => (a(), P($t, {
306
+ return (F, Z) => (a(), P(Dt, {
307
307
  "discount-code": e(L),
308
- "onUpdate:discountCode": Z[0] || (Z[0] = (z) => M(L) ? L.value = z : null),
308
+ "onUpdate:discountCode": Z[0] || (Z[0] = (z) => R(L) ? L.value = z : null),
309
309
  "validate-discount-code": e(de),
310
310
  "show-gift-card": F.showGiftCard,
311
311
  "show-terms-notice": F.showTermsNotice,
312
312
  "is-sidebar-loading": !e(f),
313
- "base-price": e(B),
314
- "total-price": e(k),
313
+ "base-price": e(U),
314
+ "total-price": e(h),
315
315
  "weekend-fee": e(l),
316
- "room-upgrade": e(A),
316
+ "room-upgrade": e(B),
317
317
  notice: e(n)("event.reservationNotice"),
318
318
  "prev-callback": F.prevCallback
319
319
  }, Ze({
320
- form: m(() => [
320
+ form: c(() => [
321
321
  ae(F.$slots, "form")
322
322
  ]),
323
- "reservation-summary": m(() => [
324
- e(p) ? (a(), u("li", Ht, [
325
- t("span", null, o(e(n)("booking.reservation.arrival")), 1),
326
- t("b", null, o(e(U)(e(_))), 1)
327
- ])) : d("", !0),
328
- e(p) ? (a(), u("li", Yt, [
329
- t("span", null, o(e(n)("booking.reservation.departure")), 1),
330
- t("b", null, o(e(U)(e(_), e(E))), 1)
331
- ])) : d("", !0),
332
- e(p) ? d("", !0) : (a(), u("li", Kt, [
323
+ "reservation-summary": c(() => [
324
+ e(k) ? m("", !0) : (a(), u("li", Ht, [
333
325
  t("span", null, o(e(n)("general.date")), 1),
334
- t("b", null, o(e(U)(e(w))), 1)
326
+ t("b", null, o(e(M)(e(w))), 1)
335
327
  ])),
336
- e(r) > 0 ? (a(), u("li", Qt, [
328
+ e(r) > 0 ? (a(), u("li", Yt, [
337
329
  t("span", null, o(e(n)("event.numberOfGuests")), 1),
338
330
  t("b", null, o(e(r)), 1)
339
- ])) : d("", !0),
340
- e(p) ? (a(), u("li", Wt, [
341
- t("span", null, o(e(n)("event.numberOfRooms")), 1),
342
- t("b", null, o(e(h)), 1)
343
- ])) : d("", !0),
344
- e(p) ? (a(), u("li", Jt, [
345
- t("span", null, o(e(n)("event.numberOfDays")), 1),
346
- t("b", null, o(e(E)), 1)
347
- ])) : d("", !0),
348
- !e(p) && e(g) ? (a(), u("li", Xt, [
331
+ ])) : m("", !0),
332
+ e(k) ? (a(), u(C, { key: 2 }, [
333
+ t("li", null, [
334
+ t("span", null, o(e(n)("booking.reservation.arrival")), 1),
335
+ t("b", null, o(e(M)(e(_))), 1)
336
+ ]),
337
+ t("li", null, [
338
+ t("span", null, o(e(n)("booking.reservation.departure")), 1),
339
+ t("b", null, o(e(M)(e(_), e(V))), 1)
340
+ ]),
341
+ t("li", null, [
342
+ t("span", null, o(e(n)("event.numberOfRooms")), 1),
343
+ t("b", null, o(e(g)), 1)
344
+ ]),
345
+ t("li", null, [
346
+ t("span", null, o(e(n)("event.numberOfDays")), 1),
347
+ t("b", null, o(e(V)), 1)
348
+ ])
349
+ ], 64)) : m("", !0),
350
+ !e(k) && e(b) ? (a(), u("li", Kt, [
349
351
  t("span", null, o(e(n)("event.startOfEvent")), 1),
350
- t("b", null, o(e(ke)(e(g))), 1)
351
- ])) : d("", !0),
352
- !e(p) && e(V) && !e(ce) ? (a(), u("li", Zt, [
352
+ t("b", null, o(e(ke)(e(b))), 1)
353
+ ])) : m("", !0),
354
+ !e(k) && e($) && !e(ce) ? (a(), u("li", Qt, [
353
355
  t("span", null, o(e(n)("event.lengthOfEvent")), 1),
354
- t("b", null, o(e(ke)(e(V))), 1)
355
- ])) : d("", !0)
356
+ t("b", null, o(e(ke)(e($))), 1)
357
+ ])) : m("", !0)
356
358
  ]),
357
- "price-summary": m(() => [
358
- !e(p) && e($) > 0 ? (a(), u("li", xt, [
359
+ "price-summary": c(() => [
360
+ !e(k) && e(D) > 0 ? (a(), u("li", Wt, [
359
361
  t("span", null, o(e(n)("booking.availability.basePrice")), 1),
360
- t("b", null, o(e(j)(e($), e(X))), 1)
361
- ])) : d("", !0),
362
- e(T) ? (a(!0), u(R, { key: 1 }, G(e(T), ({ roomGroupId: z }, x) => (a(), u("li", { key: z }, [
362
+ t("b", null, o(e(j)(e(D), e(X))), 1)
363
+ ])) : m("", !0),
364
+ e(O) ? (a(!0), u(C, { key: 1 }, G(e(O), ({ roomGroupId: z }, x) => (a(), u("li", { key: z }, [
363
365
  t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(x + 1), 1),
364
366
  t("b", null, o(e(j)(e(ue)(z, x), e(X))), 1)
365
- ]))), 128)) : d("", !0)
367
+ ]))), 128)) : m("", !0)
366
368
  ]),
367
- navigation: m(() => [
369
+ navigation: c(() => [
368
370
  ae(F.$slots, "navigation")
369
371
  ]),
370
- "mobile-under-price": m(() => [
371
- e(p) ? (a(), u("div", en, [
372
- t("span", null, o(e(n)("booking.reservation.arrival")), 1),
373
- t("b", null, o(e(U)(e(_))), 1)
374
- ])) : d("", !0),
375
- e(p) ? (a(), u("li", tn, [
376
- t("span", null, o(e(n)("booking.reservation.departure")), 1),
377
- t("b", null, o(e(U)(e(_), e(E))), 1)
378
- ])) : d("", !0),
379
- e(p) ? d("", !0) : (a(), u("div", nn, [
380
- t("span", null, o(e(U)(e(w))), 1)
372
+ "mobile-under-price": c(() => [
373
+ e(k) ? (a(), u("div", Jt, [
374
+ t("span", null, o(e(M)(e(_))) + " - " + o(e(M)(e(_), e(V))), 1)
375
+ ])) : (a(), u("div", Xt, [
376
+ t("span", null, o(e(M)(e(w))), 1)
381
377
  ]))
382
378
  ]),
383
379
  _: 2
384
380
  }, [
385
381
  e(i).sidebar ? {
386
382
  name: "sidebar",
387
- fn: m(() => [
383
+ fn: c(() => [
388
384
  ae(F.$slots, "sidebar")
389
385
  ]),
390
386
  key: "0"
391
387
  } : void 0
392
388
  ]), 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"]));
393
389
  }
394
- }), on = { class: "event-skeleton" }, an = { class: "event-skeleton-content" }, ln = { class: "event-skeleton-sidebar" }, sn = /* @__PURE__ */ Y({
390
+ }), Zt = { class: "event-skeleton" }, xt = { class: "event-skeleton-content" }, en = { class: "event-skeleton-sidebar" }, tn = /* @__PURE__ */ Y({
395
391
  __name: "EventSkeleton",
396
- setup(c) {
397
- return (n, i) => (a(), u("div", on, [
398
- t("div", an, [
399
- v(Ie)
392
+ setup(d) {
393
+ return (n, i) => (a(), u("div", Zt, [
394
+ t("div", xt, [
395
+ p(Ie)
400
396
  ]),
401
- t("div", ln, [
402
- d("", !0),
403
- v(Dt)
397
+ t("div", en, [
398
+ m("", !0),
399
+ p(Et)
404
400
  ])
405
401
  ]));
406
402
  }
407
- }), rn = /* @__PURE__ */ ie(sn, [["__scopeId", "data-v-3e15c4e3"]]), re = (c) => (et("data-v-9fc730cd"), c = c(), tt(), c), un = {
403
+ }), nn = /* @__PURE__ */ ie(tn, [["__scopeId", "data-v-3e15c4e3"]]), re = (d) => (et("data-v-8edf3535"), d = d(), tt(), d), on = {
408
404
  key: 0,
409
405
  id: "konnectio-event-listings-wrapper"
410
406
  };
411
- const dn = { class: "konnectio-event-listings" };
412
- const cn = { class: "konnectio-event-listings" }, mn = {
407
+ const an = { class: "konnectio-event-listings" };
408
+ const ln = { class: "konnectio-event-listings" }, sn = {
413
409
  key: 2,
414
410
  class: "konnectio-panel"
415
- }, pn = { class: "konnectio-panel" }, vn = {
411
+ }, rn = { class: "konnectio-panel" }, un = {
416
412
  key: 0,
417
413
  id: "konnectio-event-addons"
418
- }, fn = { class: "konnectio-table with-lines" }, bn = /* @__PURE__ */ re(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), gn = { class: "konnectio-event-addons-price" }, kn = /* @__PURE__ */ re(() => /* @__PURE__ */ t("br", null, null, -1)), hn = { class: "konnectio-event-addons-input" }, yn = { class: "konnectio-event-addons-price" }, _n = /* @__PURE__ */ re(() => /* @__PURE__ */ t("td", null, null, -1)), Pn = /* @__PURE__ */ re(() => /* @__PURE__ */ t("td", null, null, -1)), wn = { class: "konnectio-event-addons-price" }, $n = {
414
+ }, dn = { class: "konnectio-table with-lines" }, cn = /* @__PURE__ */ re(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), mn = { class: "konnectio-event-addons-price" }, pn = /* @__PURE__ */ re(() => /* @__PURE__ */ t("br", null, null, -1)), vn = { class: "konnectio-event-addons-input" }, fn = { class: "konnectio-event-addons-price" }, bn = /* @__PURE__ */ re(() => /* @__PURE__ */ t("td", null, null, -1)), gn = /* @__PURE__ */ re(() => /* @__PURE__ */ t("td", null, null, -1)), kn = { class: "konnectio-event-addons-price" }, hn = {
419
415
  key: 1,
420
416
  class: "konnectio-table with-lines"
421
- }, Dn = { class: "konnectio-table-addons-information" }, En = { key: 0 }, Vn = { class: "konnectio-table-addons-option" }, Tn = { class: "konnectio-panel" }, On = /* @__PURE__ */ Y({
417
+ }, yn = { class: "konnectio-table-addons-information" }, _n = { key: 0 }, Pn = { class: "konnectio-table-addons-option" }, wn = { class: "konnectio-panel" }, Dn = /* @__PURE__ */ Y({
422
418
  name: "EventLayout",
423
419
  __name: "Event",
424
420
  props: {
@@ -427,24 +423,24 @@ const cn = { class: "konnectio-event-listings" }, mn = {
427
423
  selectedLocation: {},
428
424
  styling: {}
429
425
  },
430
- setup(c) {
426
+ setup(d) {
431
427
  const { t: n } = se(), {
432
428
  addons: i,
433
429
  products: f,
434
- numberOfDays: g,
430
+ numberOfDays: b,
435
431
  name: r,
436
- phone: h,
437
- email: E,
438
- remark: p,
432
+ phone: g,
433
+ email: V,
434
+ remark: k,
439
435
  allergies: w,
440
- arrivalTime: V,
436
+ arrivalTime: $,
441
437
  hasEvents: _,
442
- hasTemplates: $,
443
- getEvents: T,
444
- getTemplates: B,
445
- getEventData: k,
438
+ hasTemplates: D,
439
+ getEvents: O,
440
+ getTemplates: U,
441
+ getEventData: h,
446
442
  getTemplateData: l,
447
- getEventTableData: A,
443
+ getEventTableData: B,
448
444
  hasProducts: L,
449
445
  eventRateType: ue,
450
446
  areListingsAvailable: de,
@@ -458,8 +454,8 @@ const cn = { class: "konnectio-event-listings" }, mn = {
458
454
  initialize: Le,
459
455
  fetchListings: Fe,
460
456
  createBooking: Re,
461
- localAddonPrice: Me,
462
- totalAddonPrice: Ue,
457
+ localAddonPrice: Ue,
458
+ totalAddonPrice: Me,
463
459
  reset: qe,
464
460
  goBack: ye
465
461
  } = H(), { display: me } = Se(), ze = J(() => [
@@ -470,7 +466,7 @@ const cn = { class: "konnectio-event-listings" }, mn = {
470
466
  },
471
467
  {
472
468
  id: "addons",
473
- label: n("booking.reservation.addons"),
469
+ label: n("general.addons"),
474
470
  icon: "shopping-cart",
475
471
  hidden: !1
476
472
  },
@@ -489,22 +485,22 @@ const cn = { class: "konnectio-event-listings" }, mn = {
489
485
  icon: "calendar-check"
490
486
  }
491
487
  ]), Ge = J(() => {
492
- const D = [];
493
- return A.value && A.value.forEach((b) => {
494
- D.push({
495
- label: ke(b.time),
496
- value: b.time
488
+ const E = [];
489
+ return B.value && B.value.forEach((v) => {
490
+ E.push({
491
+ label: ke(v.time),
492
+ value: v.time
497
493
  });
498
- }), D;
494
+ }), E;
499
495
  });
500
496
  function je() {
501
- const D = vt("history", {
497
+ const E = vt("history", {
502
498
  removeNullishValues: !0
503
- }), b = parseInt(D.rid), N = D.d, O = parseInt(D.eid);
499
+ }), v = parseInt(E.rid), N = E.d, T = parseInt(E.eid);
504
500
  if (N)
505
501
  if (ft(N)) {
506
- const I = new Date(N), C = I.setHours(12, 0, 0, 0), y = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
507
- C >= y ? (Be.value = I, D.d = void 0) : me({
502
+ const I = new Date(N), A = I.setHours(12, 0, 0, 0), y = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
503
+ A >= y ? (Be.value = I, E.d = void 0) : me({
508
504
  message: n("alert.error.invalidDateRange"),
509
505
  type: "error"
510
506
  });
@@ -513,45 +509,45 @@ const cn = { class: "konnectio-event-listings" }, mn = {
513
509
  message: n("alert.error.wrongDateFormat"),
514
510
  type: "error"
515
511
  });
516
- isNaN(b) || (Ce(b) ? Ae.value = b : me({
512
+ isNaN(v) || (Ce(v) ? Ae.value = v : me({
517
513
  message: n("alert.error.hotelIdNotFound"),
518
514
  type: "error"
519
515
  }));
520
516
  let s;
521
- isNaN(O) || (s = O), Fe(s);
517
+ isNaN(T) || (s = T), Fe(s);
522
518
  }
523
- return (D, b) => (a(), P(pt, { styling: D.styling }, {
524
- default: m(() => [
519
+ return (E, v) => (a(), P(pt, { styling: E.styling }, {
520
+ default: c(() => [
525
521
  (a(), P(xe, { onResolve: je }, {
526
- default: m(() => [
527
- v(_t, {
522
+ default: c(() => [
523
+ p(_t, {
528
524
  id: "konnectio-event-module",
529
- "access-token": D.accessToken,
525
+ "access-token": E.accessToken,
530
526
  callback: e(Le)
531
527
  }, {
532
- default: m(() => [
533
- v(Et, {
528
+ default: c(() => [
529
+ p(Vt, {
534
530
  steps: ze.value,
535
531
  onReset: e(qe)
536
532
  }, {
537
- availability: m(({ next: N }) => [
538
- v(fe, null, {
539
- sidebar: m(() => [
540
- v(At, {
533
+ availability: c(({ next: N }) => [
534
+ p(fe, null, {
535
+ sidebar: c(() => [
536
+ p(At, {
541
537
  redirection: !1,
542
- "selected-location": Number(D.selectedLocation)
538
+ "selected-location": Number(E.selectedLocation)
543
539
  }, null, 8, ["selected-location"])
544
540
  ]),
545
- form: m(() => [
546
- e(ce) && e(de) ? (a(), u("div", un, [
547
- e(_) && D.onlyShow !== "templates" ? (a(), u(R, { key: 0 }, [
548
- d("", !0),
549
- t("ul", dn, [
550
- (a(!0), u(R, null, G(e(T), ({
551
- id: O,
541
+ form: c(() => [
542
+ e(ce) && e(de) ? (a(), u("div", on, [
543
+ e(_) && E.onlyShow !== "templates" ? (a(), u(C, { key: 0 }, [
544
+ m("", !0),
545
+ t("ul", an, [
546
+ (a(!0), u(C, null, G(e(O), ({
547
+ id: T,
552
548
  days: s,
553
549
  name: I,
554
- timeFrom: C,
550
+ timeFrom: A,
555
551
  timeTo: y,
556
552
  fromDate: S,
557
553
  toDate: K,
@@ -564,9 +560,9 @@ const cn = { class: "konnectio-event-listings" }, mn = {
564
560
  maxPaxPerReservation: Ke,
565
561
  useNumberOfProductsForPersons: Qe
566
562
  }) => (a(), P(Gt, {
567
- key: O,
563
+ key: T,
568
564
  type: "event",
569
- "listing-id": O,
565
+ "listing-id": T,
570
566
  "table-group-id": Q,
571
567
  description: pe,
572
568
  name: I,
@@ -576,88 +572,88 @@ const cn = { class: "konnectio-event-listings" }, mn = {
576
572
  "from-date": S,
577
573
  "to-date": K,
578
574
  "max-online-reservation-limit": Ke || Ye,
579
- "time-from": C,
575
+ "time-from": A,
580
576
  "time-to": y,
581
577
  "sold-out": ve,
582
578
  "use-number-of-products-for-persons": Qe,
583
579
  callback: N
584
580
  }, 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))
585
581
  ])
586
- ], 64)) : d("", !0),
587
- e($) && D.onlyShow !== "events" ? (a(), u(R, { key: 1 }, [
588
- d("", !0),
589
- t("ul", cn, [
590
- (a(!0), u(R, null, G(e(B), ({
591
- id: O,
582
+ ], 64)) : m("", !0),
583
+ e(D) && E.onlyShow !== "events" ? (a(), u(C, { key: 1 }, [
584
+ m("", !0),
585
+ t("ul", ln, [
586
+ (a(!0), u(C, null, G(e(U), ({
587
+ id: T,
592
588
  name: s,
593
589
  fromDate: I,
594
- toDate: C,
590
+ toDate: A,
595
591
  minimumPersonCount: y,
596
592
  fromPrice: S,
597
593
  description: K,
598
594
  imageUrl: Q
599
595
  }) => (a(), P(jt, {
600
- key: O,
601
- "listing-id": O,
596
+ key: T,
597
+ "listing-id": T,
602
598
  name: s,
603
599
  image: Q,
604
600
  description: K,
605
601
  "from-date": I,
606
- "to-date": C,
602
+ "to-date": A,
607
603
  "minimum-person-count": y,
608
604
  fromPrice: S,
609
605
  callback: N
610
606
  }, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
611
607
  ])
612
- ], 64)) : d("", !0),
613
- !e(_) && !e($) || !e(_) && D.onlyShow === "events" || !e($) && D.onlyShow === "templates" ? (a(), u("div", mn, [
608
+ ], 64)) : m("", !0),
609
+ !e(_) && !e(D) || !e(_) && E.onlyShow === "events" || !e(D) && E.onlyShow === "templates" ? (a(), u("div", sn, [
614
610
  t("span", null, o(e(n)("event.nothingAvailable")), 1)
615
- ])) : d("", !0)
611
+ ])) : m("", !0)
616
612
  ])) : (a(), P(Ie, { key: 1 }))
617
613
  ]),
618
614
  _: 2
619
615
  }, 1024)
620
616
  ]),
621
- addons: m(({ next: N, prev: O }) => [
617
+ addons: c(({ next: N, prev: T }) => [
622
618
  e(X) ? (a(), P(fe, {
623
619
  key: 0,
624
- "prev-callback": () => e(ye)(O)
620
+ "prev-callback": () => e(ye)(T)
625
621
  }, {
626
- form: m(() => [
627
- t("form", pn, [
622
+ form: c(() => [
623
+ t("form", rn, [
628
624
  t("h2", null, [
629
625
  t("span", null, o(e(n)("event.selectProducts")), 1)
630
626
  ]),
631
- e(l) && e(l).length > 0 ? (a(), u("ul", vn, [
632
- (a(!0), u(R, null, G(e(l), ({
627
+ e(l) && e(l).length > 0 ? (a(), u("ul", un, [
628
+ (a(!0), u(C, null, G(e(l), ({
633
629
  roomGroupId: s,
634
630
  addons: I,
635
- adultPerRoom: C
631
+ adultPerRoom: A
636
632
  }, y) => (a(), u("li", { key: s }, [
637
633
  t("h5", null, [
638
634
  t("span", null, o(e(n)("booking.reservation.room")) + " #" + o(y + 1), 1),
639
635
  _e(" ("),
640
- v(ge, {
636
+ p(ge, {
641
637
  icon: "male",
642
638
  type: "fas",
643
639
  color: "header"
644
640
  }),
645
- _e(" " + o(C) + ") ", 1)
641
+ _e(" " + o(A) + ") ", 1)
646
642
  ]),
647
- t("table", fn, [
643
+ t("table", dn, [
648
644
  t("thead", null, [
649
645
  t("tr", null, [
650
646
  t("th", null, [
651
647
  t("span", null, o(e(n)("booking.reservation.addons")), 1)
652
648
  ]),
653
- bn,
654
- t("th", gn, [
649
+ cn,
650
+ t("th", mn, [
655
651
  t("span", null, o(e(n)("booking.availability.price")), 1)
656
652
  ])
657
653
  ])
658
654
  ]),
659
655
  t("tbody", null, [
660
- (a(!0), u(R, null, G(I, ({
656
+ (a(!0), u(C, null, G(I, ({
661
657
  id: S,
662
658
  cardinality: K,
663
659
  name: Q,
@@ -666,10 +662,10 @@ const cn = { class: "konnectio-event-listings" }, mn = {
666
662
  }) => (a(), u("tr", { key: S }, [
667
663
  t("td", null, [
668
664
  t("b", null, o(Q), 1),
669
- kn,
665
+ pn,
670
666
  t("span", null, o(e(j)(pe, e(ee))) + " " + o(e(ct)(ve)), 1)
671
667
  ]),
672
- t("td", hn, [
668
+ t("td", vn, [
673
669
  K === 3 ? (a(), P(le, {
674
670
  key: 0,
675
671
  modelValue: e(i)[`${s}.${S}.${y}`],
@@ -683,37 +679,37 @@ const cn = { class: "konnectio-event-listings" }, mn = {
683
679
  numeric: !0
684
680
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
685
681
  ]),
686
- t("td", yn, [
687
- t("span", null, o(e(j)(e(Me)(S, s, y), e(ee))), 1)
682
+ t("td", fn, [
683
+ t("span", null, o(e(j)(e(Ue)(S, s, y), e(ee))), 1)
688
684
  ])
689
685
  ]))), 128))
690
686
  ]),
691
687
  t("tfoot", null, [
692
688
  t("tr", null, [
693
- _n,
694
- Pn,
695
- t("td", wn, [
689
+ bn,
690
+ gn,
691
+ t("td", kn, [
696
692
  t("u", null, [
697
- t("span", null, o(e(j)(e(Ue)(s, y), e(ee))), 1)
693
+ t("span", null, o(e(j)(e(Me)(s, y), e(ee))), 1)
698
694
  ])
699
695
  ])
700
696
  ])
701
697
  ])
702
698
  ])
703
699
  ]))), 128))
704
- ])) : d("", !0),
705
- e(L) ? (a(), u("table", $n, [
700
+ ])) : m("", !0),
701
+ e(L) ? (a(), u("table", hn, [
706
702
  t("tbody", null, [
707
- (a(!0), u(R, null, G(e(k).products, ({ id: s, name: I, price: C, description: y }) => (a(), u("tr", { key: s }, [
708
- t("td", Dn, [
703
+ (a(!0), u(C, null, G(e(h).products, ({ id: s, name: I, price: A, description: y }) => (a(), u("tr", { key: s }, [
704
+ t("td", yn, [
709
705
  t("b", null, [
710
706
  t("span", null, o(e(we)(I)), 1)
711
707
  ]),
712
- y && y !== I ? (a(), u("span", En, o(e(we)(y)), 1)) : d("", !0),
713
- t("span", null, o(e(j)(C, e(ee))), 1)
708
+ y && y !== I ? (a(), u("span", _n, o(e(we)(y)), 1)) : m("", !0),
709
+ t("span", null, o(e(j)(A, e(ee))), 1)
714
710
  ]),
715
- t("td", Vn, [
716
- v(le, {
711
+ t("td", Pn, [
712
+ p(le, {
717
713
  modelValue: e(f)[s],
718
714
  "onUpdate:modelValue": (S) => e(f)[s] = S,
719
715
  small: !0,
@@ -722,11 +718,11 @@ const cn = { class: "konnectio-event-listings" }, mn = {
722
718
  ])
723
719
  ]))), 128))
724
720
  ])
725
- ])) : d("", !0)
721
+ ])) : m("", !0)
726
722
  ])
727
723
  ]),
728
- navigation: m(() => [
729
- v(be, {
724
+ navigation: c(() => [
725
+ p(be, {
730
726
  label: e(n)("event.startReservation"),
731
727
  disabled: !e(x),
732
728
  "full-width": "",
@@ -734,31 +730,31 @@ const cn = { class: "konnectio-event-listings" }, mn = {
734
730
  }, null, 8, ["label", "disabled", "onClickEvent"])
735
731
  ]),
736
732
  _: 2
737
- }, 1032, ["prev-callback"])) : d("", !0)
733
+ }, 1032, ["prev-callback"])) : m("", !0)
738
734
  ]),
739
- reservation: m(({ next: N, prev: O }) => [
740
- v(fe, {
735
+ reservation: c(({ next: N, prev: T }) => [
736
+ p(fe, {
741
737
  "show-terms-notice": !0,
742
738
  "show-gift-card": !0,
743
- "prev-callback": () => e(ye)(O)
739
+ "prev-callback": () => e(ye)(T)
744
740
  }, {
745
- form: m(() => [
746
- t("form", Tn, [
741
+ form: c(() => [
742
+ t("form", wn, [
747
743
  t("h2", null, [
748
744
  t("span", null, o(e(n)("booking.reservation.detailsTitle")), 1)
749
745
  ]),
750
- v(ne, {
746
+ p(ne, {
751
747
  modelValue: e(r),
752
- "onUpdate:modelValue": b[0] || (b[0] = (s) => M(r) ? r.value = s : null),
748
+ "onUpdate:modelValue": v[0] || (v[0] = (s) => R(r) ? r.value = s : null),
753
749
  type: "text",
754
750
  label: e(n)("booking.reservation.name"),
755
751
  icon: "user-alt",
756
752
  placeholder: e(n)("booking.reservation.namePlaceholder"),
757
753
  required: ""
758
754
  }, null, 8, ["modelValue", "label", "placeholder"]),
759
- v(ne, {
760
- modelValue: e(E),
761
- "onUpdate:modelValue": b[1] || (b[1] = (s) => M(E) ? E.value = s : null),
755
+ p(ne, {
756
+ modelValue: e(V),
757
+ "onUpdate:modelValue": v[1] || (v[1] = (s) => R(V) ? V.value = s : null),
762
758
  label: e(n)("booking.reservation.email"),
763
759
  type: "email",
764
760
  name: "email",
@@ -767,42 +763,42 @@ const cn = { class: "konnectio-event-listings" }, mn = {
767
763
  placeholder: e(n)("booking.reservation.emailPlaceholder"),
768
764
  required: ""
769
765
  }, null, 8, ["modelValue", "label", "placeholder"]),
770
- v(Nt, {
771
- modelValue: e(h),
772
- "onUpdate:modelValue": b[2] || (b[2] = (s) => M(h) ? h.value = s : null),
766
+ p(Nt, {
767
+ modelValue: e(g),
768
+ "onUpdate:modelValue": v[2] || (v[2] = (s) => R(g) ? g.value = s : null),
773
769
  label: e(n)("booking.reservation.phone"),
774
770
  icon: "phone-office",
775
771
  placeholder: e(n)("booking.reservation.phonePlaceholder"),
776
772
  required: ""
777
773
  }, null, 8, ["modelValue", "label", "placeholder"]),
778
- e(z) ? (a(), P(Vt, {
774
+ e(z) ? (a(), P($t, {
779
775
  key: 0,
780
- modelValue: e(V),
781
- "onUpdate:modelValue": b[3] || (b[3] = (s) => M(V) ? V.value = s : null),
776
+ modelValue: e($),
777
+ "onUpdate:modelValue": v[3] || (v[3] = (s) => R($) ? $.value = s : null),
782
778
  label: e(n)("event.selectArrivalTime"),
783
779
  name: "eventTimeTable",
784
780
  checkboxes: Ge.value,
785
781
  required: ""
786
- }, null, 8, ["modelValue", "label", "checkboxes"])) : d("", !0),
782
+ }, null, 8, ["modelValue", "label", "checkboxes"])) : m("", !0),
787
783
  e(ue) === e(mt).FullDayEvent ? (a(), P(le, {
788
784
  key: 1,
789
- modelValue: e(g),
790
- "onUpdate:modelValue": b[4] || (b[4] = (s) => M(g) ? g.value = s : null),
785
+ modelValue: e(b),
786
+ "onUpdate:modelValue": v[4] || (v[4] = (s) => R(b) ? b.value = s : null),
791
787
  label: e(n)("event.numberOfDays"),
792
788
  "min-value": 1,
793
789
  required: ""
794
- }, null, 8, ["modelValue", "label"])) : d("", !0),
795
- v(ne, {
796
- modelValue: e(p),
797
- "onUpdate:modelValue": b[5] || (b[5] = (s) => M(p) ? p.value = s : null),
790
+ }, null, 8, ["modelValue", "label"])) : m("", !0),
791
+ p(ne, {
792
+ modelValue: e(k),
793
+ "onUpdate:modelValue": v[5] || (v[5] = (s) => R(k) ? k.value = s : null),
798
794
  type: "textarea",
799
795
  label: `${e(n)("booking.reservation.remark")} (${e(n)("booking.reservation.optional")})`,
800
796
  icon: "info-circle",
801
797
  placeholder: e(n)("booking.reservation.remarkPlaceholder")
802
798
  }, null, 8, ["modelValue", "label", "placeholder"]),
803
- v(ne, {
799
+ p(ne, {
804
800
  modelValue: e(w),
805
- "onUpdate:modelValue": b[6] || (b[6] = (s) => M(w) ? w.value = s : null),
801
+ "onUpdate:modelValue": v[6] || (v[6] = (s) => R(w) ? w.value = s : null),
806
802
  type: "textarea",
807
803
  label: `${e(n)("booking.reservation.allergies")} (${e(n)("booking.reservation.optional")})`,
808
804
  icon: "allergies",
@@ -810,8 +806,8 @@ const cn = { class: "konnectio-event-listings" }, mn = {
810
806
  }, null, 8, ["modelValue", "label", "placeholder"])
811
807
  ])
812
808
  ]),
813
- navigation: m(() => [
814
- v(be, {
809
+ navigation: c(() => [
810
+ p(be, {
815
811
  label: e(n)("general.confirmReservation"),
816
812
  "is-loading": e(F),
817
813
  disabled: !e(Z),
@@ -822,11 +818,11 @@ const cn = { class: "konnectio-event-listings" }, mn = {
822
818
  _: 2
823
819
  }, 1032, ["prev-callback"])
824
820
  ]),
825
- payment: m(() => [
826
- v(Bt)
821
+ payment: c(() => [
822
+ p(Bt)
827
823
  ]),
828
- confirmation: m(() => [
829
- v(Tt, {
824
+ confirmation: c(() => [
825
+ p(Ot, {
830
826
  message: e(n)("event.confirmationMessage")
831
827
  }, null, 8, ["message"])
832
828
  ]),
@@ -836,8 +832,8 @@ const cn = { class: "konnectio-event-listings" }, mn = {
836
832
  _: 1
837
833
  }, 8, ["access-token", "callback"])
838
834
  ]),
839
- fallback: m(() => [
840
- v(rn)
835
+ fallback: c(() => [
836
+ p(nn)
841
837
  ]),
842
838
  _: 1
843
839
  }))
@@ -845,8 +841,8 @@ const cn = { class: "konnectio-event-listings" }, mn = {
845
841
  _: 1
846
842
  }, 8, ["styling"]));
847
843
  }
848
- }), Oe = /* @__PURE__ */ ie(On, [["__scopeId", "data-v-9fc730cd"]]), Sn = ot(), In = st();
849
- class Nn extends HTMLElement {
844
+ }), Te = /* @__PURE__ */ ie(Dn, [["__scopeId", "data-v-8edf3535"]]), En = ot(), Vn = st();
845
+ class $n extends HTMLElement {
850
846
  vueApp;
851
847
  constructor() {
852
848
  super();
@@ -855,14 +851,14 @@ class Nn extends HTMLElement {
855
851
  this.vueApp.unmount();
856
852
  }
857
853
  connectedCallback() {
858
- const n = at(Oe, this.attributes);
859
- this.vueApp = nt(Oe, n), it(this.vueApp), this.vueApp.provide("emitter", In), this.vueApp.use(lt), this.vueApp.use(Sn), this.vueApp.use(Ot), this.vueApp.use(gt), this.vueApp.use(St), this.vueApp.use(bt, { bootstrap: !0 });
854
+ const n = at(Te, this.attributes);
855
+ this.vueApp = nt(Te, n), it(this.vueApp), this.vueApp.provide("emitter", Vn), this.vueApp.use(lt), this.vueApp.use(En), this.vueApp.use(Tt), this.vueApp.use(gt), this.vueApp.use(St), this.vueApp.use(bt, { bootstrap: !0 });
860
856
  const i = document.createElement("div");
861
857
  this.vueApp.mount(i), this.appendChild(i.children[0]);
862
858
  }
863
859
  }
864
- window.customElements.define("konnectio-event", Nn);
860
+ window.customElements.define("konnectio-event", $n);
865
861
  export {
866
- Nn as default
862
+ $n as default
867
863
  };
868
864
  //# sourceMappingURL=event.js.map