@konnectio/core 4.0.56-rc4 → 4.0.56-rc41

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