@konnectio/core 4.1.3 → 4.1.5

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 (60) hide show
  1. package/dist/{ActionField-CRqgWSz1.js → ActionField-ChprjIX4.js} +3 -3
  2. package/dist/ActionField-ChprjIX4.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-DVrVFhw4.js → AvailabilitySkeleton-mvINfZn2.js} +110 -110
  4. package/dist/AvailabilitySkeleton-mvINfZn2.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bqb9v7l8.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CxfZdZ85.js} +336 -336
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CxfZdZ85.js.br +0 -0
  7. package/dist/{CheckoutWindow-DrZnthDH.js → CheckoutWindow-CLNkZ6L5.js} +185 -185
  8. package/dist/CheckoutWindow-CLNkZ6L5.js.br +0 -0
  9. package/dist/{ErrorMessage-b0lY3zUM.js → ErrorMessage-B2bEzPe8.js} +4 -4
  10. package/dist/ErrorMessage-B2bEzPe8.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-BPkfZcYX.js → EventAvailabilityForm-lyhGlFEw.js} +10 -10
  12. package/dist/EventAvailabilityForm-lyhGlFEw.js.br +0 -0
  13. package/dist/{Field-DnS91ODQ.js → Field-e-9M8dvO.js} +4 -4
  14. package/dist/Field-e-9M8dvO.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CW-XSJQB.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DnfMKN_W.js} +3 -3
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-CZYWu7x-.js → SelectField.vue_vue_type_style_index_0_lang-B8pRSFGj.js} +3149 -2797
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-B8pRSFGj.js.br +0 -0
  18. package/dist/{TermsOfService-B2ELKRPq.js → TermsOfService-DjvTX3TY.js} +4 -4
  19. package/dist/_-AlqhOnLa.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-DKkrP6vk.js → _.vue_vue_type_style_index_0_lang-z6uaEvdu.js} +3 -3
  21. package/dist/availability.js +16 -16
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +14 -14
  24. package/dist/cancel-reservation.js.br +0 -0
  25. package/dist/core.css +1 -1
  26. package/dist/core.css.br +0 -0
  27. package/dist/deep-link.js +13 -13
  28. package/dist/deep-link.js.br +0 -0
  29. package/dist/event.js +447 -445
  30. package/dist/event.js.br +0 -0
  31. package/dist/gift-card-validation.js +24 -24
  32. package/dist/gift-card-validation.js.br +0 -0
  33. package/dist/gift-card.js +56 -56
  34. package/dist/gift-card.js.br +0 -0
  35. package/dist/{giftCard-BsWa3VEY.js → giftCard-DqnhA4rm.js} +26 -26
  36. package/dist/giftCard-DqnhA4rm.js.br +0 -0
  37. package/dist/hotel.js +16 -16
  38. package/dist/hotel.js.br +0 -0
  39. package/dist/{masonry.plugin-By72FzQ9.js → masonry.plugin-DvmJbfT_.js} +306 -304
  40. package/dist/masonry.plugin-DvmJbfT_.js.br +0 -0
  41. package/dist/{mitt-Dh_4vPVI.js → mitt-CFrRmK9k.js} +30 -30
  42. package/dist/mitt-CFrRmK9k.js.br +0 -0
  43. package/dist/polyfill.js +1 -1
  44. package/dist/polyfill.js.br +0 -0
  45. package/dist/{style-CXMzdeVK.js → style-CLWqMWeG.js} +59 -59
  46. package/dist/style-CLWqMWeG.js.br +0 -0
  47. package/package.json +6 -5
  48. package/dist/ActionField-CRqgWSz1.js.br +0 -0
  49. package/dist/AvailabilitySkeleton-DVrVFhw4.js.br +0 -0
  50. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bqb9v7l8.js.br +0 -0
  51. package/dist/CheckoutWindow-DrZnthDH.js.br +0 -0
  52. package/dist/ErrorMessage-b0lY3zUM.js.br +0 -0
  53. package/dist/EventAvailabilityForm-BPkfZcYX.js.br +0 -0
  54. package/dist/Field-DnS91ODQ.js.br +0 -0
  55. package/dist/SelectField.vue_vue_type_style_index_0_lang-CZYWu7x-.js.br +0 -0
  56. package/dist/_-DkNAaEsV.js +0 -5
  57. package/dist/giftCard-BsWa3VEY.js.br +0 -0
  58. package/dist/masonry.plugin-By72FzQ9.js.br +0 -0
  59. package/dist/mitt-Dh_4vPVI.js.br +0 -0
  60. package/dist/style-CXMzdeVK.js.br +0 -0
