@konnectio/core 4.0.78 → 4.0.79

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 (67) hide show
  1. package/dist/{ActionField-D1AcDNUE.js → ActionField-BxsfN3m3.js} +3 -3
  2. package/dist/ActionField-BxsfN3m3.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-B0FWFnN6.js → AvailabilitySkeleton-zKa2gP2l.js} +6 -6
  4. package/dist/AvailabilitySkeleton-zKa2gP2l.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_17762b9b_lang-8Jsgq-zd.js} +12 -12
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-8Jsgq-zd.js.br +0 -0
  7. package/dist/{CheckoutWindow-Cws4xlFh.js → CheckoutWindow-Cxqsa0Y7.js} +4 -4
  8. package/dist/CheckoutWindow-Cxqsa0Y7.js.br +0 -0
  9. package/dist/{ErrorMessage-B6BIQrJ8.js → ErrorMessage-BkEVeYjJ.js} +3 -3
  10. package/dist/ErrorMessage-BkEVeYjJ.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-CTrHK6u8.js → EventAvailabilityForm-C0bAjzem.js} +5 -5
  12. package/dist/EventAvailabilityForm-C0bAjzem.js.br +0 -0
  13. package/dist/{Field-BryEWVA8.js → Field-DRNnN5iQ.js} +3 -3
  14. package/dist/Field-DRNnN5iQ.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-bDUzTFlG.js} +15 -15
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-bDUzTFlG.js.br +0 -0
  17. package/dist/{TermsOfService-uJR7p5kw.js → TermsOfService-B9J_dCWC.js} +5 -5
  18. package/dist/TermsOfService-B9J_dCWC.js.br +0 -0
  19. package/dist/{_-BxNIkTdg.js → _-CwfDey89.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-BWlknM8U.js → _.vue_vue_type_style_index_0_lang-CznuOQGN.js} +3 -3
  21. package/dist/_.vue_vue_type_style_index_0_lang-CznuOQGN.js.br +0 -0
  22. package/dist/{_commonjsHelpers-DQdlNp0G.js → _commonjsHelpers-BRsHMJes.js} +2 -2
  23. package/dist/_commonjsHelpers-BRsHMJes.js.br +0 -0
  24. package/dist/{_sentry-release-injection-file-DkG7UTOK.js → _sentry-release-injection-file-BE1hINUq.js} +3 -3
  25. package/dist/_sentry-release-injection-file-BE1hINUq.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 +311 -315
  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-BkTcitpm.js} +12 -12
  37. package/dist/giftCard-BkTcitpm.js.br +0 -0
  38. package/dist/hotel.js +14 -14
  39. package/dist/hotel.js.br +0 -0
  40. package/dist/{masonry.plugin-u5HYEWAB.js → masonry.plugin-hjq7KkQz.js} +8 -8
  41. package/dist/masonry.plugin-hjq7KkQz.js.br +0 -0
  42. package/dist/{mitt-Cch9H-U-.js → mitt-B6gLpXoo.js} +2 -2
  43. package/dist/mitt-B6gLpXoo.js.br +0 -0
  44. package/dist/polyfill.js +5 -5
  45. package/dist/polyfill.js.br +0 -0
  46. package/dist/{sentry-CLKvKsmO.js → sentry-D0iIPSOj.js} +2 -2
  47. package/dist/{style-Dg684HOi.js → style-Bn_aipu4.js} +2 -2
  48. package/dist/style-Bn_aipu4.js.br +0 -0
  49. package/dist/style.css +1 -1
  50. package/dist/style.css.br +0 -0
  51. package/package.json +3 -3
  52. package/dist/ActionField-D1AcDNUE.js.br +0 -0
  53. package/dist/AvailabilitySkeleton-B0FWFnN6.js.br +0 -0
  54. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-JnSSHTkH.js.br +0 -0
  55. package/dist/CheckoutWindow-Cws4xlFh.js.br +0 -0
  56. package/dist/ErrorMessage-B6BIQrJ8.js.br +0 -0
  57. package/dist/EventAvailabilityForm-CTrHK6u8.js.br +0 -0
  58. package/dist/Field-BryEWVA8.js.br +0 -0
  59. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-ZheDrC_U.js.br +0 -0
  60. package/dist/TermsOfService-uJR7p5kw.js.br +0 -0
  61. package/dist/_.vue_vue_type_style_index_0_lang-BWlknM8U.js.br +0 -0
  62. package/dist/_commonjsHelpers-DQdlNp0G.js.br +0 -0
  63. package/dist/_sentry-release-injection-file-DkG7UTOK.js.br +0 -0
  64. package/dist/giftCard-wJFR36fs.js.br +0 -0
  65. package/dist/masonry.plugin-u5HYEWAB.js.br +0 -0
  66. package/dist/mitt-Cch9H-U-.js.br +0 -0
  67. package/dist/style-Dg684HOi.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 as o, b as P, w as c, l as oe, u as e, e as t, i as m, f as p, n as Je, g as u, t as a, m as Xe, q as Ze, F as L, s as G, v as M, S as xe, x as _e, p as et, j as tt, k as nt } from "./_sentry-release-injection-file-BE1hINUq.js";
