@konnectio/core 4.2.21 → 4.2.22

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 (52) hide show
  1. package/dist/{ActionField-CbFU_0dN.js → ActionField-CwUn7-It.js} +2 -2
  2. package/dist/ActionField-CwUn7-It.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-DMh9hr3q.js → AvailabilitySkeleton-wF1iLhv5.js} +5 -5
  4. package/dist/AvailabilitySkeleton-wF1iLhv5.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-ZL9sKHaV.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BMwrGnYy.js} +2 -2
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BMwrGnYy.js.br +0 -0
  7. package/dist/{CheckoutWindow-CDGkvcYc.js → CheckoutWindow-BO107mLq.js} +2 -2
  8. package/dist/CheckoutWindow-BO107mLq.js.br +0 -0
  9. package/dist/{ErrorMessage-CF5Z6mC1.js → ErrorMessage-CkeII6hz.js} +2 -2
  10. package/dist/ErrorMessage-CkeII6hz.js.br +0 -0
  11. package/dist/{EventAvailabilityForm-B9xLr-Nd.js → EventAvailabilityForm-PKidQdAn.js} +3 -3
  12. package/dist/EventAvailabilityForm-PKidQdAn.js.br +0 -0
  13. package/dist/{Field-C5KS0J-o.js → Field-B7FDm5Rr.js} +3 -3
  14. package/dist/Field-B7FDm5Rr.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Bu8Cfmcy.js → Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CSN6czES.js} +2 -2
  16. package/dist/{SelectField.vue_vue_type_style_index_0_lang-BypIiEa1.js → SelectField.vue_vue_type_style_index_0_lang-DgB3n7dH.js} +181 -172
  17. package/dist/SelectField.vue_vue_type_style_index_0_lang-DgB3n7dH.js.br +0 -0
  18. package/dist/{TermsOfService-a9JjCbrL.js → TermsOfService-BiWRTVKf.js} +3 -3
  19. package/dist/_-BPqwtc4x.js +5 -0
  20. package/dist/{_.vue_vue_type_style_index_0_lang-C7mGjsCC.js → _.vue_vue_type_style_index_0_lang-BWNxK9qc.js} +2 -2
  21. package/dist/availability.js +5 -5
  22. package/dist/availability.js.br +0 -0
  23. package/dist/cancel-reservation.js +3 -3
  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/event.js +369 -361
  28. package/dist/event.js.br +0 -0
  29. package/dist/gift-card-validation.js +7 -7
  30. package/dist/gift-card-validation.js.br +0 -0
  31. package/dist/gift-card.js +8 -8
  32. package/dist/gift-card.js.br +0 -0
  33. package/dist/{giftCard-BA3HGxCF.js → giftCard-FmibKpLS.js} +2 -2
  34. package/dist/giftCard-FmibKpLS.js.br +0 -0
  35. package/dist/hotel.js +8 -8
  36. package/dist/hotel.js.br +0 -0
  37. package/dist/{masonry.plugin-CyQgnSHv.js → masonry.plugin-CAvgZtpB.js} +5 -5
  38. package/dist/masonry.plugin-CAvgZtpB.js.br +0 -0
  39. package/dist/polyfill.js +1 -1
  40. package/dist/polyfill.js.br +0 -0
  41. package/package.json +1 -1
  42. package/dist/ActionField-CbFU_0dN.js.br +0 -0
  43. package/dist/AvailabilitySkeleton-DMh9hr3q.js.br +0 -0
  44. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-ZL9sKHaV.js.br +0 -0
  45. package/dist/CheckoutWindow-CDGkvcYc.js.br +0 -0
  46. package/dist/ErrorMessage-CF5Z6mC1.js.br +0 -0
  47. package/dist/EventAvailabilityForm-B9xLr-Nd.js.br +0 -0
  48. package/dist/Field-C5KS0J-o.js.br +0 -0
  49. package/dist/SelectField.vue_vue_type_style_index_0_lang-BypIiEa1.js.br +0 -0
  50. package/dist/_-OgHw6xxm.js +0 -5
  51. package/dist/giftCard-BA3HGxCF.js.br +0 -0
  52. package/dist/masonry.plugin-CyQgnSHv.js.br +0 -0