package/dist/event.js CHANGED
@@ -1,51 +1,51 @@
1
- import { d as W, u as ae, s as j, r as Fe, c as X, a as l, b as $, w as m, v as K, i as e, e as t, j as v, f as p, n as Xe, g as c, t as a, o as xe, h as et, x as de, y as tt, z as nt, F as I, A as Y, B as M, S as at, k as ot, l as lt, m as st, p as it, q as rt } from "./mitt-Dh_4vPVI.js";
2
- import { a as _e, f as x, g as ue, l as ut, s as U, d as ce, B as dt, _ as ee, h as me, I as ne, i as ct, u as $e, j as mt, k as pt, m as vt, n as we, o as J, p as bt, q as Oe, T as re, O as ft, C as gt, r as kt, t as yt, v as ht } from "./SelectField.vue_vue_type_style_index_0_lang-CZYWu7x-.js";
3
- import { G as Dt } from "./style-CXMzdeVK.js";
4
- import { _ as Pt } from "./_.vue_vue_type_style_index_0_lang-DKkrP6vk.js";
5
- import { B as $t, _ as wt, R as _t, L as Se, S as Et, M as Ot, C as Vt, T as Nt, V as Tt, a as Bt } from "./masonry.plugin-By72FzQ9.js";
6
- import { e as Lt, c as Ct, n as Ft, g as Ve, m as Ne, a as Te, b as Be, d as St, f as Le, _ as At } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-Bqb9v7l8.js";
7
- import { C as It, P as Rt, a as Mt } from "./CheckoutWindow-DrZnthDH.js";
8
- import { E as Ut } from "./EventAvailabilityForm-BPkfZcYX.js";
9
- import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CW-XSJQB.js";
10
- function Gt(k) {
1
+ import { d as Q, u as ae, s as W, c as Z, r as Se, a as l, b as w, w as c, q as X, i as e, e as t, j as p, f as m, n as xe, g as d, t as a, o as et, h as tt, v as de, x as nt, y as at, F as R, z as j, A as U, S as ot, k as lt, l as st, m as it, p as rt, _ as ut } from "./mitt-CFrRmK9k.js";
2
+ import { a as Ee, f as x, g as ue, l as dt, s as z, d as ce, B as ct, _ as ee, h as me, I as ne, i as mt, u as $e, j as pt, k as vt, m as bt, n as we, o as K, p as ft, q as Ve, T as re, O as gt, C as kt, r as yt, t as ht, v as Dt } from "./SelectField.vue_vue_type_style_index_0_lang-B8pRSFGj.js";
3
+ import { G as Pt } from "./style-CLWqMWeG.js";
4
+ import { _ as _t } from "./_.vue_vue_type_style_index_0_lang-z6uaEvdu.js";
5
+ import { B as $t, _ as wt, R as Et, L as Ae, S as Ot, M as Vt, C as Nt, T as Tt, V as Bt, a as Lt } from "./masonry.plugin-DvmJbfT_.js";
6
+ import { e as Ct, c as Ft, n as St, g as Ne, m as Te, a as Be, b as Le, d as At, f as Ce, _ as It } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-CxfZdZ85.js";
7
+ import { C as Rt, P as Mt, a as Ut } from "./CheckoutWindow-CLNkZ6L5.js";
8
+ import { E as zt } from "./EventAvailabilityForm-lyhGlFEw.js";
9
+ import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-DnfMKN_W.js";
10
+ function Gt(y) {
11
11
  return (o) => {
12
- const y = (k ? Math[k] : Math.trunc)(o);
13
- return y === 0 ? 0 : y;
12
+ const h = (y ? Math[y] : Math.trunc)(o);
13
+ return h === 0 ? 0 : h;
14
14
  };
15
15
  }
16
- function zt(k, o, n) {
17
- const y = St(), b = n?.locale ?? y.locale ?? Lt, i = Ct(k, o);
16
+ function qt(y, o, n) {
17
+ const h = At(), v = n?.locale ?? h.locale ?? Ct, i = Ft(y, o);
18
18
  if (isNaN(i))
19
19
  throw new RangeError("Invalid time value");
20
- const f = Object.assign({}, n, {
20
+ const g = Object.assign({}, n, {
21
21
  addSuffix: n?.addSuffix,
22
22
  comparison: i
23
- }), [E, g] = Ft(
23
+ }), [O, k] = St(
24
24
  n?.in,
25
- ...i > 0 ? [o, k] : [k, o]
26
- ), s = Gt(n?.roundingMethod ?? "round"), O = g.getTime() - E.getTime(), h = O / Le, w = Ve(g) - Ve(E), N = (O - w) / Le, F = n?.unit;
27
- let D;
28
- if (F ? D = F : h < 1 ? D = "second" : h < 60 ? D = "minute" : h < Ne ? D = "hour" : N < Te ? D = "day" : N < Be ? D = "month" : D = "year", D === "second") {
29
- const r = s(O / 1e3);
30
- return b.formatDistance("xSeconds", r, f);
31
- } else if (D === "minute") {
32
- const r = s(h);
33
- return b.formatDistance("xMinutes", r, f);
34
- } else if (D === "hour") {
35
- const r = s(h / 60);
36
- return b.formatDistance("xHours", r, f);
37
- } else if (D === "day") {
38
- const r = s(N / Ne);
39
- return b.formatDistance("xDays", r, f);
40
- } else if (D === "month") {
41
- const r = s(N / Te);
42
- return r === 12 && F !== "month" ? b.formatDistance("xYears", 1, f) : b.formatDistance("xMonths", r, f);
25
+ ...i > 0 ? [o, y] : [y, o]
26
+ ), s = Gt(n?.roundingMethod ?? "round"), V = k.getTime() - O.getTime(), D = V / Ce, L = Ne(k) - Ne(O), b = (V - L) / Ce, A = n?.unit;
27
+ let P;
28
+ if (A ? P = A : D < 1 ? P = "second" : D < 60 ? P = "minute" : D < Te ? P = "hour" : b < Be ? P = "day" : b < Le ? P = "month" : P = "year", P === "second") {
29
+ const _ = s(V / 1e3);
30
+ return v.formatDistance("xSeconds", _, g);
31
+ } else if (P === "minute") {
32
+ const _ = s(D);
33
+ return v.formatDistance("xMinutes", _, g);
34
+ } else if (P === "hour") {
35
+ const _ = s(D / 60);
36
+ return v.formatDistance("xHours", _, g);
37
+ } else if (P === "day") {
38
+ const _ = s(b / Te);
39
+ return v.formatDistance("xDays", _, g);
40
+ } else if (P === "month") {
41
+ const _ = s(b / Be);
42
+ return _ === 12 && A !== "month" ? v.formatDistance("xYears", 1, g) : v.formatDistance("xMonths", _, g);
43
43
  } else {
44
- const r = s(N / Be);
45
- return b.formatDistance("xYears", r, f);
44
+ const _ = s(b / Le);
45
+ return v.formatDistance("xYears", _, g);
46
46
  }
47
47
  }
48
- const qt = { class: "konnectio-event-listing-action-button" }, Ht = /* @__PURE__ */ W({
48
+ const Ht = { class: "konnectio-event-listing-action-button" }, Yt = /* @__PURE__ */ Q({
49
49
  __name: "_",
50
50
  props: {
51
51
  name: {},
@@ -59,7 +59,7 @@ const qt = { class: "konnectio-event-listing-action-button" }, Ht = /* @__PURE__
59
59
  timeTo: {},
60
60
  maxOnlineReservationLimit: {},
61
61
  minimumPersonCount: {},
62
- maxGuests: { default: 1 / 0 },
62
+ maxGuests: {},
63
63
  fromPrice: { default: 0 },
64
64
  gallery: {},
65
65
  soldOut: { type: Boolean, default: !1 },
@@ -69,78 +69,78 @@ const qt = { class: "konnectio-event-listing-action-button" }, Ht = /* @__PURE__
69
69
  disableDeepLink: { type: Boolean, default: !1 },
70
70
  callback: {}
71
71
  },
72
- setup(k) {
73
- const { t: o } = ae(), n = k, { display: y } = _e(), {
74
- maxNumberOfPeople: b,
72
+ setup(y) {
73
+ const { t: o } = ae(), n = y, { display: h } = Ee(), {
74
+ maxNumberOfPeople: v,
75
75
  numberOfPeople: i,
76
- eventId: f,
77
- currentEventDate: E,
78
- tableGroupId: g
79
- } = j(x()), {
76
+ eventId: g,
77
+ currentEventDate: O,
78
+ tableGroupId: k
79
+ } = W(x()), {
80
80
  getTemplateAvailability: s,
81
- getEventAvailability: O,
82
- isEventListingLoading: h
83
- } = x(), w = Fe(0), N = X(() => h(n.listingId)), F = () => {
84
- if (!n.useNumberOfProductsForPersons && (w.value === 0 || isNaN(w.value))) {
85
- y({
81
+ getEventAvailability: V,
82
+ isEventListingLoading: D
83
+ } = x(), L = Z(() => n.maxGuests || n.maxOnlineReservationLimit || v.value || 1 / 0), b = Se(0), A = Z(() => D(n.listingId)), P = () => {
84
+ if (!n.useNumberOfProductsForPersons && (b.value === 0 || isNaN(b.value))) {
85
+ h({
86
86
  type: "error",
87
87
  message: o("alert.error.selectPeople")
88
88
  });
89
89
  return;
90
90
  }
91
- f.value = n.listingId, i.value = n.useNumberOfProductsForPersons ? NaN : w.value, s(n.callback);
92
- }, D = () => {
93
- if (!n.useNumberOfProductsForPersons && (w.value === 0 || isNaN(w.value))) {
94
- y({
91
+ g.value = n.listingId, i.value = n.useNumberOfProductsForPersons ? NaN : b.value, s(n.callback);
92
+ }, _ = () => {
93
+ if (!n.useNumberOfProductsForPersons && (b.value === 0 || isNaN(b.value))) {
94
+ h({
95
95
  type: "error",
96
96
  message: o("alert.error.selectPeople")
97
97
  });
98
98
  return;
99
99
  }
100
- f.value = n.listingId, g.value = n.tableGroupId, i.value = n.useNumberOfProductsForPersons ? NaN : w.value, O(n.callback);
100
+ g.value = n.listingId, k.value = n.tableGroupId, i.value = n.useNumberOfProductsForPersons ? NaN : b.value, V(n.callback);
101
101
  };
102
- return (r, S) => (l(), $($t, {
102
+ return (f, F) => (l(), w($t, {
103
103
  type: "event",
104
- "listing-id": r.listingId,
105
- gallery: r.gallery,
106
- name: r.name,
107
- description: r.description,
108
- "prices-from": r.fromPrice,
109
- "to-date": r.toDate,
110
- layout: e(dt).Event,
111
- "disable-deep-link": r.disableDeepLink
104
+ "listing-id": f.listingId,
105
+ gallery: f.gallery,
106
+ name: f.name,
107
+ description: f.description,
108
+ "prices-from": f.fromPrice,
109
+ "to-date": f.toDate,
110
+ layout: e(ct).Event,
111
+ "disable-deep-link": f.disableDeepLink
112
112
  }, {
113
- description: m(() => [
114
- K(r.$slots, "description", { maxNumberOfPeople: e(b) }, void 0, !0)
113
+ description: c(() => [
114
+ X(f.$slots, "description", { maxNumberOfPeople: e(v) }, void 0, !0)
115
115
  ]),
116
- action: m(() => [
117
- K(r.$slots, "action", {}, () => [
116
+ action: c(() => [
117
+ X(f.$slots, "action", {}, () => [
118
118
  t("div", {
119
- class: Xe([
119
+ class: xe([
120
120
  "konnectio-event-listing-action",
121
- { "no-selectable-people": r.useNumberOfProductsForPersons }
121
+ { "no-selectable-people": f.useNumberOfProductsForPersons }
122
122
  ])
123
123
  }, [
124
- r.useNumberOfProductsForPersons ? v("", !0) : (l(), $(ue, {
124
+ f.useNumberOfProductsForPersons ? p("", !0) : (l(), w(ue, {
125
125
  key: 0,
126
- modelValue: w.value,
127
- "onUpdate:modelValue": S[0] || (S[0] = (A) => w.value = A),
126
+ modelValue: b.value,
127
+ "onUpdate:modelValue": F[0] || (F[0] = (I) => b.value = I),
128
128
  label: e(o)("event.numberOfGuests"),
129
129
  icon: "users",
130
130
  "icon-type": "fas",
131
131
  "icon-placement": "label",
132
- description: r.maxGuests <= 20 ? `${e(o)("general.availableFor")}: 1 - ${r.maxGuests} ${e(ut)(e(o)("general.guests"))}` : void 0,
132
+ description: L.value <= 20 ? `${e(o)("general.availableFor")}: 1 - ${L.value} ${e(dt)(e(o)("general.guests"))}` : void 0,
133
133
  "min-value": 0,
134
- "max-value": r.maxOnlineReservationLimit || r.maxGuests || e(b) || 1 / 0
134
+ "max-value": L.value
135
135
  }, null, 8, ["modelValue", "label", "description", "max-value"])),
136
- t("div", qt, [
137
- p(ce, {
138
- label: r.soldOut ? e(o)("event.soldOut") : e(o)("event.bookNowButton"),
139
- disabled: r.soldOut,
140
- "is-loading": N.value,
136
+ t("div", Ht, [
137
+ m(ce, {
138
+ label: f.soldOut ? e(o)("event.soldOut") : e(o)("event.bookNowButton"),
139
+ disabled: f.soldOut,
140
+ "is-loading": A.value,
141
141
  "full-width": "",
142
- "sub-label": e(U)(e(E)),
143
- onClickEvent: S[1] || (S[1] = (A) => r.type === "event" ? D() : F())
142
+ "sub-label": e(z)(e(O)),
143
+ onClickEvent: F[1] || (F[1] = (I) => f.type === "event" ? _() : P())
144
144
  }, null, 8, ["label", "disabled", "is-loading", "sub-label"])
145
145
  ])
146
146
  ], 2)
@@ -149,11 +149,11 @@ const qt = { class: "konnectio-event-listing-action-button" }, Ht = /* @__PURE__
149
149
  _: 3
150
150
  }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout", "disable-deep-link"]));
151
151
  }
152
- }), Ae = /* @__PURE__ */ ee(Ht, [["__scopeId", "data-v-83617413"]]), Yt = { class: "konnectio-event-listing-information-new" };
153
- const jt = {
152
+ }), Ie = /* @__PURE__ */ ee(Yt, [["__scopeId", "data-v-804b8a95"]]), jt = { class: "konnectio-event-listing-information-new" };
153
+ const Wt = {
154
154
  key: 1,
155
155
  class: "konnectio-pill-button"
156
- }, Wt = { class: "konnectio-pill-button" }, Zt = /* @__PURE__ */ W({
156
+ }, Zt = { class: "konnectio-pill-button" }, Qt = /* @__PURE__ */ Q({
157
157
  __name: "Event",
158
158
  props: {
159
159
  name: {},
@@ -175,15 +175,15 @@ const jt = {
175
175
  trackingEnabled: { type: Boolean },
176
176
  callback: {}
177
177
  },
178
- setup(k) {
179
- const o = k, { t: n } = ae(), { hideEventLength: y } = j(me()), b = X(() => {
178
+ setup(y) {
179
+ const o = y, { t: n } = ae(), { hideEventLength: h } = W(me()), v = Z(() => {
180
180
  const i = o.length.split(":");
181
- return zt(
181
+ return qt(
182
182
  new Date(2e3, 0, 1, Number(i[0]), Number(i[1]), 0),
183
183
  new Date(2e3, 0, 1, 0, 0, 0)
184
184
  );
185
185
  });
186
- return (i, f) => (l(), $(Ae, {
186
+ return (i, g) => (l(), w(Ie, {
187
187
  "listing-id": i.listingId,
188
188
  name: i.name,
189
189
  description: i.description,
@@ -197,42 +197,42 @@ const jt = {
197
197
  type: "event",
198
198
  callback: i.callback
199
199
  }, {
200
- description: m(() => [
201
- i.description ? (l(), $(wt, {
200
+ description: c(() => [
201
+ i.description ? (l(), w(wt, {
202
202
  key: 0,
203
203
  text: i.description
204
- }, null, 8, ["text"])) : v("", !0),
205
- t("ul", Yt, [
206
- v("", !0),
207
- e(y) ? v("", !0) : (l(), c("li", jt, [
204
+ }, null, 8, ["text"])) : p("", !0),
205
+ t("ul", jt, [
206
+ p("", !0),
207
+ e(h) ? p("", !0) : (l(), d("li", Wt, [
208
208
  t("div", null, [
209
- p(ne, {
209
+ m(ne, {
210
210
  icon: "calendar-clock",
211
211
  color: "header"
212
212
  }),
213
213
  t("span", null, a(e(n)("event.lengthOfEvent")), 1)
214
214
  ]),
215
- t("span", null, a(b.value), 1)
215
+ t("span", null, a(v.value), 1)
216
216
  ])),
217
- t("li", Wt, [
217
+ t("li", Zt, [
218
218
  t("div", null, [
219
- p(ne, {
219
+ m(ne, {
220
220
  icon: "calendar-clock",
221
221
  color: "header"
222
222
  }),
223
223
  t("span", null, a(e(n)("event.startAndEndTime")), 1)
224
224
  ]),
225
- t("span", null, a(e(ct)(i.timeFrom, i.timeTo)), 1)
225
+ t("span", null, a(e(mt)(i.timeFrom, i.timeTo)), 1)
226
226
  ])
227
227
  ])
228
228
  ]),
229
- action: m(() => [
230
- K(i.$slots, "action", {}, void 0, !0)
229
+ action: c(() => [
230
+ X(i.$slots, "action", {}, void 0, !0)
231
231
  ]),
232
232
  _: 3
233
233
  }, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "use-number-of-products-for-persons", "to-date", "sold-out", "callback"]));
234
234
  }
235
- }), Ie = /* @__PURE__ */ ee(Zt, [["__scopeId", "data-v-2def8bd2"]]), Qt = { class: "konnectio-special-offer-availability" }, Jt = { class: "konnectio-special-offer-availability-button" }, Kt = { class: "konnectio-warning-notice" }, Xt = { key: 0 }, xt = { key: 1 }, en = /* @__PURE__ */ W({
235
+ }), Re = /* @__PURE__ */ ee(Qt, [["__scopeId", "data-v-806a0acd"]]), Jt = { class: "konnectio-special-offer-availability" }, Kt = { class: "konnectio-special-offer-availability-button" }, Xt = { class: "konnectio-warning-notice" }, xt = { key: 0 }, en = { key: 1 }, tn = /* @__PURE__ */ Q({
236
236
  __name: "NextEvent",
237
237
  props: {
238
238
  name: {},
@@ -253,18 +253,18 @@ const jt = {
253
253
  trackingEnabled: { type: Boolean },
254
254
  callback: { type: Function }
255
255
  },
256
- setup(k) {
257
- const { t: o } = ae(), { updateEventDate: n } = $e(), { display: y } = _e(), b = Fe(), i = k;
258
- function f() {
259
- b.value ? n(b.value) : y({
256
+ setup(y) {
257
+ const { t: o } = ae(), { updateEventDate: n } = $e(), { display: h } = Ee(), v = Se(), i = y;
258
+ function g() {
259
+ v.value ? n(v.value) : h({
260
260
  message: o("alert.error.selectDate"),
261
261
  type: "error"
262
262
  });
263
263
  }
264
- const E = X(() => pt(i.fromDate, i.toDate) <= 1), g = X(() => [0, 1, 2, 3, 4, 5, 6].filter((s) => !vt(i.days).includes(s)));
265
- return xe(() => {
266
- E.value && (b.value = new Date(i.fromDate));
267
- }), (s, O) => (l(), $(Ie, {
264
+ const O = Z(() => vt(i.fromDate, i.toDate) <= 1), k = Z(() => [0, 1, 2, 3, 4, 5, 6].filter((s) => !bt(i.days).includes(s)));
265
+ return et(() => {
266
+ O.value && (v.value = new Date(i.fromDate));
267
+ }), (s, V) => (l(), w(Re, {
268
268
  name: s.name,
269
269
  description: s.description,
270
270
  "from-date": s.fromDate,
@@ -284,36 +284,36 @@ const jt = {
284
284
  callback: s.callback,
285
285
  "disable-deep-link": !0
286
286
  }, {
287
- action: m(() => [
287
+ action: c(() => [
288
288
  t("div", null, [
289
- t("div", Qt, [
290
- p(At, {
291
- modelValue: b.value,
292
- "onUpdate:modelValue": O[0] || (O[0] = (h) => b.value = h),
289
+ t("div", Jt, [
290
+ m(It, {
291
+ modelValue: v.value,
292
+ "onUpdate:modelValue": V[0] || (V[0] = (D) => v.value = D),
293
293
  label: `${e(o)("event.selectDate")}*`,
294
294
  placeholder: e(o)("event.selectDate"),
295
295
  "icon-type": "fas",
296
296
  "icon-placement": "label",
297
- readonly: E.value,
297
+ readonly: O.value,
298
298
  "start-date": s.fromDate !== "0001-01-01T00:00:00Z" ? new Date(s.fromDate) : new Date(s.toDate),
299
299
  "min-date": s.fromDate !== "0001-01-01T00:00:00Z" ? new Date(s.fromDate) : new Date(s.toDate),
300
300
  "max-date": new Date(s.toDate),
301
- "disabled-week-days": g.value
301
+ "disabled-week-days": k.value
302
302
  }, null, 8, ["modelValue", "label", "placeholder", "readonly", "start-date", "min-date", "max-date", "disabled-week-days"]),
303
- t("div", Jt, [
304
- p(ce, {
303
+ t("div", Kt, [
304
+ m(ce, {
305
305
  label: e(o)("availability.buttonLabel"),
306
- onClick: et(f, ["prevent"])
306
+ onClick: tt(g, ["prevent"])
307
307
  }, null, 8, ["label"])
308
308
  ])
309
309
  ]),
310
- t("div", Kt, [
311
- E.value ? (l(), c("span", Xt, [
310
+ t("div", Xt, [
311
+ O.value ? (l(), d("span", xt, [
312
312
  de("*" + a(e(o)("event.canBeBooked")) + " ", 1),
313
- t("u", null, a(e(U)(s.fromDate)), 1)
314
- ])) : (l(), c("span", xt, [
313
+ t("u", null, a(e(z)(s.fromDate)), 1)
314
+ ])) : (l(), d("span", en, [
315
315
  de("*" + a(e(o)("event.canBeBooked")) + " ", 1),
316
- t("u", null, a(e(mt)(s.days)), 1)
316
+ t("u", null, a(e(pt)(s.days)), 1)
317
317
  ]))
318
318
  ])
319
319
  ])
@@ -321,7 +321,7 @@ const jt = {
321
321
  _: 1
322
322
  }, 8, ["name", "description", "from-date", "to-date", "length", "time-from", "time-to", "gallery", "days", "listing-id", "table-group-id", "max-online-reservation-limit", "minimum-person-count", "use-number-of-products-for-persons", "tracking-enabled", "sold-out", "callback"]));
323
323
  }
324
- }), tn = /* @__PURE__ */ ee(en, [["__scopeId", "data-v-bdda47c1"]]), nn = /* @__PURE__ */ W({
324
+ }), nn = /* @__PURE__ */ ee(tn, [["__scopeId", "data-v-f6aed3b0"]]), an = /* @__PURE__ */ Q({
325
325
  __name: "Template",
326
326
  props: {
327
327
  name: {},
@@ -337,8 +337,8 @@ const jt = {
337
337
  trackingEnabled: { type: Boolean },
338
338
  callback: {}
339
339
  },
340
- setup(k) {
341
- return (o, n) => (l(), $(Ae, {
340
+ setup(y) {
341
+ return (o, n) => (l(), w(Ie, {
342
342
  "listing-id": o.listingId,
343
343
  gallery: o.images,
344
344
  name: o.name,
@@ -349,153 +349,153 @@ const jt = {
349
349
  callback: o.callback
350
350
  }, null, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
351
351
  }
352
- }), an = { key: 0 }, on = { key: 1 }, ln = { key: 2 }, sn = { key: 4 }, rn = { key: 5 }, un = { key: 0 }, dn = { key: 0 }, cn = { key: 1 }, mn = {
352
+ }), on = { key: 0 }, ln = { key: 1 }, sn = { key: 2 }, rn = { key: 4 }, un = { key: 5 }, dn = { key: 0 }, cn = { key: 0 }, mn = { key: 1 }, pn = {
353
353
  key: 0,
354
354
  class: "konnectio-capitalize"
355
- }, pn = /* @__PURE__ */ W({
355
+ }, vn = /* @__PURE__ */ Q({
356
356
  __name: "EventReservationForm",
357
357
  props: {
358
358
  showGiftCard: { type: Boolean, default: !1 },
359
359
  showTermsNotice: { type: Boolean, default: !1 },
360
360
  prevCallback: {}
361
361
  },
362
- setup(k) {
363
- const { t: o } = ae(), n = tt(), {
364
- areListingsAvailable: y,
365
- arrivalTime: b,
362
+ setup(y) {
363
+ const { t: o } = ae(), n = nt(), {
364
+ areListingsAvailable: h,
365
+ arrivalTime: v,
366
366
  numberOfPeople: i,
367
- numberOfRooms: f,
368
- numberOfTotalDays: E,
369
- isTemplateEvent: g,
367
+ numberOfRooms: g,
368
+ numberOfTotalDays: O,
369
+ isTemplateEvent: k,
370
370
  currentEventDate: s,
371
- length: O,
372
- fromDate: h,
373
- tableBasePrice: w,
374
- getTemplateData: N,
375
- basePrice: F,
376
- totalPrice: D,
377
- weekendFee: r,
378
- roomUpgrade: S,
379
- discountCode: A,
380
- totalSelectedProducts: Z
381
- } = j(x()), { totalAddonPrice: pe, validateDiscountCode: ve } = x(), { currency: oe, hideEventLength: be } = j(me());
382
- return (R, le) => (l(), $(_t, {
383
- "discount-code": e(A),
384
- "onUpdate:discountCode": le[0] || (le[0] = (Q) => M(A) ? A.value = Q : null),
371
+ length: V,
372
+ fromDate: D,
373
+ tableBasePrice: L,
374
+ getTemplateData: b,
375
+ basePrice: A,
376
+ totalPrice: P,
377
+ weekendFee: _,
378
+ roomUpgrade: f,
379
+ discountCode: F,
380
+ totalSelectedProducts: I
381
+ } = W(x()), { totalAddonPrice: pe, validateDiscountCode: ve } = x(), { currency: oe, hideEventLength: be } = W(me());
382
+ return (M, le) => (l(), w(Et, {
383
+ "discount-code": e(F),
384
+ "onUpdate:discountCode": le[0] || (le[0] = (J) => U(F) ? F.value = J : null),
385
385
  "validate-discount-code": e(ve),
386
- "show-gift-card": R.showGiftCard,
387
- "show-terms-notice": R.showTermsNotice,
388
- "is-sidebar-loading": !e(y),
389
- "base-price": e(F),
390
- "total-price": e(D),
391
- "weekend-fee": e(r),
392
- "room-upgrade": e(S),
386
+ "show-gift-card": M.showGiftCard,
387
+ "show-terms-notice": M.showTermsNotice,
388
+ "is-sidebar-loading": !e(h),
389
+ "base-price": e(A),
390
+ "total-price": e(P),
391
+ "weekend-fee": e(_),
392
+ "room-upgrade": e(f),
393
393
  notice: e(o)("event.reservationNotice"),
394
- "prev-callback": R.prevCallback
395
- }, nt({
396
- form: m(() => [
397
- K(R.$slots, "form", {}, void 0, !0)
394
+ "prev-callback": M.prevCallback
395
+ }, at({
396
+ form: c(() => [
397
+ X(M.$slots, "form", {}, void 0, !0)
398
398
  ]),
399
- "reservation-summary": m(() => [
400
- e(g) ? v("", !0) : (l(), c("li", an, [
399
+ "reservation-summary": c(() => [
400
+ e(k) ? p("", !0) : (l(), d("li", on, [
401
401
  t("span", null, a(e(o)("general.date")), 1),
402
- t("b", null, a(e(U)(e(s))), 1)
402
+ t("b", null, a(e(z)(e(s))), 1)
403
403
  ])),
404
- e(i) > 0 ? (l(), c("li", on, [
404
+ e(i) > 0 ? (l(), d("li", ln, [
405
405
  t("span", null, a(e(o)("event.numberOfGuests")), 1),
406
406
  t("b", null, a(e(i)), 1)
407
- ])) : v("", !0),
408
- !e(g) && e(Z) > 0 ? (l(), c("li", ln, [
407
+ ])) : p("", !0),
408
+ !e(k) && e(I) > 0 ? (l(), d("li", sn, [
409
409
  t("span", null, a(e(o)("event.numberOfProducts")), 1),
410
- t("b", null, a(e(Z)), 1)
411
- ])) : v("", !0),
412
- e(g) ? (l(), c(I, { key: 3 }, [
410
+ t("b", null, a(e(I)), 1)
411
+ ])) : p("", !0),
412
+ e(k) ? (l(), d(R, { key: 3 }, [
413
413
  t("li", null, [
414
414
  t("span", null, a(e(o)("booking.reservation.arrival")), 1),
415
- t("b", null, a(e(U)(e(h))), 1)
415
+ t("b", null, a(e(z)(e(D))), 1)
416
416
  ]),
417
417
  t("li", null, [
418
418
  t("span", null, a(e(o)("booking.reservation.departure")), 1),
419
- t("b", null, a(e(U)(e(h), e(E))), 1)
419
+ t("b", null, a(e(z)(e(D), e(O))), 1)
420
420
  ]),
421
421
  t("li", null, [
422
422
  t("span", null, a(e(o)("event.numberOfRooms")), 1),
423
- t("b", null, a(e(f)), 1)
423
+ t("b", null, a(e(g)), 1)
424
424
  ]),
425
425
  t("li", null, [
426
426
  t("span", null, a(e(o)("event.numberOfDays")), 1),
427
- t("b", null, a(e(E)), 1)
427
+ t("b", null, a(e(O)), 1)
428
428
  ])
429
- ], 64)) : v("", !0),
430
- !e(g) && e(b) ? (l(), c("li", sn, [
429
+ ], 64)) : p("", !0),
430
+ !e(k) && e(v) ? (l(), d("li", rn, [
431
431
  t("span", null, a(e(o)("event.startOfEvent")), 1),
432
- t("b", null, a(e(we)(e(b))), 1)
433
- ])) : v("", !0),
434
- !e(g) && e(O) && !e(be) ? (l(), c("li", rn, [
432
+ t("b", null, a(e(we)(e(v))), 1)
433
+ ])) : p("", !0),
434
+ !e(k) && e(V) && !e(be) ? (l(), d("li", un, [
435
435
  t("span", null, a(e(o)("event.lengthOfEvent")), 1),
436
- t("b", null, a(e(we)(e(O))), 1)
437
- ])) : v("", !0)
436
+ t("b", null, a(e(we)(e(V))), 1)
437
+ ])) : p("", !0)
438
438
  ]),
439
- "price-summary": m(() => [
440
- !e(g) && e(w) > 0 ? (l(), c("li", un, [
439
+ "price-summary": c(() => [
440
+ !e(k) && e(L) > 0 ? (l(), d("li", dn, [
441
441
  t("span", null, a(e(o)("booking.availability.basePrice")), 1),
442
- t("b", null, a(e(J)(e(w), e(oe))), 1)
443
- ])) : v("", !0),
444
- e(N) ? (l(!0), c(I, { key: 1 }, Y(e(N), ({ roomGroupId: Q }, se) => (l(), c("li", { key: Q }, [
442
+ t("b", null, a(e(K)(e(L), e(oe))), 1)
443
+ ])) : p("", !0),
444
+ e(b) ? (l(!0), d(R, { key: 1 }, j(e(b), ({ roomGroupId: J }, se) => (l(), d("li", { key: J }, [
445
445
  t("span", null, a(e(o)("booking.reservation.addons")) + " - " + a(e(o)("booking.reservation.room")) + " #" + a(se + 1), 1),
446
- t("b", null, a(e(J)(e(pe)(Q, se), e(oe))), 1)
447
- ]))), 128)) : v("", !0)
446
+ t("b", null, a(e(K)(e(pe)(J, se), e(oe))), 1)
447
+ ]))), 128)) : p("", !0)
448
448
  ]),
449
- navigation: m(() => [
450
- K(R.$slots, "navigation", {}, void 0, !0)
449
+ navigation: c(() => [
450
+ X(M.$slots, "navigation", {}, void 0, !0)
451
451
  ]),
452
- "mobile-under-price": m(() => [
453
- e(g) ? (l(), c("div", dn, [
454
- t("span", null, a(e(U)(e(h))) + " - " + a(e(U)(e(h), e(E))), 1)
455
- ])) : (l(), c("div", cn, [
456
- t("span", null, a(e(U)(e(s))), 1)
452
+ "mobile-under-price": c(() => [
453
+ e(k) ? (l(), d("div", cn, [
454
+ t("span", null, a(e(z)(e(D))) + " - " + a(e(z)(e(D), e(O))), 1)
455
+ ])) : (l(), d("div", mn, [
456
+ t("span", null, a(e(z)(e(s))), 1)
457
457
  ]))
458
458
  ]),
459
- "mobile-summary": m(() => [
460
- !e(g) && e(Z) > 0 ? (l(), c("span", mn, a(e(o)("event.numberOfProducts")) + ": " + a(e(Z)), 1)) : v("", !0)
459
+ "mobile-summary": c(() => [
460
+ !e(k) && e(I) > 0 ? (l(), d("span", pn, a(e(o)("event.numberOfProducts")) + ": " + a(e(I)), 1)) : p("", !0)
461
461
  ]),
462
462
  _: 2
463
463
  }, [
464
464
  e(n).sidebar ? {
465
465
  name: "sidebar",
466
- fn: m(() => [
467
- K(R.$slots, "sidebar", {}, void 0, !0)
466
+ fn: c(() => [
467
+ X(M.$slots, "sidebar", {}, void 0, !0)
468
468
  ]),
469
469
  key: "0"
470
470
  } : void 0
471
471
  ]), 1032, ["discount-code", "validate-discount-code", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "notice", "prev-callback"]));
472
472
  }
473
- }), Pe = /* @__PURE__ */ ee(pn, [["__scopeId", "data-v-c4b0b5c7"]]), vn = { class: "event-skeleton" }, bn = { class: "event-skeleton-content" }, fn = { class: "event-skeleton-sidebar" }, gn = /* @__PURE__ */ W({
473
+ }), _e = /* @__PURE__ */ ee(vn, [["__scopeId", "data-v-c4b0b5c7"]]), bn = { class: "event-skeleton" }, fn = { class: "event-skeleton-content" }, gn = { class: "event-skeleton-sidebar" }, kn = /* @__PURE__ */ Q({
474
474
  __name: "EventSkeleton",
475
- setup(k) {
476
- return (o, n) => (l(), c("div", vn, [
477
- t("div", bn, [
478
- p(Se)
479
- ]),
475
+ setup(y) {
476
+ return (o, n) => (l(), d("div", bn, [
480
477
  t("div", fn, [
481
- v("", !0),
482
- p(Et)
478
+ m(Ae)
479
+ ]),
480
+ t("div", gn, [
481
+ p("", !0),
482
+ m(Ot)
483
483
  ])
484
484
  ]));
485
485
  }
486
- }), kn = /* @__PURE__ */ ee(gn, [["__scopeId", "data-v-3e15c4e3"]]), yn = {
486
+ }), yn = /* @__PURE__ */ ee(kn, [["__scopeId", "data-v-3e15c4e3"]]), hn = {
487
487
  key: 0,
488
488
  id: "konnectio-event-listings-wrapper"
489
- }, hn = {
489
+ }, Dn = {
490
490
  key: 0,
491
491
  class: "konnectio-hotel-availability-title"
492
- }, Dn = { class: "konnectio-event-listings" }, Pn = { class: "konnectio-hotel-availability-title" }, $n = { class: "konnectio-event-listings" }, wn = ["innerHTML"], _n = { class: "konnectio-panel" }, En = {
492
+ }, Pn = { class: "konnectio-event-listings" }, _n = { class: "konnectio-hotel-availability-title" }, $n = { class: "konnectio-event-listings" }, wn = ["innerHTML"], En = { class: "konnectio-panel" }, On = {
493
493
  key: 0,
494
494
  id: "konnectio-event-addons"
495
- }, On = { class: "konnectio-table with-lines" }, Vn = { class: "konnectio-event-addons-price" }, Nn = { class: "konnectio-event-addons-input" }, Tn = { class: "konnectio-event-addons-price" }, Bn = { class: "konnectio-event-addons-price" }, Ln = {
495
+ }, Vn = { class: "konnectio-table with-lines" }, Nn = { class: "konnectio-event-addons-price" }, Tn = { class: "konnectio-event-addons-input" }, Bn = { class: "konnectio-event-addons-price" }, Ln = { class: "konnectio-event-addons-price" }, Cn = {
496
496
  key: 1,
497
497
  class: "konnectio-table with-lines"
498
- }, Cn = { class: "konnectio-table-addons-information" }, Fn = { key: 0 }, Sn = { class: "konnectio-table-addons-option" }, An = { class: "konnectio-panel" }, In = /* @__PURE__ */ W({
498
+ }, Fn = { class: "konnectio-table-addons-information" }, Sn = { key: 0 }, An = { class: "konnectio-table-addons-option" }, In = { class: "konnectio-panel" }, Rn = /* @__PURE__ */ Q({
499
499
  name: "EventLayout",
500
500
  __name: "Event",
501
501
  props: {
@@ -505,43 +505,43 @@ const jt = {
505
505
  resetDate: { default: "no" },
506
506
  styling: {}
507
507
  },
508
- setup(k) {
509
- const o = k, { t: n } = ae(), {
510
- addons: y,
511
- products: b,
508
+ setup(y) {
509
+ const o = y, { t: n } = ae(), {
510
+ addons: h,
511
+ products: v,
512
512
  numberOfDays: i,
513
- name: f,
514
- phone: E,
515
- email: g,
513
+ name: g,
514
+ phone: O,
515
+ email: k,
516
516
  remark: s,
517
- allergies: O,
518
- arrivalTime: h,
519
- hasEvents: w,
520
- hasTemplates: N,
521
- getEvents: F,
522
- getTemplates: D,
523
- getEventData: r,
524
- getTemplateData: S,
525
- getEventTableData: A,
526
- hasProducts: Z,
517
+ allergies: V,
518
+ arrivalTime: D,
519
+ hasEvents: L,
520
+ hasTemplates: b,
521
+ getEvents: A,
522
+ getTemplates: P,
523
+ getEventData: _,
524
+ getTemplateData: f,
525
+ getEventTableData: F,
526
+ hasProducts: I,
527
527
  eventRateType: pe,
528
528
  areListingsAvailable: ve,
529
529
  isAvailabilityDataAvailable: oe,
530
530
  hasListingData: be,
531
- isPaymentLoading: R,
531
+ isPaymentLoading: M,
532
532
  isReservationFormFilled: le,
533
- requiresArrivalTime: Q,
533
+ requiresArrivalTime: J,
534
534
  hasSelectedRequiredProducts: se,
535
535
  getUnavailableEvents: fe
536
- } = j(x()), { currency: ie } = j(me()), { setActiveIdFilter: Re } = me(), { eventDate: Me, eventLocation: Ue } = j($e()), { isValidRestaurantId: Ge } = $e(), {
537
- initialize: ze,
538
- fetchListings: qe,
539
- createBooking: He,
540
- localAddonPrice: Ye,
541
- totalAddonPrice: je,
542
- reset: We,
543
- goBack: Ee
544
- } = x(), { display: ge } = _e(), Ze = X(() => [
536
+ } = W(x()), { currency: ie } = W(me()), { setActiveIdFilter: Me } = me(), { eventDate: Ue, eventLocation: ze } = W($e()), { isValidRestaurantId: Ge } = $e(), {
537
+ initialize: qe,
538
+ fetchListings: He,
539
+ createBooking: Ye,
540
+ localAddonPrice: je,
541
+ totalAddonPrice: We,
542
+ reset: Ze,
543
+ goBack: Oe
544
+ } = x(), { display: ge } = Ee(), Qe = Z(() => [
545
545
  {
546
546
  id: "availability",
547
547
  label: n("booking.availability.title"),
@@ -567,26 +567,26 @@ const jt = {
567
567
  label: n("booking.confirmation.title"),
568
568
  icon: "calendar-check"
569
569
  }
570
- ]), Qe = X(() => {
571
- const P = [];
572
- return A.value && A.value.forEach((d) => {
573
- P.find((B) => B.value === d.time) || P.push({
574
- label: we(d.time),
575
- value: d.time
570
+ ]), Je = Z(() => {
571
+ const $ = [];
572
+ return F.value && F.value.forEach((u) => {
573
+ $.find((B) => B.value === u.time) || $.push({
574
+ label: we(u.time),
575
+ value: u.time
576
576
  });
577
- }), P;
577
+ }), $;
578
578
  });
579
- function Je() {
580
- We(o.resetDate === "yes");
581
- }
582
579
  function Ke() {
583
- const P = kt("history", {
580
+ Ze(o.resetDate === "yes");
581
+ }
582
+ function Xe() {
583
+ const $ = yt("history", {
584
584
  removeNullishValues: !0
585
- }), d = parseInt(P.rid), B = P.d, V = parseInt(P.eid);
585
+ }), u = parseInt($.rid), B = $.d, N = parseInt($.eid);
586
586
  if (B)
587
- if (yt(B)) {
588
- const u = new Date(B), L = u.setHours(12, 0, 0, 0), C = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
589
- L >= C ? (Me.value = u, P.d = void 0) : ge({
587
+ if (ht(B)) {
588
+ const r = new Date(B), C = r.setHours(12, 0, 0, 0), S = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
589
+ C >= S ? (Ue.value = r, $.d = void 0) : ge({
590
590
  message: n("alert.error.invalidDateRange"),
591
591
  type: "error"
592
592
  });
@@ -595,106 +595,107 @@ const jt = {
595
595
  message: n("alert.error.wrongDateFormat"),
596
596
  type: "error"
597
597
  });
598
- isNaN(d) || (Ge(d) ? Ue.value = d : (P.rid = void 0, ge({
598
+ isNaN(u) || (Ge(u) ? ze.value = u : ($.rid = void 0, ge({
599
599
  message: n("alert.error.hotelIdNotFound"),
600
600
  type: "error"
601
- }))), isNaN(V) || Re(V), qe();
601
+ }))), isNaN(N) || Me(N), He();
602
602
  }
603
- return (P, d) => (l(), $(gt, { styling: P.styling }, {
604
- default: m(() => [
605
- (l(), $(at, { onResolve: Ke }, {
606
- default: m(() => [
607
- p(Pt, {
603
+ return ($, u) => (l(), w(kt, { styling: $.styling }, {
604
+ default: c(() => [
605
+ (l(), w(ot, { onResolve: Xe }, {
606
+ default: c(() => [
607
+ m(_t, {
608
608
  id: "konnectio-event-module",
609
- "access-token": P.accessToken,
610
- callback: e(ze)
609
+ "access-token": $.accessToken,
610
+ callback: e(qe)
611
611
  }, {
612
- default: m(() => [
613
- p(Ot, {
614
- steps: Ze.value,
615
- onReset: Je
612
+ default: c(() => [
613
+ m(Vt, {
614
+ steps: Qe.value,
615
+ onReset: Ke
616
616
  }, {
617
- availability: m(({ next: B }) => [
618
- p(Pe, null, {
619
- sidebar: m(() => [
620
- p(Ut, {
617
+ availability: c(({ next: B }) => [
618
+ m(_e, null, {
619
+ sidebar: c(() => [
620
+ m(zt, {
621
621
  redirection: !1,
622
- "selected-location": Number(P.selectedLocation)
622
+ "selected-location": Number($.selectedLocation)
623
623
  }, null, 8, ["selected-location"])
624
624
  ]),
625
- form: m(() => [
626
- e(be) && e(ve) ? (l(), c("div", yn, [
627
- e(F).length > 0 && e(fe).length > 0 ? (l(), c("h2", hn, [
628
- p(ne, {
625
+ form: c(() => [
626
+ e(be) && e(ve) ? (l(), d("div", hn, [
627
+ e(A).length > 0 && e(fe).length > 0 ? (l(), d("h2", Dn, [
628
+ m(ne, {
629
629
  icon: "calendar-clock",
630
630
  type: "fal",
631
631
  color: "header"
632
632
  }),
633
633
  t("span", null, a(e(n)("event.availableNow")), 1)
634
- ])) : v("", !0),
635
- t("ul", Dn, [
636
- e(w) && P.onlyShow !== "templates" ? (l(!0), c(I, { key: 0 }, Y(e(F), ({
637
- id: V,
638
- days: u,
639
- name: L,
640
- timeFrom: C,
641
- timeTo: _,
634
+ ])) : p("", !0),
635
+ t("ul", Pn, [
636
+ e(L) && $.onlyShow !== "templates" ? (l(!0), d(R, { key: 0 }, j(e(A), ({
637
+ id: N,
638
+ days: r,
639
+ name: C,
640
+ timeFrom: S,
641
+ timeTo: E,
642
642
  fromDate: T,
643
643
  toDate: G,
644
- tableGroupId: z,
645
- description: q,
644
+ tableGroupId: q,
645
+ description: H,
646
646
  soldOut: te,
647
- length: H,
647
+ length: Y,
648
648
  images: ke,
649
649
  maxOnlineReservationLimit: ye,
650
650
  maxPaxPerReservation: he,
651
- useNumberOfProductsForPersons: De
652
- }) => (l(), $(Ie, {
653
- key: V,
651
+ useNumberOfProductsForPersons: De,
652
+ maxTicketsLimit: Pe
653
+ }) => (l(), w(Re, {
654
+ key: N,
654
655
  type: "event",
655
- "listing-id": V,
656
- "table-group-id": z,
657
- description: q,
658
- name: L,
659
- length: H,
656
+ "listing-id": N,
657
+ "table-group-id": q,
658
+ description: H,
659
+ name: C,
660
+ length: Y,
660
661
  gallery: ke,
661
- days: u,
662
+ days: r,
662
663
  "from-date": T,
663
664
  "to-date": G,
664
- "max-online-reservation-limit": he || ye,
665
- "time-from": C,
666
- "time-to": _,
665
+ "max-online-reservation-limit": he || ye || Pe,
666
+ "time-from": S,
667
+ "time-to": E,
667
668
  "sold-out": te,
668
669
  "use-number-of-products-for-persons": De,
669
670
  callback: B
670
- }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "callback"]))), 128)) : v("", !0),
671
- e(N) && P.onlyShow !== "events" ? (l(!0), c(I, { key: 1 }, Y(e(D), ({
672
- id: V,
673
- name: u,
674
- fromDate: L,
675
- toDate: C,
676
- minimumPersonCount: _,
671
+ }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "callback"]))), 128)) : p("", !0),
672
+ e(b) && $.onlyShow !== "events" ? (l(!0), d(R, { key: 1 }, j(e(P), ({
673
+ id: N,
674
+ name: r,
675
+ fromDate: C,
676
+ toDate: S,
677
+ minimumPersonCount: E,
677
678
  fromPrice: T,
678
679
  description: G,
679
- imageUrl: z,
680
- images: q
681
- }) => (l(), $(nn, {
682
- key: V,
683
- "listing-id": V,
684
- name: u,
685
- image: z,
686
- images: q,
680
+ imageUrl: q,
681
+ images: H
682
+ }) => (l(), w(an, {
683
+ key: N,
684
+ "listing-id": N,
685
+ name: r,
686
+ image: q,
687
+ images: H,
687
688
  description: G,
688
- "from-date": L,
689
- "to-date": C,
690
- "minimum-person-count": _,
689
+ "from-date": C,
690
+ "to-date": S,
691
+ "minimum-person-count": E,
691
692
  fromPrice: T,
692
693
  callback: B
693
- }, null, 8, ["listing-id", "name", "image", "images", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128)) : v("", !0)
694
+ }, null, 8, ["listing-id", "name", "image", "images", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128)) : p("", !0)
694
695
  ]),
695
- e(fe).length > 0 && P.onlyShow !== "templates" ? (l(), c(I, { key: 1 }, [
696
- t("h2", Pn, [
697
- p(ne, {
696
+ e(fe).length > 0 && $.onlyShow !== "templates" ? (l(), d(R, { key: 1 }, [
697
+ t("h2", _n, [
698
+ m(ne, {
698
699
  icon: "calendar-circle-exclamation",
699
700
  type: "fal",
700
701
  color: "header"
@@ -702,162 +703,163 @@ const jt = {
702
703
  t("span", null, a(e(n)("event.availableLater")), 1)
703
704
  ]),
704
705
  t("ul", $n, [
705
- (l(!0), c(I, null, Y(e(fe), ({
706
- id: V,
707
- days: u,
708
- name: L,
709
- timeFrom: C,
710
- timeTo: _,
706
+ (l(!0), d(R, null, j(e(fe), ({
707
+ id: N,
708
+ days: r,
709
+ name: C,
710
+ timeFrom: S,
711
+ timeTo: E,
711
712
  fromDate: T,
712
713
  toDate: G,
713
- tableGroupId: z,
714
- description: q,
714
+ tableGroupId: q,
715
+ description: H,
715
716
  soldOut: te,
716
- length: H,
717
+ length: Y,
717
718
  images: ke,
718
719
  maxOnlineReservationLimit: ye,
719
720
  maxPaxPerReservation: he,
720
- useNumberOfProductsForPersons: De
721
- }) => (l(), $(tn, {
722
- key: V,
721
+ useNumberOfProductsForPersons: De,
722
+ maxTicketsLimit: Pe
723
+ }) => (l(), w(nn, {
724
+ key: N,
723
725
  type: "event",
724
- "listing-id": V,
725
- "table-group-id": z,
726
- description: q,
727
- name: L,
728
- length: H,
726
+ "listing-id": N,
727
+ "table-group-id": q,
728
+ description: H,
729
+ name: C,
730
+ length: Y,
729
731
  gallery: ke,
730
- days: u,
732
+ days: r,
731
733
  "from-date": T,
732
734
  "to-date": G,
733
- "max-online-reservation-limit": he || ye,
734
- "time-from": C,
735
- "time-to": _,
735
+ "max-online-reservation-limit": he || ye || Pe,
736
+ "time-from": S,
737
+ "time-to": E,
736
738
  "sold-out": te,
737
739
  "use-number-of-products-for-persons": De,
738
740
  callback: B
739
741
  }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "callback"]))), 128))
740
742
  ])
741
- ], 64)) : v("", !0),
742
- !e(w) && !e(N) || !e(w) && P.onlyShow === "events" || !e(N) && P.onlyShow === "templates" ? (l(), c("div", {
743
+ ], 64)) : p("", !0),
744
+ !e(L) && !e(b) || !e(L) && $.onlyShow === "events" || !e(b) && $.onlyShow === "templates" ? (l(), d("div", {
743
745
  key: 2,
744
746
  class: "konnectio-panel",
745
747
  innerHTML: e(n)("event.nothingAvailable")
746
- }, null, 8, wn)) : v("", !0)
747
- ])) : (l(), $(Se, { key: 1 }))
748
+ }, null, 8, wn)) : p("", !0)
749
+ ])) : (l(), w(Ae, { key: 1 }))
748
750
  ]),
749
751
  _: 2
750
752
  }, 1024)
751
753
  ]),
752
- addons: m(({ next: B, prev: V }) => [
753
- e(oe) ? (l(), $(Pe, {
754
+ addons: c(({ next: B, prev: N }) => [
755
+ e(oe) ? (l(), w(_e, {
754
756
  key: 0,
755
- "prev-callback": () => e(Ee)(V)
757
+ "prev-callback": () => e(Oe)(N)
756
758
  }, {
757
- form: m(() => [
758
- t("form", _n, [
759
+ form: c(() => [
760
+ t("form", En, [
759
761
  t("h2", null, [
760
762
  t("span", null, a(e(n)("event.selectProducts")), 1)
761
763
  ]),
762
- e(S) && e(S).length > 0 ? (l(), c("ul", En, [
763
- (l(!0), c(I, null, Y(e(S), ({
764
- roomGroupId: u,
765
- addons: L,
766
- adultPerRoom: C
767
- }, _) => (l(), c("li", { key: u }, [
764
+ e(f) && e(f).length > 0 ? (l(), d("ul", On, [
765
+ (l(!0), d(R, null, j(e(f), ({
766
+ roomGroupId: r,
767
+ addons: C,
768
+ adultPerRoom: S
769
+ }, E) => (l(), d("li", { key: r }, [
768
770
  t("h5", null, [
769
- t("span", null, a(e(n)("booking.reservation.room")) + " #" + a(_ + 1), 1),
770
- d[7] || (d[7] = de(" (")),
771
- p(ne, {
771
+ t("span", null, a(e(n)("booking.reservation.room")) + " #" + a(E + 1), 1),
772
+ u[7] || (u[7] = de(" (")),
773
+ m(ne, {
772
774
  icon: "male",
773
775
  type: "fas",
774
776
  color: "header"
775
777
  }),
776
- de(" " + a(C) + ") ", 1)
778
+ de(" " + a(S) + ") ", 1)
777
779
  ]),
778
- t("table", On, [
780
+ t("table", Vn, [
779
781
  t("thead", null, [
780
782
  t("tr", null, [
781
783
  t("th", null, [
782
784
  t("span", null, a(e(n)("booking.reservation.addons")), 1)
783
785
  ]),
784
- d[8] || (d[8] = t("th", { class: "konnectio-event-addons-input" }, null, -1)),
785
- t("th", Vn, [
786
+ u[8] || (u[8] = t("th", { class: "konnectio-event-addons-input" }, null, -1)),
787
+ t("th", Nn, [
786
788
  t("span", null, a(e(n)("booking.availability.price")), 1)
787
789
  ])
788
790
  ])
789
791
  ]),
790
792
  t("tbody", null, [
791
- (l(!0), c(I, null, Y(L, ({
793
+ (l(!0), d(R, null, j(C, ({
792
794
  id: T,
793
795
  cardinality: G,
794
- name: z,
795
- price: q,
796
+ name: q,
797
+ price: H,
796
798
  quantityStrategy: te
797
- }) => (l(), c("tr", { key: T }, [
799
+ }) => (l(), d("tr", { key: T }, [
798
800
  t("td", null, [
799
- t("b", null, a(z), 1),
800
- d[9] || (d[9] = t("br", null, null, -1)),
801
- t("span", null, a(e(J)(q, e(ie))) + " " + a(e(bt)(te)), 1)
801
+ t("b", null, a(q), 1),
802
+ u[9] || (u[9] = t("br", null, null, -1)),
803
+ t("span", null, a(e(K)(H, e(ie))) + " " + a(e(ft)(te)), 1)
802
804
  ]),
803
- t("td", Nn, [
804
- G === 3 ? (l(), $(ue, {
805
+ t("td", Tn, [
806
+ G === 3 ? (l(), w(ue, {
805
807
  key: 0,
806
- modelValue: e(y)[`${u}.${T}.${_}`],
807
- "onUpdate:modelValue": (H) => e(y)[`${u}.${T}.${_}`] = H,
808
+ modelValue: e(h)[`${r}.${T}.${E}`],
809
+ "onUpdate:modelValue": (Y) => e(h)[`${r}.${T}.${E}`] = Y,
808
810
  small: !0,
809
811
  "min-value": 0
810
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), $(It, {
812
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), w(Rt, {
811
813
  key: 1,
812
- modelValue: e(y)[`${u}.${T}.${_}`],
813
- "onUpdate:modelValue": (H) => e(y)[`${u}.${T}.${_}`] = H,
814
+ modelValue: e(h)[`${r}.${T}.${E}`],
815
+ "onUpdate:modelValue": (Y) => e(h)[`${r}.${T}.${E}`] = Y,
814
816
  numeric: !0
815
817
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
816
818
  ]),
817
- t("td", Tn, [
818
- t("span", null, a(e(J)(e(Ye)(T, u, _), e(ie))), 1)
819
+ t("td", Bn, [
820
+ t("span", null, a(e(K)(e(je)(T, r, E), e(ie))), 1)
819
821
  ])
820
822
  ]))), 128))
821
823
  ]),
822
824
  t("tfoot", null, [
823
825
  t("tr", null, [
824
- d[10] || (d[10] = t("td", null, null, -1)),
825
- d[11] || (d[11] = t("td", null, null, -1)),
826
- t("td", Bn, [
826
+ u[10] || (u[10] = t("td", null, null, -1)),
827
+ u[11] || (u[11] = t("td", null, null, -1)),
828
+ t("td", Ln, [
827
829
  t("u", null, [
828
- t("span", null, a(e(J)(e(je)(u, _), e(ie))), 1)
830
+ t("span", null, a(e(K)(e(We)(r, E), e(ie))), 1)
829
831
  ])
830
832
  ])
831
833
  ])
832
834
  ])
833
835
  ])
834
836
  ]))), 128))
835
- ])) : v("", !0),
836
- e(Z) ? (l(), c("table", Ln, [
837
+ ])) : p("", !0),
838
+ e(I) ? (l(), d("table", Cn, [
837
839
  t("tbody", null, [
838
- (l(!0), c(I, null, Y(e(r).products, ({ id: u, name: L, price: C, description: _ }) => (l(), c("tr", { key: u }, [
839
- t("td", Cn, [
840
+ (l(!0), d(R, null, j(e(_).products, ({ id: r, name: C, price: S, description: E }) => (l(), d("tr", { key: r }, [
841
+ t("td", Fn, [
840
842
  t("b", null, [
841
- t("span", null, a(e(Oe)(L)), 1)
843
+ t("span", null, a(e(Ve)(C)), 1)
842
844
  ]),
843
- _ && _ !== L ? (l(), c("span", Fn, a(e(Oe)(_)), 1)) : v("", !0),
844
- t("u", null, a(e(J)(C, e(ie))), 1)
845
+ E && E !== C ? (l(), d("span", Sn, a(e(Ve)(E)), 1)) : p("", !0),
846
+ t("u", null, a(e(K)(S, e(ie))), 1)
845
847
  ]),
846
- t("td", Sn, [
847
- p(ue, {
848
- modelValue: e(b)[u],
849
- "onUpdate:modelValue": (T) => e(b)[u] = T,
848
+ t("td", An, [
849
+ m(ue, {
850
+ modelValue: e(v)[r],
851
+ "onUpdate:modelValue": (T) => e(v)[r] = T,
850
852
  small: !0,
851
853
  "min-value": 0
852
854
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
853
855
  ])
854
856
  ]))), 128))
855
857
  ])
856
- ])) : v("", !0)
858
+ ])) : p("", !0)
857
859
  ])
858
860
  ]),
859
- navigation: m(() => [
860
- p(ce, {
861
+ navigation: c(() => [
862
+ m(ce, {
861
863
  label: e(n)("event.startReservation"),
862
864
  disabled: !e(se),
863
865
  "full-width": "",
@@ -865,31 +867,31 @@ const jt = {
865
867
  }, null, 8, ["label", "disabled", "onClickEvent"])
866
868
  ]),
867
869
  _: 2
868
- }, 1032, ["prev-callback"])) : v("", !0)
870
+ }, 1032, ["prev-callback"])) : p("", !0)
869
871
  ]),
870
- reservation: m(({ next: B, prev: V }) => [
871
- p(Pe, {
872
+ reservation: c(({ next: B, prev: N }) => [
873
+ m(_e, {
872
874
  "show-terms-notice": !0,
873
875
  "show-gift-card": !0,
874
- "prev-callback": () => e(Ee)(V)
876
+ "prev-callback": () => e(Oe)(N)
875
877
  }, {
876
- form: m(() => [
877
- t("form", An, [
878
+ form: c(() => [
879
+ t("form", In, [
878
880
  t("h2", null, [
879
881
  t("span", null, a(e(n)("booking.reservation.detailsTitle")), 1)
880
882
  ]),
881
- p(re, {
882
- modelValue: e(f),
883
- "onUpdate:modelValue": d[0] || (d[0] = (u) => M(f) ? f.value = u : null),
883
+ m(re, {
884
+ modelValue: e(g),
885
+ "onUpdate:modelValue": u[0] || (u[0] = (r) => U(g) ? g.value = r : null),
884
886
  type: "text",
885
887
  label: e(n)("booking.reservation.name"),
886
888
  icon: "user-alt",
887
889
  placeholder: e(n)("booking.reservation.namePlaceholder"),
888
890
  required: ""
889
891
  }, null, 8, ["modelValue", "label", "placeholder"]),
890
- p(re, {
891
- modelValue: e(g),
892
- "onUpdate:modelValue": d[1] || (d[1] = (u) => M(g) ? g.value = u : null),
892
+ m(re, {
893
+ modelValue: e(k),
894
+ "onUpdate:modelValue": u[1] || (u[1] = (r) => U(k) ? k.value = r : null),
893
895
  label: e(n)("booking.reservation.email"),
894
896
  type: "email",
895
897
  name: "email",
@@ -898,42 +900,42 @@ const jt = {
898
900
  placeholder: e(n)("booking.reservation.emailPlaceholder"),
899
901
  required: ""
900
902
  }, null, 8, ["modelValue", "label", "placeholder"]),
901
- p(Rt, {
902
- modelValue: e(E),
903
- "onUpdate:modelValue": d[2] || (d[2] = (u) => M(E) ? E.value = u : null),
903
+ m(Mt, {
904
+ modelValue: e(O),
905
+ "onUpdate:modelValue": u[2] || (u[2] = (r) => U(O) ? O.value = r : null),
904
906
  label: e(n)("booking.reservation.phone"),
905
907
  icon: "phone-office",
906
908
  placeholder: e(n)("booking.reservation.phonePlaceholder"),
907
909
  required: ""
908
910
  }, null, 8, ["modelValue", "label", "placeholder"]),
909
- e(Q) ? (l(), $(Vt, {
911
+ e(J) ? (l(), w(Nt, {
910
912
  key: 0,
911
- modelValue: e(h),
912
- "onUpdate:modelValue": d[3] || (d[3] = (u) => M(h) ? h.value = u : null),
913
+ modelValue: e(D),
914
+ "onUpdate:modelValue": u[3] || (u[3] = (r) => U(D) ? D.value = r : null),
913
915
  label: e(n)("event.selectArrivalTime"),
914
916
  name: "eventTimeTable",
915
- checkboxes: Qe.value,
917
+ checkboxes: Je.value,
916
918
  required: ""
917
- }, null, 8, ["modelValue", "label", "checkboxes"])) : v("", !0),
918
- e(pe) === e(ft).FullDayEvent ? (l(), $(ue, {
919
+ }, null, 8, ["modelValue", "label", "checkboxes"])) : p("", !0),
920
+ e(pe) === e(gt).FullDayEvent ? (l(), w(ue, {
919
921
  key: 1,
920
922
  modelValue: e(i),
921
- "onUpdate:modelValue": d[4] || (d[4] = (u) => M(i) ? i.value = u : null),
923
+ "onUpdate:modelValue": u[4] || (u[4] = (r) => U(i) ? i.value = r : null),
922
924
  label: e(n)("event.numberOfDays"),
923
925
  "min-value": 1,
924
926
  required: ""
925
- }, null, 8, ["modelValue", "label"])) : v("", !0),
926
- p(re, {
927
+ }, null, 8, ["modelValue", "label"])) : p("", !0),
928
+ m(re, {
927
929
  modelValue: e(s),
928
- "onUpdate:modelValue": d[5] || (d[5] = (u) => M(s) ? s.value = u : null),
930
+ "onUpdate:modelValue": u[5] || (u[5] = (r) => U(s) ? s.value = r : null),
929
931
  type: "textarea",
930
932
  label: `${e(n)("booking.reservation.remark")} (${e(n)("booking.reservation.optional")})`,
931
933
  icon: "info-circle",
932
934
  placeholder: e(n)("booking.reservation.remarkPlaceholder")
933
935
  }, null, 8, ["modelValue", "label", "placeholder"]),
934
- p(re, {
935
- modelValue: e(O),
936
- "onUpdate:modelValue": d[6] || (d[6] = (u) => M(O) ? O.value = u : null),
936
+ m(re, {
937
+ modelValue: e(V),
938
+ "onUpdate:modelValue": u[6] || (u[6] = (r) => U(V) ? V.value = r : null),
937
939
  type: "textarea",
938
940
  label: `${e(n)("booking.reservation.allergies")} (${e(n)("booking.reservation.optional")})`,
939
941
  icon: "allergies",
@@ -941,23 +943,23 @@ const jt = {
941
943
  }, null, 8, ["modelValue", "label", "placeholder"])
942
944
  ])
943
945
  ]),
944
- navigation: m(() => [
945
- p(ce, {
946
+ navigation: c(() => [
947
+ m(ce, {
946
948
  label: e(n)("general.confirmReservation"),
947
- "is-loading": e(R),
949
+ "is-loading": e(M),
948
950
  disabled: !e(le),
949
951
  "full-width": "",
950
- onClickEvent: (u) => e(He)(B)
952
+ onClickEvent: (r) => e(Ye)(B)
951
953
  }, null, 8, ["label", "is-loading", "disabled", "onClickEvent"])
952
954
  ]),
953
955
  _: 2
954
956
  }, 1032, ["prev-callback"])
955
957
  ]),
956
- payment: m(() => [
957
- p(Mt)
958
+ payment: c(() => [
959
+ m(Ut)
958
960
  ]),
959
- confirmation: m(() => [
960
- p(Nt, {
961
+ confirmation: c(() => [
962
+ m(Tt, {
961
963
  message: e(n)("event.confirmationMessage")
962
964
  }, null, 8, ["message"])
963
965
  ]),
@@ -967,8 +969,8 @@ const jt = {
967
969
  _: 1
968
970
  }, 8, ["access-token", "callback"])
969
971
  ]),
970
- fallback: m(() => [
971
- p(kn)
972
+ fallback: c(() => [
973
+ m(yn)
972
974
  ]),
973
975
  _: 1
974
976
  }))
@@ -976,8 +978,8 @@ const jt = {
976
978
  _: 1
977
979
  }, 8, ["styling"]));
978
980
  }
979
- }), Ce = /* @__PURE__ */ ee(In, [["__scopeId", "data-v-206f5d07"]]), Rn = ot(), Mn = rt();
980
- class Un extends HTMLElement {
981
+ }), Fe = /* @__PURE__ */ ee(Rn, [["__scopeId", "data-v-6ca8ee0c"]]), Mn = lt(), Un = ut, zn = Un();
982
+ class Gn extends HTMLElement {
981
983
  vueApp;
982
984
  constructor() {
983
985
  super();
@@ -986,14 +988,14 @@ class Un extends HTMLElement {
986
988
  this.vueApp.unmount();
987
989
  }
988
990
  connectedCallback() {
989
- const o = lt(Ce, this.attributes);
990
- this.vueApp = st(Ce, o), this.vueApp.provide("emitter", Mn), this.vueApp.use(it), this.vueApp.use(Rn), this.vueApp.use(Tt), this.vueApp.use(Dt), this.vueApp.use(Bt), this.vueApp.use(ht, { bootstrap: !0 });
991
+ const o = st(Fe, this.attributes);
992
+ this.vueApp = it(Fe, o), this.vueApp.provide("emitter", zn), this.vueApp.use(rt), this.vueApp.use(Mn), this.vueApp.use(Bt), this.vueApp.use(Pt), this.vueApp.use(Lt), this.vueApp.use(Dt, { bootstrap: !0 });
991
993
  const n = document.createElement("div");
992
994
  this.vueApp.mount(n), this.appendChild(n.children[0]);
993
995
  }
994
996
  }
995
- window.customElements.define("konnectio-event", Un);
997
+ window.customElements.define("konnectio-event", Gn);
996
998
  export {
997
- Un as default
999
+ Gn as default
998
1000
  };
999
1001
  //# sourceMappingURL=event.js.map