@konnectio/core 4.0.56-rc5 → 4.0.56-rc50

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 (189) hide show
  1. package/dist/{ActionField--byx0Lp1.js → ActionField-BQQitCzR.js} +43 -34
  2. package/dist/ActionField-BQQitCzR.js.br +0 -0
  3. package/dist/AvailabilitySkeleton-TZiNrJ8t.js +294 -0
  4. package/dist/AvailabilitySkeleton-TZiNrJ8t.js.br +0 -0
  5. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DrUxvwDd.js +7814 -0
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DrUxvwDd.js.br +0 -0
  7. package/dist/CheckoutWindow-DBBmXrsX.js +668 -0
  8. package/dist/CheckoutWindow-DBBmXrsX.js.br +0 -0
  9. package/dist/ErrorMessage-Dw-TLplp.js +45 -0
  10. package/dist/ErrorMessage-Dw-TLplp.js.br +0 -0
  11. package/dist/EventAvailabilityForm-DimufYUP.js +437 -0
  12. package/dist/EventAvailabilityForm-DimufYUP.js.br +0 -0
  13. package/dist/Field-B4x3qSfU.js +50 -0
  14. package/dist/Field-B4x3qSfU.js.br +0 -0
  15. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CyGcXPO9.js +21414 -0
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CyGcXPO9.js.br +0 -0
  17. package/dist/TermsOfService-DLchxC08.js +35 -0
  18. package/dist/TermsOfService-DLchxC08.js.br +0 -0
  19. package/dist/_-C7wxqlYk.js +12 -0
  20. package/dist/_.vue_vue_type_style_index_0_lang-BGyUJK1I.js +68 -0
  21. package/dist/_.vue_vue_type_style_index_0_lang-BGyUJK1I.js.br +0 -0
  22. package/dist/availability.js +96 -147
  23. package/dist/availability.js.br +0 -0
  24. package/dist/deep-link.js +10 -0
  25. package/dist/event.js +732 -495
  26. package/dist/event.js.br +0 -0
  27. package/dist/gift-card-validation.js +132 -75
  28. package/dist/gift-card-validation.js.br +0 -0
  29. package/dist/gift-card.js +363 -408
  30. package/dist/gift-card.js.br +0 -0
  31. package/dist/giftCard-9uCMmY6r.js +127 -0
  32. package/dist/giftCard-9uCMmY6r.js.br +0 -0
  33. package/dist/hotel.js +1480 -2454
  34. package/dist/hotel.js.br +0 -0
  35. package/dist/masonry.plugin-C4-Uj22v.js +12789 -0
  36. package/dist/masonry.plugin-C4-Uj22v.js.br +0 -0
  37. package/dist/polyfill.js +15065 -4765
  38. package/dist/polyfill.js.br +0 -0
  39. package/dist/style.css +1 -1
  40. package/dist/style.css.br +0 -0
  41. package/dist/tracing-Dm-FNj-F.js +11807 -0
  42. package/dist/tracing-Dm-FNj-F.js.br +0 -0
  43. package/package.json +47 -40
  44. package/dist/ActionField--byx0Lp1.js.br +0 -0
  45. package/dist/AvailabilitySkeleton-cL6E9wAp.js +0 -239
  46. package/dist/AvailabilitySkeleton-cL6E9wAp.js.br +0 -0
  47. package/dist/CheckoutWindow-_ZUCAYgm.js +0 -205
  48. package/dist/CheckoutWindow-_ZUCAYgm.js.br +0 -0
  49. package/dist/Container-6UeOakwz.js +0 -68
  50. package/dist/Container-6UeOakwz.js.br +0 -0
  51. package/dist/DateField.vue_vue_type_style_index_0_lang-v-NT3HRG.js +0 -8566
  52. package/dist/DateField.vue_vue_type_style_index_0_lang-v-NT3HRG.js.br +0 -0
  53. package/dist/Field-GdMucFcQ.js +0 -42
  54. package/dist/Field-GdMucFcQ.js.br +0 -5
  55. package/dist/SelectField.vue_vue_type_style_index_0_lang-XwPp5AXD.js +0 -27240
  56. package/dist/SelectField.vue_vue_type_style_index_0_lang-XwPp5AXD.js.br +0 -0
  57. package/dist/ThankYou-9pzt2SfJ.js +0 -13475
  58. package/dist/ThankYou-9pzt2SfJ.js.br +0 -0
  59. package/dist/_-5uiOrU07.js +0 -19
  60. package/dist/_commonjsHelpers-4t9S7M5p.js +0 -30
  61. package/dist/assets/typescript/mixins.d.ts +0 -34
  62. package/dist/availability.d.ts +0 -3
  63. package/dist/components/Alert.vue.d.ts +0 -28
  64. package/dist/components/Alert.vue.d.ts.map +0 -1
  65. package/dist/components/Clickable.vue.d.ts +0 -60
  66. package/dist/components/Clickable.vue.d.ts.map +0 -1
  67. package/dist/components/Container.vue.d.ts +0 -23
  68. package/dist/components/Container.vue.d.ts.map +0 -1
  69. package/dist/components/ErrorMessage.vue.d.ts +0 -15
  70. package/dist/components/ErrorMessage.vue.d.ts.map +0 -1
  71. package/dist/components/Gallery.vue.d.ts +0 -31
  72. package/dist/components/Gallery.vue.d.ts.map +0 -1
  73. package/dist/components/GoogleNotice.vue.d.ts +0 -2
  74. package/dist/components/GoogleNotice.vue.d.ts.map +0 -1
  75. package/dist/components/Icon.vue.d.ts +0 -38
  76. package/dist/components/Icon.vue.d.ts.map +0 -1
  77. package/dist/components/Loading.vue.d.ts +0 -29
  78. package/dist/components/Loading.vue.d.ts.map +0 -1
  79. package/dist/components/Spinner.vue.d.ts +0 -2
  80. package/dist/components/Spinner.vue.d.ts.map +0 -1
  81. package/dist/components/forms/EventAvailabilityForm.vue.d.ts +0 -18
  82. package/dist/components/forms/EventAvailabilityForm.vue.d.ts.map +0 -1
  83. package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +0 -34
  84. package/dist/components/forms/HotelAvailabilityForm.vue.d.ts.map +0 -1
  85. package/dist/components/forms/HotelReservationForm.vue.d.ts +0 -41
  86. package/dist/components/forms/HotelReservationForm.vue.d.ts.map +0 -1
  87. package/dist/components/forms/MultiStepForm.vue.d.ts +0 -43
  88. package/dist/components/forms/MultiStepForm.vue.d.ts.map +0 -1
  89. package/dist/components/forms/ReservationForm.vue.d.ts +0 -63
  90. package/dist/components/forms/ReservationForm.vue.d.ts.map +0 -1
  91. package/dist/components/forms/_.vue.d.ts +0 -42
  92. package/dist/components/forms/_.vue.d.ts.map +0 -1
  93. package/dist/components/inputs/Checkbox.vue.d.ts +0 -55
  94. package/dist/components/inputs/Checkbox.vue.d.ts.map +0 -1
  95. package/dist/components/inputs/CheckboxField.vue.d.ts +0 -29
  96. package/dist/components/inputs/CheckboxField.vue.d.ts.map +0 -1
  97. package/dist/components/inputs/DateField.vue.d.ts +0 -104
  98. package/dist/components/inputs/DateField.vue.d.ts.map +0 -1
  99. package/dist/components/inputs/InputField.vue.d.ts +0 -62
  100. package/dist/components/inputs/InputField.vue.d.ts.map +0 -1
  101. package/dist/components/inputs/MediaSelector.vue.d.ts +0 -43
  102. package/dist/components/inputs/MediaSelector.vue.d.ts.map +0 -1
  103. package/dist/components/inputs/NumberField.vue.d.ts +0 -87
  104. package/dist/components/inputs/NumberField.vue.d.ts.map +0 -1
  105. package/dist/components/inputs/SelectField.vue.d.ts +0 -90
  106. package/dist/components/inputs/SelectField.vue.d.ts.map +0 -1
  107. package/dist/components/inputs/TextField.vue.d.ts +0 -68
  108. package/dist/components/inputs/TextField.vue.d.ts.map +0 -1
  109. package/dist/components/inputs/TimeField.vue.d.ts +0 -44
  110. package/dist/components/inputs/TimeField.vue.d.ts.map +0 -1
  111. package/dist/components/inputs/grouped/ActionField.vue.d.ts +0 -72
  112. package/dist/components/inputs/grouped/ActionField.vue.d.ts.map +0 -1
  113. package/dist/components/inputs/grouped/CountryField.vue.d.ts +0 -41
  114. package/dist/components/inputs/grouped/CountryField.vue.d.ts.map +0 -1
  115. package/dist/components/inputs/grouped/NameField.vue.d.ts +0 -71
  116. package/dist/components/inputs/grouped/NameField.vue.d.ts.map +0 -1
  117. package/dist/components/inputs/grouped/PhoneField.vue.d.ts +0 -51
  118. package/dist/components/inputs/grouped/PhoneField.vue.d.ts.map +0 -1
  119. package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts +0 -47
  120. package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts.map +0 -1
  121. package/dist/components/listings/Base.vue.d.ts +0 -56
  122. package/dist/components/listings/Base.vue.d.ts.map +0 -1
  123. package/dist/components/listings/Event.vue.d.ts +0 -47
  124. package/dist/components/listings/Event.vue.d.ts.map +0 -1
  125. package/dist/components/listings/Hotel.vue.d.ts +0 -16
  126. package/dist/components/listings/Hotel.vue.d.ts.map +0 -1
  127. package/dist/components/listings/Template.vue.d.ts +0 -21
  128. package/dist/components/listings/Template.vue.d.ts.map +0 -1
  129. package/dist/components/side-panels/Base.vue.d.ts +0 -61
  130. package/dist/components/side-panels/Base.vue.d.ts.map +0 -1
  131. package/dist/components/side-panels/ListingInfo.vue.d.ts +0 -18
  132. package/dist/components/side-panels/ListingInfo.vue.d.ts.map +0 -1
  133. package/dist/components/side-panels/Template.vue.d.ts +0 -18
  134. package/dist/components/side-panels/Template.vue.d.ts.map +0 -1
  135. package/dist/components/side-panels/TermsOfService.vue.d.ts +0 -14
  136. package/dist/components/side-panels/TermsOfService.vue.d.ts.map +0 -1
  137. package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts +0 -33
  138. package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts.map +0 -1
  139. package/dist/components/skeletons/Field.vue.d.ts +0 -36
  140. package/dist/components/skeletons/Field.vue.d.ts.map +0 -1
  141. package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts +0 -2
  142. package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts.map +0 -1
  143. package/dist/components/skeletons/HotelSkeleton.vue.d.ts +0 -2
  144. package/dist/components/skeletons/HotelSkeleton.vue.d.ts.map +0 -1
  145. package/dist/components/skeletons/Listing.vue.d.ts +0 -2
  146. package/dist/components/skeletons/Listing.vue.d.ts.map +0 -1
  147. package/dist/components/skeletons/Sidebar.vue.d.ts +0 -2
  148. package/dist/components/skeletons/Sidebar.vue.d.ts.map +0 -1
  149. package/dist/components/skeletons/_.vue.d.ts +0 -36
  150. package/dist/components/skeletons/_.vue.d.ts.map +0 -1
  151. package/dist/components/views/CheckoutWindow.vue.d.ts +0 -2
  152. package/dist/components/views/CheckoutWindow.vue.d.ts.map +0 -1
  153. package/dist/components/views/TermsOfService.vue.d.ts +0 -2
  154. package/dist/components/views/TermsOfService.vue.d.ts.map +0 -1
  155. package/dist/components/views/ThankYou.vue.d.ts +0 -15
  156. package/dist/components/views/ThankYou.vue.d.ts.map +0 -1
  157. package/dist/entries/availability.d.ts +0 -5
  158. package/dist/entries/event.d.ts +0 -2
  159. package/dist/entries/gift-card-validation.d.ts +0 -5
  160. package/dist/entries/gift-card.d.ts +0 -5
  161. package/dist/entries/hotel.d.ts +0 -5
  162. package/dist/entries/navigation.d.ts +0 -1
  163. package/dist/entries/polyfill.d.ts +0 -0
  164. package/dist/event-jnP6wH4w.js +0 -358
  165. package/dist/event-jnP6wH4w.js.br +0 -0
  166. package/dist/event.d.ts +0 -3
  167. package/dist/gift-card-validation.d.ts +0 -3
  168. package/dist/gift-card.d.ts +0 -3
  169. package/dist/hotel.d.ts +0 -3
  170. package/dist/layouts/Availability.vue.d.ts +0 -25
  171. package/dist/layouts/Event.vue.d.ts +0 -18
  172. package/dist/layouts/GiftCard.vue.d.ts +0 -32
  173. package/dist/layouts/GiftCardValidation.vue.d.ts +0 -18
  174. package/dist/layouts/Hotel.vue.d.ts +0 -36
  175. package/dist/layouts/_.vue.d.ts +0 -39
  176. package/dist/navigation.d.ts +0 -1
  177. package/dist/navigation.js +0 -1
  178. package/dist/plugins/i18n.d.ts +0 -5
  179. package/dist/polyfill.d.ts +0 -1
  180. package/dist/store/alert.d.ts +0 -28
  181. package/dist/store/applyGiftCard.d.ts +0 -28
  182. package/dist/store/availability.d.ts +0 -40
  183. package/dist/store/event.d.ts +0 -683
  184. package/dist/store/giftCard.d.ts +0 -83
  185. package/dist/store/payment.d.ts +0 -139
  186. package/dist/store/recaptcha.d.ts +0 -28
  187. package/dist/store/tracking.d.ts +0 -57
  188. package/dist/store/utilities.d.ts +0 -350
  189. package/dist/types/index.d.ts +0 -976
