@konnectio/core 4.0.56-rc46 → 4.0.56-rc48

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-l77AHDt_.js → ActionField-BmdEaU7R.js} +2 -2
  2. package/dist/ActionField-BmdEaU7R.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-6QuYlrqw.js → AvailabilitySkeleton-D-WEI9Yg.js} +4 -4
  4. package/dist/AvailabilitySkeleton-D-WEI9Yg.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CV70h5Ny.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DT5BjPBT.js} +2 -2
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DT5BjPBT.js.br +0 -0
  7. package/dist/{CheckoutWindow-CNF_LAo6.js → CheckoutWindow-DdkwNLy3.js} +2 -2
  8. package/dist/CheckoutWindow-DdkwNLy3.js.br +0 -0
  9. package/dist/{ErrorMessage-B0Hm-dJ0.js → ErrorMessage-Cyrsqt8X.js} +2 -2
  10. package/dist/ErrorMessage-Cyrsqt8X.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-BfhYKChb.js → EventAvailabilityForm-BBVSXf1v.js} +140 -140
  12. package/dist/EventAvailabilityForm-BBVSXf1v.js.br +0 -0
  13. package/dist/{Field-BJ8nOhMT.js → Field-cLYq6dB7.js} +2 -2
  14. package/dist/Field-cLYq6dB7.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-eIGiZxmD.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DdW6bv1b.js} +10 -10
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DdW6bv1b.js.br +0 -0
  17. package/dist/{TermsOfService-f7DfHbk2.js → TermsOfService-CmEZmmhy.js} +3 -3
  18. package/dist/TermsOfService-CmEZmmhy.js.br +0 -0
  19. package/dist/{_-CaC826yR.js → _-BIlhnQ1K.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-BLztxup-.js → _.vue_vue_type_style_index_0_lang-CYFSipoN.js} +2 -2
  21. package/dist/_.vue_vue_type_style_index_0_lang-CYFSipoN.js.br +0 -0
  22. package/dist/availability.js +5 -5
  23. package/dist/availability.js.br +0 -0
  24. package/dist/event.js +107 -102
  25. package/dist/event.js.br +0 -0
  26. package/dist/gift-card-validation.js +6 -6
  27. package/dist/gift-card-validation.js.br +0 -0
  28. package/dist/gift-card.js +7 -7
  29. package/dist/gift-card.js.br +0 -0
  30. package/dist/{giftCard-DhbT2_l0.js → giftCard-B9vV1-Jc.js} +5 -5
  31. package/dist/giftCard-B9vV1-Jc.js.br +0 -0
  32. package/dist/hotel.js +706 -702
  33. package/dist/hotel.js.br +0 -0
  34. package/dist/{masonry.plugin-CVpZ_aQu.js → masonry.plugin-CpLUlFxC.js} +265 -279
  35. package/dist/masonry.plugin-CpLUlFxC.js.br +0 -0
  36. package/dist/navigation.js +2 -2
  37. package/dist/polyfill.js +193 -193
  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/package.json +2 -2
  42. package/dist/ActionField-l77AHDt_.js.br +0 -0
  43. package/dist/AvailabilitySkeleton-6QuYlrqw.js.br +0 -0
  44. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CV70h5Ny.js.br +0 -0
  45. package/dist/CheckoutWindow-CNF_LAo6.js.br +0 -0
  46. package/dist/ErrorMessage-B0Hm-dJ0.js.br +0 -0
  47. package/dist/EventAvailabilityForm-BfhYKChb.js.br +0 -0
  48. package/dist/Field-BJ8nOhMT.js.br +0 -0
  49. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-eIGiZxmD.js.br +0 -0
  50. package/dist/TermsOfService-f7DfHbk2.js.br +0 -0
  51. package/dist/_.vue_vue_type_style_index_0_lang-BLztxup-.js.br +0 -0
  52. package/dist/giftCard-DhbT2_l0.js.br +0 -0
  53. package/dist/masonry.plugin-CVpZ_aQu.js.br +0 -0
