@konnectio/core 4.0.118 → 4.1.0

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