@konnectio/core 4.0.56-rc47 → 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-Ck8cxR78.js → ActionField-BmdEaU7R.js} +2 -2
  2. package/dist/ActionField-BmdEaU7R.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-C_OWp8Fq.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-C2xXzeRY.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-DcaNMI9K.js → CheckoutWindow-DdkwNLy3.js} +2 -2
  8. package/dist/CheckoutWindow-DdkwNLy3.js.br +0 -0
  9. package/dist/{ErrorMessage-DH5q_ieB.js → ErrorMessage-Cyrsqt8X.js} +2 -2
  10. package/dist/ErrorMessage-Cyrsqt8X.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-DphCQOMO.js → EventAvailabilityForm-BBVSXf1v.js} +123 -123
  12. package/dist/EventAvailabilityForm-BBVSXf1v.js.br +0 -0
  13. package/dist/{Field-Dg8W7a_X.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-DxwVk__I.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-DenzWB_O.js → TermsOfService-CmEZmmhy.js} +3 -3
  18. package/dist/TermsOfService-CmEZmmhy.js.br +0 -0
  19. package/dist/{_-DgexTosT.js → _-BIlhnQ1K.js} +2 -2
  20. package/dist/{_.vue_vue_type_style_index_0_lang-VOXCSp8f.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 +75 -73
  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-BpIUm5ol.js → giftCard-B9vV1-Jc.js} +5 -5
  31. package/dist/giftCard-B9vV1-Jc.js.br +0 -0
  32. package/dist/hotel.js +7 -7
  33. package/dist/hotel.js.br +0 -0
  34. package/dist/{masonry.plugin-Bo5QRvUz.js → masonry.plugin-CpLUlFxC.js} +4 -4
  35. package/dist/masonry.plugin-CpLUlFxC.js.br +0 -0
  36. package/dist/navigation.js +2 -2
  37. package/dist/polyfill.js +94 -94
  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 +1 -1
  42. package/dist/ActionField-Ck8cxR78.js.br +0 -0
  43. package/dist/AvailabilitySkeleton-C_OWp8Fq.js.br +0 -0
  44. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C2xXzeRY.js.br +0 -0
  45. package/dist/CheckoutWindow-DcaNMI9K.js.br +0 -0
  46. package/dist/ErrorMessage-DH5q_ieB.js.br +0 -0
  47. package/dist/EventAvailabilityForm-DphCQOMO.js.br +0 -0
  48. package/dist/Field-Dg8W7a_X.js.br +0 -0
  49. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js.br +0 -0
  50. package/dist/TermsOfService-DenzWB_O.js.br +0 -0
  51. package/dist/_.vue_vue_type_style_index_0_lang-VOXCSp8f.js.br +0 -0
  52. package/dist/giftCard-BpIUm5ol.js.br +0 -0
  53. package/dist/masonry.plugin-Bo5QRvUz.js.br +0 -0
@@ -3,7 +3,7 @@ import "./navigation.js";
3
3
  (function() {
4
4
  try {
5
5
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, t = new Error().stack;
6
- t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "a74e2b5d-8e22-4ad7-ab1d-cf3e2b910d5b", e._sentryDebugIdIdentifier = "sentry-dbid-a74e2b5d-8e22-4ad7-ab1d-cf3e2b910d5b");
6
+ t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "420f4d9b-3846-48db-8c80-9c8369ce7254", e._sentryDebugIdIdentifier = "sentry-dbid-420f4d9b-3846-48db-8c80-9c8369ce7254");
7
7
  } catch {
8
8
  }
9
9
  })();
@@ -6626,7 +6626,7 @@ const _d = kr("tracking", () => {
6626
6626
  headers: {
6627
6627
  Authorization: q.value,
6628
6628
  Accept: "application/json",
6629
- "Konnectio-Ver": "4.0.56-rc47"
6629
+ "Konnectio-Ver": "4.0.56-rc48"
6630
6630
  }
6631
6631
  })).data;
6632
6632
  o.value = Q, Q.success !== void 0 ? D.value = !Q.success : D.value = !1;
