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