@konnectio/core 4.0.56-rc35 → 4.0.56-rc37

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 (53) hide show
  1. package/dist/{ActionField-Bruv7ZZW.js → ActionField-BhYhC0aQ.js} +43 -34
  2. package/dist/ActionField-BhYhC0aQ.js.br +0 -0
  3. package/dist/AvailabilitySkeleton-CXRs2yLp.js +286 -0
  4. package/dist/AvailabilitySkeleton-CXRs2yLp.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Z4h6wyqj.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BZN97s2s.js} +2687 -2676
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BZN97s2s.js.br +0 -0
  7. package/dist/{CheckoutWindow-Dn3fiFuv.js → CheckoutWindow-DPJ2GFqg.js} +143 -134
  8. package/dist/CheckoutWindow-DPJ2GFqg.js.br +0 -0
  9. package/dist/{ErrorMessage-VK8egk99.js → ErrorMessage-4DJnsYbI.js} +27 -18
  10. package/dist/ErrorMessage-4DJnsYbI.js.br +0 -0
  11. package/dist/EventAvailabilityForm-rUB2CJ24.js +432 -0
  12. package/dist/EventAvailabilityForm-rUB2CJ24.js.br +0 -0
  13. package/dist/Field-Dr6RF4JV.js +50 -0
  14. package/dist/Field-Dr6RF4JV.js.br +0 -0
  15. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C8tvgzaO.js +21280 -0
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C8tvgzaO.js.br +0 -0
  17. package/dist/TermsOfService-B94i1jM5.js +35 -0
  18. package/dist/TermsOfService-B94i1jM5.js.br +0 -0
  19. package/dist/_commonjsHelpers-UWZO_9XV.js +11796 -0
  20. package/dist/_commonjsHelpers-UWZO_9XV.js.br +0 -0
  21. package/dist/availability.js +60 -50
  22. package/dist/availability.js.br +0 -0
  23. package/dist/event.js +279 -269
  24. package/dist/event.js.br +0 -0
  25. package/dist/gift-card-validation.js +80 -70
  26. package/dist/gift-card-validation.js.br +0 -0
  27. package/dist/gift-card.js +234 -224
  28. package/dist/gift-card.js.br +0 -0
  29. package/dist/hotel.js +696 -692
  30. package/dist/hotel.js.br +0 -0
  31. package/dist/{masonry.plugin-WFnnzw7L.js → masonry.plugin-DPkIO3nk.js} +58 -49
  32. package/dist/masonry.plugin-DPkIO3nk.js.br +0 -0
  33. package/dist/navigation.js +10 -1
  34. package/dist/polyfill.js +14757 -4715
  35. package/dist/polyfill.js.br +0 -0
  36. package/dist/style.css +1 -1
  37. package/dist/style.css.br +0 -0
  38. package/package.json +15 -13
  39. package/dist/ActionField-Bruv7ZZW.js.br +0 -0
  40. package/dist/AvailabilitySkeleton-DxVPZPw3.js +0 -277
  41. package/dist/AvailabilitySkeleton-DxVPZPw3.js.br +0 -0
  42. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Z4h6wyqj.js.br +0 -0
  43. package/dist/CheckoutWindow-Dn3fiFuv.js.br +0 -0
  44. package/dist/ErrorMessage-VK8egk99.js.br +0 -0
  45. package/dist/EventAvailabilityForm-DbkL5luy.js +0 -422
  46. package/dist/EventAvailabilityForm-DbkL5luy.js.br +0 -0
  47. package/dist/Field-fZ3Q2e9-.js +0 -41
  48. package/dist/Field-fZ3Q2e9-.js.br +0 -0
  49. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CJgfqs-l.js +0 -30755
  50. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CJgfqs-l.js.br +0 -0
  51. package/dist/TermsOfService-2g29W45E.js +0 -26
  52. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
  53. package/dist/masonry.plugin-WFnnzw7L.js.br +0 -0
