@konnectio/core 4.0.56-rc48 → 4.0.56-rc49

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 (61) hide show
  1. package/dist/{ActionField-BmdEaU7R.js → ActionField-B9sCmWFD.js} +11 -11
  2. package/dist/ActionField-B9sCmWFD.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-D-WEI9Yg.js → AvailabilitySkeleton-sGz2nSbb.js} +35 -35
  4. package/dist/AvailabilitySkeleton-sGz2nSbb.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DT5BjPBT.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CPIlC8FY.js} +4 -4
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CPIlC8FY.js.br +0 -0
  7. package/dist/{CheckoutWindow-DdkwNLy3.js → CheckoutWindow-CrzoIK1a.js} +14 -14
  8. package/dist/CheckoutWindow-CrzoIK1a.js.br +0 -0
  9. package/dist/{ErrorMessage-Cyrsqt8X.js → ErrorMessage-SZPwCpu-.js} +4 -4
  10. package/dist/ErrorMessage-SZPwCpu-.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-BBVSXf1v.js → EventAvailabilityForm-DFuang-b.js} +27 -27
  12. package/dist/EventAvailabilityForm-DFuang-b.js.br +0 -0
  13. package/dist/{Field-cLYq6dB7.js → Field-CLXqVSAA.js} +12 -12
  14. package/dist/Field-CLXqVSAA.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DdW6bv1b.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CHFFlMbv.js} +2151 -2132
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CHFFlMbv.js.br +0 -0
  17. package/dist/{TermsOfService-CmEZmmhy.js → TermsOfService-DBwm3BP2.js} +7 -7
  18. package/dist/TermsOfService-DBwm3BP2.js.br +0 -0
  19. package/dist/_-BOjhcjBA.js +12 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-CYFSipoN.js → _.vue_vue_type_style_index_0_lang-BNx_Z1PF.js} +11 -11
  21. package/dist/_.vue_vue_type_style_index_0_lang-BNx_Z1PF.js.br +0 -0
  22. package/dist/availability.js +40 -41
  23. package/dist/availability.js.br +0 -0
  24. package/dist/event.js +113 -113
  25. package/dist/event.js.br +0 -0
  26. package/dist/gift-card-validation.js +26 -27
  27. package/dist/gift-card-validation.js.br +0 -0
  28. package/dist/gift-card.js +127 -127
  29. package/dist/gift-card.js.br +0 -0
  30. package/dist/{giftCard-B9vV1-Jc.js → giftCard-hEwcI_Rx.js} +11 -11
  31. package/dist/giftCard-hEwcI_Rx.js.br +0 -0
  32. package/dist/hotel.js +620 -618
  33. package/dist/hotel.js.br +0 -0
  34. package/dist/{masonry.plugin-CpLUlFxC.js → masonry.plugin-C474cwA-.js} +1026 -1009
  35. package/dist/masonry.plugin-C474cwA-.js.br +0 -0
  36. package/dist/navigation.js +2 -2
  37. package/dist/polyfill.js +800 -800
  38. package/dist/polyfill.js.br +0 -0
  39. package/dist/style.css +1 -1
  40. package/dist/style.css.br +0 -0
  41. package/dist/tracing-pAUg9FFo.js +11818 -0
  42. package/dist/tracing-pAUg9FFo.js.br +0 -0
  43. package/package.json +1 -1
  44. package/dist/ActionField-BmdEaU7R.js.br +0 -0
  45. package/dist/AvailabilitySkeleton-D-WEI9Yg.js.br +0 -0
  46. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DT5BjPBT.js.br +0 -0
  47. package/dist/CheckoutWindow-DdkwNLy3.js.br +0 -0
  48. package/dist/ErrorMessage-Cyrsqt8X.js.br +0 -0
  49. package/dist/EventAvailabilityForm-BBVSXf1v.js.br +0 -0
  50. package/dist/Field-cLYq6dB7.js.br +0 -0
  51. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DdW6bv1b.js.br +0 -0
  52. package/dist/TermsOfService-CmEZmmhy.js.br +0 -0
  53. package/dist/_-BIlhnQ1K.js +0 -12
  54. package/dist/_.vue_vue_type_style_index_0_lang-CYFSipoN.js.br +0 -0
  55. package/dist/_commonjsHelpers-ytV6SVHa.js +0 -9541
  56. package/dist/_commonjsHelpers-ytV6SVHa.js.br +0 -0
  57. package/dist/giftCard-B9vV1-Jc.js.br +0 -0
  58. package/dist/masonry.plugin-CpLUlFxC.js.br +0 -0
  59. package/dist/sentry-D1A53_C5.js +0 -18
  60. package/dist/tracing-wxeFiHIa.js +0 -2287
  61. package/dist/tracing-wxeFiHIa.js.br +0 -0
