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