package/dist/event.js CHANGED
@@ -1,51 +1,51 @@
1
- import { d as U, u as K, s as q, c as W, r as Be, a as v, b as l, g as e, w as m, q as Q, e as t, i as c, f as b, n as at, h as r, t as o, F as I, v as M, o as lt, j as ot, x as de, y as st, z as R, A as it, S as rt, k as ut, _ as dt, l as ct, m as mt, p as pt } from "./mitt-gcxZCriv.js";
2
- import { a as Pe, f as le, g as J, B as vt, h as ue, l as bt, s as z, e as ce, _ as H, I as ae, i as ft, j as me, u as De, k as gt, m as kt, n as yt, o as Z, T as re, O as ht, p as Dt, q as Ee, C as Pt, r as $t, t as wt, v as Et } from "./SelectField.vue_vue_type_style_index_0_lang-BypIiEa1.js";
3
- import { G as Ot } from "./style-CzTnJo8X.js";
4
- import { _ as _t } from "./_.vue_vue_type_style_index_0_lang-C7mGjsCC.js";
5
- import { B as Tt, _ as Vt, R as Nt, L as Ae, S as Ft, M as Lt, T as Bt, C as Oe, V as At, a as Ct } from "./masonry.plugin-CyQgnSHv.js";
6
- import { g as It, e as St, c as Rt, n as Mt, a as _e, m as Te, b as Ve, d as Ne, f as Fe, _ as Ut } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-ZL9sKHaV.js";
7
- import { C as Gt, P as zt, a as qt } from "./CheckoutWindow-CDGkvcYc.js";
8
- import { E as Ht } from "./EventAvailabilityForm-B9xLr-Nd.js";
9
- import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-Bu8Cfmcy.js";
10
- function Yt(P) {
1
+ import { d as U, u as K, s as q, c as W, r as Ce, a as p, b as l, g as e, w as m, q as Q, e as t, i as c, f as b, n as lt, h as r, t as o, F as I, v as M, o as ot, j as st, x as de, y as it, z as R, A as rt, S as ut, k as dt, _ as ct, l as mt, m as pt, p as vt } from "./mitt-gcxZCriv.js";
2
+ import { a as Pe, f as oe, g as J, B as bt, h as ae, l as ft, s as z, e as ce, _ as Y, I as le, i as gt, j as me, u as De, k as kt, m as yt, n as ht, o as Z, T as ue, O as Dt, p as Pt, q as Ee, C as $t, r as wt, t as Et, v as Ot } from "./SelectField.vue_vue_type_style_index_0_lang-DgB3n7dH.js";
3
+ import { G as Vt } from "./style-CzTnJo8X.js";
4
+ import { _ as Tt } from "./_.vue_vue_type_style_index_0_lang-BWNxK9qc.js";
5
+ import { B as _t, _ as Nt, R as Ft, L as Be, S as Lt, M as Ct, T as Bt, C as At, V as It, a as St } from "./masonry.plugin-CAvgZtpB.js";
6
+ import { g as Rt, e as Mt, c as Ut, n as Gt, a as Oe, m as Ve, b as Te, d as _e, f as Ne, _ as Ht } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_86730e88_lang-BMwrGnYy.js";
7
+ import { C as zt, P as qt, a as Fe } from "./CheckoutWindow-BO107mLq.js";
8
+ import { E as Yt } from "./EventAvailabilityForm-PKidQdAn.js";
9
+ import "./Field.vue_vue_type_style_index_0_scoped_6ef33e68_lang-CSN6czES.js";
10
+ function jt(P) {
11
11
  return (n) => {
12
- const g = (P ? Math[P] : Math.trunc)(n);
13
- return g === 0 ? 0 : g;
12
+ const k = (P ? Math[P] : Math.trunc)(n);
13
+ return k === 0 ? 0 : k;
14
14
  };
15
15
  }
16
- function jt(P, n, a) {
17
- const g = It(), p = a?.locale ?? g.locale ?? St, f = Rt(P, n);
16
+ function Wt(P, n, a) {
17
+ const k = Rt(), v = a?.locale ?? k.locale ?? Mt, f = Ut(P, n);
18
18
  if (isNaN(f))
19
19
  throw new RangeError("Invalid time value");
20
20
  const i = Object.assign({}, a, {
21
21
  addSuffix: a?.addSuffix,
22
22
  comparison: f
23
- }), [k, D] = Mt(
23
+ }), [y, h] = Gt(
24
24
  a?.in,
25
25
  ...f > 0 ? [n, P] : [P, n]
26
- ), s = Yt("round"), V = D.getTime() - k.getTime(), $ = V / Fe, L = _e(D) - _e(k), E = (V - L) / Fe, _ = a?.unit;
27
- let O;
28
- if ($ < 1 ? O = "second" : $ < 60 ? O = "minute" : $ < Te ? O = "hour" : E < Ve ? O = "day" : E < Ne ? O = "month" : O = "year", O === "second") {
29
- const w = s(V / 1e3);
30
- return p.formatDistance("xSeconds", w, i);
31
- } else if (O === "minute") {
26
+ ), s = jt("round"), _ = h.getTime() - y.getTime(), $ = _ / Ne, C = Oe(h) - Oe(y), V = (_ - C) / Ne, O = a?.unit;
27
+ let D;
28
+ if ($ < 1 ? D = "second" : $ < 60 ? D = "minute" : $ < Ve ? D = "hour" : V < Te ? D = "day" : V < _e ? D = "month" : D = "year", D === "second") {
29
+ const w = s(_ / 1e3);
30
+ return v.formatDistance("xSeconds", w, i);
31
+ } else if (D === "minute") {
32
32
  const w = s($);
33
- return p.formatDistance("xMinutes", w, i);
34
- } else if (O === "hour") {
33
+ return v.formatDistance("xMinutes", w, i);
34
+ } else if (D === "hour") {
35
35
  const w = s($ / 60);
36
- return p.formatDistance("xHours", w, i);
37
- } else if (O === "day") {
38
- const w = s(E / Te);
39
- return p.formatDistance("xDays", w, i);
40
- } else if (O === "month") {
41
- const w = s(E / Ve);
42
- return w === 12 && _ !== "month" ? p.formatDistance("xYears", 1, i) : p.formatDistance("xMonths", w, i);
36
+ return v.formatDistance("xHours", w, i);
37
+ } else if (D === "day") {
38
+ const w = s(V / Ve);
39
+ return v.formatDistance("xDays", w, i);
40
+ } else if (D === "month") {
41
+ const w = s(V / Te);
42
+ return w === 12 && O !== "month" ? v.formatDistance("xYears", 1, i) : v.formatDistance("xMonths", w, i);
43
43
  } else {
44
- const w = s(E / Ne);
45
- return p.formatDistance("xYears", w, i);
44
+ const w = s(V / _e);
45
+ return v.formatDistance("xYears", w, i);
46
46
  }
47
47
  }
48
- const Wt = { class: "konnectio-event-listing-action-button" }, Zt = /* @__PURE__ */ U({
48
+ const Zt = { class: "konnectio-event-listing-action-button" }, Qt = /* @__PURE__ */ U({
49
49
  __name: "_",
50
50
  props: {
51
51
  name: {},
@@ -70,79 +70,79 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Zt = /* @__PURE__
70
70
  callback: {}
71
71
  },
72
72
  setup(P) {
73
- const { t: n } = K(), a = P, { display: g } = Pe(), {
74
- hideEventGuestAmount: p
75
- } = q(le()), {
73
+ const { t: n } = K(), a = P, { display: k } = Pe(), {
74
+ hideEventGuestAmount: v
75
+ } = q(oe()), {
76
76
  maxNumberOfPeople: f,
77
77
  numberOfPeople: i,
78
- eventId: k,
79
- currentEventDate: D,
78
+ eventId: y,
79
+ currentEventDate: h,
80
80
  tableGroupId: s
81
81
  } = q(J()), {
82
- getTemplateAvailability: V,
82
+ getTemplateAvailability: _,
83
83
  getEventAvailability: $,
84
- isEventListingLoading: L
85
- } = J(), E = W(() => a.maxGuests || a.maxOnlineReservationLimit || f.value || 1 / 0), _ = Be(0), O = W(() => L(a.listingId)), w = () => {
86
- if (!a.useNumberOfProductsForPersons && (_.value === 0 || isNaN(_.value))) {
87
- g({
84
+ isEventListingLoading: C
85
+ } = J(), V = W(() => a.maxGuests || a.maxOnlineReservationLimit || f.value || 1 / 0), O = Ce(0), D = W(() => C(a.listingId)), w = () => {
86
+ if (!a.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
87
+ k({
88
88
  type: "error",
89
89
  message: n("alert.error.selectPeople")
90
90
  });
91
91
  return;
92
92
  }
93
- k.value = a.listingId, i.value = a.useNumberOfProductsForPersons ? NaN : _.value, V(a.callback);
93
+ y.value = a.listingId, i.value = a.useNumberOfProductsForPersons ? NaN : O.value, _(a.callback);
94
94
  }, X = () => {
95
- if (!a.useNumberOfProductsForPersons && (_.value === 0 || isNaN(_.value))) {
96
- g({
95
+ if (!a.useNumberOfProductsForPersons && (O.value === 0 || isNaN(O.value))) {
96
+ k({
97
97
  type: "error",
98
98
  message: n("alert.error.selectPeople")
99
99
  });
100
100
  return;
101
101
  }
102
- k.value = a.listingId, s.value = a.tableGroupId, i.value = a.useNumberOfProductsForPersons ? NaN : _.value, $(a.callback);
102
+ y.value = a.listingId, s.value = a.tableGroupId, i.value = a.useNumberOfProductsForPersons ? NaN : O.value, $(a.callback);
103
103
  };
104
- return (y, B) => (l(), v(Tt, {
104
+ return (E, L) => (l(), p(_t, {
105
105
  type: "event",
106
- "listing-id": y.listingId,
107
- gallery: y.gallery,
108
- name: y.name,
109
- description: y.description,
110
- "prices-from": y.fromPrice,
111
- "to-date": y.toDate,
112
- layout: e(vt).Event,
113
- "disable-deep-link": y.disableDeepLink
106
+ "listing-id": E.listingId,
107
+ gallery: E.gallery,
108
+ name: E.name,
109
+ description: E.description,
110
+ "prices-from": E.fromPrice,
111
+ "to-date": E.toDate,
112
+ layout: e(bt).Event,
113
+ "disable-deep-link": E.disableDeepLink
114
114
  }, {
115
115
  description: m(() => [
116
- Q(y.$slots, "description", { maxNumberOfPeople: e(f) }, void 0, !0)
116
+ Q(E.$slots, "description", { maxNumberOfPeople: e(f) }, void 0, !0)
117
117
  ]),
118
118
  action: m(() => [
119
- Q(y.$slots, "action", {}, () => [
119
+ Q(E.$slots, "action", {}, () => [
120
120
  t("div", {
121
- class: at([
121
+ class: lt([
122
122
  "konnectio-event-listing-action",
123
- { "no-selectable-people": y.useNumberOfProductsForPersons }
123
+ { "no-selectable-people": E.useNumberOfProductsForPersons }
124
124
  ])
125
125
  }, [
126
- y.useNumberOfProductsForPersons ? c("", !0) : (l(), v(ue, {
126
+ E.useNumberOfProductsForPersons ? c("", !0) : (l(), p(ae, {
127
127
  key: 0,
128
- modelValue: _.value,
129
- "onUpdate:modelValue": B[0] || (B[0] = (Y) => _.value = Y),
128
+ modelValue: O.value,
129
+ "onUpdate:modelValue": L[0] || (L[0] = (G) => O.value = G),
130
130
  label: e(n)("event.numberOfGuests"),
131
131
  icon: "users",
132
132
  "icon-type": "fas",
133
133
  "icon-placement": "label",
134
- description: E.value <= 20 && !e(p) ? `${e(n)("general.availableFor")}: 1 - ${E.value} ${e(bt)(e(n)("general.guests"))}` : void 0,
134
+ description: V.value <= 20 && !e(v) ? `${e(n)("general.availableFor")}: 1 - ${V.value} ${e(ft)(e(n)("general.guests"))}` : void 0,
135
135
  "min-value": 0,
136
- "max-value": E.value
136
+ "max-value": V.value
137
137
  }, null, 8, ["modelValue", "label", "description", "max-value"])),
138
- t("div", Wt, [
138
+ t("div", Zt, [
139
139
  b(ce, {
140
- label: y.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
141
- disabled: y.soldOut,
142
- "is-loading": O.value,
140
+ label: E.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
141
+ disabled: E.soldOut,
142
+ "is-loading": D.value,
143
143
  "full-width": "",
144
- "sub-label": e(z)(e(D)),
145
- onClickEvent: B[1] || (B[1] = (Y) => y.type === "event" ? X() : w())
144
+ "sub-label": e(z)(e(h)),
145
+ onClickEvent: L[1] || (L[1] = (G) => E.type === "event" ? X() : w())
146
146
  }, null, 8, ["label", "disabled", "is-loading", "sub-label"])
147
147
  ])
148
148
  ], 2)
@@ -151,14 +151,14 @@ const Wt = { class: "konnectio-event-listing-action-button" }, Zt = /* @__PURE__
151
151
  _: 3
152
152
  }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout", "disable-deep-link"]));
153
153
  }
154
- }), Ce = /* @__PURE__ */ H(Zt, [["__scopeId", "data-v-5bd6f82e"]]), Qt = { class: "konnectio-event-listing-information-new" };
155
- const Jt = {
154
+ }), Ae = /* @__PURE__ */ Y(Qt, [["__scopeId", "data-v-5bd6f82e"]]), Jt = { class: "konnectio-event-listing-information-new" };
155
+ const Kt = {
156
156
  key: 1,
157
157
  class: "konnectio-pill-button"
158
- }, Kt = {
158
+ }, Xt = {
159
159
  key: 2,
160
160
  class: "konnectio-pill-button"
161
- }, Xt = { key: 0 }, xt = { key: 1 }, en = /* @__PURE__ */ U({
161
+ }, xt = { key: 0 }, en = { key: 1 }, tn = /* @__PURE__ */ U({
162
162
  __name: "Event",
163
163
  props: {
164
164
  name: {},
@@ -182,18 +182,18 @@ const Jt = {
182
182
  },
183
183
  setup(P) {
184
184
  const n = P, { t: a } = K(), {
185
- hideEventLength: g,
186
- hideEventEndTime: p
187
- } = q(le()), f = W(() => {
185
+ hideEventLength: k,
186
+ hideEventEndTime: v
187
+ } = q(oe()), f = W(() => {
188
188
  if (!n.length)
189
189
  return;
190
190
  const i = n.length.split(":");
191
- return jt(
191
+ return Wt(
192
192
  new Date(2e3, 0, 1, Number(i[0]), Number(i[1]), 0),
193
193
  new Date(2e3, 0, 1, 0, 0, 0)
194
194
  );
195
195
  });
196
- return (i, k) => (l(), v(Ce, {
196
+ return (i, y) => (l(), p(Ae, {
197
197
  "listing-id": i.listingId,
198
198
  name: i.name,
199
199
  description: i.description,
@@ -208,15 +208,15 @@ const Jt = {
208
208
  callback: i.callback
209
209
  }, {
210
210
  description: m(() => [
211
- i.description ? (l(), v(Vt, {
211
+ i.description ? (l(), p(Nt, {
212
212
  key: 0,
213
213
  text: i.description
214
214
  }, null, 8, ["text"])) : c("", !0),
215
- t("ul", Qt, [
215
+ t("ul", Jt, [
216
216
  c("", !0),
217
- !e(g) && f.value ? (l(), r("li", Jt, [
217
+ !e(k) && f.value ? (l(), r("li", Kt, [
218
218
  t("div", null, [
219
- b(ae, {
219
+ b(le, {
220
220
  icon: "calendar-clock",
221
221
  color: "header"
222
222
  }),
@@ -224,15 +224,15 @@ const Jt = {
224
224
  ]),
225
225
  t("span", null, o(f.value), 1)
226
226
  ])) : c("", !0),
227
- i.timeFrom ? (l(), r("li", Kt, [
227
+ i.timeFrom ? (l(), r("li", Xt, [
228
228
  t("div", null, [
229
- b(ae, {
229
+ b(le, {
230
230
  icon: "calendar-clock",
231
231
  color: "header"
232
232
  }),
233
233
  t("span", null, o(e(a)("event.startAndEndTime")), 1)
234
234
  ]),
235
- e(p) ? (l(), r("span", xt, o(e(me)(i.timeFrom)), 1)) : (l(), r("span", Xt, o(e(ft)(i.timeFrom, i.timeTo)), 1))
235
+ e(v) ? (l(), r("span", en, o(e(me)(i.timeFrom)), 1)) : (l(), r("span", xt, o(e(gt)(i.timeFrom, i.timeTo)), 1))
236
236
  ])) : c("", !0)
237
237
  ])
238
238
  ]),
@@ -242,10 +242,10 @@ const Jt = {
242
242
  _: 3
243
243
  }, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "use-number-of-products-for-persons", "to-date", "sold-out", "callback"]));
244
244
  }
245
- }), pe = /* @__PURE__ */ H(en, [["__scopeId", "data-v-bd8a264c"]]), tn = {
245
+ }), pe = /* @__PURE__ */ Y(tn, [["__scopeId", "data-v-bd8a264c"]]), nn = {
246
246
  key: 0,
247
247
  class: "konnectio-event-grouped-listings-container"
248
- }, nn = { class: "konnectio-event-grouped-listings" }, an = /* @__PURE__ */ U({
248
+ }, an = { class: "konnectio-event-grouped-listings" }, ln = /* @__PURE__ */ U({
249
249
  __name: "Event",
250
250
  props: {
251
251
  name: {},
@@ -253,43 +253,43 @@ const Jt = {
253
253
  callback: { type: Function }
254
254
  },
255
255
  setup(P) {
256
- return (n, a) => n.events && n.events.length > 1 ? (l(), r("div", tn, [
256
+ return (n, a) => n.events && n.events.length > 1 ? (l(), r("div", nn, [
257
257
  c("", !0),
258
- t("ul", nn, [
258
+ t("ul", an, [
259
259
  (l(!0), r(I, null, M(n.events, ({
260
- id: g,
261
- days: p,
260
+ id: k,
261
+ days: v,
262
262
  name: f,
263
263
  timeFrom: i,
264
- timeTo: k,
265
- tableGroupId: D,
264
+ timeTo: y,
265
+ tableGroupId: h,
266
266
  description: s,
267
- soldOut: V,
267
+ soldOut: _,
268
268
  length: $,
269
- images: L,
270
- maxOnlineReservationLimit: E,
271
- maxPaxPerReservation: _,
272
- useNumberOfProductsForPersons: O,
269
+ images: C,
270
+ maxOnlineReservationLimit: V,
271
+ maxPaxPerReservation: O,
272
+ useNumberOfProductsForPersons: D,
273
273
  maxTicketsLimit: w
274
- }) => (l(), v(pe, {
275
- key: g,
274
+ }) => (l(), p(pe, {
275
+ key: k,
276
276
  type: "event",
277
- "listing-id": g,
278
- "table-group-id": D,
277
+ "listing-id": k,
278
+ "table-group-id": h,
279
279
  description: s,
280
280
  name: f,
281
281
  length: $,
282
- gallery: L,
283
- days: p,
284
- "max-online-reservation-limit": _ || E || w,
282
+ gallery: C,
283
+ days: v,
284
+ "max-online-reservation-limit": O || V || w,
285
285
  "time-from": i,
286
- "time-to": k,
287
- "sold-out": V,
288
- "use-number-of-products-for-persons": O,
286
+ "time-to": y,
287
+ "sold-out": _,
288
+ "use-number-of-products-for-persons": D,
289
289
  callback: n.callback
290
290
  }, null, 8, ["listing-id", "table-group-id", "description", "name", "length", "gallery", "days", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "use-number-of-products-for-persons", "callback"]))), 128))
291
291
  ])
292
- ])) : n.events ? (l(), v(pe, {
292
+ ])) : n.events ? (l(), p(pe, {
293
293
  key: n.events[0].id,
294
294
  type: "event",
295
295
  "listing-id": n.events[0].id,
@@ -309,7 +309,7 @@ const Jt = {
309
309
  callback: n.callback
310
310
  }, 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"])) : c("", !0);
311
311
  }
312
- }), ln = /* @__PURE__ */ H(an, [["__scopeId", "data-v-71c9af93"]]), on = { class: "konnectio-special-offer-availability" }, sn = { class: "konnectio-special-offer-availability-button" }, rn = { class: "konnectio-warning-notice" }, un = { key: 0 }, dn = { key: 1 }, cn = /* @__PURE__ */ U({
312
+ }), on = /* @__PURE__ */ Y(ln, [["__scopeId", "data-v-71c9af93"]]), sn = { class: "konnectio-special-offer-availability" }, rn = { class: "konnectio-special-offer-availability-button" }, un = { class: "konnectio-warning-notice" }, dn = { key: 0 }, cn = { key: 1 }, mn = /* @__PURE__ */ U({
313
313
  __name: "NextEvent",
314
314
  props: {
315
315
  name: {},
@@ -331,17 +331,17 @@ const Jt = {
331
331
  callback: { type: Function }
332
332
  },
333
333
  setup(P) {
334
- const { t: n } = K(), { updateEventDate: a } = De(), { display: g } = Pe(), p = Be(), f = P;
334
+ const { t: n } = K(), { updateEventDate: a } = De(), { display: k } = Pe(), v = Ce(), f = P;
335
335
  function i() {
336
- p.value ? a(p.value) : g({
336
+ v.value ? a(v.value) : k({
337
337
  message: n("alert.error.selectDate"),
338
338
  type: "error"
339
339
  });
340
340
  }
341
- const k = W(() => gt(f.fromDate, f.toDate) <= 1), D = W(() => [0, 1, 2, 3, 4, 5, 6].filter((s) => !kt(f.days).includes(s)));
342
- return lt(() => {
343
- k.value && (p.value = new Date(f.fromDate));
344
- }), (s, V) => (l(), v(pe, {
341
+ const y = W(() => kt(f.fromDate, f.toDate) <= 1), h = W(() => [0, 1, 2, 3, 4, 5, 6].filter((s) => !yt(f.days).includes(s)));
342
+ return ot(() => {
343
+ y.value && (v.value = new Date(f.fromDate));
344
+ }), (s, _) => (l(), p(pe, {
345
345
  name: s.name,
346
346
  description: s.description,
347
347
  "from-date": s.fromDate,
@@ -363,34 +363,34 @@ const Jt = {
363
363
  }, {
364
364
  action: m(() => [
365
365
  t("div", null, [
366
- t("div", on, [
367
- b(Ut, {
368
- modelValue: p.value,
369
- "onUpdate:modelValue": V[0] || (V[0] = ($) => p.value = $),
366
+ t("div", sn, [
367
+ b(Ht, {
368
+ modelValue: v.value,
369
+ "onUpdate:modelValue": _[0] || (_[0] = ($) => v.value = $),
370
370
  label: `${e(n)("event.selectDate")}*`,
371
371
  placeholder: e(n)("event.selectDate"),
372
372
  "icon-type": "fas",
373
373
  "icon-placement": "label",
374
- readonly: k.value,
374
+ readonly: y.value,
375
375
  "start-date": s.fromDate !== "0001-01-01T00:00:00Z" ? new Date(s.fromDate) : new Date(s.toDate),
376
376
  "min-date": s.fromDate !== "0001-01-01T00:00:00Z" ? new Date(s.fromDate) : new Date(s.toDate),
377
377
  "max-date": new Date(s.toDate),
378
- "disabled-week-days": D.value
378
+ "disabled-week-days": h.value
379
379
  }, null, 8, ["modelValue", "label", "placeholder", "readonly", "start-date", "min-date", "max-date", "disabled-week-days"]),
380
- t("div", sn, [
380
+ t("div", rn, [
381
381
  b(ce, {
382
382
  label: e(n)("availability.buttonLabel"),
383
- onClick: ot(i, ["prevent"])
383
+ onClick: st(i, ["prevent"])
384
384
  }, null, 8, ["label"])
385
385
  ])
386
386
  ]),
387
- t("div", rn, [
388
- k.value ? (l(), r("span", un, [
387
+ t("div", un, [
388
+ y.value ? (l(), r("span", dn, [
389
389
  de("*" + o(e(n)("event.canBeBooked")) + " ", 1),
390
390
  t("u", null, o(e(z)(s.fromDate)), 1)
391
- ])) : (l(), r("span", dn, [
391
+ ])) : (l(), r("span", cn, [
392
392
  de("*" + o(e(n)("event.canBeBooked")) + " ", 1),
393
- t("u", null, o(e(yt)(s.days)), 1)
393
+ t("u", null, o(e(ht)(s.days)), 1)
394
394
  ]))
395
395
  ])
396
396
  ])
@@ -398,7 +398,7 @@ const Jt = {
398
398
  _: 1
399
399
  }, 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"]));
400
400
  }
401
- }), mn = /* @__PURE__ */ H(cn, [["__scopeId", "data-v-f6aed3b0"]]), pn = ["innerHTML"], vn = /* @__PURE__ */ U({
401
+ }), pn = /* @__PURE__ */ Y(mn, [["__scopeId", "data-v-f6aed3b0"]]), vn = ["innerHTML"], bn = /* @__PURE__ */ U({
402
402
  __name: "FallbackEvent",
403
403
  props: {
404
404
  name: {},
@@ -411,7 +411,7 @@ const Jt = {
411
411
  },
412
412
  setup(P) {
413
413
  const { t: n } = K();
414
- return (a, g) => (l(), v(pe, {
414
+ return (a, k) => (l(), p(pe, {
415
415
  name: a.name,
416
416
  description: a.description,
417
417
  "from-date": a.fromDate,
@@ -425,12 +425,12 @@ const Jt = {
425
425
  t("div", {
426
426
  class: "konnectio-filter-notice konnectio-top-message",
427
427
  innerHTML: e(n)("event.notAvailable", { name: `<b>${a.name}</b>` })
428
- }, null, 8, pn)
428
+ }, null, 8, vn)
429
429
  ]),
430
430
  _: 1
431
431
  }, 8, ["name", "description", "from-date", "gallery", "days", "listing-id", "callback"]));
432
432
  }
433
- }), bn = /* @__PURE__ */ H(vn, [["__scopeId", "data-v-14c5e97e"]]), fn = /* @__PURE__ */ U({
433
+ }), fn = /* @__PURE__ */ Y(bn, [["__scopeId", "data-v-14c5e97e"]]), gn = /* @__PURE__ */ U({
434
434
  __name: "Template",
435
435
  props: {
436
436
  name: {},
@@ -447,7 +447,7 @@ const Jt = {
447
447
  callback: {}
448
448
  },
449
449
  setup(P) {
450
- return (n, a) => (l(), v(Ce, {
450
+ return (n, a) => (l(), p(Ae, {
451
451
  "listing-id": n.listingId,
452
452
  gallery: n.images,
453
453
  name: n.name,
@@ -458,10 +458,10 @@ const Jt = {
458
458
  callback: n.callback
459
459
  }, null, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
460
460
  }
461
- }), gn = { key: 0 }, kn = { key: 1 }, yn = { key: 2 }, hn = { key: 0 }, Dn = { key: 4 }, Pn = { key: 5 }, $n = { key: 0 }, wn = { key: 0 }, En = { key: 1 }, On = {
461
+ }), kn = { key: 0 }, yn = { key: 1 }, hn = { key: 2 }, Dn = { key: 0 }, Pn = { key: 4 }, $n = { key: 5 }, wn = { key: 0 }, En = { key: 0 }, On = { key: 1 }, Vn = {
462
462
  key: 0,
463
463
  class: "konnectio-capitalize"
464
- }, _n = /* @__PURE__ */ U({
464
+ }, Tn = /* @__PURE__ */ U({
465
465
  __name: "EventReservationForm",
466
466
  props: {
467
467
  showGiftCard: { type: Boolean, default: !1 },
@@ -469,144 +469,144 @@ const Jt = {
469
469
  prevCallback: {}
470
470
  },
471
471
  setup(P) {
472
- const { t: n } = K(), a = st(), {
473
- areListingsAvailable: g,
474
- arrivalTime: p,
472
+ const { t: n } = K(), a = it(), {
473
+ areListingsAvailable: k,
474
+ arrivalTime: v,
475
475
  numberOfPeople: f,
476
476
  numberOfRooms: i,
477
- numberOfTotalDays: k,
478
- isTemplateEvent: D,
477
+ numberOfTotalDays: y,
478
+ isTemplateEvent: h,
479
479
  currentEventDate: s,
480
- length: V,
480
+ length: _,
481
481
  fromDate: $,
482
- tableBasePrice: L,
483
- getTemplateData: E,
484
- basePrice: _,
485
- totalPrice: O,
482
+ tableBasePrice: C,
483
+ getTemplateData: V,
484
+ basePrice: O,
485
+ totalPrice: D,
486
486
  weekendFee: w,
487
487
  roomUpgrade: X,
488
- discountCode: y,
489
- totalSelectedProducts: B
490
- } = q(J()), { totalAddonPrice: Y, validateDiscountCode: ve } = J(), { currency: oe, hideEventLength: be } = q(le());
491
- return (G, se) => (l(), v(Nt, {
492
- "discount-code": e(y),
493
- "onUpdate:discountCode": se[0] || (se[0] = (j) => R(y) ? y.value = j : null),
488
+ discountCode: E,
489
+ totalSelectedProducts: L
490
+ } = q(J()), { totalAddonPrice: G, validateDiscountCode: ve } = J(), { currency: se, hideEventLength: be } = q(oe());
491
+ return (H, ie) => (l(), p(Ft, {
492
+ "discount-code": e(E),
493
+ "onUpdate:discountCode": ie[0] || (ie[0] = (j) => R(E) ? E.value = j : null),
494
494
  "validate-discount-code": e(ve),
495
- "show-gift-card": G.showGiftCard,
496
- "show-terms-notice": G.showTermsNotice,
497
- "is-sidebar-loading": !e(g),
498
- "base-price": e(_),
499
- "total-price": e(O),
495
+ "show-gift-card": H.showGiftCard,
496
+ "show-terms-notice": H.showTermsNotice,
497
+ "is-sidebar-loading": !e(k),
498
+ "base-price": e(O),
499
+ "total-price": e(D),
500
500
  "weekend-fee": e(w),
501
501
  "room-upgrade": e(X),
502
502
  notice: e(n)("event.reservationNotice"),
503
- "prev-callback": G.prevCallback
504
- }, it({
503
+ "prev-callback": H.prevCallback
504
+ }, rt({
505
505
  form: m(() => [
506
- Q(G.$slots, "form", {}, void 0, !0)
506
+ Q(H.$slots, "form", {}, void 0, !0)
507
507
  ]),
508
508
  "reservation-summary": m(() => [
509
- e(D) ? c("", !0) : (l(), r("li", gn, [
509
+ e(h) ? c("", !0) : (l(), r("li", kn, [
510
510
  t("span", null, o(e(n)("general.date")), 1),
511
511
  t("b", null, o(e(z)(e(s))), 1)
512
512
  ])),
513
- e(f) > 0 ? (l(), r("li", kn, [
513
+ e(f) > 0 ? (l(), r("li", yn, [
514
514
  t("span", null, o(e(n)("event.numberOfGuests")), 1),
515
515
  t("b", null, o(e(f)), 1)
516
516
  ])) : c("", !0),
517
- !e(D) && e(B) > 0 ? (l(), r("li", yn, [
517
+ !e(h) && e(L) > 0 ? (l(), r("li", hn, [
518
518
  t("span", null, o(e(n)("event.numberOfProducts")), 1),
519
- t("b", null, o(e(B)), 1)
519
+ t("b", null, o(e(L)), 1)
520
520
  ])) : c("", !0),
521
- e(D) ? (l(), r(I, { key: 3 }, [
521
+ e(h) ? (l(), r(I, { key: 3 }, [
522
522
  t("li", null, [
523
523
  t("span", null, o(e(n)("booking.reservation.arrival")), 1),
524
524
  t("b", null, o(e(z)(e($))), 1)
525
525
  ]),
526
526
  t("li", null, [
527
527
  t("span", null, o(e(n)("booking.reservation.departure")), 1),
528
- t("b", null, o(e(z)(e($), e(k))), 1)
528
+ t("b", null, o(e(z)(e($), e(y))), 1)
529
529
  ]),
530
530
  t("li", null, [
531
531
  t("span", null, o(e(n)("event.numberOfRooms")), 1),
532
532
  t("b", null, o(e(i)), 1)
533
533
  ]),
534
- e(k) > 0 ? (l(), r("li", hn, [
534
+ e(y) > 0 ? (l(), r("li", Dn, [
535
535
  t("span", null, o(e(n)("event.numberOfDays")), 1),
536
- t("b", null, o(e(k)), 1)
536
+ t("b", null, o(e(y)), 1)
537
537
  ])) : c("", !0)
538
538
  ], 64)) : c("", !0),
539
- !e(D) && e(p) ? (l(), r("li", Dn, [
539
+ !e(h) && e(v) ? (l(), r("li", Pn, [
540
540
  t("span", null, o(e(n)("event.startOfEvent")), 1),
541
- t("b", null, o(e(me)(e(p))), 1)
541
+ t("b", null, o(e(me)(e(v))), 1)
542
542
  ])) : c("", !0),
543
- !e(D) && e(V) && !e(be) ? (l(), r("li", Pn, [
543
+ !e(h) && e(_) && !e(be) ? (l(), r("li", $n, [
544
544
  t("span", null, o(e(n)("event.lengthOfEvent")), 1),
545
- t("b", null, o(e(me)(e(V))), 1)
545
+ t("b", null, o(e(me)(e(_))), 1)
546
546
  ])) : c("", !0)
547
547
  ]),
548
548
  "price-summary": m(() => [
549
- !e(D) && e(L) > 0 ? (l(), r("li", $n, [
549
+ !e(h) && e(C) > 0 ? (l(), r("li", wn, [
550
550
  t("span", null, o(e(n)("booking.availability.basePrice")), 1),
551
- t("b", null, o(e(Z)(e(L), e(oe))), 1)
551
+ t("b", null, o(e(Z)(e(C), e(se))), 1)
552
552
  ])) : c("", !0),
553
- e(E) ? (l(!0), r(I, { key: 1 }, M(e(E), ({ roomGroupId: j }, x) => (l(), r(I, null, [
554
- e(Y)(j, x) > 0 ? (l(), r("li", { key: j }, [
553
+ e(V) ? (l(!0), r(I, { key: 1 }, M(e(V), ({ roomGroupId: j }, x) => (l(), r(I, null, [
554
+ e(G)(j, x) > 0 ? (l(), r("li", { key: j }, [
555
555
  t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(x + 1), 1),
556
- t("b", null, o(e(Z)(e(Y)(j, x), e(oe))), 1)
556
+ t("b", null, o(e(Z)(e(G)(j, x), e(se))), 1)
557
557
  ])) : c("", !0)
558
558
  ], 64))), 256)) : c("", !0)
559
559
  ]),
560
560
  navigation: m(() => [
561
- Q(G.$slots, "navigation", {}, void 0, !0)
561
+ Q(H.$slots, "navigation", {}, void 0, !0)
562
562
  ]),
563
563
  "mobile-under-price": m(() => [
564
- e(D) && e(k) > 0 ? (l(), r("div", wn, [
565
- t("span", null, o(e(z)(e($))) + " - " + o(e(z)(e($), e(k))), 1)
566
- ])) : (l(), r("div", En, [
564
+ e(h) && e(y) > 0 ? (l(), r("div", En, [
565
+ t("span", null, o(e(z)(e($))) + " - " + o(e(z)(e($), e(y))), 1)
566
+ ])) : (l(), r("div", On, [
567
567
  t("span", null, o(e(z)(e(s))), 1)
568
568
  ]))
569
569
  ]),
570
570
  "mobile-summary": m(() => [
571
- !e(D) && e(B) > 0 ? (l(), r("span", On, o(e(n)("event.numberOfProducts")) + ": " + o(e(B)), 1)) : c("", !0)
571
+ !e(h) && e(L) > 0 ? (l(), r("span", Vn, o(e(n)("event.numberOfProducts")) + ": " + o(e(L)), 1)) : c("", !0)
572
572
  ]),
573
573
  _: 2
574
574
  }, [
575
575
  e(a).sidebar ? {
576
576
  name: "sidebar",
577
577
  fn: m(() => [
578
- Q(G.$slots, "sidebar", {}, void 0, !0)
578
+ Q(H.$slots, "sidebar", {}, void 0, !0)
579
579
  ]),
580
580
  key: "0"
581
581
  } : void 0
582
582
  ]), 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"]));
583
583
  }
584
- }), he = /* @__PURE__ */ H(_n, [["__scopeId", "data-v-9b28e490"]]), Tn = { class: "event-skeleton" }, Vn = { class: "event-skeleton-content" }, Nn = { class: "event-skeleton-sidebar" }, Fn = /* @__PURE__ */ U({
584
+ }), he = /* @__PURE__ */ Y(Tn, [["__scopeId", "data-v-9b28e490"]]), _n = { class: "event-skeleton" }, Nn = { class: "event-skeleton-content" }, Fn = { class: "event-skeleton-sidebar" }, Ln = /* @__PURE__ */ U({
585
585
  __name: "EventSkeleton",
586
586
  setup(P) {
587
- return (n, a) => (l(), r("div", Tn, [
588
- t("div", Vn, [
589
- b(Ae)
590
- ]),
587
+ return (n, a) => (l(), r("div", _n, [
591
588
  t("div", Nn, [
589
+ b(Be)
590
+ ]),
591
+ t("div", Fn, [
592
592
  c("", !0),
593
- b(Ft)
593
+ b(Lt)
594
594
  ])
595
595
  ]));
596
596
  }
597
- }), Ln = /* @__PURE__ */ H(Fn, [["__scopeId", "data-v-3e15c4e3"]]), Bn = {
597
+ }), Cn = /* @__PURE__ */ Y(Ln, [["__scopeId", "data-v-3e15c4e3"]]), Bn = {
598
598
  key: 0,
599
599
  id: "konnectio-event-listings-wrapper"
600
600
  }, An = {
601
601
  key: 1,
602
602
  class: "konnectio-hotel-availability-title"
603
- }, Cn = { class: "konnectio-event-listings" }, In = { class: "konnectio-hotel-availability-title" }, Sn = { class: "konnectio-event-listings" }, Rn = ["innerHTML"], Mn = { class: "konnectio-panel" }, Un = {
603
+ }, In = { class: "konnectio-event-listings" }, Sn = { class: "konnectio-hotel-availability-title" }, Rn = { class: "konnectio-event-listings" }, Mn = ["innerHTML"], Un = { class: "konnectio-panel" }, Gn = {
604
604
  key: 0,
605
605
  id: "konnectio-event-addons"
606
- }, Gn = { class: "konnectio-table with-lines" }, zn = { class: "konnectio-event-addons-price" }, qn = { class: "konnectio-event-addons-input" }, Hn = { class: "konnectio-event-addons-price" }, Yn = { class: "konnectio-event-addons-price" }, jn = {
606
+ }, Hn = { class: "konnectio-table with-lines" }, zn = { class: "konnectio-event-addons-price" }, qn = { class: "konnectio-event-addons-input" }, Yn = { class: "konnectio-event-addons-price" }, jn = { class: "konnectio-event-addons-price" }, Wn = {
607
607
  key: 1,
608
608
  class: "konnectio-table with-lines without-header"
609
- }, Wn = { class: "konnectio-table-addons-information" }, Zn = { key: 0 }, Qn = { class: "konnectio-table-addons-option" }, Jn = { class: "konnectio-panel" }, Kn = /* @__PURE__ */ U({
609
+ }, Zn = { class: "konnectio-table-addons-information" }, Qn = { key: 0 }, Jn = { class: "konnectio-table-addons-option" }, Kn = { class: "konnectio-panel" }, Xn = /* @__PURE__ */ U({
610
610
  name: "EventLayout",
611
611
  __name: "Event",
612
612
  props: {
@@ -618,49 +618,50 @@ const Jt = {
618
618
  hideRemarks: { default: "no" },
619
619
  hideAllergies: { default: "no" },
620
620
  showFlagOnTable: { default: "no" },
621
- showHighChair: { default: "no" },
621
+ showHighChairs: {},
622
622
  styling: {}
623
623
  },
624
624
  setup(P) {
625
625
  const n = P, { t: a } = K(), {
626
- addons: g,
627
- products: p,
626
+ addons: k,
627
+ products: v,
628
628
  numberOfDays: f,
629
629
  flagOnTable: i,
630
- name: k,
631
- phone: D,
632
- email: s,
633
- remark: V,
634
- allergies: $,
635
- arrivalTime: L,
636
- hasEvents: E,
637
- hasTemplates: _,
638
- getEvents: O,
639
- getTemplates: w,
640
- getEventData: X,
641
- getTemplateData: y,
642
- getEventTableData: B,
643
- hasProducts: Y,
644
- eventRateType: ve,
645
- areListingsAvailable: oe,
646
- isAvailabilityDataAvailable: be,
647
- hasListingData: G,
648
- isPaymentLoading: se,
649
- isReservationFormFilled: j,
650
- requiresArrivalTime: x,
651
- hasSelectedRequiredProducts: Ie,
630
+ numberOfHighChairs: y,
631
+ name: h,
632
+ phone: s,
633
+ email: _,
634
+ remark: $,
635
+ allergies: C,
636
+ arrivalTime: V,
637
+ hasEvents: O,
638
+ hasTemplates: D,
639
+ getEvents: w,
640
+ getTemplates: X,
641
+ getEventData: E,
642
+ getTemplateData: L,
643
+ getEventTableData: G,
644
+ hasProducts: ve,
645
+ eventRateType: se,
646
+ areListingsAvailable: be,
647
+ isAvailabilityDataAvailable: H,
648
+ hasListingData: ie,
649
+ isPaymentLoading: j,
650
+ isReservationFormFilled: x,
651
+ requiresArrivalTime: Ie,
652
+ hasSelectedRequiredProducts: Se,
652
653
  getUnavailableEvents: fe,
653
654
  hasFallbackEvents: $e,
654
- getFallbackEvents: Se
655
- } = q(J()), { currency: ie } = q(le()), { setActiveIdFilter: Re } = le(), { eventDate: Me, eventLocation: Ue } = q(De()), { isValidRestaurantId: Ge } = De(), {
655
+ getFallbackEvents: Re
656
+ } = q(J()), { currency: re } = q(oe()), { setActiveIdFilter: Me } = oe(), { eventDate: Ue, eventLocation: Ge } = q(De()), { isValidRestaurantId: He } = De(), {
656
657
  initialize: ze,
657
658
  fetchListings: qe,
658
- createBooking: He,
659
- localAddonPrice: Ye,
660
- totalAddonPrice: je,
661
- reset: We,
659
+ createBooking: Ye,
660
+ localAddonPrice: je,
661
+ totalAddonPrice: We,
662
+ reset: Ze,
662
663
  goBack: we
663
- } = J(), { display: ge } = Pe(), Ze = W(() => [
664
+ } = J(), { display: ge } = Pe(), Qe = W(() => [
664
665
  {
665
666
  id: "availability",
666
667
  label: a("booking.availability.title"),
@@ -686,249 +687,249 @@ const Jt = {
686
687
  label: a("booking.confirmation.title"),
687
688
  icon: "calendar-check"
688
689
  }
689
- ]), Qe = W(() => {
690
- const h = [];
691
- return B.value && B.value.forEach((d) => {
692
- h.find((F) => F.value === d.time) || h.push({
690
+ ]), Je = W(() => {
691
+ const g = [];
692
+ return G.value && G.value.forEach((d) => {
693
+ g.find((F) => F.value === d.time) || g.push({
693
694
  label: me(d.time),
694
695
  value: d.time
695
696
  });
696
- }), h;
697
+ }), g;
697
698
  });
698
- function Je() {
699
- We(n.resetDate === "yes");
700
- }
701
699
  function Ke() {
702
- const h = $t("history", {
700
+ Ze(n.resetDate === "yes");
701
+ }
702
+ function Xe() {
703
+ const g = wt("history", {
703
704
  removeNullishValues: !0
704
- }), d = parseInt(h.rid), F = h.d, T = parseInt(h.eid);
705
+ }), d = parseInt(g.rid), F = g.d, T = parseInt(g.eid);
705
706
  if (F)
706
- if (wt(F)) {
707
- const u = new Date(F), A = u.setHours(12, 0, 0, 0), S = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
708
- A >= S ? Me.value = u : (ge({
707
+ if (Et(F)) {
708
+ const u = new Date(F), B = u.setHours(12, 0, 0, 0), S = (/* @__PURE__ */ new Date()).setHours(12, 0, 0, 0);
709
+ B >= S ? Ue.value = u : (ge({
709
710
  message: a("alert.error.invalidDateRange"),
710
711
  type: "error"
711
- }), h.d = void 0);
712
+ }), g.d = void 0);
712
713
  } else
713
714
  ge({
714
715
  message: a("alert.error.wrongDateFormat"),
715
716
  type: "error"
716
717
  });
717
- isNaN(d) || (Ge(d) ? Ue.value = d : (h.rid = void 0, ge({
718
+ isNaN(d) || (He(d) ? Ge.value = d : (g.rid = void 0, ge({
718
719
  message: a("alert.error.hotelIdNotFound"),
719
720
  type: "error"
720
- }))), isNaN(T) || Re(T), qe();
721
+ }))), isNaN(T) || Me(T), qe();
721
722
  }
722
- return (h, d) => (l(), v(Pt, { styling: h.styling }, {
723
+ return (g, d) => (l(), p($t, { styling: g.styling }, {
723
724
  default: m(() => [
724
- (l(), v(rt, { onResolve: Ke }, {
725
+ (l(), p(ut, { onResolve: Xe }, {
725
726
  default: m(() => [
726
- b(_t, {
727
+ b(Tt, {
727
728
  id: "konnectio-event-module",
728
- "access-token": h.accessToken,
729
+ "access-token": g.accessToken,
729
730
  callback: e(ze)
730
731
  }, {
731
732
  default: m(() => [
732
- b(Lt, {
733
- steps: Ze.value,
734
- onReset: Je
733
+ b(Ct, {
734
+ steps: Qe.value,
735
+ onReset: Ke
735
736
  }, {
736
737
  availability: m(({ next: F }) => [
737
738
  b(he, null, {
738
739
  sidebar: m(() => [
739
- b(Ht, {
740
+ b(Yt, {
740
741
  redirection: !1,
741
- "selected-location": Number(h.selectedLocation),
742
- "hide-locations": h.hideLocations === "yes"
742
+ "selected-location": Number(g.selectedLocation),
743
+ "hide-locations": g.hideLocations === "yes"
743
744
  }, null, 8, ["selected-location", "hide-locations"])
744
745
  ]),
745
746
  form: m(() => [
746
- e(G) && e(oe) ? (l(), r("div", Bn, [
747
- e($e) ? (l(!0), r(I, { key: 0 }, M(e(Se), ({
747
+ e(ie) && e(be) ? (l(), r("div", Bn, [
748
+ e($e) ? (l(!0), r(I, { key: 0 }, M(e(Re), ({
748
749
  id: T,
749
750
  name: u,
750
- description: A,
751
+ description: B,
751
752
  images: S
752
- }) => (l(), v(bn, {
753
+ }) => (l(), p(fn, {
753
754
  key: T,
754
755
  type: "event",
755
756
  "listing-id": T,
756
- description: A,
757
+ description: B,
757
758
  name: u,
758
759
  gallery: S,
759
760
  callback: F
760
761
  }, null, 8, ["listing-id", "description", "name", "gallery", "callback"]))), 128)) : c("", !0),
761
- e(E) && e(fe).length > 0 ? (l(), r("h2", An, [
762
- b(ae, {
762
+ e(O) && e(fe).length > 0 ? (l(), r("h2", An, [
763
+ b(le, {
763
764
  icon: "calendar-clock",
764
765
  type: "fal",
765
766
  color: "header"
766
767
  }),
767
768
  t("span", null, o(e(a)("event.availableNow")), 1)
768
769
  ])) : c("", !0),
769
- t("ul", Cn, [
770
- e(E) && h.onlyShow !== "templates" ? (l(!0), r(I, { key: 0 }, M(e(O), (T) => (l(), v(ln, {
770
+ t("ul", In, [
771
+ e(O) && g.onlyShow !== "templates" ? (l(!0), r(I, { key: 0 }, M(e(w), (T) => (l(), p(on, {
771
772
  name: T.name,
772
773
  events: T.events,
773
774
  callback: F
774
775
  }, null, 8, ["name", "events", "callback"]))), 256)) : c("", !0),
775
- e(_) && h.onlyShow !== "events" ? (l(!0), r(I, { key: 1 }, M(e(w), ({
776
+ e(D) && g.onlyShow !== "events" ? (l(!0), r(I, { key: 1 }, M(e(X), ({
776
777
  id: T,
777
778
  name: u,
778
- fromDate: A,
779
+ fromDate: B,
779
780
  toDate: S,
780
781
  minimumPersonCount: N,
781
- fromPrice: C,
782
+ fromPrice: A,
782
783
  description: ee,
783
784
  images: te
784
- }) => (l(), v(fn, {
785
+ }) => (l(), p(gn, {
785
786
  key: T,
786
787
  "listing-id": T,
787
788
  name: u,
788
789
  images: te,
789
790
  description: ee,
790
- "from-date": A,
791
+ "from-date": B,
791
792
  "to-date": S,
792
793
  "minimum-person-count": N,
793
- fromPrice: C,
794
+ fromPrice: A,
794
795
  callback: F
795
796
  }, null, 8, ["listing-id", "name", "images", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128)) : c("", !0)
796
797
  ]),
797
- e(fe).length > 0 && h.onlyShow !== "templates" ? (l(), r(I, { key: 2 }, [
798
- t("h2", In, [
799
- b(ae, {
798
+ e(fe).length > 0 && g.onlyShow !== "templates" ? (l(), r(I, { key: 2 }, [
799
+ t("h2", Sn, [
800
+ b(le, {
800
801
  icon: "calendar-circle-exclamation",
801
802
  type: "fal",
802
803
  color: "header"
803
804
  }),
804
805
  t("span", null, o(e(a)("event.availableLater")), 1)
805
806
  ]),
806
- t("ul", Sn, [
807
+ t("ul", Rn, [
807
808
  (l(!0), r(I, null, M(e(fe), ({
808
809
  id: T,
809
810
  days: u,
810
- name: A,
811
+ name: B,
811
812
  timeFrom: S,
812
813
  timeTo: N,
813
- fromDate: C,
814
+ fromDate: A,
814
815
  toDate: ee,
815
816
  tableGroupId: te,
816
817
  description: ke,
817
818
  soldOut: ye,
818
819
  length: ne,
819
- images: Xe,
820
- maxOnlineReservationLimit: xe,
821
- maxPaxPerReservation: et,
822
- useNumberOfProductsForPersons: tt,
823
- maxTicketsLimit: nt
824
- }) => (l(), v(mn, {
820
+ images: xe,
821
+ maxOnlineReservationLimit: et,
822
+ maxPaxPerReservation: tt,
823
+ useNumberOfProductsForPersons: nt,
824
+ maxTicketsLimit: at
825
+ }) => (l(), p(pn, {
825
826
  key: T,
826
827
  type: "event",
827
828
  "listing-id": T,
828
829
  "table-group-id": te,
829
830
  description: ke,
830
- name: A,
831
+ name: B,
831
832
  length: ne,
832
- gallery: Xe,
833
+ gallery: xe,
833
834
  days: u,
834
- "from-date": C,
835
+ "from-date": A,
835
836
  "to-date": ee,
836
- "max-online-reservation-limit": et || xe || nt,
837
+ "max-online-reservation-limit": tt || et || at,
837
838
  "time-from": S,
838
839
  "time-to": N,
839
840
  "sold-out": ye,
840
- "use-number-of-products-for-persons": tt,
841
+ "use-number-of-products-for-persons": nt,
841
842
  callback: F
842
843
  }, 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))
843
844
  ])
844
845
  ], 64)) : c("", !0),
845
- (!e(E) && !e(_) || !e(E) && h.onlyShow === "events" || !e(_) && h.onlyShow === "templates") && !e($e) ? (l(), r("div", {
846
+ (!e(O) && !e(D) || !e(O) && g.onlyShow === "events" || !e(D) && g.onlyShow === "templates") && !e($e) ? (l(), r("div", {
846
847
  key: 3,
847
848
  class: "konnectio-panel",
848
849
  innerHTML: e(a)("event.nothingAvailable")
849
- }, null, 8, Rn)) : c("", !0)
850
- ])) : (l(), v(Ae, { key: 1 }))
850
+ }, null, 8, Mn)) : c("", !0)
851
+ ])) : (l(), p(Be, { key: 1 }))
851
852
  ]),
852
853
  _: 2
853
854
  }, 1024)
854
855
  ]),
855
856
  addons: m(({ next: F, prev: T }) => [
856
- e(be) ? (l(), v(he, {
857
+ e(H) ? (l(), p(he, {
857
858
  key: 0,
858
859
  "prev-callback": () => e(we)(T)
859
860
  }, {
860
861
  form: m(() => [
861
- t("form", Mn, [
862
+ t("form", Un, [
862
863
  t("h2", null, [
863
864
  t("span", null, o(e(a)("event.selectProducts")), 1)
864
865
  ]),
865
- e(y) && e(y).length > 0 ? (l(), r("ul", Un, [
866
- (l(!0), r(I, null, M(e(y), ({
866
+ e(L) && e(L).length > 0 ? (l(), r("ul", Gn, [
867
+ (l(!0), r(I, null, M(e(L), ({
867
868
  roomGroupId: u,
868
- addons: A,
869
+ addons: B,
869
870
  adultPerRoom: S
870
871
  }, N) => (l(), r("li", { key: u }, [
871
872
  t("h5", null, [
872
873
  t("span", null, o(e(a)("booking.reservation.room")) + " #" + o(N + 1), 1),
873
- d[8] || (d[8] = de(" (")),
874
- b(ae, {
874
+ d[9] || (d[9] = de(" (")),
875
+ b(le, {
875
876
  icon: "male",
876
877
  type: "fas",
877
878
  color: "header"
878
879
  }),
879
880
  de(" " + o(S) + ") ", 1)
880
881
  ]),
881
- t("table", Gn, [
882
+ t("table", Hn, [
882
883
  t("thead", null, [
883
884
  t("tr", null, [
884
885
  t("th", null, [
885
886
  t("span", null, o(e(a)("booking.reservation.addons")), 1)
886
887
  ]),
887
- d[9] || (d[9] = t("th", { class: "konnectio-event-addons-input" }, null, -1)),
888
+ d[10] || (d[10] = t("th", { class: "konnectio-event-addons-input" }, null, -1)),
888
889
  t("th", zn, [
889
890
  t("span", null, o(e(a)("booking.availability.price")), 1)
890
891
  ])
891
892
  ])
892
893
  ]),
893
894
  t("tbody", null, [
894
- (l(!0), r(I, null, M(A, ({
895
- id: C,
895
+ (l(!0), r(I, null, M(B, ({
896
+ id: A,
896
897
  cardinality: ee,
897
898
  name: te,
898
899
  price: ke,
899
900
  quantityStrategy: ye
900
- }) => (l(), r("tr", { key: C }, [
901
+ }) => (l(), r("tr", { key: A }, [
901
902
  t("td", null, [
902
903
  t("b", null, o(te), 1),
903
- d[10] || (d[10] = t("br", null, null, -1)),
904
- t("span", null, o(e(Z)(ke, e(ie))) + " " + o(e(Dt)(ye)), 1)
904
+ d[11] || (d[11] = t("br", null, null, -1)),
905
+ t("span", null, o(e(Z)(ke, e(re))) + " " + o(e(Pt)(ye)), 1)
905
906
  ]),
906
907
  t("td", qn, [
907
- ee === 3 ? (l(), v(ue, {
908
+ ee === 3 ? (l(), p(ae, {
908
909
  key: 0,
909
- modelValue: e(g)[`${u}.${C}.${N}`],
910
- "onUpdate:modelValue": (ne) => e(g)[`${u}.${C}.${N}`] = ne,
910
+ modelValue: e(k)[`${u}.${A}.${N}`],
911
+ "onUpdate:modelValue": (ne) => e(k)[`${u}.${A}.${N}`] = ne,
911
912
  small: !0,
912
913
  "min-value": 0
913
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), v(qt, {
914
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (l(), p(Fe, {
914
915
  key: 1,
915
- modelValue: e(g)[`${u}.${C}.${N}`],
916
- "onUpdate:modelValue": (ne) => e(g)[`${u}.${C}.${N}`] = ne,
916
+ modelValue: e(k)[`${u}.${A}.${N}`],
917
+ "onUpdate:modelValue": (ne) => e(k)[`${u}.${A}.${N}`] = ne,
917
918
  numeric: !0
918
919
  }, null, 8, ["modelValue", "onUpdate:modelValue"]))
919
920
  ]),
920
- t("td", Hn, [
921
- t("span", null, o(e(Z)(e(Ye)(C, u, N), e(ie))), 1)
921
+ t("td", Yn, [
922
+ t("span", null, o(e(Z)(e(je)(A, u, N), e(re))), 1)
922
923
  ])
923
924
  ]))), 128))
924
925
  ]),
925
926
  t("tfoot", null, [
926
927
  t("tr", null, [
927
- d[11] || (d[11] = t("td", null, null, -1)),
928
928
  d[12] || (d[12] = t("td", null, null, -1)),
929
- t("td", Yn, [
929
+ d[13] || (d[13] = t("td", null, null, -1)),
930
+ t("td", jn, [
930
931
  t("u", null, [
931
- t("span", null, o(e(Z)(e(je)(u, N), e(ie))), 1)
932
+ t("span", null, o(e(Z)(e(We)(u, N), e(re))), 1)
932
933
  ])
933
934
  ])
934
935
  ])
@@ -936,20 +937,20 @@ const Jt = {
936
937
  ])
937
938
  ]))), 128))
938
939
  ])) : c("", !0),
939
- e(Y) ? (l(), r("table", jn, [
940
+ e(ve) ? (l(), r("table", Wn, [
940
941
  t("tbody", null, [
941
- (l(!0), r(I, null, M(e(X).products, ({ id: u, name: A, price: S, description: N }) => (l(), r("tr", { key: u }, [
942
- t("td", Wn, [
942
+ (l(!0), r(I, null, M(e(E).products, ({ id: u, name: B, price: S, description: N }) => (l(), r("tr", { key: u }, [
943
+ t("td", Zn, [
943
944
  t("b", null, [
944
- t("span", null, o(e(Ee)(A)), 1)
945
+ t("span", null, o(e(Ee)(B)), 1)
945
946
  ]),
946
- N && N !== A ? (l(), r("span", Zn, o(e(Ee)(N)), 1)) : c("", !0),
947
- t("u", null, o(e(Z)(S, e(ie))), 1)
947
+ N && N !== B ? (l(), r("span", Qn, o(e(Ee)(N)), 1)) : c("", !0),
948
+ t("u", null, o(e(Z)(S, e(re))), 1)
948
949
  ]),
949
- t("td", Qn, [
950
- b(ue, {
951
- modelValue: e(p)[u],
952
- "onUpdate:modelValue": (C) => e(p)[u] = C,
950
+ t("td", Jn, [
951
+ b(ae, {
952
+ modelValue: e(v)[u],
953
+ "onUpdate:modelValue": (A) => e(v)[u] = A,
953
954
  small: !0,
954
955
  "min-value": 0
955
956
  }, null, 8, ["modelValue", "onUpdate:modelValue"])
@@ -962,7 +963,7 @@ const Jt = {
962
963
  navigation: m(() => [
963
964
  b(ce, {
964
965
  label: e(a)("event.startReservation"),
965
- disabled: !e(Ie),
966
+ disabled: !e(Se),
966
967
  "full-width": "",
967
968
  onClickEvent: F
968
969
  }, null, 8, ["label", "disabled", "onClickEvent"])
@@ -977,22 +978,22 @@ const Jt = {
977
978
  "prev-callback": () => e(we)(T)
978
979
  }, {
979
980
  form: m(() => [
980
- t("form", Jn, [
981
+ t("form", Kn, [
981
982
  t("h2", null, [
982
983
  t("span", null, o(e(a)("booking.reservation.detailsTitle")), 1)
983
984
  ]),
984
- b(re, {
985
- modelValue: e(k),
986
- "onUpdate:modelValue": d[0] || (d[0] = (u) => R(k) ? k.value = u : null),
985
+ b(ue, {
986
+ modelValue: e(h),
987
+ "onUpdate:modelValue": d[0] || (d[0] = (u) => R(h) ? h.value = u : null),
987
988
  type: "text",
988
989
  label: e(a)("booking.reservation.name"),
989
990
  icon: "user-alt",
990
991
  placeholder: e(a)("booking.reservation.namePlaceholder"),
991
992
  required: ""
992
993
  }, null, 8, ["modelValue", "label", "placeholder"]),
993
- b(re, {
994
- modelValue: e(s),
995
- "onUpdate:modelValue": d[1] || (d[1] = (u) => R(s) ? s.value = u : null),
994
+ b(ue, {
995
+ modelValue: e(_),
996
+ "onUpdate:modelValue": d[1] || (d[1] = (u) => R(_) ? _.value = u : null),
996
997
  label: e(a)("booking.reservation.email"),
997
998
  type: "email",
998
999
  name: "email",
@@ -1001,24 +1002,24 @@ const Jt = {
1001
1002
  placeholder: e(a)("booking.reservation.emailPlaceholder"),
1002
1003
  required: ""
1003
1004
  }, null, 8, ["modelValue", "label", "placeholder"]),
1004
- b(zt, {
1005
- modelValue: e(D),
1006
- "onUpdate:modelValue": d[2] || (d[2] = (u) => R(D) ? D.value = u : null),
1005
+ b(qt, {
1006
+ modelValue: e(s),
1007
+ "onUpdate:modelValue": d[2] || (d[2] = (u) => R(s) ? s.value = u : null),
1007
1008
  label: e(a)("booking.reservation.phone"),
1008
1009
  icon: "phone-office",
1009
1010
  placeholder: e(a)("booking.reservation.phonePlaceholder"),
1010
1011
  required: ""
1011
1012
  }, null, 8, ["modelValue", "label", "placeholder"]),
1012
- e(x) ? (l(), v(Oe, {
1013
+ e(Ie) ? (l(), p(At, {
1013
1014
  key: 0,
1014
- modelValue: e(L),
1015
- "onUpdate:modelValue": d[3] || (d[3] = (u) => R(L) ? L.value = u : null),
1015
+ modelValue: e(V),
1016
+ "onUpdate:modelValue": d[3] || (d[3] = (u) => R(V) ? V.value = u : null),
1016
1017
  label: e(a)("event.selectArrivalTime"),
1017
1018
  name: "eventTimeTable",
1018
- checkboxes: Qe.value,
1019
+ checkboxes: Je.value,
1019
1020
  required: ""
1020
1021
  }, null, 8, ["modelValue", "label", "checkboxes"])) : c("", !0),
1021
- e(ve) === e(ht).FullDayEvent ? (l(), v(ue, {
1022
+ e(se) === e(Dt).FullDayEvent ? (l(), p(ae, {
1022
1023
  key: 1,
1023
1024
  modelValue: e(f),
1024
1025
  "onUpdate:modelValue": d[4] || (d[4] = (u) => R(f) ? f.value = u : null),
@@ -1026,26 +1027,33 @@ const Jt = {
1026
1027
  "min-value": 1,
1027
1028
  required: ""
1028
1029
  }, null, 8, ["modelValue", "label"])) : c("", !0),
1029
- h.showFlagOnTable === "yes" ? (l(), v(Oe, {
1030
+ g.showHighChairs === "yes" ? (l(), p(ae, {
1030
1031
  key: 2,
1031
- modelValue: e(i),
1032
- "onUpdate:modelValue": d[5] || (d[5] = (u) => R(i) ? i.value = u : null),
1033
- label: e(a)("booking.reservation.flagOnTable"),
1034
- icon: "flag"
1032
+ modelValue: e(y),
1033
+ "onUpdate:modelValue": d[5] || (d[5] = (u) => R(y) ? y.value = u : null),
1034
+ label: e(a)("event.numberOfHighChairs"),
1035
+ icon: "baby",
1036
+ "no-optional-label": !1
1035
1037
  }, null, 8, ["modelValue", "label"])) : c("", !0),
1036
- h.hideRemarks !== "yes" ? (l(), v(re, {
1038
+ g.showFlagOnTable === "yes" ? (l(), p(Fe, {
1037
1039
  key: 3,
1038
- modelValue: e(V),
1039
- "onUpdate:modelValue": d[6] || (d[6] = (u) => R(V) ? V.value = u : null),
1040
+ modelValue: e(i),
1041
+ "onUpdate:modelValue": d[6] || (d[6] = (u) => R(i) ? i.value = u : null),
1042
+ label: e(a)("event.flagOnTable")
1043
+ }, null, 8, ["modelValue", "label"])) : c("", !0),
1044
+ g.hideRemarks !== "yes" ? (l(), p(ue, {
1045
+ key: 4,
1046
+ modelValue: e($),
1047
+ "onUpdate:modelValue": d[7] || (d[7] = (u) => R($) ? $.value = u : null),
1040
1048
  type: "textarea",
1041
1049
  label: e(a)("booking.reservation.remark"),
1042
1050
  icon: "info-circle",
1043
1051
  placeholder: e(a)("booking.reservation.remarkPlaceholder")
1044
1052
  }, null, 8, ["modelValue", "label", "placeholder"])) : c("", !0),
1045
- h.hideAllergies !== "yes" ? (l(), v(re, {
1046
- key: 4,
1047
- modelValue: e($),
1048
- "onUpdate:modelValue": d[7] || (d[7] = (u) => R($) ? $.value = u : null),
1053
+ g.hideAllergies !== "yes" ? (l(), p(ue, {
1054
+ key: 5,
1055
+ modelValue: e(C),
1056
+ "onUpdate:modelValue": d[8] || (d[8] = (u) => R(C) ? C.value = u : null),
1049
1057
  type: "textarea",
1050
1058
  label: e(a)("booking.reservation.allergies"),
1051
1059
  icon: "allergies",
@@ -1056,17 +1064,17 @@ const Jt = {
1056
1064
  navigation: m(() => [
1057
1065
  b(ce, {
1058
1066
  label: e(a)("general.confirmReservation"),
1059
- "is-loading": e(se),
1060
- disabled: !e(j),
1067
+ "is-loading": e(j),
1068
+ disabled: !e(x),
1061
1069
  "full-width": "",
1062
- onClickEvent: (u) => e(He)(F)
1070
+ onClickEvent: (u) => e(Ye)(F)
1063
1071
  }, null, 8, ["label", "is-loading", "disabled", "onClickEvent"])
1064
1072
  ]),
1065
1073
  _: 2
1066
1074
  }, 1032, ["prev-callback"])
1067
1075
  ]),
1068
1076
  payment: m(() => [
1069
- b(Gt)
1077
+ b(zt)
1070
1078
  ]),
1071
1079
  confirmation: m(() => [
1072
1080
  b(Bt, {
@@ -1080,7 +1088,7 @@ const Jt = {
1080
1088
  }, 8, ["access-token", "callback"])
1081
1089
  ]),
1082
1090
  fallback: m(() => [
1083
- b(Ln)
1091
+ b(Cn)
1084
1092
  ]),
1085
1093
  _: 1
1086
1094
  }))
@@ -1088,8 +1096,8 @@ const Jt = {
1088
1096
  _: 1
1089
1097
  }, 8, ["styling"]));
1090
1098
  }
1091
- }), Le = /* @__PURE__ */ H(Kn, [["__scopeId", "data-v-97cac727"]]), Xn = ut(), xn = dt, ea = xn();
1092
- class ta extends HTMLElement {
1099
+ }), Le = /* @__PURE__ */ Y(Xn, [["__scopeId", "data-v-55115e88"]]), xn = dt(), ea = ct, ta = ea();
1100
+ class na extends HTMLElement {
1093
1101
  vueApp;
1094
1102
  constructor() {
1095
1103
  super();
@@ -1098,14 +1106,14 @@ class ta extends HTMLElement {
1098
1106
  this.vueApp.unmount();
1099
1107
  }
1100
1108
  connectedCallback() {
1101
- const n = ct(Le, this.attributes);
1102
- this.vueApp = mt(Le, n), this.vueApp.provide("emitter", ea), this.vueApp.use(pt), this.vueApp.use(Xn), this.vueApp.use(At), this.vueApp.use(Ot), this.vueApp.use(Ct), this.vueApp.use(Et, { bootstrap: !0 });
1109
+ const n = mt(Le, this.attributes);
1110
+ this.vueApp = pt(Le, n), this.vueApp.provide("emitter", ta), this.vueApp.use(vt), this.vueApp.use(xn), this.vueApp.use(It), this.vueApp.use(Vt), this.vueApp.use(St), this.vueApp.use(Ot, { bootstrap: !0 });
1103
1111
  const a = document.createElement("div");
1104
1112
  this.vueApp.mount(a), this.appendChild(a.children[0]);
1105
1113
  }
1106
1114
  }
1107
- window.customElements.define("konnectio-event", ta);
1115
+ window.customElements.define("konnectio-event", na);
1108
1116
  export {
1109
- ta as default
1117
+ na as default
1110
1118
  };
1111
1119
  //# sourceMappingURL=event.js.map