@@ -6643,7 +6643,7 @@ const _d = kr("tracking", () => {
6643
6643
  headers: {
6644
6644
  Authorization: q.value,
6645
6645
  Accept: "application/json",
6646
- "Fresh-Booking-Ver": "4.0.56-rc47"
6646
+ "Fresh-Booking-Ver": "4.0.56-rc48"
6647
6647
  }
6648
6648
  }).then((J) => {
6649
6649
  const { settings: Q, translations: R } = J.data;
@@ -6713,7 +6713,7 @@ const _d = kr("tracking", () => {
6713
6713
  headers: {
6714
6714
  Authorization: t.value,
6715
6715
  Accept: "application/json",
6716
- "Fresh-Booking-Ver": "4.0.56-rc47"
6716
+ "Fresh-Booking-Ver": "4.0.56-rc48"
6717
6717
  }
6718
6718
  }).then((h) => {
6719
6719
  const {
@@ -7011,7 +7011,7 @@ const _d = kr("tracking", () => {
7011
7011
  headers: {
7012
7012
  Authorization: l.value,
7013
7013
  Accept: "application/json",
7014
- "Konnectio-Ver": "4.0.56-rc47"
7014
+ "Konnectio-Ver": "4.0.56-rc48"
7015
7015
  }
7016
7016
  })).data;
7017
7017
  a.value = ye;
@@ -7040,7 +7040,7 @@ const _d = kr("tracking", () => {
7040
7040
  headers: {
7041
7041
  Authorization: l.value,
7042
7042
  Accept: "application/json",
7043
- "Konnectio-Ver": "4.0.56-rc47"
7043
+ "Konnectio-Ver": "4.0.56-rc48"
7044
7044
  }
7045
7045
  });
7046
7046
  Te.status !== 200 ? o({
@@ -7131,7 +7131,7 @@ const _d = kr("tracking", () => {
7131
7131
  headers: {
7132
7132
  Authorization: l.value,
7133
7133
  Accept: "application/json",
7134
- "Konnectio-Ver": "4.0.56-rc47"
7134
+ "Konnectio-Ver": "4.0.56-rc48"
7135
7135
  }
7136
7136
  }).then((ye) => {
7137
7137
  Zt.value = !1;
@@ -7166,7 +7166,7 @@ const _d = kr("tracking", () => {
7166
7166
  headers: {
7167
7167
  Authorization: l.value,
7168
7168
  Accept: "application/json",
7169
- "Konnectio-Ver": "4.0.56-rc47"
7169
+ "Konnectio-Ver": "4.0.56-rc48"
7170
7170
  }
7171
7171
  }).then((Te) => {
7172
7172
  Le.value = !1, P.value = !1, n.pay({
@@ -7306,7 +7306,7 @@ const _d = kr("tracking", () => {
7306
7306
  headers: {
7307
7307
  Authorization: n.bearerToken,
7308
7308
  Accept: "application/json",
7309
- "Konnectio-Ver": "4.0.56-rc47"
7309
+ "Konnectio-Ver": "4.0.56-rc48"
7310
7310
  }
7311
7311
  })).data;
7312
7312
  i.value = P, P.defaultHotelId && (isNaN(s.value) ? s.value = P.defaultHotelId : s.value !== P.defaultHotelId && (A(), s.value = P.defaultHotelId), isNaN(u.value) && (u.value = P.defaultHotelId)), P.defaultEventId && (isNaN(y.value) ? y.value = P.defaultEventId : y.value !== P.defaultEventId && (A(), y.value = P.defaultEventId), isNaN(m.value) && (m.value = P.defaultEventId));
@@ -21390,4 +21390,4 @@ export {
21390
21390
  Ed as y,
21391
21391
  bo as z
21392
21392
  };
21393
- //# sourceMappingURL=Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js.map
21393
+ //# sourceMappingURL=Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DdW6bv1b.js.map
@@ -1,6 +1,6 @@
1
1
  import { d as a, o as r, b as i, w as d, g as t, u as o } from "./_commonjsHelpers-ytV6SVHa.js";
2
- import { h as c, j as f, _ as p } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js";
3
- import { B as _ } from "./CheckoutWindow-DcaNMI9K.js";
2
+ import { h as c, j as f, _ as p } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DdW6bv1b.js";
3
+ import { B as _ } from "./CheckoutWindow-DdkwNLy3.js";
4
4
  (function() {
5
5
  try {
6
6
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
@@ -32,4 +32,4 @@ const l = { class: "konnectio-terms-side-panel" }, u = ["innerHTML"], m = /* @__
32
32
  export {
33
33
  I as S
34
34
  };
35
- //# sourceMappingURL=TermsOfService-DenzWB_O.js.map
35
+ //# sourceMappingURL=TermsOfService-CmEZmmhy.js.map
@@ -1,4 +1,4 @@
1
- import { _ as t } from "./_.vue_vue_type_style_index_0_lang-VOXCSp8f.js";
1
+ import { _ as t } from "./_.vue_vue_type_style_index_0_lang-CYFSipoN.js";
2
2
  (function() {
3
3
  try {
4
4
  var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, d = new Error().stack;
@@ -9,4 +9,4 @@ import { _ as t } from "./_.vue_vue_type_style_index_0_lang-VOXCSp8f.js";
9
9
  export {
10
10
  t as default
11
11
  };
12
- //# sourceMappingURL=_-DgexTosT.js.map
12
+ //# sourceMappingURL=_-BIlhnQ1K.js.map
@@ -1,5 +1,5 @@
1
1
  import { d as _, o as c, a as r, u as o, f, g as p, t as m, e as b, n as y, s as d, v as g } from "./_commonjsHelpers-ytV6SVHa.js";
2
- import { s as k, a as w, z as h, _ as I, b as v } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js";
2
+ import { s as k, a as w, z as h, _ as I, b as v } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DdW6bv1b.js";
3
3
  (function() {
4
4
  try {
5
5
  var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, a = new Error().stack;
@@ -65,4 +65,4 @@ const D = {
65
65
  export {
66
66
  N as _
67
67
  };
68
- //# sourceMappingURL=_.vue_vue_type_style_index_0_lang-VOXCSp8f.js.map
68
+ //# sourceMappingURL=_.vue_vue_type_style_index_0_lang-CYFSipoN.js.map
@@ -1,10 +1,10 @@
1
1
  import { d as C, r as E, c as f, h as I, o as p, b as v, w as d, S, g as a, f as y, a as T, n as A, i as _, t as g, u as h, F as N, e as L, T as B, p as D, j as M, k as z } from "./_commonjsHelpers-ytV6SVHa.js";
2
- import { h as F, m as H, n as P, _ as V, o as j, p as O, q as $ } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js";
2
+ import { h as F, m as H, n as P, _ as V, o as j, p as O, q as $ } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DdW6bv1b.js";
3
3
  import { c as U } from "./sentry-D1A53_C5.js";
4
- import { _ as Z } from "./_.vue_vue_type_style_index_0_lang-VOXCSp8f.js";
5
- import { H as q, A as K } from "./AvailabilitySkeleton-C_OWp8Fq.js";
6
- import { E as G } from "./EventAvailabilityForm-DphCQOMO.js";
7
- import { E as J } from "./ErrorMessage-DH5q_ieB.js";
4
+ import { _ as Z } from "./_.vue_vue_type_style_index_0_lang-CYFSipoN.js";
5
+ import { H as q, A as K } from "./AvailabilitySkeleton-D-WEI9Yg.js";
6
+ import { E as G } from "./EventAvailabilityForm-BBVSXf1v.js";
7
+ import { E as J } from "./ErrorMessage-Cyrsqt8X.js";
8
8
  import "./navigation.js";
9
9
  (function() {
10
10
  try {
Binary file
package/dist/event.js CHANGED
@@ -1,15 +1,15 @@
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 he, i as ke, 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 De, z as pe, K as Ke, b as Pe, B as ye, M as ve, A as R, m as Qe, O as _e, 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-DxwVk__I.js";
3
- import { B as ot, R as lt, L as Ae, S as at, M as st, C as it, T as rt, V as ut, G as ct } from "./masonry.plugin-Bo5QRvUz.js";
4
- import { u as j, E as dt } from "./EventAvailabilityForm-DphCQOMO.js";
5
- import { _ as mt } from "./_.vue_vue_type_style_index_0_lang-VOXCSp8f.js";
6
- import { t as G, e as pt, g as $e, m as we, a as Ee, b as Te, c as vt, d as Ve } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C2xXzeRY.js";
7
- import { a as ft, P as gt, C as bt } from "./CheckoutWindow-DcaNMI9K.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] = "1d5f0d8e-e67e-4ded-a8d6-742385f9fce3", c._sentryDebugIdIdentifier = "sentry-dbid-1d5f0d8e-e67e-4ded-a8d6-742385f9fce3");
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
  })();
@@ -27,32 +27,32 @@ function yt(c, n, i) {
27
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
- const g = Object.assign({}, i, {
30
+ const b = Object.assign({}, i, {
31
31
  addSuffix: i?.addSuffix,
32
32
  comparison: _
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 / Ve, C = $e(u) - $e($), D = (k - C) / Ve, 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
- if (P ? s = P : y < 1 ? s = "second" : y < 60 ? s = "minute" : y < we ? s = "hour" : D < Ee ? s = "day" : D < Te ? s = "month" : s = "year", s === "second") {
39
- const b = v(k / 1e3);
40
- return l.formatDistance("xSeconds", b, g);
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
+ const g = v(k / 1e3);
40
+ return l.formatDistance("xSeconds", g, b);
41
41
  } else if (s === "minute") {
42
- const b = v(y);
43
- return l.formatDistance("xMinutes", b, g);
42
+ const g = v(y);
43
+ return l.formatDistance("xMinutes", g, b);
44
44
  } else if (s === "hour") {
45
- const b = v(y / 60);
46
- return l.formatDistance("xHours", b, g);
45
+ const g = v(y / 60);
46
+ return l.formatDistance("xHours", g, b);
47
47
  } else if (s === "day") {
48
- const b = v(D / we);
49
- return l.formatDistance("xDays", b, g);
48
+ const g = v(D / $e);
49
+ return l.formatDistance("xDays", g, b);
50
50
  } else if (s === "month") {
51
- const b = v(D / Ee);
52
- return b === 12 && P !== "month" ? l.formatDistance("xYears", 1, g) : l.formatDistance("xMonths", b, g);
51
+ const g = v(D / we);
52
+ return g === 12 && P !== "month" ? l.formatDistance("xYears", 1, b) : l.formatDistance("xMonths", g, b);
53
53
  } else {
54
- const b = v(D / Te);
55
- return l.formatDistance("xYears", b, g);
54
+ const g = v(D / Ee);
55
+ return l.formatDistance("xYears", g, b);
56
56
  }
57
57
  }
58
58
  const _t = { class: "konnectio-event-listing-action" }, $t = { class: "konnectio-event-listing-action-button" }, wt = /* @__PURE__ */ Y({
@@ -81,24 +81,24 @@ const _t = { class: "konnectio-event-listing-action" }, $t = { class: "konnectio
81
81
  const { t: n } = ae(), i = c, { display: d } = Ye(), {
82
82
  maxNumberOfPeople: l,
83
83
  numberOfPeople: _,
84
- eventId: g,
84
+ eventId: b,
85
85
  tableGroupId: $
86
86
  } = H(j()), {
87
87
  getTemplateAvailability: u,
88
88
  getEventAvailability: v,
89
89
  isEventListingLoading: k
90
90
  } = j(), y = Re(0), C = le(() => k(i.listingId)), D = () => {
91
- y.value > 0 ? (g.value = i.listingId, _.value = y.value, u(i.callback)) : d({
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")
94
94
  });
95
95
  }, P = () => {
96
- y.value > 0 ? (g.value = i.listingId, $.value = i.tableGroupId, _.value = y.value, v(i.callback)) : d({
96
+ y.value > 0 ? (b.value = i.listingId, $.value = i.tableGroupId, _.value = y.value, v(i.callback)) : d({
97
97
  type: "error",
98
98
  message: n("alert.error.selectPeople")
99
99
  });
100
100
  };
101
- return (s, b) => (a(), T(ot, {
101
+ return (s, g) => (a(), T(ot, {
102
102
  type: "event",
103
103
  "listing-id": s.listingId,
104
104
  gallery: s.gallery,
@@ -115,7 +115,7 @@ const _t = { class: "konnectio-event-listing-action" }, $t = { class: "konnectio
115
115
  t("div", _t, [
116
116
  f(oe, {
117
117
  modelValue: y.value,
118
- "onUpdate:modelValue": b[0] || (b[0] = (O) => y.value = O),
118
+ "onUpdate:modelValue": g[0] || (g[0] = (O) => y.value = O),
119
119
  label: e(n)("event.numberOfGuests"),
120
120
  icon: "users",
121
121
  "icon-type": "fas",
@@ -129,7 +129,7 @@ const _t = { class: "konnectio-event-listing-action" }, $t = { class: "konnectio
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: b[1] || (b[1] = (O) => s.type === "event" ? P() : D())
132
+ onClickEvent: g[1] || (g[1] = (O) => s.type === "event" ? P() : D())
133
133
  }, null, 8, ["label", "disabled", "is-loading"])
134
134
  ])
135
135
  ])
@@ -137,7 +137,7 @@ 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
- }), Ce = /* @__PURE__ */ se(wt, [["__scopeId", "data-v-38f9c15b"]]), Et = ["innerHTML"], Tt = { class: "konnectio-event-listing-information-new" };
140
+ }), Ae = /* @__PURE__ */ se(wt, [["__scopeId", "data-v-38f9c15b"]]), Et = ["innerHTML"], Tt = { class: "konnectio-event-listing-information-new" };
141
141
  const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-button" }, Pt = /* @__PURE__ */ Y({
142
142
  __name: "Event",
143
143
  props: {
@@ -167,7 +167,7 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
167
167
  new Date(2e3, 0, 1, 0, 0, 0)
168
168
  );
169
169
  });
170
- return (l, _) => (a(), T(Ce, {
170
+ return (l, _) => (a(), T(Ae, {
171
171
  "listing-id": l.listingId,
172
172
  name: l.name,
173
173
  description: l.description,
@@ -182,7 +182,7 @@ 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(De)(l.description)
185
+ innerHTML: e(Ve)(l.description)
186
186
  }, null, 8, Et)) : h("", !0),
187
187
  t("ul", Tt, [
188
188
  h("", !0),
@@ -237,7 +237,7 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
237
237
  url: n.image
238
238
  }];
239
239
  });
240
- return (d, l) => (a(), T(Ce, {
240
+ return (d, l) => (a(), T(Ae, {
241
241
  "listing-id": d.listingId,
242
242
  gallery: i.value,
243
243
  name: d.name,
@@ -250,7 +250,7 @@ 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(De)(d.description)
253
+ innerHTML: e(Ve)(d.description)
254
254
  }, null, 8, Ct)) : h("", !0)
255
255
  ]),
256
256
  _: 1
@@ -267,7 +267,7 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
267
267
  areListingsAvailable: d,
268
268
  arrivalTime: l,
269
269
  numberOfPeople: _,
270
- numberOfRooms: g,
270
+ numberOfRooms: b,
271
271
  numberOfTotalDays: $,
272
272
  isTemplateEvent: u,
273
273
  length: v,
@@ -277,9 +277,9 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
277
277
  basePrice: D,
278
278
  totalPrice: P,
279
279
  weekendFee: s,
280
- roomUpgrade: b,
280
+ roomUpgrade: g,
281
281
  discountCode: O
282
- } = H(j()), { totalAddonPrice: W, validateDiscountCode: ie } = j(), { currency: X } = H(Pe());
282
+ } = H(j()), { totalAddonPrice: W, validateDiscountCode: ie } = j(), { currency: X } = H(De());
283
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),
@@ -290,7 +290,7 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
290
290
  "base-price": e(D),
291
291
  "total-price": e(P),
292
292
  "weekend-fee": e(s),
293
- "room-upgrade": e(b),
293
+ "room-upgrade": e(g),
294
294
  notice: e(n)("hotel.reservationNotice")
295
295
  }, Fe({
296
296
  form: p(() => [
@@ -299,11 +299,11 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
299
299
  "reservation-summary": p(() => [
300
300
  e(u) ? (a(), m("li", Bt, [
301
301
  t("span", null, o(e(n)("booking.reservation.arrival")), 1),
302
- t("b", null, o(e(ye)(e(k))), 1)
302
+ t("b", null, o(e(ke)(e(k))), 1)
303
303
  ])) : h("", !0),
304
304
  e(u) ? (a(), m("li", St, [
305
305
  t("span", null, o(e(n)("booking.reservation.departure")), 1),
306
- t("b", null, o(e(ye)(e(k), e($))), 1)
306
+ t("b", null, o(e(ke)(e(k), e($))), 1)
307
307
  ])) : h("", !0),
308
308
  t("li", null, [
309
309
  t("span", null, o(e(n)("event.numberOfGuests")), 1),
@@ -311,7 +311,7 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
311
311
  ]),
312
312
  e(u) ? (a(), m("li", Lt, [
313
313
  t("span", null, o(e(n)("event.numberOfRooms")), 1),
314
- t("b", null, o(e(g)), 1)
314
+ t("b", null, o(e(b)), 1)
315
315
  ])) : h("", !0),
316
316
  e(u) ? (a(), m("li", It, [
317
317
  t("span", null, o(e(n)("event.numberOfDays")), 1),
@@ -355,7 +355,7 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
355
355
  setup(c) {
356
356
  return (n, i) => (a(), m("div", Ut, [
357
357
  t("div", Ft, [
358
- f(Ae)
358
+ f(Pe)
359
359
  ]),
360
360
  t("div", qt, [
361
361
  h("", !0),
@@ -363,7 +363,7 @@ const Vt = { class: "konnectio-pill-button" }, Dt = { class: "konnectio-pill-but
363
363
  ])
364
364
  ]));
365
365
  }
366
- }), Gt = /* @__PURE__ */ se(zt, [["__scopeId", "data-v-3e15c4e3"]]), U = (c) => (Ge("data-v-c31c84d2"), c = c(), He(), c), Ht = {
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
  };
@@ -372,7 +372,7 @@ const Yt = { class: "fresh-booking-event-listings" }, Zt = { class: "konnectio-p
372
372
  key: 1,
373
373
  id: "fresh-booking-event-addons"
374
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"], gn = { class: "konnectio-panel" }, bn = ["onClick"], hn = /* @__PURE__ */ Y({
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: {
@@ -386,7 +386,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
386
386
  products: d,
387
387
  numberOfDays: l,
388
388
  name: _,
389
- phone: g,
389
+ phone: b,
390
390
  email: $,
391
391
  remark: u,
392
392
  arrivalTime: v,
@@ -396,7 +396,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
396
396
  getTemplates: D,
397
397
  getEventData: P,
398
398
  getTemplateData: s,
399
- getEventTableData: b,
399
+ getEventTableData: g,
400
400
  hasProducts: O,
401
401
  eventRateType: W,
402
402
  areListingsAvailable: ie,
@@ -405,15 +405,15 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
405
405
  hasListingData: x,
406
406
  isPaymentLoading: F
407
407
  } = H(j()), { searchDate: ee } = H(Qe()), {
408
- initialize: Oe,
409
- fetchListings: fe,
408
+ initialize: Ce,
409
+ fetchListings: Oe,
410
410
  createBooking: Be,
411
- localAddonPrice: ge,
411
+ localAddonPrice: fe,
412
412
  totalAddonPrice: Se,
413
413
  reset: be
414
- } = j(), { currency: Z } = H(Pe()), Le = le(() => {
414
+ } = j(), { currency: Z } = H(De()), Le = le(() => {
415
415
  const L = [];
416
- return b.value && b.value.forEach((w) => {
416
+ return g.value && g.value.forEach((w) => {
417
417
  L.push({
418
418
  label: ve(w.time),
419
419
  value: w.time
@@ -421,16 +421,18 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
421
421
  }), L;
422
422
  });
423
423
  function Ie() {
424
- fe();
424
+ console.log("after meta"), Oe();
425
425
  }
426
- return qe(ee, () => fe()), (L, w) => (a(), T(Xe, { styling: L.styling }, {
426
+ return qe(ee, () => {
427
+ console.log("search date");
428
+ }), (L, w) => (a(), T(Xe, { styling: L.styling }, {
427
429
  default: p(() => [
428
430
  (a(), T(ze, { onResolve: Ie }, {
429
431
  default: p(() => [
430
432
  f(mt, {
431
433
  id: "konnectio-event-module",
432
434
  "access-token": L.accessToken,
433
- callback: e(Oe)
435
+ callback: e(Ce)
434
436
  }, {
435
437
  default: p(() => [
436
438
  f(st, null, {
@@ -504,7 +506,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
504
506
  }, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
505
507
  ])
506
508
  ], 64)) : h("", !0)
507
- ])) : (a(), T(Ae, { key: 1 }))
509
+ ])) : (a(), T(Pe, { key: 1 }))
508
510
  ]),
509
511
  _: 2
510
512
  }, 1024)
@@ -516,7 +518,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
516
518
  t("h2", null, [
517
519
  t("span", null, o(e(n)("booking.reservation.addons")), 1)
518
520
  ]),
519
- e(W) === e(_e).FullDayEvent ? (a(), T(oe, {
521
+ e(W) === e(ye).FullDayEvent ? (a(), T(oe, {
520
522
  key: 0,
521
523
  modelValue: e(l),
522
524
  "onUpdate:modelValue": w[0] || (w[0] = (r) => M(l) ? l.value = r : null),
@@ -532,13 +534,13 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
532
534
  }, E) => (a(), m("li", { key: r }, [
533
535
  t("h5", null, [
534
536
  t("span", null, o(e(n)("booking.reservation.room")) + " #" + o(E + 1), 1),
535
- he(" ("),
537
+ ge(" ("),
536
538
  f(pe, {
537
539
  icon: "male",
538
540
  type: "fas",
539
541
  color: "header"
540
542
  }),
541
- he(" " + o(N) + ") ", 1)
543
+ ge(" " + o(N) + ") ", 1)
542
544
  ]),
543
545
  t("table", Kt, [
544
546
  t("thead", null, [
@@ -580,7 +582,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
580
582
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
581
583
  ]),
582
584
  t("td", en, [
583
- t("span", null, o(e(R)(e(ge)(V, r, E), e(Z))), 1)
585
+ t("span", null, o(e(R)(e(fe)(V, r, E), e(Z))), 1)
584
586
  ])
585
587
  ]))), 128))
586
588
  ]),
@@ -598,7 +600,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
598
600
  ])
599
601
  ]))), 128))
600
602
  ])) : h("", !0),
601
- e(W) !== e(_e).FullDayEvent && !e(S) ? (a(), m("div", ln, [
603
+ e(W) !== e(ye).FullDayEvent && !e(S) ? (a(), m("div", ln, [
602
604
  h("", !0),
603
605
  f(it, {
604
606
  modelValue: e(v),
@@ -645,7 +647,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
645
647
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
646
648
  ]),
647
649
  t("td", vn, [
648
- t("span", null, o(e(R)(e(ge)(r), e(Z))), 1)
650
+ t("span", null, o(e(R)(e(fe)(r), e(Z))), 1)
649
651
  ])
650
652
  ]))), 128))
651
653
  ])
@@ -661,7 +663,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
661
663
  }, null, 8, ["label", "onClickEvent"]),
662
664
  t("button", {
663
665
  class: "konnectio-abort-reservation link",
664
- onClick: ke((r) => e(be)(A), ["prevent"])
666
+ onClick: he((r) => e(be)(A), ["prevent"])
665
667
  }, [
666
668
  t("span", null, o(e(n)("general.goAStepBack")), 1)
667
669
  ], 8, fn)
@@ -675,7 +677,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
675
677
  "show-gift-card": !0
676
678
  }, {
677
679
  form: p(() => [
678
- t("form", gn, [
680
+ t("form", bn, [
679
681
  t("h2", null, [
680
682
  t("span", null, o(e(n)("booking.reservation.detailsTitle")), 1)
681
683
  ]),
@@ -699,9 +701,9 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
699
701
  placeholder: e(n)("booking.reservation.emailPlaceholder"),
700
702
  required: ""
701
703
  }, null, 8, ["modelValue", "label", "placeholder"]),
702
- f(gt, {
703
- modelValue: e(g),
704
- "onUpdate:modelValue": w[4] || (w[4] = (r) => M(g) ? g.value = r : null),
704
+ f(bt, {
705
+ modelValue: e(b),
706
+ "onUpdate:modelValue": w[4] || (w[4] = (r) => M(b) ? b.value = r : null),
705
707
  label: e(n)("booking.reservation.phone"),
706
708
  icon: "phone-office",
707
709
  placeholder: e(n)("booking.reservation.phonePlaceholder"),
@@ -726,16 +728,16 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
726
728
  }, null, 8, ["label", "is-loading", "onClickEvent"]),
727
729
  t("button", {
728
730
  class: "konnectio-abort-reservation link",
729
- onClick: ke((r) => e(be)(A), ["prevent"])
731
+ onClick: he((r) => e(be)(A), ["prevent"])
730
732
  }, [
731
733
  t("span", null, o(e(n)("general.goAStepBack")), 1)
732
- ], 8, bn)
734
+ ], 8, gn)
733
735
  ]),
734
736
  _: 2
735
737
  }, 1024)
736
738
  ]),
737
739
  payment: p(() => [
738
- f(bt)
740
+ f(gt)
739
741
  ]),
740
742
  confirmation: p(() => [
741
743
  f(rt, {
@@ -757,7 +759,7 @@ const an = { key: 3 }, sn = { class: "konnectio-label required" }, rn = { class:
757
759
  _: 1
758
760
  }, 8, ["styling"]));
759
761
  }
760
- }), te = /* @__PURE__ */ se(hn, [["__scopeId", "data-v-c31c84d2"]]), kn = xe(), yn = nt();
762
+ }), te = /* @__PURE__ */ se(hn, [["__scopeId", "data-v-fbb94947"]]), kn = xe(), yn = nt();
761
763
  class _n extends HTMLElement {
762
764
  vueApp;
763
765
  constructor() {
@@ -771,14 +773,14 @@ class _n extends HTMLElement {
771
773
  let i = Array.isArray(n.props) ? n.props : Object.keys(n.props || {});
772
774
  const d = (u) => u.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (v, k) => (k ? "-" : "") + v.toLowerCase()), l = (u) => u.replace(/-./g, (v) => v[1].toUpperCase()), _ = {};
773
775
  i = i.map(d);
774
- const g = {};
776
+ const b = {};
775
777
  for (const u of this.attributes) {
776
778
  const k = u.name.split(".");
777
- k.length > 1 && (g[k[0]] || (g[k[0]] = {}), g[k[0]][l(k[1])] = u.value);
779
+ k.length > 1 && (b[k[0]] || (b[k[0]] = {}), b[k[0]][l(k[1])] = u.value);
778
780
  }
779
781
  for (const u of i) {
780
782
  let v = this.attributes.getNamedItem(u)?.value;
781
- g.hasOwnProperty(u) && (v = g[u]), _[u] = v;
783
+ b.hasOwnProperty(u) && (v = b[u]), _[u] = v;
782
784
  }
783
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 });
784
786
  const $ = document.createElement("div");
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-DxwVk__I.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-BpIUm5ol.js";
5
- import { _ as W } from "./_.vue_vue_type_style_index_0_lang-VOXCSp8f.js";
6
- import { A as J } from "./ActionField-Ck8cxR78.js";
7
- import { F as S } from "./Field-Dg8W7a_X.js";
8
- import { E as K } from "./ErrorMessage-DH5q_ieB.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
package/dist/gift-card.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import { d as S, r as K, c as Z, o as s, b as w, w as F, g as l, a as v, f as o, u as e, e as g, n as Y, t as G, i as ae, q as oe, h as ne, S as ie, y as T, z as L, F as se, A as re, x as y, p as de, j as ue, k as ce } from "./_commonjsHelpers-ytV6SVHa.js";
2
- import { h as B, a as pe, C as I, I as me, E as fe, _ as z, D as be, s as O, b as ve, k as he, L as _e, T as q, l as ge, n as ke, o as ye, p as Ce, F as Ve, q as we } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js";
3
- import { u as x } from "./giftCard-BpIUm5ol.js";
4
- import { _ as Fe } from "./_.vue_vue_type_style_index_0_lang-VOXCSp8f.js";
5
- import { C as $e, a as Ee, P as Pe, _ as Ue } from "./CheckoutWindow-DcaNMI9K.js";
6
- import { F as A } from "./Field-Dg8W7a_X.js";
7
- import { E as Ae } from "./ErrorMessage-DH5q_ieB.js";
8
- import { S as Ie } from "./TermsOfService-DenzWB_O.js";
2
+ import { h as B, a as pe, C as I, I as me, E as fe, _ as z, D as be, s as O, b as ve, k as he, L as _e, T as q, l as ge, n as ke, o as ye, p as Ce, F as Ve, q as we } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DdW6bv1b.js";
3
+ import { u as x } from "./giftCard-B9vV1-Jc.js";
4
+ import { _ as Fe } from "./_.vue_vue_type_style_index_0_lang-CYFSipoN.js";
5
+ import { C as $e, a as Ee, P as Pe, _ as Ue } from "./CheckoutWindow-DdkwNLy3.js";
6
+ import { F as A } from "./Field-cLYq6dB7.js";
7
+ import { E as Ae } from "./ErrorMessage-Cyrsqt8X.js";
8
+ import { S as Ie } from "./TermsOfService-CmEZmmhy.js";
9
9
  import "./navigation.js";
10
10
  (function() {
11
11
  try {
Binary file