2
+ import { u as se, s as q, c as at, l as ot, i as lt, m as st } from "./mitt-B6gLpXoo.js";
3
+ import { c as it } from "./sentry-D0iIPSOj.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-bDUzTFlG.js";
5
+ import { G as gt } from "./style-Bn_aipu4.js";
6
+ import { e as kt, c as ht, t as ae, g as De, m as Ee, a as Ve, b as $e, d as yt, f as Te, u as H } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-8Jsgq-zd.js";
7
+ import { _ as _t } from "./_.vue_vue_type_style_index_0_lang-CznuOQGN.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 Tt, V as Ot, a as St } from "./masonry.plugin-hjq7KkQz.js";
9
+ import { C as It, P as Nt, a as Bt } from "./CheckoutWindow-Cxqsa0Y7.js";
10
+ import { E as At } from "./EventAvailabilityForm-C0bAjzem.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] = "7f21d8d8-7ae9-43e3-8a39-8280d5729724", d._sentryDebugIdIdentifier = "sentry-dbid-7f21d8d8-7ae9-43e3-8a39-8280d5729724");
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);
29
- return f === 0 ? 0 : f;
28
+ const v = (d ? Math[d] : Math.trunc)(n);
29
+ return v === 0 ? 0 : v;
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 v = yt(), b = i?.locale ?? v.locale ?? kt, r = ht(d, n);
34
34
  if (isNaN(r))
35
35
  throw new RangeError("Invalid time value");
