@konnectio/core 4.0.56-rc45 → 4.0.56-rc47

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 (63) hide show
  1. package/dist/{ActionField-DgGRyzyW.js → ActionField-Ck8cxR78.js} +10 -10
  2. package/dist/ActionField-Ck8cxR78.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-D_svZV0K.js → AvailabilitySkeleton-C_OWp8Fq.js} +61 -61
  4. package/dist/AvailabilitySkeleton-C_OWp8Fq.js.br +0 -0
  5. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C2xXzeRY.js +7814 -0
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C2xXzeRY.js.br +0 -0
  7. package/dist/{CheckoutWindow-B85nPXcN.js → CheckoutWindow-DcaNMI9K.js} +14 -14
  8. package/dist/CheckoutWindow-DcaNMI9K.js.br +0 -0
  9. package/dist/{ErrorMessage-hoBbvZJL.js → ErrorMessage-DH5q_ieB.js} +4 -4
  10. package/dist/ErrorMessage-DH5q_ieB.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-CqiuFIoF.js → EventAvailabilityForm-DphCQOMO.js} +115 -116
  12. package/dist/EventAvailabilityForm-DphCQOMO.js.br +0 -0
  13. package/dist/{Field-Crk3SejD.js → Field-Dg8W7a_X.js} +8 -8
  14. package/dist/Field-Dg8W7a_X.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CbcnRtEB.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js} +3187 -3187
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DxwVk__I.js.br +0 -0
  17. package/dist/{TermsOfService-CIIPZAIU.js → TermsOfService-DenzWB_O.js} +10 -10
  18. package/dist/TermsOfService-DenzWB_O.js.br +0 -0
  19. package/dist/_-DgexTosT.js +12 -0
  20. package/dist/_.vue_vue_type_style_index_0_lang-VOXCSp8f.js +68 -0
  21. package/dist/_.vue_vue_type_style_index_0_lang-VOXCSp8f.js.br +0 -0
  22. package/dist/_commonjsHelpers-ytV6SVHa.js +9541 -0
  23. package/dist/_commonjsHelpers-ytV6SVHa.js.br +0 -0
  24. package/dist/availability.js +56 -55
  25. package/dist/availability.js.br +0 -0
  26. package/dist/event.js +164 -159
  27. package/dist/event.js.br +0 -0
  28. package/dist/gift-card-validation.js +19 -18
  29. package/dist/gift-card-validation.js.br +0 -0
  30. package/dist/gift-card.js +138 -138
  31. package/dist/gift-card.js.br +0 -0
  32. package/dist/{giftCard-CeKChSm1.js → giftCard-BpIUm5ol.js} +6 -6
  33. package/dist/giftCard-BpIUm5ol.js.br +0 -0
  34. package/dist/hotel.js +820 -815
  35. package/dist/hotel.js.br +0 -0
  36. package/dist/{masonry.plugin-CKLroL2Q.js → masonry.plugin-Bo5QRvUz.js} +3425 -3408
  37. package/dist/masonry.plugin-Bo5QRvUz.js.br +0 -0
  38. package/dist/navigation.js +3 -3
  39. package/dist/polyfill.js +3994 -3991
  40. package/dist/polyfill.js.br +0 -0
  41. package/dist/sentry-D1A53_C5.js +18 -0
  42. package/dist/style.css +1 -1
  43. package/dist/style.css.br +0 -0
  44. package/dist/tracing-wxeFiHIa.js +2287 -0
  45. package/dist/tracing-wxeFiHIa.js.br +0 -0
  46. package/package.json +7 -7
  47. package/dist/ActionField-DgGRyzyW.js.br +0 -0
  48. package/dist/AvailabilitySkeleton-D_svZV0K.js.br +0 -0
  49. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CvjkJdcx.js +0 -7746
  50. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CvjkJdcx.js.br +0 -0
  51. package/dist/CheckoutWindow-B85nPXcN.js.br +0 -0
  52. package/dist/ErrorMessage-hoBbvZJL.js.br +0 -0
  53. package/dist/EventAvailabilityForm-CqiuFIoF.js.br +0 -0
  54. package/dist/Field-Crk3SejD.js.br +0 -0
  55. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CbcnRtEB.js.br +0 -0
  56. package/dist/TermsOfService-CIIPZAIU.js.br +0 -0
  57. package/dist/_-DuaWvsgR.js +0 -12
  58. package/dist/_.vue_vue_type_style_index_0_lang-MG6OWZHv.js +0 -71
  59. package/dist/_.vue_vue_type_style_index_0_lang-MG6OWZHv.js.br +0 -0
  60. package/dist/_commonjsHelpers-CbB_C6Ai.js +0 -11816
  61. package/dist/_commonjsHelpers-CbB_C6Ai.js.br +0 -0
  62. package/dist/giftCard-CeKChSm1.js.br +0 -0
  63. package/dist/masonry.plugin-CKLroL2Q.js.br +0 -0