package/dist/event.js CHANGED
@@ -1,30 +1,30 @@
1
- import { d as Y, r as Me, 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 Re, C as Ue, A as z, F as B, x as M, q as Fe, S as qe, D as ge, i as he, p as ze, j as Ge, k as He } from "./_commonjsHelpers-ytV6SVHa.js";
2
- import { h as ae, a as je, s as H, H as Ye, l as oe, C as me, J as Ze, _ as se, j as Ve, z as pe, K as Je, b as De, B as ke, M as ve, A as R, m as Ke, O as ye, N as Qe, T as ce, n as We, o as Xe, p as xe, F as et, q as tt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-eIGiZxmD.js";
3
- import { B as nt, R as ot, L as Pe, S as lt, M as at, C as st, T as it, V as rt, G as ut } from "./masonry.plugin-CVpZ_aQu.js";
4
- import { u as j, E as ct } from "./EventAvailabilityForm-BfhYKChb.js";
5
- import { _ as dt } from "./_.vue_vue_type_style_index_0_lang-BLztxup-.js";
6
- import { t as G, e as mt, g as _e, m as $e, a as we, b as Ee, c as pt, d as Te } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CV70h5Ny.js";
7
- import { a as vt, P as ft, C as bt } from "./CheckoutWindow-CNF_LAo6.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 "./_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";
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] = "f9b6b90d-795b-4469-83b3-a1139df36daf", c._sentryDebugIdIdentifier = "sentry-dbid-f9b6b90d-795b-4469-83b3-a1139df36daf");
12
+ n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "27a29f29-94db-44c9-8928-901e566085aa", c._sentryDebugIdIdentifier = "sentry-dbid-27a29f29-94db-44c9-8928-901e566085aa");
13
13
  } catch {
14
14
  }
15
15
  })();