package/dist/event.js CHANGED
@@ -1,557 +1,794 @@
1
- import { k as ge, F as he, b as ze, s as Y, c as ke, r as Qe, f as We, o as t, m as b, X as Ye, w as g, x as l, p as r, K as h, H as n, z as e, Y as He, Z as ie, l as i, $ as re, n as u, a0 as Je, L as $, a1 as Ke, _ as fe, B as Xe, a2 as Ze, J as w, a3 as V, a4 as D, a5 as ue, O as de, A as G, T as me, a6 as ce, a7 as je, a8 as x, M as pe, P as Ge, Q as xe, R as el, V as ll, U as nl, W as tl, a9 as al } from "./SelectField.vue_vue_type_style_index_0_lang-XwPp5AXD.js";
2
- import { B as ol, M as sl, R as il, T as rl, x as ul } from "./ThankYou-9pzt2SfJ.js";
3
- import { u as H } from "./event-jnP6wH4w.js";
4
- import { A as dl } from "./ActionField--byx0Lp1.js";
5
- import { P as ml, C as ve, a as cl } from "./CheckoutWindow-_ZUCAYgm.js";
6
- import { _ as pl } from "./DateField.vue_vue_type_style_index_0_lang-v-NT3HRG.js";
7
- import "./_commonjsHelpers-4t9S7M5p.js";
8
- import "./_-5uiOrU07.js";
9
- const vl = { class: "fresh-booking-event-listing-information" }, bl = { key: 0 }, gl = { key: 1 }, hl = /* @__PURE__ */ ge({
10
- __name: "Event",
1
+ import { d as j, r as Re, c as le, o as a, b as T, w as p, v as ne, u as e, g as t, f, a as m, e as h, t as o, B as Ue, C as Fe, A as z, F as B, x as M, S as qe, D as ge, i as he, p as ze, j as Ge, k as He } from "./tracing-Dm-FNj-F.js";
2
+ import { h as ae, a as je, s as Q, J as Ye, l as oe, C as me, K as Ze, _ as se, j as Ve, A as pe, M as Je, b as De, D as ke, N as ve, B as R, O as ye, P as Ke, T as ce, n as Qe, o as We, p as Xe, q as xe, H as et, t as tt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CyGcXPO9.js";
3
+ import { B as nt, R as ot, L as Pe, S as lt, M as at, C as st, T as it, V as rt, G as ut } from "./masonry.plugin-C4-Uj22v.js";
4
+ import { u as H, E as ct } from "./EventAvailabilityForm-DimufYUP.js";
5
+ import { _ as dt } from "./_.vue_vue_type_style_index_0_lang-BGyUJK1I.js";
6
+ import { t as G, e as mt, g as _e, m as $e, a as we, b as Ee, c as pt, d as Te } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-DrUxvwDd.js";
7
+ import { a as vt, P as ft, C as bt } from "./CheckoutWindow-DBBmXrsX.js";
8
+ import "./deep-link.js";
9
+ (function() {
10
+ try {
11
+ var c = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, n = new Error().stack;
12
+ n && (c._sentryDebugIds = c._sentryDebugIds || {}, c._sentryDebugIds[n] = "ca15b457-ec0e-48e0-a27a-9da133de93e8", c._sentryDebugIdIdentifier = "sentry-dbid-ca15b457-ec0e-48e0-a27a-9da133de93e8");
13
+ } catch {
14
+ }
15
+ })();
16
+ function gt(c, n) {
17
+ const i = G(c), d = G(n), l = i.getTime() - d.getTime();
18
+ return l < 0 ? -1 : l > 0 ? 1 : l;
19
+ }
20
+ function ht(c) {
21
+ return (n) => {
22
+ const d = (c ? Math[c] : Math.trunc)(n);
23
+ return d === 0 ? 0 : d;
24
+ };
25
+ }
26
+ function kt(c, n, i) {
27
+ const d = pt(), l = i?.locale ?? d.locale ?? mt, _ = gt(c, n);
28
+ if (isNaN(_))
29
+ throw new RangeError("Invalid time value");
30
+ const b = Object.assign({}, i, {
31
+ addSuffix: i?.addSuffix,
32
+ comparison: _
33
+ });
34
+ let $, u;
35
+ _ > 0 ? ($ = G(n), u = G(c)) : ($ = G(c), u = G(n));
36
+ const v = ht(i?.roundingMethod ?? "round"), k = u.getTime() - $.getTime(), y = k / Te, C = _e(u) - _e($), D = (k - C) / Te, P = i?.unit;
37
+ let s;
38
+ if (P ? s = P : y < 1 ? s = "second" : y < 60 ? s = "minute" : y < $e ? s = "hour" : D < we ? s = "day" : D < Ee ? s = "month" : s = "year", s === "second") {
39
+ const g = v(k / 1e3);
40
+ return l.formatDistance("xSeconds", g, b);
41
+ } else if (s === "minute") {
42
+ const g = v(y);
43
+ return l.formatDistance("xMinutes", g, b);
44
+ } else if (s === "hour") {
45
+ const g = v(y / 60);
46
+ return l.formatDistance("xHours", g, b);
47
+ } else if (s === "day") {
48
+ const g = v(D / $e);
49
+ return l.formatDistance("xDays", g, b);
50
+ } else if (s === "month") {
51
+ const g = v(D / we);
52
+ return g === 12 && P !== "month" ? l.formatDistance("xYears", 1, b) : l.formatDistance("xMonths", g, b);
53
+ } else {
54
+ const g = v(D / Ee);
55
+ return l.formatDistance("xYears", g, b);
56
+ }
57
+ }
58
+ const yt = { class: "konnectio-event-listing-action" }, _t = { class: "konnectio-event-listing-action-button" }, $t = /* @__PURE__ */ j({
59
+ __name: "_",
11
60
  props: {
12
61
  name: {},
13
- type: {},
14
62
  description: {},
15
- fromDate: {},
16
63
  toDate: {},
17
64
  listingId: {},
18
65
  tableGroupId: {},
19
66
  days: {},
67
+ length: {},
20
68
  timeFrom: {},
21
69
  timeTo: {},
22
70
  maxOnlineReservationLimit: {},
23
71
  minimumPersonCount: {},
24
- fromPrice: {},
72
+ maxGuests: { default: 1 / 0 },
73
+ fromPrice: { default: 0 },
25
74
  gallery: {},
26
75
  soldOut: { type: Boolean, default: !1 },
27
- layout: {},
76
+ type: {},
28
77
  trackingEnabled: { type: Boolean },
29
78
  callback: {}
30
79
  },
31
- setup(L) {
32
- const { t: a } = he(), v = L, { display: E } = ze(), { currency: I } = Y(ke()), {
33
- maxNumberOfPeople: B,
34
- numberOfPeople: J,
35
- eventId: C,
36
- tableGroupId: A
37
- } = Y(H()), {
38
- getTemplateAvailability: R,
39
- getEventAvailability: N,
40
- isEventListingLoading: O
41
- } = H(), P = Qe(0), z = We(() => O(v.listingId)), K = () => {
42
- P.value > 0 ? (C.value = v.listingId, J.value = P.value, R(v.callback)) : E({
80
+ setup(c) {
81
+ const { t: n } = ae(), i = c, { display: d } = je(), {
82
+ maxNumberOfPeople: l,
83
+ numberOfPeople: _,
84
+ eventId: b,
85
+ tableGroupId: $
86
+ } = Q(H()), {
87
+ getTemplateAvailability: u,
88
+ getEventAvailability: v,
89
+ isEventListingLoading: k
90
+ } = H(), y = Re(0), C = le(() => k(i.listingId)), D = () => {
91
+ y.value > 0 ? (b.value = i.listingId, _.value = y.value, u(i.callback)) : d({
43
92
  type: "error",
44
- message: a("alert.error.selectPeople")
93
+ message: n("alert.error.selectPeople")
45
94
  });
46
- }, k = () => {
47
- P.value > 0 ? (C.value = v.listingId, A.value = v.tableGroupId, J.value = P.value, N(v.callback)) : E({
95
+ }, P = () => {
96
+ y.value > 0 ? (b.value = i.listingId, $.value = i.tableGroupId, _.value = y.value, v(i.callback)) : d({
48
97
  type: "error",
49
- message: a("alert.error.selectPeople")
98
+ message: n("alert.error.selectPeople")
50
99
  });
51
100
  };
52
- return (s, f) => (t(), b(ol, {
101
+ return (s, g) => (a(), T(nt, {
102
+ type: "event",
53
103
  "listing-id": s.listingId,
54
104
  gallery: s.gallery,
55
105
  name: s.name,
56
106
  description: s.description,
57
- layout: e(Ke).Event
58
- }, Ye({
59
- action: g(() => [
60
- r(dl, {
61
- modelValue: P.value,
62
- "onUpdate:modelValue": f[0] || (f[0] = (U) => P.value = U),
63
- type: "number",
64
- label: e(a)("event.numberOfGuests"),
65
- buttonLabel: s.soldOut ? e(a)("event.soldOut") : e(a)("event.bookNowButton"),
66
- buttonDisabled: s.soldOut,
67
- "min-value": s.type === "event" ? 1 : s.minimumPersonCount,
68
- "max-value": s.type === "event" ? s.maxOnlineReservationLimit || 1 / 0 : e(B),
69
- "is-loading": z.value,
70
- "onUpdate:isLoading": f[1] || (f[1] = (U) => z.value = U),
71
- onAction: f[2] || (f[2] = (U) => s.type === "event" ? k() : K())
72
- }, null, 8, ["modelValue", "label", "buttonLabel", "buttonDisabled", "min-value", "max-value", "is-loading"])
107
+ "prices-from": s.fromPrice,
108
+ "to-date": s.toDate,
109
+ layout: e(Ze).Event
110
+ }, {
111
+ description: p(() => [
112
+ ne(s.$slots, "description", { maxNumberOfPeople: e(l) }, void 0, !0)
73
113
  ]),
74
- _: 2
75
- }, [
76
- s.type === "event" ? {
77
- name: "description",
78
- fn: g(() => [
79
- l("ul", vl, [
80
- l("li", null, [
81
- r(h, {
82
- icon: "calendar-range",
114
+ action: p(() => [
115
+ t("div", yt, [
116
+ f(oe, {
117
+ modelValue: y.value,
118
+ "onUpdate:modelValue": g[0] || (g[0] = (O) => y.value = O),
119
+ label: e(n)("event.numberOfGuests"),
120
+ icon: "users",
121
+ "icon-type": "fas",
122
+ "icon-placement": "label",
123
+ description: s.maxGuests <= 20 ? `${e(n)("general.availableFor")}: 1 - ${s.maxGuests} ${e(Ye)(e(n)("general.guests"))}` : void 0,
124
+ "min-value": s.type === "event" ? 0 : s.minimumPersonCount,
125
+ "max-value": s.type === "event" ? s.maxOnlineReservationLimit || 1 / 0 : e(l)
126
+ }, null, 8, ["modelValue", "label", "description", "min-value", "max-value"]),
127
+ t("div", _t, [
128
+ f(me, {
129
+ label: s.soldOut ? e(n)("event.soldOut") : e(n)("event.bookNowButton"),
130
+ disabled: s.soldOut,
131
+ "is-loading": C.value,
132
+ onClickEvent: g[1] || (g[1] = (O) => s.type === "event" ? P() : D())
133
+ }, null, 8, ["label", "disabled", "is-loading"])
134
+ ])
135
+ ])
136
+ ]),
137
+ _: 3
138
+ }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "layout"]));
139
+ }
140
+ }), Ae = /* @__PURE__ */ se($t, [["__scopeId", "data-v-38f9c15b"]]), wt = ["innerHTML"], Et = { class: "konnectio-event-listing-information-new" };
141
+ const Tt = { class: "konnectio-pill-button" }, Vt = { class: "konnectio-pill-button" }, Dt = /* @__PURE__ */ j({
142
+ __name: "Event",
143
+ props: {
144
+ name: {},
145
+ description: {},
146
+ fromDate: {},
147
+ toDate: {},
148
+ length: {},
149
+ timeFrom: {},
150
+ timeTo: {},
151
+ gallery: {},
152
+ days: {},
153
+ listingId: {},
154
+ tableGroupId: {},
155
+ maxOnlineReservationLimit: {},
156
+ minimumPersonCount: {},
157
+ fromPrice: { default: 0 },
158
+ image: {},
159
+ trackingEnabled: { type: Boolean },
160
+ callback: {}
161
+ },
162
+ setup(c) {
163
+ const n = c, { t: i } = ae(), d = le(() => {
164
+ const l = n.length.split(":");
165
+ return console.log(l), kt(
166
+ new Date(2e3, 0, 1, Number(l[0]), Number(l[1]), 0),
167
+ new Date(2e3, 0, 1, 0, 0, 0)
168
+ );
169
+ });
170
+ return (l, _) => (a(), T(Ae, {
171
+ "listing-id": l.listingId,
172
+ name: l.name,
173
+ description: l.description,
174
+ gallery: l.gallery,
175
+ "prices-from": l.fromPrice,
176
+ "table-group-id": l.tableGroupId,
177
+ "max-guests": l.maxOnlineReservationLimit,
178
+ "to-date": l.toDate,
179
+ type: "event",
180
+ callback: l.callback
181
+ }, {
182
+ description: p(() => [
183
+ l.description ? (a(), m("p", {
184
+ key: 0,
185
+ innerHTML: e(Ve)(l.description)
186
+ }, null, 8, wt)) : h("", !0),
187
+ t("ul", Et, [
188
+ h("", !0),
189
+ t("li", Tt, [
190
+ t("div", null, [
191
+ f(pe, {
192
+ icon: "calendar-clock",
83
193
  color: "header"
84
194
  }),
85
- l("span", null, n(e(He)(s.days)), 1)
195
+ t("span", null, o(e(i)("event.lengthOfEvent")), 1)
86
196
  ]),
87
- e(ie)(s.fromDate, s.toDate) < 180 ? (t(), i("li", bl, [
88
- r(h, {
89
- icon: "calendar-days",
90
- color: "header"
91
- }),
92
- l("span", null, n(e(re)(s.fromDate, s.toDate)), 1)
93
- ])) : u("", !0),
94
- l("li", null, [
95
- r(h, {
197
+ t("span", null, o(d.value), 1)
198
+ ]),
199
+ t("li", Vt, [
200
+ t("div", null, [
201
+ f(pe, {
96
202
  icon: "calendar-clock",
97
203
  color: "header"
98
204
  }),
99
- l("span", null, n(e(Je)(s.timeFrom, s.timeTo)), 1)
205
+ t("span", null, o(e(i)("event.startAndEndTime")), 1)
100
206
  ]),
101
- s.maxOnlineReservationLimit ? (t(), i("li", gl, [
102
- r(h, {
103
- icon: "user-alt",
104
- color: "header"
105
- }),
106
- l("span", null, n(`1 - ${s.maxOnlineReservationLimit} ${e(a)("general.people")}`), 1)
107
- ])) : u("", !0)
207
+ t("span", null, o(e(Je)(l.timeFrom, l.timeTo)), 1)
108
208
  ])
209
+ ])
210
+ ]),
211
+ _: 1
212
+ }, 8, ["listing-id", "name", "description", "gallery", "prices-from", "table-group-id", "max-guests", "to-date", "callback"]));
213
+ }
214
+ }), Pt = /* @__PURE__ */ se(Dt, [["__scopeId", "data-v-148bf11e"]]), At = ["innerHTML"], Ct = /* @__PURE__ */ j({
215
+ __name: "Template",
216
+ props: {
217
+ name: {},
218
+ description: {},
219
+ fromDate: {},
220
+ toDate: {},
221
+ listingId: {},
222
+ tableGroupId: {},
223
+ maxOnlineReservationLimit: {},
224
+ minimumPersonCount: {},
225
+ fromPrice: { default: 0 },
226
+ image: {},
227
+ trackingEnabled: { type: Boolean },
228
+ callback: {}
229
+ },
230
+ setup(c) {
231
+ const n = c, i = le(() => {
232
+ if (n.image)
233
+ return [{
234
+ large: n.image,
235
+ medium: n.image,
236
+ thumb: n.image,
237
+ url: n.image
238
+ }];
239
+ });
240
+ return (d, l) => (a(), T(Ae, {
241
+ "listing-id": d.listingId,
242
+ gallery: i.value,
243
+ name: d.name,
244
+ description: d.description,
245
+ "prices-from": d.fromPrice,
246
+ "to-date": d.toDate,
247
+ type: "template",
248
+ callback: d.callback
249
+ }, {
250
+ description: p(() => [
251
+ d.description ? (a(), m("p", {
252
+ key: 0,
253
+ innerHTML: e(Ve)(d.description)
254
+ }, null, 8, At)) : h("", !0)
255
+ ]),
256
+ _: 1
257
+ }, 8, ["listing-id", "gallery", "name", "description", "prices-from", "to-date", "callback"]));
258
+ }
259
+ }), Ot = { key: 0 }, Bt = { key: 1 }, St = { key: 2 }, Lt = { key: 3 }, It = { key: 4 }, Nt = { key: 5 }, Mt = { key: 0 }, de = /* @__PURE__ */ j({
260
+ __name: "EventReservationForm",
261
+ props: {
262
+ showGiftCard: { type: Boolean, default: !1 },
263
+ showTermsNotice: { type: Boolean, default: !1 }
264
+ },
265
+ setup(c) {
266
+ const { t: n } = ae(), i = Ue(), {
267
+ areListingsAvailable: d,
268
+ arrivalTime: l,
269
+ numberOfPeople: _,
270
+ numberOfRooms: b,
271
+ numberOfTotalDays: $,
272
+ isTemplateEvent: u,
273
+ length: v,
274
+ fromDate: k,
275
+ tableBasePrice: y,
276
+ getTemplateData: C,
277
+ basePrice: D,
278
+ totalPrice: P,
279
+ weekendFee: s,
280
+ roomUpgrade: g,
281
+ discountCode: O
282
+ } = Q(H()), { totalAddonPrice: W, validateDiscountCode: ie } = H(), { currency: X } = Q(De());
283
+ return (S, x) => (a(), T(ot, {
284
+ "discount-code": e(O),
285
+ "onUpdate:discountCode": x[0] || (x[0] = (F) => M(O) ? O.value = F : null),
286
+ "validate-discount-code": e(ie),
287
+ "show-gift-card": S.showGiftCard,
288
+ "show-terms-notice": S.showTermsNotice,
289
+ "is-sidebar-loading": !e(d),
290
+ "base-price": e(D),
291
+ "total-price": e(P),
292
+ "weekend-fee": e(s),
293
+ "room-upgrade": e(g),
294
+ notice: e(n)("hotel.reservationNotice")
295
+ }, Fe({
296
+ form: p(() => [
297
+ ne(S.$slots, "form")
298
+ ]),
299
+ "reservation-summary": p(() => [
300
+ e(u) ? (a(), m("li", Ot, [
301
+ t("span", null, o(e(n)("booking.reservation.arrival")), 1),
302
+ t("b", null, o(e(ke)(e(k))), 1)
303
+ ])) : h("", !0),
304
+ e(u) ? (a(), m("li", Bt, [
305
+ t("span", null, o(e(n)("booking.reservation.departure")), 1),
306
+ t("b", null, o(e(ke)(e(k), e($))), 1)
307
+ ])) : h("", !0),
308
+ t("li", null, [
309
+ t("span", null, o(e(n)("event.numberOfGuests")), 1),
310
+ t("b", null, o(e(_)), 1)
109
311
  ]),
110
- key: "0"
111
- } : {
112
- name: "description",
113
- fn: g(() => [
114
- l("ul", { class: "fresh-booking-event-listing-information" }, [
115
- e(ie)(s.fromDate, s.toDate) < 180 ? (t(), i("li", { key: 0 }, [
116
- r(h, {
117
- icon: "calendar-days",
118
- color: "header"
119
- }),
120
- l("span", null, n(e(re)(s.fromDate, s.toDate, !0)), 1)
121
- ])) : u("", !0),
122
- l("li", null, [
123
- r(h, {
124
- icon: "user-alt",
125
- color: "header"
126
- }),
127
- l("span", null, n(`${s.minimumPersonCount} - ${e(B)} ${e(a)("general.people")}`), 1)
128
- ]),
129
- l("li", null, [
130
- r(h, {
131
- icon: "money-bill",
132
- color: "header"
133
- }),
134
- l("span", null, n(`${e(a)("general.pricesFrom")} ${e($)(s.fromPrice, e(I))}`), 1)
135
- ])
136
- ])
312
+ e(u) ? (a(), m("li", St, [
313
+ t("span", null, o(e(n)("event.numberOfRooms")), 1),
314
+ t("b", null, o(e(b)), 1)
315
+ ])) : h("", !0),
316
+ e(u) ? (a(), m("li", Lt, [
317
+ t("span", null, o(e(n)("event.numberOfDays")), 1),
318
+ t("b", null, o(e($)), 1)
319
+ ])) : h("", !0),
320
+ !e(u) && e(l) ? (a(), m("li", It, [
321
+ t("span", null, o(e(n)("event.startOfEvent")), 1),
322
+ t("b", null, o(e(ve)(e(l))), 1)
323
+ ])) : h("", !0),
324
+ !e(u) && e(v) ? (a(), m("li", Nt, [
325
+ t("span", null, o(e(n)("event.lengthOfEvent")), 1),
326
+ t("b", null, o(e(ve)(e(v))), 1)
327
+ ])) : h("", !0)
328
+ ]),
329
+ "price-summary": p(() => [
330
+ !e(u) && e(y) > 0 ? (a(), m("li", Mt, [
331
+ t("span", null, o(e(n)("booking.availability.basePrice")), 1),
332
+ t("b", null, o(e(R)(e(y), e(X))), 1)
333
+ ])) : h("", !0),
334
+ e(C) ? (a(!0), m(B, { key: 1 }, z(e(C), ({ roomGroupId: F }, ee) => (a(), m("li", { key: F }, [
335
+ t("span", null, o(e(n)("booking.reservation.addons")) + " - " + o(e(n)("booking.reservation.room")) + " #" + o(ee + 1), 1),
336
+ t("b", null, o(e(R)(e(W)(F, ee), e(X))), 1)
337
+ ]))), 128)) : h("", !0)
338
+ ]),
339
+ navigation: p(() => [
340
+ ne(S.$slots, "navigation")
341
+ ]),
342
+ _: 2
343
+ }, [
344
+ e(i).sidebar ? {
345
+ name: "sidebar",
346
+ fn: p(() => [
347
+ ne(S.$slots, "sidebar")
137
348
  ]),
138
- key: "1"
139
- }
140
- ]), 1032, ["listing-id", "gallery", "name", "description", "layout"]));
349
+ key: "0"
350
+ } : void 0
351
+ ]), 1032, ["discount-code", "validate-discount-code", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "notice"]));
352
+ }
353
+ }), Rt = { class: "event-skeleton" }, Ut = { class: "event-skeleton-content" }, Ft = { class: "event-skeleton-sidebar" }, qt = /* @__PURE__ */ j({
354
+ __name: "EventSkeleton",
355
+ setup(c) {
356
+ return (n, i) => (a(), m("div", Rt, [
357
+ t("div", Ut, [
358
+ f(Pe)
359
+ ]),
360
+ t("div", Ft, [
361
+ h("", !0),
362
+ f(lt)
363
+ ])
364
+ ]));
141
365
  }
142
- }), be = /* @__PURE__ */ fe(hl, [["__scopeId", "data-v-013d2269"]]), F = (L) => (xe("data-v-b2eee97d"), L = L(), el(), L), kl = { class: "fresh-booking-panel" }, fl = {
366
+ }), zt = /* @__PURE__ */ se(qt, [["__scopeId", "data-v-3e15c4e3"]]), U = (c) => (ze("data-v-3e230178"), c = c(), Ge(), c), Gt = {
143
367
  key: 0,
144
- id: "fresh-booking-event-overview"
145
- }, yl = { class: "fresh-booking-event-listings" }, _l = { class: "fresh-booking-event-listings" }, Vl = {
146
- key: 2,
368
+ id: "konnectio-event-listings-wrapper"
369
+ };
370
+ const Ht = { class: "konnectio-event-listings" };
371
+ const jt = { class: "konnectio-event-listings" }, Yt = { class: "konnectio-panel" }, Zt = {
372
+ key: 1,
147
373
  id: "fresh-booking-event-addons"
148
- }, Pl = { class: "fresh-booking-table" }, Tl = /* @__PURE__ */ F(() => /* @__PURE__ */ l("th", { class: "fresh-booking-event-addons-input" }, null, -1)), $l = { class: "fresh-booking-event-addons-price" }, El = /* @__PURE__ */ F(() => /* @__PURE__ */ l("br", null, null, -1)), Ol = { class: "fresh-booking-event-addons-input" }, wl = { class: "fresh-booking-event-addons-price" }, Dl = /* @__PURE__ */ F(() => /* @__PURE__ */ l("td", { colspan: "2" }, null, -1)), Ll = { class: "fresh-booking-event-addons-price" }, Bl = { key: 3 }, Cl = { class: "fresh-booking-label required" }, Ul = { id: "fresh-booking-event-table" }, Fl = { key: 4 }, Al = { class: "fresh-booking-label required" }, Rl = { class: "fresh-booking-table" }, Nl = /* @__PURE__ */ F(() => /* @__PURE__ */ l("th", { class: "fresh-booking-event-addons-input" }, null, -1)), Sl = { class: "fresh-booking-event-addons-price" }, Ml = /* @__PURE__ */ F(() => /* @__PURE__ */ l("br", null, null, -1)), ql = /* @__PURE__ */ F(() => /* @__PURE__ */ l("br", null, null, -1)), Il = { class: "fresh-booking-event-addons-input" }, zl = { class: "fresh-booking-event-addons-price" }, Ql = { key: 0 }, Wl = { key: 1 }, Yl = { key: 2 }, Hl = { key: 3 }, Jl = { key: 4 }, Kl = { key: 5 }, Xl = { key: 6 }, Zl = /* @__PURE__ */ ge({
374
+ }, Jt = { class: "konnectio-table with-lines" }, Kt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), Qt = { class: "konnectio-event-addons-price" }, Wt = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), Xt = { class: "konnectio-event-addons-input" }, xt = { class: "konnectio-event-addons-price" }, en = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), tn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("td", null, null, -1)), nn = { class: "konnectio-event-addons-price" }, on = { key: 2 };
375
+ const ln = { key: 3 }, an = { class: "konnectio-label required" }, sn = { class: "konnectio-table with-lines" }, rn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("th", { class: "konnectio-event-addons-input" }, null, -1)), un = { class: "konnectio-event-addons-price" }, cn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), dn = /* @__PURE__ */ U(() => /* @__PURE__ */ t("br", null, null, -1)), mn = { class: "konnectio-event-addons-input" }, pn = { class: "konnectio-event-addons-price" }, vn = ["onClick"], fn = { class: "konnectio-panel" }, bn = ["onClick"], gn = /* @__PURE__ */ j({
149
376
  name: "EventLayout",
150
377
  __name: "Event",
151
378
  props: {
152
379
  accessToken: {},
380
+ onlyShow: { default: "everything" },
153
381
  styling: {}
154
382
  },
155
- setup(L) {
156
- const { t: a } = he(), {
157
- searchDate: v,
158
- addons: E,
159
- products: I,
160
- numberOfDays: B,
161
- discountCode: J,
162
- name: C,
163
- phone: A,
164
- email: R,
165
- remark: N,
166
- arrivalTime: O,
167
- title: P,
168
- subtitle: z,
169
- slideshow: K,
170
- currency: k,
171
- numberOfPeople: s,
172
- numberOfTotalDays: f,
173
- numberOfRooms: U,
174
- basePrice: ye,
175
- totalPrice: _e,
176
- isPaymentLoading: Ve,
177
- hasEvents: Pe,
178
- hasTemplates: Te,
179
- getEvents: $e,
180
- getTemplates: Ee,
181
- getEventData: Oe,
182
- getTemplateData: Q,
183
- getEventTableData: we,
184
- length: ee,
185
- roomUpgrade: De,
186
- weekendFee: Le,
187
- fromDate: le,
188
- hasProducts: Be,
189
- eventRateType: ne,
190
- isMetaDataAvailable: Ce,
191
- areListingsAvailable: Ue,
192
- isReservationFormFilled: Fe,
193
- isAvailabilityDataAvailable: Ae,
194
- // getEventImages,
195
- isTemplateEvent: T,
196
- tableBasePrice: te
197
- } = Y(H()), {
198
- initialize: Re,
199
- validateDiscountCode: xl,
200
- fetchListings: Ne,
201
- createBooking: Se,
202
- localAddonPrice: ae,
203
- totalAddonPrice: oe,
204
- reset: Me
205
- } = H(), {
206
- hideEvents: qe,
207
- hideEventTemplates: Ie
208
- } = Y(ke());
209
- return Xe(() => Re()), Ze(v, () => Ne()), (se, d) => (t(), b(Ge, {
210
- id: "fresh-booking-event-module",
211
- class: "fresh-booking-app",
212
- type: "event",
213
- "access-token": se.accessToken,
214
- styling: se.styling
215
- }, {
216
- default: g(() => [
217
- e(Ce) ? (t(), b(sl, {
218
- key: 0,
219
- slideshow: e(K),
220
- title: e(P),
221
- subtitle: e(z)
222
- }, {
223
- availability: g(({ next: W }) => [
224
- l("div", kl, [
225
- r(pl, {
226
- modelValue: e(v),
227
- "onUpdate:modelValue": d[0] || (d[0] = (y) => w(v) ? v.value = y : null),
228
- label: e(a)("event.selectDate"),
229
- "min-date": /* @__PURE__ */ new Date()
230
- }, null, 8, ["modelValue", "label", "min-date"])
231
- ]),
232
- e(Ue) ? (t(), i("div", fl, [
233
- e(Pe) && !e(qe) ? (t(), i(V, { key: 0 }, [
234
- l("h2", null, [
235
- r(h, {
236
- icon: "clock-seven",
237
- type: "fal",
238
- color: "header"
239
- }),
240
- l("span", null, n(e(a)("event.eventsTitle")), 1)
241
- ]),
242
- l("ul", yl, [
243
- (t(!0), i(V, null, D(e($e), ({
244
- id: y,
245
- days: o,
246
- name: c,
247
- timeFrom: _,
248
- timeTo: m,
249
- fromDate: p,
250
- toDate: S,
251
- tableGroupID: X,
252
- description: Z,
253
- soldOut: j,
254
- maxOnlineReservationLimit: M
255
- }) => (t(), b(be, {
256
- key: y,
257
- type: "event",
258
- "listing-id": y,
259
- "table-group-id": X,
260
- description: Z,
261
- name: c,
262
- days: o,
263
- "from-date": p,
264
- "to-date": S,
265
- "max-online-reservation-limit": M,
266
- "time-from": _,
267
- "time-to": m,
268
- "sold-out": j,
269
- callback: W
270
- }, null, 8, ["listing-id", "table-group-id", "description", "name", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "callback"]))), 128))
271
- ])
272
- ], 64)) : u("", !0),
273
- e(Te) && !e(Ie) ? (t(), i(V, { key: 1 }, [
274
- l("h2", null, [
275
- r(h, {
276
- icon: "stars",
277
- type: "fal",
278
- color: "header"
279
- }),
280
- l("span", null, n(e(a)("event.stayTitle")), 1)
281
- ]),
282
- l("ul", _l, [
283
- (t(!0), i(V, null, D(e(Ee), ({
284
- id: y,
285
- name: o,
286
- fromDate: c,
287
- toDate: _,
288
- minimumPersonCount: m,
289
- fromPrice: p,
290
- description: S
291
- }) => (t(), b(be, {
292
- key: y,
293
- type: "template",
294
- "listing-id": y,
295
- name: o,
296
- description: S,
297
- "from-date": c,
298
- "to-date": _,
299
- "minimum-person-count": m,
300
- fromPrice: p,
301
- callback: W
302
- }, null, 8, ["listing-id", "name", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
303
- ])
304
- ], 64)) : u("", !0)
305
- ])) : (t(), b(ue, { key: 1 }))
306
- ]),
307
- reservation: g(({ next: W, prev: y }) => [
308
- e(Ae) ? (t(), b(il, {
309
- key: 0,
310
- remark: e(N),
311
- "onUpdate:remark": d[8] || (d[8] = (o) => w(N) ? N.value = o : null),
312
- "is-filled": e(Fe),
313
- "is-loading": e(Ve),
314
- "base-price": e(ye),
315
- "total-price": e(_e),
316
- "weekend-fee": e(Le),
317
- "room-upgrade": e(De),
318
- onPrev: (o) => e(Me)(y),
319
- onNext: (o) => e(Se)(W)
383
+ setup(c) {
384
+ const { t: n } = ae(), {
385
+ addons: i,
386
+ products: d,
387
+ numberOfDays: l,
388
+ name: _,
389
+ phone: b,
390
+ email: $,
391
+ remark: u,
392
+ arrivalTime: v,
393
+ hasEvents: k,
394
+ hasTemplates: y,
395
+ getEvents: C,
396
+ getTemplates: D,
397
+ getEventData: P,
398
+ getTemplateData: s,
399
+ getEventTableData: g,
400
+ hasProducts: O,
401
+ eventRateType: W,
402
+ areListingsAvailable: ie,
403
+ isAvailabilityDataAvailable: X,
404
+ isTemplateEvent: S,
405
+ hasListingData: x,
406
+ isPaymentLoading: F,
407
+ isReservationFormFilled: ee
408
+ } = Q(H()), {
409
+ initialize: Ce,
410
+ fetchListings: Oe,
411
+ createBooking: Be,
412
+ localAddonPrice: fe,
413
+ totalAddonPrice: Se,
414
+ reset: be
415
+ } = H(), { currency: Y } = Q(De()), Le = le(() => {
416
+ const L = [];
417
+ return g.value && g.value.forEach((w) => {
418
+ L.push({
419
+ label: ve(w.time),
420
+ value: w.time
421
+ });
422
+ }), L;
423
+ });
424
+ function Ie() {
425
+ Oe();
426
+ }
427
+ return (L, w) => (a(), T(Qe, { styling: L.styling }, {
428
+ default: p(() => [
429
+ (a(), T(qe, { onResolve: Ie }, {
430
+ default: p(() => [
431
+ f(dt, {
432
+ id: "konnectio-event-module",
433
+ "access-token": L.accessToken,
434
+ callback: e(Ce)
320
435
  }, {
321
- form: g(() => [
322
- e(ne) === e(de).FullDayEvent ? (t(), b(G, {
323
- key: 0,
324
- modelValue: e(B),
325
- "onUpdate:modelValue": d[1] || (d[1] = (o) => w(B) ? B.value = o : null),
326
- label: e(a)("event.numberOfDays"),
327
- "min-value": 1,
328
- required: ""
329
- }, null, 8, ["modelValue", "label"])) : u("", !0),
330
- r(me, {
331
- modelValue: e(C),
332
- "onUpdate:modelValue": d[2] || (d[2] = (o) => w(C) ? C.value = o : null),
333
- type: "text",
334
- label: e(a)("booking.reservation.name"),
335
- icon: "user-alt",
336
- placeholder: e(a)("booking.reservation.namePlaceholder"),
337
- required: ""
338
- }, null, 8, ["modelValue", "label", "placeholder"]),
339
- r(me, {
340
- modelValue: e(R),
341
- "onUpdate:modelValue": d[3] || (d[3] = (o) => w(R) ? R.value = o : null),
342
- label: e(a)("booking.reservation.email"),
343
- type: "email",
344
- name: "email",
345
- autocomplete: "email",
346
- icon: "at",
347
- placeholder: e(a)("booking.reservation.emailPlaceholder"),
348
- required: ""
349
- }, null, 8, ["modelValue", "label", "placeholder"]),
350
- r(ml, {
351
- modelValue: e(A),
352
- "onUpdate:modelValue": d[4] || (d[4] = (o) => w(A) ? A.value = o : null),
353
- label: e(a)("booking.reservation.phone"),
354
- icon: "phone-office",
355
- placeholder: e(a)("booking.reservation.phonePlaceholder"),
356
- required: ""
357
- }, null, 8, ["modelValue", "label", "placeholder"]),
358
- u("", !0),
359
- e(Q) && e(Q).length > 0 ? (t(), i("ul", Vl, [
360
- (t(!0), i(V, null, D(e(Q), ({
361
- roomGroupID: o,
362
- addons: c,
363
- adultPerRoom: _
364
- }, m) => (t(), i("li", { key: o }, [
365
- l("h5", null, [
366
- l("span", null, n(e(a)("booking.reservation.room")) + " #" + n(m + 1), 1),
367
- ce(" ("),
368
- r(h, {
369
- icon: "male",
370
- type: "fas",
371
- color: "header"
372
- }),
373
- ce(" " + n(_) + ") ", 1)
374
- ]),
375
- l("table", Pl, [
376
- l("thead", null, [
377
- l("tr", null, [
378
- l("th", null, [
379
- l("span", null, n(e(a)("booking.reservation.addons")), 1)
380
- ]),
381
- Tl,
382
- l("th", $l, [
383
- l("span", null, n(e(a)("booking.availability.price")), 1)
384
- ])
385
- ])
436
+ default: p(() => [
437
+ f(at, null, {
438
+ availability: p(({ next: q }) => [
439
+ f(de, null, {
440
+ sidebar: p(() => [
441
+ f(ct, { redirection: !1 })
386
442
  ]),
387
- l("tbody", null, [
388
- (t(!0), i(V, null, D(c, ({
389
- addonID: p,
390
- cardinality: S,
391
- name: X,
392
- price: Z,
393
- quantityStrategy: j
394
- }) => (t(), i("tr", { key: p }, [
395
- l("td", null, [
396
- l("b", null, n(X), 1),
397
- El,
398
- l("span", null, n(e($)(Z, e(k))) + " " + n(e(je)(j)), 1)
399
- ]),
400
- l("td", Ol, [
401
- S === 3 ? (t(), b(G, {
402
- key: 0,
403
- modelValue: e(E)[`${o}.${p}.${m}`],
404
- "onUpdate:modelValue": (M) => e(E)[`${o}.${p}.${m}`] = M,
405
- small: !0,
406
- "min-value": 0
407
- }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (t(), b(ve, {
408
- key: 1,
409
- modelValue: e(E)[`${o}.${p}.${m}`],
410
- "onUpdate:modelValue": (M) => e(E)[`${o}.${p}.${m}`] = M,
411
- numeric: !0
412
- }, null, 8, ["modelValue", "onUpdate:modelValue"]))
413
- ]),
414
- l("td", wl, [
415
- l("span", null, n(e($)(e(ae)(p, o, m), e(k))), 1)
416
- ])
417
- ]))), 128))
443
+ form: p(() => [
444
+ e(x) && e(ie) ? (a(), m("div", Gt, [
445
+ e(k) && L.onlyShow !== "templates" ? (a(), m(B, { key: 0 }, [
446
+ h("", !0),
447
+ t("ul", Ht, [
448
+ (a(!0), m(B, null, z(e(C), ({
449
+ id: A,
450
+ days: r,
451
+ name: I,
452
+ timeFrom: N,
453
+ timeTo: E,
454
+ fromDate: V,
455
+ toDate: Z,
456
+ tableGroupId: J,
457
+ description: re,
458
+ soldOut: ue,
459
+ length: K,
460
+ images: Ne,
461
+ maxOnlineReservationLimit: Me
462
+ }) => (a(), T(Pt, {
463
+ key: A,
464
+ type: "event",
465
+ "listing-id": A,
466
+ "table-group-id": J,
467
+ description: re,
468
+ name: I,
469
+ length: K,
470
+ gallery: Ne,
471
+ days: r,
472
+ "from-date": V,
473
+ "to-date": Z,
474
+ "max-online-reservation-limit": Me,
475
+ "time-from": N,
476
+ "time-to": E,
477
+ "sold-out": ue,
478
+ callback: q
479
+ }, 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", "callback"]))), 128))
480
+ ])
481
+ ], 64)) : h("", !0),
482
+ e(y) && L.onlyShow !== "events" ? (a(), m(B, { key: 1 }, [
483
+ h("", !0),
484
+ t("ul", jt, [
485
+ (a(!0), m(B, null, z(e(D), ({
486
+ id: A,
487
+ name: r,
488
+ fromDate: I,
489
+ toDate: N,
490
+ minimumPersonCount: E,
491
+ fromPrice: V,
492
+ description: Z,
493
+ imageUrl: J
494
+ }) => (a(), T(Ct, {
495
+ key: A,
496
+ "listing-id": A,
497
+ name: r,
498
+ image: J,
499
+ description: Z,
500
+ "from-date": I,
501
+ "to-date": N,
502
+ "minimum-person-count": E,
503
+ fromPrice: V,
504
+ callback: q
505
+ }, null, 8, ["listing-id", "name", "image", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
506
+ ])
507
+ ], 64)) : h("", !0)
508
+ ])) : (a(), T(Pe, { key: 1 }))
418
509
  ]),
419
- l("tfoot", null, [
420
- l("tr", null, [
421
- Dl,
422
- l("td", Ll, [
423
- l("u", null, [
424
- l("span", null, n(e($)(e(oe)(o, m), e(k))), 1)
510
+ _: 2
511
+ }, 1024)
512
+ ]),
513
+ addons: p(({ next: q, prev: A }) => [
514
+ e(X) ? (a(), T(de, { key: 0 }, {
515
+ form: p(() => [
516
+ t("form", Yt, [
517
+ t("h2", null, [
518
+ t("span", null, o(e(n)("booking.reservation.addons")), 1)
519
+ ]),
520
+ e(W) === e(ye).FullDayEvent ? (a(), T(oe, {
521
+ key: 0,
522
+ modelValue: e(l),
523
+ "onUpdate:modelValue": w[0] || (w[0] = (r) => M(l) ? l.value = r : null),
524
+ label: e(n)("event.numberOfDays"),
525
+ "min-value": 1,
526
+ required: ""
527
+ }, null, 8, ["modelValue", "label"])) : h("", !0),
528
+ e(s) && e(s).length > 0 ? (a(), m("ul", Zt, [
529
+ (a(!0), m(B, null, z(e(s), ({
530
+ roomGroupId: r,
531
+ addons: I,
532
+ adultPerRoom: N
533
+ }, E) => (a(), m("li", { key: r }, [
534
+ t("h5", null, [
535
+ t("span", null, o(e(n)("booking.reservation.room")) + " #" + o(E + 1), 1),
536
+ ge(" ("),
537
+ f(pe, {
538
+ icon: "male",
539
+ type: "fas",
540
+ color: "header"
541
+ }),
542
+ ge(" " + o(N) + ") ", 1)
543
+ ]),
544
+ t("table", Jt, [
545
+ t("thead", null, [
546
+ t("tr", null, [
547
+ t("th", null, [
548
+ t("span", null, o(e(n)("booking.reservation.addons")), 1)
549
+ ]),
550
+ Kt,
551
+ t("th", Qt, [
552
+ t("span", null, o(e(n)("booking.availability.price")), 1)
553
+ ])
554
+ ])
555
+ ]),
556
+ t("tbody", null, [
557
+ (a(!0), m(B, null, z(I, ({
558
+ id: V,
559
+ cardinality: Z,
560
+ name: J,
561
+ price: re,
562
+ quantityStrategy: ue
563
+ }) => (a(), m("tr", { key: V }, [
564
+ t("td", null, [
565
+ t("b", null, o(J), 1),
566
+ Wt,
567
+ t("span", null, o(e(R)(re, e(Y))) + " " + o(e(Ke)(ue)), 1)
568
+ ]),
569
+ t("td", Xt, [
570
+ Z === 3 ? (a(), T(oe, {
571
+ key: 0,
572
+ modelValue: e(i)[`${r}.${V}.${E}`],
573
+ "onUpdate:modelValue": (K) => e(i)[`${r}.${V}.${E}`] = K,
574
+ small: !0,
575
+ "min-value": 0
576
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), T(vt, {
577
+ key: 1,
578
+ modelValue: e(i)[`${r}.${V}.${E}`],
579
+ "onUpdate:modelValue": (K) => e(i)[`${r}.${V}.${E}`] = K,
580
+ numeric: !0
581
+ }, null, 8, ["modelValue", "onUpdate:modelValue"]))
582
+ ]),
583
+ t("td", xt, [
584
+ t("span", null, o(e(R)(e(fe)(V, r, E), e(Y))), 1)
585
+ ])
586
+ ]))), 128))
587
+ ]),
588
+ t("tfoot", null, [
589
+ t("tr", null, [
590
+ en,
591
+ tn,
592
+ t("td", nn, [
593
+ t("u", null, [
594
+ t("span", null, o(e(R)(e(Se)(r, E), e(Y))), 1)
595
+ ])
596
+ ])
597
+ ])
598
+ ])
599
+ ])
600
+ ]))), 128))
601
+ ])) : h("", !0),
602
+ e(W) !== e(ye).FullDayEvent && !e(S) ? (a(), m("div", on, [
603
+ h("", !0),
604
+ f(st, {
605
+ modelValue: e(v),
606
+ "onUpdate:modelValue": w[1] || (w[1] = (r) => M(v) ? v.value = r : null),
607
+ label: e(n)("event.selectArrivalTime"),
608
+ name: "eventTimeTable",
609
+ checkboxes: Le.value,
610
+ required: ""
611
+ }, null, 8, ["modelValue", "label", "checkboxes"])
612
+ ])) : h("", !0),
613
+ e(O) ? (a(), m("div", ln, [
614
+ t("label", an, [
615
+ t("span", null, o(e(n)("event.selectProducts")), 1)
616
+ ]),
617
+ t("table", sn, [
618
+ t("thead", null, [
619
+ t("tr", null, [
620
+ t("th", null, [
621
+ t("span", null, o(e(n)("booking.reservation.addons")), 1)
622
+ ]),
623
+ rn,
624
+ t("th", un, [
625
+ t("span", null, o(e(n)("booking.availability.price")), 1)
626
+ ])
627
+ ])
628
+ ]),
629
+ t("tbody", null, [
630
+ (a(!0), m(B, null, z(e(P).products, ({ productID: r, productName: I, price: N, description: E }) => (a(), m("tr", { key: r }, [
631
+ t("td", null, [
632
+ t("b", null, [
633
+ t("span", null, o(I), 1)
634
+ ]),
635
+ cn,
636
+ t("span", null, o(E), 1),
637
+ dn,
638
+ t("span", null, o(e(R)(N, e(Y))), 1)
639
+ ]),
640
+ t("td", mn, [
641
+ f(oe, {
642
+ modelValue: e(d)[r],
643
+ "onUpdate:modelValue": (V) => e(d)[r] = V,
644
+ small: !0,
645
+ "min-value": 0
646
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])
647
+ ]),
648
+ t("td", pn, [
649
+ t("span", null, o(e(R)(e(fe)(r), e(Y))), 1)
650
+ ])
651
+ ]))), 128))
652
+ ])
425
653
  ])
426
- ])
654
+ ])) : h("", !0)
427
655
  ])
428
- ])
429
- ])
430
- ]))), 128))
431
- ])) : u("", !0),
432
- e(ne) !== e(de).FullDayEvent && !e(T) ? (t(), i("div", Bl, [
433
- l("label", Cl, [
434
- l("span", null, n(e(a)("event.selectArrivalTime")), 1)
435
- ]),
436
- l("ul", Ul, [
437
- (t(!0), i(V, null, D(e(we), (o, c) => (t(), i("li", { key: c }, [
438
- r(ve, {
439
- modelValue: e(O),
440
- "onUpdate:modelValue": d[7] || (d[7] = (_) => w(O) ? O.value = _ : null),
441
- type: "radio",
442
- name: "eventTimeTable",
443
- val: o.time,
444
- label: e(x)(o.time)
445
- }, null, 8, ["modelValue", "val", "label"])
446
- ]))), 128))
447
- ])
448
- ])) : u("", !0),
449
- e(Be) ? (t(), i("div", Fl, [
450
- l("label", Al, [
451
- l("span", null, n(e(a)("event.selectProducts")), 1)
656
+ ]),
657
+ navigation: p(() => [
658
+ f(me, {
659
+ label: e(n)("general.startReservation"),
660
+ "full-width": "",
661
+ onClickEvent: q
662
+ }, null, 8, ["label", "onClickEvent"]),
663
+ t("button", {
664
+ class: "konnectio-abort-reservation link",
665
+ onClick: he((r) => e(be)(A), ["prevent"])
666
+ }, [
667
+ t("span", null, o(e(n)("general.goAStepBack")), 1)
668
+ ], 8, vn)
669
+ ]),
670
+ _: 2
671
+ }, 1024)) : h("", !0)
452
672
  ]),
453
- l("table", Rl, [
454
- l("thead", null, [
455
- l("tr", null, [
456
- l("th", null, [
457
- l("span", null, n(e(a)("booking.reservation.addons")), 1)
458
- ]),
459
- Nl,
460
- l("th", Sl, [
461
- l("span", null, n(e(a)("booking.availability.price")), 1)
462
- ])
463
- ])
464
- ]),
465
- l("tbody", null, [
466
- (t(!0), i(V, null, D(e(Oe).products, ({ productID: o, productName: c, price: _, description: m }) => (t(), i("tr", { key: o }, [
467
- l("td", null, [
468
- l("b", null, [
469
- l("span", null, n(c), 1)
673
+ reservation: p(({ next: q, prev: A }) => [
674
+ f(de, {
675
+ "show-terms-notice": !0,
676
+ "show-gift-card": !0
677
+ }, {
678
+ form: p(() => [
679
+ t("form", fn, [
680
+ t("h2", null, [
681
+ t("span", null, o(e(n)("booking.reservation.detailsTitle")), 1)
470
682
  ]),
471
- Ml,
472
- l("span", null, n(m), 1),
473
- ql,
474
- l("span", null, n(e($)(_, e(k))), 1)
475
- ]),
476
- l("td", Il, [
477
- r(G, {
478
- modelValue: e(I)[o],
479
- "onUpdate:modelValue": (p) => e(I)[o] = p,
480
- small: !0,
481
- "min-value": 0
482
- }, null, 8, ["modelValue", "onUpdate:modelValue"])
483
- ]),
484
- l("td", zl, [
485
- l("span", null, n(e($)(e(ae)(o), e(k))), 1)
683
+ f(ce, {
684
+ modelValue: e(_),
685
+ "onUpdate:modelValue": w[2] || (w[2] = (r) => M(_) ? _.value = r : null),
686
+ type: "text",
687
+ label: e(n)("booking.reservation.name"),
688
+ icon: "user-alt",
689
+ placeholder: e(n)("booking.reservation.namePlaceholder"),
690
+ required: ""
691
+ }, null, 8, ["modelValue", "label", "placeholder"]),
692
+ f(ce, {
693
+ modelValue: e($),
694
+ "onUpdate:modelValue": w[3] || (w[3] = (r) => M($) ? $.value = r : null),
695
+ label: e(n)("booking.reservation.email"),
696
+ type: "email",
697
+ name: "email",
698
+ autocomplete: "email",
699
+ icon: "at",
700
+ placeholder: e(n)("booking.reservation.emailPlaceholder"),
701
+ required: ""
702
+ }, null, 8, ["modelValue", "label", "placeholder"]),
703
+ f(ft, {
704
+ modelValue: e(b),
705
+ "onUpdate:modelValue": w[4] || (w[4] = (r) => M(b) ? b.value = r : null),
706
+ label: e(n)("booking.reservation.phone"),
707
+ icon: "phone-office",
708
+ placeholder: e(n)("booking.reservation.phonePlaceholder"),
709
+ required: ""
710
+ }, null, 8, ["modelValue", "label", "placeholder"]),
711
+ f(ce, {
712
+ modelValue: e(u),
713
+ "onUpdate:modelValue": w[5] || (w[5] = (r) => M(u) ? u.value = r : null),
714
+ type: "textarea",
715
+ label: `${e(n)("booking.reservation.remark")} (${e(n)("booking.reservation.optional")})`,
716
+ icon: "info-circle",
717
+ placeholder: e(n)("booking.reservation.remarkPlaceholder")
718
+ }, null, 8, ["modelValue", "label", "placeholder"])
486
719
  ])
487
- ]))), 128))
488
- ])
489
- ])
490
- ])) : u("", !0)
491
- ]),
492
- resume: g(() => [
493
- l("li", null, [
494
- l("span", null, n(e(a)("event.numberOfGuests")), 1),
495
- l("b", null, n(e(s)), 1)
496
- ]),
497
- e(T) ? (t(), i("li", Ql, [
498
- l("span", null, n(e(a)("event.numberOfRooms")), 1),
499
- l("b", null, n(e(U)), 1)
500
- ])) : u("", !0),
501
- e(T) ? (t(), i("li", Wl, [
502
- l("span", null, n(e(a)("event.numberOfDays")), 1),
503
- l("b", null, n(e(f)), 1)
504
- ])) : u("", !0),
505
- e(T) ? (t(), i("li", Yl, [
506
- l("span", null, n(e(a)("booking.reservation.arrival")), 1),
507
- l("b", null, n(e(pe)(e(le))), 1)
508
- ])) : u("", !0),
509
- e(T) ? (t(), i("li", Hl, [
510
- l("span", null, n(e(a)("booking.reservation.departure")), 1),
511
- l("b", null, n(e(pe)(e(le), e(f))), 1)
512
- ])) : u("", !0),
513
- !e(T) && e(O) ? (t(), i("li", Jl, [
514
- l("span", null, n(e(a)("event.startOfEvent")), 1),
515
- l("b", null, n(e(x)(e(O))), 1)
516
- ])) : u("", !0),
517
- !e(T) && e(ee) ? (t(), i("li", Kl, [
518
- l("span", null, n(e(a)("event.lengthOfEvent")), 1),
519
- l("b", null, n(e(x)(e(ee))), 1)
520
- ])) : u("", !0),
521
- !e(T) && e(te) > 0 ? (t(), i("li", Xl, [
522
- l("span", null, n(e(a)("booking.availability.basePrice")), 1),
523
- l("b", null, n(e($)(e(te), e(k))), 1)
524
- ])) : u("", !0)
525
- ]),
526
- expenses: g(() => [
527
- (t(!0), i(V, null, D(e(Q), ({ roomGroupID: o }, c) => (t(), i("li", { key: o }, [
528
- l("span", null, n(e(a)("booking.reservation.addons")) + " - " + n(e(a)("booking.reservation.room")) + " #" + n(c + 1), 1),
529
- l("b", null, n(e($)(e(oe)(o, c), e(k))), 1)
530
- ]))), 128))
720
+ ]),
721
+ navigation: p(() => [
722
+ f(me, {
723
+ label: e(n)("general.confirmReservation"),
724
+ "is-loading": e(F),
725
+ disabled: !e(ee),
726
+ "full-width": "",
727
+ onClickEvent: (r) => e(Be)(q)
728
+ }, null, 8, ["label", "is-loading", "disabled", "onClickEvent"]),
729
+ t("button", {
730
+ class: "konnectio-abort-reservation link",
731
+ onClick: he((r) => e(be)(A), ["prevent"])
732
+ }, [
733
+ t("span", null, o(e(n)("general.goAStepBack")), 1)
734
+ ], 8, bn)
735
+ ]),
736
+ _: 2
737
+ }, 1024)
738
+ ]),
739
+ payment: p(() => [
740
+ f(bt)
741
+ ]),
742
+ confirmation: p(() => [
743
+ f(it, {
744
+ message: e(n)("event.confirmationMessage")
745
+ }, null, 8, ["message"])
746
+ ]),
747
+ _: 1
748
+ })
531
749
  ]),
532
- _: 2
533
- }, 1032, ["remark", "is-filled", "is-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "onPrev", "onNext"])) : u("", !0)
534
- ]),
535
- payment: g(() => [
536
- r(cl)
750
+ _: 1
751
+ }, 8, ["access-token", "callback"])
537
752
  ]),
538
- confirmation: g(() => [
539
- r(rl, {
540
- message: e(a)("event.confirmationMessage")
541
- }, null, 8, ["message"])
753
+ fallback: p(() => [
754
+ f(zt)
542
755
  ]),
543
756
  _: 1
544
- }, 8, ["slideshow", "title", "subtitle"])) : (t(), b(ue, { key: 1 }))
757
+ }))
545
758
  ]),
546
759
  _: 1
547
- }, 8, ["access-token", "styling"]));
760
+ }, 8, ["styling"]));
761
+ }
762
+ }), te = /* @__PURE__ */ se(gn, [["__scopeId", "data-v-3e230178"]]), hn = We(), kn = tt();
763
+ class yn extends HTMLElement {
764
+ vueApp;
765
+ constructor() {
766
+ super();
767
+ }
768
+ disconnectedCallback() {
769
+ this.vueApp.unmount();
770
+ }
771
+ connectedCallback() {
772
+ const n = typeof te == "function" ? te.options : te;
773
+ let i = Array.isArray(n.props) ? n.props : Object.keys(n.props || {});
774
+ const d = (u) => u.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (v, k) => (k ? "-" : "") + v.toLowerCase()), l = (u) => u.replace(/-./g, (v) => v[1].toUpperCase()), _ = {};
775
+ i = i.map(d);
776
+ const b = {};
777
+ for (const u of this.attributes) {
778
+ const k = u.name.split(".");
779
+ k.length > 1 && (b[k[0]] || (b[k[0]] = {}), b[k[0]][l(k[1])] = u.value);
780
+ }
781
+ for (const u of i) {
782
+ let v = this.attributes.getNamedItem(u)?.value;
783
+ b.hasOwnProperty(u) && (v = b[u]), _[u] = v;
784
+ }
785
+ this.vueApp = He(te, _), Xe(this.vueApp), this.vueApp.provide("emitter", kn), this.vueApp.use(xe), this.vueApp.use(hn), this.vueApp.use(rt), this.vueApp.use(ut), this.vueApp.use(et, { bootstrap: !0 });
786
+ const $ = document.createElement("div");
787
+ this.vueApp.mount($), this.appendChild($.children[0]);
548
788
  }
549
- }), jl = /* @__PURE__ */ fe(Zl, [["__scopeId", "data-v-b2eee97d"]]), Gl = ll(), q = nl({ components: { Event: jl } });
550
- q.use(Gl);
551
- q.use(tl);
552
- q.use(ul);
553
- q.use(al, { bootstrap: !0 });
554
- q.mount("#konnectio-event-app");
789
+ }
790
+ window.customElements.define("konnectio-event", yn);
555
791
  export {
556
- q as default
792
+ yn as default
557
793
  };
794
+ //# sourceMappingURL=event.js.map