package/dist/event.js CHANGED
@@ -1,30 +1,30 @@
1
- import { d as Y, r as Re, c as le, o as a, b as T, w as p, v as ne, u as e, g as t, f, a as m, e as h, t as o, B as Ue, C as Fe, A as z, F as B, x as M, q as qe, S as ze, D as ge, i as he, p as Ge, j as He, k as je } from "./_commonjsHelpers-ytV6SVHa.js";
2
- import { h as ae, a as Ye, s as H, H as Ze, l as oe, C as me, J as Je, _ as se, j as Ve, z as pe, K as Ke, b as De, B as ke, M as ve, A as R, m as Qe, O as ye, N as We, T as ce, n as Xe, o as xe, p as et, F as tt, q as nt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DdW6bv1b.js";
3
- 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-CpLUlFxC.js";
4
- import { u as j, E as dt } from "./EventAvailabilityForm-BBVSXf1v.js";
5
- import { _ as mt } from "./_.vue_vue_type_style_index_0_lang-CYFSipoN.js";
6
- 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-DT5BjPBT.js";
7
- import { a as ft, P as bt, C as gt } from "./CheckoutWindow-DdkwNLy3.js";
1
+ import { d as Y, r as Re, c as le, o as a, b as T, w as p, v as ne, u as e, g as t, f, a as m, e as h, t as o, B as Ue, C as Fe, A as z, F as B, x as M, q as qe, S as ze, D as ge, i as he, p as Ge, j as He, k as je } from "./tracing-pAUg9FFo.js";
2
+ import { h as ae, a as Ye, s as H, J as Ze, l as oe, C as me, K as Je, _ as se, j as De, A as pe, M as Ke, b as Ve, D as ke, N as ve, B as R, m as Qe, O as ye, P as We, T as ce, n as Xe, o as xe, p as et, q as tt, H as nt, t as ot } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CHFFlMbv.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-C474cwA-.js";
4
+ import { u as j, E as mt } from "./EventAvailabilityForm-DFuang-b.js";
5
+ import { _ as pt } from "./_.vue_vue_type_style_index_0_lang-BNx_Z1PF.js";
6
+ import { t as G, e as vt, g as _e, m as $e, a as we, b as Ee, c as ft, d as Te } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CPIlC8FY.js";
7
+ import { a as bt, P as gt, C as ht } from "./CheckoutWindow-CrzoIK1a.js";
8
8
  import "./navigation.js";
9
9
  (function() {
10
10
  try {
11
11
  var c = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
12
- n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "27a29f29-94db-44c9-8928-901e566085aa", c._sentryDebugIdIdentifier = "sentry-dbid-27a29f29-94db-44c9-8928-901e566085aa");
12
+ n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "53cda170-f9ad-4a25-962e-90eadf66bc37", c._sentryDebugIdIdentifier = "sentry-dbid-53cda170-f9ad-4a25-962e-90eadf66bc37");
13
13
  } catch {
14
14
  }
15
15
  })();