package/dist/event.js CHANGED
@@ -1,51 +1,60 @@
1
- import { d as Y, u as le, M as Ie, K as H, m as Re, i as ae, o as a, a as V, w as m, ae as ne, g as e, f as t, e as v, k as oe, C as me, af as Ue, _ as se, c as d, h as we, b as h, a3 as pe, t as o, ag as Fe, ah as ze, N as De, ai as Ge, a5 as be, aj as ve, a4 as R, ab as G, F as B, a2 as I, l as qe, p as He, a1 as je, S as Ye, Q as he, ak as ke, al as Qe, q as ye, T as ce, v as Ze, x as Ke, y as We, z as Je, A as Xe, B as xe, D as et, ad as tt, G as nt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CJgfqs-l.js";
2
- import { B as ot, R as lt, L as Pe, S as at, M as st, C as it, T as rt, V as ut, G as ct } from "./masonry.plugin-WFnnzw7L.js";
3
- import { u as j, E as dt } from "./EventAvailabilityForm-DbkL5luy.js";
4
- import { t as q, e as mt, g as _e, m as $e, a as Te, b as Ee, c as pt, d as Ve } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Z4h6wyqj.js";
5
- import { a as vt, P as ft, C as gt } from "./CheckoutWindow-Dn3fiFuv.js";
6
- function bt(f, n) {
7
- const i = q(f), c = q(n), l = i.getTime() - c.getTime();
1
+ import { d as Y, r as Me, g as le, o as a, a as T, w as p, z as ne, u as e, f as t, e as f, c as m, b as h, t as o, A as Re, B as Ue, y as q, F as B, s as M, h as Fe, q as ze, S as qe, C as ge, i as he, p as Ge, j as He, k as je } from "./_commonjsHelpers-UWZO_9XV.js";
2
+ import { u as ae, n as Ye, s as H, b as oe, C as me, K as Ze, _ as se, c as Ve, A as pe, M as Je, o as De, D as ke, N as ve, B as R, d as Ke, O as ye, P as Qe, T as ce, e as We, f as Xe, g as xe, h as et, i as tt, J as nt, m as ot } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-C8tvgzaO.js";
3
+ import { B as lt, R as at, L as Pe, S as st, M as it, C as rt, T as ut, V as ct, G as dt } from "./masonry.plugin-DPkIO3nk.js";
4
+ import { u as j, E as mt } from "./EventAvailabilityForm-rUB2CJ24.js";
5
+ import { t as G, e as pt, g as _e, m as $e, a as we, b as Ee, c as vt, d as Te } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BZN97s2s.js";
6
+ import { a as ft, P as bt, C as gt } from "./CheckoutWindow-DPJ2GFqg.js";
7
+ import "./navigation.js";
8
+ (function() {
9
+ try {
10
+ var c = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
11
+ n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "094efb64-18c5-472e-ba82-daa9069b5653", c._sentryDebugIdIdentifier = "sentry-dbid-094efb64-18c5-472e-ba82-daa9069b5653");
12
+ } catch {
13
+ }
14
+ })();
15
+ function ht(c, n) {
16
+ const i = G(c), d = G(n), l = i.getTime() - d.getTime();
8
17
  return l < 0 ? -1 : l > 0 ? 1 : l;
9
18
  }
10
- function ht(f) {
19
+ function kt(c) {
11
20
  return (n) => {
12
- const c = (f ? Math[f] : Math.trunc)(n);
13
- return c === 0 ? 0 : c;
21
+ const d = (c ? Math[c] : Math.trunc)(n);
22
+ return d === 0 ? 0 : d;
14
23
  };
15
24
  }
16
- function kt(f, n, i) {
17
- const c = pt(), l = i?.locale ?? c.locale ?? mt, _ = bt(f, n);
25
+ function yt(c, n, i) {
26
+ const d = vt(), l = i?.locale ?? d.locale ?? pt, _ = ht(c, n);
18
27
  if (isNaN(_))
19
28
  throw new RangeError("Invalid time value");
20
- const g = Object.assign({}, i, {
29
+ const b = Object.assign({}, i, {
21
30
  addSuffix: i?.addSuffix,
22
31
  comparison: _
23
32
  });
24
33
  let $, u;
25
- _ > 0 ? ($ = q(n), u = q(f)) : ($ = q(f), u = q(n));
26
- const p = ht(i?.roundingMethod ?? "round"), k = u.getTime() - $.getTime(), y = k / Ve, C = _e(u) - _e($), D = (k - C) / Ve, P = i?.unit;
34
+ _ > 0 ? ($ = G(n), u = G(c)) : ($ = G(c), u = G(n));
35
+ const v = kt(i?.roundingMethod ?? "round"), k = u.getTime() - $.getTime(), y = k / Te, C = _e(u) - _e($), D = (k - C) / Te, P = i?.unit;
27
36
  let s;
28
- if (P ? s = P : y < 1 ? s = "second" : y < 60 ? s = "minute" : y < $e ? s = "hour" : D < Te ? s = "day" : D < Ee ? s = "month" : s = "year", s === "second") {
29
- const b = p(k / 1e3);
30
- return l.formatDistance("xSeconds", b, g);
37
+ if (P ? s = P : y < 1 ? s = "second" : y < 60 ? s = "minute" : y < $e ? s = "hour" : D < we ? s = "day" : D < Ee ? s = "month" : s = "year", s === "second") {
38
+ const g = v(k / 1e3);
39
+ return l.formatDistance("xSeconds", g, b);
31
40
  } else if (s === "minute") {
32
- const b = p(y);
33
- return l.formatDistance("xMinutes", b, g);
41
+ const g = v(y);
42
+ return l.formatDistance("xMinutes", g, b);
34
43
  } else if (s === "hour") {
35
- const b = p(y / 60);
36
- return l.formatDistance("xHours", b, g);
44
+ const g = v(y / 60);
45
+ return l.formatDistance("xHours", g, b);
37
46
  } else if (s === "day") {
38
- const b = p(D / $e);
39
- return l.formatDistance("xDays", b, g);
47
+ const g = v(D / $e);
48
+ return l.formatDistance("xDays", g, b);
40
49
  } else if (s === "month") {
41
- const b = p(D / Te);
42
- return b === 12 && P !== "month" ? l.formatDistance("xYears", 1, g) : l.formatDistance("xMonths", b, g);
50
+ const g = v(D / we);
51
+ return g === 12 && P !== "month" ? l.formatDistance("xYears", 1, b) : l.formatDistance("xMonths", g, b);
43
52
  } else {
44
- const b = p(D / Ee);
45
- return l.formatDistance("xYears", b, g);
53
+ const g = v(D / Ee);
54
+ return l.formatDistance("xYears", g, b);
46
55
  }
47
56
  }
48
- const yt = { class: "konnectio-event-listing-action" }, _t = { class: "konnectio-event-listing-action-button" }, $t = /* @__PURE__ */ Y({
57
+ const _t = { class: "konnectio-event-listing-action" }, $t = { class: "konnectio-event-listing-action-button" }, wt = /* @__PURE__ */ Y({
49
58
  __name: "_",
50
59
  props: {
51
60
  name: {},
@@ -67,44 +76,44 @@ const yt = { class: "konnectio-event-listing-action" }, _t = { class: "konnectio
67
76
  trackingEnabled: { type: Boolean },
68
77
  callback: {}
69
78
  },
70
- setup(f) {
71
- const { t: n } = le(), i = f, { display: c } = Ie(), {
79
+ setup(c) {
80
+ const { t: n } = ae(), i = c, { display: d } = Ye(), {
72
81
  maxNumberOfPeople: l,
73
82
  numberOfPeople: _,
74
- eventId: g,
83
+ eventId: b,
75
84
  tableGroupId: $
76
85
  } = H(j()), {
77
86
  getTemplateAvailability: u,
78
- getEventAvailability: p,
87
+ getEventAvailability: v,
79
88
  isEventListingLoading: k
80
- } = j(), y = Re(0), C = ae(() => k(i.listingId)), D = () => {
81
- y.value > 0 ? (g.value = i.listingId, _.value = y.value, u(i.callback)) : c({
89
+ } = j(), y = Me(0), C = le(() => k(i.listingId)), D = () => {
90
+ y.value > 0 ? (b.value = i.listingId, _.value = y.value, u(i.callback)) : d({
82
91
  type: "error",
83
92
  message: n("alert.error.selectPeople")
84
93
  });
85
94
  }, P = () => {
86
- y.value > 0 ? (g.value = i.listingId, $.value = i.tableGroupId, _.value = y.value, p(i.callback)) : c({
95
+ y.value > 0 ? (b.value = i.listingId, $.value = i.tableGroupId, _.value = y.value, v(i.callback)) : d({
87
96
  type: "error",
88
97
  message: n("alert.error.selectPeople")
89
98
  });
90
99
  };
91
- return (s, b) => (a(), V(ot, {
100
+ return (s, g) => (a(), T(lt, {
92
101
  "listing-id": s.listingId,
93
102
  gallery: s.gallery,
94
103
  name: s.name,
95
104
  description: s.description,
96
105
  "prices-from": s.fromPrice,
97
106
  "to-date": s.toDate,
98
- layout: e(Ue).Event
107
+ layout: e(Ze).Event
99
108
  }, {
100
- description: m(() => [
109
+ description: p(() => [
101
110
  ne(s.$slots, "description", { maxNumberOfPeople: e(l) }, void 0, !0)
102
111
  ]),
103
- action: m(() => [
104
- t("div", yt, [
105
- v(oe, {
112
+ action: p(() => [
113
+ t("div", _t, [
114
+ f(oe, {
106
115
  modelValue: y.value,
107
- "onUpdate:modelValue": b[0] || (b[0] = (O) => y.value = O),
116
+ "onUpdate:modelValue": g[0] || (g[0] = (O) => y.value = O),
108
117
  label: e(n)("event.numberOfGuests"),
109
118
  icon: "users",
110
119
  "icon-type": "fas",
@@ -113,12 +122,12 @@ const yt = { class: "konnectio-event-listing-action" }, _t = { class: "konnectio
113
122
  "min-value": s.type === "event" ? 0 : s.minimumPersonCount,
114
123
  "max-value": s.type === "event" ? s.maxOnlineReservationLimit || 1 / 0 : e(l)
115
124
  }, null, 8, ["modelValue", "label", "description", "min-value", "max-value"]),
116
- t("div", _t, [
117
- v(me, {
125
+ t("div", $t, [
126
+ f(me, {
118
127
  label: s.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
119
128
  disabled: s.soldOut,
120
129
  "is-loading": C.value,
121
- onClickEvent: b[1] || (b[1] = (O) => s.type === "event" ? P() : D())
130
+ onClickEvent: g[1] || (g[1] = (O) => s.type === "event" ? P() : D())
122
131
  }, null, 8, ["label", "disabled", "is-loading"])
123
132
  ])
124
133
  ])
@@ -126,8 +135,8 @@ const yt = { class: "konnectio-event-listing-action" }, _t = { class: "konnectio
126
135
  _: 3
127
136
  }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
128
137
  }
129
- }), Ae = /* @__PURE__ */ se($t, [["__scopeId", "data-v-8e796505"]]), Tt = ["innerHTML"], Et = { class: "konnectio-event-listing-information-new" };
130
- const Vt = { class: "konnectio-pill-button" }, wt = { class: "konnectio-pill-button" }, Dt = /* @__PURE__ */ Y({
138
+ }), Ae = /* @__PURE__ */ se(wt, [["__scopeId", "data-v-8e796505"]]), Et = ["innerHTML"], Tt = { class: "konnectio-event-listing-information-new" };
139
+ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-button" }, Pt = /* @__PURE__ */ Y({
131
140
  __name: "Event",
132
141
  props: {
133
142
  name: {},
@@ -148,15 +157,15 @@ const Vt = { class: "konnectio-pill-button" }, wt = { class: "konnectio-pill-but
148
157
  trackingEnabled: { type: Boolean },
149
158
  callback: {}
150
159
  },
151
- setup(f) {
152
- const n = f, { t: i } = le(), c = ae(() => {
160
+ setup(c) {
161
+ const n = c, { t: i } = ae(), d = le(() => {
153
162
  const l = n.length.split(":");
154
- return console.log(l), kt(
163
+ return console.log(l), yt(
155
164
  new Date(2e3, 0, 1, Number(l[0]), Number(l[1]), 0),
156
165
  new Date(2e3, 0, 1, 0, 0, 0)
157
166
  );
158
167
  });
159
- return (l, _) => (a(), V(Ae, {
168
+ return (l, _) => (a(), T(Ae, {
160
169
  "listing-id": l.listingId,
161
170
  name: l.name,
162
171
  description: l.description,
@@ -168,39 +177,39 @@ const Vt = { class: "konnectio-pill-button" }, wt = { class: "konnectio-pill-but
168
177
  type: "event",
169
178
  callback: l.callback
170
179
  }, {
171
- description: m(() => [
172
- l.description ? (a(), d("p", {
180
+ description: p(() => [
181
+ l.description ? (a(), m("p", {
173
182
  key: 0,
174
- innerHTML: e(we)(l.description)
175
- }, null, 8, Tt)) : h("", !0),
176
- t("ul", Et, [
183
+ innerHTML: e(Ve)(l.description)
184
+ }, null, 8, Et)) : h("", !0),
185
+ t("ul", Tt, [
177
186
  h("", !0),
178
187
  t("li", Vt, [
179
188
  t("div", null, [
180
- v(pe, {
189
+ f(pe, {
181
190
  icon: "calendar-clock",
182
191
  color: "header"
183
192
  }),
184
193
  t("span", null, o(e(i)("event.lengthOfEvent")), 1)
185
194
  ]),
186
- t("span", null, o(c.value), 1)
195
+ t("span", null, o(d.value), 1)
187
196
  ]),
188
- t("li", wt, [
197
+ t("li", Dt, [
189
198
  t("div", null, [
190
- v(pe, {
199
+ f(pe, {
191
200
  icon: "calendar-clock",
192
201
  color: "header"
193
202
  }),
194
203
  t("span", null, o(e(i)("event.startAndEndTime")), 1)
195
204
  ]),
196
- t("span", null, o(e(Fe)(l.timeFrom, l.timeTo)), 1)
205
+ t("span", null, o(e(Je)(l.timeFrom, l.timeTo)), 1)
197
206
  ])
198
207
  ])
199
208
  ]),
200
209
  _: 1
201
210
  }, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "to-date", "callback"]));
202
211
  }
203
- }), Pt = /* @__PURE__ */ se(Dt, [["__scopeId", "data-v-148bf11e"]]), At = ["innerHTML"], Ct = /* @__PURE__ */ Y({
212
+ }), At = /* @__PURE__ */ se(Pt, [["__scopeId", "data-v-148bf11e"]]), Ct = ["innerHTML"], Ot = /* @__PURE__ */ Y({
204
213
  __name: "Template",
205
214
  props: {
206
215
  name: {},
@@ -216,8 +225,8 @@ const Vt = { class: "konnectio-pill-button" }, wt = { class: "konnectio-pill-but
216
225
  trackingEnabled: { type: Boolean },
217
226
  callback: {}
218
227
  },
219
- setup(f) {
220
- const n = f, i = ae(() => {
228
+ setup(c) {
229
+ const n = c, i = le(() => {
221
230
  if (n.image)
222
231
  return [{
223
232
  large: n.image,
@@ -226,142 +235,142 @@ const Vt = { class: "konnectio-pill-button" }, wt = { class: "konnectio-pill-but
226
235
  url: n.image
227
236
  }];
228
237
  });
229
- return (c, l) => (a(), V(Ae, {
230
- "listing-id": c.listingId,
238
+ return (d, l) => (a(), T(Ae, {
239
+ "listing-id": d.listingId,
231
240
  gallery: i.value,
232
- name: c.name,
233
- description: c.description,
234
- "prices-from": c.fromPrice,
235
- "to-date": c.toDate,
241
+ name: d.name,
242
+ description: d.description,
243
+ "prices-from": d.fromPrice,
244
+ "to-date": d.toDate,
236
245
  type: "template",
237
- callback: c.callback
246
+ callback: d.callback
238
247
  }, {
239
- description: m(() => [
240
- c.description ? (a(), d("p", {
248
+ description: p(() => [
249
+ d.description ? (a(), m("p", {
241
250
  key: 0,
242
- innerHTML: e(we)(c.description)
243
- }, null, 8, At)) : h("", !0)
251
+ innerHTML: e(Ve)(d.description)
252
+ }, null, 8, Ct)) : h("", !0)
244
253
  ]),
245
254
  _: 1
246
255
  }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
247
256
  }
248
- }), Ot = { key: 0 }, Bt = { key: 1 }, St = { key: 2 }, Lt = { key: 3 }, Nt = { key: 4 }, Mt = { key: 5 }, It = { key: 0 }, de = /* @__PURE__ */ Y({
257
+ }), Bt = { key: 0 }, St = { key: 1 }, Lt = { key: 2 }, It = { key: 3 }, Nt = { key: 4 }, Mt = { key: 5 }, Rt = { key: 0 }, de = /* @__PURE__ */ Y({
249
258
  __name: "EventReservationForm",
250
259
  props: {
251
260
  showGiftCard: { type: Boolean, default: !1 },
252
261
  showTermsNotice: { type: Boolean, default: !1 }
253
262
  },
254
- setup(f) {
255
- const { t: n } = le(), i = ze(), {
256
- areListingsAvailable: c,
263
+ setup(c) {
264
+ const { t: n } = ae(), i = Re(), {
265
+ areListingsAvailable: d,
257
266
  arrivalTime: l,
258
267
  numberOfPeople: _,
259
- numberOfRooms: g,
268
+ numberOfRooms: b,
260
269
  numberOfTotalDays: $,
261
270
  isTemplateEvent: u,
262
- length: p,
271
+ length: v,
263
272
  fromDate: k,
264
273
  tableBasePrice: y,
265
274
  getTemplateData: C,
266
275
  basePrice: D,
267
276
  totalPrice: P,
268
277
  weekendFee: s,
269
- roomUpgrade: b,
278
+ roomUpgrade: g,
270
279
  discountCode: O
271
- } = H(j()), { totalAddonPrice: J, validateDiscountCode: ie } = j(), { currency: X } = H(De());
272
- return (S, x) => (a(), V(lt, {
280
+ } = H(j()), { totalAddonPrice: W, validateDiscountCode: ie } = j(), { currency: X } = H(De());
281
+ return (S, x) => (a(), T(at, {
273
282
  "discount-code": e(O),
274
- "onUpdate:discountCode": x[0] || (x[0] = (F) => I(O) ? O.value = F : null),
283
+ "onUpdate:discountCode": x[0] || (x[0] = (F) => M(O) ? O.value = F : null),
275
284
  "validate-discount-code": e(ie),
276
285
  "show-gift-card": S.showGiftCard,
277
286
  "show-terms-notice": S.showTermsNotice,
278
- "is-sidebar-loading": !e(c),
287
+ "is-sidebar-loading": !e(d),
279
288
  "base-price": e(D),
280
289
  "total-price": e(P),
281
290
  "weekend-fee": e(s),
282
- "room-upgrade": e(b),
291
+ "room-upgrade": e(g),
283
292
  notice: e(n)("hotel.reservationNotice")
284
- }, Ge({
285
- form: m(() => [
293
+ }, Ue({
294
+ form: p(() => [
286
295
  ne(S.$slots, "form")
287
296
  ]),
288
- "reservation-summary": m(() => [
289
- e(u) ? (a(), d("li", Ot, [
297
+ "reservation-summary": p(() => [
298
+ e(u) ? (a(), m("li", Bt, [
290
299
  t("span", null, o(e(n)("booking.reservation.arrival")), 1),
291
- t("b", null, o(e(be)(e(k))), 1)
300
+ t("b", null, o(e(ke)(e(k))), 1)
292
301
  ])) : h("", !0),
293
- e(u) ? (a(), d("li", Bt, [
302
+ e(u) ? (a(), m("li", St, [
294
303
  t("span", null, o(e(n)("booking.reservation.departure")), 1),
295
- t("b", null, o(e(be)(e(k), e($))), 1)
304
+ t("b", null, o(e(ke)(e(k), e($))), 1)
296
305
  ])) : h("", !0),
297
306
  t("li", null, [
298
307
  t("span", null, o(e(n)("event.numberOfGuests")), 1),
299
308
  t("b", null, o(e(_)), 1)
300
309
  ]),
301
- e(u) ? (a(), d("li", St, [
310
+ e(u) ? (a(), m("li", Lt, [
302
311
  t("span", null, o(e(n)("event.numberOfRooms")), 1),
303
- t("b", null, o(e(g)), 1)
312
+ t("b", null, o(e(b)), 1)
304
313
  ])) : h("", !0),
305
- e(u) ? (a(), d("li", Lt, [
314
+ e(u) ? (a(), m("li", It, [
306
315
  t("span", null, o(e(n)("event.numberOfDays")), 1),
307
316
  t("b", null, o(e($)), 1)
308
317
  ])) : h("", !0),
309
- !e(u) && e(l) ? (a(), d("li", Nt, [
318
+ !e(u) && e(l) ? (a(), m("li", Nt, [
310
319
  t("span", null, o(e(n)("event.startOfEvent")), 1),
311
320
  t("b", null, o(e(ve)(e(l))), 1)
312
321
  ])) : h("", !0),
313
- !e(u) && e(p) ? (a(), d("li", Mt, [
322
+ !e(u) && e(v) ? (a(), m("li", Mt, [
314
323
  t("span", null, o(e(n)("event.lengthOfEvent")), 1),
315
- t("b", null, o(e(ve)(e(p))), 1)
324
+ t("b", null, o(e(ve)(e(v))), 1)
316
325
  ])) : h("", !0)
317
326
  ]),
318
- "price-summary": m(() => [
319
- !e(u) && e(y) > 0 ? (a(), d("li", It, [
327
+ "price-summary": p(() => [
328
+ !e(u) && e(y) > 0 ? (a(), m("li", Rt, [
320
329
  t("span", null, o(e(n)("booking.availability.basePrice")), 1),
321
330
  t("b", null, o(e(R)(e(y), e(X))), 1)
322
331
  ])) : h("", !0),
323
- e(C) ? (a(!0), d(B, { key: 1 }, G(e(C), ({ roomGroupId: F }, ee) => (a(), d("li", { key: F }, [
332
+ e(C) ? (a(!0), m(B, { key: 1 }, q(e(C), ({ roomGroupId: F }, ee) => (a(), m("li", { key: F }, [
324
333
  t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(ee + 1), 1),
325
- t("b", null, o(e(R)(e(J)(F, ee), e(X))), 1)
334
+ t("b", null, o(e(R)(e(W)(F, ee), e(X))), 1)
326
335
  ]))), 128)) : h("", !0)
327
336
  ]),
328
- navigation: m(() => [
337
+ navigation: p(() => [
329
338
  ne(S.$slots, "navigation")
330
339
  ]),
331
340
  _: 2
332
341
  }, [
333
342
  e(i).sidebar ? {
334
343
  name: "sidebar",
335
- fn: m(() => [
344
+ fn: p(() => [
336
345
  ne(S.$slots, "sidebar")
337
346
  ]),
338
347
  key: "0"
339
348
  } : void 0
340
349
  ]), 1032, ["discount-code", "validate-discount-code", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "notice"]));
341
350
  }
342
- }), Rt = { class: "event-skeleton" }, Ut = { class: "event-skeleton-content" }, Ft = { class: "event-skeleton-sidebar" }, zt = /* @__PURE__ */ Y({
351
+ }), Ut = { class: "event-skeleton" }, Ft = { class: "event-skeleton-content" }, zt = { class: "event-skeleton-sidebar" }, qt = /* @__PURE__ */ Y({
343
352
  __name: "EventSkeleton",
344
- setup(f) {
345
- return (n, i) => (a(), d("div", Rt, [
346
- t("div", Ut, [
347
- v(Pe)
348
- ]),
353
+ setup(c) {
354
+ return (n, i) => (a(), m("div", Ut, [
349
355
  t("div", Ft, [
356
+ f(Pe)
357
+ ]),
358
+ t("div", zt, [
350
359
  h("", !0),
351
- v(at)
360
+ f(st)
352
361
  ])
353
362
  ]));
354
363
  }
355
- }), Gt = /* @__PURE__ */ se(zt, [["__scopeId", "data-v-3e15c4e3"]]), U = (f) => (We("data-v-aa29118e"), f = f(), Je(), f), qt = {
364
+ }), Gt = /* @__PURE__ */ se(qt, [["__scopeId", "data-v-3e15c4e3"]]), U = (c) => (Ge("data-v-f6598228"), c = c(), He(), c), Ht = {
356
365
  key: 0,
357
366
  id: "fresh-booking-event-overview"
358
367
  };
359
- const Ht = { class: "fresh-booking-event-listings" };
360
- const jt = { class: "fresh-booking-event-listings" }, Yt = { class: "fresh-booking-panel" }, Qt = {
368
+ const jt = { class: "fresh-booking-event-listings" };
369
+ const Yt = { class: "fresh-booking-event-listings" }, Zt = { class: "konnectio-panel" }, Jt = {
361
370
  key: 1,
362
371
  id: "fresh-booking-event-addons"
363
- }, Zt = { class: "fresh-booking-table with-lines" }, Kt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("th", { class: "fresh-booking-event-addons-input" }, null, -1)), Wt = { class: "fresh-booking-event-addons-price" }, Jt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), Xt = { class: "fresh-booking-event-addons-input" }, xt = { class: "fresh-booking-event-addons-price" }, en = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), tn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), nn = { class: "fresh-booking-event-addons-price" }, on = { key: 2 };
364
- const ln = { key: 3 }, an = { class: "fresh-booking-label required" }, sn = { class: "fresh-booking-table with-lines" }, rn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("th", { class: "fresh-booking-event-addons-input" }, null, -1)), un = { class: "fresh-booking-event-addons-price" }, cn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), dn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), mn = { class: "fresh-booking-event-addons-input" }, pn = { class: "fresh-booking-event-addons-price" }, vn = ["onClick"], fn = { class: "fresh-booking-panel" }, gn = ["onClick"], bn = /* @__PURE__ */ Y({
372
+ }, Kt = { class: "konnectio-table with-lines" }, Qt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("th", { class: "fresh-booking-event-addons-input" }, null, -1)), Wt = { class: "fresh-booking-event-addons-price" }, Xt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), xt = { class: "fresh-booking-event-addons-input" }, en = { class: "fresh-booking-event-addons-price" }, tn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), nn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), on = { class: "fresh-booking-event-addons-price" }, ln = { key: 2 };
373
+ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class: "konnectio-table with-lines" }, un = /* @__PURE__ */ U(() => /* @__PURE__ */ t("th", { class: "fresh-booking-event-addons-input" }, null, -1)), cn = { class: "fresh-booking-event-addons-price" }, dn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), mn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), pn = { class: "fresh-booking-event-addons-input" }, vn = { class: "fresh-booking-event-addons-price" }, fn = ["onClick"], bn = { class: "konnectio-panel" }, gn = ["onClick"], hn = /* @__PURE__ */ Y({
365
374
  name: "EventLayout",
366
375
  __name: "Event",
367
376
  props: {
@@ -369,214 +378,214 @@ const ln = { key: 3 }, an = { class: "fresh-booking-label required" }, sn = { cl
369
378
  onlyShow: { default: "everything" },
370
379
  styling: {}
371
380
  },
372
- setup(f) {
373
- const { t: n } = le(), {
381
+ setup(c) {
382
+ const { t: n } = ae(), {
374
383
  addons: i,
375
- products: c,
384
+ products: d,
376
385
  numberOfDays: l,
377
386
  name: _,
378
- phone: g,
387
+ phone: b,
379
388
  email: $,
380
389
  remark: u,
381
- arrivalTime: p,
390
+ arrivalTime: v,
382
391
  hasEvents: k,
383
392
  hasTemplates: y,
384
393
  getEvents: C,
385
394
  getTemplates: D,
386
395
  getEventData: P,
387
396
  getTemplateData: s,
388
- getEventTableData: b,
397
+ getEventTableData: g,
389
398
  hasProducts: O,
390
- eventRateType: J,
399
+ eventRateType: W,
391
400
  areListingsAvailable: ie,
392
401
  isAvailabilityDataAvailable: X,
393
402
  isTemplateEvent: S,
394
403
  hasListingData: x,
395
404
  isPaymentLoading: F
396
- } = H(j()), { searchDate: ee } = H(qe()), {
405
+ } = H(j()), { searchDate: ee } = H(Ke()), {
397
406
  initialize: Ce,
398
407
  fetchListings: Oe,
399
408
  createBooking: Be,
400
409
  localAddonPrice: fe,
401
410
  totalAddonPrice: Se,
402
- reset: ge
403
- } = j(), { currency: Q } = H(De()), Le = ae(() => {
411
+ reset: be
412
+ } = j(), { currency: Z } = H(De()), Le = le(() => {
404
413
  const L = [];
405
- return b.value && b.value.forEach((T) => {
414
+ return g.value && g.value.forEach((w) => {
406
415
  L.push({
407
- label: ve(T.time),
408
- value: T.time
416
+ label: ve(w.time),
417
+ value: w.time
409
418
  });
410
419
  }), L;
411
420
  });
412
- return He(() => Ce()), je(ee, () => Oe()), (L, T) => (a(), V(Ke, { styling: L.styling }, {
413
- default: m(() => [
414
- (a(), V(Ye, null, {
415
- default: m(() => [
416
- v(Ze, {
421
+ return Fe(() => Ce()), ze(ee, () => Oe()), (L, w) => (a(), T(Xe, { styling: L.styling }, {
422
+ default: p(() => [
423
+ (a(), T(qe, null, {
424
+ default: p(() => [
425
+ f(We, {
417
426
  id: "konnectio-event-module",
418
427
  type: "none",
419
428
  "access-token": L.accessToken
420
429
  }, {
421
- default: m(() => [
422
- v(st, null, {
423
- availability: m(({ next: z }) => [
424
- v(de, null, {
425
- sidebar: m(() => [
426
- v(dt, { redirection: !1 })
430
+ default: p(() => [
431
+ f(it, null, {
432
+ availability: p(({ next: z }) => [
433
+ f(de, null, {
434
+ sidebar: p(() => [
435
+ f(mt, { redirection: !1 })
427
436
  ]),
428
- form: m(() => [
429
- e(x) && e(ie) ? (a(), d("div", qt, [
430
- e(k) && L.onlyShow !== "templates" ? (a(), d(B, { key: 0 }, [
437
+ form: p(() => [
438
+ e(x) && e(ie) ? (a(), m("div", Ht, [
439
+ e(k) && L.onlyShow !== "templates" ? (a(), m(B, { key: 0 }, [
431
440
  h("", !0),
432
- t("ul", Ht, [
433
- (a(!0), d(B, null, G(e(C), ({
441
+ t("ul", jt, [
442
+ (a(!0), m(B, null, q(e(C), ({
434
443
  id: A,
435
444
  days: r,
436
- name: N,
437
- timeFrom: M,
445
+ name: I,
446
+ timeFrom: N,
438
447
  timeTo: E,
439
- fromDate: w,
440
- toDate: Z,
448
+ fromDate: V,
449
+ toDate: J,
441
450
  tableGroupId: K,
442
451
  description: re,
443
452
  soldOut: ue,
444
- length: W,
445
- images: Ne,
446
- maxOnlineReservationLimit: Me
447
- }) => (a(), V(Pt, {
453
+ length: Q,
454
+ images: Ie,
455
+ maxOnlineReservationLimit: Ne
456
+ }) => (a(), T(At, {
448
457
  key: A,
449
458
  type: "event",
450
459
  "listing-id": A,
451
460
  "table-group-id": K,
452
461
  description: re,
453
- name: N,
454
- length: W,
455
- gallery: Ne,
462
+ name: I,
463
+ length: Q,
464
+ gallery: Ie,
456
465
  days: r,
457
- "from-date": w,
458
- "to-date": Z,
459
- "max-online-reservation-limit": Me,
460
- "time-from": M,
466
+ "from-date": V,
467
+ "to-date": J,
468
+ "max-online-reservation-limit": Ne,
469
+ "time-from": N,
461
470
  "time-to": E,
462
471
  "sold-out": ue,
463
472
  callback: z
464
473
  }, 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", "callback"]))), 128))
465
474
  ])
466
475
  ], 64)) : h("", !0),
467
- e(y) && L.onlyShow !== "events" ? (a(), d(B, { key: 1 }, [
476
+ e(y) && L.onlyShow !== "events" ? (a(), m(B, { key: 1 }, [
468
477
  h("", !0),
469
- t("ul", jt, [
470
- (a(!0), d(B, null, G(e(D), ({
478
+ t("ul", Yt, [
479
+ (a(!0), m(B, null, q(e(D), ({
471
480
  id: A,
472
481
  name: r,
473
- fromDate: N,
474
- toDate: M,
482
+ fromDate: I,
483
+ toDate: N,
475
484
  minimumPersonCount: E,
476
- fromPrice: w,
477
- description: Z,
485
+ fromPrice: V,
486
+ description: J,
478
487
  imageUrl: K
479
- }) => (a(), V(Ct, {
488
+ }) => (a(), T(Ot, {
480
489
  key: A,
481
490
  "listing-id": A,
482
491
  name: r,
483
492
  image: K,
484
- description: Z,
485
- "from-date": N,
486
- "to-date": M,
493
+ description: J,
494
+ "from-date": I,
495
+ "to-date": N,
487
496
  "minimum-person-count": E,
488
- fromPrice: w,
497
+ fromPrice: V,
489
498
  callback: z
490
499
  }, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
491
500
  ])
492
501
  ], 64)) : h("", !0)
493
- ])) : (a(), V(Pe, { key: 1 }))
502
+ ])) : (a(), T(Pe, { key: 1 }))
494
503
  ]),
495
504
  _: 2
496
505
  }, 1024)
497
506
  ]),
498
- addons: m(({ next: z, prev: A }) => [
499
- e(X) ? (a(), V(de, { key: 0 }, {
500
- form: m(() => [
501
- t("form", Yt, [
507
+ addons: p(({ next: z, prev: A }) => [
508
+ e(X) ? (a(), T(de, { key: 0 }, {
509
+ form: p(() => [
510
+ t("form", Zt, [
502
511
  t("h2", null, [
503
512
  t("span", null, o(e(n)("booking.reservation.addons")), 1)
504
513
  ]),
505
- e(J) === e(he).FullDayEvent ? (a(), V(oe, {
514
+ e(W) === e(ye).FullDayEvent ? (a(), T(oe, {
506
515
  key: 0,
507
516
  modelValue: e(l),
508
- "onUpdate:modelValue": T[0] || (T[0] = (r) => I(l) ? l.value = r : null),
517
+ "onUpdate:modelValue": w[0] || (w[0] = (r) => M(l) ? l.value = r : null),
509
518
  label: e(n)("event.numberOfDays"),
510
519
  "min-value": 1,
511
520
  required: ""
512
521
  }, null, 8, ["modelValue", "label"])) : h("", !0),
513
- e(s) && e(s).length > 0 ? (a(), d("ul", Qt, [
514
- (a(!0), d(B, null, G(e(s), ({
522
+ e(s) && e(s).length > 0 ? (a(), m("ul", Jt, [
523
+ (a(!0), m(B, null, q(e(s), ({
515
524
  roomGroupId: r,
516
- addons: N,
517
- adultPerRoom: M
518
- }, E) => (a(), d("li", { key: r }, [
525
+ addons: I,
526
+ adultPerRoom: N
527
+ }, E) => (a(), m("li", { key: r }, [
519
528
  t("h5", null, [
520
529
  t("span", null, o(e(n)("booking.reservation.room")) + " #" + o(E + 1), 1),
521
- ke(" ("),
522
- v(pe, {
530
+ ge(" ("),
531
+ f(pe, {
523
532
  icon: "male",
524
533
  type: "fas",
525
534
  color: "header"
526
535
  }),
527
- ke(" " + o(M) + ") ", 1)
536
+ ge(" " + o(N) + ") ", 1)
528
537
  ]),
529
- t("table", Zt, [
538
+ t("table", Kt, [
530
539
  t("thead", null, [
531
540
  t("tr", null, [
532
541
  t("th", null, [
533
542
  t("span", null, o(e(n)("booking.reservation.addons")), 1)
534
543
  ]),
535
- Kt,
544
+ Qt,
536
545
  t("th", Wt, [
537
546
  t("span", null, o(e(n)("booking.availability.price")), 1)
538
547
  ])
539
548
  ])
540
549
  ]),
541
550
  t("tbody", null, [
542
- (a(!0), d(B, null, G(N, ({
543
- id: w,
544
- cardinality: Z,
551
+ (a(!0), m(B, null, q(I, ({
552
+ id: V,
553
+ cardinality: J,
545
554
  name: K,
546
555
  price: re,
547
556
  quantityStrategy: ue
548
- }) => (a(), d("tr", { key: w }, [
557
+ }) => (a(), m("tr", { key: V }, [
549
558
  t("td", null, [
550
559
  t("b", null, o(K), 1),
551
- Jt,
552
- t("span", null, o(e(R)(re, e(Q))) + " " + o(e(Qe)(ue)), 1)
560
+ Xt,
561
+ t("span", null, o(e(R)(re, e(Z))) + " " + o(e(Qe)(ue)), 1)
553
562
  ]),
554
- t("td", Xt, [
555
- Z === 3 ? (a(), V(oe, {
563
+ t("td", xt, [
564
+ J === 3 ? (a(), T(oe, {
556
565
  key: 0,
557
- modelValue: e(i)[`${r}.${w}.${E}`],
558
- "onUpdate:modelValue": (W) => e(i)[`${r}.${w}.${E}`] = W,
566
+ modelValue: e(i)[`${r}.${V}.${E}`],
567
+ "onUpdate:modelValue": (Q) => e(i)[`${r}.${V}.${E}`] = Q,
559
568
  small: !0,
560
569
  "min-value": 0
561
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), V(vt, {
570
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), T(ft, {
562
571
  key: 1,
563
- modelValue: e(i)[`${r}.${w}.${E}`],
564
- "onUpdate:modelValue": (W) => e(i)[`${r}.${w}.${E}`] = W,
572
+ modelValue: e(i)[`${r}.${V}.${E}`],
573
+ "onUpdate:modelValue": (Q) => e(i)[`${r}.${V}.${E}`] = Q,
565
574
  numeric: !0
566
575
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
567
576
  ]),
568
- t("td", xt, [
569
- t("span", null, o(e(R)(e(fe)(w, r, E), e(Q))), 1)
577
+ t("td", en, [
578
+ t("span", null, o(e(R)(e(fe)(V, r, E), e(Z))), 1)
570
579
  ])
571
580
  ]))), 128))
572
581
  ]),
573
582
  t("tfoot", null, [
574
583
  t("tr", null, [
575
- en,
576
584
  tn,
577
- t("td", nn, [
585
+ nn,
586
+ t("td", on, [
578
587
  t("u", null, [
579
- t("span", null, o(e(R)(e(Se)(r, E), e(Q))), 1)
588
+ t("span", null, o(e(R)(e(Se)(r, E), e(Z))), 1)
580
589
  ])
581
590
  ])
582
591
  ])
@@ -584,54 +593,54 @@ const ln = { key: 3 }, an = { class: "fresh-booking-label required" }, sn = { cl
584
593
  ])
585
594
  ]))), 128))
586
595
  ])) : h("", !0),
587
- e(J) !== e(he).FullDayEvent && !e(S) ? (a(), d("div", on, [
596
+ e(W) !== e(ye).FullDayEvent && !e(S) ? (a(), m("div", ln, [
588
597
  h("", !0),
589
- v(it, {
590
- modelValue: e(p),
591
- "onUpdate:modelValue": T[1] || (T[1] = (r) => I(p) ? p.value = r : null),
598
+ f(rt, {
599
+ modelValue: e(v),
600
+ "onUpdate:modelValue": w[1] || (w[1] = (r) => M(v) ? v.value = r : null),
592
601
  label: e(n)("event.selectArrivalTime"),
593
602
  name: "eventTimeTable",
594
603
  checkboxes: Le.value,
595
604
  required: ""
596
605
  }, null, 8, ["modelValue", "label", "checkboxes"])
597
606
  ])) : h("", !0),
598
- e(O) ? (a(), d("div", ln, [
599
- t("label", an, [
607
+ e(O) ? (a(), m("div", an, [
608
+ t("label", sn, [
600
609
  t("span", null, o(e(n)("event.selectProducts")), 1)
601
610
  ]),
602
- t("table", sn, [
611
+ t("table", rn, [
603
612
  t("thead", null, [
604
613
  t("tr", null, [
605
614
  t("th", null, [
606
615
  t("span", null, o(e(n)("booking.reservation.addons")), 1)
607
616
  ]),
608
- rn,
609
- t("th", un, [
617
+ un,
618
+ t("th", cn, [
610
619
  t("span", null, o(e(n)("booking.availability.price")), 1)
611
620
  ])
612
621
  ])
613
622
  ]),
614
623
  t("tbody", null, [
615
- (a(!0), d(B, null, G(e(P).products, ({ productID: r, productName: N, price: M, description: E }) => (a(), d("tr", { key: r }, [
624
+ (a(!0), m(B, null, q(e(P).products, ({ productID: r, productName: I, price: N, description: E }) => (a(), m("tr", { key: r }, [
616
625
  t("td", null, [
617
626
  t("b", null, [
618
- t("span", null, o(N), 1)
627
+ t("span", null, o(I), 1)
619
628
  ]),
620
- cn,
621
- t("span", null, o(E), 1),
622
629
  dn,
623
- t("span", null, o(e(R)(M, e(Q))), 1)
630
+ t("span", null, o(E), 1),
631
+ mn,
632
+ t("span", null, o(e(R)(N, e(Z))), 1)
624
633
  ]),
625
- t("td", mn, [
626
- v(oe, {
627
- modelValue: e(c)[r],
628
- "onUpdate:modelValue": (w) => e(c)[r] = w,
634
+ t("td", pn, [
635
+ f(oe, {
636
+ modelValue: e(d)[r],
637
+ "onUpdate:modelValue": (V) => e(d)[r] = V,
629
638
  small: !0,
630
639
  "min-value": 0
631
640
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
632
641
  ]),
633
- t("td", pn, [
634
- t("span", null, o(e(R)(e(fe)(r), e(Q))), 1)
642
+ t("td", vn, [
643
+ t("span", null, o(e(R)(e(fe)(r), e(Z))), 1)
635
644
  ])
636
645
  ]))), 128))
637
646
  ])
@@ -639,44 +648,44 @@ const ln = { key: 3 }, an = { class: "fresh-booking-label required" }, sn = { cl
639
648
  ])) : h("", !0)
640
649
  ])
641
650
  ]),
642
- navigation: m(() => [
643
- v(me, {
644
- label: "Next",
651
+ navigation: p(() => [
652
+ f(me, {
653
+ label: e(n)("general.startReservation"),
645
654
  "full-width": "",
646
655
  onClickEvent: z
647
- }, null, 8, ["onClickEvent"]),
656
+ }, null, 8, ["label", "onClickEvent"]),
648
657
  t("button", {
649
658
  class: "konnectio-abort-reservation link",
650
- onClick: ye((r) => e(ge)(A), ["prevent"])
659
+ onClick: he((r) => e(be)(A), ["prevent"])
651
660
  }, [
652
661
  t("span", null, o(e(n)("general.goAStepBack")), 1)
653
- ], 8, vn)
662
+ ], 8, fn)
654
663
  ]),
655
664
  _: 2
656
665
  }, 1024)) : h("", !0)
657
666
  ]),
658
- reservation: m(({ next: z, prev: A }) => [
659
- v(de, {
667
+ reservation: p(({ next: z, prev: A }) => [
668
+ f(de, {
660
669
  "show-terms-notice": !0,
661
670
  "show-gift-card": !0
662
671
  }, {
663
- form: m(() => [
664
- t("form", fn, [
672
+ form: p(() => [
673
+ t("form", bn, [
665
674
  t("h2", null, [
666
675
  t("span", null, o(e(n)("booking.reservation.detailsTitle")), 1)
667
676
  ]),
668
- v(ce, {
677
+ f(ce, {
669
678
  modelValue: e(_),
670
- "onUpdate:modelValue": T[2] || (T[2] = (r) => I(_) ? _.value = r : null),
679
+ "onUpdate:modelValue": w[2] || (w[2] = (r) => M(_) ? _.value = r : null),
671
680
  type: "text",
672
681
  label: e(n)("booking.reservation.name"),
673
682
  icon: "user-alt",
674
683
  placeholder: e(n)("booking.reservation.namePlaceholder"),
675
684
  required: ""
676
685
  }, null, 8, ["modelValue", "label", "placeholder"]),
677
- v(ce, {
686
+ f(ce, {
678
687
  modelValue: e($),
679
- "onUpdate:modelValue": T[3] || (T[3] = (r) => I($) ? $.value = r : null),
688
+ "onUpdate:modelValue": w[3] || (w[3] = (r) => M($) ? $.value = r : null),
680
689
  label: e(n)("booking.reservation.email"),
681
690
  type: "email",
682
691
  name: "email",
@@ -685,17 +694,17 @@ const ln = { key: 3 }, an = { class: "fresh-booking-label required" }, sn = { cl
685
694
  placeholder: e(n)("booking.reservation.emailPlaceholder"),
686
695
  required: ""
687
696
  }, null, 8, ["modelValue", "label", "placeholder"]),
688
- v(ft, {
689
- modelValue: e(g),
690
- "onUpdate:modelValue": T[4] || (T[4] = (r) => I(g) ? g.value = r : null),
697
+ f(bt, {
698
+ modelValue: e(b),
699
+ "onUpdate:modelValue": w[4] || (w[4] = (r) => M(b) ? b.value = r : null),
691
700
  label: e(n)("booking.reservation.phone"),
692
701
  icon: "phone-office",
693
702
  placeholder: e(n)("booking.reservation.phonePlaceholder"),
694
703
  required: ""
695
704
  }, null, 8, ["modelValue", "label", "placeholder"]),
696
- v(ce, {
705
+ f(ce, {
697
706
  modelValue: e(u),
698
- "onUpdate:modelValue": T[5] || (T[5] = (r) => I(u) ? u.value = r : null),
707
+ "onUpdate:modelValue": w[5] || (w[5] = (r) => M(u) ? u.value = r : null),
699
708
  type: "textarea",
700
709
  label: `${e(n)("booking.reservation.remark")} (${e(n)("booking.reservation.optional")})`,
701
710
  icon: "info-circle",
@@ -703,8 +712,8 @@ const ln = { key: 3 }, an = { class: "fresh-booking-label required" }, sn = { cl
703
712
  }, null, 8, ["modelValue", "label", "placeholder"])
704
713
  ])
705
714
  ]),
706
- navigation: m(() => [
707
- v(me, {
715
+ navigation: p(() => [
716
+ f(me, {
708
717
  label: e(n)("general.confirmReservation"),
709
718
  "is-loading": e(F),
710
719
  "full-width": "",
@@ -712,7 +721,7 @@ const ln = { key: 3 }, an = { class: "fresh-booking-label required" }, sn = { cl
712
721
  }, null, 8, ["label", "is-loading", "onClickEvent"]),
713
722
  t("button", {
714
723
  class: "konnectio-abort-reservation link",
715
- onClick: ye((r) => e(ge)(A), ["prevent"])
724
+ onClick: he((r) => e(be)(A), ["prevent"])
716
725
  }, [
717
726
  t("span", null, o(e(n)("general.goAStepBack")), 1)
718
727
  ], 8, gn)
@@ -720,11 +729,11 @@ const ln = { key: 3 }, an = { class: "fresh-booking-label required" }, sn = { cl
720
729
  _: 2
721
730
  }, 1024)
722
731
  ]),
723
- payment: m(() => [
724
- v(gt)
732
+ payment: p(() => [
733
+ f(gt)
725
734
  ]),
726
- confirmation: m(() => [
727
- v(rt, {
735
+ confirmation: p(() => [
736
+ f(ut, {
728
737
  message: e(n)("event.confirmationMessage")
729
738
  }, null, 8, ["message"])
730
739
  ]),
@@ -734,8 +743,8 @@ const ln = { key: 3 }, an = { class: "fresh-booking-label required" }, sn = { cl
734
743
  _: 1
735
744
  }, 8, ["access-token"])
736
745
  ]),
737
- fallback: m(() => [
738
- v(Gt)
746
+ fallback: p(() => [
747
+ f(Gt)
739
748
  ]),
740
749
  _: 1
741
750
  }))
@@ -743,8 +752,8 @@ const ln = { key: 3 }, an = { class: "fresh-booking-label required" }, sn = { cl
743
752
  _: 1
744
753
  }, 8, ["styling"]));
745
754
  }
746
- }), te = /* @__PURE__ */ se(bn, [["__scopeId", "data-v-aa29118e"]]), hn = Xe(), kn = nt();
747
- class yn extends HTMLElement {
755
+ }), te = /* @__PURE__ */ se(hn, [["__scopeId", "data-v-f6598228"]]), kn = xe(), yn = ot();
756
+ class _n extends HTMLElement {
748
757
  vueApp;
749
758
  constructor() {
750
759
  super();
@@ -755,23 +764,24 @@ class yn extends HTMLElement {
755
764
  connectedCallback() {
756
765
  const n = typeof te == "function" ? te.options : te;
757
766
  let i = Array.isArray(n.props) ? n.props : Object.keys(n.props || {});
758
- const c = (u) => u.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (p, k) => (k ? "-" : "") + p.toLowerCase()), l = (u) => u.replace(/-./g, (p) => p[1].toUpperCase()), _ = {};
759
- i = i.map(c);
760
- const g = {};
767
+ const d = (u) => u.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (v, k) => (k ? "-" : "") + v.toLowerCase()), l = (u) => u.replace(/-./g, (v) => v[1].toUpperCase()), _ = {};
768
+ i = i.map(d);
769
+ const b = {};
761
770
  for (const u of this.attributes) {
762
771
  const k = u.name.split(".");
763
- k.length > 1 && (g[k[0]] || (g[k[0]] = {}), g[k[0]][l(k[1])] = u.value);
772
+ k.length > 1 && (b[k[0]] || (b[k[0]] = {}), b[k[0]][l(k[1])] = u.value);
764
773
  }
765
774
  for (const u of i) {
766
- let p = this.attributes.getNamedItem(u)?.value;
767
- g.hasOwnProperty(u) && (p = g[u]), _[u] = p;
775
+ let v = this.attributes.getNamedItem(u)?.value;
776
+ b.hasOwnProperty(u) && (v = b[u]), _[u] = v;
768
777
  }
769
- this.vueApp = xe(te, _), this.vueApp.provide("emitter", kn), this.vueApp.use(et), this.vueApp.use(hn), this.vueApp.use(ut), this.vueApp.use(ct), this.vueApp.use(tt, { bootstrap: !0 });
778
+ this.vueApp = je(te, _), et(this.vueApp), this.vueApp.provide("emitter", yn), this.vueApp.use(tt), this.vueApp.use(kn), this.vueApp.use(ct), this.vueApp.use(dt), this.vueApp.use(nt, { bootstrap: !0 });
770
779
  const $ = document.createElement("div");
771
780
  this.vueApp.mount($), this.appendChild($.children[0]);
772
781
  }
773
782
  }
774
- window.customElements.define("konnectio-event", yn);
783
+ window.customElements.define("konnectio-event", _n);
775
784
  export {
776
- yn as default
785
+ _n as default
777
786
  };
787
+ //# sourceMappingURL=event.js.map