@konnectio/core 4.0.55 → 4.0.56-rc10
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/README.md +7 -7
- package/dist/{ActionField-89f587d4.js → ActionField-1TedZ-ol.js} +10 -12
- package/dist/ActionField-1TedZ-ol.js.br +0 -0
- package/dist/AvailabilitySkeleton-IRkVJKVI.js +214 -0
- package/dist/AvailabilitySkeleton-IRkVJKVI.js.br +0 -0
- package/dist/{CheckoutWindow-df8612e3.js → CheckoutWindow-GzqBHFb5.js} +37 -34
- package/dist/CheckoutWindow-GzqBHFb5.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-bbaed106.js → DateField.vue_vue_type_style_index_0_lang-N7m8Y11B.js} +2664 -2660
- package/dist/DateField.vue_vue_type_style_index_0_lang-N7m8Y11B.js.br +0 -0
- package/dist/Field-agqP-A21.js +42 -0
- package/dist/Field-agqP-A21.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-11cea6ba.js → SelectField.vue_vue_type_style_index_0_lang-Throo8e2.js} +10010 -9879
- package/dist/SelectField.vue_vue_type_style_index_0_lang-Throo8e2.js.br +0 -0
- package/dist/{ThankYou-159b55d6.js → ThankYou-0uAYL16f.js} +2318 -1988
- package/dist/ThankYou-0uAYL16f.js.br +0 -0
- package/dist/_-K1FuFdRs.js +19 -0
- package/dist/{_commonjsHelpers-aeeeeb92.js → _commonjsHelpers-2ufMB8rV.js} +2 -2
- package/dist/availability.js +135 -112
- package/dist/availability.js.br +0 -0
- package/dist/{event-6cd5d9be.js → event-Jiun7WTg.js} +23 -23
- package/dist/event-Jiun7WTg.js.br +0 -0
- package/dist/event.js +448 -425
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +80 -67
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +281 -261
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel-7JmuavEN.js +3108 -0
- package/dist/hotel-7JmuavEN.js.br +0 -0
- package/dist/hotel.js +12 -3093
- package/dist/polyfill.js +3032 -3065
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +33 -25
- package/dist/ActionField-087c3437.cjs +0 -1
- package/dist/ActionField-89f587d4.js.br +0 -0
- package/dist/AvailabilitySkeleton-01aab3cb.js +0 -237
- package/dist/AvailabilitySkeleton-01aab3cb.js.br +0 -0
- package/dist/AvailabilitySkeleton-452df88c.cjs +0 -1
- package/dist/CheckoutWindow-1d77f68c.cjs +0 -1
- package/dist/CheckoutWindow-df8612e3.js.br +0 -0
- package/dist/Container-3af1f7f7.cjs +0 -1
- package/dist/Container-9f1ed24c.js +0 -59
- package/dist/Container-9f1ed24c.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-b5676dde.cjs +0 -2
- package/dist/DateField.vue_vue_type_style_index_0_lang-bbaed106.js.br +0 -0
- package/dist/Field-43273ca2.cjs +0 -1
- package/dist/Field-92684198.js +0 -42
- package/dist/Field-92684198.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-a149d388.cjs +0 -1
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-ce6f0b17.js +0 -67
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-ce6f0b17.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-11cea6ba.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-b1435f5a.cjs +0 -856
- package/dist/ThankYou-159b55d6.js.br +0 -0
- package/dist/ThankYou-c1cbecac.cjs +0 -59
- package/dist/_-52440760.js +0 -20
- package/dist/_-fbbc271a.cjs +0 -1
- package/dist/_commonjsHelpers-6763f629.cjs +0 -1
- package/dist/assets/typescript/mixins.d.ts +0 -34
- package/dist/availability.cjs +0 -2
- package/dist/availability.d.ts +0 -3
- package/dist/components/Alert.vue.d.ts +0 -5
- package/dist/components/Alert.vue.d.ts.map +0 -1
- package/dist/components/Clickable.vue.d.ts +0 -5
- package/dist/components/Clickable.vue.d.ts.map +0 -1
- package/dist/components/Container.vue.d.ts +0 -5
- package/dist/components/Container.vue.d.ts.map +0 -1
- package/dist/components/ErrorMessage.vue.d.ts +0 -5
- package/dist/components/ErrorMessage.vue.d.ts.map +0 -1
- package/dist/components/Gallery.vue.d.ts +0 -4
- package/dist/components/Gallery.vue.d.ts.map +0 -1
- package/dist/components/GoogleNotice.vue.d.ts +0 -4
- package/dist/components/GoogleNotice.vue.d.ts.map +0 -1
- package/dist/components/Icon.vue.d.ts +0 -5
- package/dist/components/Icon.vue.d.ts.map +0 -1
- package/dist/components/Loading.vue.d.ts +0 -5
- package/dist/components/Loading.vue.d.ts.map +0 -1
- package/dist/components/Spinner.vue.d.ts +0 -4
- package/dist/components/Spinner.vue.d.ts.map +0 -1
- package/dist/components/forms/EventAvailabilityForm.vue.d.ts +0 -5
- package/dist/components/forms/EventAvailabilityForm.vue.d.ts.map +0 -1
- package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +0 -5
- package/dist/components/forms/HotelAvailabilityForm.vue.d.ts.map +0 -1
- package/dist/components/forms/HotelReservationForm.vue.d.ts +0 -4
- package/dist/components/forms/HotelReservationForm.vue.d.ts.map +0 -1
- package/dist/components/forms/MultiStepForm.vue.d.ts +0 -5
- package/dist/components/forms/MultiStepForm.vue.d.ts.map +0 -1
- package/dist/components/forms/ReservationForm.vue.d.ts +0 -6
- package/dist/components/forms/ReservationForm.vue.d.ts.map +0 -1
- package/dist/components/forms/_.vue.d.ts +0 -4
- package/dist/components/forms/_.vue.d.ts.map +0 -1
- package/dist/components/inputs/Checkbox.vue.d.ts +0 -5
- package/dist/components/inputs/Checkbox.vue.d.ts.map +0 -1
- package/dist/components/inputs/CheckboxField.vue.d.ts +0 -5
- package/dist/components/inputs/CheckboxField.vue.d.ts.map +0 -1
- package/dist/components/inputs/DateField.vue.d.ts +0 -5
- package/dist/components/inputs/DateField.vue.d.ts.map +0 -1
- package/dist/components/inputs/InputField.vue.d.ts +0 -5
- package/dist/components/inputs/InputField.vue.d.ts.map +0 -1
- package/dist/components/inputs/MediaSelector.vue.d.ts +0 -5
- package/dist/components/inputs/MediaSelector.vue.d.ts.map +0 -1
- package/dist/components/inputs/NumberField.vue.d.ts +0 -5
- package/dist/components/inputs/NumberField.vue.d.ts.map +0 -1
- package/dist/components/inputs/SelectField.vue.d.ts +0 -5
- package/dist/components/inputs/SelectField.vue.d.ts.map +0 -1
- package/dist/components/inputs/TextField.vue.d.ts +0 -5
- package/dist/components/inputs/TextField.vue.d.ts.map +0 -1
- package/dist/components/inputs/TimeField.vue.d.ts +0 -5
- package/dist/components/inputs/TimeField.vue.d.ts.map +0 -1
- package/dist/components/inputs/grouped/ActionField.vue.d.ts +0 -5
- package/dist/components/inputs/grouped/ActionField.vue.d.ts.map +0 -1
- package/dist/components/inputs/grouped/CountryField.vue.d.ts +0 -5
- package/dist/components/inputs/grouped/CountryField.vue.d.ts.map +0 -1
- package/dist/components/inputs/grouped/NameField.vue.d.ts +0 -5
- package/dist/components/inputs/grouped/NameField.vue.d.ts.map +0 -1
- package/dist/components/inputs/grouped/PhoneField.vue.d.ts +0 -5
- package/dist/components/inputs/grouped/PhoneField.vue.d.ts.map +0 -1
- package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts +0 -5
- package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts.map +0 -1
- package/dist/components/listings/Base.vue.d.ts +0 -6
- package/dist/components/listings/Base.vue.d.ts.map +0 -1
- package/dist/components/listings/Event.vue.d.ts +0 -5
- package/dist/components/listings/Event.vue.d.ts.map +0 -1
- package/dist/components/listings/Hotel.vue.d.ts +0 -5
- package/dist/components/listings/Hotel.vue.d.ts.map +0 -1
- package/dist/components/listings/Template.vue.d.ts +0 -5
- package/dist/components/listings/Template.vue.d.ts.map +0 -1
- package/dist/components/side-panels/Base.vue.d.ts +0 -6
- package/dist/components/side-panels/Base.vue.d.ts.map +0 -1
- package/dist/components/side-panels/ListingInfo.vue.d.ts +0 -5
- package/dist/components/side-panels/ListingInfo.vue.d.ts.map +0 -1
- package/dist/components/side-panels/Template.vue.d.ts +0 -5
- package/dist/components/side-panels/Template.vue.d.ts.map +0 -1
- package/dist/components/side-panels/TermsOfService.vue.d.ts +0 -5
- package/dist/components/side-panels/TermsOfService.vue.d.ts.map +0 -1
- package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts +0 -5
- package/dist/components/skeletons/AvailabilitySkeleton.vue.d.ts.map +0 -1
- package/dist/components/skeletons/Field.vue.d.ts +0 -5
- package/dist/components/skeletons/Field.vue.d.ts.map +0 -1
- package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts +0 -5
- package/dist/components/skeletons/GiftCardSkeleton.vue.d.ts.map +0 -1
- package/dist/components/skeletons/HotelSkeleton.vue.d.ts +0 -5
- package/dist/components/skeletons/HotelSkeleton.vue.d.ts.map +0 -1
- package/dist/components/skeletons/Listing.vue.d.ts +0 -5
- package/dist/components/skeletons/Listing.vue.d.ts.map +0 -1
- package/dist/components/skeletons/Sidebar.vue.d.ts +0 -5
- package/dist/components/skeletons/Sidebar.vue.d.ts.map +0 -1
- package/dist/components/skeletons/_.vue.d.ts +0 -5
- package/dist/components/skeletons/_.vue.d.ts.map +0 -1
- package/dist/components/views/CheckoutWindow.vue.d.ts +0 -5
- package/dist/components/views/CheckoutWindow.vue.d.ts.map +0 -1
- package/dist/components/views/TermsOfService.vue.d.ts +0 -5
- package/dist/components/views/TermsOfService.vue.d.ts.map +0 -1
- package/dist/components/views/ThankYou.vue.d.ts +0 -5
- 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 -2
- package/dist/entries/gift-card.d.ts +0 -1
- package/dist/entries/hotel.d.ts +0 -0
- package/dist/entries/navigation.d.ts +0 -1
- package/dist/entries/polyfill.d.ts +0 -0
- package/dist/event-6cd5d9be.js.br +0 -0
- package/dist/event-dfc9ed16.cjs +0 -1
- package/dist/event.cjs +0 -1
- package/dist/event.d.ts +0 -3
- package/dist/gift-card-validation.cjs +0 -1
- package/dist/gift-card-validation.d.ts +0 -3
- package/dist/gift-card.cjs +0 -1
- package/dist/gift-card.d.ts +0 -1
- package/dist/hotel.cjs +0 -19
- package/dist/hotel.d.ts +0 -1
- package/dist/hotel.js.br +0 -0
- 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.cjs +0 -1
- package/dist/navigation.d.ts +0 -1
- package/dist/plugins/i18n.d.ts +0 -5
- package/dist/polyfill.cjs +0 -4
- 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/tracking.d.ts +0 -57
- package/dist/store/utilities.d.ts +0 -365
- package/dist/types/index.d.ts +0 -968
package/dist/event.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { k as ge,
|
|
2
|
-
import { B as
|
|
3
|
-
import { u as
|
|
4
|
-
import { A as
|
|
5
|
-
import { P as
|
|
6
|
-
import { _ as
|
|
7
|
-
import
|
|
8
|
-
import "./
|
|
9
|
-
|
|
10
|
-
const vl = { class: "fresh-booking-event-listing-information" }, bl = { key: 0 }, gl = { key: 1 }, hl = /* @__PURE__ */ ge({
|
|
1
|
+
import { k as ge, B as he, b as Ie, s as Q, c as fe, r as Ze, f as je, o as a, m as y, a0 as He, w as k, x as l, p as r, H as V, F as n, z as e, a1 as Qe, a2 as ie, l as i, a3 as re, n as d, a4 as Ye, J as U, a5 as Je, _ as ke, Z as Ke, Y as We, G as F, $ as C, a6 as R, a7 as ue, O as de, A as x, T as me, a8 as ce, a9 as Xe, aa as ee, K as pe, M as Ge, N as xe, P as el, Q as ll, R as nl, U as tl, V as al, ab as ol } from "./SelectField.vue_vue_type_style_index_0_lang-Throo8e2.js";
|
|
2
|
+
import { B as sl, M as il, R as rl, T as ul, V as dl } from "./ThankYou-0uAYL16f.js";
|
|
3
|
+
import { u as Y } from "./event-Jiun7WTg.js";
|
|
4
|
+
import { A as ml } from "./ActionField-1TedZ-ol.js";
|
|
5
|
+
import { P as cl, C as ve, a as pl } from "./CheckoutWindow-GzqBHFb5.js";
|
|
6
|
+
import { _ as vl } from "./DateField.vue_vue_type_style_index_0_lang-N7m8Y11B.js";
|
|
7
|
+
import "./_commonjsHelpers-2ufMB8rV.js";
|
|
8
|
+
import "./_-K1FuFdRs.js";
|
|
9
|
+
const bl = { class: "fresh-booking-event-listing-information" }, gl = { key: 0 }, hl = { key: 1 }, fl = /* @__PURE__ */ ge({
|
|
11
10
|
__name: "Event",
|
|
12
11
|
props: {
|
|
13
12
|
name: {},
|
|
@@ -29,110 +28,110 @@ const vl = { class: "fresh-booking-event-listing-information" }, bl = { key: 0 }
|
|
|
29
28
|
trackingEnabled: { type: Boolean },
|
|
30
29
|
callback: {}
|
|
31
30
|
},
|
|
32
|
-
setup(
|
|
33
|
-
const { t
|
|
34
|
-
maxNumberOfPeople:
|
|
35
|
-
numberOfPeople:
|
|
36
|
-
eventId:
|
|
31
|
+
setup(B) {
|
|
32
|
+
const { t } = he(), m = B, { display: P } = Ie(), { currency: N } = Q(fe()), {
|
|
33
|
+
maxNumberOfPeople: T,
|
|
34
|
+
numberOfPeople: _,
|
|
35
|
+
eventId: g,
|
|
37
36
|
tableGroupId: A
|
|
38
|
-
} =
|
|
39
|
-
getTemplateAvailability:
|
|
40
|
-
getEventAvailability:
|
|
41
|
-
isEventListingLoading:
|
|
42
|
-
} =
|
|
43
|
-
|
|
37
|
+
} = Q(Y()), {
|
|
38
|
+
getTemplateAvailability: u,
|
|
39
|
+
getEventAvailability: c,
|
|
40
|
+
isEventListingLoading: p
|
|
41
|
+
} = Y(), D = Ze(0), I = je(() => p(m.listingId)), J = () => {
|
|
42
|
+
D.value > 0 ? (g.value = m.listingId, _.value = D.value, u(m.callback)) : P({
|
|
44
43
|
type: "error",
|
|
45
|
-
message:
|
|
44
|
+
message: t("alert.error.selectPeople")
|
|
46
45
|
});
|
|
47
|
-
},
|
|
48
|
-
|
|
46
|
+
}, $ = () => {
|
|
47
|
+
D.value > 0 ? (g.value = m.listingId, A.value = m.tableGroupId, _.value = D.value, c(m.callback)) : P({
|
|
49
48
|
type: "error",
|
|
50
|
-
message:
|
|
49
|
+
message: t("alert.error.selectPeople")
|
|
51
50
|
});
|
|
52
51
|
};
|
|
53
|
-
return (s,
|
|
52
|
+
return (s, E) => (a(), y(sl, {
|
|
54
53
|
"listing-id": s.listingId,
|
|
55
54
|
gallery: s.gallery,
|
|
56
55
|
name: s.name,
|
|
57
56
|
description: s.description,
|
|
58
|
-
layout: e(
|
|
59
|
-
},
|
|
60
|
-
action:
|
|
61
|
-
r(
|
|
62
|
-
modelValue:
|
|
63
|
-
"onUpdate:modelValue":
|
|
57
|
+
layout: e(Je).Event
|
|
58
|
+
}, He({
|
|
59
|
+
action: k(() => [
|
|
60
|
+
r(ml, {
|
|
61
|
+
modelValue: D.value,
|
|
62
|
+
"onUpdate:modelValue": E[0] || (E[0] = (S) => D.value = S),
|
|
64
63
|
type: "number",
|
|
65
|
-
label: e(
|
|
66
|
-
buttonLabel: s.soldOut ? e(
|
|
64
|
+
label: e(t)("event.numberOfGuests"),
|
|
65
|
+
buttonLabel: s.soldOut ? e(t)("event.soldOut") : e(t)("event.bookNowButton"),
|
|
67
66
|
buttonDisabled: s.soldOut,
|
|
68
67
|
"min-value": s.type === "event" ? 1 : s.minimumPersonCount,
|
|
69
|
-
"max-value": s.type === "event" ? s.maxOnlineReservationLimit || 1 / 0 : e(
|
|
70
|
-
"is-loading":
|
|
71
|
-
"onUpdate:isLoading":
|
|
72
|
-
onAction:
|
|
68
|
+
"max-value": s.type === "event" ? s.maxOnlineReservationLimit || 1 / 0 : e(T),
|
|
69
|
+
"is-loading": I.value,
|
|
70
|
+
"onUpdate:isLoading": E[1] || (E[1] = (S) => I.value = S),
|
|
71
|
+
onAction: E[2] || (E[2] = (S) => s.type === "event" ? $() : J())
|
|
73
72
|
}, null, 8, ["modelValue", "label", "buttonLabel", "buttonDisabled", "min-value", "max-value", "is-loading"])
|
|
74
73
|
]),
|
|
75
74
|
_: 2
|
|
76
75
|
}, [
|
|
77
76
|
s.type === "event" ? {
|
|
78
77
|
name: "description",
|
|
79
|
-
fn:
|
|
80
|
-
l("ul",
|
|
78
|
+
fn: k(() => [
|
|
79
|
+
l("ul", bl, [
|
|
81
80
|
l("li", null, [
|
|
82
|
-
r(
|
|
81
|
+
r(V, {
|
|
83
82
|
icon: "calendar-range",
|
|
84
83
|
color: "header"
|
|
85
84
|
}),
|
|
86
|
-
l("span", null, n(e(
|
|
85
|
+
l("span", null, n(e(Qe)(s.days)), 1)
|
|
87
86
|
]),
|
|
88
|
-
e(ie)(s.fromDate, s.toDate) < 180 ? (
|
|
89
|
-
r(
|
|
87
|
+
e(ie)(s.fromDate, s.toDate) < 180 ? (a(), i("li", gl, [
|
|
88
|
+
r(V, {
|
|
90
89
|
icon: "calendar-days",
|
|
91
90
|
color: "header"
|
|
92
91
|
}),
|
|
93
92
|
l("span", null, n(e(re)(s.fromDate, s.toDate)), 1)
|
|
94
|
-
])) :
|
|
93
|
+
])) : d("", !0),
|
|
95
94
|
l("li", null, [
|
|
96
|
-
r(
|
|
95
|
+
r(V, {
|
|
97
96
|
icon: "calendar-clock",
|
|
98
97
|
color: "header"
|
|
99
98
|
}),
|
|
100
|
-
l("span", null, n(e(
|
|
99
|
+
l("span", null, n(e(Ye)(s.timeFrom, s.timeTo)), 1)
|
|
101
100
|
]),
|
|
102
|
-
s.maxOnlineReservationLimit ? (
|
|
103
|
-
r(
|
|
101
|
+
s.maxOnlineReservationLimit ? (a(), i("li", hl, [
|
|
102
|
+
r(V, {
|
|
104
103
|
icon: "user-alt",
|
|
105
104
|
color: "header"
|
|
106
105
|
}),
|
|
107
|
-
l("span", null, n(`1 - ${s.maxOnlineReservationLimit} ${e(
|
|
108
|
-
])) :
|
|
106
|
+
l("span", null, n(`1 - ${s.maxOnlineReservationLimit} ${e(t)("general.people")}`), 1)
|
|
107
|
+
])) : d("", !0)
|
|
109
108
|
])
|
|
110
109
|
]),
|
|
111
110
|
key: "0"
|
|
112
111
|
} : {
|
|
113
112
|
name: "description",
|
|
114
|
-
fn:
|
|
113
|
+
fn: k(() => [
|
|
115
114
|
l("ul", { class: "fresh-booking-event-listing-information" }, [
|
|
116
|
-
e(ie)(s.fromDate, s.toDate) < 180 ? (
|
|
117
|
-
r(
|
|
115
|
+
e(ie)(s.fromDate, s.toDate) < 180 ? (a(), i("li", { key: 0 }, [
|
|
116
|
+
r(V, {
|
|
118
117
|
icon: "calendar-days",
|
|
119
118
|
color: "header"
|
|
120
119
|
}),
|
|
121
120
|
l("span", null, n(e(re)(s.fromDate, s.toDate, !0)), 1)
|
|
122
|
-
])) :
|
|
121
|
+
])) : d("", !0),
|
|
123
122
|
l("li", null, [
|
|
124
|
-
r(
|
|
123
|
+
r(V, {
|
|
125
124
|
icon: "user-alt",
|
|
126
125
|
color: "header"
|
|
127
126
|
}),
|
|
128
|
-
l("span", null, n(`${s.minimumPersonCount} - ${e(
|
|
127
|
+
l("span", null, n(`${s.minimumPersonCount} - ${e(T)} ${e(t)("general.people")}`), 1)
|
|
129
128
|
]),
|
|
130
129
|
l("li", null, [
|
|
131
|
-
r(
|
|
130
|
+
r(V, {
|
|
132
131
|
icon: "money-bill",
|
|
133
132
|
color: "header"
|
|
134
133
|
}),
|
|
135
|
-
l("span", null, n(`${e(
|
|
134
|
+
l("span", null, n(`${e(t)("general.pricesFrom")} ${e(U)(s.fromPrice, e(N))}`), 1)
|
|
136
135
|
])
|
|
137
136
|
])
|
|
138
137
|
]),
|
|
@@ -140,39 +139,38 @@ const vl = { class: "fresh-booking-event-listing-information" }, bl = { key: 0 }
|
|
|
140
139
|
}
|
|
141
140
|
]), 1032, ["listing-id", "gallery", "name", "description", "layout"]));
|
|
142
141
|
}
|
|
143
|
-
})
|
|
144
|
-
const be = /* @__PURE__ */ fe(hl, [["__scopeId", "data-v-013d2269"]]), F = (L) => (Ge("data-v-b2eee97d"), L = L(), el(), L), kl = { class: "fresh-booking-panel" }, fl = {
|
|
142
|
+
}), be = /* @__PURE__ */ ke(fl, [["__scopeId", "data-v-013d2269"]]), M = (B) => (el("data-v-c609785a"), B = B(), ll(), B), kl = { class: "fresh-booking-panel" }, yl = {
|
|
145
143
|
key: 0,
|
|
146
144
|
id: "fresh-booking-event-overview"
|
|
147
|
-
},
|
|
145
|
+
}, _l = { class: "fresh-booking-event-listings" }, Vl = { class: "fresh-booking-event-listings" }, Pl = {
|
|
148
146
|
key: 2,
|
|
149
147
|
id: "fresh-booking-event-addons"
|
|
150
|
-
},
|
|
148
|
+
}, Tl = { class: "fresh-booking-table" }, $l = /* @__PURE__ */ M(() => /* @__PURE__ */ l("th", { class: "fresh-booking-event-addons-input" }, null, -1)), El = { class: "fresh-booking-event-addons-price" }, wl = /* @__PURE__ */ M(() => /* @__PURE__ */ l("br", null, null, -1)), Ol = { class: "fresh-booking-event-addons-input" }, Cl = { class: "fresh-booking-event-addons-price" }, Al = /* @__PURE__ */ M(() => /* @__PURE__ */ l("td", { colspan: "2" }, null, -1)), Dl = { class: "fresh-booking-event-addons-price" }, Ll = { key: 3 }, Ul = { class: "fresh-booking-label required" }, Bl = { id: "fresh-booking-event-table" }, Fl = { key: 4 }, Rl = { class: "fresh-booking-label required" }, Nl = { class: "fresh-booking-table" }, Sl = /* @__PURE__ */ M(() => /* @__PURE__ */ l("th", { class: "fresh-booking-event-addons-input" }, null, -1)), Ml = { class: "fresh-booking-event-addons-price" }, ql = /* @__PURE__ */ M(() => /* @__PURE__ */ l("br", null, null, -1)), zl = /* @__PURE__ */ M(() => /* @__PURE__ */ l("br", null, null, -1)), Il = { class: "fresh-booking-event-addons-input" }, Zl = { class: "fresh-booking-event-addons-price" }, jl = { key: 0 }, Hl = { key: 1 }, Ql = { key: 2 }, Yl = { key: 3 }, Jl = { key: 4 }, Kl = { key: 5 }, Wl = { key: 6 }, Xl = /* @__PURE__ */ ge({
|
|
151
149
|
name: "EventLayout",
|
|
152
150
|
__name: "Event",
|
|
153
151
|
props: {
|
|
154
152
|
accessToken: {},
|
|
155
153
|
styling: {}
|
|
156
154
|
},
|
|
157
|
-
setup(
|
|
158
|
-
const { t
|
|
159
|
-
searchDate:
|
|
160
|
-
addons:
|
|
161
|
-
products:
|
|
162
|
-
numberOfDays:
|
|
163
|
-
discountCode:
|
|
164
|
-
name:
|
|
155
|
+
setup(B) {
|
|
156
|
+
const { t } = he(), {
|
|
157
|
+
searchDate: m,
|
|
158
|
+
addons: P,
|
|
159
|
+
products: N,
|
|
160
|
+
numberOfDays: T,
|
|
161
|
+
discountCode: _,
|
|
162
|
+
name: g,
|
|
165
163
|
phone: A,
|
|
166
|
-
email:
|
|
167
|
-
remark:
|
|
168
|
-
arrivalTime:
|
|
169
|
-
title:
|
|
170
|
-
subtitle:
|
|
171
|
-
slideshow:
|
|
172
|
-
currency:
|
|
164
|
+
email: u,
|
|
165
|
+
remark: c,
|
|
166
|
+
arrivalTime: p,
|
|
167
|
+
title: D,
|
|
168
|
+
subtitle: I,
|
|
169
|
+
slideshow: J,
|
|
170
|
+
currency: $,
|
|
173
171
|
numberOfPeople: s,
|
|
174
|
-
numberOfTotalDays:
|
|
175
|
-
numberOfRooms:
|
|
172
|
+
numberOfTotalDays: E,
|
|
173
|
+
numberOfRooms: S,
|
|
176
174
|
basePrice: ye,
|
|
177
175
|
totalPrice: _e,
|
|
178
176
|
isPaymentLoading: Ve,
|
|
@@ -180,381 +178,406 @@ const be = /* @__PURE__ */ fe(hl, [["__scopeId", "data-v-013d2269"]]), F = (L) =
|
|
|
180
178
|
hasTemplates: Te,
|
|
181
179
|
getEvents: $e,
|
|
182
180
|
getTemplates: Ee,
|
|
183
|
-
getEventData:
|
|
184
|
-
getTemplateData:
|
|
185
|
-
getEventTableData:
|
|
186
|
-
length:
|
|
187
|
-
roomUpgrade:
|
|
188
|
-
weekendFee:
|
|
189
|
-
fromDate:
|
|
190
|
-
hasProducts:
|
|
191
|
-
eventRateType:
|
|
192
|
-
isMetaDataAvailable:
|
|
193
|
-
areListingsAvailable:
|
|
194
|
-
isReservationFormFilled:
|
|
195
|
-
isAvailabilityDataAvailable:
|
|
181
|
+
getEventData: we,
|
|
182
|
+
getTemplateData: Z,
|
|
183
|
+
getEventTableData: Oe,
|
|
184
|
+
length: le,
|
|
185
|
+
roomUpgrade: Ce,
|
|
186
|
+
weekendFee: Ae,
|
|
187
|
+
fromDate: ne,
|
|
188
|
+
hasProducts: De,
|
|
189
|
+
eventRateType: te,
|
|
190
|
+
isMetaDataAvailable: Le,
|
|
191
|
+
areListingsAvailable: Ue,
|
|
192
|
+
isReservationFormFilled: Be,
|
|
193
|
+
isAvailabilityDataAvailable: Fe,
|
|
196
194
|
// getEventImages,
|
|
197
|
-
isTemplateEvent:
|
|
198
|
-
tableBasePrice:
|
|
199
|
-
} =
|
|
195
|
+
isTemplateEvent: L,
|
|
196
|
+
tableBasePrice: ae
|
|
197
|
+
} = Q(Y()), {
|
|
200
198
|
initialize: Re,
|
|
201
|
-
validateDiscountCode:
|
|
199
|
+
validateDiscountCode: en,
|
|
202
200
|
fetchListings: Ne,
|
|
203
201
|
createBooking: Se,
|
|
204
|
-
localAddonPrice:
|
|
205
|
-
totalAddonPrice:
|
|
206
|
-
reset:
|
|
207
|
-
} =
|
|
208
|
-
hideEvents:
|
|
209
|
-
hideEventTemplates:
|
|
210
|
-
} =
|
|
211
|
-
return
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
e(Ue) ? (t(), b(sl, {
|
|
220
|
-
key: 0,
|
|
221
|
-
slideshow: e(K),
|
|
222
|
-
title: e(P),
|
|
223
|
-
subtitle: e(Q)
|
|
202
|
+
localAddonPrice: oe,
|
|
203
|
+
totalAddonPrice: se,
|
|
204
|
+
reset: Me
|
|
205
|
+
} = Y(), {
|
|
206
|
+
hideEvents: qe,
|
|
207
|
+
hideEventTemplates: ze
|
|
208
|
+
} = Q(fe());
|
|
209
|
+
return Ke(() => Re()), We(m, () => Ne()), (K, v) => (a(), y(xe, { styling: K.styling }, {
|
|
210
|
+
default: k(() => [
|
|
211
|
+
r(Ge, {
|
|
212
|
+
id: "fresh-booking-event-module",
|
|
213
|
+
class: "fresh-booking-app",
|
|
214
|
+
type: "event",
|
|
215
|
+
"access-token": K.accessToken,
|
|
216
|
+
styling: K.styling
|
|
224
217
|
}, {
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
r(pl, {
|
|
228
|
-
modelValue: e(v),
|
|
229
|
-
"onUpdate:modelValue": d[0] || (d[0] = (y) => w(v) ? v.value = y : null),
|
|
230
|
-
label: e(a)("event.selectDate"),
|
|
231
|
-
"min-date": /* @__PURE__ */ new Date()
|
|
232
|
-
}, null, 8, ["modelValue", "label", "min-date"])
|
|
233
|
-
]),
|
|
234
|
-
e(Be) ? (t(), i("div", fl, [
|
|
235
|
-
e(Pe) && !e(Me) ? (t(), i(V, { key: 0 }, [
|
|
236
|
-
l("h2", null, [
|
|
237
|
-
r(h, {
|
|
238
|
-
icon: "clock-seven",
|
|
239
|
-
type: "fal",
|
|
240
|
-
color: "header"
|
|
241
|
-
}),
|
|
242
|
-
l("span", null, n(e(a)("event.eventsTitle")), 1)
|
|
243
|
-
]),
|
|
244
|
-
l("ul", yl, [
|
|
245
|
-
(t(!0), i(V, null, D(e($e), ({
|
|
246
|
-
id: y,
|
|
247
|
-
days: o,
|
|
248
|
-
name: c,
|
|
249
|
-
timeFrom: _,
|
|
250
|
-
timeTo: m,
|
|
251
|
-
fromDate: p,
|
|
252
|
-
toDate: S,
|
|
253
|
-
tableGroupID: X,
|
|
254
|
-
description: Z,
|
|
255
|
-
soldOut: j,
|
|
256
|
-
maxOnlineReservationLimit: q
|
|
257
|
-
}) => (t(), b(be, {
|
|
258
|
-
key: y,
|
|
259
|
-
type: "event",
|
|
260
|
-
"listing-id": y,
|
|
261
|
-
"table-group-id": X,
|
|
262
|
-
description: Z,
|
|
263
|
-
name: c,
|
|
264
|
-
days: o,
|
|
265
|
-
"from-date": p,
|
|
266
|
-
"to-date": S,
|
|
267
|
-
"max-online-reservation-limit": q,
|
|
268
|
-
"time-from": _,
|
|
269
|
-
"time-to": m,
|
|
270
|
-
"sold-out": j,
|
|
271
|
-
callback: Y
|
|
272
|
-
}, 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))
|
|
273
|
-
])
|
|
274
|
-
], 64)) : u("", !0),
|
|
275
|
-
e(Te) && !e(Ie) ? (t(), i(V, { key: 1 }, [
|
|
276
|
-
l("h2", null, [
|
|
277
|
-
r(h, {
|
|
278
|
-
icon: "stars",
|
|
279
|
-
type: "fal",
|
|
280
|
-
color: "header"
|
|
281
|
-
}),
|
|
282
|
-
l("span", null, n(e(a)("event.stayTitle")), 1)
|
|
283
|
-
]),
|
|
284
|
-
l("ul", _l, [
|
|
285
|
-
(t(!0), i(V, null, D(e(Ee), ({
|
|
286
|
-
id: y,
|
|
287
|
-
name: o,
|
|
288
|
-
fromDate: c,
|
|
289
|
-
toDate: _,
|
|
290
|
-
minimumPersonCount: m,
|
|
291
|
-
fromPrice: p,
|
|
292
|
-
description: S
|
|
293
|
-
}) => (t(), b(be, {
|
|
294
|
-
key: y,
|
|
295
|
-
type: "template",
|
|
296
|
-
"listing-id": y,
|
|
297
|
-
name: o,
|
|
298
|
-
description: S,
|
|
299
|
-
"from-date": c,
|
|
300
|
-
"to-date": _,
|
|
301
|
-
"minimum-person-count": m,
|
|
302
|
-
fromPrice: p,
|
|
303
|
-
callback: Y
|
|
304
|
-
}, null, 8, ["listing-id", "name", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
305
|
-
])
|
|
306
|
-
], 64)) : u("", !0)
|
|
307
|
-
])) : (t(), b(ue, { key: 1 }))
|
|
308
|
-
]),
|
|
309
|
-
reservation: g(({ next: Y, prev: y }) => [
|
|
310
|
-
e(Ae) ? (t(), b(il, {
|
|
218
|
+
default: k(() => [
|
|
219
|
+
e(Le) ? (a(), y(il, {
|
|
311
220
|
key: 0,
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
"is-loading": e(Ve),
|
|
316
|
-
"base-price": e(ye),
|
|
317
|
-
"total-price": e(_e),
|
|
318
|
-
"weekend-fee": e(Le),
|
|
319
|
-
"room-upgrade": e(De),
|
|
320
|
-
onPrev: (o) => e(qe)(y),
|
|
321
|
-
onNext: (o) => e(Se)(Y)
|
|
221
|
+
slideshow: e(J),
|
|
222
|
+
title: e(D),
|
|
223
|
+
subtitle: e(I)
|
|
322
224
|
}, {
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
placeholder: e(a)("booking.reservation.namePlaceholder"),
|
|
339
|
-
required: ""
|
|
340
|
-
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
341
|
-
r(me, {
|
|
342
|
-
modelValue: e(R),
|
|
343
|
-
"onUpdate:modelValue": d[3] || (d[3] = (o) => w(R) ? R.value = o : null),
|
|
344
|
-
label: e(a)("booking.reservation.email"),
|
|
345
|
-
type: "email",
|
|
346
|
-
name: "email",
|
|
347
|
-
autocomplete: "email",
|
|
348
|
-
icon: "at",
|
|
349
|
-
placeholder: e(a)("booking.reservation.emailPlaceholder"),
|
|
350
|
-
required: ""
|
|
351
|
-
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
352
|
-
r(ml, {
|
|
353
|
-
modelValue: e(A),
|
|
354
|
-
"onUpdate:modelValue": d[4] || (d[4] = (o) => w(A) ? A.value = o : null),
|
|
355
|
-
label: e(a)("booking.reservation.phone"),
|
|
356
|
-
icon: "phone-office",
|
|
357
|
-
placeholder: e(a)("booking.reservation.phonePlaceholder"),
|
|
358
|
-
required: ""
|
|
359
|
-
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
360
|
-
u("", !0),
|
|
361
|
-
e(W) && e(W).length > 0 ? (t(), i("ul", Vl, [
|
|
362
|
-
(t(!0), i(V, null, D(e(W), ({
|
|
363
|
-
roomGroupID: o,
|
|
364
|
-
addons: c,
|
|
365
|
-
adultPerRoom: _
|
|
366
|
-
}, m) => (t(), i("li", { key: o }, [
|
|
367
|
-
l("h5", null, [
|
|
368
|
-
l("span", null, n(e(a)("booking.reservation.room")) + " #" + n(m + 1), 1),
|
|
369
|
-
ce(" ("),
|
|
370
|
-
r(h, {
|
|
371
|
-
icon: "male",
|
|
372
|
-
type: "fas",
|
|
225
|
+
availability: k(({ next: j }) => [
|
|
226
|
+
l("div", kl, [
|
|
227
|
+
r(vl, {
|
|
228
|
+
modelValue: e(m),
|
|
229
|
+
"onUpdate:modelValue": v[0] || (v[0] = (w) => F(m) ? m.value = w : null),
|
|
230
|
+
label: e(t)("event.selectDate"),
|
|
231
|
+
"min-date": /* @__PURE__ */ new Date()
|
|
232
|
+
}, null, 8, ["modelValue", "label", "min-date"])
|
|
233
|
+
]),
|
|
234
|
+
e(Ue) ? (a(), i("div", yl, [
|
|
235
|
+
e(Pe) && !e(qe) ? (a(), i(C, { key: 0 }, [
|
|
236
|
+
l("h2", null, [
|
|
237
|
+
r(V, {
|
|
238
|
+
icon: "clock-seven",
|
|
239
|
+
type: "fal",
|
|
373
240
|
color: "header"
|
|
374
241
|
}),
|
|
375
|
-
|
|
242
|
+
l("span", null, n(e(t)("event.eventsTitle")), 1)
|
|
376
243
|
]),
|
|
377
|
-
l("
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
244
|
+
l("ul", _l, [
|
|
245
|
+
(a(!0), i(C, null, R(e($e), ({
|
|
246
|
+
id: w,
|
|
247
|
+
days: o,
|
|
248
|
+
name: h,
|
|
249
|
+
timeFrom: O,
|
|
250
|
+
timeTo: b,
|
|
251
|
+
fromDate: f,
|
|
252
|
+
toDate: q,
|
|
253
|
+
tableGroupID: W,
|
|
254
|
+
description: X,
|
|
255
|
+
soldOut: G,
|
|
256
|
+
maxOnlineReservationLimit: z
|
|
257
|
+
}) => (a(), y(be, {
|
|
258
|
+
key: w,
|
|
259
|
+
type: "event",
|
|
260
|
+
"listing-id": w,
|
|
261
|
+
"table-group-id": W,
|
|
262
|
+
description: X,
|
|
263
|
+
name: h,
|
|
264
|
+
days: o,
|
|
265
|
+
"from-date": f,
|
|
266
|
+
"to-date": q,
|
|
267
|
+
"max-online-reservation-limit": z,
|
|
268
|
+
"time-from": O,
|
|
269
|
+
"time-to": b,
|
|
270
|
+
"sold-out": G,
|
|
271
|
+
callback: j
|
|
272
|
+
}, 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))
|
|
273
|
+
])
|
|
274
|
+
], 64)) : d("", !0),
|
|
275
|
+
e(Te) && !e(ze) ? (a(), i(C, { key: 1 }, [
|
|
276
|
+
l("h2", null, [
|
|
277
|
+
r(V, {
|
|
278
|
+
icon: "stars",
|
|
279
|
+
type: "fal",
|
|
280
|
+
color: "header"
|
|
281
|
+
}),
|
|
282
|
+
l("span", null, n(e(t)("event.stayTitle")), 1)
|
|
283
|
+
]),
|
|
284
|
+
l("ul", Vl, [
|
|
285
|
+
(a(!0), i(C, null, R(e(Ee), ({
|
|
286
|
+
id: w,
|
|
287
|
+
name: o,
|
|
288
|
+
fromDate: h,
|
|
289
|
+
toDate: O,
|
|
290
|
+
minimumPersonCount: b,
|
|
291
|
+
fromPrice: f,
|
|
292
|
+
description: q
|
|
293
|
+
}) => (a(), y(be, {
|
|
294
|
+
key: w,
|
|
295
|
+
type: "template",
|
|
296
|
+
"listing-id": w,
|
|
297
|
+
name: o,
|
|
298
|
+
description: q,
|
|
299
|
+
"from-date": h,
|
|
300
|
+
"to-date": O,
|
|
301
|
+
"minimum-person-count": b,
|
|
302
|
+
fromPrice: f,
|
|
303
|
+
callback: j
|
|
304
|
+
}, null, 8, ["listing-id", "name", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
305
|
+
])
|
|
306
|
+
], 64)) : d("", !0)
|
|
307
|
+
])) : (a(), y(ue, { key: 1 }))
|
|
308
|
+
]),
|
|
309
|
+
reservation: k(({ next: j, prev: w }) => [
|
|
310
|
+
e(Fe) ? (a(), y(rl, {
|
|
311
|
+
key: 0,
|
|
312
|
+
remark: e(c),
|
|
313
|
+
"onUpdate:remark": v[8] || (v[8] = (o) => F(c) ? c.value = o : null),
|
|
314
|
+
"is-filled": e(Be),
|
|
315
|
+
"is-loading": e(Ve),
|
|
316
|
+
"base-price": e(ye),
|
|
317
|
+
"total-price": e(_e),
|
|
318
|
+
"weekend-fee": e(Ae),
|
|
319
|
+
"room-upgrade": e(Ce),
|
|
320
|
+
onPrev: (o) => e(Me)(w),
|
|
321
|
+
onNext: (o) => e(Se)(j)
|
|
322
|
+
}, {
|
|
323
|
+
form: k(() => [
|
|
324
|
+
e(te) === e(de).FullDayEvent ? (a(), y(x, {
|
|
325
|
+
key: 0,
|
|
326
|
+
modelValue: e(T),
|
|
327
|
+
"onUpdate:modelValue": v[1] || (v[1] = (o) => F(T) ? T.value = o : null),
|
|
328
|
+
label: e(t)("event.numberOfDays"),
|
|
329
|
+
"min-value": 1,
|
|
330
|
+
required: ""
|
|
331
|
+
}, null, 8, ["modelValue", "label"])) : d("", !0),
|
|
332
|
+
r(me, {
|
|
333
|
+
modelValue: e(g),
|
|
334
|
+
"onUpdate:modelValue": v[2] || (v[2] = (o) => F(g) ? g.value = o : null),
|
|
335
|
+
type: "text",
|
|
336
|
+
label: e(t)("booking.reservation.name"),
|
|
337
|
+
icon: "user-alt",
|
|
338
|
+
placeholder: e(t)("booking.reservation.namePlaceholder"),
|
|
339
|
+
required: ""
|
|
340
|
+
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
341
|
+
r(me, {
|
|
342
|
+
modelValue: e(u),
|
|
343
|
+
"onUpdate:modelValue": v[3] || (v[3] = (o) => F(u) ? u.value = o : null),
|
|
344
|
+
label: e(t)("booking.reservation.email"),
|
|
345
|
+
type: "email",
|
|
346
|
+
name: "email",
|
|
347
|
+
autocomplete: "email",
|
|
348
|
+
icon: "at",
|
|
349
|
+
placeholder: e(t)("booking.reservation.emailPlaceholder"),
|
|
350
|
+
required: ""
|
|
351
|
+
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
352
|
+
r(cl, {
|
|
353
|
+
modelValue: e(A),
|
|
354
|
+
"onUpdate:modelValue": v[4] || (v[4] = (o) => F(A) ? A.value = o : null),
|
|
355
|
+
label: e(t)("booking.reservation.phone"),
|
|
356
|
+
icon: "phone-office",
|
|
357
|
+
placeholder: e(t)("booking.reservation.phonePlaceholder"),
|
|
358
|
+
required: ""
|
|
359
|
+
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
360
|
+
d("", !0),
|
|
361
|
+
e(Z) && e(Z).length > 0 ? (a(), i("ul", Pl, [
|
|
362
|
+
(a(!0), i(C, null, R(e(Z), ({
|
|
363
|
+
roomGroupID: o,
|
|
364
|
+
addons: h,
|
|
365
|
+
adultPerRoom: O
|
|
366
|
+
}, b) => (a(), i("li", { key: o }, [
|
|
367
|
+
l("h5", null, [
|
|
368
|
+
l("span", null, n(e(t)("booking.reservation.room")) + " #" + n(b + 1), 1),
|
|
369
|
+
ce(" ("),
|
|
370
|
+
r(V, {
|
|
371
|
+
icon: "male",
|
|
372
|
+
type: "fas",
|
|
373
|
+
color: "header"
|
|
374
|
+
}),
|
|
375
|
+
ce(" " + n(O) + ") ", 1)
|
|
376
|
+
]),
|
|
377
|
+
l("table", Tl, [
|
|
378
|
+
l("thead", null, [
|
|
379
|
+
l("tr", null, [
|
|
380
|
+
l("th", null, [
|
|
381
|
+
l("span", null, n(e(t)("booking.reservation.addons")), 1)
|
|
382
|
+
]),
|
|
383
|
+
$l,
|
|
384
|
+
l("th", El, [
|
|
385
|
+
l("span", null, n(e(t)("booking.availability.price")), 1)
|
|
386
|
+
])
|
|
387
|
+
])
|
|
388
|
+
]),
|
|
389
|
+
l("tbody", null, [
|
|
390
|
+
(a(!0), i(C, null, R(h, ({
|
|
391
|
+
addonID: f,
|
|
392
|
+
cardinality: q,
|
|
393
|
+
name: W,
|
|
394
|
+
price: X,
|
|
395
|
+
quantityStrategy: G
|
|
396
|
+
}) => (a(), i("tr", { key: f }, [
|
|
397
|
+
l("td", null, [
|
|
398
|
+
l("b", null, n(W), 1),
|
|
399
|
+
wl,
|
|
400
|
+
l("span", null, n(e(U)(X, e($))) + " " + n(e(Xe)(G)), 1)
|
|
401
|
+
]),
|
|
402
|
+
l("td", Ol, [
|
|
403
|
+
q === 3 ? (a(), y(x, {
|
|
404
|
+
key: 0,
|
|
405
|
+
modelValue: e(P)[`${o}.${f}.${b}`],
|
|
406
|
+
"onUpdate:modelValue": (z) => e(P)[`${o}.${f}.${b}`] = z,
|
|
407
|
+
small: !0,
|
|
408
|
+
"min-value": 0
|
|
409
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), y(ve, {
|
|
410
|
+
key: 1,
|
|
411
|
+
modelValue: e(P)[`${o}.${f}.${b}`],
|
|
412
|
+
"onUpdate:modelValue": (z) => e(P)[`${o}.${f}.${b}`] = z,
|
|
413
|
+
numeric: !0
|
|
414
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
415
|
+
]),
|
|
416
|
+
l("td", Cl, [
|
|
417
|
+
l("span", null, n(e(U)(e(oe)(f, o, b), e($))), 1)
|
|
418
|
+
])
|
|
419
|
+
]))), 128))
|
|
382
420
|
]),
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
421
|
+
l("tfoot", null, [
|
|
422
|
+
l("tr", null, [
|
|
423
|
+
Al,
|
|
424
|
+
l("td", Dl, [
|
|
425
|
+
l("u", null, [
|
|
426
|
+
l("span", null, n(e(U)(e(se)(o, b), e($))), 1)
|
|
427
|
+
])
|
|
428
|
+
])
|
|
429
|
+
])
|
|
386
430
|
])
|
|
387
431
|
])
|
|
432
|
+
]))), 128))
|
|
433
|
+
])) : d("", !0),
|
|
434
|
+
e(te) !== e(de).FullDayEvent && !e(L) ? (a(), i("div", Ll, [
|
|
435
|
+
l("label", Ul, [
|
|
436
|
+
l("span", null, n(e(t)("event.selectArrivalTime")), 1)
|
|
388
437
|
]),
|
|
389
|
-
l("
|
|
390
|
-
(
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
El,
|
|
400
|
-
l("span", null, n(e($)(Z, e(k))) + " " + n(e(je)(j)), 1)
|
|
401
|
-
]),
|
|
402
|
-
l("td", Ol, [
|
|
403
|
-
S === 3 ? (t(), b(G, {
|
|
404
|
-
key: 0,
|
|
405
|
-
modelValue: e(E)[`${o}.${p}.${m}`],
|
|
406
|
-
"onUpdate:modelValue": (q) => e(E)[`${o}.${p}.${m}`] = q,
|
|
407
|
-
small: !0,
|
|
408
|
-
"min-value": 0
|
|
409
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (t(), b(ve, {
|
|
410
|
-
key: 1,
|
|
411
|
-
modelValue: e(E)[`${o}.${p}.${m}`],
|
|
412
|
-
"onUpdate:modelValue": (q) => e(E)[`${o}.${p}.${m}`] = q,
|
|
413
|
-
numeric: !0
|
|
414
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
415
|
-
]),
|
|
416
|
-
l("td", wl, [
|
|
417
|
-
l("span", null, n(e($)(e(ae)(p, o, m), e(k))), 1)
|
|
418
|
-
])
|
|
438
|
+
l("ul", Bl, [
|
|
439
|
+
(a(!0), i(C, null, R(e(Oe), (o, h) => (a(), i("li", { key: h }, [
|
|
440
|
+
r(ve, {
|
|
441
|
+
modelValue: e(p),
|
|
442
|
+
"onUpdate:modelValue": v[7] || (v[7] = (O) => F(p) ? p.value = O : null),
|
|
443
|
+
type: "radio",
|
|
444
|
+
name: "eventTimeTable",
|
|
445
|
+
val: o.time,
|
|
446
|
+
label: e(ee)(o.time)
|
|
447
|
+
}, null, 8, ["modelValue", "val", "label"])
|
|
419
448
|
]))), 128))
|
|
449
|
+
])
|
|
450
|
+
])) : d("", !0),
|
|
451
|
+
e(De) ? (a(), i("div", Fl, [
|
|
452
|
+
l("label", Rl, [
|
|
453
|
+
l("span", null, n(e(t)("event.selectProducts")), 1)
|
|
420
454
|
]),
|
|
421
|
-
l("
|
|
422
|
-
l("
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
455
|
+
l("table", Nl, [
|
|
456
|
+
l("thead", null, [
|
|
457
|
+
l("tr", null, [
|
|
458
|
+
l("th", null, [
|
|
459
|
+
l("span", null, n(e(t)("booking.reservation.addons")), 1)
|
|
460
|
+
]),
|
|
461
|
+
Sl,
|
|
462
|
+
l("th", Ml, [
|
|
463
|
+
l("span", null, n(e(t)("booking.availability.price")), 1)
|
|
427
464
|
])
|
|
428
465
|
])
|
|
466
|
+
]),
|
|
467
|
+
l("tbody", null, [
|
|
468
|
+
(a(!0), i(C, null, R(e(we).products, ({ productID: o, productName: h, price: O, description: b }) => (a(), i("tr", { key: o }, [
|
|
469
|
+
l("td", null, [
|
|
470
|
+
l("b", null, [
|
|
471
|
+
l("span", null, n(h), 1)
|
|
472
|
+
]),
|
|
473
|
+
ql,
|
|
474
|
+
l("span", null, n(b), 1),
|
|
475
|
+
zl,
|
|
476
|
+
l("span", null, n(e(U)(O, e($))), 1)
|
|
477
|
+
]),
|
|
478
|
+
l("td", Il, [
|
|
479
|
+
r(x, {
|
|
480
|
+
modelValue: e(N)[o],
|
|
481
|
+
"onUpdate:modelValue": (f) => e(N)[o] = f,
|
|
482
|
+
small: !0,
|
|
483
|
+
"min-value": 0
|
|
484
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
485
|
+
]),
|
|
486
|
+
l("td", Zl, [
|
|
487
|
+
l("span", null, n(e(U)(e(oe)(o), e($))), 1)
|
|
488
|
+
])
|
|
489
|
+
]))), 128))
|
|
429
490
|
])
|
|
430
491
|
])
|
|
431
|
-
])
|
|
432
|
-
])
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
492
|
+
])) : d("", !0)
|
|
493
|
+
]),
|
|
494
|
+
resume: k(() => [
|
|
495
|
+
l("li", null, [
|
|
496
|
+
l("span", null, n(e(t)("event.numberOfGuests")), 1),
|
|
497
|
+
l("b", null, n(e(s)), 1)
|
|
498
|
+
]),
|
|
499
|
+
e(L) ? (a(), i("li", jl, [
|
|
500
|
+
l("span", null, n(e(t)("event.numberOfRooms")), 1),
|
|
501
|
+
l("b", null, n(e(S)), 1)
|
|
502
|
+
])) : d("", !0),
|
|
503
|
+
e(L) ? (a(), i("li", Hl, [
|
|
504
|
+
l("span", null, n(e(t)("event.numberOfDays")), 1),
|
|
505
|
+
l("b", null, n(e(E)), 1)
|
|
506
|
+
])) : d("", !0),
|
|
507
|
+
e(L) ? (a(), i("li", Ql, [
|
|
508
|
+
l("span", null, n(e(t)("booking.reservation.arrival")), 1),
|
|
509
|
+
l("b", null, n(e(pe)(e(ne))), 1)
|
|
510
|
+
])) : d("", !0),
|
|
511
|
+
e(L) ? (a(), i("li", Yl, [
|
|
512
|
+
l("span", null, n(e(t)("booking.reservation.departure")), 1),
|
|
513
|
+
l("b", null, n(e(pe)(e(ne), e(E))), 1)
|
|
514
|
+
])) : d("", !0),
|
|
515
|
+
!e(L) && e(p) ? (a(), i("li", Jl, [
|
|
516
|
+
l("span", null, n(e(t)("event.startOfEvent")), 1),
|
|
517
|
+
l("b", null, n(e(ee)(e(p))), 1)
|
|
518
|
+
])) : d("", !0),
|
|
519
|
+
!e(L) && e(le) ? (a(), i("li", Kl, [
|
|
520
|
+
l("span", null, n(e(t)("event.lengthOfEvent")), 1),
|
|
521
|
+
l("b", null, n(e(ee)(e(le))), 1)
|
|
522
|
+
])) : d("", !0),
|
|
523
|
+
!e(L) && e(ae) > 0 ? (a(), i("li", Wl, [
|
|
524
|
+
l("span", null, n(e(t)("booking.availability.basePrice")), 1),
|
|
525
|
+
l("b", null, n(e(U)(e(ae), e($))), 1)
|
|
526
|
+
])) : d("", !0)
|
|
437
527
|
]),
|
|
438
|
-
|
|
439
|
-
(
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
"onUpdate:modelValue": d[7] || (d[7] = (_) => w(O) ? O.value = _ : null),
|
|
443
|
-
type: "radio",
|
|
444
|
-
name: "eventTimeTable",
|
|
445
|
-
val: o.time,
|
|
446
|
-
label: e(x)(o.time)
|
|
447
|
-
}, null, 8, ["modelValue", "val", "label"])
|
|
528
|
+
expenses: k(() => [
|
|
529
|
+
(a(!0), i(C, null, R(e(Z), ({ roomGroupID: o }, h) => (a(), i("li", { key: o }, [
|
|
530
|
+
l("span", null, n(e(t)("booking.reservation.addons")) + " - " + n(e(t)("booking.reservation.room")) + " #" + n(h + 1), 1),
|
|
531
|
+
l("b", null, n(e(U)(e(se)(o, h), e($))), 1)
|
|
448
532
|
]))), 128))
|
|
449
|
-
])
|
|
450
|
-
])) : u("", !0),
|
|
451
|
-
e(Ce) ? (t(), i("div", Fl, [
|
|
452
|
-
l("label", Al, [
|
|
453
|
-
l("span", null, n(e(a)("event.selectProducts")), 1)
|
|
454
533
|
]),
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
l("tr", null, [
|
|
458
|
-
l("th", null, [
|
|
459
|
-
l("span", null, n(e(a)("booking.reservation.addons")), 1)
|
|
460
|
-
]),
|
|
461
|
-
Nl,
|
|
462
|
-
l("th", Sl, [
|
|
463
|
-
l("span", null, n(e(a)("booking.availability.price")), 1)
|
|
464
|
-
])
|
|
465
|
-
])
|
|
466
|
-
]),
|
|
467
|
-
l("tbody", null, [
|
|
468
|
-
(t(!0), i(V, null, D(e(Oe).products, ({ productID: o, productName: c, price: _, description: m }) => (t(), i("tr", { key: o }, [
|
|
469
|
-
l("td", null, [
|
|
470
|
-
l("b", null, [
|
|
471
|
-
l("span", null, n(c), 1)
|
|
472
|
-
]),
|
|
473
|
-
ql,
|
|
474
|
-
l("span", null, n(m), 1),
|
|
475
|
-
Ml,
|
|
476
|
-
l("span", null, n(e($)(_, e(k))), 1)
|
|
477
|
-
]),
|
|
478
|
-
l("td", Il, [
|
|
479
|
-
r(G, {
|
|
480
|
-
modelValue: e(I)[o],
|
|
481
|
-
"onUpdate:modelValue": (p) => e(I)[o] = p,
|
|
482
|
-
small: !0,
|
|
483
|
-
"min-value": 0
|
|
484
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
485
|
-
]),
|
|
486
|
-
l("td", Ql, [
|
|
487
|
-
l("span", null, n(e($)(e(ae)(o), e(k))), 1)
|
|
488
|
-
])
|
|
489
|
-
]))), 128))
|
|
490
|
-
])
|
|
491
|
-
])
|
|
492
|
-
])) : u("", !0)
|
|
534
|
+
_: 2
|
|
535
|
+
}, 1032, ["remark", "is-filled", "is-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "onPrev", "onNext"])) : d("", !0)
|
|
493
536
|
]),
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
l("span", null, n(e(a)("event.numberOfGuests")), 1),
|
|
497
|
-
l("b", null, n(e(s)), 1)
|
|
498
|
-
]),
|
|
499
|
-
e(T) ? (t(), i("li", Wl, [
|
|
500
|
-
l("span", null, n(e(a)("event.numberOfRooms")), 1),
|
|
501
|
-
l("b", null, n(e(B)), 1)
|
|
502
|
-
])) : u("", !0),
|
|
503
|
-
e(T) ? (t(), i("li", Yl, [
|
|
504
|
-
l("span", null, n(e(a)("event.numberOfDays")), 1),
|
|
505
|
-
l("b", null, n(e(f)), 1)
|
|
506
|
-
])) : u("", !0),
|
|
507
|
-
e(T) ? (t(), i("li", zl, [
|
|
508
|
-
l("span", null, n(e(a)("booking.reservation.arrival")), 1),
|
|
509
|
-
l("b", null, n(e(pe)(e(le))), 1)
|
|
510
|
-
])) : u("", !0),
|
|
511
|
-
e(T) ? (t(), i("li", Hl, [
|
|
512
|
-
l("span", null, n(e(a)("booking.reservation.departure")), 1),
|
|
513
|
-
l("b", null, n(e(pe)(e(le), e(f))), 1)
|
|
514
|
-
])) : u("", !0),
|
|
515
|
-
!e(T) && e(O) ? (t(), i("li", Jl, [
|
|
516
|
-
l("span", null, n(e(a)("event.startOfEvent")), 1),
|
|
517
|
-
l("b", null, n(e(x)(e(O))), 1)
|
|
518
|
-
])) : u("", !0),
|
|
519
|
-
!e(T) && e(ee) ? (t(), i("li", Kl, [
|
|
520
|
-
l("span", null, n(e(a)("event.lengthOfEvent")), 1),
|
|
521
|
-
l("b", null, n(e(x)(e(ee))), 1)
|
|
522
|
-
])) : u("", !0),
|
|
523
|
-
!e(T) && e(te) > 0 ? (t(), i("li", Xl, [
|
|
524
|
-
l("span", null, n(e(a)("booking.availability.basePrice")), 1),
|
|
525
|
-
l("b", null, n(e($)(e(te), e(k))), 1)
|
|
526
|
-
])) : u("", !0)
|
|
537
|
+
payment: k(() => [
|
|
538
|
+
r(pl)
|
|
527
539
|
]),
|
|
528
|
-
|
|
529
|
-
(
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
]))), 128))
|
|
540
|
+
confirmation: k(() => [
|
|
541
|
+
r(ul, {
|
|
542
|
+
message: e(t)("event.confirmationMessage")
|
|
543
|
+
}, null, 8, ["message"])
|
|
533
544
|
]),
|
|
534
|
-
_:
|
|
535
|
-
},
|
|
536
|
-
]),
|
|
537
|
-
payment: g(() => [
|
|
538
|
-
r(cl)
|
|
539
|
-
]),
|
|
540
|
-
confirmation: g(() => [
|
|
541
|
-
r(rl, {
|
|
542
|
-
message: e(a)("event.confirmationMessage")
|
|
543
|
-
}, null, 8, ["message"])
|
|
545
|
+
_: 1
|
|
546
|
+
}, 8, ["slideshow", "title", "subtitle"])) : (a(), y(ue, { key: 1 }))
|
|
544
547
|
]),
|
|
545
548
|
_: 1
|
|
546
|
-
}, 8, ["
|
|
549
|
+
}, 8, ["access-token", "styling"])
|
|
547
550
|
]),
|
|
548
551
|
_: 1
|
|
549
|
-
}, 8, ["
|
|
552
|
+
}, 8, ["styling"]));
|
|
553
|
+
}
|
|
554
|
+
}), H = /* @__PURE__ */ ke(Xl, [["__scopeId", "data-v-c609785a"]]), Gl = nl();
|
|
555
|
+
class xl extends HTMLElement {
|
|
556
|
+
constructor() {
|
|
557
|
+
super();
|
|
558
|
+
}
|
|
559
|
+
connectedCallback() {
|
|
560
|
+
const t = typeof H == "function" ? H.options : H;
|
|
561
|
+
let m = Array.isArray(t.props) ? t.props : Object.keys(t.props || {});
|
|
562
|
+
const P = (u) => u.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (c, p) => (p ? "-" : "") + c.toLowerCase()), N = (u) => u.replace(/-./g, (c) => c[1].toUpperCase()), T = {};
|
|
563
|
+
m = m.map(P);
|
|
564
|
+
const _ = {};
|
|
565
|
+
for (const u of this.attributes) {
|
|
566
|
+
const c = u.name, p = c.split(".");
|
|
567
|
+
console.log(c, p.length), p.length > 1 && (_[p[0]] || (_[p[0]] = {}), _[p[0]][N(p[1])] = u.value);
|
|
568
|
+
}
|
|
569
|
+
console.log(_), console.log(m);
|
|
570
|
+
for (const u of m) {
|
|
571
|
+
let c = this.attributes.getNamedItem(u)?.value;
|
|
572
|
+
_.hasOwnProperty(u) && (c = _[u]), console.log(c, u), T[u] = c;
|
|
573
|
+
}
|
|
574
|
+
const g = tl(H, T);
|
|
575
|
+
g.use(al), g.use(Gl), g.use(dl), g.use(ol, { bootstrap: !0 });
|
|
576
|
+
const A = document.createElement("div");
|
|
577
|
+
g.mount(A), this.appendChild(A.children[0]);
|
|
550
578
|
}
|
|
551
|
-
}
|
|
552
|
-
|
|
553
|
-
M.use(xl);
|
|
554
|
-
M.use(tl);
|
|
555
|
-
M.use(ul);
|
|
556
|
-
M.use(al, { bootstrap: !0 });
|
|
557
|
-
M.mount("#konnectio-event-app");
|
|
579
|
+
}
|
|
580
|
+
window.customElements.define("konnectio-event", xl);
|
|
558
581
|
export {
|
|
559
|
-
|
|
582
|
+
xl as default
|
|
560
583
|
};
|