@konnectio/core 4.0.56-rc38 → 4.0.56-rc39

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 (46) hide show
  1. package/dist/{ActionField-DpIf4ghX.js → ActionField-Cj7yAIiF.js} +2 -2
  2. package/dist/ActionField-Cj7yAIiF.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-BaxN1_Lw.js → AvailabilitySkeleton-B1NfPwnx.js} +4 -4
  4. package/dist/AvailabilitySkeleton-B1NfPwnx.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BMbBmC3T.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-4TxEs6Ur.js} +2 -2
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-4TxEs6Ur.js.br +0 -0
  7. package/dist/{CheckoutWindow-DavJkEee.js → CheckoutWindow-Dj_a3rqK.js} +24 -24
  8. package/dist/CheckoutWindow-Dj_a3rqK.js.br +0 -0
  9. package/dist/{ErrorMessage-DLeTIy6d.js → ErrorMessage-B_o47rUW.js} +2 -2
  10. package/dist/ErrorMessage-B_o47rUW.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-B9-RuFO9.js → EventAvailabilityForm-vxL1OmZL.js} +3 -3
  12. package/dist/EventAvailabilityForm-vxL1OmZL.js.br +0 -0
  13. package/dist/{Field-5fXecW-6.js → Field-DC9mZy8_.js} +2 -2
  14. package/dist/Field-DC9mZy8_.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DBXlWKTZ.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CITxgseu.js} +19 -19
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CITxgseu.js.br +0 -0
  17. package/dist/{TermsOfService-CsQwuk20.js → TermsOfService-COGxWG3S.js} +3 -3
  18. package/dist/TermsOfService-COGxWG3S.js.br +0 -0
  19. package/dist/availability.js +4 -4
  20. package/dist/availability.js.br +0 -0
  21. package/dist/event.js +106 -106
  22. package/dist/event.js.br +0 -0
  23. package/dist/gift-card-validation.js +4 -4
  24. package/dist/gift-card-validation.js.br +0 -0
  25. package/dist/gift-card.js +7 -7
  26. package/dist/gift-card.js.br +0 -0
  27. package/dist/hotel.js +73 -73
  28. package/dist/hotel.js.br +0 -0
  29. package/dist/{masonry.plugin-CkPuevAg.js → masonry.plugin-a1QQfgj3.js} +866 -866
  30. package/dist/masonry.plugin-a1QQfgj3.js.br +0 -0
  31. package/dist/navigation.js +3 -3
  32. package/dist/polyfill.js +3 -3
  33. package/dist/polyfill.js.br +0 -0
  34. package/dist/style.css +1 -1
  35. package/dist/style.css.br +0 -0
  36. package/package.json +1 -1
  37. package/dist/ActionField-DpIf4ghX.js.br +0 -0
  38. package/dist/AvailabilitySkeleton-BaxN1_Lw.js.br +0 -0
  39. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BMbBmC3T.js.br +0 -0
  40. package/dist/CheckoutWindow-DavJkEee.js.br +0 -0
  41. package/dist/ErrorMessage-DLeTIy6d.js.br +0 -0
  42. package/dist/EventAvailabilityForm-B9-RuFO9.js.br +0 -0
  43. package/dist/Field-5fXecW-6.js.br +0 -0
  44. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DBXlWKTZ.js.br +0 -0
  45. package/dist/TermsOfService-CsQwuk20.js.br +0 -0
  46. package/dist/masonry.plugin-CkPuevAg.js.br +0 -0
package/dist/event.js CHANGED
@@ -1,29 +1,29 @@
1
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-DBXlWKTZ.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-CkPuevAg.js";
4
- import { u as j, E as mt } from "./EventAvailabilityForm-B9-RuFO9.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-BMbBmC3T.js";
6
- import { a as ft, P as bt, C as gt } from "./CheckoutWindow-DavJkEee.js";
2
+ import { u as ae, n as Ye, s as H, K as Qe, b as oe, C as me, M as Ze, _ as se, c as Ve, A as pe, N as Je, o as De, D as ke, P as ve, B as R, d as Ke, O as ye, Q as We, T as ce, e as Xe, f as xe, g as et, h as tt, i as nt, J as ot, m as lt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CITxgseu.js";
3
+ import { B as at, R as st, L as Pe, S as it, M as rt, C as ut, T as ct, V as dt, G as mt } from "./masonry.plugin-a1QQfgj3.js";
4
+ import { u as j, E as pt } from "./EventAvailabilityForm-vxL1OmZL.js";
5
+ 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-4TxEs6Ur.js";
6
+ import { a as bt, P as gt, C as ht } from "./CheckoutWindow-Dj_a3rqK.js";
7
7
  import "./navigation.js";
8
8
  (function() {
9
9
  try {
10
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");
11
+ n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "6c3a27e5-2fa0-4db1-9e14-282eb94403d3", c._sentryDebugIdIdentifier = "sentry-dbid-6c3a27e5-2fa0-4db1-9e14-282eb94403d3");
12
12
  } catch {
13
13
  }
14
14
  })();