16
- function ht(c, n) {
16
+ function kt(c, n) {
17
17
  const i = G(c), d = G(n), l = i.getTime() - d.getTime();
18
18
  return l < 0 ? -1 : l > 0 ? 1 : l;
19
19
  }
20
- function kt(c) {
20
+ function yt(c) {
21
21
  return (n) => {
22
22
  const d = (c ? Math[c] : Math.trunc)(n);
23
23
  return d === 0 ? 0 : d;
24
24
  };
25
25
  }
26
- function yt(c, n, i) {
27
- const d = vt(), l = i?.locale ?? d.locale ?? pt, _ = ht(c, n);
26
+ function _t(c, n, i) {
27
+ const d = ft(), l = i?.locale ?? d.locale ?? vt, _ = kt(c, n);
28
28
  if (isNaN(_))
29
29
  throw new RangeError("Invalid time value");
30
30
  const b = Object.assign({}, i, {
@@ -33,9 +33,9 @@ function yt(c, n, i) {
33
33
  });
34
34
  let $, u;
35
35
  _ > 0 ? ($ = G(n), u = G(c)) : ($ = G(c), u = G(n));
36
- const v = kt(i?.roundingMethod ?? "round"), k = u.getTime() - $.getTime(), y = k / Te, C = _e(u) - _e($), D = (k - C) / Te, P = i?.unit;
36
+ const v = yt(i?.roundingMethod ?? "round"), k = u.getTime() - $.getTime(), y = k / Te, C = _e(u) - _e($), V = (k - C) / Te, P = i?.unit;
37
37
  let s;
38
- 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
+ if (P ? s = P : y < 1 ? s = "second" : y < 60 ? s = "minute" : y < $e ? s = "hour" : V < we ? s = "day" : V < Ee ? s = "month" : s = "year", s === "second") {
39
39
  const g = v(k / 1e3);
40
40
  return l.formatDistance("xSeconds", g, b);
41
41
  } else if (s === "minute") {
@@ -45,17 +45,17 @@ function yt(c, n, i) {
45
45
  const g = v(y / 60);
46
46
  return l.formatDistance("xHours", g, b);
47
47
  } else if (s === "day") {
48
- const g = v(D / $e);
48
+ const g = v(V / $e);
49
49
  return l.formatDistance("xDays", g, b);
50
50
  } else if (s === "month") {
51
- const g = v(D / we);
51
+ const g = v(V / we);
52
52
  return g === 12 && P !== "month" ? l.formatDistance("xYears", 1, b) : l.formatDistance("xMonths", g, b);
53
53
  } else {
54
- const g = v(D / Ee);
54
+ const g = v(V / Ee);
55
55
  return l.formatDistance("xYears", g, b);
56
56
  }
57
57
  }
58
- const _t = { class: "konnectio-event-listing-action" }, $t = { class: "konnectio-event-listing-action-button" }, wt = /* @__PURE__ */ Y({
58
+ const $t = { class: "konnectio-event-listing-action" }, wt = { class: "konnectio-event-listing-action-button" }, Et = /* @__PURE__ */ Y({
59
59
  __name: "_",
60
60
  props: {
61
61
  name: {},
@@ -87,7 +87,7 @@ const _t = { class: "konnectio-event-listing-action" }, $t = { class: "konnectio
87
87
  getTemplateAvailability: u,
88
88
  getEventAvailability: v,
89
89
  isEventListingLoading: k
90
- } = j(), y = Re(0), C = le(() => k(i.listingId)), D = () => {
90
+ } = j(), y = Re(0), C = le(() => k(i.listingId)), V = () => {
91
91
  y.value > 0 ? (b.value = i.listingId, _.value = y.value, u(i.callback)) : d({
92
92
  type: "error",
93
93
  message: n("alert.error.selectPeople")
@@ -98,7 +98,7 @@ const _t = { class: "konnectio-event-listing-action" }, $t = { class: "konnectio
98
98
  message: n("alert.error.selectPeople")
99
99
  });
100
100
  };
101
- return (s, g) => (a(), T(ot, {
101
+ return (s, g) => (a(), T(lt, {
102
102
  type: "event",
103
103
  "listing-id": s.listingId,
104
104
  gallery: s.gallery,
@@ -112,7 +112,7 @@ const _t = { class: "konnectio-event-listing-action" }, $t = { class: "konnectio
112
112
  ne(s.$slots, "description", { maxNumberOfPeople: e(l) }, void 0, !0)
113
113
  ]),
114
114
  action: p(() => [
115
- t("div", _t, [
115
+ t("div", $t, [
116
116
  f(oe, {
117
117
  modelValue: y.value,
118
118
  "onUpdate:modelValue": g[0] || (g[0] = (O) => y.value = O),
@@ -124,12 +124,12 @@ const _t = { class: "konnectio-event-listing-action" }, $t = { class: "konnectio
124
124
  "min-value": s.type === "event" ? 0 : s.minimumPersonCount,
125
125
  "max-value": s.type === "event" ? s.maxOnlineReservationLimit || 1 / 0 : e(l)
126
126
  }, null, 8, ["modelValue", "label", "description", "min-value", "max-value"]),
127
- t("div", $t, [
127
+ t("div", wt, [
128
128
  f(me, {
129
129
  label: s.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
130
130
  disabled: s.soldOut,
131
131
  "is-loading": C.value,
132
- onClickEvent: g[1] || (g[1] = (O) => s.type === "event" ? P() : D())
132
+ onClickEvent: g[1] || (g[1] = (O) => s.type === "event" ? P() : V())
133
133
  }, null, 8, ["label", "disabled", "is-loading"])
134
134
  ])
135
135
  ])
@@ -137,8 +137,8 @@ const _t = { class: "konnectio-event-listing-action" }, $t = { class: "konnectio
137
137
  _: 3
138
138
  }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
139
139
  }
140
- }), Ae = /* @__PURE__ */ se(wt, [["__scopeId", "data-v-38f9c15b"]]), Et = ["innerHTML"], Tt = { class: "konnectio-event-listing-information-new" };
141
- const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-button" }, Pt = /* @__PURE__ */ Y({
140
+ }), Ae = /* @__PURE__ */ se(Et, [["__scopeId", "data-v-38f9c15b"]]), Tt = ["innerHTML"], Dt = { class: "konnectio-event-listing-information-new" };
141
+ const Vt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-button" }, At = /* @__PURE__ */ Y({
142
142
  __name: "Event",
143
143
  props: {
144
144
  name: {},
@@ -162,7 +162,7 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
162
162
  setup(c) {
163
163
  const n = c, { t: i } = ae(), d = le(() => {
164
164
  const l = n.length.split(":");
165
- return console.log(l), yt(
165
+ return console.log(l), _t(
166
166
  new Date(2e3, 0, 1, Number(l[0]), Number(l[1]), 0),
167
167
  new Date(2e3, 0, 1, 0, 0, 0)
168
168
  );
@@ -182,9 +182,9 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
182
182
  description: p(() => [
183
183
  l.description ? (a(), m("p", {
184
184
  key: 0,
185
- innerHTML: e(Ve)(l.description)
186
- }, null, 8, Et)) : h("", !0),
187
- t("ul", Tt, [
185
+ innerHTML: e(De)(l.description)
186
+ }, null, 8, Tt)) : h("", !0),
187
+ t("ul", Dt, [
188
188
  h("", !0),
189
189
  t("li", Vt, [
190
190
  t("div", null, [
@@ -196,7 +196,7 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
196
196
  ]),
197
197
  t("span", null, o(d.value), 1)
198
198
  ]),
199
- t("li", Dt, [
199
+ t("li", Pt, [
200
200
  t("div", null, [
201
201
  f(pe, {
202
202
  icon: "calendar-clock",
@@ -211,7 +211,7 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
211
211
  _: 1
212
212
  }, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "to-date", "callback"]));
213
213
  }
214
- }), At = /* @__PURE__ */ se(Pt, [["__scopeId", "data-v-148bf11e"]]), Ct = ["innerHTML"], Ot = /* @__PURE__ */ Y({
214
+ }), Ct = /* @__PURE__ */ se(At, [["__scopeId", "data-v-148bf11e"]]), Ot = ["innerHTML"], Bt = /* @__PURE__ */ Y({
215
215
  __name: "Template",
216
216
  props: {
217
217
  name: {},
@@ -250,13 +250,13 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
250
250
  description: p(() => [
251
251
  d.description ? (a(), m("p", {
252
252
  key: 0,
253
- innerHTML: e(Ve)(d.description)
254
- }, null, 8, Ct)) : h("", !0)
253
+ innerHTML: e(De)(d.description)
254
+ }, null, 8, Ot)) : h("", !0)
255
255
  ]),
256
256
  _: 1
257
257
  }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
258
258
  }
259
- }), Bt = { key: 0 }, St = { key: 1 }, Lt = { key: 2 }, It = { key: 3 }, Nt = { key: 4 }, Mt = { key: 5 }, Rt = { key: 0 }, de = /* @__PURE__ */ Y({
259
+ }), St = { key: 0 }, Lt = { key: 1 }, It = { key: 2 }, Nt = { key: 3 }, Mt = { key: 4 }, Rt = { key: 5 }, Ut = { key: 0 }, de = /* @__PURE__ */ Y({
260
260
  __name: "EventReservationForm",
261
261
  props: {
262
262
  showGiftCard: { type: Boolean, default: !1 },
@@ -274,20 +274,20 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
274
274
  fromDate: k,
275
275
  tableBasePrice: y,
276
276
  getTemplateData: C,
277
- basePrice: D,
277
+ basePrice: V,
278
278
  totalPrice: P,
279
279
  weekendFee: s,
280
280
  roomUpgrade: g,
281
281
  discountCode: O
282
- } = H(j()), { totalAddonPrice: W, validateDiscountCode: ie } = j(), { currency: X } = H(De());
283
- return (S, x) => (a(), T(lt, {
282
+ } = H(j()), { totalAddonPrice: W, validateDiscountCode: ie } = j(), { currency: X } = H(Ve());
283
+ return (S, x) => (a(), T(at, {
284
284
  "discount-code": e(O),
285
285
  "onUpdate:discountCode": x[0] || (x[0] = (F) => M(O) ? O.value = F : null),
286
286
  "validate-discount-code": e(ie),
287
287
  "show-gift-card": S.showGiftCard,
288
288
  "show-terms-notice": S.showTermsNotice,
289
289
  "is-sidebar-loading": !e(d),
290
- "base-price": e(D),
290
+ "base-price": e(V),
291
291
  "total-price": e(P),
292
292
  "weekend-fee": e(s),
293
293
  "room-upgrade": e(g),
@@ -297,11 +297,11 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
297
297
  ne(S.$slots, "form")
298
298
  ]),
299
299
  "reservation-summary": p(() => [
300
- e(u) ? (a(), m("li", Bt, [
300
+ e(u) ? (a(), m("li", St, [
301
301
  t("span", null, o(e(n)("booking.reservation.arrival")), 1),
302
302
  t("b", null, o(e(ke)(e(k))), 1)
303
303
  ])) : h("", !0),
304
- e(u) ? (a(), m("li", St, [
304
+ e(u) ? (a(), m("li", Lt, [
305
305
  t("span", null, o(e(n)("booking.reservation.departure")), 1),
306
306
  t("b", null, o(e(ke)(e(k), e($))), 1)
307
307
  ])) : h("", !0),
@@ -309,25 +309,25 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
309
309
  t("span", null, o(e(n)("event.numberOfGuests")), 1),
310
310
  t("b", null, o(e(_)), 1)
311
311
  ]),
312
- e(u) ? (a(), m("li", Lt, [
312
+ e(u) ? (a(), m("li", It, [
313
313
  t("span", null, o(e(n)("event.numberOfRooms")), 1),
314
314
  t("b", null, o(e(b)), 1)
315
315
  ])) : h("", !0),
316
- e(u) ? (a(), m("li", It, [
316
+ e(u) ? (a(), m("li", Nt, [
317
317
  t("span", null, o(e(n)("event.numberOfDays")), 1),
318
318
  t("b", null, o(e($)), 1)
319
319
  ])) : h("", !0),
320
- !e(u) && e(l) ? (a(), m("li", Nt, [
320
+ !e(u) && e(l) ? (a(), m("li", Mt, [
321
321
  t("span", null, o(e(n)("event.startOfEvent")), 1),
322
322
  t("b", null, o(e(ve)(e(l))), 1)
323
323
  ])) : h("", !0),
324
- !e(u) && e(v) ? (a(), m("li", Mt, [
324
+ !e(u) && e(v) ? (a(), m("li", Rt, [
325
325
  t("span", null, o(e(n)("event.lengthOfEvent")), 1),
326
326
  t("b", null, o(e(ve)(e(v))), 1)
327
327
  ])) : h("", !0)
328
328
  ]),
329
329
  "price-summary": p(() => [
330
- !e(u) && e(y) > 0 ? (a(), m("li", Rt, [
330
+ !e(u) && e(y) > 0 ? (a(), m("li", Ut, [
331
331
  t("span", null, o(e(n)("booking.availability.basePrice")), 1),
332
332
  t("b", null, o(e(R)(e(y), e(X))), 1)
333
333
  ])) : h("", !0),
@@ -350,29 +350,29 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
350
350
  } : void 0
351
351
  ]), 1032, ["discount-code", "validate-discount-code", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "notice"]));
352
352
  }
353
- }), Ut = { class: "event-skeleton" }, Ft = { class: "event-skeleton-content" }, qt = { class: "event-skeleton-sidebar" }, zt = /* @__PURE__ */ Y({
353
+ }), Ft = { class: "event-skeleton" }, qt = { class: "event-skeleton-content" }, zt = { class: "event-skeleton-sidebar" }, Gt = /* @__PURE__ */ Y({
354
354
  __name: "EventSkeleton",
355
355
  setup(c) {
356
- return (n, i) => (a(), m("div", Ut, [
357
- t("div", Ft, [
356
+ return (n, i) => (a(), m("div", Ft, [
357
+ t("div", qt, [
358
358
  f(Pe)
359
359
  ]),
360
- t("div", qt, [
360
+ t("div", zt, [
361
361
  h("", !0),
362
- f(at)
362
+ f(st)
363
363
  ])
364
364
  ]));
365
365
  }
366
- }), Gt = /* @__PURE__ */ se(zt, [["__scopeId", "data-v-3e15c4e3"]]), U = (c) => (Ge("data-v-fbb94947"), c = c(), He(), c), Ht = {
366
+ }), Ht = /* @__PURE__ */ se(Gt, [["__scopeId", "data-v-3e15c4e3"]]), U = (c) => (Ge("data-v-1369b33a"), c = c(), He(), c), jt = {
367
367
  key: 0,
368
- id: "fresh-booking-event-overview"
368
+ id: "konnectio-event-listings-wrapper"
369
369
  };
370
- const jt = { class: "fresh-booking-event-listings" };
371
- const Yt = { class: "fresh-booking-event-listings" }, Zt = { class: "konnectio-panel" }, Jt = {
370
+ const Yt = { class: "konnectio-event-listings" };
371
+ const Zt = { class: "konnectio-event-listings" }, Jt = { class: "konnectio-panel" }, Kt = {
372
372
  key: 1,
373
373
  id: "fresh-booking-event-addons"
374
- }, Kt = { class: "konnectio-table with-lines" }, Qt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), Wt = { class: "konnectio-event-addons-price" }, Xt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), xt = { class: "konnectio-event-addons-input" }, en = { class: "konnectio-event-addons-price" }, tn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), nn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), on = { class: "konnectio-event-addons-price" }, ln = { key: 2 };
375
- const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class: "konnectio-table with-lines" }, un = /* @__PURE__ */ U(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), cn = { class: "konnectio-event-addons-price" }, dn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), mn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), pn = { class: "konnectio-event-addons-input" }, vn = { class: "konnectio-event-addons-price" }, fn = ["onClick"], bn = { class: "konnectio-panel" }, gn = ["onClick"], hn = /* @__PURE__ */ Y({
374
+ }, Qt = { class: "konnectio-table with-lines" }, Wt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), Xt = { class: "konnectio-event-addons-price" }, xt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), en = { class: "konnectio-event-addons-input" }, tn = { class: "konnectio-event-addons-price" }, nn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), on = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), ln = { class: "konnectio-event-addons-price" }, an = { key: 2 };
375
+ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class: "konnectio-table with-lines" }, cn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), dn = { class: "konnectio-event-addons-price" }, mn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), pn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), vn = { class: "konnectio-event-addons-input" }, fn = { class: "konnectio-event-addons-price" }, bn = ["onClick"], gn = { class: "konnectio-panel" }, hn = ["onClick"], kn = /* @__PURE__ */ Y({
376
376
  name: "EventLayout",
377
377
  __name: "Event",
378
378
  props: {
@@ -393,7 +393,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
393
393
  hasEvents: k,
394
394
  hasTemplates: y,
395
395
  getEvents: C,
396
- getTemplates: D,
396
+ getTemplates: V,
397
397
  getEventData: P,
398
398
  getTemplateData: s,
399
399
  getEventTableData: g,
@@ -411,7 +411,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
411
411
  localAddonPrice: fe,
412
412
  totalAddonPrice: Se,
413
413
  reset: be
414
- } = j(), { currency: Z } = H(De()), Le = le(() => {
414
+ } = j(), { currency: Z } = H(Ve()), Le = le(() => {
415
415
  const L = [];
416
416
  return g.value && g.value.forEach((w) => {
417
417
  L.push({
@@ -429,30 +429,30 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
429
429
  default: p(() => [
430
430
  (a(), T(ze, { onResolve: Ie }, {
431
431
  default: p(() => [
432
- f(mt, {
432
+ f(pt, {
433
433
  id: "konnectio-event-module",
434
434
  "access-token": L.accessToken,
435
435
  callback: e(Ce)
436
436
  }, {
437
437
  default: p(() => [
438
- f(st, null, {
438
+ f(it, null, {
439
439
  availability: p(({ next: q }) => [
440
440
  f(de, null, {
441
441
  sidebar: p(() => [
442
- f(dt, { redirection: !1 })
442
+ f(mt, { redirection: !1 })
443
443
  ]),
444
444
  form: p(() => [
445
- e(x) && e(ie) ? (a(), m("div", Ht, [
445
+ e(x) && e(ie) ? (a(), m("div", jt, [
446
446
  e(k) && L.onlyShow !== "templates" ? (a(), m(B, { key: 0 }, [
447
447
  h("", !0),
448
- t("ul", jt, [
448
+ t("ul", Yt, [
449
449
  (a(!0), m(B, null, z(e(C), ({
450
450
  id: A,
451
451
  days: r,
452
452
  name: I,
453
453
  timeFrom: N,
454
454
  timeTo: E,
455
- fromDate: V,
455
+ fromDate: D,
456
456
  toDate: J,
457
457
  tableGroupId: K,
458
458
  description: re,
@@ -460,7 +460,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
460
460
  length: Q,
461
461
  images: Ne,
462
462
  maxOnlineReservationLimit: Me
463
- }) => (a(), T(At, {
463
+ }) => (a(), T(Ct, {
464
464
  key: A,
465
465
  type: "event",
466
466
  "listing-id": A,
@@ -470,7 +470,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
470
470
  length: Q,
471
471
  gallery: Ne,
472
472
  days: r,
473
- "from-date": V,
473
+ "from-date": D,
474
474
  "to-date": J,
475
475
  "max-online-reservation-limit": Me,
476
476
  "time-from": N,
@@ -482,17 +482,17 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
482
482
  ], 64)) : h("", !0),
483
483
  e(y) && L.onlyShow !== "events" ? (a(), m(B, { key: 1 }, [
484
484
  h("", !0),
485
- t("ul", Yt, [
486
- (a(!0), m(B, null, z(e(D), ({
485
+ t("ul", Zt, [
486
+ (a(!0), m(B, null, z(e(V), ({
487
487
  id: A,
488
488
  name: r,
489
489
  fromDate: I,
490
490
  toDate: N,
491
491
  minimumPersonCount: E,
492
- fromPrice: V,
492
+ fromPrice: D,
493
493
  description: J,
494
494
  imageUrl: K
495
- }) => (a(), T(Ot, {
495
+ }) => (a(), T(Bt, {
496
496
  key: A,
497
497
  "listing-id": A,
498
498
  name: r,
@@ -501,7 +501,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
501
501
  "from-date": I,
502
502
  "to-date": N,
503
503
  "minimum-person-count": E,
504
- fromPrice: V,
504
+ fromPrice: D,
505
505
  callback: q
506
506
  }, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
507
507
  ])
@@ -514,7 +514,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
514
514
  addons: p(({ next: q, prev: A }) => [
515
515
  e(X) ? (a(), T(de, { key: 0 }, {
516
516
  form: p(() => [
517
- t("form", Zt, [
517
+ t("form", Jt, [
518
518
  t("h2", null, [
519
519
  t("span", null, o(e(n)("booking.reservation.addons")), 1)
520
520
  ]),
@@ -526,7 +526,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
526
526
  "min-value": 1,
527
527
  required: ""
528
528
  }, null, 8, ["modelValue", "label"])) : h("", !0),
529
- e(s) && e(s).length > 0 ? (a(), m("ul", Jt, [
529
+ e(s) && e(s).length > 0 ? (a(), m("ul", Kt, [
530
530
  (a(!0), m(B, null, z(e(s), ({
531
531
  roomGroupId: r,
532
532
  addons: I,
@@ -542,55 +542,55 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
542
542
  }),
543
543
  ge(" " + o(N) + ") ", 1)
544
544
  ]),
545
- t("table", Kt, [
545
+ t("table", Qt, [
546
546
  t("thead", null, [
547
547
  t("tr", null, [
548
548
  t("th", null, [
549
549
  t("span", null, o(e(n)("booking.reservation.addons")), 1)
550
550
  ]),
551
- Qt,
552
- t("th", Wt, [
551
+ Wt,
552
+ t("th", Xt, [
553
553
  t("span", null, o(e(n)("booking.availability.price")), 1)
554
554
  ])
555
555
  ])
556
556
  ]),
557
557
  t("tbody", null, [
558
558
  (a(!0), m(B, null, z(I, ({
559
- id: V,
559
+ id: D,
560
560
  cardinality: J,
561
561
  name: K,
562
562
  price: re,
563
563
  quantityStrategy: ue
564
- }) => (a(), m("tr", { key: V }, [
564
+ }) => (a(), m("tr", { key: D }, [
565
565
  t("td", null, [
566
566
  t("b", null, o(K), 1),
567
- Xt,
567
+ xt,
568
568
  t("span", null, o(e(R)(re, e(Z))) + " " + o(e(We)(ue)), 1)
569
569
  ]),
570
- t("td", xt, [
570
+ t("td", en, [
571
571
  J === 3 ? (a(), T(oe, {
572
572
  key: 0,
573
- modelValue: e(i)[`${r}.${V}.${E}`],
574
- "onUpdate:modelValue": (Q) => e(i)[`${r}.${V}.${E}`] = Q,
573
+ modelValue: e(i)[`${r}.${D}.${E}`],
574
+ "onUpdate:modelValue": (Q) => e(i)[`${r}.${D}.${E}`] = Q,
575
575
  small: !0,
576
576
  "min-value": 0
577
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), T(ft, {
577
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), T(bt, {
578
578
  key: 1,
579
- modelValue: e(i)[`${r}.${V}.${E}`],
580
- "onUpdate:modelValue": (Q) => e(i)[`${r}.${V}.${E}`] = Q,
579
+ modelValue: e(i)[`${r}.${D}.${E}`],
580
+ "onUpdate:modelValue": (Q) => e(i)[`${r}.${D}.${E}`] = Q,
581
581
  numeric: !0
582
582
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
583
583
  ]),
584
- t("td", en, [
585
- t("span", null, o(e(R)(e(fe)(V, r, E), e(Z))), 1)
584
+ t("td", tn, [
585
+ t("span", null, o(e(R)(e(fe)(D, r, E), e(Z))), 1)
586
586
  ])
587
587
  ]))), 128))
588
588
  ]),
589
589
  t("tfoot", null, [
590
590
  t("tr", null, [
591
- tn,
592
591
  nn,
593
- t("td", on, [
592
+ on,
593
+ t("td", ln, [
594
594
  t("u", null, [
595
595
  t("span", null, o(e(R)(e(Se)(r, E), e(Z))), 1)
596
596
  ])
@@ -600,9 +600,9 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
600
600
  ])
601
601
  ]))), 128))
602
602
  ])) : h("", !0),
603
- e(W) !== e(ye).FullDayEvent && !e(S) ? (a(), m("div", ln, [
603
+ e(W) !== e(ye).FullDayEvent && !e(S) ? (a(), m("div", an, [
604
604
  h("", !0),
605
- f(it, {
605
+ f(rt, {
606
606
  modelValue: e(v),
607
607
  "onUpdate:modelValue": w[1] || (w[1] = (r) => M(v) ? v.value = r : null),
608
608
  label: e(n)("event.selectArrivalTime"),
@@ -611,18 +611,18 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
611
611
  required: ""
612
612
  }, null, 8, ["modelValue", "label", "checkboxes"])
613
613
  ])) : h("", !0),
614
- e(O) ? (a(), m("div", an, [
615
- t("label", sn, [
614
+ e(O) ? (a(), m("div", sn, [
615
+ t("label", rn, [
616
616
  t("span", null, o(e(n)("event.selectProducts")), 1)
617
617
  ]),
618
- t("table", rn, [
618
+ t("table", un, [
619
619
  t("thead", null, [
620
620
  t("tr", null, [
621
621
  t("th", null, [
622
622
  t("span", null, o(e(n)("booking.reservation.addons")), 1)
623
623
  ]),
624
- un,
625
- t("th", cn, [
624
+ cn,
625
+ t("th", dn, [
626
626
  t("span", null, o(e(n)("booking.availability.price")), 1)
627
627
  ])
628
628
  ])
@@ -633,20 +633,20 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
633
633
  t("b", null, [
634
634
  t("span", null, o(I), 1)
635
635
  ]),
636
- dn,
637
- t("span", null, o(E), 1),
638
636
  mn,
637
+ t("span", null, o(E), 1),
638
+ pn,
639
639
  t("span", null, o(e(R)(N, e(Z))), 1)
640
640
  ]),
641
- t("td", pn, [
641
+ t("td", vn, [
642
642
  f(oe, {
643
643
  modelValue: e(d)[r],
644
- "onUpdate:modelValue": (V) => e(d)[r] = V,
644
+ "onUpdate:modelValue": (D) => e(d)[r] = D,
645
645
  small: !0,
646
646
  "min-value": 0
647
647
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
648
648
  ]),
649
- t("td", vn, [
649
+ t("td", fn, [
650
650
  t("span", null, o(e(R)(e(fe)(r), e(Z))), 1)
651
651
  ])
652
652
  ]))), 128))
@@ -666,7 +666,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
666
666
  onClick: he((r) => e(be)(A), ["prevent"])
667
667
  }, [
668
668
  t("span", null, o(e(n)("general.goAStepBack")), 1)
669
- ], 8, fn)
669
+ ], 8, bn)
670
670
  ]),
671
671
  _: 2
672
672
  }, 1024)) : h("", !0)
@@ -677,7 +677,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
677
677
  "show-gift-card": !0
678
678
  }, {
679
679
  form: p(() => [
680
- t("form", bn, [
680
+ t("form", gn, [
681
681
  t("h2", null, [
682
682
  t("span", null, o(e(n)("booking.reservation.detailsTitle")), 1)
683
683
  ]),
@@ -701,7 +701,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
701
701
  placeholder: e(n)("booking.reservation.emailPlaceholder"),
702
702
  required: ""
703
703
  }, null, 8, ["modelValue", "label", "placeholder"]),
704
- f(bt, {
704
+ f(gt, {
705
705
  modelValue: e(b),
706
706
  "onUpdate:modelValue": w[4] || (w[4] = (r) => M(b) ? b.value = r : null),
707
707
  label: e(n)("booking.reservation.phone"),
@@ -731,16 +731,16 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
731
731
  onClick: he((r) => e(be)(A), ["prevent"])
732
732
  }, [
733
733
  t("span", null, o(e(n)("general.goAStepBack")), 1)
734
- ], 8, gn)
734
+ ], 8, hn)
735
735
  ]),
736
736
  _: 2
737
737
  }, 1024)
738
738
  ]),
739
739
  payment: p(() => [
740
- f(gt)
740
+ f(ht)
741
741
  ]),
742
742
  confirmation: p(() => [
743
- f(rt, {
743
+ f(ut, {
744
744
  message: e(n)("event.confirmationMessage")
745
745
  }, null, 8, ["message"])
746
746
  ]),
@@ -751,7 +751,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
751
751
  }, 8, ["access-token", "callback"])
752
752
  ]),
753
753
  fallback: p(() => [
754
- f(Gt)
754
+ f(Ht)
755
755
  ]),
756
756
  _: 1
757
757
  }))
@@ -759,8 +759,8 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
759
759
  _: 1
760
760
  }, 8, ["styling"]));
761
761
  }
762
- }), te = /* @__PURE__ */ se(hn, [["__scopeId", "data-v-fbb94947"]]), kn = xe(), yn = nt();
763
- class _n extends HTMLElement {
762
+ }), te = /* @__PURE__ */ se(kn, [["__scopeId", "data-v-1369b33a"]]), yn = xe(), _n = ot();
763
+ class $n extends HTMLElement {
764
764
  vueApp;
765
765
  constructor() {
766
766
  super();
@@ -782,13 +782,13 @@ class _n extends HTMLElement {
782
782
  let v = this.attributes.getNamedItem(u)?.value;
783
783
  b.hasOwnProperty(u) && (v = b[u]), _[u] = v;
784
784
  }
785
- this.vueApp = je(te, _), this.vueApp.provide("emitter", yn), this.vueApp.use(et), this.vueApp.use(kn), this.vueApp.use(ut), this.vueApp.use(ct), this.vueApp.use(tt, { bootstrap: !0 });
785
+ this.vueApp = je(te, _), et(this.vueApp), this.vueApp.provide("emitter", _n), this.vueApp.use(tt), this.vueApp.use(yn), this.vueApp.use(ct), this.vueApp.use(dt), this.vueApp.use(nt, { bootstrap: !0 });
786
786
  const $ = document.createElement("div");
787
787
  this.vueApp.mount($), this.appendChild($.children[0]);
788
788
  }
789
789
  }
790
- window.customElements.define("konnectio-event", _n);
790
+ window.customElements.define("konnectio-event", $n);
791
791
  export {
792
- _n as default
792
+ $n as default
793
793
  };
794
794
  //# sourceMappingURL=event.js.map
package/dist/event.js.br CHANGED
Binary file