@konnectio/core 4.0.71 → 4.0.72

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