@konnectio/core 4.0.56-rc5 → 4.0.56-rc51

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