package/dist/event.js CHANGED
@@ -1,61 +1,61 @@
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, h as Fe, q as qe, S as ze, D as ge, i as he, p as Ge, j as He, k as je } from "./_commonjsHelpers-CbB_C6Ai.js";
2
- import { h as ae, a as Ye, s as H, J as Ze, l as oe, C as me, K as Je, _ as se, j as De, A as pe, M as Ke, b as Ve, D as ke, N as ve, B as R, m as Qe, O as ye, P as We, T as ce, n as Xe, o as xe, p as et, q as tt, H as nt, t as ot } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CbcnRtEB.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-CKLroL2Q.js";
4
- import { u as j, E as mt } from "./EventAvailabilityForm-CqiuFIoF.js";
5
- import { _ as pt } from "./_.vue_vue_type_style_index_0_lang-MG6OWZHv.js";
6
- import { t as G, e as vt, g as _e, m as $e, a as we, b as Ee, c as ft, d as Te } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CvjkJdcx.js";
7
- import { a as bt, P as gt, C as ht } from "./CheckoutWindow-B85nPXcN.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 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";
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] = "b1500b51-770e-461f-accf-400b6d9f4148", c._sentryDebugIdIdentifier = "sentry-dbid-b1500b51-770e-461f-accf-400b6d9f4148");
12
+ n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "1d5f0d8e-e67e-4ded-a8d6-742385f9fce3", c._sentryDebugIdIdentifier = "sentry-dbid-1d5f0d8e-e67e-4ded-a8d6-742385f9fce3");
13
13
  } catch {
14
14
  }
15
15
  })();