36
- const h = Object.assign({}, i, {
36
+ const k = 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, h;
41
+ r > 0 ? (V = ae(n), h = ae(d)) : (V = ae(d), h = ae(n));
42
+ const w = Ct(i?.roundingMethod ?? "round"), $ = h.getTime() - V.getTime(), _ = $ / Te, D = De(h) - De(V), T = ($ - D) / Te, B = i?.unit;
43
+ let g;
44
+ if (B ? g = B : _ < 1 ? g = "second" : _ < 60 ? g = "minute" : _ < Ee ? g = "hour" : T < Ve ? g = "day" : T < $e ? g = "month" : g = "year", g === "second") {
45
+ const l = w($ / 1e3);
46
+ return b.formatDistance("xSeconds", l, k);
47
+ } else if (g === "minute") {
48
48
  const l = w(_);
49
- return g.formatDistance("xMinutes", l, h);
50
- } else if (k === "hour") {
49
+ return b.formatDistance("xMinutes", l, k);
50
+ } else if (g === "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") {
52
+ return b.formatDistance("xHours", l, k);
53
+ } else if (g === "day") {
57
54
  const l = w(T / Ee);
58
- return l === 12 && B !== "month" ? g.formatDistance("xYears", 1, h) : g.formatDistance("xMonths", l, h);
59
- } else {
55
+ return b.formatDistance("xDays", l, k);
56
+ } else if (g === "month") {
60
57
  const l = w(T / Ve);
61
- return g.formatDistance("xYears", l, h);
58
+ return l === 12 && B !== "month" ? b.formatDistance("xYears", 1, k) : b.formatDistance("xMonths", l, k);
59
+ } else {
60
+ const l = w(T / $e);
61
+ return b.formatDistance("xYears", l, k);
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: v } = Se(), {
89
+ maxNumberOfPeople: b,
90
90
  numberOfPeople: r,
91
- eventId: h,
92
- currentEventDate: E,
93
- tableGroupId: p
91
+ eventId: k,
92
+ currentEventDate: V,
93
+ tableGroupId: h
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) {
100
- f({
98
+ } = H(), D = We(0), T = J(() => _(i.listingId)), B = () => {
99
+ if (!i.useNumberOfProductsForPersons && D.value === 0) {
100
+ v({
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) {
109
- f({
106
+ k.value = i.listingId, r.value = D.value, w(i.callback);
107
+ }, g = () => {
108
+ if (!i.useNumberOfProductsForPersons && D.value === 0) {
109
+ v({
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
+ k.value = i.listingId, h.value = i.tableGroupId, r.value = D.value, $(i.callback);
116
116
  };
117
- return (l, A) => (a(), P(Pt, {
117
+ return (l, A) => (o(), 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
+ oe(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) : (o(), 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": A[0] || (A[0] = (F) => D.value = F),
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
153
  "is-loading": T.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(U)(e(V)),
156
+ onClickEvent: A[1] || (A[1] = (F) => l.type === "event" ? g() : B())
157
157
  }, null, 8, ["label", "disabled", "is-loading", "sub-label"])
158
158
  ])
159
159
  ], 2)
@@ -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: v } = 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, k) => (o(), P(Ne, {
199
199
  "listing-id": r.listingId,
200
200
  name: r.name,
201
201
  description: r.description,
@@ -208,32 +208,32 @@ const Ut = {
208
208
  type: "event",
209
209
  callback: r.callback
210
210
  }, {
211
- description: m(() => [
212
- r.description ? (a(), P(wt, {
211
+ description: c(() => [
212
+ r.description ? (o(), P(wt, {
213
213
  key: 0,
214
214
  text: r.description
215
- }, null, 8, ["text"])) : d("", !0),
215
+ }, null, 8, ["text"])) : m("", !0),
216
216
  t("ul", Mt, [
217
- d("", !0),
218
- e(f) ? d("", !0) : (a(), u("li", Ut, [
217
+ m("", !0),
218
+ e(v) ? m("", !0) : (o(), u("li", Ut, [
219
219
  t("div", null, [
220
- v(ge, {
220
+ p(ge, {
221
221
  icon: "calendar-clock",
222
222
  color: "header"
223
223
  }),
224
- t("span", null, o(e(i)("event.lengthOfEvent")), 1)
224
+ t("span", null, a(e(i)("event.lengthOfEvent")), 1)
225
225
  ]),
226
- t("span", null, o(g.value), 1)
226
+ t("span", null, a(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
  }),
234
- t("span", null, o(e(i)("event.startAndEndTime")), 1)
234
+ t("span", null, a(e(i)("event.startAndEndTime")), 1)
235
235
  ]),
236
- t("span", null, o(e(dt)(r.timeFrom, r.timeTo)), 1)
236
+ t("span", null, a(e(dt)(r.timeFrom, r.timeTo)), 1)
237
237
  ])
238
238
  ])
239
239
  ]),
@@ -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,159 +266,155 @@ const Ut = {
266
266
  url: n.image
267
267
  }];
268
268
  });
269
- return (f, g) => (a(), P(Ne, {
270
- "listing-id": f.listingId,
269
+ return (v, b) => (o(), P(Ne, {
270
+ "listing-id": v.listingId,
271
271
  gallery: i.value,
272
- name: f.name,
273
- description: f.description,
274
- "prices-from": f.fromPrice,
275
- "to-date": f.toDate,
272
+ name: v.name,
273
+ description: v.description,
274
+ "prices-from": v.fromPrice,
275
+ "to-date": v.toDate,
276
276
  type: "template",
277
- callback: f.callback
277
+ callback: v.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
- areListingsAvailable: f,
290
- arrivalTime: g,
289
+ areListingsAvailable: v,
290
+ arrivalTime: b,
291
291
  numberOfPeople: r,
292
- numberOfRooms: h,
293
- numberOfTotalDays: E,
294
- isTemplateEvent: p,
292
+ numberOfRooms: k,
293
+ numberOfTotalDays: V,
294
+ isTemplateEvent: h,
295
295
  currentEventDate: w,
296
- length: V,
296
+ length: $,
297
297
  fromDate: _,
298
- tableBasePrice: $,
298
+ tableBasePrice: D,
299
299
  getTemplateData: T,
300
300
  basePrice: B,
301
- totalPrice: k,
301
+ totalPrice: g,
302
302
  weekendFee: l,
303
303
  roomUpgrade: A,
304
- discountCode: L
304
+ discountCode: F
305
305
  } = q(H()), { totalAddonPrice: ue, validateDiscountCode: de } = H(), { currency: X, hideEventLength: ce } = q(he());
306
- return (F, Z) => (a(), P($t, {
307
- "discount-code": e(L),
308
- "onUpdate:discountCode": Z[0] || (Z[0] = (z) => M(L) ? L.value = z : null),
306
+ return (R, Z) => (o(), P(Dt, {
307
+ "discount-code": e(F),
308
+ "onUpdate:discountCode": Z[0] || (Z[0] = (z) => M(F) ? F.value = z : null),
309
309
  "validate-discount-code": e(de),
310
- "show-gift-card": F.showGiftCard,
311
- "show-terms-notice": F.showTermsNotice,
312
- "is-sidebar-loading": !e(f),
310
+ "show-gift-card": R.showGiftCard,
311
+ "show-terms-notice": R.showTermsNotice,
312
+ "is-sidebar-loading": !e(v),
313
313
  "base-price": e(B),
314
- "total-price": e(k),
314
+ "total-price": e(g),
315
315
  "weekend-fee": e(l),
316
316
  "room-upgrade": e(A),
317
317
  notice: e(n)("event.reservationNotice"),
318
- "prev-callback": F.prevCallback
318
+ "prev-callback": R.prevCallback
319
319
  }, Ze({
320
- form: m(() => [
321
- ae(F.$slots, "form")
320
+ form: c(() => [
321
+ oe(R.$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, [
333
- t("span", null, o(e(n)("general.date")), 1),
334
- t("b", null, o(e(U)(e(w))), 1)
323
+ "reservation-summary": c(() => [
324
+ e(h) ? m("", !0) : (o(), u("li", Ht, [
325
+ t("span", null, a(e(n)("general.date")), 1),
326
+ t("b", null, a(e(U)(e(w))), 1)
335
327
  ])),
336
- e(r) > 0 ? (a(), u("li", Qt, [
337
- t("span", null, o(e(n)("event.numberOfGuests")), 1),
338
- 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, [
349
- 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, [
353
- t("span", null, o(e(n)("event.lengthOfEvent")), 1),
354
- t("b", null, o(e(ke)(e(V))), 1)
355
- ])) : d("", !0)
328
+ e(r) > 0 ? (o(), u("li", Yt, [
329
+ t("span", null, a(e(n)("event.numberOfGuests")), 1),
330
+ t("b", null, a(e(r)), 1)
331
+ ])) : m("", !0),
332
+ e(h) ? (o(), u(L, { key: 2 }, [
333
+ t("li", null, [
334
+ t("span", null, a(e(n)("booking.reservation.arrival")), 1),
335
+ t("b", null, a(e(U)(e(_))), 1)
336
+ ]),
337
+ t("li", null, [
338
+ t("span", null, a(e(n)("booking.reservation.departure")), 1),
339
+ t("b", null, a(e(U)(e(_), e(V))), 1)
340
+ ]),
341
+ t("li", null, [
342
+ t("span", null, a(e(n)("event.numberOfRooms")), 1),
343
+ t("b", null, a(e(k)), 1)
344
+ ]),
345
+ t("li", null, [
346
+ t("span", null, a(e(n)("event.numberOfDays")), 1),
347
+ t("b", null, a(e(V)), 1)
348
+ ])
349
+ ], 64)) : m("", !0),
350
+ !e(h) && e(b) ? (o(), u("li", Kt, [
351
+ t("span", null, a(e(n)("event.startOfEvent")), 1),
352
+ t("b", null, a(e(ke)(e(b))), 1)
353
+ ])) : m("", !0),
354
+ !e(h) && e($) && !e(ce) ? (o(), u("li", Qt, [
355
+ t("span", null, a(e(n)("event.lengthOfEvent")), 1),
356
+ t("b", null, a(e(ke)(e($))), 1)
357
+ ])) : m("", !0)
356
358
  ]),
357
- "price-summary": m(() => [
358
- !e(p) && e($) > 0 ? (a(), u("li", xt, [
359
- 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 }, [
363
- t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(x + 1), 1),
364
- t("b", null, o(e(j)(e(ue)(z, x), e(X))), 1)
365
- ]))), 128)) : d("", !0)
359
+ "price-summary": c(() => [
360
+ !e(h) && e(D) > 0 ? (o(), u("li", Wt, [
361
+ t("span", null, a(e(n)("booking.availability.basePrice")), 1),
362
+ t("b", null, a(e(j)(e(D), e(X))), 1)
363
+ ])) : m("", !0),
364
+ e(T) ? (o(!0), u(L, { key: 1 }, G(e(T), ({ roomGroupId: z }, x) => (o(), u("li", { key: z }, [
365
+ t("span", null, a(e(n)("booking.reservation.addons")) + " - " + a(e(n)("booking.reservation.room")) + " #" + a(x + 1), 1),
366
+ t("b", null, a(e(j)(e(ue)(z, x), e(X))), 1)
367
+ ]))), 128)) : m("", !0)
366
368
  ]),
367
- navigation: m(() => [
368
- ae(F.$slots, "navigation")
369
+ navigation: c(() => [
370
+ oe(R.$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(h) ? (o(), u("div", Jt, [
374
+ t("span", null, a(e(U)(e(_))) + " - " + a(e(U)(e(_), e(V))), 1)
375
+ ])) : (o(), u("div", Xt, [
376
+ t("span", null, a(e(U)(e(w))), 1)
381
377
  ]))
382
378
  ]),
383
379
  _: 2
384
380
  }, [
385
381
  e(i).sidebar ? {
386
382
  name: "sidebar",
387
- fn: m(() => [
388
- ae(F.$slots, "sidebar")
383
+ fn: c(() => [
384
+ oe(R.$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) => (o(), 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), an = {
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 on = { 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,30 +423,30 @@ 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
- products: f,
434
- numberOfDays: g,
429
+ products: v,
430
+ numberOfDays: b,
435
431
  name: r,
436
- phone: h,
437
- email: E,
438
- remark: p,
432
+ phone: k,
433
+ email: V,
434
+ remark: h,
439
435
  allergies: w,
440
- arrivalTime: V,
436
+ arrivalTime: $,
441
437
  hasEvents: _,
442
- hasTemplates: $,
438
+ hasTemplates: D,
443
439
  getEvents: T,
444
440
  getTemplates: B,
445
- getEventData: k,
441
+ getEventData: g,
446
442
  getTemplateData: l,
447
443
  getEventTableData: A,
448
- hasProducts: L,
444
+ hasProducts: F,
449
445
  eventRateType: ue,
450
446
  areListingsAvailable: de,
451
447
  isAvailabilityDataAvailable: X,
452
448
  hasListingData: ce,
453
- isPaymentLoading: F,
449
+ isPaymentLoading: R,
454
450
  isReservationFormFilled: Z,
455
451
  requiresArrivalTime: z,
456
452
  hasSelectedRequiredProducts: x
@@ -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 A.value && A.value.forEach((f) => {
490
+ E.push({
491
+ label: ke(f.time),
492
+ value: f.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
+ }), f = parseInt(E.rid), N = E.d, O = parseInt(E.eid);
504
500
  if (N)
505
501
  if (ft(N)) {
506
502
  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({
503
+ C >= y ? (Be.value = I, E.d = void 0) : me({
508
504
  message: n("alert.error.invalidDateRange"),
509
505
  type: "error"
510
506
  });
@@ -513,41 +509,41 @@ 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(f) || (Ce(f) ? Ae.value = f : me({
517
513
  message: n("alert.error.hotelIdNotFound"),
518
514
  type: "error"
519
515
  }));
520
516
  let s;
521
517
  isNaN(O) || (s = O), Fe(s);
522
518
  }
523
- return (D, b) => (a(), P(pt, { styling: D.styling }, {
524
- default: m(() => [
525
- (a(), P(xe, { onResolve: je }, {
526
- default: m(() => [
527
- v(_t, {
519
+ return (E, f) => (o(), P(pt, { styling: E.styling }, {
520
+ default: c(() => [
521
+ (o(), P(xe, { onResolve: je }, {
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), ({
541
+ form: c(() => [
542
+ e(ce) && e(de) ? (o(), u("div", an, [
543
+ e(_) && E.onlyShow !== "templates" ? (o(), u(L, { key: 0 }, [
544
+ m("", !0),
545
+ t("ul", on, [
546
+ (o(!0), u(L, null, G(e(T), ({
551
547
  id: O,
552
548
  days: s,
553
549
  name: I,
@@ -563,7 +559,7 @@ const cn = { class: "konnectio-event-listings" }, mn = {
563
559
  maxOnlineReservationLimit: Ye,
564
560
  maxPaxPerReservation: Ke,
565
561
  useNumberOfProductsForPersons: Qe
566
- }) => (a(), P(Gt, {
562
+ }) => (o(), P(Gt, {
567
563
  key: O,
568
564
  type: "event",
569
565
  "listing-id": O,
@@ -583,11 +579,11 @@ const cn = { class: "konnectio-event-listings" }, mn = {
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), ({
582
+ ], 64)) : m("", !0),
583
+ e(D) && E.onlyShow !== "events" ? (o(), u(L, { key: 1 }, [
584
+ m("", !0),
585
+ t("ul", ln, [
586
+ (o(!0), u(L, null, G(e(B), ({
591
587
  id: O,
592
588
  name: s,
593
589
  fromDate: I,
@@ -596,7 +592,7 @@ const cn = { class: "konnectio-event-listings" }, mn = {
596
592
  fromPrice: S,
597
593
  description: K,
598
594
  imageUrl: Q
599
- }) => (a(), P(jt, {
595
+ }) => (o(), P(jt, {
600
596
  key: O,
601
597
  "listing-id": O,
602
598
  name: s,
@@ -609,124 +605,124 @@ const cn = { class: "konnectio-event-listings" }, mn = {
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, [
614
- t("span", null, o(e(n)("event.nothingAvailable")), 1)
615
- ])) : d("", !0)
616
- ])) : (a(), P(Ie, { key: 1 }))
608
+ ], 64)) : m("", !0),
609
+ !e(_) && !e(D) || !e(_) && E.onlyShow === "events" || !e(D) && E.onlyShow === "templates" ? (o(), u("div", sn, [
610
+ t("span", null, a(e(n)("event.nothingAvailable")), 1)
611
+ ])) : m("", !0)
612
+ ])) : (o(), P(Ie, { key: 1 }))
617
613
  ]),
618
614
  _: 2
619
615
  }, 1024)
620
616
  ]),
621
- addons: m(({ next: N, prev: O }) => [
622
- e(X) ? (a(), P(fe, {
617
+ addons: c(({ next: N, prev: O }) => [
618
+ e(X) ? (o(), P(fe, {
623
619
  key: 0,
624
620
  "prev-callback": () => e(ye)(O)
625
621
  }, {
626
- form: m(() => [
627
- t("form", pn, [
622
+ form: c(() => [
623
+ t("form", rn, [
628
624
  t("h2", null, [
629
- t("span", null, o(e(n)("event.selectProducts")), 1)
625
+ t("span", null, a(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 ? (o(), u("ul", un, [
628
+ (o(!0), u(L, null, G(e(l), ({
633
629
  roomGroupId: s,
634
630
  addons: I,
635
631
  adultPerRoom: C
636
- }, y) => (a(), u("li", { key: s }, [
632
+ }, y) => (o(), u("li", { key: s }, [
637
633
  t("h5", null, [
638
- t("span", null, o(e(n)("booking.reservation.room")) + " #" + o(y + 1), 1),
634
+ t("span", null, a(e(n)("booking.reservation.room")) + " #" + a(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(" " + a(C) + ") ", 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
- t("span", null, o(e(n)("booking.reservation.addons")), 1)
647
+ t("span", null, a(e(n)("booking.reservation.addons")), 1)
652
648
  ]),
653
- bn,
654
- t("th", gn, [
655
- t("span", null, o(e(n)("booking.availability.price")), 1)
649
+ cn,
650
+ t("th", mn, [
651
+ t("span", null, a(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
+ (o(!0), u(L, null, G(I, ({
661
657
  id: S,
662
658
  cardinality: K,
663
659
  name: Q,
664
660
  price: pe,
665
661
  quantityStrategy: ve
666
- }) => (a(), u("tr", { key: S }, [
662
+ }) => (o(), u("tr", { key: S }, [
667
663
  t("td", null, [
668
- t("b", null, o(Q), 1),
669
- kn,
670
- t("span", null, o(e(j)(pe, e(ee))) + " " + o(e(ct)(ve)), 1)
664
+ t("b", null, a(Q), 1),
665
+ pn,
666
+ t("span", null, a(e(j)(pe, e(ee))) + " " + a(e(ct)(ve)), 1)
671
667
  ]),
672
- t("td", hn, [
673
- K === 3 ? (a(), P(le, {
668
+ t("td", vn, [
669
+ K === 3 ? (o(), P(le, {
674
670
  key: 0,
675
671
  modelValue: e(i)[`${s}.${S}.${y}`],
676
672
  "onUpdate:modelValue": (W) => e(i)[`${s}.${S}.${y}`] = W,
677
673
  small: !0,
678
674
  "min-value": 0
679
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), P(It, {
675
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (o(), P(It, {
680
676
  key: 1,
681
677
  modelValue: e(i)[`${s}.${S}.${y}`],
682
678
  "onUpdate:modelValue": (W) => e(i)[`${s}.${S}.${y}`] = W,
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, a(e(j)(e(Me)(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, a(e(j)(e(Ue)(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(F) ? (o(), 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
+ (o(!0), u(L, null, G(e(g).products, ({ id: s, name: I, price: C, description: y }) => (o(), u("tr", { key: s }, [
704
+ t("td", yn, [
709
705
  t("b", null, [
710
- t("span", null, o(e(we)(I)), 1)
706
+ t("span", null, a(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 ? (o(), u("span", _n, a(e(we)(y)), 1)) : m("", !0),
709
+ t("span", null, a(e(j)(C, e(ee))), 1)
714
710
  ]),
715
- t("td", Vn, [
716
- v(le, {
717
- modelValue: e(f)[s],
718
- "onUpdate:modelValue": (S) => e(f)[s] = S,
711
+ t("td", Pn, [
712
+ p(le, {
713
+ modelValue: e(v)[s],
714
+ "onUpdate:modelValue": (S) => e(v)[s] = S,
719
715
  small: !0,
720
716
  "min-value": 0
721
717
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
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: O }) => [
736
+ p(fe, {
741
737
  "show-terms-notice": !0,
742
738
  "show-gift-card": !0,
743
739
  "prev-callback": () => e(ye)(O)
744
740
  }, {
745
- form: m(() => [
746
- t("form", Tn, [
741
+ form: c(() => [
742
+ t("form", wn, [
747
743
  t("h2", null, [
748
- t("span", null, o(e(n)("booking.reservation.detailsTitle")), 1)
744
+ t("span", null, a(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": f[0] || (f[0] = (s) => M(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": f[1] || (f[1] = (s) => M(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(k),
768
+ "onUpdate:modelValue": f[2] || (f[2] = (s) => M(k) ? k.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) ? (o(), 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": f[3] || (f[3] = (s) => M($) ? $.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),
787
- e(ue) === e(mt).FullDayEvent ? (a(), P(le, {
782
+ }, null, 8, ["modelValue", "label", "checkboxes"])) : m("", !0),
783
+ e(ue) === e(mt).FullDayEvent ? (o(), 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": f[4] || (f[4] = (s) => M(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(h),
793
+ "onUpdate:modelValue": f[5] || (f[5] = (s) => M(h) ? h.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": f[6] || (f[6] = (s) => M(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,10 +806,10 @@ 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
- "is-loading": e(F),
812
+ "is-loading": e(R),
817
813
  disabled: !e(Z),
818
814
  "full-width": "",
819
815
  onClickEvent: (s) => e(Re)(N)
@@ -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(Tt, {
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
+ }), Oe = /* @__PURE__ */ ie(Dn, [["__scopeId", "data-v-8edf3535"]]), En = at(), 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 = ot(Oe, this.attributes);
855
+ this.vueApp = nt(Oe, n), it(this.vueApp), this.vueApp.provide("emitter", Vn), this.vueApp.use(lt), this.vueApp.use(En), this.vueApp.use(Ot), 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