@konnectio/core 4.0.56-rc2 → 4.0.56-rc21
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-Qf4JAgBa.js → ActionField-mMYGNb-7.js} +29 -30
- package/dist/ActionField-mMYGNb-7.js.br +0 -0
- package/dist/AvailabilitySkeleton-iD7Vbt5K.js +215 -0
- package/dist/AvailabilitySkeleton-iD7Vbt5K.js.br +0 -0
- package/dist/{CheckoutWindow-S9xKe_Wf.js → CheckoutWindow-T32YH60g.js} +37 -38
- package/dist/CheckoutWindow-T32YH60g.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-seJ00xvJ.js +7607 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-seJ00xvJ.js.br +0 -0
- package/dist/ErrorMessage-4GwDZEsl.js +36 -0
- package/dist/ErrorMessage-4GwDZEsl.js.br +0 -0
- package/dist/EventAvailabilityForm-jvxOZKWx.js +366 -0
- package/dist/EventAvailabilityForm-jvxOZKWx.js.br +0 -0
- package/dist/{Field-b7XkSAoi.js → Field-EqFBeBE_.js} +11 -13
- package/dist/Field-EqFBeBE_.js.br +0 -0
- package/dist/{ThankYou-LiiG3Zv1.js → ThankYou-pu1PDfhl.js} +4772 -5989
- package/dist/ThankYou-pu1PDfhl.js.br +0 -0
- package/dist/_--L3VvP-p.js +30301 -0
- package/dist/_--L3VvP-p.js.br +0 -0
- package/dist/availability.js +80 -147
- package/dist/availability.js.br +0 -0
- package/dist/event.js +342 -529
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +92 -57
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +272 -259
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +1658 -1518
- package/dist/hotel.js.br +0 -0
- package/dist/polyfill.js +3201 -3210
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +34 -25
- package/dist/ActionField-Qf4JAgBa.js.br +0 -0
- package/dist/ActionField-ztW-1xka.cjs +0 -1
- package/dist/AvailabilitySkeleton-GPTCv3Xy.js +0 -242
- package/dist/AvailabilitySkeleton-GPTCv3Xy.js.br +0 -0
- package/dist/AvailabilitySkeleton-v0QVPuim.cjs +0 -1
- package/dist/CheckoutWindow-NUwbNAPw.cjs +0 -1
- package/dist/CheckoutWindow-S9xKe_Wf.js.br +0 -0
- package/dist/Container-Fl2PKj-u.js +0 -59
- package/dist/Container-Fl2PKj-u.js.br +0 -0
- package/dist/Container-Y6_3uTWy.cjs +0 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-hZTsLsOv.cjs +0 -2
- package/dist/DateField.vue_vue_type_style_index_0_lang-iz9zEBOR.js +0 -8559
- package/dist/DateField.vue_vue_type_style_index_0_lang-iz9zEBOR.js.br +0 -0
- package/dist/Field-UTbHMN9U.cjs +0 -1
- package/dist/Field-b7XkSAoi.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-30hJu8vr.js +0 -21406
- package/dist/SelectField.vue_vue_type_style_index_0_lang-30hJu8vr.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-eLyZ247i.cjs +0 -851
- package/dist/ThankYou-LiiG3Zv1.js.br +0 -0
- package/dist/ThankYou-M6d4G8pc.cjs +0 -59
- package/dist/_-FAlGPZqe.js +0 -20
- package/dist/_-oL4OsiNw.cjs +0 -1
- package/dist/_commonjsHelpers-f52AuuUj.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 -5
- 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 -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-GaUgVNzy.cjs +0 -1
- package/dist/event-MXmxvcpC.js +0 -329
- package/dist/event-MXmxvcpC.js.br +0 -0
- 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 -3
- package/dist/hotel.cjs +0 -19
- 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.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/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,558 +1,371 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import "./_commonjsHelpers-f3sTPFkQ.js";
|
|
9
|
-
import "./_-FAlGPZqe.js";
|
|
10
|
-
const vl = { class: "fresh-booking-event-listing-information" }, bl = { key: 0 }, gl = { key: 1 }, kl = /* @__PURE__ */ ge({
|
|
11
|
-
__name: "Event",
|
|
12
|
-
props: {
|
|
13
|
-
name: {},
|
|
14
|
-
type: {},
|
|
15
|
-
description: {},
|
|
16
|
-
fromDate: {},
|
|
17
|
-
toDate: {},
|
|
18
|
-
listingId: {},
|
|
19
|
-
tableGroupId: {},
|
|
20
|
-
days: {},
|
|
21
|
-
timeFrom: {},
|
|
22
|
-
timeTo: {},
|
|
23
|
-
maxOnlineReservationLimit: {},
|
|
24
|
-
minimumPersonCount: {},
|
|
25
|
-
fromPrice: {},
|
|
26
|
-
gallery: {},
|
|
27
|
-
soldOut: { type: Boolean, default: !1 },
|
|
28
|
-
layout: {},
|
|
29
|
-
trackingEnabled: { type: Boolean },
|
|
30
|
-
callback: {}
|
|
31
|
-
},
|
|
32
|
-
setup(L) {
|
|
33
|
-
const { t: o } = ke(), v = L, { display: E } = Xe(), { currency: I } = Y(he()), {
|
|
34
|
-
maxNumberOfPeople: U,
|
|
35
|
-
numberOfPeople: H,
|
|
36
|
-
eventId: A,
|
|
37
|
-
tableGroupId: R
|
|
38
|
-
} = Y(j()), {
|
|
39
|
-
getTemplateAvailability: C,
|
|
40
|
-
getEventAvailability: N,
|
|
41
|
-
isEventListingLoading: O
|
|
42
|
-
} = j(), P = ze(0), z = Qe(() => O(v.listingId)), J = () => {
|
|
43
|
-
P.value > 0 ? (A.value = v.listingId, H.value = P.value, C(v.callback)) : E({
|
|
44
|
-
type: "error",
|
|
45
|
-
message: o("alert.error.selectPeople")
|
|
46
|
-
});
|
|
47
|
-
}, h = () => {
|
|
48
|
-
P.value > 0 ? (A.value = v.listingId, R.value = v.tableGroupId, H.value = P.value, N(v.callback)) : E({
|
|
49
|
-
type: "error",
|
|
50
|
-
message: o("alert.error.selectPeople")
|
|
51
|
-
});
|
|
52
|
-
};
|
|
53
|
-
return (s, y) => (t(), b(al, {
|
|
54
|
-
"listing-id": s.listingId,
|
|
55
|
-
gallery: s.gallery,
|
|
56
|
-
name: s.name,
|
|
57
|
-
description: s.description,
|
|
58
|
-
layout: e(Ze).Event
|
|
59
|
-
}, We({
|
|
60
|
-
action: g(() => [
|
|
61
|
-
r(dl, {
|
|
62
|
-
modelValue: P.value,
|
|
63
|
-
"onUpdate:modelValue": y[0] || (y[0] = (B) => P.value = B),
|
|
64
|
-
type: "number",
|
|
65
|
-
label: e(o)("event.numberOfGuests"),
|
|
66
|
-
buttonLabel: s.soldOut ? e(o)("event.soldOut") : e(o)("event.bookNowButton"),
|
|
67
|
-
buttonDisabled: s.soldOut,
|
|
68
|
-
"min-value": s.type === "event" ? 1 : s.minimumPersonCount,
|
|
69
|
-
"max-value": s.type === "event" ? s.maxOnlineReservationLimit || 1 / 0 : e(U),
|
|
70
|
-
"is-loading": z.value,
|
|
71
|
-
"onUpdate:isLoading": y[1] || (y[1] = (B) => z.value = B),
|
|
72
|
-
onAction: y[2] || (y[2] = (B) => s.type === "event" ? h() : J())
|
|
73
|
-
}, null, 8, ["modelValue", "label", "buttonLabel", "buttonDisabled", "min-value", "max-value", "is-loading"])
|
|
74
|
-
]),
|
|
75
|
-
_: 2
|
|
76
|
-
}, [
|
|
77
|
-
s.type === "event" ? {
|
|
78
|
-
name: "description",
|
|
79
|
-
fn: g(() => [
|
|
80
|
-
l("ul", vl, [
|
|
81
|
-
l("li", null, [
|
|
82
|
-
r(k, {
|
|
83
|
-
icon: "calendar-range",
|
|
84
|
-
color: "header"
|
|
85
|
-
}),
|
|
86
|
-
l("span", null, n(e(Ge)(s.days)), 1)
|
|
87
|
-
]),
|
|
88
|
-
e(re)(s.fromDate, s.toDate) < 180 ? (t(), i("li", bl, [
|
|
89
|
-
r(k, {
|
|
90
|
-
icon: "calendar-days",
|
|
91
|
-
color: "header"
|
|
92
|
-
}),
|
|
93
|
-
l("span", null, n(e(ue)(s.fromDate, s.toDate)), 1)
|
|
94
|
-
])) : u("", !0),
|
|
95
|
-
l("li", null, [
|
|
96
|
-
r(k, {
|
|
97
|
-
icon: "calendar-clock",
|
|
98
|
-
color: "header"
|
|
99
|
-
}),
|
|
100
|
-
l("span", null, n(e(xe)(s.timeFrom, s.timeTo)), 1)
|
|
101
|
-
]),
|
|
102
|
-
s.maxOnlineReservationLimit ? (t(), i("li", gl, [
|
|
103
|
-
r(k, {
|
|
104
|
-
icon: "user-alt",
|
|
105
|
-
color: "header"
|
|
106
|
-
}),
|
|
107
|
-
l("span", null, n(`1 - ${s.maxOnlineReservationLimit} ${e(o)("general.people")}`), 1)
|
|
108
|
-
])) : u("", !0)
|
|
109
|
-
])
|
|
110
|
-
]),
|
|
111
|
-
key: "0"
|
|
112
|
-
} : {
|
|
113
|
-
name: "description",
|
|
114
|
-
fn: g(() => [
|
|
115
|
-
l("ul", { class: "fresh-booking-event-listing-information" }, [
|
|
116
|
-
e(re)(s.fromDate, s.toDate) < 180 ? (t(), i("li", { key: 0 }, [
|
|
117
|
-
r(k, {
|
|
118
|
-
icon: "calendar-days",
|
|
119
|
-
color: "header"
|
|
120
|
-
}),
|
|
121
|
-
l("span", null, n(e(ue)(s.fromDate, s.toDate, !0)), 1)
|
|
122
|
-
])) : u("", !0),
|
|
123
|
-
l("li", null, [
|
|
124
|
-
r(k, {
|
|
125
|
-
icon: "user-alt",
|
|
126
|
-
color: "header"
|
|
127
|
-
}),
|
|
128
|
-
l("span", null, n(`${s.minimumPersonCount} - ${e(U)} ${e(o)("general.people")}`), 1)
|
|
129
|
-
]),
|
|
130
|
-
l("li", null, [
|
|
131
|
-
r(k, {
|
|
132
|
-
icon: "money-bill",
|
|
133
|
-
color: "header"
|
|
134
|
-
}),
|
|
135
|
-
l("span", null, n(`${e(o)("general.pricesFrom")} ${e($)(s.fromPrice, e(I))}`), 1)
|
|
136
|
-
])
|
|
137
|
-
])
|
|
138
|
-
]),
|
|
139
|
-
key: "1"
|
|
140
|
-
}
|
|
141
|
-
]), 1032, ["listing-id", "gallery", "name", "description", "layout"]));
|
|
142
|
-
}
|
|
143
|
-
}), be = /* @__PURE__ */ ye(kl, [["__scopeId", "data-v-013d2269"]]), F = (L) => (He("data-v-b2eee97d"), L = L(), Je(), L), hl = { class: "fresh-booking-panel" }, yl = {
|
|
144
|
-
key: 0,
|
|
145
|
-
id: "fresh-booking-event-overview"
|
|
146
|
-
}, fl = { class: "fresh-booking-event-listings" }, _l = { class: "fresh-booking-event-listings" }, Vl = {
|
|
1
|
+
import { d as Ve, j as Ee, B as I, D as Te, l as Be, G as Ce, o as a, a as _, w as p, S as Pe, f as v, b as t, L as Ae, u as e, H as P, O as ee, e as S, i as r, T as te, h as s, F as N, J as w, t as n, K as ne, M as xe, N as y, P as Fe, Q as M, R as le, q as Ne, s as we, v as Oe, x as De, g as Le, y as $e, z as Ue, A as Re, U as Se } from "./_--L3VvP-p.js";
|
|
2
|
+
import { M as Me, R as qe, T as ze, G as je } from "./ThankYou-pu1PDfhl.js";
|
|
3
|
+
import { u as oe, E as He } from "./EventAvailabilityForm-jvxOZKWx.js";
|
|
4
|
+
import "./ActionField-mMYGNb-7.js";
|
|
5
|
+
import { P as Qe, C as ae, a as Ze } from "./CheckoutWindow-T32YH60g.js";
|
|
6
|
+
const V = (A) => (Oe("data-v-693ef234"), A = A(), De(), A), Je = { class: "fresh-booking-panel" };
|
|
7
|
+
const Ke = {
|
|
147
8
|
key: 2,
|
|
148
9
|
id: "fresh-booking-event-addons"
|
|
149
|
-
},
|
|
10
|
+
}, We = { class: "fresh-booking-table" }, Ye = /* @__PURE__ */ V(() => /* @__PURE__ */ t("th", { class: "fresh-booking-event-addons-input" }, null, -1)), Xe = { class: "fresh-booking-event-addons-price" }, Ge = /* @__PURE__ */ V(() => /* @__PURE__ */ t("br", null, null, -1)), Ie = { class: "fresh-booking-event-addons-input" }, et = { class: "fresh-booking-event-addons-price" }, tt = /* @__PURE__ */ V(() => /* @__PURE__ */ t("td", { colspan: "2" }, null, -1)), nt = { class: "fresh-booking-event-addons-price" }, lt = { key: 3 }, ot = { class: "fresh-booking-label required" }, at = { id: "fresh-booking-event-table" }, st = { key: 4 }, it = { class: "fresh-booking-label required" }, rt = { class: "fresh-booking-table" }, ut = /* @__PURE__ */ V(() => /* @__PURE__ */ t("th", { class: "fresh-booking-event-addons-input" }, null, -1)), dt = { class: "fresh-booking-event-addons-price" }, ct = /* @__PURE__ */ V(() => /* @__PURE__ */ t("br", null, null, -1)), mt = /* @__PURE__ */ V(() => /* @__PURE__ */ t("br", null, null, -1)), pt = { class: "fresh-booking-event-addons-input" }, vt = { class: "fresh-booking-event-addons-price" }, ht = { key: 0 }, bt = { key: 1 }, kt = { key: 2 }, ft = { key: 3 }, gt = { key: 4 }, _t = { key: 5 }, yt = { key: 6 }, Vt = /* @__PURE__ */ V(() => /* @__PURE__ */ t("div", null, "Loading", -1)), Et = /* @__PURE__ */ Ve({
|
|
150
11
|
name: "EventLayout",
|
|
151
12
|
__name: "Event",
|
|
152
13
|
props: {
|
|
153
14
|
accessToken: {},
|
|
154
15
|
styling: {}
|
|
155
16
|
},
|
|
156
|
-
setup(
|
|
157
|
-
const { t: o } =
|
|
158
|
-
searchDate:
|
|
17
|
+
setup(A) {
|
|
18
|
+
const { t: o } = Ee(), {
|
|
19
|
+
searchDate: x,
|
|
159
20
|
addons: E,
|
|
160
|
-
products:
|
|
161
|
-
numberOfDays:
|
|
162
|
-
discountCode:
|
|
163
|
-
name:
|
|
164
|
-
phone:
|
|
165
|
-
email:
|
|
166
|
-
remark:
|
|
167
|
-
arrivalTime:
|
|
168
|
-
title:
|
|
169
|
-
subtitle:
|
|
170
|
-
slideshow:
|
|
171
|
-
currency:
|
|
172
|
-
numberOfPeople:
|
|
173
|
-
numberOfTotalDays:
|
|
174
|
-
numberOfRooms:
|
|
175
|
-
basePrice:
|
|
176
|
-
totalPrice:
|
|
177
|
-
isPaymentLoading:
|
|
178
|
-
hasEvents:
|
|
179
|
-
hasTemplates:
|
|
180
|
-
getEvents:
|
|
181
|
-
getTemplates:
|
|
182
|
-
getEventData:
|
|
183
|
-
getTemplateData:
|
|
184
|
-
getEventTableData:
|
|
185
|
-
length:
|
|
186
|
-
roomUpgrade:
|
|
187
|
-
weekendFee:
|
|
188
|
-
fromDate:
|
|
189
|
-
hasProducts:
|
|
190
|
-
eventRateType:
|
|
191
|
-
isMetaDataAvailable:
|
|
192
|
-
areListingsAvailable:
|
|
193
|
-
isReservationFormFilled:
|
|
194
|
-
isAvailabilityDataAvailable:
|
|
21
|
+
products: O,
|
|
22
|
+
numberOfDays: T,
|
|
23
|
+
discountCode: B,
|
|
24
|
+
name: C,
|
|
25
|
+
phone: i,
|
|
26
|
+
email: d,
|
|
27
|
+
remark: c,
|
|
28
|
+
arrivalTime: F,
|
|
29
|
+
title: Ct,
|
|
30
|
+
subtitle: Pt,
|
|
31
|
+
slideshow: At,
|
|
32
|
+
currency: f,
|
|
33
|
+
numberOfPeople: se,
|
|
34
|
+
numberOfTotalDays: q,
|
|
35
|
+
numberOfRooms: ie,
|
|
36
|
+
basePrice: re,
|
|
37
|
+
totalPrice: ue,
|
|
38
|
+
isPaymentLoading: de,
|
|
39
|
+
hasEvents: xt,
|
|
40
|
+
hasTemplates: Ft,
|
|
41
|
+
getEvents: Nt,
|
|
42
|
+
getTemplates: wt,
|
|
43
|
+
getEventData: ce,
|
|
44
|
+
getTemplateData: D,
|
|
45
|
+
getEventTableData: me,
|
|
46
|
+
length: z,
|
|
47
|
+
roomUpgrade: pe,
|
|
48
|
+
weekendFee: ve,
|
|
49
|
+
fromDate: j,
|
|
50
|
+
hasProducts: he,
|
|
51
|
+
eventRateType: H,
|
|
52
|
+
isMetaDataAvailable: Ot,
|
|
53
|
+
areListingsAvailable: Dt,
|
|
54
|
+
isReservationFormFilled: be,
|
|
55
|
+
isAvailabilityDataAvailable: ke,
|
|
195
56
|
// getEventImages,
|
|
196
|
-
isTemplateEvent:
|
|
197
|
-
tableBasePrice:
|
|
198
|
-
} =
|
|
199
|
-
initialize:
|
|
200
|
-
validateDiscountCode:
|
|
201
|
-
fetchListings:
|
|
202
|
-
createBooking:
|
|
203
|
-
localAddonPrice:
|
|
204
|
-
totalAddonPrice:
|
|
205
|
-
reset:
|
|
206
|
-
} =
|
|
207
|
-
hideEvents:
|
|
208
|
-
hideEventTemplates:
|
|
209
|
-
} =
|
|
210
|
-
return
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
key: 0,
|
|
220
|
-
slideshow: e(J),
|
|
221
|
-
title: e(P),
|
|
222
|
-
subtitle: e(z)
|
|
223
|
-
}, {
|
|
224
|
-
availability: g(({ next: W }) => [
|
|
225
|
-
l("div", hl, [
|
|
226
|
-
r(cl, {
|
|
227
|
-
modelValue: e(v),
|
|
228
|
-
"onUpdate:modelValue": d[0] || (d[0] = (f) => w(v) ? v.value = f : null),
|
|
229
|
-
label: e(o)("event.selectDate"),
|
|
230
|
-
"min-date": /* @__PURE__ */ new Date()
|
|
231
|
-
}, null, 8, ["modelValue", "label", "min-date"])
|
|
232
|
-
]),
|
|
233
|
-
e(Be) ? (t(), i("div", yl, [
|
|
234
|
-
e(Pe) && !e(Me) ? (t(), i(V, { key: 0 }, [
|
|
235
|
-
l("h2", null, [
|
|
236
|
-
r(k, {
|
|
237
|
-
icon: "clock-seven",
|
|
238
|
-
type: "fal",
|
|
239
|
-
color: "header"
|
|
240
|
-
}),
|
|
241
|
-
l("span", null, n(e(o)("event.eventsTitle")), 1)
|
|
242
|
-
]),
|
|
243
|
-
l("ul", fl, [
|
|
244
|
-
(t(!0), i(V, null, D(e($e), ({
|
|
245
|
-
id: f,
|
|
246
|
-
days: a,
|
|
247
|
-
name: p,
|
|
248
|
-
timeFrom: _,
|
|
249
|
-
timeTo: m,
|
|
250
|
-
fromDate: c,
|
|
251
|
-
toDate: S,
|
|
252
|
-
tableGroupID: K,
|
|
253
|
-
description: X,
|
|
254
|
-
soldOut: Z,
|
|
255
|
-
maxOnlineReservationLimit: q
|
|
256
|
-
}) => (t(), b(be, {
|
|
257
|
-
key: f,
|
|
258
|
-
type: "event",
|
|
259
|
-
"listing-id": f,
|
|
260
|
-
"table-group-id": K,
|
|
261
|
-
description: X,
|
|
262
|
-
name: p,
|
|
263
|
-
days: a,
|
|
264
|
-
"from-date": c,
|
|
265
|
-
"to-date": S,
|
|
266
|
-
"max-online-reservation-limit": q,
|
|
267
|
-
"time-from": _,
|
|
268
|
-
"time-to": m,
|
|
269
|
-
"sold-out": Z,
|
|
270
|
-
callback: W
|
|
271
|
-
}, null, 8, ["listing-id", "table-group-id", "description", "name", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "callback"]))), 128))
|
|
272
|
-
])
|
|
273
|
-
], 64)) : u("", !0),
|
|
274
|
-
e(Te) && !e(Ie) ? (t(), i(V, { key: 1 }, [
|
|
275
|
-
l("h2", null, [
|
|
276
|
-
r(k, {
|
|
277
|
-
icon: "stars",
|
|
278
|
-
type: "fal",
|
|
279
|
-
color: "header"
|
|
280
|
-
}),
|
|
281
|
-
l("span", null, n(e(o)("event.stayTitle")), 1)
|
|
282
|
-
]),
|
|
283
|
-
l("ul", _l, [
|
|
284
|
-
(t(!0), i(V, null, D(e(Ee), ({
|
|
285
|
-
id: f,
|
|
286
|
-
name: a,
|
|
287
|
-
fromDate: p,
|
|
288
|
-
toDate: _,
|
|
289
|
-
minimumPersonCount: m,
|
|
290
|
-
fromPrice: c,
|
|
291
|
-
description: S
|
|
292
|
-
}) => (t(), b(be, {
|
|
293
|
-
key: f,
|
|
294
|
-
type: "template",
|
|
295
|
-
"listing-id": f,
|
|
296
|
-
name: a,
|
|
297
|
-
description: S,
|
|
298
|
-
"from-date": p,
|
|
299
|
-
"to-date": _,
|
|
300
|
-
"minimum-person-count": m,
|
|
301
|
-
fromPrice: c,
|
|
302
|
-
callback: W
|
|
303
|
-
}, null, 8, ["listing-id", "name", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "callback"]))), 128))
|
|
304
|
-
])
|
|
305
|
-
], 64)) : u("", !0)
|
|
306
|
-
])) : (t(), b(de, { key: 1 }))
|
|
307
|
-
]),
|
|
308
|
-
reservation: g(({ next: W, prev: f }) => [
|
|
309
|
-
e(Re) ? (t(), b(il, {
|
|
310
|
-
key: 0,
|
|
311
|
-
remark: e(N),
|
|
312
|
-
"onUpdate:remark": d[8] || (d[8] = (a) => w(N) ? N.value = a : null),
|
|
313
|
-
"is-filled": e(Fe),
|
|
314
|
-
"is-loading": e(Ve),
|
|
315
|
-
"base-price": e(fe),
|
|
316
|
-
"total-price": e(_e),
|
|
317
|
-
"weekend-fee": e(Le),
|
|
318
|
-
"room-upgrade": e(De),
|
|
319
|
-
onPrev: (a) => e(qe)(f),
|
|
320
|
-
onNext: (a) => e(Se)(W)
|
|
57
|
+
isTemplateEvent: k,
|
|
58
|
+
tableBasePrice: Q
|
|
59
|
+
} = I(oe()), {
|
|
60
|
+
initialize: fe,
|
|
61
|
+
validateDiscountCode: Lt,
|
|
62
|
+
fetchListings: ge,
|
|
63
|
+
createBooking: _e,
|
|
64
|
+
localAddonPrice: Z,
|
|
65
|
+
totalAddonPrice: J,
|
|
66
|
+
reset: ye
|
|
67
|
+
} = oe(), {
|
|
68
|
+
hideEvents: $t,
|
|
69
|
+
hideEventTemplates: Ut
|
|
70
|
+
} = I(Te());
|
|
71
|
+
return Be(() => fe()), Ce(x, () => ge()), (K, u) => (a(), _(we, { styling: K.styling }, {
|
|
72
|
+
default: p(() => [
|
|
73
|
+
(a(), _(Pe, null, {
|
|
74
|
+
default: p(() => [
|
|
75
|
+
v(Ne, {
|
|
76
|
+
id: "fresh-booking-event-module",
|
|
77
|
+
class: "fresh-booking-app",
|
|
78
|
+
type: "event",
|
|
79
|
+
"access-token": K.accessToken
|
|
321
80
|
}, {
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
label: e(o)("event.numberOfDays"),
|
|
328
|
-
"min-value": 1,
|
|
329
|
-
required: ""
|
|
330
|
-
}, null, 8, ["modelValue", "label"])) : u("", !0),
|
|
331
|
-
r(pe, {
|
|
332
|
-
modelValue: e(A),
|
|
333
|
-
"onUpdate:modelValue": d[2] || (d[2] = (a) => w(A) ? A.value = a : null),
|
|
334
|
-
type: "text",
|
|
335
|
-
label: e(o)("booking.reservation.name"),
|
|
336
|
-
icon: "user-alt",
|
|
337
|
-
placeholder: e(o)("booking.reservation.namePlaceholder"),
|
|
338
|
-
required: ""
|
|
339
|
-
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
340
|
-
r(pe, {
|
|
341
|
-
modelValue: e(C),
|
|
342
|
-
"onUpdate:modelValue": d[3] || (d[3] = (a) => w(C) ? C.value = a : null),
|
|
343
|
-
label: e(o)("booking.reservation.email"),
|
|
344
|
-
type: "email",
|
|
345
|
-
name: "email",
|
|
346
|
-
autocomplete: "email",
|
|
347
|
-
icon: "at",
|
|
348
|
-
placeholder: e(o)("booking.reservation.emailPlaceholder"),
|
|
349
|
-
required: ""
|
|
350
|
-
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
351
|
-
r(ml, {
|
|
352
|
-
modelValue: e(R),
|
|
353
|
-
"onUpdate:modelValue": d[4] || (d[4] = (a) => w(R) ? R.value = a : null),
|
|
354
|
-
label: e(o)("booking.reservation.phone"),
|
|
355
|
-
icon: "phone-office",
|
|
356
|
-
placeholder: e(o)("booking.reservation.phonePlaceholder"),
|
|
357
|
-
required: ""
|
|
358
|
-
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
359
|
-
u("", !0),
|
|
360
|
-
e(Q) && e(Q).length > 0 ? (t(), i("ul", Vl, [
|
|
361
|
-
(t(!0), i(V, null, D(e(Q), ({
|
|
362
|
-
roomGroupID: a,
|
|
363
|
-
addons: p,
|
|
364
|
-
adultPerRoom: _
|
|
365
|
-
}, m) => (t(), i("li", { key: a }, [
|
|
366
|
-
l("h5", null, [
|
|
367
|
-
l("span", null, n(e(o)("booking.reservation.room")) + " #" + n(m + 1), 1),
|
|
368
|
-
ie(" ("),
|
|
369
|
-
r(k, {
|
|
370
|
-
icon: "male",
|
|
371
|
-
type: "fas",
|
|
372
|
-
color: "header"
|
|
373
|
-
}),
|
|
374
|
-
ie(" " + n(_) + ") ", 1)
|
|
81
|
+
default: p(() => [
|
|
82
|
+
v(Me, null, {
|
|
83
|
+
availability: p(({ next: W }) => [
|
|
84
|
+
t("div", Je, [
|
|
85
|
+
v(He)
|
|
375
86
|
]),
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
87
|
+
(a(), _(Ae, { key: 1 }))
|
|
88
|
+
]),
|
|
89
|
+
reservation: p(({ next: W, prev: U }) => [
|
|
90
|
+
e(ke) ? (a(), _(qe, {
|
|
91
|
+
key: 0,
|
|
92
|
+
remark: e(c),
|
|
93
|
+
"onUpdate:remark": u[7] || (u[7] = (l) => P(c) ? c.value = l : null),
|
|
94
|
+
"is-filled": e(be),
|
|
95
|
+
"is-loading": e(de),
|
|
96
|
+
"base-price": e(re),
|
|
97
|
+
"total-price": e(ue),
|
|
98
|
+
"weekend-fee": e(ve),
|
|
99
|
+
"room-upgrade": e(pe),
|
|
100
|
+
onPrev: (l) => e(ye)(U),
|
|
101
|
+
onNext: (l) => e(_e)(W)
|
|
102
|
+
}, {
|
|
103
|
+
form: p(() => [
|
|
104
|
+
e(H) === e(ee).FullDayEvent ? (a(), _(S, {
|
|
105
|
+
key: 0,
|
|
106
|
+
modelValue: e(T),
|
|
107
|
+
"onUpdate:modelValue": u[0] || (u[0] = (l) => P(T) ? T.value = l : null),
|
|
108
|
+
label: e(o)("event.numberOfDays"),
|
|
109
|
+
"min-value": 1,
|
|
110
|
+
required: ""
|
|
111
|
+
}, null, 8, ["modelValue", "label"])) : r("", !0),
|
|
112
|
+
v(te, {
|
|
113
|
+
modelValue: e(C),
|
|
114
|
+
"onUpdate:modelValue": u[1] || (u[1] = (l) => P(C) ? C.value = l : null),
|
|
115
|
+
type: "text",
|
|
116
|
+
label: e(o)("booking.reservation.name"),
|
|
117
|
+
icon: "user-alt",
|
|
118
|
+
placeholder: e(o)("booking.reservation.namePlaceholder"),
|
|
119
|
+
required: ""
|
|
120
|
+
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
121
|
+
v(te, {
|
|
122
|
+
modelValue: e(d),
|
|
123
|
+
"onUpdate:modelValue": u[2] || (u[2] = (l) => P(d) ? d.value = l : null),
|
|
124
|
+
label: e(o)("booking.reservation.email"),
|
|
125
|
+
type: "email",
|
|
126
|
+
name: "email",
|
|
127
|
+
autocomplete: "email",
|
|
128
|
+
icon: "at",
|
|
129
|
+
placeholder: e(o)("booking.reservation.emailPlaceholder"),
|
|
130
|
+
required: ""
|
|
131
|
+
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
132
|
+
v(Qe, {
|
|
133
|
+
modelValue: e(i),
|
|
134
|
+
"onUpdate:modelValue": u[3] || (u[3] = (l) => P(i) ? i.value = l : null),
|
|
135
|
+
label: e(o)("booking.reservation.phone"),
|
|
136
|
+
icon: "phone-office",
|
|
137
|
+
placeholder: e(o)("booking.reservation.phonePlaceholder"),
|
|
138
|
+
required: ""
|
|
139
|
+
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
140
|
+
r("", !0),
|
|
141
|
+
e(D) && e(D).length > 0 ? (a(), s("ul", Ke, [
|
|
142
|
+
(a(!0), s(N, null, w(e(D), ({
|
|
143
|
+
roomGroupID: l,
|
|
144
|
+
addons: h,
|
|
145
|
+
adultPerRoom: g
|
|
146
|
+
}, m) => (a(), s("li", { key: l }, [
|
|
147
|
+
t("h5", null, [
|
|
148
|
+
t("span", null, n(e(o)("booking.reservation.room")) + " #" + n(m + 1), 1),
|
|
149
|
+
ne(" ("),
|
|
150
|
+
v(xe, {
|
|
151
|
+
icon: "male",
|
|
152
|
+
type: "fas",
|
|
153
|
+
color: "header"
|
|
154
|
+
}),
|
|
155
|
+
ne(" " + n(g) + ") ", 1)
|
|
156
|
+
]),
|
|
157
|
+
t("table", We, [
|
|
158
|
+
t("thead", null, [
|
|
159
|
+
t("tr", null, [
|
|
160
|
+
t("th", null, [
|
|
161
|
+
t("span", null, n(e(o)("booking.reservation.addons")), 1)
|
|
162
|
+
]),
|
|
163
|
+
Ye,
|
|
164
|
+
t("th", Xe, [
|
|
165
|
+
t("span", null, n(e(o)("booking.availability.price")), 1)
|
|
166
|
+
])
|
|
167
|
+
])
|
|
168
|
+
]),
|
|
169
|
+
t("tbody", null, [
|
|
170
|
+
(a(!0), s(N, null, w(h, ({
|
|
171
|
+
addonID: b,
|
|
172
|
+
cardinality: R,
|
|
173
|
+
name: Y,
|
|
174
|
+
price: X,
|
|
175
|
+
quantityStrategy: G
|
|
176
|
+
}) => (a(), s("tr", { key: b }, [
|
|
177
|
+
t("td", null, [
|
|
178
|
+
t("b", null, n(Y), 1),
|
|
179
|
+
Ge,
|
|
180
|
+
t("span", null, n(e(y)(X, e(f))) + " " + n(e(Fe)(G)), 1)
|
|
181
|
+
]),
|
|
182
|
+
t("td", Ie, [
|
|
183
|
+
R === 3 ? (a(), _(S, {
|
|
184
|
+
key: 0,
|
|
185
|
+
modelValue: e(E)[`${l}.${b}.${m}`],
|
|
186
|
+
"onUpdate:modelValue": (L) => e(E)[`${l}.${b}.${m}`] = L,
|
|
187
|
+
small: !0,
|
|
188
|
+
"min-value": 0
|
|
189
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (a(), _(ae, {
|
|
190
|
+
key: 1,
|
|
191
|
+
modelValue: e(E)[`${l}.${b}.${m}`],
|
|
192
|
+
"onUpdate:modelValue": (L) => e(E)[`${l}.${b}.${m}`] = L,
|
|
193
|
+
numeric: !0
|
|
194
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
195
|
+
]),
|
|
196
|
+
t("td", et, [
|
|
197
|
+
t("span", null, n(e(y)(e(Z)(b, l, m), e(f))), 1)
|
|
198
|
+
])
|
|
199
|
+
]))), 128))
|
|
200
|
+
]),
|
|
201
|
+
t("tfoot", null, [
|
|
202
|
+
t("tr", null, [
|
|
203
|
+
tt,
|
|
204
|
+
t("td", nt, [
|
|
205
|
+
t("u", null, [
|
|
206
|
+
t("span", null, n(e(y)(e(J)(l, m), e(f))), 1)
|
|
207
|
+
])
|
|
208
|
+
])
|
|
209
|
+
])
|
|
210
|
+
])
|
|
211
|
+
])
|
|
212
|
+
]))), 128))
|
|
213
|
+
])) : r("", !0),
|
|
214
|
+
e(H) !== e(ee).FullDayEvent && !e(k) ? (a(), s("div", lt, [
|
|
215
|
+
t("label", ot, [
|
|
216
|
+
t("span", null, n(e(o)("event.selectArrivalTime")), 1)
|
|
381
217
|
]),
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
218
|
+
t("ul", at, [
|
|
219
|
+
(a(!0), s(N, null, w(e(me), (l, h) => (a(), s("li", { key: h }, [
|
|
220
|
+
v(ae, {
|
|
221
|
+
modelValue: e(F),
|
|
222
|
+
"onUpdate:modelValue": u[6] || (u[6] = (g) => P(F) ? F.value = g : null),
|
|
223
|
+
type: "radio",
|
|
224
|
+
name: "eventTimeTable",
|
|
225
|
+
val: l.time,
|
|
226
|
+
label: e(M)(l.time)
|
|
227
|
+
}, null, 8, ["modelValue", "val", "label"])
|
|
228
|
+
]))), 128))
|
|
385
229
|
])
|
|
386
|
-
])
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
addonID: c,
|
|
391
|
-
cardinality: S,
|
|
392
|
-
name: K,
|
|
393
|
-
price: X,
|
|
394
|
-
quantityStrategy: Z
|
|
395
|
-
}) => (t(), i("tr", { key: c }, [
|
|
396
|
-
l("td", null, [
|
|
397
|
-
l("b", null, n(K), 1),
|
|
398
|
-
El,
|
|
399
|
-
l("span", null, n(e($)(X, e(h))) + " " + n(e(ll)(Z)), 1)
|
|
230
|
+
])) : r("", !0),
|
|
231
|
+
e(he) ? (a(), s("div", st, [
|
|
232
|
+
t("label", it, [
|
|
233
|
+
t("span", null, n(e(o)("event.selectProducts")), 1)
|
|
400
234
|
]),
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
235
|
+
t("table", rt, [
|
|
236
|
+
t("thead", null, [
|
|
237
|
+
t("tr", null, [
|
|
238
|
+
t("th", null, [
|
|
239
|
+
t("span", null, n(e(o)("booking.reservation.addons")), 1)
|
|
240
|
+
]),
|
|
241
|
+
ut,
|
|
242
|
+
t("th", dt, [
|
|
243
|
+
t("span", null, n(e(o)("booking.availability.price")), 1)
|
|
244
|
+
])
|
|
245
|
+
])
|
|
246
|
+
]),
|
|
247
|
+
t("tbody", null, [
|
|
248
|
+
(a(!0), s(N, null, w(e(ce).products, ({ productID: l, productName: h, price: g, description: m }) => (a(), s("tr", { key: l }, [
|
|
249
|
+
t("td", null, [
|
|
250
|
+
t("b", null, [
|
|
251
|
+
t("span", null, n(h), 1)
|
|
252
|
+
]),
|
|
253
|
+
ct,
|
|
254
|
+
t("span", null, n(m), 1),
|
|
255
|
+
mt,
|
|
256
|
+
t("span", null, n(e(y)(g, e(f))), 1)
|
|
257
|
+
]),
|
|
258
|
+
t("td", pt, [
|
|
259
|
+
v(S, {
|
|
260
|
+
modelValue: e(O)[l],
|
|
261
|
+
"onUpdate:modelValue": (b) => e(O)[l] = b,
|
|
262
|
+
small: !0,
|
|
263
|
+
"min-value": 0
|
|
264
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
265
|
+
]),
|
|
266
|
+
t("td", vt, [
|
|
267
|
+
t("span", null, n(e(y)(e(Z)(l), e(f))), 1)
|
|
268
|
+
])
|
|
269
|
+
]))), 128))
|
|
270
|
+
])
|
|
417
271
|
])
|
|
272
|
+
])) : r("", !0)
|
|
273
|
+
]),
|
|
274
|
+
resume: p(() => [
|
|
275
|
+
t("li", null, [
|
|
276
|
+
t("span", null, n(e(o)("event.numberOfGuests")), 1),
|
|
277
|
+
t("b", null, n(e(se)), 1)
|
|
278
|
+
]),
|
|
279
|
+
e(k) ? (a(), s("li", ht, [
|
|
280
|
+
t("span", null, n(e(o)("event.numberOfRooms")), 1),
|
|
281
|
+
t("b", null, n(e(ie)), 1)
|
|
282
|
+
])) : r("", !0),
|
|
283
|
+
e(k) ? (a(), s("li", bt, [
|
|
284
|
+
t("span", null, n(e(o)("event.numberOfDays")), 1),
|
|
285
|
+
t("b", null, n(e(q)), 1)
|
|
286
|
+
])) : r("", !0),
|
|
287
|
+
e(k) ? (a(), s("li", kt, [
|
|
288
|
+
t("span", null, n(e(o)("booking.reservation.arrival")), 1),
|
|
289
|
+
t("b", null, n(e(le)(e(j))), 1)
|
|
290
|
+
])) : r("", !0),
|
|
291
|
+
e(k) ? (a(), s("li", ft, [
|
|
292
|
+
t("span", null, n(e(o)("booking.reservation.departure")), 1),
|
|
293
|
+
t("b", null, n(e(le)(e(j), e(q))), 1)
|
|
294
|
+
])) : r("", !0),
|
|
295
|
+
!e(k) && e(F) ? (a(), s("li", gt, [
|
|
296
|
+
t("span", null, n(e(o)("event.startOfEvent")), 1),
|
|
297
|
+
t("b", null, n(e(M)(e(F))), 1)
|
|
298
|
+
])) : r("", !0),
|
|
299
|
+
!e(k) && e(z) ? (a(), s("li", _t, [
|
|
300
|
+
t("span", null, n(e(o)("event.lengthOfEvent")), 1),
|
|
301
|
+
t("b", null, n(e(M)(e(z))), 1)
|
|
302
|
+
])) : r("", !0),
|
|
303
|
+
!e(k) && e(Q) > 0 ? (a(), s("li", yt, [
|
|
304
|
+
t("span", null, n(e(o)("booking.availability.basePrice")), 1),
|
|
305
|
+
t("b", null, n(e(y)(e(Q), e(f))), 1)
|
|
306
|
+
])) : r("", !0)
|
|
307
|
+
]),
|
|
308
|
+
expenses: p(() => [
|
|
309
|
+
(a(!0), s(N, null, w(e(D), ({ roomGroupID: l }, h) => (a(), s("li", { key: l }, [
|
|
310
|
+
t("span", null, n(e(o)("booking.reservation.addons")) + " - " + n(e(o)("booking.reservation.room")) + " #" + n(h + 1), 1),
|
|
311
|
+
t("b", null, n(e(y)(e(J)(l, h), e(f))), 1)
|
|
418
312
|
]))), 128))
|
|
419
313
|
]),
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
Dl,
|
|
423
|
-
l("td", Ll, [
|
|
424
|
-
l("u", null, [
|
|
425
|
-
l("span", null, n(e($)(e(ae)(a, m), e(h))), 1)
|
|
426
|
-
])
|
|
427
|
-
])
|
|
428
|
-
])
|
|
429
|
-
])
|
|
430
|
-
])
|
|
431
|
-
]))), 128))
|
|
432
|
-
])) : u("", !0),
|
|
433
|
-
e(ne) !== e(me).FullDayEvent && !e(T) ? (t(), i("div", Ul, [
|
|
434
|
-
l("label", Al, [
|
|
435
|
-
l("span", null, n(e(o)("event.selectArrivalTime")), 1)
|
|
314
|
+
_: 2
|
|
315
|
+
}, 1032, ["remark", "is-filled", "is-loading", "base-price", "total-price", "weekend-fee", "room-upgrade", "onPrev", "onNext"])) : r("", !0)
|
|
436
316
|
]),
|
|
437
|
-
|
|
438
|
-
(
|
|
439
|
-
r(ve, {
|
|
440
|
-
modelValue: e(O),
|
|
441
|
-
"onUpdate:modelValue": d[7] || (d[7] = (_) => w(O) ? O.value = _ : null),
|
|
442
|
-
type: "radio",
|
|
443
|
-
name: "eventTimeTable",
|
|
444
|
-
val: a.time,
|
|
445
|
-
label: e(x)(a.time)
|
|
446
|
-
}, null, 8, ["modelValue", "val", "label"])
|
|
447
|
-
]))), 128))
|
|
448
|
-
])
|
|
449
|
-
])) : u("", !0),
|
|
450
|
-
e(Ue) ? (t(), i("div", Fl, [
|
|
451
|
-
l("label", Rl, [
|
|
452
|
-
l("span", null, n(e(o)("event.selectProducts")), 1)
|
|
317
|
+
payment: p(() => [
|
|
318
|
+
v(Ze)
|
|
453
319
|
]),
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
l("th", Sl, [
|
|
462
|
-
l("span", null, n(e(o)("booking.availability.price")), 1)
|
|
463
|
-
])
|
|
464
|
-
])
|
|
465
|
-
]),
|
|
466
|
-
l("tbody", null, [
|
|
467
|
-
(t(!0), i(V, null, D(e(Oe).products, ({ productID: a, productName: p, price: _, description: m }) => (t(), i("tr", { key: a }, [
|
|
468
|
-
l("td", null, [
|
|
469
|
-
l("b", null, [
|
|
470
|
-
l("span", null, n(p), 1)
|
|
471
|
-
]),
|
|
472
|
-
ql,
|
|
473
|
-
l("span", null, n(m), 1),
|
|
474
|
-
Ml,
|
|
475
|
-
l("span", null, n(e($)(_, e(h))), 1)
|
|
476
|
-
]),
|
|
477
|
-
l("td", Il, [
|
|
478
|
-
r(G, {
|
|
479
|
-
modelValue: e(I)[a],
|
|
480
|
-
"onUpdate:modelValue": (c) => e(I)[a] = c,
|
|
481
|
-
small: !0,
|
|
482
|
-
"min-value": 0
|
|
483
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
484
|
-
]),
|
|
485
|
-
l("td", zl, [
|
|
486
|
-
l("span", null, n(e($)(e(oe)(a), e(h))), 1)
|
|
487
|
-
])
|
|
488
|
-
]))), 128))
|
|
489
|
-
])
|
|
490
|
-
])
|
|
491
|
-
])) : u("", !0)
|
|
492
|
-
]),
|
|
493
|
-
resume: g(() => [
|
|
494
|
-
l("li", null, [
|
|
495
|
-
l("span", null, n(e(o)("event.numberOfGuests")), 1),
|
|
496
|
-
l("b", null, n(e(s)), 1)
|
|
497
|
-
]),
|
|
498
|
-
e(T) ? (t(), i("li", Ql, [
|
|
499
|
-
l("span", null, n(e(o)("event.numberOfRooms")), 1),
|
|
500
|
-
l("b", null, n(e(B)), 1)
|
|
501
|
-
])) : u("", !0),
|
|
502
|
-
e(T) ? (t(), i("li", Wl, [
|
|
503
|
-
l("span", null, n(e(o)("event.numberOfDays")), 1),
|
|
504
|
-
l("b", null, n(e(y)), 1)
|
|
505
|
-
])) : u("", !0),
|
|
506
|
-
e(T) ? (t(), i("li", Yl, [
|
|
507
|
-
l("span", null, n(e(o)("booking.reservation.arrival")), 1),
|
|
508
|
-
l("b", null, n(e(ce)(e(le))), 1)
|
|
509
|
-
])) : u("", !0),
|
|
510
|
-
e(T) ? (t(), i("li", jl, [
|
|
511
|
-
l("span", null, n(e(o)("booking.reservation.departure")), 1),
|
|
512
|
-
l("b", null, n(e(ce)(e(le), e(y))), 1)
|
|
513
|
-
])) : u("", !0),
|
|
514
|
-
!e(T) && e(O) ? (t(), i("li", Hl, [
|
|
515
|
-
l("span", null, n(e(o)("event.startOfEvent")), 1),
|
|
516
|
-
l("b", null, n(e(x)(e(O))), 1)
|
|
517
|
-
])) : u("", !0),
|
|
518
|
-
!e(T) && e(ee) ? (t(), i("li", Jl, [
|
|
519
|
-
l("span", null, n(e(o)("event.lengthOfEvent")), 1),
|
|
520
|
-
l("b", null, n(e(x)(e(ee))), 1)
|
|
521
|
-
])) : u("", !0),
|
|
522
|
-
!e(T) && e(te) > 0 ? (t(), i("li", Kl, [
|
|
523
|
-
l("span", null, n(e(o)("booking.availability.basePrice")), 1),
|
|
524
|
-
l("b", null, n(e($)(e(te), e(h))), 1)
|
|
525
|
-
])) : u("", !0)
|
|
526
|
-
]),
|
|
527
|
-
expenses: g(() => [
|
|
528
|
-
(t(!0), i(V, null, D(e(Q), ({ roomGroupID: a }, p) => (t(), i("li", { key: a }, [
|
|
529
|
-
l("span", null, n(e(o)("booking.reservation.addons")) + " - " + n(e(o)("booking.reservation.room")) + " #" + n(p + 1), 1),
|
|
530
|
-
l("b", null, n(e($)(e(ae)(a, p), e(h))), 1)
|
|
531
|
-
]))), 128))
|
|
320
|
+
confirmation: p(() => [
|
|
321
|
+
v(ze, {
|
|
322
|
+
message: e(o)("event.confirmationMessage")
|
|
323
|
+
}, null, 8, ["message"])
|
|
324
|
+
]),
|
|
325
|
+
_: 1
|
|
326
|
+
})
|
|
532
327
|
]),
|
|
533
|
-
_:
|
|
534
|
-
},
|
|
535
|
-
]),
|
|
536
|
-
payment: g(() => [
|
|
537
|
-
r(pl)
|
|
328
|
+
_: 1
|
|
329
|
+
}, 8, ["access-token"])
|
|
538
330
|
]),
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
message: e(o)("event.confirmationMessage")
|
|
542
|
-
}, null, 8, ["message"])
|
|
331
|
+
fallback: p(() => [
|
|
332
|
+
Vt
|
|
543
333
|
]),
|
|
544
334
|
_: 1
|
|
545
|
-
}
|
|
335
|
+
}))
|
|
546
336
|
]),
|
|
547
337
|
_: 1
|
|
548
|
-
}, 8, ["
|
|
338
|
+
}, 8, ["styling"]));
|
|
339
|
+
}
|
|
340
|
+
}), $ = /* @__PURE__ */ Le(Et, [["__scopeId", "data-v-693ef234"]]), Tt = $e();
|
|
341
|
+
class Bt extends HTMLElement {
|
|
342
|
+
vueApp;
|
|
343
|
+
constructor() {
|
|
344
|
+
super();
|
|
345
|
+
}
|
|
346
|
+
disconnectedCallback() {
|
|
347
|
+
this.vueApp.unmount();
|
|
348
|
+
}
|
|
349
|
+
connectedCallback() {
|
|
350
|
+
const o = typeof $ == "function" ? $.options : $;
|
|
351
|
+
let x = Array.isArray(o.props) ? o.props : Object.keys(o.props || {});
|
|
352
|
+
const E = (i) => i.replace(/[A-Z]+(?![a-z])|[A-Z]/g, (d, c) => (c ? "-" : "") + d.toLowerCase()), O = (i) => i.replace(/-./g, (d) => d[1].toUpperCase()), T = {};
|
|
353
|
+
x = x.map(E);
|
|
354
|
+
const B = {};
|
|
355
|
+
for (const i of this.attributes) {
|
|
356
|
+
const c = i.name.split(".");
|
|
357
|
+
c.length > 1 && (B[c[0]] || (B[c[0]] = {}), B[c[0]][O(c[1])] = i.value);
|
|
358
|
+
}
|
|
359
|
+
for (const i of x) {
|
|
360
|
+
let d = this.attributes.getNamedItem(i)?.value;
|
|
361
|
+
B.hasOwnProperty(i) && (d = B[i]), T[i] = d;
|
|
362
|
+
}
|
|
363
|
+
this.vueApp = Ue($, T), this.vueApp.use(Re), this.vueApp.use(Tt), this.vueApp.use(je), this.vueApp.use(Se, { bootstrap: !0 });
|
|
364
|
+
const C = document.createElement("div");
|
|
365
|
+
this.vueApp.mount(C), this.appendChild(C.children[0]);
|
|
549
366
|
}
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
M.use(tl);
|
|
553
|
-
M.use(ul);
|
|
554
|
-
M.use(ol, { bootstrap: !0 });
|
|
555
|
-
M.mount("#konnectio-event-app");
|
|
367
|
+
}
|
|
368
|
+
window.customElements.define("konnectio-event", Bt);
|
|
556
369
|
export {
|
|
557
|
-
|
|
370
|
+
Bt as default
|
|
558
371
|
};
|