16
- function gt(c, n) {
16
+ function ht(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 ht(c) {
20
+ function kt(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 kt(c, n, i) {
27
- const d = pt(), l = i?.locale ?? d.locale ?? mt, _ = gt(c, n);
26
+ function yt(c, n, i) {
27
+ const d = vt(), l = i?.locale ?? d.locale ?? pt, _ = ht(c, n);
28
28
  if (isNaN(_))
29
29
  throw new RangeError("Invalid time value");
30
30
  const b = Object.assign({}, i, {
@@ -33,7 +33,7 @@ function kt(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 = ht(i?.roundingMethod ?? "round"), k = u.getTime() - $.getTime(), y = k / Te, C = _e(u) - _e($), D = (k - C) / Te, P = i?.unit;
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;
37
37
  let s;
38
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") {
39
39
  const g = v(k / 1e3);
@@ -55,7 +55,7 @@ function kt(c, n, i) {
55
55
  return l.formatDistance("xYears", g, b);
56
56
  }
57
57
  }
58
- const yt = { class: "konnectio-event-listing-action" }, _t = { class: "konnectio-event-listing-action-button" }, $t = /* @__PURE__ */ Y({
58
+ const _t = { class: "konnectio-event-listing-action" }, $t = { class: "konnectio-event-listing-action-button" }, wt = /* @__PURE__ */ Y({
59
59
  __name: "_",
60
60
  props: {
61
61
  name: {},
@@ -78,7 +78,7 @@ const yt = { class: "konnectio-event-listing-action" }, _t = { class: "konnectio
78
78
  callback: {}
79
79
  },
80
80
  setup(c) {
81
- const { t: n } = ae(), i = c, { display: d } = je(), {
81
+ const { t: n } = ae(), i = c, { display: d } = Ye(), {
82
82
  maxNumberOfPeople: l,
83
83
  numberOfPeople: _,
84
84
  eventId: b,
@@ -87,7 +87,7 @@ const yt = { class: "konnectio-event-listing-action" }, _t = { class: "konnectio
87
87
  getTemplateAvailability: u,
88
88
  getEventAvailability: v,
89
89
  isEventListingLoading: k
90
- } = j(), y = Me(0), C = le(() => k(i.listingId)), D = () => {
90
+ } = j(), y = Re(0), C = le(() => k(i.listingId)), D = () => {
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 yt = { 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(nt, {
101
+ return (s, g) => (a(), T(ot, {
102
102
  type: "event",
103
103
  "listing-id": s.listingId,
104
104
  gallery: s.gallery,
@@ -106,13 +106,13 @@ const yt = { class: "konnectio-event-listing-action" }, _t = { class: "konnectio
106
106
  description: s.description,
107
107
  "prices-from": s.fromPrice,
108
108
  "to-date": s.toDate,
109
- layout: e(Ze).Event
109
+ layout: e(Je).Event
110
110
  }, {
111
111
  description: p(() => [
112
112
  ne(s.$slots, "description", { maxNumberOfPeople: e(l) }, void 0, !0)
113
113
  ]),
114
114
  action: p(() => [
115
- t("div", yt, [
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),
@@ -120,11 +120,11 @@ const yt = { class: "konnectio-event-listing-action" }, _t = { class: "konnectio
120
120
  icon: "users",
121
121
  "icon-type": "fas",
122
122
  "icon-placement": "label",
123
- description: s.maxGuests <= 20 ? `${e(n)("general.availableFor")}: 1 - ${s.maxGuests} ${e(Ye)(e(n)("general.guests"))}` : void 0,
123
+ description: s.maxGuests <= 20 ? `${e(n)("general.availableFor")}: 1 - ${s.maxGuests} ${e(Ze)(e(n)("general.guests"))}` : void 0,
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", $t, [
128
128
  f(me, {
129
129
  label: s.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
130
130
  disabled: s.soldOut,
@@ -137,8 +137,8 @@ const yt = { 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($t, [["__scopeId", "data-v-38f9c15b"]]), wt = ["innerHTML"], Et = { class: "konnectio-event-listing-information-new" };
141
- const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-button" }, Dt = /* @__PURE__ */ Y({
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({
142
142
  __name: "Event",
143
143
  props: {
144
144
  name: {},
@@ -162,7 +162,7 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { 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), kt(
165
+ return console.log(l), yt(
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
  );
@@ -183,10 +183,10 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
183
183
  l.description ? (a(), m("p", {
184
184
  key: 0,
185
185
  innerHTML: e(Ve)(l.description)
186
- }, null, 8, wt)) : h("", !0),
187
- t("ul", Et, [
186
+ }, null, 8, Et)) : h("", !0),
187
+ t("ul", Tt, [
188
188
  h("", !0),
189
- t("li", Tt, [
189
+ t("li", Vt, [
190
190
  t("div", null, [
191
191
  f(pe, {
192
192
  icon: "calendar-clock",
@@ -196,7 +196,7 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
196
196
  ]),
197
197
  t("span", null, o(d.value), 1)
198
198
  ]),
199
- t("li", Vt, [
199
+ t("li", Dt, [
200
200
  t("div", null, [
201
201
  f(pe, {
202
202
  icon: "calendar-clock",
@@ -204,14 +204,14 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
204
204
  }),
205
205
  t("span", null, o(e(i)("event.startAndEndTime")), 1)
206
206
  ]),
207
- t("span", null, o(e(Je)(l.timeFrom, l.timeTo)), 1)
207
+ t("span", null, o(e(Ke)(l.timeFrom, l.timeTo)), 1)
208
208
  ])
209
209
  ])
210
210
  ]),
211
211
  _: 1
212
212
  }, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "to-date", "callback"]));
213
213
  }
214
- }), Pt = /* @__PURE__ */ se(Dt, [["__scopeId", "data-v-148bf11e"]]), At = ["innerHTML"], Ct = /* @__PURE__ */ Y({
214
+ }), At = /* @__PURE__ */ se(Pt, [["__scopeId", "data-v-148bf11e"]]), Ct = ["innerHTML"], Ot = /* @__PURE__ */ Y({
215
215
  __name: "Template",
216
216
  props: {
217
217
  name: {},
@@ -251,19 +251,19 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
251
251
  d.description ? (a(), m("p", {
252
252
  key: 0,
253
253
  innerHTML: e(Ve)(d.description)
254
- }, null, 8, At)) : h("", !0)
254
+ }, null, 8, Ct)) : h("", !0)
255
255
  ]),
256
256
  _: 1
257
257
  }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
258
258
  }
259
- }), Ot = { key: 0 }, Bt = { key: 1 }, St = { key: 2 }, Lt = { key: 3 }, It = { key: 4 }, Nt = { key: 5 }, Mt = { key: 0 }, de = /* @__PURE__ */ Y({
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({
260
260
  __name: "EventReservationForm",
261
261
  props: {
262
262
  showGiftCard: { type: Boolean, default: !1 },
263
263
  showTermsNotice: { type: Boolean, default: !1 }
264
264
  },
265
265
  setup(c) {
266
- const { t: n } = ae(), i = Re(), {
266
+ const { t: n } = ae(), i = Ue(), {
267
267
  areListingsAvailable: d,
268
268
  arrivalTime: l,
269
269
  numberOfPeople: _,
@@ -280,7 +280,7 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
280
280
  roomUpgrade: g,
281
281
  discountCode: O
282
282
  } = H(j()), { totalAddonPrice: W, validateDiscountCode: ie } = j(), { currency: X } = H(De());
283
- return (S, x) => (a(), T(ot, {
283
+ return (S, x) => (a(), T(lt, {
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),
@@ -292,16 +292,16 @@ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-but
292
292
  "weekend-fee": e(s),
293
293
  "room-upgrade": e(g),
294
294
  notice: e(n)("hotel.reservationNotice")
295
- }, Ue({
295
+ }, Fe({
296
296
  form: p(() => [
297
297
  ne(S.$slots, "form")
298
298
  ]),
299
299
  "reservation-summary": p(() => [
300
- e(u) ? (a(), m("li", Ot, [
300
+ e(u) ? (a(), m("li", Bt, [
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", Bt, [
304
+ e(u) ? (a(), m("li", St, [
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 Tt = { class: "konnectio-pill-button" }, Vt = { 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", St, [
312
+ e(u) ? (a(), m("li", Lt, [
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", Lt, [
316
+ e(u) ? (a(), m("li", It, [
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", It, [
320
+ !e(u) && e(l) ? (a(), m("li", Nt, [
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", Nt, [
324
+ !e(u) && e(v) ? (a(), m("li", Mt, [
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", Mt, [
330
+ !e(u) && e(y) > 0 ? (a(), m("li", Rt, [
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 Tt = { class: "konnectio-pill-button" }, Vt = { 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
- }), Rt = { class: "event-skeleton" }, Ut = { class: "event-skeleton-content" }, Ft = { class: "event-skeleton-sidebar" }, qt = /* @__PURE__ */ Y({
353
+ }), Ut = { class: "event-skeleton" }, Ft = { class: "event-skeleton-content" }, qt = { class: "event-skeleton-sidebar" }, zt = /* @__PURE__ */ Y({
354
354
  __name: "EventSkeleton",
355
355
  setup(c) {
356
- return (n, i) => (a(), m("div", Rt, [
357
- t("div", Ut, [
356
+ return (n, i) => (a(), m("div", Ut, [
357
+ t("div", Ft, [
358
358
  f(Pe)
359
359
  ]),
360
- t("div", Ft, [
360
+ t("div", qt, [
361
361
  h("", !0),
362
- f(lt)
362
+ f(at)
363
363
  ])
364
364
  ]));
365
365
  }
366
- }), zt = /* @__PURE__ */ se(qt, [["__scopeId", "data-v-3e15c4e3"]]), U = (c) => (ze("data-v-df616d0e"), c = c(), Ge(), c), Gt = {
366
+ }), Gt = /* @__PURE__ */ se(zt, [["__scopeId", "data-v-3e15c4e3"]]), U = (c) => (Ge("data-v-fbb94947"), c = c(), He(), c), Ht = {
367
367
  key: 0,
368
368
  id: "fresh-booking-event-overview"
369
369
  };
370
- const Ht = { class: "fresh-booking-event-listings" };
371
- const jt = { class: "fresh-booking-event-listings" }, Yt = { class: "konnectio-panel" }, Zt = {
370
+ const jt = { class: "fresh-booking-event-listings" };
371
+ const Yt = { class: "fresh-booking-event-listings" }, Zt = { class: "konnectio-panel" }, Jt = {
372
372
  key: 1,
373
373
  id: "fresh-booking-event-addons"
374
- }, Jt = { class: "konnectio-table with-lines" }, Kt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), Qt = { class: "konnectio-event-addons-price" }, Wt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), Xt = { class: "konnectio-event-addons-input" }, xt = { class: "konnectio-event-addons-price" }, en = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), tn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), nn = { class: "konnectio-event-addons-price" }, on = { key: 2 };
375
- const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class: "konnectio-table with-lines" }, rn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), un = { class: "konnectio-event-addons-price" }, cn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), dn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), mn = { class: "konnectio-event-addons-input" }, pn = { class: "konnectio-event-addons-price" }, vn = ["onClick"], fn = { class: "konnectio-panel" }, bn = ["onClick"], gn = /* @__PURE__ */ Y({
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({
376
376
  name: "EventLayout",
377
377
  __name: "Event",
378
378
  props: {
@@ -404,7 +404,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
404
404
  isTemplateEvent: S,
405
405
  hasListingData: x,
406
406
  isPaymentLoading: F
407
- } = H(j()), { searchDate: ee } = H(Ke()), {
407
+ } = H(j()), { searchDate: ee } = H(Qe()), {
408
408
  initialize: Ce,
409
409
  fetchListings: Oe,
410
410
  createBooking: Be,
@@ -420,27 +420,32 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
420
420
  });
421
421
  }), L;
422
422
  });
423
- return Fe(ee, () => Oe()), (L, w) => (a(), T(We, { styling: L.styling }, {
423
+ function Ie() {
424
+ console.log("after meta"), Oe();
425
+ }
426
+ return qe(ee, () => {
427
+ console.log("search date");
428
+ }), (L, w) => (a(), T(Xe, { styling: L.styling }, {
424
429
  default: p(() => [
425
- (a(), T(qe, null, {
430
+ (a(), T(ze, { onResolve: Ie }, {
426
431
  default: p(() => [
427
- f(dt, {
432
+ f(mt, {
428
433
  id: "konnectio-event-module",
429
434
  "access-token": L.accessToken,
430
435
  callback: e(Ce)
431
436
  }, {
432
437
  default: p(() => [
433
- f(at, null, {
438
+ f(st, null, {
434
439
  availability: p(({ next: q }) => [
435
440
  f(de, null, {
436
441
  sidebar: p(() => [
437
- f(ct, { redirection: !1 })
442
+ f(dt, { redirection: !1 })
438
443
  ]),
439
444
  form: p(() => [
440
- e(x) && e(ie) ? (a(), m("div", Gt, [
445
+ e(x) && e(ie) ? (a(), m("div", Ht, [
441
446
  e(k) && L.onlyShow !== "templates" ? (a(), m(B, { key: 0 }, [
442
447
  h("", !0),
443
- t("ul", Ht, [
448
+ t("ul", jt, [
444
449
  (a(!0), m(B, null, z(e(C), ({
445
450
  id: A,
446
451
  days: r,
@@ -453,9 +458,9 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
453
458
  description: re,
454
459
  soldOut: ue,
455
460
  length: Q,
456
- images: Ie,
457
- maxOnlineReservationLimit: Ne
458
- }) => (a(), T(Pt, {
461
+ images: Ne,
462
+ maxOnlineReservationLimit: Me
463
+ }) => (a(), T(At, {
459
464
  key: A,
460
465
  type: "event",
461
466
  "listing-id": A,
@@ -463,11 +468,11 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
463
468
  description: re,
464
469
  name: I,
465
470
  length: Q,
466
- gallery: Ie,
471
+ gallery: Ne,
467
472
  days: r,
468
473
  "from-date": V,
469
474
  "to-date": J,
470
- "max-online-reservation-limit": Ne,
475
+ "max-online-reservation-limit": Me,
471
476
  "time-from": N,
472
477
  "time-to": E,
473
478
  "sold-out": ue,
@@ -477,7 +482,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
477
482
  ], 64)) : h("", !0),
478
483
  e(y) && L.onlyShow !== "events" ? (a(), m(B, { key: 1 }, [
479
484
  h("", !0),
480
- t("ul", jt, [
485
+ t("ul", Yt, [
481
486
  (a(!0), m(B, null, z(e(D), ({
482
487
  id: A,
483
488
  name: r,
@@ -487,7 +492,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
487
492
  fromPrice: V,
488
493
  description: J,
489
494
  imageUrl: K
490
- }) => (a(), T(Ct, {
495
+ }) => (a(), T(Ot, {
491
496
  key: A,
492
497
  "listing-id": A,
493
498
  name: r,
@@ -509,7 +514,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
509
514
  addons: p(({ next: q, prev: A }) => [
510
515
  e(X) ? (a(), T(de, { key: 0 }, {
511
516
  form: p(() => [
512
- t("form", Yt, [
517
+ t("form", Zt, [
513
518
  t("h2", null, [
514
519
  t("span", null, o(e(n)("booking.reservation.addons")), 1)
515
520
  ]),
@@ -521,7 +526,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
521
526
  "min-value": 1,
522
527
  required: ""
523
528
  }, null, 8, ["modelValue", "label"])) : h("", !0),
524
- e(s) && e(s).length > 0 ? (a(), m("ul", Zt, [
529
+ e(s) && e(s).length > 0 ? (a(), m("ul", Jt, [
525
530
  (a(!0), m(B, null, z(e(s), ({
526
531
  roomGroupId: r,
527
532
  addons: I,
@@ -537,14 +542,14 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
537
542
  }),
538
543
  ge(" " + o(N) + ") ", 1)
539
544
  ]),
540
- t("table", Jt, [
545
+ t("table", Kt, [
541
546
  t("thead", null, [
542
547
  t("tr", null, [
543
548
  t("th", null, [
544
549
  t("span", null, o(e(n)("booking.reservation.addons")), 1)
545
550
  ]),
546
- Kt,
547
- t("th", Qt, [
551
+ Qt,
552
+ t("th", Wt, [
548
553
  t("span", null, o(e(n)("booking.availability.price")), 1)
549
554
  ])
550
555
  ])
@@ -559,33 +564,33 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
559
564
  }) => (a(), m("tr", { key: V }, [
560
565
  t("td", null, [
561
566
  t("b", null, o(K), 1),
562
- Wt,
563
- t("span", null, o(e(R)(re, e(Z))) + " " + o(e(Qe)(ue)), 1)
567
+ Xt,
568
+ t("span", null, o(e(R)(re, e(Z))) + " " + o(e(We)(ue)), 1)
564
569
  ]),
565
- t("td", Xt, [
570
+ t("td", xt, [
566
571
  J === 3 ? (a(), T(oe, {
567
572
  key: 0,
568
573
  modelValue: e(i)[`${r}.${V}.${E}`],
569
574
  "onUpdate:modelValue": (Q) => e(i)[`${r}.${V}.${E}`] = Q,
570
575
  small: !0,
571
576
  "min-value": 0
572
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), T(vt, {
577
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), T(ft, {
573
578
  key: 1,
574
579
  modelValue: e(i)[`${r}.${V}.${E}`],
575
580
  "onUpdate:modelValue": (Q) => e(i)[`${r}.${V}.${E}`] = Q,
576
581
  numeric: !0
577
582
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
578
583
  ]),
579
- t("td", xt, [
584
+ t("td", en, [
580
585
  t("span", null, o(e(R)(e(fe)(V, r, E), e(Z))), 1)
581
586
  ])
582
587
  ]))), 128))
583
588
  ]),
584
589
  t("tfoot", null, [
585
590
  t("tr", null, [
586
- en,
587
591
  tn,
588
- t("td", nn, [
592
+ nn,
593
+ t("td", on, [
589
594
  t("u", null, [
590
595
  t("span", null, o(e(R)(e(Se)(r, E), e(Z))), 1)
591
596
  ])
@@ -595,9 +600,9 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
595
600
  ])
596
601
  ]))), 128))
597
602
  ])) : h("", !0),
598
- e(W) !== e(ye).FullDayEvent && !e(S) ? (a(), m("div", on, [
603
+ e(W) !== e(ye).FullDayEvent && !e(S) ? (a(), m("div", ln, [
599
604
  h("", !0),
600
- f(st, {
605
+ f(it, {
601
606
  modelValue: e(v),
602
607
  "onUpdate:modelValue": w[1] || (w[1] = (r) => M(v) ? v.value = r : null),
603
608
  label: e(n)("event.selectArrivalTime"),
@@ -606,18 +611,18 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
606
611
  required: ""
607
612
  }, null, 8, ["modelValue", "label", "checkboxes"])
608
613
  ])) : h("", !0),
609
- e(O) ? (a(), m("div", ln, [
610
- t("label", an, [
614
+ e(O) ? (a(), m("div", an, [
615
+ t("label", sn, [
611
616
  t("span", null, o(e(n)("event.selectProducts")), 1)
612
617
  ]),
613
- t("table", sn, [
618
+ t("table", rn, [
614
619
  t("thead", null, [
615
620
  t("tr", null, [
616
621
  t("th", null, [
617
622
  t("span", null, o(e(n)("booking.reservation.addons")), 1)
618
623
  ]),
619
- rn,
620
- t("th", un, [
624
+ un,
625
+ t("th", cn, [
621
626
  t("span", null, o(e(n)("booking.availability.price")), 1)
622
627
  ])
623
628
  ])
@@ -628,12 +633,12 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
628
633
  t("b", null, [
629
634
  t("span", null, o(I), 1)
630
635
  ]),
631
- cn,
632
- t("span", null, o(E), 1),
633
636
  dn,
637
+ t("span", null, o(E), 1),
638
+ mn,
634
639
  t("span", null, o(e(R)(N, e(Z))), 1)
635
640
  ]),
636
- t("td", mn, [
641
+ t("td", pn, [
637
642
  f(oe, {
638
643
  modelValue: e(d)[r],
639
644
  "onUpdate:modelValue": (V) => e(d)[r] = V,
@@ -641,7 +646,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
641
646
  "min-value": 0
642
647
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
643
648
  ]),
644
- t("td", pn, [
649
+ t("td", vn, [
645
650
  t("span", null, o(e(R)(e(fe)(r), e(Z))), 1)
646
651
  ])
647
652
  ]))), 128))
@@ -661,7 +666,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
661
666
  onClick: he((r) => e(be)(A), ["prevent"])
662
667
  }, [
663
668
  t("span", null, o(e(n)("general.goAStepBack")), 1)
664
- ], 8, vn)
669
+ ], 8, fn)
665
670
  ]),
666
671
  _: 2
667
672
  }, 1024)) : h("", !0)
@@ -672,7 +677,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
672
677
  "show-gift-card": !0
673
678
  }, {
674
679
  form: p(() => [
675
- t("form", fn, [
680
+ t("form", bn, [
676
681
  t("h2", null, [
677
682
  t("span", null, o(e(n)("booking.reservation.detailsTitle")), 1)
678
683
  ]),
@@ -696,7 +701,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
696
701
  placeholder: e(n)("booking.reservation.emailPlaceholder"),
697
702
  required: ""
698
703
  }, null, 8, ["modelValue", "label", "placeholder"]),
699
- f(ft, {
704
+ f(bt, {
700
705
  modelValue: e(b),
701
706
  "onUpdate:modelValue": w[4] || (w[4] = (r) => M(b) ? b.value = r : null),
702
707
  label: e(n)("booking.reservation.phone"),
@@ -726,16 +731,16 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
726
731
  onClick: he((r) => e(be)(A), ["prevent"])
727
732
  }, [
728
733
  t("span", null, o(e(n)("general.goAStepBack")), 1)
729
- ], 8, bn)
734
+ ], 8, gn)
730
735
  ]),
731
736
  _: 2
732
737
  }, 1024)
733
738
  ]),
734
739
  payment: p(() => [
735
- f(bt)
740
+ f(gt)
736
741
  ]),
737
742
  confirmation: p(() => [
738
- f(it, {
743
+ f(rt, {
739
744
  message: e(n)("event.confirmationMessage")
740
745
  }, null, 8, ["message"])
741
746
  ]),
@@ -746,7 +751,7 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
746
751
  }, 8, ["access-token", "callback"])
747
752
  ]),
748
753
  fallback: p(() => [
749
- f(zt)
754
+ f(Gt)
750
755
  ]),
751
756
  _: 1
752
757
  }))
@@ -754,8 +759,8 @@ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class:
754
759
  _: 1
755
760
  }, 8, ["styling"]));
756
761
  }
757
- }), te = /* @__PURE__ */ se(gn, [["__scopeId", "data-v-df616d0e"]]), hn = Xe(), kn = tt();
758
- class yn extends HTMLElement {
762
+ }), te = /* @__PURE__ */ se(hn, [["__scopeId", "data-v-fbb94947"]]), kn = xe(), yn = nt();
763
+ class _n extends HTMLElement {
759
764
  vueApp;
760
765
  constructor() {
761
766
  super();
@@ -777,13 +782,13 @@ class yn extends HTMLElement {
777
782
  let v = this.attributes.getNamedItem(u)?.value;
778
783
  b.hasOwnProperty(u) && (v = b[u]), _[u] = v;
779
784
  }
780
- this.vueApp = He(te, _), this.vueApp.provide("emitter", kn), this.vueApp.use(xe), this.vueApp.use(hn), this.vueApp.use(rt), this.vueApp.use(ut), this.vueApp.use(et, { bootstrap: !0 });
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 });
781
786
  const $ = document.createElement("div");
782
787
  this.vueApp.mount($), this.appendChild($.children[0]);
783
788
  }
784
789
  }
785
- window.customElements.define("konnectio-event", yn);
790
+ window.customElements.define("konnectio-event", _n);
786
791
  export {
787
- yn as default
792
+ _n as default
788
793
  };
789
794
  //# sourceMappingURL=event.js.map
package/dist/event.js.br CHANGED
Binary file
@@ -1,11 +1,11 @@
1
1
  import { d as I, o as f, a as A, g as t, f as o, c as X, b as _, w as v, S as B, u as e, t as u, x as w, e as P, i as T, k as $ } from "./_commonjsHelpers-ytV6SVHa.js";
2
- import { E as k, _ as L, h as N, s as x, t as E, b as U, z as C, A as z, B as O, n as F, o as H, p as j, q as R } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-eIGiZxmD.js";
2
+ import { E as k, _ as L, h as N, s as x, t as E, b as U, z as C, A as z, B as O, n as F, o as H, p as j, q as R } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DdW6bv1b.js";
3
3
  import { c as Z } from "./sentry-D1A53_C5.js";
4
- import { u as q } from "./giftCard-DhbT2_l0.js";
5
- import { _ as W } from "./_.vue_vue_type_style_index_0_lang-BLztxup-.js";
6
- import { A as J } from "./ActionField-l77AHDt_.js";
7
- import { F as S } from "./Field-BJ8nOhMT.js";
8
- import { E as K } from "./ErrorMessage-B0Hm-dJ0.js";
4
+ import { u as q } from "./giftCard-B9vV1-Jc.js";
5
+ import { _ as W } from "./_.vue_vue_type_style_index_0_lang-CYFSipoN.js";
6
+ import { A as J } from "./ActionField-BmdEaU7R.js";
7
+ import { F as S } from "./Field-cLYq6dB7.js";
8
+ import { E as K } from "./ErrorMessage-Cyrsqt8X.js";
9
9
  import "./navigation.js";
10
10
  (function() {
11
11
  try {
Binary file