15
- function ht(c, n) {
15
+ function kt(c, n) {
16
16
  const i = G(c), d = G(n), l = i.getTime() - d.getTime();
17
17
  return l < 0 ? -1 : l > 0 ? 1 : l;
18
18
  }
19
- function kt(c) {
19
+ function yt(c) {
20
20
  return (n) => {
21
21
  const d = (c ? Math[c] : Math.trunc)(n);
22
22
  return d === 0 ? 0 : d;
23
23
  };
24
24
  }
25
- function yt(c, n, i) {
26
- const d = vt(), l = i?.locale ?? d.locale ?? pt, _ = ht(c, n);
25
+ function _t(c, n, i) {
26
+ const d = ft(), l = i?.locale ?? d.locale ?? vt, _ = kt(c, n);
27
27
  if (isNaN(_))
28
28
  throw new RangeError("Invalid time value");
29
29
  const b = Object.assign({}, i, {
@@ -32,7 +32,7 @@ function yt(c, n, i) {
32
32
  });
33
33
  let $, u;
34
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;
35
+ const v = yt(i?.roundingMethod ?? "round"), k = u.getTime() - $.getTime(), y = k / Te, C = _e(u) - _e($), D = (k - C) / Te, P = i?.unit;
36
36
  let s;
37
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
38
  const g = v(k / 1e3);
@@ -54,7 +54,7 @@ function yt(c, n, i) {
54
54
  return l.formatDistance("xYears", g, b);
55
55
  }
56
56
  }
57
- const _t = { class: "konnectio-event-listing-action" }, $t = { class: "konnectio-event-listing-action-button" }, wt = /* @__PURE__ */ Y({
57
+ const $t = { class: "konnectio-event-listing-action" }, wt = { class: "konnectio-event-listing-action-button" }, Et = /* @__PURE__ */ Y({
58
58
  __name: "_",
59
59
  props: {
60
60
  name: {},
@@ -97,7 +97,7 @@ const _t = { class: "konnectio-event-listing-action" }, $t = { class: "konnectio
97
97
  message: n("alert.error.selectPeople")
98
98
  });
99
99
  };
100
- return (s, g) => (a(), T(lt, {
100
+ return (s, g) => (a(), T(at, {
101
101
  "listing-id": s.listingId,
102
102
  gallery: s.gallery,
103
103
  name: s.name,
@@ -110,7 +110,7 @@ const _t = { class: "konnectio-event-listing-action" }, $t = { class: "konnectio
110
110
  ne(s.$slots, "description", { maxNumberOfPeople: e(l) }, void 0, !0)
111
111
  ]),
112
112
  action: p(() => [
113
- t("div", _t, [
113
+ t("div", $t, [
114
114
  f(oe, {
115
115
  modelValue: y.value,
116
116
  "onUpdate:modelValue": g[0] || (g[0] = (O) => y.value = O),
@@ -118,11 +118,11 @@ const _t = { class: "konnectio-event-listing-action" }, $t = { class: "konnectio
118
118
  icon: "users",
119
119
  "icon-type": "fas",
120
120
  "icon-placement": "label",
121
- description: s.maxGuests <= 20 ? `Available for: 1-${s.maxGuests} guests` : void 0,
121
+ description: s.maxGuests <= 20 ? `${e(n)("general.availableFor")}: 1 - ${s.maxGuests} ${e(Qe)(e(n)("general.guests"))}` : void 0,
122
122
  "min-value": s.type === "event" ? 0 : s.minimumPersonCount,
123
123
  "max-value": s.type === "event" ? s.maxOnlineReservationLimit || 1 / 0 : e(l)
124
124
  }, null, 8, ["modelValue", "label", "description", "min-value", "max-value"]),
125
- t("div", $t, [
125
+ t("div", wt, [
126
126
  f(me, {
127
127
  label: s.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
128
128
  disabled: s.soldOut,
@@ -135,8 +135,8 @@ const _t = { class: "konnectio-event-listing-action" }, $t = { class: "konnectio
135
135
  _: 3
136
136
  }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
137
137
  }
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({
138
+ }), Ae = /* @__PURE__ */ se(Et, [["__scopeId", "data-v-65571246"]]), Tt = ["innerHTML"], Vt = { class: "konnectio-event-listing-information-new" };
139
+ const Dt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-button" }, At = /* @__PURE__ */ Y({
140
140
  __name: "Event",
141
141
  props: {
142
142
  name: {},
@@ -160,7 +160,7 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
160
160
  setup(c) {
161
161
  const n = c, { t: i } = ae(), d = le(() => {
162
162
  const l = n.length.split(":");
163
- return console.log(l), yt(
163
+ return console.log(l), _t(
164
164
  new Date(2e3, 0, 1, Number(l[0]), Number(l[1]), 0),
165
165
  new Date(2e3, 0, 1, 0, 0, 0)
166
166
  );
@@ -181,10 +181,10 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
181
181
  l.description ? (a(), m("p", {
182
182
  key: 0,
183
183
  innerHTML: e(Ve)(l.description)
184
- }, null, 8, Et)) : h("", !0),
185
- t("ul", Tt, [
184
+ }, null, 8, Tt)) : h("", !0),
185
+ t("ul", Vt, [
186
186
  h("", !0),
187
- t("li", Vt, [
187
+ t("li", Dt, [
188
188
  t("div", null, [
189
189
  f(pe, {
190
190
  icon: "calendar-clock",
@@ -194,7 +194,7 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
194
194
  ]),
195
195
  t("span", null, o(d.value), 1)
196
196
  ]),
197
- t("li", Dt, [
197
+ t("li", Pt, [
198
198
  t("div", null, [
199
199
  f(pe, {
200
200
  icon: "calendar-clock",
@@ -209,7 +209,7 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
209
209
  _: 1
210
210
  }, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "to-date", "callback"]));
211
211
  }
212
- }), At = /* @__PURE__ */ se(Pt, [["__scopeId", "data-v-148bf11e"]]), Ct = ["innerHTML"], Ot = /* @__PURE__ */ Y({
212
+ }), Ct = /* @__PURE__ */ se(At, [["__scopeId", "data-v-148bf11e"]]), Ot = ["innerHTML"], Bt = /* @__PURE__ */ Y({
213
213
  __name: "Template",
214
214
  props: {
215
215
  name: {},
@@ -249,12 +249,12 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
249
249
  d.description ? (a(), m("p", {
250
250
  key: 0,
251
251
  innerHTML: e(Ve)(d.description)
252
- }, null, 8, Ct)) : h("", !0)
252
+ }, null, 8, Ot)) : h("", !0)
253
253
  ]),
254
254
  _: 1
255
255
  }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
256
256
  }
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({
257
+ }), St = { key: 0 }, Lt = { key: 1 }, It = { key: 2 }, Nt = { key: 3 }, Mt = { key: 4 }, Rt = { key: 5 }, Ut = { key: 0 }, de = /* @__PURE__ */ Y({
258
258
  __name: "EventReservationForm",
259
259
  props: {
260
260
  showGiftCard: { type: Boolean, default: !1 },
@@ -278,7 +278,7 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
278
278
  roomUpgrade: g,
279
279
  discountCode: O
280
280
  } = H(j()), { totalAddonPrice: W, validateDiscountCode: ie } = j(), { currency: X } = H(De());
281
- return (S, x) => (a(), T(at, {
281
+ return (S, x) => (a(), T(st, {
282
282
  "discount-code": e(O),
283
283
  "onUpdate:discountCode": x[0] || (x[0] = (F) => M(O) ? O.value = F : null),
284
284
  "validate-discount-code": e(ie),
@@ -295,11 +295,11 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
295
295
  ne(S.$slots, "form")
296
296
  ]),
297
297
  "reservation-summary": p(() => [
298
- e(u) ? (a(), m("li", Bt, [
298
+ e(u) ? (a(), m("li", St, [
299
299
  t("span", null, o(e(n)("booking.reservation.arrival")), 1),
300
300
  t("b", null, o(e(ke)(e(k))), 1)
301
301
  ])) : h("", !0),
302
- e(u) ? (a(), m("li", St, [
302
+ e(u) ? (a(), m("li", Lt, [
303
303
  t("span", null, o(e(n)("booking.reservation.departure")), 1),
304
304
  t("b", null, o(e(ke)(e(k), e($))), 1)
305
305
  ])) : h("", !0),
@@ -307,25 +307,25 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
307
307
  t("span", null, o(e(n)("event.numberOfGuests")), 1),
308
308
  t("b", null, o(e(_)), 1)
309
309
  ]),
310
- e(u) ? (a(), m("li", Lt, [
310
+ e(u) ? (a(), m("li", It, [
311
311
  t("span", null, o(e(n)("event.numberOfRooms")), 1),
312
312
  t("b", null, o(e(b)), 1)
313
313
  ])) : h("", !0),
314
- e(u) ? (a(), m("li", It, [
314
+ e(u) ? (a(), m("li", Nt, [
315
315
  t("span", null, o(e(n)("event.numberOfDays")), 1),
316
316
  t("b", null, o(e($)), 1)
317
317
  ])) : h("", !0),
318
- !e(u) && e(l) ? (a(), m("li", Nt, [
318
+ !e(u) && e(l) ? (a(), m("li", Mt, [
319
319
  t("span", null, o(e(n)("event.startOfEvent")), 1),
320
320
  t("b", null, o(e(ve)(e(l))), 1)
321
321
  ])) : h("", !0),
322
- !e(u) && e(v) ? (a(), m("li", Mt, [
322
+ !e(u) && e(v) ? (a(), m("li", Rt, [
323
323
  t("span", null, o(e(n)("event.lengthOfEvent")), 1),
324
324
  t("b", null, o(e(ve)(e(v))), 1)
325
325
  ])) : h("", !0)
326
326
  ]),
327
327
  "price-summary": p(() => [
328
- !e(u) && e(y) > 0 ? (a(), m("li", Rt, [
328
+ !e(u) && e(y) > 0 ? (a(), m("li", Ut, [
329
329
  t("span", null, o(e(n)("booking.availability.basePrice")), 1),
330
330
  t("b", null, o(e(R)(e(y), e(X))), 1)
331
331
  ])) : h("", !0),
@@ -348,29 +348,29 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
348
348
  } : void 0
349
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"]));
350
350
  }
351
- }), Ut = { class: "event-skeleton" }, Ft = { class: "event-skeleton-content" }, zt = { class: "event-skeleton-sidebar" }, qt = /* @__PURE__ */ Y({
351
+ }), Ft = { class: "event-skeleton" }, zt = { class: "event-skeleton-content" }, qt = { class: "event-skeleton-sidebar" }, Gt = /* @__PURE__ */ Y({
352
352
  __name: "EventSkeleton",
353
353
  setup(c) {
354
- return (n, i) => (a(), m("div", Ut, [
355
- t("div", Ft, [
354
+ return (n, i) => (a(), m("div", Ft, [
355
+ t("div", zt, [
356
356
  f(Pe)
357
357
  ]),
358
- t("div", zt, [
358
+ t("div", qt, [
359
359
  h("", !0),
360
- f(st)
360
+ f(it)
361
361
  ])
362
362
  ]));
363
363
  }
364
- }), Gt = /* @__PURE__ */ se(qt, [["__scopeId", "data-v-3e15c4e3"]]), U = (c) => (Ge("data-v-f6598228"), c = c(), He(), c), Ht = {
364
+ }), Ht = /* @__PURE__ */ se(Gt, [["__scopeId", "data-v-3e15c4e3"]]), U = (c) => (Ge("data-v-780eb00e"), c = c(), He(), c), jt = {
365
365
  key: 0,
366
366
  id: "fresh-booking-event-overview"
367
367
  };
368
- const jt = { class: "fresh-booking-event-listings" };
369
- const Yt = { class: "fresh-booking-event-listings" }, Zt = { class: "konnectio-panel" }, Jt = {
368
+ const Yt = { class: "fresh-booking-event-listings" };
369
+ const Qt = { class: "fresh-booking-event-listings" }, Zt = { class: "konnectio-panel" }, Jt = {
370
370
  key: 1,
371
371
  id: "fresh-booking-event-addons"
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({
372
+ }, Kt = { 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 };
373
+ 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({
374
374
  name: "EventLayout",
375
375
  __name: "Event",
376
376
  props: {
@@ -409,7 +409,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
409
409
  localAddonPrice: fe,
410
410
  totalAddonPrice: Se,
411
411
  reset: be
412
- } = j(), { currency: Z } = H(De()), Le = le(() => {
412
+ } = j(), { currency: Q } = H(De()), Le = le(() => {
413
413
  const L = [];
414
414
  return g.value && g.value.forEach((w) => {
415
415
  L.push({
@@ -418,27 +418,27 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
418
418
  });
419
419
  }), L;
420
420
  });
421
- return Fe(() => Ce()), ze(ee, () => Oe()), (L, w) => (a(), T(Xe, { styling: L.styling }, {
421
+ return Fe(() => Ce()), ze(ee, () => Oe()), (L, w) => (a(), T(xe, { styling: L.styling }, {
422
422
  default: p(() => [
423
423
  (a(), T(qe, null, {
424
424
  default: p(() => [
425
- f(We, {
425
+ f(Xe, {
426
426
  id: "konnectio-event-module",
427
427
  type: "none",
428
428
  "access-token": L.accessToken
429
429
  }, {
430
430
  default: p(() => [
431
- f(it, null, {
431
+ f(rt, null, {
432
432
  availability: p(({ next: z }) => [
433
433
  f(de, null, {
434
434
  sidebar: p(() => [
435
- f(mt, { redirection: !1 })
435
+ f(pt, { redirection: !1 })
436
436
  ]),
437
437
  form: p(() => [
438
- e(x) && e(ie) ? (a(), m("div", Ht, [
438
+ e(x) && e(ie) ? (a(), m("div", jt, [
439
439
  e(k) && L.onlyShow !== "templates" ? (a(), m(B, { key: 0 }, [
440
440
  h("", !0),
441
- t("ul", jt, [
441
+ t("ul", Yt, [
442
442
  (a(!0), m(B, null, q(e(C), ({
443
443
  id: A,
444
444
  days: r,
@@ -446,25 +446,25 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
446
446
  timeFrom: N,
447
447
  timeTo: E,
448
448
  fromDate: V,
449
- toDate: J,
450
- tableGroupId: K,
449
+ toDate: Z,
450
+ tableGroupId: J,
451
451
  description: re,
452
452
  soldOut: ue,
453
- length: Q,
453
+ length: K,
454
454
  images: Ie,
455
455
  maxOnlineReservationLimit: Ne
456
- }) => (a(), T(At, {
456
+ }) => (a(), T(Ct, {
457
457
  key: A,
458
458
  type: "event",
459
459
  "listing-id": A,
460
- "table-group-id": K,
460
+ "table-group-id": J,
461
461
  description: re,
462
462
  name: I,
463
- length: Q,
463
+ length: K,
464
464
  gallery: Ie,
465
465
  days: r,
466
466
  "from-date": V,
467
- "to-date": J,
467
+ "to-date": Z,
468
468
  "max-online-reservation-limit": Ne,
469
469
  "time-from": N,
470
470
  "time-to": E,
@@ -475,7 +475,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
475
475
  ], 64)) : h("", !0),
476
476
  e(y) && L.onlyShow !== "events" ? (a(), m(B, { key: 1 }, [
477
477
  h("", !0),
478
- t("ul", Yt, [
478
+ t("ul", Qt, [
479
479
  (a(!0), m(B, null, q(e(D), ({
480
480
  id: A,
481
481
  name: r,
@@ -483,14 +483,14 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
483
483
  toDate: N,
484
484
  minimumPersonCount: E,
485
485
  fromPrice: V,
486
- description: J,
487
- imageUrl: K
488
- }) => (a(), T(Ot, {
486
+ description: Z,
487
+ imageUrl: J
488
+ }) => (a(), T(Bt, {
489
489
  key: A,
490
490
  "listing-id": A,
491
491
  name: r,
492
- image: K,
493
- description: J,
492
+ image: J,
493
+ description: Z,
494
494
  "from-date": I,
495
495
  "to-date": N,
496
496
  "minimum-person-count": E,
@@ -541,8 +541,8 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
541
541
  t("th", null, [
542
542
  t("span", null, o(e(n)("booking.reservation.addons")), 1)
543
543
  ]),
544
- Qt,
545
- t("th", Wt, [
544
+ Wt,
545
+ t("th", Xt, [
546
546
  t("span", null, o(e(n)("booking.availability.price")), 1)
547
547
  ])
548
548
  ])
@@ -550,42 +550,42 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
550
550
  t("tbody", null, [
551
551
  (a(!0), m(B, null, q(I, ({
552
552
  id: V,
553
- cardinality: J,
554
- name: K,
553
+ cardinality: Z,
554
+ name: J,
555
555
  price: re,
556
556
  quantityStrategy: ue
557
557
  }) => (a(), m("tr", { key: V }, [
558
558
  t("td", null, [
559
- t("b", null, o(K), 1),
560
- Xt,
561
- t("span", null, o(e(R)(re, e(Z))) + " " + o(e(Qe)(ue)), 1)
559
+ t("b", null, o(J), 1),
560
+ xt,
561
+ t("span", null, o(e(R)(re, e(Q))) + " " + o(e(We)(ue)), 1)
562
562
  ]),
563
- t("td", xt, [
564
- J === 3 ? (a(), T(oe, {
563
+ t("td", en, [
564
+ Z === 3 ? (a(), T(oe, {
565
565
  key: 0,
566
566
  modelValue: e(i)[`${r}.${V}.${E}`],
567
- "onUpdate:modelValue": (Q) => e(i)[`${r}.${V}.${E}`] = Q,
567
+ "onUpdate:modelValue": (K) => e(i)[`${r}.${V}.${E}`] = K,
568
568
  small: !0,
569
569
  "min-value": 0
570
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), T(ft, {
570
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), T(bt, {
571
571
  key: 1,
572
572
  modelValue: e(i)[`${r}.${V}.${E}`],
573
- "onUpdate:modelValue": (Q) => e(i)[`${r}.${V}.${E}`] = Q,
573
+ "onUpdate:modelValue": (K) => e(i)[`${r}.${V}.${E}`] = K,
574
574
  numeric: !0
575
575
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
576
576
  ]),
577
- t("td", en, [
578
- t("span", null, o(e(R)(e(fe)(V, r, E), e(Z))), 1)
577
+ t("td", tn, [
578
+ t("span", null, o(e(R)(e(fe)(V, r, E), e(Q))), 1)
579
579
  ])
580
580
  ]))), 128))
581
581
  ]),
582
582
  t("tfoot", null, [
583
583
  t("tr", null, [
584
- tn,
585
584
  nn,
586
- t("td", on, [
585
+ on,
586
+ t("td", ln, [
587
587
  t("u", null, [
588
- t("span", null, o(e(R)(e(Se)(r, E), e(Z))), 1)
588
+ t("span", null, o(e(R)(e(Se)(r, E), e(Q))), 1)
589
589
  ])
590
590
  ])
591
591
  ])
@@ -593,9 +593,9 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
593
593
  ])
594
594
  ]))), 128))
595
595
  ])) : h("", !0),
596
- e(W) !== e(ye).FullDayEvent && !e(S) ? (a(), m("div", ln, [
596
+ e(W) !== e(ye).FullDayEvent && !e(S) ? (a(), m("div", an, [
597
597
  h("", !0),
598
- f(rt, {
598
+ f(ut, {
599
599
  modelValue: e(v),
600
600
  "onUpdate:modelValue": w[1] || (w[1] = (r) => M(v) ? v.value = r : null),
601
601
  label: e(n)("event.selectArrivalTime"),
@@ -604,18 +604,18 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
604
604
  required: ""
605
605
  }, null, 8, ["modelValue", "label", "checkboxes"])
606
606
  ])) : h("", !0),
607
- e(O) ? (a(), m("div", an, [
608
- t("label", sn, [
607
+ e(O) ? (a(), m("div", sn, [
608
+ t("label", rn, [
609
609
  t("span", null, o(e(n)("event.selectProducts")), 1)
610
610
  ]),
611
- t("table", rn, [
611
+ t("table", un, [
612
612
  t("thead", null, [
613
613
  t("tr", null, [
614
614
  t("th", null, [
615
615
  t("span", null, o(e(n)("booking.reservation.addons")), 1)
616
616
  ]),
617
- un,
618
- t("th", cn, [
617
+ cn,
618
+ t("th", dn, [
619
619
  t("span", null, o(e(n)("booking.availability.price")), 1)
620
620
  ])
621
621
  ])
@@ -626,12 +626,12 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
626
626
  t("b", null, [
627
627
  t("span", null, o(I), 1)
628
628
  ]),
629
- dn,
630
- t("span", null, o(E), 1),
631
629
  mn,
632
- t("span", null, o(e(R)(N, e(Z))), 1)
630
+ t("span", null, o(E), 1),
631
+ pn,
632
+ t("span", null, o(e(R)(N, e(Q))), 1)
633
633
  ]),
634
- t("td", pn, [
634
+ t("td", vn, [
635
635
  f(oe, {
636
636
  modelValue: e(d)[r],
637
637
  "onUpdate:modelValue": (V) => e(d)[r] = V,
@@ -639,8 +639,8 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
639
639
  "min-value": 0
640
640
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
641
641
  ]),
642
- t("td", vn, [
643
- t("span", null, o(e(R)(e(fe)(r), e(Z))), 1)
642
+ t("td", fn, [
643
+ t("span", null, o(e(R)(e(fe)(r), e(Q))), 1)
644
644
  ])
645
645
  ]))), 128))
646
646
  ])
@@ -659,7 +659,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
659
659
  onClick: he((r) => e(be)(A), ["prevent"])
660
660
  }, [
661
661
  t("span", null, o(e(n)("general.goAStepBack")), 1)
662
- ], 8, fn)
662
+ ], 8, bn)
663
663
  ]),
664
664
  _: 2
665
665
  }, 1024)) : h("", !0)
@@ -670,7 +670,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
670
670
  "show-gift-card": !0
671
671
  }, {
672
672
  form: p(() => [
673
- t("form", bn, [
673
+ t("form", gn, [
674
674
  t("h2", null, [
675
675
  t("span", null, o(e(n)("booking.reservation.detailsTitle")), 1)
676
676
  ]),
@@ -694,7 +694,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
694
694
  placeholder: e(n)("booking.reservation.emailPlaceholder"),
695
695
  required: ""
696
696
  }, null, 8, ["modelValue", "label", "placeholder"]),
697
- f(bt, {
697
+ f(gt, {
698
698
  modelValue: e(b),
699
699
  "onUpdate:modelValue": w[4] || (w[4] = (r) => M(b) ? b.value = r : null),
700
700
  label: e(n)("booking.reservation.phone"),
@@ -724,16 +724,16 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
724
724
  onClick: he((r) => e(be)(A), ["prevent"])
725
725
  }, [
726
726
  t("span", null, o(e(n)("general.goAStepBack")), 1)
727
- ], 8, gn)
727
+ ], 8, hn)
728
728
  ]),
729
729
  _: 2
730
730
  }, 1024)
731
731
  ]),
732
732
  payment: p(() => [
733
- f(gt)
733
+ f(ht)
734
734
  ]),
735
735
  confirmation: p(() => [
736
- f(ut, {
736
+ f(ct, {
737
737
  message: e(n)("event.confirmationMessage")
738
738
  }, null, 8, ["message"])
739
739
  ]),
@@ -744,7 +744,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
744
744
  }, 8, ["access-token"])
745
745
  ]),
746
746
  fallback: p(() => [
747
- f(Gt)
747
+ f(Ht)
748
748
  ]),
749
749
  _: 1
750
750
  }))
@@ -752,8 +752,8 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
752
752
  _: 1
753
753
  }, 8, ["styling"]));
754
754
  }
755
- }), te = /* @__PURE__ */ se(hn, [["__scopeId", "data-v-f6598228"]]), kn = xe(), yn = ot();
756
- class _n extends HTMLElement {
755
+ }), te = /* @__PURE__ */ se(kn, [["__scopeId", "data-v-780eb00e"]]), yn = et(), _n = lt();
756
+ class $n extends HTMLElement {
757
757
  vueApp;
758
758
  constructor() {
759
759
  super();
@@ -775,13 +775,13 @@ class _n extends HTMLElement {
775
775
  let v = this.attributes.getNamedItem(u)?.value;
776
776
  b.hasOwnProperty(u) && (v = b[u]), _[u] = v;
777
777
  }
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 });
778
+ this.vueApp = je(te, _), tt(this.vueApp), this.vueApp.provide("emitter", _n), this.vueApp.use(nt), this.vueApp.use(yn), this.vueApp.use(dt), this.vueApp.use(mt), this.vueApp.use(ot, { bootstrap: !0 });
779
779
  const $ = document.createElement("div");
780
780
  this.vueApp.mount($), this.appendChild($.children[0]);
781
781
  }
782
782
  }
783
- window.customElements.define("konnectio-event", _n);
783
+ window.customElements.define("konnectio-event", $n);
784
784
  export {
785
- _n as default
785
+ $n as default
786
786
  };
787
787
  //# sourceMappingURL=event.js.map
package/dist/event.js.br CHANGED
Binary file
@@ -1,8 +1,8 @@
1
1
  import { d as L, o as f, c as A, f as t, e as o, g as X, a as _, w as y, S as M, u as e, t as u, s as w, b as B, i as P, k as T } from "./_commonjsHelpers-UWZO_9XV.js";
2
- import { E as k, _ as S, u as $, s as x, l as E, o as N, A as C, B as U, D as O, e as z, f as F, g as H, h as j, i as R, m as Z } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DBXlWKTZ.js";
3
- import { A as W } from "./ActionField-DpIf4ghX.js";
4
- import { F as I } from "./Field-5fXecW-6.js";
5
- import { E as q } from "./ErrorMessage-DLeTIy6d.js";
2
+ import { E as k, _ as S, u as $, s as x, l as E, o as N, A as C, B as U, D as O, e as z, f as F, g as H, h as j, i as R, m as Z } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CITxgseu.js";
3
+ import { A as W } from "./ActionField-Cj7yAIiF.js";
4
+ import { F as I } from "./Field-DC9mZy8_.js";
5
+ import { E as q } from "./ErrorMessage-B_o47rUW.js";
6
6
  import "./navigation.js";
7
7
  (function() {
8
8
  try {
Binary file
package/dist/gift-card.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { r as V, g as k, d as O, o as u, a as G, w as R, f as l, c as y, e as o, u as e, b as F, n as ue, t as Y, i as ce, q as pe, h as me, S as fe, v as H, x as K, F as ve, y as ge, s as S, p as he, j as be, k as ye } from "./_commonjsHelpers-UWZO_9XV.js";
2
- import { j as ke, k as _e, s as le, o as oe, G as T, q as ae, x as re, S as te, v as Ce, w as Ve, F as we, u as Q, n as Fe, C as z, I as Se, E as Pe, _ as ie, H as Te, a as $e, L as Ee, T as Z, b as Ie, e as Ue, f as Ae, g as Le, h as Ge, i as Re, J as qe, m as Me } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DBXlWKTZ.js";
2
+ import { j as ke, k as _e, s as le, o as oe, G as T, q as ae, x as re, S as te, v as Ce, w as Ve, F as we, u as Q, n as Fe, C as z, I as Se, E as Pe, _ as ie, H as Te, a as $e, L as Ee, T as Z, b as Ie, e as Ue, f as Ae, g as Le, h as Ge, i as Re, J as qe, m as Me } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CITxgseu.js";
3
3
  import "./navigation.js";
4
- import { C as De, a as xe, P as Be, _ as ze } from "./CheckoutWindow-DavJkEee.js";
5
- import { F as B } from "./Field-5fXecW-6.js";
6
- import { E as Oe } from "./ErrorMessage-DLeTIy6d.js";
7
- import { S as je } from "./TermsOfService-CsQwuk20.js";
4
+ import { C as De, a as xe, P as Be, _ as ze } from "./CheckoutWindow-Dj_a3rqK.js";
5
+ import { F as B } from "./Field-DC9mZy8_.js";
6
+ import { E as Oe } from "./ErrorMessage-B_o47rUW.js";
7
+ import { S as je } from "./TermsOfService-COGxWG3S.js";
8
8
  (function() {
9
9
  try {
10
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] = "54f6af08-4bb7-4026-a8ef-30e1fd8dcaed", c._sentryDebugIdIdentifier = "sentry-dbid-54f6af08-4bb7-4026-a8ef-30e1fd8dcaed");
11
+ n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "5036f9f4-1c7e-4814-86bf-1826afd80cd9", c._sentryDebugIdIdentifier = "sentry-dbid-5036f9f4-1c7e-4814-86bf-1826afd80cd9");
12
12
  } catch {
13
13
  }
14
14
  })();
@@ -67,7 +67,7 @@ const ne = ke("giftCard", () => {
67
67
  headers: {
68
68
  Authorization: n.value,
69
69
  Accept: "application/json",
70
- "Fresh-Booking-Ver": "4.0.56-rc38"
70
+ "Fresh-Booking-Ver": "4.0.56-rc39"
71
71
  }
72
72
  }).then((C) => {
73
73
  d.value = T.ReadyToPay, $.value = !1, c({
Binary file