16
- function kt(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 yt(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 _t(c, n, i) {
27
- const d = ft(), l = i?.locale ?? d.locale ?? vt, _ = kt(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
- const b = Object.assign({}, i, {
30
+ const g = 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 = yt(i?.roundingMethod ?? "round"), k = u.getTime() - $.getTime(), y = k / Te, C = _e(u) - _e($), V = (k - C) / Te, P = i?.unit;
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;
37
37
  let s;
38
- if (P ? s = P : y < 1 ? s = "second" : y < 60 ? s = "minute" : y < $e ? s = "hour" : V < we ? s = "day" : V < Ee ? s = "month" : s = "year", s === "second") {
39
- const g = v(k / 1e3);
40
- return l.formatDistance("xSeconds", g, b);
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);
41
41
  } else if (s === "minute") {
42
- const g = v(y);
43
- return l.formatDistance("xMinutes", g, b);
42
+ const b = v(y);
43
+ return l.formatDistance("xMinutes", b, g);
44
44
  } else if (s === "hour") {
45
- const g = v(y / 60);
46
- return l.formatDistance("xHours", g, b);
45
+ const b = v(y / 60);
46
+ return l.formatDistance("xHours", b, g);
47
47
  } else if (s === "day") {
48
- const g = v(V / $e);
49
- return l.formatDistance("xDays", g, b);
48
+ const b = v(D / we);
49
+ return l.formatDistance("xDays", b, g);
50
50
  } else if (s === "month") {
51
- const g = v(V / we);
52
- return g === 12 && P !== "month" ? l.formatDistance("xYears", 1, b) : l.formatDistance("xMonths", g, b);
51
+ const b = v(D / Ee);
52
+ return b === 12 && P !== "month" ? l.formatDistance("xYears", 1, g) : l.formatDistance("xMonths", b, g);
53
53
  } else {
54
- const g = v(V / Ee);
55
- return l.formatDistance("xYears", g, b);
54
+ const b = v(D / Te);
55
+ return l.formatDistance("xYears", b, g);
56
56
  }
57
57
  }
58
- const $t = { class: "konnectio-event-listing-action" }, wt = { class: "konnectio-event-listing-action-button" }, Et = /* @__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: {},
@@ -81,24 +81,25 @@ const $t = { class: "konnectio-event-listing-action" }, wt = { class: "konnectio
81
81
  const { t: n } = ae(), i = c, { display: d } = Ye(), {
82
82
  maxNumberOfPeople: l,
83
83
  numberOfPeople: _,
84
- eventId: b,
84
+ eventId: g,
85
85
  tableGroupId: $
86
86
  } = H(j()), {
87
87
  getTemplateAvailability: u,
88
88
  getEventAvailability: v,
89
89
  isEventListingLoading: k
90
- } = j(), y = Me(0), C = le(() => k(i.listingId)), V = () => {
91
- y.value > 0 ? (b.value = i.listingId, _.value = y.value, u(i.callback)) : d({
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({
92
92
  type: "error",
93
93
  message: n("alert.error.selectPeople")
94
94
  });
95
95
  }, P = () => {
96
- y.value > 0 ? (b.value = i.listingId, $.value = i.tableGroupId, _.value = y.value, v(i.callback)) : d({
96
+ y.value > 0 ? (g.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, g) => (a(), T(lt, {
101
+ return (s, b) => (a(), T(ot, {
102
+ type: "event",
102
103
  "listing-id": s.listingId,
103
104
  gallery: s.gallery,
104
105
  name: s.name,
@@ -111,10 +112,10 @@ const $t = { class: "konnectio-event-listing-action" }, wt = { class: "konnectio
111
112
  ne(s.$slots, "description", { maxNumberOfPeople: e(l) }, void 0, !0)
112
113
  ]),
113
114
  action: p(() => [
114
- t("div", $t, [
115
+ t("div", _t, [
115
116
  f(oe, {
116
117
  modelValue: y.value,
117
- "onUpdate:modelValue": g[0] || (g[0] = (O) => y.value = O),
118
+ "onUpdate:modelValue": b[0] || (b[0] = (O) => y.value = O),
118
119
  label: e(n)("event.numberOfGuests"),
119
120
  icon: "users",
120
121
  "icon-type": "fas",
@@ -123,12 +124,12 @@ const $t = { class: "konnectio-event-listing-action" }, wt = { class: "konnectio
123
124
  "min-value": s.type === "event" ? 0 : s.minimumPersonCount,
124
125
  "max-value": s.type === "event" ? s.maxOnlineReservationLimit || 1 / 0 : e(l)
125
126
  }, null, 8, ["modelValue", "label", "description", "min-value", "max-value"]),
126
- t("div", wt, [
127
+ t("div", $t, [
127
128
  f(me, {
128
129
  label: s.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
129
130
  disabled: s.soldOut,
130
131
  "is-loading": C.value,
131
- onClickEvent: g[1] || (g[1] = (O) => s.type === "event" ? P() : V())
132
+ onClickEvent: b[1] || (b[1] = (O) => s.type === "event" ? P() : D())
132
133
  }, null, 8, ["label", "disabled", "is-loading"])
133
134
  ])
134
135
  ])
@@ -136,8 +137,8 @@ const $t = { class: "konnectio-event-listing-action" }, wt = { class: "konnectio
136
137
  _: 3
137
138
  }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
138
139
  }
139
- }), Ae = /* @__PURE__ */ se(Et, [["__scopeId", "data-v-65571246"]]), Tt = ["innerHTML"], Dt = { class: "konnectio-event-listing-information-new" };
140
- const Vt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-button" }, At = /* @__PURE__ */ Y({
140
+ }), Ce = /* @__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({
141
142
  __name: "Event",
142
143
  props: {
143
144
  name: {},
@@ -161,12 +162,12 @@ const Vt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
161
162
  setup(c) {
162
163
  const n = c, { t: i } = ae(), d = le(() => {
163
164
  const l = n.length.split(":");
164
- return console.log(l), _t(
165
+ return console.log(l), yt(
165
166
  new Date(2e3, 0, 1, Number(l[0]), Number(l[1]), 0),
166
167
  new Date(2e3, 0, 1, 0, 0, 0)
167
168
  );
168
169
  });
169
- return (l, _) => (a(), T(Ae, {
170
+ return (l, _) => (a(), T(Ce, {
170
171
  "listing-id": l.listingId,
171
172
  name: l.name,
172
173
  description: l.description,
@@ -182,8 +183,8 @@ const Vt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
182
183
  l.description ? (a(), m("p", {
183
184
  key: 0,
184
185
  innerHTML: e(De)(l.description)
185
- }, null, 8, Tt)) : h("", !0),
186
- t("ul", Dt, [
186
+ }, null, 8, Et)) : h("", !0),
187
+ t("ul", Tt, [
187
188
  h("", !0),
188
189
  t("li", Vt, [
189
190
  t("div", null, [
@@ -195,7 +196,7 @@ const Vt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
195
196
  ]),
196
197
  t("span", null, o(d.value), 1)
197
198
  ]),
198
- t("li", Pt, [
199
+ t("li", Dt, [
199
200
  t("div", null, [
200
201
  f(pe, {
201
202
  icon: "calendar-clock",
@@ -210,7 +211,7 @@ const Vt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
210
211
  _: 1
211
212
  }, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "to-date", "callback"]));
212
213
  }
213
- }), Ct = /* @__PURE__ */ se(At, [["__scopeId", "data-v-148bf11e"]]), Ot = ["innerHTML"], Bt = /* @__PURE__ */ Y({
214
+ }), At = /* @__PURE__ */ se(Pt, [["__scopeId", "data-v-148bf11e"]]), Ct = ["innerHTML"], Ot = /* @__PURE__ */ Y({
214
215
  __name: "Template",
215
216
  props: {
216
217
  name: {},
@@ -236,7 +237,7 @@ const Vt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
236
237
  url: n.image
237
238
  }];
238
239
  });
239
- return (d, l) => (a(), T(Ae, {
240
+ return (d, l) => (a(), T(Ce, {
240
241
  "listing-id": d.listingId,
241
242
  gallery: i.value,
242
243
  name: d.name,
@@ -250,83 +251,83 @@ const Vt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
250
251
  d.description ? (a(), m("p", {
251
252
  key: 0,
252
253
  innerHTML: e(De)(d.description)
253
- }, null, 8, Ot)) : h("", !0)
254
+ }, null, 8, Ct)) : h("", !0)
254
255
  ]),
255
256
  _: 1
256
257
  }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
257
258
  }
258
- }), St = { key: 0 }, Lt = { key: 1 }, It = { key: 2 }, Nt = { key: 3 }, Mt = { key: 4 }, Rt = { key: 5 }, Ut = { 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({
259
260
  __name: "EventReservationForm",
260
261
  props: {
261
262
  showGiftCard: { type: Boolean, default: !1 },
262
263
  showTermsNotice: { type: Boolean, default: !1 }
263
264
  },
264
265
  setup(c) {
265
- const { t: n } = ae(), i = Re(), {
266
+ const { t: n } = ae(), i = Ue(), {
266
267
  areListingsAvailable: d,
267
268
  arrivalTime: l,
268
269
  numberOfPeople: _,
269
- numberOfRooms: b,
270
+ numberOfRooms: g,
270
271
  numberOfTotalDays: $,
271
272
  isTemplateEvent: u,
272
273
  length: v,
273
274
  fromDate: k,
274
275
  tableBasePrice: y,
275
276
  getTemplateData: C,
276
- basePrice: V,
277
+ basePrice: D,
277
278
  totalPrice: P,
278
279
  weekendFee: s,
279
- roomUpgrade: g,
280
+ roomUpgrade: b,
280
281
  discountCode: O
281
- } = H(j()), { totalAddonPrice: W, validateDiscountCode: ie } = j(), { currency: X } = H(Ve());
282
- return (S, x) => (a(), T(at, {
282
+ } = H(j()), { totalAddonPrice: W, validateDiscountCode: ie } = j(), { currency: X } = H(Pe());
283
+ return (S, x) => (a(), T(lt, {
283
284
  "discount-code": e(O),
284
285
  "onUpdate:discountCode": x[0] || (x[0] = (F) => M(O) ? O.value = F : null),
285
286
  "validate-discount-code": e(ie),
286
287
  "show-gift-card": S.showGiftCard,
287
288
  "show-terms-notice": S.showTermsNotice,
288
289
  "is-sidebar-loading": !e(d),
289
- "base-price": e(V),
290
+ "base-price": e(D),
290
291
  "total-price": e(P),
291
292
  "weekend-fee": e(s),
292
- "room-upgrade": e(g),
293
+ "room-upgrade": e(b),
293
294
  notice: e(n)("hotel.reservationNotice")
294
- }, Ue({
295
+ }, Fe({
295
296
  form: p(() => [
296
297
  ne(S.$slots, "form")
297
298
  ]),
298
299
  "reservation-summary": p(() => [
299
- e(u) ? (a(), m("li", St, [
300
+ e(u) ? (a(), m("li", Bt, [
300
301
  t("span", null, o(e(n)("booking.reservation.arrival")), 1),
301
- t("b", null, o(e(ke)(e(k))), 1)
302
+ t("b", null, o(e(ye)(e(k))), 1)
302
303
  ])) : h("", !0),
303
- e(u) ? (a(), m("li", Lt, [
304
+ e(u) ? (a(), m("li", St, [
304
305
  t("span", null, o(e(n)("booking.reservation.departure")), 1),
305
- t("b", null, o(e(ke)(e(k), e($))), 1)
306
+ t("b", null, o(e(ye)(e(k), e($))), 1)
306
307
  ])) : h("", !0),
307
308
  t("li", null, [
308
309
  t("span", null, o(e(n)("event.numberOfGuests")), 1),
309
310
  t("b", null, o(e(_)), 1)
310
311
  ]),
311
- e(u) ? (a(), m("li", It, [
312
+ e(u) ? (a(), m("li", Lt, [
312
313
  t("span", null, o(e(n)("event.numberOfRooms")), 1),
313
- t("b", null, o(e(b)), 1)
314
+ t("b", null, o(e(g)), 1)
314
315
  ])) : h("", !0),
315
- e(u) ? (a(), m("li", Nt, [
316
+ e(u) ? (a(), m("li", It, [
316
317
  t("span", null, o(e(n)("event.numberOfDays")), 1),
317
318
  t("b", null, o(e($)), 1)
318
319
  ])) : h("", !0),
319
- !e(u) && e(l) ? (a(), m("li", Mt, [
320
+ !e(u) && e(l) ? (a(), m("li", Nt, [
320
321
  t("span", null, o(e(n)("event.startOfEvent")), 1),
321
322
  t("b", null, o(e(ve)(e(l))), 1)
322
323
  ])) : h("", !0),
323
- !e(u) && e(v) ? (a(), m("li", Rt, [
324
+ !e(u) && e(v) ? (a(), m("li", Mt, [
324
325
  t("span", null, o(e(n)("event.lengthOfEvent")), 1),
325
326
  t("b", null, o(e(ve)(e(v))), 1)
326
327
  ])) : h("", !0)
327
328
  ]),
328
329
  "price-summary": p(() => [
329
- !e(u) && e(y) > 0 ? (a(), m("li", Ut, [
330
+ !e(u) && e(y) > 0 ? (a(), m("li", Rt, [
330
331
  t("span", null, o(e(n)("booking.availability.basePrice")), 1),
331
332
  t("b", null, o(e(R)(e(y), e(X))), 1)
332
333
  ])) : h("", !0),
@@ -349,29 +350,29 @@ const Vt = { class: "konnectio-pill-button" }, Pt = { class: "konnectio-pill-but
349
350
  } : void 0
350
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"]));
351
352
  }
352
- }), Ft = { class: "event-skeleton" }, qt = { class: "event-skeleton-content" }, zt = { class: "event-skeleton-sidebar" }, Gt = /* @__PURE__ */ Y({
353
+ }), Ut = { class: "event-skeleton" }, Ft = { class: "event-skeleton-content" }, qt = { class: "event-skeleton-sidebar" }, zt = /* @__PURE__ */ Y({
353
354
  __name: "EventSkeleton",
354
355
  setup(c) {
355
- return (n, i) => (a(), m("div", Ft, [
356
- t("div", qt, [
357
- f(Pe)
356
+ return (n, i) => (a(), m("div", Ut, [
357
+ t("div", Ft, [
358
+ f(Ae)
358
359
  ]),
359
- t("div", zt, [
360
+ t("div", qt, [
360
361
  h("", !0),
361
- f(st)
362
+ f(at)
362
363
  ])
363
364
  ]));
364
365
  }
365
- }), Ht = /* @__PURE__ */ se(Gt, [["__scopeId", "data-v-3e15c4e3"]]), U = (c) => (Ge("data-v-af6f09ee"), c = c(), He(), c), jt = {
366
+ }), Gt = /* @__PURE__ */ se(zt, [["__scopeId", "data-v-3e15c4e3"]]), U = (c) => (Ge("data-v-c31c84d2"), c = c(), He(), c), Ht = {
366
367
  key: 0,
367
368
  id: "fresh-booking-event-overview"
368
369
  };
369
- const Yt = { class: "fresh-booking-event-listings" };
370
- const Zt = { class: "fresh-booking-event-listings" }, Jt = { class: "konnectio-panel" }, Kt = {
370
+ const jt = { class: "fresh-booking-event-listings" };
371
+ const Yt = { class: "fresh-booking-event-listings" }, Zt = { class: "konnectio-panel" }, Jt = {
371
372
  key: 1,
372
373
  id: "fresh-booking-event-addons"
373
- }, Qt = { class: "konnectio-table with-lines" }, Wt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), Xt = { class: "konnectio-event-addons-price" }, xt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), en = { class: "konnectio-event-addons-input" }, tn = { class: "konnectio-event-addons-price" }, nn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), on = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), ln = { class: "konnectio-event-addons-price" }, an = { key: 2 };
374
- 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
+ }, 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
376
  name: "EventLayout",
376
377
  __name: "Event",
377
378
  props: {
@@ -385,17 +386,17 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
385
386
  products: d,
386
387
  numberOfDays: l,
387
388
  name: _,
388
- phone: b,
389
+ phone: g,
389
390
  email: $,
390
391
  remark: u,
391
392
  arrivalTime: v,
392
393
  hasEvents: k,
393
394
  hasTemplates: y,
394
395
  getEvents: C,
395
- getTemplates: V,
396
+ getTemplates: D,
396
397
  getEventData: P,
397
398
  getTemplateData: s,
398
- getEventTableData: g,
399
+ getEventTableData: b,
399
400
  hasProducts: O,
400
401
  eventRateType: W,
401
402
  areListingsAvailable: ie,
@@ -404,56 +405,60 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
404
405
  hasListingData: x,
405
406
  isPaymentLoading: F
406
407
  } = H(j()), { searchDate: ee } = H(Qe()), {
407
- initialize: Ce,
408
- fetchListings: Oe,
408
+ initialize: Oe,
409
+ fetchListings: fe,
409
410
  createBooking: Be,
410
- localAddonPrice: fe,
411
+ localAddonPrice: ge,
411
412
  totalAddonPrice: Se,
412
413
  reset: be
413
- } = j(), { currency: Z } = H(Ve()), Le = le(() => {
414
+ } = j(), { currency: Z } = H(Pe()), Le = le(() => {
414
415
  const L = [];
415
- return g.value && g.value.forEach((w) => {
416
+ return b.value && b.value.forEach((w) => {
416
417
  L.push({
417
418
  label: ve(w.time),
418
419
  value: w.time
419
420
  });
420
421
  }), L;
421
422
  });
422
- return Fe(() => Ce()), qe(ee, () => Oe()), (L, w) => (a(), T(Xe, { styling: L.styling }, {
423
+ function Ie() {
424
+ fe();
425
+ }
426
+ return qe(ee, () => fe()), (L, w) => (a(), T(Xe, { styling: L.styling }, {
423
427
  default: p(() => [
424
- (a(), T(ze, null, {
428
+ (a(), T(ze, { onResolve: Ie }, {
425
429
  default: p(() => [
426
- f(pt, {
430
+ f(mt, {
427
431
  id: "konnectio-event-module",
428
- "access-token": L.accessToken
432
+ "access-token": L.accessToken,
433
+ callback: e(Oe)
429
434
  }, {
430
435
  default: p(() => [
431
- f(it, null, {
436
+ f(st, null, {
432
437
  availability: p(({ next: q }) => [
433
438
  f(de, null, {
434
439
  sidebar: p(() => [
435
- f(mt, { redirection: !1 })
440
+ f(dt, { redirection: !1 })
436
441
  ]),
437
442
  form: p(() => [
438
- e(x) && e(ie) ? (a(), m("div", jt, [
443
+ e(x) && e(ie) ? (a(), m("div", Ht, [
439
444
  e(k) && L.onlyShow !== "templates" ? (a(), m(B, { key: 0 }, [
440
445
  h("", !0),
441
- t("ul", Yt, [
446
+ t("ul", jt, [
442
447
  (a(!0), m(B, null, z(e(C), ({
443
448
  id: A,
444
449
  days: r,
445
450
  name: I,
446
451
  timeFrom: N,
447
452
  timeTo: E,
448
- fromDate: D,
453
+ fromDate: V,
449
454
  toDate: J,
450
455
  tableGroupId: K,
451
456
  description: re,
452
457
  soldOut: ue,
453
458
  length: Q,
454
- images: Ie,
455
- maxOnlineReservationLimit: Ne
456
- }) => (a(), T(Ct, {
459
+ images: Ne,
460
+ maxOnlineReservationLimit: Me
461
+ }) => (a(), T(At, {
457
462
  key: A,
458
463
  type: "event",
459
464
  "listing-id": A,
@@ -461,11 +466,11 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
461
466
  description: re,
462
467
  name: I,
463
468
  length: Q,
464
- gallery: Ie,
469
+ gallery: Ne,
465
470
  days: r,
466
- "from-date": D,
471
+ "from-date": V,
467
472
  "to-date": J,
468
- "max-online-reservation-limit": Ne,
473
+ "max-online-reservation-limit": Me,
469
474
  "time-from": N,
470
475
  "time-to": E,
471
476
  "sold-out": ue,
@@ -475,17 +480,17 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
475
480
  ], 64)) : h("", !0),
476
481
  e(y) && L.onlyShow !== "events" ? (a(), m(B, { key: 1 }, [
477
482
  h("", !0),
478
- t("ul", Zt, [
479
- (a(!0), m(B, null, z(e(V), ({
483
+ t("ul", Yt, [
484
+ (a(!0), m(B, null, z(e(D), ({
480
485
  id: A,
481
486
  name: r,
482
487
  fromDate: I,
483
488
  toDate: N,
484
489
  minimumPersonCount: E,
485
- fromPrice: D,
490
+ fromPrice: V,
486
491
  description: J,
487
492
  imageUrl: K
488
- }) => (a(), T(Bt, {
493
+ }) => (a(), T(Ot, {
489
494
  key: A,
490
495
  "listing-id": A,
491
496
  name: r,
@@ -494,12 +499,12 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
494
499
  "from-date": I,
495
500
  "to-date": N,
496
501
  "minimum-person-count": E,
497
- fromPrice: D,
502
+ fromPrice: V,
498
503
  callback: q
499
504
  }, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
500
505
  ])
501
506
  ], 64)) : h("", !0)
502
- ])) : (a(), T(Pe, { key: 1 }))
507
+ ])) : (a(), T(Ae, { key: 1 }))
503
508
  ]),
504
509
  _: 2
505
510
  }, 1024)
@@ -507,11 +512,11 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
507
512
  addons: p(({ next: q, prev: A }) => [
508
513
  e(X) ? (a(), T(de, { key: 0 }, {
509
514
  form: p(() => [
510
- t("form", Jt, [
515
+ t("form", Zt, [
511
516
  t("h2", null, [
512
517
  t("span", null, o(e(n)("booking.reservation.addons")), 1)
513
518
  ]),
514
- e(W) === e(ye).FullDayEvent ? (a(), T(oe, {
519
+ e(W) === e(_e).FullDayEvent ? (a(), T(oe, {
515
520
  key: 0,
516
521
  modelValue: e(l),
517
522
  "onUpdate:modelValue": w[0] || (w[0] = (r) => M(l) ? l.value = r : null),
@@ -519,7 +524,7 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
519
524
  "min-value": 1,
520
525
  required: ""
521
526
  }, null, 8, ["modelValue", "label"])) : h("", !0),
522
- e(s) && e(s).length > 0 ? (a(), m("ul", Kt, [
527
+ e(s) && e(s).length > 0 ? (a(), m("ul", Jt, [
523
528
  (a(!0), m(B, null, z(e(s), ({
524
529
  roomGroupId: r,
525
530
  addons: I,
@@ -527,63 +532,63 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
527
532
  }, E) => (a(), m("li", { key: r }, [
528
533
  t("h5", null, [
529
534
  t("span", null, o(e(n)("booking.reservation.room")) + " #" + o(E + 1), 1),
530
- ge(" ("),
535
+ he(" ("),
531
536
  f(pe, {
532
537
  icon: "male",
533
538
  type: "fas",
534
539
  color: "header"
535
540
  }),
536
- ge(" " + o(N) + ") ", 1)
541
+ he(" " + o(N) + ") ", 1)
537
542
  ]),
538
- t("table", Qt, [
543
+ t("table", Kt, [
539
544
  t("thead", null, [
540
545
  t("tr", null, [
541
546
  t("th", null, [
542
547
  t("span", null, o(e(n)("booking.reservation.addons")), 1)
543
548
  ]),
544
- Wt,
545
- t("th", Xt, [
549
+ Qt,
550
+ t("th", Wt, [
546
551
  t("span", null, o(e(n)("booking.availability.price")), 1)
547
552
  ])
548
553
  ])
549
554
  ]),
550
555
  t("tbody", null, [
551
556
  (a(!0), m(B, null, z(I, ({
552
- id: D,
557
+ id: V,
553
558
  cardinality: J,
554
559
  name: K,
555
560
  price: re,
556
561
  quantityStrategy: ue
557
- }) => (a(), m("tr", { key: D }, [
562
+ }) => (a(), m("tr", { key: V }, [
558
563
  t("td", null, [
559
564
  t("b", null, o(K), 1),
560
- xt,
565
+ Xt,
561
566
  t("span", null, o(e(R)(re, e(Z))) + " " + o(e(We)(ue)), 1)
562
567
  ]),
563
- t("td", en, [
568
+ t("td", xt, [
564
569
  J === 3 ? (a(), T(oe, {
565
570
  key: 0,
566
- modelValue: e(i)[`${r}.${D}.${E}`],
567
- "onUpdate:modelValue": (Q) => e(i)[`${r}.${D}.${E}`] = Q,
571
+ modelValue: e(i)[`${r}.${V}.${E}`],
572
+ "onUpdate:modelValue": (Q) => e(i)[`${r}.${V}.${E}`] = Q,
568
573
  small: !0,
569
574
  "min-value": 0
570
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), T(bt, {
575
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), T(ft, {
571
576
  key: 1,
572
- modelValue: e(i)[`${r}.${D}.${E}`],
573
- "onUpdate:modelValue": (Q) => e(i)[`${r}.${D}.${E}`] = Q,
577
+ modelValue: e(i)[`${r}.${V}.${E}`],
578
+ "onUpdate:modelValue": (Q) => e(i)[`${r}.${V}.${E}`] = Q,
574
579
  numeric: !0
575
580
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
576
581
  ]),
577
- t("td", tn, [
578
- t("span", null, o(e(R)(e(fe)(D, r, E), e(Z))), 1)
582
+ t("td", en, [
583
+ t("span", null, o(e(R)(e(ge)(V, r, E), e(Z))), 1)
579
584
  ])
580
585
  ]))), 128))
581
586
  ]),
582
587
  t("tfoot", null, [
583
588
  t("tr", null, [
589
+ tn,
584
590
  nn,
585
- on,
586
- t("td", ln, [
591
+ t("td", on, [
587
592
  t("u", null, [
588
593
  t("span", null, o(e(R)(e(Se)(r, E), e(Z))), 1)
589
594
  ])
@@ -593,9 +598,9 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
593
598
  ])
594
599
  ]))), 128))
595
600
  ])) : h("", !0),
596
- e(W) !== e(ye).FullDayEvent && !e(S) ? (a(), m("div", an, [
601
+ e(W) !== e(_e).FullDayEvent && !e(S) ? (a(), m("div", ln, [
597
602
  h("", !0),
598
- f(rt, {
603
+ f(it, {
599
604
  modelValue: e(v),
600
605
  "onUpdate:modelValue": w[1] || (w[1] = (r) => M(v) ? v.value = r : null),
601
606
  label: e(n)("event.selectArrivalTime"),
@@ -604,18 +609,18 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
604
609
  required: ""
605
610
  }, null, 8, ["modelValue", "label", "checkboxes"])
606
611
  ])) : h("", !0),
607
- e(O) ? (a(), m("div", sn, [
608
- t("label", rn, [
612
+ e(O) ? (a(), m("div", an, [
613
+ t("label", sn, [
609
614
  t("span", null, o(e(n)("event.selectProducts")), 1)
610
615
  ]),
611
- t("table", un, [
616
+ t("table", rn, [
612
617
  t("thead", null, [
613
618
  t("tr", null, [
614
619
  t("th", null, [
615
620
  t("span", null, o(e(n)("booking.reservation.addons")), 1)
616
621
  ]),
617
- cn,
618
- t("th", dn, [
622
+ un,
623
+ t("th", cn, [
619
624
  t("span", null, o(e(n)("booking.availability.price")), 1)
620
625
  ])
621
626
  ])
@@ -626,21 +631,21 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
626
631
  t("b", null, [
627
632
  t("span", null, o(I), 1)
628
633
  ]),
629
- mn,
634
+ dn,
630
635
  t("span", null, o(E), 1),
631
- pn,
636
+ mn,
632
637
  t("span", null, o(e(R)(N, e(Z))), 1)
633
638
  ]),
634
- t("td", vn, [
639
+ t("td", pn, [
635
640
  f(oe, {
636
641
  modelValue: e(d)[r],
637
- "onUpdate:modelValue": (D) => e(d)[r] = D,
642
+ "onUpdate:modelValue": (V) => e(d)[r] = V,
638
643
  small: !0,
639
644
  "min-value": 0
640
645
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
641
646
  ]),
642
- t("td", fn, [
643
- t("span", null, o(e(R)(e(fe)(r), e(Z))), 1)
647
+ t("td", vn, [
648
+ t("span", null, o(e(R)(e(ge)(r), e(Z))), 1)
644
649
  ])
645
650
  ]))), 128))
646
651
  ])
@@ -656,10 +661,10 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
656
661
  }, null, 8, ["label", "onClickEvent"]),
657
662
  t("button", {
658
663
  class: "konnectio-abort-reservation link",
659
- onClick: he((r) => e(be)(A), ["prevent"])
664
+ onClick: ke((r) => e(be)(A), ["prevent"])
660
665
  }, [
661
666
  t("span", null, o(e(n)("general.goAStepBack")), 1)
662
- ], 8, bn)
667
+ ], 8, fn)
663
668
  ]),
664
669
  _: 2
665
670
  }, 1024)) : h("", !0)
@@ -695,8 +700,8 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
695
700
  required: ""
696
701
  }, null, 8, ["modelValue", "label", "placeholder"]),
697
702
  f(gt, {
698
- modelValue: e(b),
699
- "onUpdate:modelValue": w[4] || (w[4] = (r) => M(b) ? b.value = r : null),
703
+ modelValue: e(g),
704
+ "onUpdate:modelValue": w[4] || (w[4] = (r) => M(g) ? g.value = r : null),
700
705
  label: e(n)("booking.reservation.phone"),
701
706
  icon: "phone-office",
702
707
  placeholder: e(n)("booking.reservation.phonePlaceholder"),
@@ -721,19 +726,19 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
721
726
  }, null, 8, ["label", "is-loading", "onClickEvent"]),
722
727
  t("button", {
723
728
  class: "konnectio-abort-reservation link",
724
- onClick: he((r) => e(be)(A), ["prevent"])
729
+ onClick: ke((r) => e(be)(A), ["prevent"])
725
730
  }, [
726
731
  t("span", null, o(e(n)("general.goAStepBack")), 1)
727
- ], 8, hn)
732
+ ], 8, bn)
728
733
  ]),
729
734
  _: 2
730
735
  }, 1024)
731
736
  ]),
732
737
  payment: p(() => [
733
- f(ht)
738
+ f(bt)
734
739
  ]),
735
740
  confirmation: p(() => [
736
- f(ut, {
741
+ f(rt, {
737
742
  message: e(n)("event.confirmationMessage")
738
743
  }, null, 8, ["message"])
739
744
  ]),
@@ -741,10 +746,10 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
741
746
  })
742
747
  ]),
743
748
  _: 1
744
- }, 8, ["access-token"])
749
+ }, 8, ["access-token", "callback"])
745
750
  ]),
746
751
  fallback: p(() => [
747
- f(Ht)
752
+ f(Gt)
748
753
  ]),
749
754
  _: 1
750
755
  }))
@@ -752,8 +757,8 @@ const sn = { key: 3 }, rn = { class: "konnectio-label required" }, un = { class:
752
757
  _: 1
753
758
  }, 8, ["styling"]));
754
759
  }
755
- }), te = /* @__PURE__ */ se(kn, [["__scopeId", "data-v-af6f09ee"]]), yn = xe(), _n = ot();
756
- class $n extends HTMLElement {
760
+ }), te = /* @__PURE__ */ se(hn, [["__scopeId", "data-v-c31c84d2"]]), kn = xe(), yn = nt();
761
+ class _n extends HTMLElement {
757
762
  vueApp;
758
763
  constructor() {
759
764
  super();
@@ -766,22 +771,22 @@ class $n extends HTMLElement {
766
771
  let i = Array.isArray(n.props) ? n.props : Object.keys(n.props || {});
767
772
  const d = (u) => u.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (v, k) => (k ? "-" : "") + v.toLowerCase()), l = (u) => u.replace(/-./g, (v) => v[1].toUpperCase()), _ = {};
768
773
  i = i.map(d);
769
- const b = {};
774
+ const g = {};
770
775
  for (const u of this.attributes) {
771
776
  const k = u.name.split(".");
772
- k.length > 1 && (b[k[0]] || (b[k[0]] = {}), b[k[0]][l(k[1])] = u.value);
777
+ k.length > 1 && (g[k[0]] || (g[k[0]] = {}), g[k[0]][l(k[1])] = u.value);
773
778
  }
774
779
  for (const u of i) {
775
780
  let v = this.attributes.getNamedItem(u)?.value;
776
- b.hasOwnProperty(u) && (v = b[u]), _[u] = v;
781
+ g.hasOwnProperty(u) && (v = g[u]), _[u] = v;
777
782
  }
778
- this.vueApp = je(te, _), et(this.vueApp), this.vueApp.provide("emitter", _n), this.vueApp.use(tt), this.vueApp.use(yn), this.vueApp.use(ct), this.vueApp.use(dt), this.vueApp.use(nt, { bootstrap: !0 });
783
+ 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 });
779
784
  const $ = document.createElement("div");
780
785
  this.vueApp.mount($), this.appendChild($.children[0]);
781
786
  }
782
787
  }
783
- window.customElements.define("konnectio-event", $n);
788
+ window.customElements.define("konnectio-event", _n);
784
789
  export {
785
- $n as default
790
+ _n as default
786
791
  };
787
792
  //# sourceMappingURL=event.js.map