@konnectio/core 4.0.5 → 4.0.7
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-0c047379.mjs → ActionField-5ecfc9dc.js} +26 -28
- package/dist/ActionField-5ecfc9dc.js.br +0 -0
- package/dist/ActionField-ae9b1adf.cjs +1 -0
- package/dist/HotelAvailabilityForm-0cd1abda.cjs +1 -0
- package/dist/{HotelAvailabilityForm-29f12395.mjs → HotelAvailabilityForm-a7b6f17e.js} +23 -25
- package/dist/HotelAvailabilityForm-a7b6f17e.js.br +0 -0
- package/dist/NumberField.vue_vue_type_style_index_0_lang-0b6d48f1.cjs +793 -0
- package/dist/NumberField.vue_vue_type_style_index_0_lang-ab747739.js +16403 -0
- package/dist/NumberField.vue_vue_type_style_index_0_lang-ab747739.js.br +0 -0
- package/dist/{ReCaptchaVuePlugin-616ef9b9.mjs → ReCaptchaVuePlugin-05b8ec39.js} +2 -3
- package/dist/ReCaptchaVuePlugin-05b8ec39.js.br +0 -0
- package/dist/ReCaptchaVuePlugin-08ee5d62.cjs +1 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-a45312d1.mjs → SelectField.vue_vue_type_style_index_0_lang-5bdd7db9.js} +1020 -1022
- package/dist/SelectField.vue_vue_type_style_index_0_lang-5bdd7db9.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-18843626.js → SelectField.vue_vue_type_style_index_0_lang-5f1087dc.cjs} +16 -17
- package/dist/{ThankYou-f6205791.mjs → ThankYou-1866d8db.js} +2853 -2825
- package/dist/ThankYou-1866d8db.js.br +0 -0
- package/dist/ThankYou-5741bcb6.cjs +15 -0
- package/dist/{_commonjsHelpers-6763f629.js → _commonjsHelpers-6763f629.cjs} +0 -1
- package/dist/{_commonjsHelpers-c5d32002.mjs → _commonjsHelpers-aeeeeb92.js} +2 -3
- package/dist/{applyGiftCard-02342491.mjs → applyGiftCard-c5e4aaad.js} +12 -14
- package/dist/applyGiftCard-c5e4aaad.js.br +0 -0
- package/dist/applyGiftCard-d9ab3dcf.cjs +1 -0
- package/dist/assets/typescript/mixins.d.ts +36 -0
- package/dist/availability.cjs.js +1 -2
- package/dist/availability.cjs.js.br +0 -0
- package/dist/availability.d.ts +3 -0
- package/dist/availability.es.js +31 -30
- package/dist/availability.es.js.br +0 -0
- package/dist/components/Alert.vue.d.ts +5 -0
- package/dist/components/Alert.vue.d.ts.map +1 -0
- package/dist/components/Clickable.vue.d.ts +5 -0
- package/dist/components/Clickable.vue.d.ts.map +1 -0
- package/dist/components/GoogleNotice.vue.d.ts +4 -0
- package/dist/components/GoogleNotice.vue.d.ts.map +1 -0
- package/dist/components/Icon.vue.d.ts +5 -0
- package/dist/components/Icon.vue.d.ts.map +1 -0
- package/dist/components/Loading.vue.d.ts +5 -0
- package/dist/components/Loading.vue.d.ts.map +1 -0
- package/dist/components/LoadingBlock.vue.d.ts +4 -0
- package/dist/components/LoadingBlock.vue.d.ts.map +1 -0
- package/dist/components/forms/EventAvailabilityForm.vue.d.ts +5 -0
- package/dist/components/forms/EventAvailabilityForm.vue.d.ts.map +1 -0
- package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +5 -0
- package/dist/components/forms/HotelAvailabilityForm.vue.d.ts.map +1 -0
- package/dist/components/forms/MultiStepForm.vue.d.ts +5 -0
- package/dist/components/forms/MultiStepForm.vue.d.ts.map +1 -0
- package/dist/components/forms/ReservationForm.vue.d.ts +5 -0
- package/dist/components/forms/ReservationForm.vue.d.ts.map +1 -0
- package/dist/components/inputs/Checkbox.vue.d.ts +5 -0
- package/dist/components/inputs/Checkbox.vue.d.ts.map +1 -0
- package/dist/components/inputs/DateField.vue.d.ts +5 -0
- package/dist/components/inputs/DateField.vue.d.ts.map +1 -0
- package/dist/components/inputs/InputField.vue.d.ts +5 -0
- package/dist/components/inputs/InputField.vue.d.ts.map +1 -0
- package/dist/components/inputs/MediaSelector.vue.d.ts +5 -0
- package/dist/components/inputs/MediaSelector.vue.d.ts.map +1 -0
- package/dist/components/inputs/NumberField.vue.d.ts +5 -0
- package/dist/components/inputs/NumberField.vue.d.ts.map +1 -0
- package/dist/components/inputs/SelectField.vue.d.ts +5 -0
- package/dist/components/inputs/SelectField.vue.d.ts.map +1 -0
- package/dist/components/inputs/TextField.vue.d.ts +5 -0
- package/dist/components/inputs/TextField.vue.d.ts.map +1 -0
- package/dist/components/inputs/TimeField.vue.d.ts +5 -0
- package/dist/components/inputs/TimeField.vue.d.ts.map +1 -0
- package/dist/components/inputs/grouped/ActionField.vue.d.ts +5 -0
- package/dist/components/inputs/grouped/ActionField.vue.d.ts.map +1 -0
- package/dist/components/inputs/grouped/CountryField.vue.d.ts +5 -0
- package/dist/components/inputs/grouped/CountryField.vue.d.ts.map +1 -0
- package/dist/components/inputs/grouped/NameField.vue.d.ts +5 -0
- package/dist/components/inputs/grouped/NameField.vue.d.ts.map +1 -0
- package/dist/components/inputs/grouped/PhoneField.vue.d.ts +5 -0
- package/dist/components/inputs/grouped/PhoneField.vue.d.ts.map +1 -0
- package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts +4 -0
- package/dist/components/inputs/grouped/RoomConfigField.vue.d.ts.map +1 -0
- package/dist/components/listings/Base.vue.d.ts +6 -0
- package/dist/components/listings/Base.vue.d.ts.map +1 -0
- package/dist/components/listings/Event.vue.d.ts +5 -0
- package/dist/components/listings/Event.vue.d.ts.map +1 -0
- package/dist/components/listings/Test.vue.d.ts +5 -0
- package/dist/components/listings/Test.vue.d.ts.map +1 -0
- package/dist/components/modals/Base.vue.d.ts +5 -0
- package/dist/components/modals/Base.vue.d.ts.map +1 -0
- package/dist/components/modals/Info.vue.d.ts +5 -0
- package/dist/components/modals/Info.vue.d.ts.map +1 -0
- package/dist/components/modals/Terms.vue.d.ts +4 -0
- package/dist/components/modals/Terms.vue.d.ts.map +1 -0
- package/dist/components/side-panels/Base.vue.d.ts +5 -0
- package/dist/components/side-panels/Base.vue.d.ts.map +1 -0
- package/dist/components/side-panels/Hotel.vue.d.ts +4 -0
- package/dist/components/side-panels/Hotel.vue.d.ts.map +1 -0
- package/dist/components/views/CheckoutWindow.vue.d.ts +5 -0
- package/dist/components/views/CheckoutWindow.vue.d.ts.map +1 -0
- package/dist/components/views/TermsOfService.vue.d.ts +5 -0
- package/dist/components/views/TermsOfService.vue.d.ts.map +1 -0
- package/dist/components/views/ThankYou.vue.d.ts +5 -0
- package/dist/components/views/ThankYou.vue.d.ts.map +1 -0
- package/dist/entries/availability.d.ts +2 -0
- package/dist/entries/event.d.ts +2 -0
- package/dist/entries/gift-card-validation.d.ts +2 -0
- package/dist/entries/gift-card.d.ts +2 -0
- package/dist/entries/hotel.d.ts +2 -0
- package/dist/entries/navigation.d.ts +1 -0
- package/dist/entries/polyfill.d.ts +0 -0
- package/dist/event-39706438.cjs +1 -0
- package/dist/{event-cc266121.mjs → event-a70cffeb.js} +48 -47
- package/dist/event-a70cffeb.js.br +0 -0
- package/dist/event.cjs.js +1 -2
- package/dist/event.cjs.js.br +0 -0
- package/dist/event.d.ts +3 -0
- package/dist/event.es.js +175 -174
- package/dist/event.es.js.br +0 -0
- package/dist/gift-card-validation.cjs.js +1 -2
- package/dist/gift-card-validation.cjs.js.br +0 -0
- package/dist/gift-card-validation.d.ts +3 -0
- package/dist/gift-card-validation.es.js +54 -53
- package/dist/gift-card-validation.es.js.br +0 -0
- package/dist/gift-card.cjs.js +1 -2
- package/dist/gift-card.cjs.js.br +0 -0
- package/dist/gift-card.d.ts +3 -0
- package/dist/gift-card.es.js +90 -89
- package/dist/gift-card.es.js.br +0 -0
- package/dist/hotel.cjs.js +5 -6
- package/dist/hotel.cjs.js.br +0 -0
- package/dist/hotel.d.ts +3 -0
- package/dist/hotel.es.js +298 -298
- package/dist/hotel.es.js.br +0 -0
- package/dist/{index-30f70976.mjs → index-00262c16.js} +64 -69
- package/dist/index-00262c16.js.br +0 -0
- package/dist/index-58f3b0cc.cjs +1 -0
- package/dist/layouts/Availability.vue.d.ts +244 -0
- package/dist/layouts/Event.vue.d.ts +244 -0
- package/dist/layouts/GiftCard.vue.d.ts +252 -0
- package/dist/layouts/GiftCardValidation.vue.d.ts +228 -0
- package/dist/layouts/Hotel.vue.d.ts +277 -0
- package/dist/layouts/_.vue.d.ts +30 -0
- package/dist/navigation.cjs.js +1 -2
- package/dist/navigation.d.ts +1 -0
- package/dist/navigation.es.js +1 -59
- package/dist/{payment-b3022c46.mjs → payment-9e219e9b.js} +221 -223
- package/dist/payment-9e219e9b.js.br +0 -0
- package/dist/{payment-bfd660a7.js → payment-fbffaa6d.cjs} +2 -3
- package/dist/plugins/i18n.d.ts +5 -0
- package/dist/polyfill.cjs.js +2 -3
- package/dist/polyfill.cjs.js.br +0 -0
- package/dist/polyfill.d.ts +1 -0
- package/dist/polyfill.es.js +2 -4
- package/dist/polyfill.es.js.br +0 -0
- package/dist/store/alert.d.ts +28 -0
- package/dist/store/applyGiftCard.d.ts +28 -0
- package/dist/store/availability.d.ts +37 -0
- package/dist/store/event.d.ts +683 -0
- package/dist/store/giftCard.d.ts +80 -0
- package/dist/store/hotel.d.ts +662 -0
- package/dist/store/payment.d.ts +133 -0
- package/dist/store/recaptcha.d.ts +1 -0
- package/dist/store/tracking.d.ts +24 -0
- package/dist/store/utilities.d.ts +317 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/types/index.d.ts +868 -0
- package/package.json +27 -11
- package/dist/ActionField-0c047379.mjs.br +0 -0
- package/dist/ActionField-3640689b.js +0 -2
- package/dist/ActionField-3640689b.js.br +0 -0
- package/dist/Clickable-386eceb6.mjs +0 -12390
- package/dist/Clickable-386eceb6.mjs.br +0 -0
- package/dist/Clickable-77afc133.js +0 -768
- package/dist/Clickable-77afc133.js.br +0 -0
- package/dist/HotelAvailabilityForm-29f12395.mjs.br +0 -0
- package/dist/HotelAvailabilityForm-89ba629d.js +0 -2
- package/dist/HotelAvailabilityForm-89ba629d.js.br +0 -0
- package/dist/NumberField.vue_vue_type_style_index_0_lang-99de44b7.mjs +0 -4027
- package/dist/NumberField.vue_vue_type_style_index_0_lang-99de44b7.mjs.br +0 -0
- package/dist/NumberField.vue_vue_type_style_index_0_lang-e8efabad.js +0 -28
- package/dist/NumberField.vue_vue_type_style_index_0_lang-e8efabad.js.br +0 -0
- package/dist/ReCaptchaVuePlugin-0988d77f.js +0 -2
- package/dist/ReCaptchaVuePlugin-0988d77f.js.br +0 -0
- package/dist/ReCaptchaVuePlugin-616ef9b9.mjs.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-18843626.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-a45312d1.mjs.br +0 -0
- package/dist/ThankYou-1096ca5a.js +0 -16
- package/dist/ThankYou-1096ca5a.js.br +0 -0
- package/dist/ThankYou-f6205791.mjs.br +0 -0
- package/dist/applyGiftCard-02342491.mjs.br +0 -0
- package/dist/applyGiftCard-e24bae0c.js +0 -2
- package/dist/applyGiftCard-e24bae0c.js.br +0 -0
- package/dist/event-cc266121.mjs.br +0 -0
- package/dist/event-d580e6e8.js +0 -2
- package/dist/event-d580e6e8.js.br +0 -0
- package/dist/index-30f70976.mjs.br +0 -0
- package/dist/index-4e9533a9.js +0 -2
- package/dist/index-4e9533a9.js.br +0 -0
- package/dist/navigation.cjs.js.br +0 -0
- package/dist/navigation.es.js.br +0 -0
- package/dist/payment-b3022c46.mjs.br +0 -0
- package/dist/payment-bfd660a7.js.br +0 -0
package/dist/event.es.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { _ as
|
|
9
|
-
import
|
|
10
|
-
import "./_commonjsHelpers-c5d32002.mjs";
|
|
1
|
+
import { h as ve, q as ye, u as Qe, s as ee, r as Ye, c as Je, k as t, l as y, R as Xe, w as f, x as o, m as u, D as k, B as l, n as e, T as Ze, U as ie, v as r, V as re, y as d, W as je, F as P, X as He, _ as fe, a as Ke, o as Ge, t as xe, z as R, Y as _, Z as D, $ as ue, O as de, a0 as ce, a1 as eo, a2 as G, G as me, J as oo, L as lo, M as no, P as to, N as ao, Q as so } from "./NumberField.vue_vue_type_style_index_0_lang-ab747739.js";
|
|
2
|
+
import { B as io, M as ro, R as uo, C as co, T as mo, z as po, V as bo, x as go } from "./ThankYou-1866d8db.js";
|
|
3
|
+
import { P as vo, C as pe, S as yo, i as fo } from "./index-00262c16.js";
|
|
4
|
+
import { u as J } from "./event-a70cffeb.js";
|
|
5
|
+
import { A as ho } from "./ActionField-5ecfc9dc.js";
|
|
6
|
+
import { T as be } from "./SelectField.vue_vue_type_style_index_0_lang-5bdd7db9.js";
|
|
7
|
+
import { _ as ko } from "./payment-9e219e9b.js";
|
|
8
|
+
import { _ as x } from "./applyGiftCard-c5e4aaad.js";
|
|
9
|
+
import "./_commonjsHelpers-aeeeeb92.js";
|
|
11
10
|
const Co = { class: "fresh-booking-event-listing-information" }, _o = { key: 0 }, Bo = { key: 1 }, Vo = /* @__PURE__ */ ve({
|
|
12
11
|
__name: "Event",
|
|
13
12
|
props: {
|
|
@@ -32,36 +31,36 @@ const Co = { class: "fresh-booking-event-listing-information" }, _o = { key: 0 }
|
|
|
32
31
|
callback: {}
|
|
33
32
|
},
|
|
34
33
|
setup(T) {
|
|
35
|
-
const
|
|
34
|
+
const i = T, { t: a } = ye(), { display: $ } = Qe(), {
|
|
36
35
|
currency: E,
|
|
37
36
|
maxNumberOfPeople: L,
|
|
38
|
-
numberOfPeople:
|
|
39
|
-
eventId:
|
|
37
|
+
numberOfPeople: S,
|
|
38
|
+
eventId: X,
|
|
40
39
|
tableGroupId: U
|
|
41
|
-
} = ee(
|
|
40
|
+
} = ee(J()), {
|
|
42
41
|
getTemplateAvailability: A,
|
|
43
42
|
getEventAvailability: z,
|
|
44
43
|
isEventListingLoading: N
|
|
45
|
-
} =
|
|
46
|
-
b.value > 0 ? (
|
|
44
|
+
} = J(), b = Ye(0), I = Je(() => N(i.listingId)), Z = () => {
|
|
45
|
+
b.value > 0 ? (X.value = i.listingId, S.value = b.value, A(i.callback)) : $({
|
|
47
46
|
type: "error",
|
|
48
47
|
message: a("alert.error.selectPeople")
|
|
49
48
|
});
|
|
50
|
-
},
|
|
51
|
-
b.value > 0 ? (
|
|
49
|
+
}, j = () => {
|
|
50
|
+
b.value > 0 ? (X.value = i.listingId, U.value = i.tableGroupId, S.value = b.value, z(i.callback)) : $({
|
|
52
51
|
type: "error",
|
|
53
52
|
message: a("alert.error.selectPeople")
|
|
54
53
|
});
|
|
55
54
|
};
|
|
56
|
-
return (n, B) => (t(), y(
|
|
55
|
+
return (n, B) => (t(), y(io, {
|
|
57
56
|
"listing-id": n.listingId,
|
|
58
57
|
gallery: n.gallery,
|
|
59
58
|
name: n.name,
|
|
60
59
|
description: n.description,
|
|
61
|
-
layout: e(
|
|
60
|
+
layout: e(He).Event,
|
|
62
61
|
styling: n.styling,
|
|
63
62
|
currency: e(E)
|
|
64
|
-
},
|
|
63
|
+
}, Xe({
|
|
65
64
|
action: f(() => [
|
|
66
65
|
u(ho, {
|
|
67
66
|
modelValue: b.value,
|
|
@@ -72,9 +71,9 @@ const Co = { class: "fresh-booking-event-listing-information" }, _o = { key: 0 }
|
|
|
72
71
|
buttonDisabled: n.soldOut,
|
|
73
72
|
"min-value": n.type === "event" ? 1 : n.minimumPersonCount,
|
|
74
73
|
"max-value": n.type === "event" ? n.maxOnlineReservationLimit || 1 / 0 : e(L),
|
|
75
|
-
"is-loading":
|
|
76
|
-
"onUpdate:isLoading": B[1] || (B[1] = (O) =>
|
|
77
|
-
onAction: B[2] || (B[2] = (O) => n.type === "event" ?
|
|
74
|
+
"is-loading": I.value,
|
|
75
|
+
"onUpdate:isLoading": B[1] || (B[1] = (O) => I.value = O),
|
|
76
|
+
onAction: B[2] || (B[2] = (O) => n.type === "event" ? j() : Z())
|
|
78
77
|
}, null, 8, ["modelValue", "label", "buttonLabel", "buttonDisabled", "min-value", "max-value", "is-loading"])
|
|
79
78
|
]),
|
|
80
79
|
_: 2
|
|
@@ -88,21 +87,21 @@ const Co = { class: "fresh-booking-event-listing-information" }, _o = { key: 0 }
|
|
|
88
87
|
icon: "calendar-range",
|
|
89
88
|
"icon-color": n.styling.headerColor
|
|
90
89
|
}, null, 8, ["icon-color"]),
|
|
91
|
-
o("span", null, l(e(
|
|
90
|
+
o("span", null, l(e(Ze)(n.days)), 1)
|
|
92
91
|
]),
|
|
93
|
-
e(
|
|
92
|
+
e(ie)(n.fromDate, n.toDate) < 180 ? (t(), r("li", _o, [
|
|
94
93
|
u(k, {
|
|
95
94
|
icon: "calendar-days",
|
|
96
95
|
"icon-color": n.styling.headerColor
|
|
97
96
|
}, null, 8, ["icon-color"]),
|
|
98
|
-
o("span", null, l(e(
|
|
97
|
+
o("span", null, l(e(re)(n.fromDate, n.toDate)), 1)
|
|
99
98
|
])) : d("", !0),
|
|
100
99
|
o("li", null, [
|
|
101
100
|
u(k, {
|
|
102
101
|
icon: "calendar-clock",
|
|
103
102
|
"icon-color": n.styling.headerColor
|
|
104
103
|
}, null, 8, ["icon-color"]),
|
|
105
|
-
o("span", null, l(e(
|
|
104
|
+
o("span", null, l(e(je)(n.timeFrom, n.timeTo)), 1)
|
|
106
105
|
]),
|
|
107
106
|
n.maxOnlineReservationLimit ? (t(), r("li", Bo, [
|
|
108
107
|
u(k, {
|
|
@@ -118,12 +117,12 @@ const Co = { class: "fresh-booking-event-listing-information" }, _o = { key: 0 }
|
|
|
118
117
|
name: "description",
|
|
119
118
|
fn: f(() => [
|
|
120
119
|
o("ul", { class: "fresh-booking-event-listing-information" }, [
|
|
121
|
-
e(
|
|
120
|
+
e(ie)(n.fromDate, n.toDate) < 180 ? (t(), r("li", { key: 0 }, [
|
|
122
121
|
u(k, {
|
|
123
122
|
icon: "calendar-days",
|
|
124
123
|
"icon-color": n.styling.headerColor
|
|
125
124
|
}, null, 8, ["icon-color"]),
|
|
126
|
-
o("span", null, l(e(
|
|
125
|
+
o("span", null, l(e(re)(n.fromDate, n.toDate, !0)), 1)
|
|
127
126
|
])) : d("", !0),
|
|
128
127
|
o("li", null, [
|
|
129
128
|
u(k, {
|
|
@@ -146,13 +145,13 @@ const Co = { class: "fresh-booking-event-listing-information" }, _o = { key: 0 }
|
|
|
146
145
|
]), 1032, ["listing-id", "gallery", "name", "description", "layout", "styling", "currency"]));
|
|
147
146
|
}
|
|
148
147
|
});
|
|
149
|
-
const ge = /* @__PURE__ */
|
|
148
|
+
const ge = /* @__PURE__ */ fe(Vo, [["__scopeId", "data-v-fc04f878"]]), w = (T) => (lo("data-v-451e0157"), T = T(), no(), T), Po = { class: "fresh-booking-panel" }, Fo = {
|
|
150
149
|
key: 0,
|
|
151
150
|
id: "fresh-booking-event-overview"
|
|
152
151
|
}, To = { class: "fresh-booking-event-listings" }, $o = { class: "fresh-booking-event-listings" }, Eo = {
|
|
153
152
|
key: 2,
|
|
154
153
|
id: "fresh-booking-event-addons"
|
|
155
|
-
}, Oo = { class: "fresh-booking-table" }, Ro = /* @__PURE__ */
|
|
154
|
+
}, Oo = { class: "fresh-booking-table" }, Ro = /* @__PURE__ */ w(() => /* @__PURE__ */ o("th", { class: "fresh-booking-event-addons-input" }, null, -1)), Do = { class: "fresh-booking-event-addons-price" }, So = /* @__PURE__ */ w(() => /* @__PURE__ */ o("br", null, null, -1)), wo = { class: "fresh-booking-event-addons-input" }, Lo = { class: "fresh-booking-event-addons-price" }, Uo = /* @__PURE__ */ w(() => /* @__PURE__ */ o("td", { colspan: "2" }, null, -1)), Ao = { class: "fresh-booking-event-addons-price" }, zo = { key: 3 }, No = { class: "fresh-booking-label required" }, Wo = { id: "fresh-booking-event-table" }, qo = { key: 4 }, Mo = { class: "fresh-booking-label required" }, Io = { class: "fresh-booking-table" }, Qo = /* @__PURE__ */ w(() => /* @__PURE__ */ o("th", { class: "fresh-booking-event-addons-input" }, null, -1)), Yo = { class: "fresh-booking-event-addons-price" }, Jo = /* @__PURE__ */ w(() => /* @__PURE__ */ o("br", null, null, -1)), Xo = /* @__PURE__ */ w(() => /* @__PURE__ */ o("br", null, null, -1)), Zo = { class: "fresh-booking-event-addons-input" }, jo = { class: "fresh-booking-event-addons-price" }, Ho = { key: 0 }, Ko = { key: 1 }, Go = { key: 2 }, xo = { key: 3 }, el = { key: 4 }, ol = { key: 5 }, ll = { key: 6 }, nl = /* @__PURE__ */ ve({
|
|
156
155
|
__name: "Event",
|
|
157
156
|
props: {
|
|
158
157
|
accessToken: {},
|
|
@@ -187,20 +186,20 @@ const ge = /* @__PURE__ */ ye(Vo, [["__scopeId", "data-v-c907b452"]]), D = (T) =
|
|
|
187
186
|
successColor: {}
|
|
188
187
|
},
|
|
189
188
|
setup(T) {
|
|
190
|
-
const
|
|
189
|
+
const i = T, { t: a } = ye(), {
|
|
191
190
|
searchDate: $,
|
|
192
191
|
addons: E,
|
|
193
192
|
products: L,
|
|
194
|
-
numberOfDays:
|
|
195
|
-
discountCode:
|
|
193
|
+
numberOfDays: S,
|
|
194
|
+
discountCode: X,
|
|
196
195
|
name: U,
|
|
197
196
|
phone: A,
|
|
198
197
|
email: z,
|
|
199
198
|
remark: N,
|
|
200
199
|
arrivalTime: b,
|
|
201
|
-
title:
|
|
202
|
-
subtitle:
|
|
203
|
-
slideshow:
|
|
200
|
+
title: I,
|
|
201
|
+
subtitle: Z,
|
|
202
|
+
slideshow: j,
|
|
204
203
|
currency: n,
|
|
205
204
|
numberOfPeople: B,
|
|
206
205
|
numberOfTotalDays: O,
|
|
@@ -213,7 +212,7 @@ const ge = /* @__PURE__ */ ye(Vo, [["__scopeId", "data-v-c907b452"]]), D = (T) =
|
|
|
213
212
|
getEvents: Pe,
|
|
214
213
|
getTemplates: Fe,
|
|
215
214
|
getEventData: Te,
|
|
216
|
-
getTemplateData:
|
|
215
|
+
getTemplateData: Q,
|
|
217
216
|
getEventTableData: $e,
|
|
218
217
|
length: oe,
|
|
219
218
|
roomUpgrade: Ee,
|
|
@@ -221,71 +220,71 @@ const ge = /* @__PURE__ */ ye(Vo, [["__scopeId", "data-v-c907b452"]]), D = (T) =
|
|
|
221
220
|
fromDate: le,
|
|
222
221
|
hasProducts: Re,
|
|
223
222
|
eventRateType: ne,
|
|
224
|
-
isMetaDataAvailable:
|
|
225
|
-
areListingsAvailable:
|
|
226
|
-
isReservationFormFilled:
|
|
223
|
+
isMetaDataAvailable: De,
|
|
224
|
+
areListingsAvailable: Se,
|
|
225
|
+
isReservationFormFilled: we,
|
|
227
226
|
isAvailabilityDataAvailable: Le,
|
|
228
227
|
getEventImages: Ue,
|
|
229
228
|
isTemplateEvent: V,
|
|
230
229
|
tableBasePrice: te
|
|
231
|
-
} = ee(
|
|
230
|
+
} = ee(J()), {
|
|
232
231
|
initialize: Ae,
|
|
233
|
-
validateDiscountCode:
|
|
232
|
+
validateDiscountCode: il,
|
|
234
233
|
fetchListings: ze,
|
|
235
234
|
createBooking: Ne,
|
|
236
235
|
localAddonPrice: ae,
|
|
237
|
-
totalAddonPrice:
|
|
238
|
-
reset:
|
|
239
|
-
} =
|
|
240
|
-
hideEvents:
|
|
241
|
-
hideEventTemplates:
|
|
242
|
-
} = ee(
|
|
243
|
-
|
|
244
|
-
const
|
|
245
|
-
"--accentColor":
|
|
246
|
-
"--buttonBackground":
|
|
247
|
-
"--buttonBorder":
|
|
248
|
-
"--buttonBorderRadius":
|
|
249
|
-
"--buttonColor":
|
|
250
|
-
"--buttonFontFamily":
|
|
251
|
-
"--buttonFontSize":
|
|
252
|
-
"--buttonFontWeight":
|
|
253
|
-
"--buttonTextTransform":
|
|
254
|
-
"--dangerColor":
|
|
255
|
-
"--fontColor":
|
|
256
|
-
"--fontFamily":
|
|
257
|
-
"--fontSize":
|
|
258
|
-
"--grayColor":
|
|
259
|
-
"--headerColor":
|
|
260
|
-
"--inputBackground":
|
|
261
|
-
"--inputBorder":
|
|
262
|
-
"--inputBorderRadius":
|
|
263
|
-
"--inputFontColor":
|
|
264
|
-
"--labelFontWeight":
|
|
265
|
-
"--labelPadding":
|
|
266
|
-
"--linkColor":
|
|
267
|
-
"--loadingColor":
|
|
268
|
-
"--panelBackground":
|
|
269
|
-
"--panelBorder":
|
|
270
|
-
"--panelBorderRadius":
|
|
271
|
-
"--panelPadding":
|
|
272
|
-
"--successColor":
|
|
236
|
+
totalAddonPrice: se,
|
|
237
|
+
reset: We
|
|
238
|
+
} = J(), {
|
|
239
|
+
hideEvents: qe,
|
|
240
|
+
hideEventTemplates: Me
|
|
241
|
+
} = ee(Ke());
|
|
242
|
+
Ge(() => Ae()), xe($, () => ze());
|
|
243
|
+
const Ie = {
|
|
244
|
+
"--accentColor": i.accentColor,
|
|
245
|
+
"--buttonBackground": i.buttonBackground,
|
|
246
|
+
"--buttonBorder": i.buttonBorder,
|
|
247
|
+
"--buttonBorderRadius": i.buttonBorderRadius,
|
|
248
|
+
"--buttonColor": i.buttonColor,
|
|
249
|
+
"--buttonFontFamily": i.buttonFontFamily,
|
|
250
|
+
"--buttonFontSize": i.buttonFontSize,
|
|
251
|
+
"--buttonFontWeight": i.buttonFontWeight,
|
|
252
|
+
"--buttonTextTransform": i.buttonTextTransform,
|
|
253
|
+
"--dangerColor": i.dangerColor,
|
|
254
|
+
"--fontColor": i.fontColor,
|
|
255
|
+
"--fontFamily": i.fontFamily,
|
|
256
|
+
"--fontSize": i.fontSize,
|
|
257
|
+
"--grayColor": i.grayColor,
|
|
258
|
+
"--headerColor": i.headerColor,
|
|
259
|
+
"--inputBackground": i.inputBackground,
|
|
260
|
+
"--inputBorder": i.inputBorder,
|
|
261
|
+
"--inputBorderRadius": i.inputBorderRadius,
|
|
262
|
+
"--inputFontColor": i.inputFontColor,
|
|
263
|
+
"--labelFontWeight": i.labelFontWeight,
|
|
264
|
+
"--labelPadding": i.labelPadding,
|
|
265
|
+
"--linkColor": i.linkColor,
|
|
266
|
+
"--loadingColor": i.loadingColor,
|
|
267
|
+
"--panelBackground": i.panelBackground,
|
|
268
|
+
"--panelBorder": i.panelBorder,
|
|
269
|
+
"--panelBorderRadius": i.panelBorderRadius,
|
|
270
|
+
"--panelPadding": i.panelPadding,
|
|
271
|
+
"--successColor": i.successColor
|
|
273
272
|
};
|
|
274
|
-
return (c, m) => (t(), y(
|
|
273
|
+
return (c, m) => (t(), y(oo, {
|
|
275
274
|
id: "fresh-booking-event-module",
|
|
276
275
|
class: "fresh-booking-app",
|
|
277
276
|
type: "event",
|
|
278
277
|
"access-token": c.accessToken,
|
|
279
|
-
style:
|
|
278
|
+
style: Ie
|
|
280
279
|
}, {
|
|
281
280
|
default: f(() => [
|
|
282
|
-
e(
|
|
281
|
+
e(De) ? (t(), y(ro, {
|
|
283
282
|
key: 0,
|
|
284
|
-
slideshow: e(
|
|
285
|
-
title: e(
|
|
286
|
-
subtitle: e(
|
|
283
|
+
slideshow: e(j),
|
|
284
|
+
title: e(I),
|
|
285
|
+
subtitle: e(Z)
|
|
287
286
|
}, {
|
|
288
|
-
availability: f(({ next:
|
|
287
|
+
availability: f(({ next: Y }) => [
|
|
289
288
|
o("div", Po, [
|
|
290
289
|
u(ko, {
|
|
291
290
|
modelValue: e($),
|
|
@@ -294,8 +293,8 @@ const ge = /* @__PURE__ */ ye(Vo, [["__scopeId", "data-v-c907b452"]]), D = (T) =
|
|
|
294
293
|
"min-date": /* @__PURE__ */ new Date()
|
|
295
294
|
}, null, 8, ["modelValue", "label", "min-date"])
|
|
296
295
|
]),
|
|
297
|
-
e(
|
|
298
|
-
e(Be) && !e(
|
|
296
|
+
e(Se) ? (t(), r("div", Fo, [
|
|
297
|
+
e(Be) && !e(qe) ? (t(), r(_, { key: 0 }, [
|
|
299
298
|
o("h2", null, [
|
|
300
299
|
u(k, {
|
|
301
300
|
icon: "clock-seven",
|
|
@@ -305,33 +304,33 @@ const ge = /* @__PURE__ */ ye(Vo, [["__scopeId", "data-v-c907b452"]]), D = (T) =
|
|
|
305
304
|
o("span", null, l(e(a)("event.eventsTitle")), 1)
|
|
306
305
|
]),
|
|
307
306
|
o("ul", To, [
|
|
308
|
-
(t(!0), r(_, null,
|
|
307
|
+
(t(!0), r(_, null, D(e(Pe), ({
|
|
309
308
|
id: h,
|
|
310
|
-
days:
|
|
309
|
+
days: s,
|
|
311
310
|
name: g,
|
|
312
311
|
timeFrom: C,
|
|
313
312
|
timeTo: p,
|
|
314
313
|
fromDate: v,
|
|
315
|
-
toDate:
|
|
316
|
-
tableGroupID:
|
|
317
|
-
description:
|
|
318
|
-
soldOut:
|
|
319
|
-
maxOnlineReservationLimit:
|
|
314
|
+
toDate: W,
|
|
315
|
+
tableGroupID: q,
|
|
316
|
+
description: H,
|
|
317
|
+
soldOut: K,
|
|
318
|
+
maxOnlineReservationLimit: M
|
|
320
319
|
}) => (t(), y(ge, {
|
|
321
320
|
key: h,
|
|
322
321
|
type: "event",
|
|
323
322
|
"listing-id": h,
|
|
324
|
-
"table-group-id":
|
|
323
|
+
"table-group-id": q,
|
|
325
324
|
gallery: e(Ue)(h),
|
|
326
|
-
description:
|
|
325
|
+
description: H,
|
|
327
326
|
name: g,
|
|
328
|
-
days:
|
|
327
|
+
days: s,
|
|
329
328
|
"from-date": v,
|
|
330
|
-
"to-date":
|
|
331
|
-
"max-online-reservation-limit":
|
|
329
|
+
"to-date": W,
|
|
330
|
+
"max-online-reservation-limit": M,
|
|
332
331
|
"time-from": C,
|
|
333
332
|
"time-to": p,
|
|
334
|
-
"sold-out":
|
|
333
|
+
"sold-out": K,
|
|
335
334
|
styling: {
|
|
336
335
|
headerColor: c.headerColor,
|
|
337
336
|
fontColor: c.fontColor,
|
|
@@ -339,11 +338,11 @@ const ge = /* @__PURE__ */ ye(Vo, [["__scopeId", "data-v-c907b452"]]), D = (T) =
|
|
|
339
338
|
fontFamily: c.fontFamily,
|
|
340
339
|
panelPadding: c.panelPadding
|
|
341
340
|
},
|
|
342
|
-
callback:
|
|
341
|
+
callback: Y
|
|
343
342
|
}, null, 8, ["listing-id", "table-group-id", "gallery", "description", "name", "days", "from-date", "to-date", "max-online-reservation-limit", "time-from", "time-to", "sold-out", "styling", "callback"]))), 128))
|
|
344
343
|
])
|
|
345
344
|
], 64)) : d("", !0),
|
|
346
|
-
e(Ve) && !e(
|
|
345
|
+
e(Ve) && !e(Me) ? (t(), r(_, { key: 1 }, [
|
|
347
346
|
o("h2", null, [
|
|
348
347
|
u(k, {
|
|
349
348
|
icon: "stars",
|
|
@@ -353,22 +352,22 @@ const ge = /* @__PURE__ */ ye(Vo, [["__scopeId", "data-v-c907b452"]]), D = (T) =
|
|
|
353
352
|
o("span", null, l(e(a)("event.stayTitle")), 1)
|
|
354
353
|
]),
|
|
355
354
|
o("ul", $o, [
|
|
356
|
-
(t(!0), r(_, null,
|
|
355
|
+
(t(!0), r(_, null, D(e(Fe), ({
|
|
357
356
|
id: h,
|
|
358
|
-
name:
|
|
357
|
+
name: s,
|
|
359
358
|
fromDate: g,
|
|
360
359
|
toDate: C,
|
|
361
360
|
minimumPersonCount: p,
|
|
362
361
|
fromPrice: v,
|
|
363
|
-
description:
|
|
364
|
-
imageUrl:
|
|
362
|
+
description: W,
|
|
363
|
+
imageUrl: q
|
|
365
364
|
}) => (t(), y(ge, {
|
|
366
365
|
key: h,
|
|
367
366
|
type: "template",
|
|
368
367
|
"listing-id": h,
|
|
369
|
-
gallery:
|
|
370
|
-
name:
|
|
371
|
-
description:
|
|
368
|
+
gallery: q,
|
|
369
|
+
name: s,
|
|
370
|
+
description: W,
|
|
372
371
|
"from-date": g,
|
|
373
372
|
"to-date": C,
|
|
374
373
|
"minimum-person-count": p,
|
|
@@ -380,18 +379,18 @@ const ge = /* @__PURE__ */ ye(Vo, [["__scopeId", "data-v-c907b452"]]), D = (T) =
|
|
|
380
379
|
fontFamily: c.fontFamily,
|
|
381
380
|
panelPadding: c.panelPadding
|
|
382
381
|
},
|
|
383
|
-
callback:
|
|
382
|
+
callback: Y
|
|
384
383
|
}, null, 8, ["listing-id", "gallery", "name", "description", "from-date", "to-date", "minimum-person-count", "fromPrice", "styling", "callback"]))), 128))
|
|
385
384
|
])
|
|
386
385
|
], 64)) : d("", !0)
|
|
387
|
-
])) : (t(), y(
|
|
386
|
+
])) : (t(), y(ue, { key: 1 }))
|
|
388
387
|
]),
|
|
389
|
-
reservation: f(({ next:
|
|
388
|
+
reservation: f(({ next: Y, prev: h }) => [
|
|
390
389
|
e(Le) ? (t(), y(uo, {
|
|
391
390
|
key: 0,
|
|
392
391
|
remark: e(N),
|
|
393
|
-
"onUpdate:remark": m[8] || (m[8] = (
|
|
394
|
-
"is-filled": e(
|
|
392
|
+
"onUpdate:remark": m[8] || (m[8] = (s) => R(N) ? N.value = s : null),
|
|
393
|
+
"is-filled": e(we),
|
|
395
394
|
"is-loading": e(_e),
|
|
396
395
|
currency: e(n),
|
|
397
396
|
"base-price": e(ke),
|
|
@@ -399,21 +398,21 @@ const ge = /* @__PURE__ */ ye(Vo, [["__scopeId", "data-v-c907b452"]]), D = (T) =
|
|
|
399
398
|
"total-price": e(Ce),
|
|
400
399
|
"weekend-fee": e(Oe),
|
|
401
400
|
"room-upgrade": e(Ee),
|
|
402
|
-
onPrev: (
|
|
403
|
-
onNext: (
|
|
401
|
+
onPrev: (s) => e(We)(h),
|
|
402
|
+
onNext: (s) => e(Ne)(Y)
|
|
404
403
|
}, {
|
|
405
404
|
form: f(() => [
|
|
406
|
-
e(ne) === e(
|
|
405
|
+
e(ne) === e(de).FullDayEvent ? (t(), y(x, {
|
|
407
406
|
key: 0,
|
|
408
|
-
modelValue: e(
|
|
409
|
-
"onUpdate:modelValue": m[1] || (m[1] = (
|
|
407
|
+
modelValue: e(S),
|
|
408
|
+
"onUpdate:modelValue": m[1] || (m[1] = (s) => R(S) ? S.value = s : null),
|
|
410
409
|
label: e(a)("event.numberOfDays"),
|
|
411
410
|
"min-value": 1,
|
|
412
411
|
required: ""
|
|
413
412
|
}, null, 8, ["modelValue", "label"])) : d("", !0),
|
|
414
413
|
u(be, {
|
|
415
414
|
modelValue: e(U),
|
|
416
|
-
"onUpdate:modelValue": m[2] || (m[2] = (
|
|
415
|
+
"onUpdate:modelValue": m[2] || (m[2] = (s) => R(U) ? U.value = s : null),
|
|
417
416
|
type: "text",
|
|
418
417
|
label: e(a)("booking.reservation.name"),
|
|
419
418
|
icon: "user-alt",
|
|
@@ -422,7 +421,7 @@ const ge = /* @__PURE__ */ ye(Vo, [["__scopeId", "data-v-c907b452"]]), D = (T) =
|
|
|
422
421
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
423
422
|
u(be, {
|
|
424
423
|
modelValue: e(z),
|
|
425
|
-
"onUpdate:modelValue": m[3] || (m[3] = (
|
|
424
|
+
"onUpdate:modelValue": m[3] || (m[3] = (s) => R(z) ? z.value = s : null),
|
|
426
425
|
label: e(a)("booking.reservation.email"),
|
|
427
426
|
type: "email",
|
|
428
427
|
name: "email",
|
|
@@ -433,28 +432,28 @@ const ge = /* @__PURE__ */ ye(Vo, [["__scopeId", "data-v-c907b452"]]), D = (T) =
|
|
|
433
432
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
434
433
|
u(vo, {
|
|
435
434
|
modelValue: e(A),
|
|
436
|
-
"onUpdate:modelValue": m[4] || (m[4] = (
|
|
435
|
+
"onUpdate:modelValue": m[4] || (m[4] = (s) => R(A) ? A.value = s : null),
|
|
437
436
|
label: e(a)("booking.reservation.phone"),
|
|
438
437
|
icon: "phone-office",
|
|
439
438
|
placeholder: e(a)("booking.reservation.phonePlaceholder"),
|
|
440
439
|
required: ""
|
|
441
440
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
442
441
|
d("", !0),
|
|
443
|
-
e(
|
|
444
|
-
(t(!0), r(_, null,
|
|
445
|
-
roomGroupID:
|
|
442
|
+
e(Q) && e(Q).length > 0 ? (t(), r("ul", Eo, [
|
|
443
|
+
(t(!0), r(_, null, D(e(Q), ({
|
|
444
|
+
roomGroupID: s,
|
|
446
445
|
addons: g,
|
|
447
446
|
adultPerRoom: C
|
|
448
|
-
}, p) => (t(), r("li", { key:
|
|
447
|
+
}, p) => (t(), r("li", { key: s }, [
|
|
449
448
|
o("h5", null, [
|
|
450
449
|
o("span", null, l(e(a)("booking.reservation.room")) + " #" + l(p + 1), 1),
|
|
451
|
-
|
|
450
|
+
ce(" ("),
|
|
452
451
|
u(k, {
|
|
453
452
|
icon: "male",
|
|
454
453
|
type: "fas",
|
|
455
454
|
"icon-color": c.headerColor
|
|
456
455
|
}, null, 8, ["icon-color"]),
|
|
457
|
-
|
|
456
|
+
ce(" " + l(C) + ") ", 1)
|
|
458
457
|
]),
|
|
459
458
|
o("table", Oo, [
|
|
460
459
|
o("thead", null, [
|
|
@@ -463,40 +462,40 @@ const ge = /* @__PURE__ */ ye(Vo, [["__scopeId", "data-v-c907b452"]]), D = (T) =
|
|
|
463
462
|
o("span", null, l(e(a)("booking.reservation.addons")), 1)
|
|
464
463
|
]),
|
|
465
464
|
Ro,
|
|
466
|
-
o("th",
|
|
465
|
+
o("th", Do, [
|
|
467
466
|
o("span", null, l(e(a)("booking.availability.price")), 1)
|
|
468
467
|
])
|
|
469
468
|
])
|
|
470
469
|
]),
|
|
471
470
|
o("tbody", null, [
|
|
472
|
-
(t(!0), r(_, null,
|
|
471
|
+
(t(!0), r(_, null, D(g, ({
|
|
473
472
|
addonID: v,
|
|
474
|
-
cardinality:
|
|
475
|
-
name:
|
|
476
|
-
price:
|
|
477
|
-
quantityStrategy:
|
|
473
|
+
cardinality: W,
|
|
474
|
+
name: q,
|
|
475
|
+
price: H,
|
|
476
|
+
quantityStrategy: K
|
|
478
477
|
}) => (t(), r("tr", { key: v }, [
|
|
479
478
|
o("td", null, [
|
|
480
|
-
o("b", null, l(
|
|
481
|
-
|
|
482
|
-
o("span", null, l(e(P)(
|
|
479
|
+
o("b", null, l(q), 1),
|
|
480
|
+
So,
|
|
481
|
+
o("span", null, l(e(P)(H, e(n))) + " " + l(e(eo)(K)), 1)
|
|
483
482
|
]),
|
|
484
|
-
o("td",
|
|
485
|
-
|
|
483
|
+
o("td", wo, [
|
|
484
|
+
W === 3 ? (t(), y(x, {
|
|
486
485
|
key: 0,
|
|
487
|
-
modelValue: e(E)[`${
|
|
488
|
-
"onUpdate:modelValue": (
|
|
486
|
+
modelValue: e(E)[`${s}.${v}.${p}`],
|
|
487
|
+
"onUpdate:modelValue": (M) => e(E)[`${s}.${v}.${p}`] = M,
|
|
489
488
|
small: !0,
|
|
490
489
|
"min-value": 0
|
|
491
490
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])) : (t(), y(pe, {
|
|
492
491
|
key: 1,
|
|
493
|
-
modelValue: e(E)[`${
|
|
494
|
-
"onUpdate:modelValue": (
|
|
492
|
+
modelValue: e(E)[`${s}.${v}.${p}`],
|
|
493
|
+
"onUpdate:modelValue": (M) => e(E)[`${s}.${v}.${p}`] = M,
|
|
495
494
|
numeric: !0
|
|
496
495
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
497
496
|
]),
|
|
498
497
|
o("td", Lo, [
|
|
499
|
-
o("span", null, l(e(P)(e(ae)(v,
|
|
498
|
+
o("span", null, l(e(P)(e(ae)(v, s, p), e(n))), 1)
|
|
500
499
|
])
|
|
501
500
|
]))), 128))
|
|
502
501
|
]),
|
|
@@ -505,7 +504,7 @@ const ge = /* @__PURE__ */ ye(Vo, [["__scopeId", "data-v-c907b452"]]), D = (T) =
|
|
|
505
504
|
Uo,
|
|
506
505
|
o("td", Ao, [
|
|
507
506
|
o("u", null, [
|
|
508
|
-
o("span", null, l(e(P)(e(
|
|
507
|
+
o("span", null, l(e(P)(e(se)(s, p), e(n))), 1)
|
|
509
508
|
])
|
|
510
509
|
])
|
|
511
510
|
])
|
|
@@ -513,60 +512,60 @@ const ge = /* @__PURE__ */ ye(Vo, [["__scopeId", "data-v-c907b452"]]), D = (T) =
|
|
|
513
512
|
])
|
|
514
513
|
]))), 128))
|
|
515
514
|
])) : d("", !0),
|
|
516
|
-
e(ne) !== e(
|
|
515
|
+
e(ne) !== e(de).FullDayEvent && !e(V) ? (t(), r("div", zo, [
|
|
517
516
|
o("label", No, [
|
|
518
517
|
o("span", null, l(e(a)("event.selectArrivalTime")), 1)
|
|
519
518
|
]),
|
|
520
|
-
o("ul",
|
|
521
|
-
(t(!0), r(_, null,
|
|
519
|
+
o("ul", Wo, [
|
|
520
|
+
(t(!0), r(_, null, D(e($e), (s, g) => (t(), r("li", { key: g }, [
|
|
522
521
|
u(pe, {
|
|
523
522
|
modelValue: e(b),
|
|
524
523
|
"onUpdate:modelValue": m[7] || (m[7] = (C) => R(b) ? b.value = C : null),
|
|
525
524
|
type: "radio",
|
|
526
525
|
name: "eventTimeTable",
|
|
527
|
-
val:
|
|
528
|
-
label: e(G)(
|
|
526
|
+
val: s.time,
|
|
527
|
+
label: e(G)(s.time)
|
|
529
528
|
}, null, 8, ["modelValue", "val", "label"])
|
|
530
529
|
]))), 128))
|
|
531
530
|
])
|
|
532
531
|
])) : d("", !0),
|
|
533
|
-
e(Re) ? (t(), r("div",
|
|
534
|
-
o("label",
|
|
532
|
+
e(Re) ? (t(), r("div", qo, [
|
|
533
|
+
o("label", Mo, [
|
|
535
534
|
o("span", null, l(e(a)("event.selectProducts")), 1)
|
|
536
535
|
]),
|
|
537
|
-
o("table",
|
|
536
|
+
o("table", Io, [
|
|
538
537
|
o("thead", null, [
|
|
539
538
|
o("tr", null, [
|
|
540
539
|
o("th", null, [
|
|
541
540
|
o("span", null, l(e(a)("booking.reservation.addons")), 1)
|
|
542
541
|
]),
|
|
543
|
-
|
|
544
|
-
o("th",
|
|
542
|
+
Qo,
|
|
543
|
+
o("th", Yo, [
|
|
545
544
|
o("span", null, l(e(a)("booking.availability.price")), 1)
|
|
546
545
|
])
|
|
547
546
|
])
|
|
548
547
|
]),
|
|
549
548
|
o("tbody", null, [
|
|
550
|
-
(t(!0), r(_, null,
|
|
549
|
+
(t(!0), r(_, null, D(e(Te).products, ({ productID: s, productName: g, price: C, description: p }) => (t(), r("tr", { key: s }, [
|
|
551
550
|
o("td", null, [
|
|
552
551
|
o("b", null, [
|
|
553
552
|
o("span", null, l(g), 1)
|
|
554
553
|
]),
|
|
555
|
-
|
|
554
|
+
Jo,
|
|
556
555
|
o("span", null, l(p), 1),
|
|
557
|
-
|
|
556
|
+
Xo,
|
|
558
557
|
o("span", null, l(e(P)(C, e(n))), 1)
|
|
559
558
|
]),
|
|
560
|
-
o("td",
|
|
559
|
+
o("td", Zo, [
|
|
561
560
|
u(x, {
|
|
562
|
-
modelValue: e(L)[
|
|
563
|
-
"onUpdate:modelValue": (v) => e(L)[
|
|
561
|
+
modelValue: e(L)[s],
|
|
562
|
+
"onUpdate:modelValue": (v) => e(L)[s] = v,
|
|
564
563
|
small: !0,
|
|
565
564
|
"min-value": 0
|
|
566
565
|
}, null, 8, ["modelValue", "onUpdate:modelValue"])
|
|
567
566
|
]),
|
|
568
|
-
o("td",
|
|
569
|
-
o("span", null, l(e(P)(e(ae)(
|
|
567
|
+
o("td", jo, [
|
|
568
|
+
o("span", null, l(e(P)(e(ae)(s), e(n))), 1)
|
|
570
569
|
])
|
|
571
570
|
]))), 128))
|
|
572
571
|
])
|
|
@@ -578,11 +577,11 @@ const ge = /* @__PURE__ */ ye(Vo, [["__scopeId", "data-v-c907b452"]]), D = (T) =
|
|
|
578
577
|
o("span", null, l(e(a)("event.numberOfGuests")), 1),
|
|
579
578
|
o("b", null, l(e(B)), 1)
|
|
580
579
|
]),
|
|
581
|
-
e(V) ? (t(), r("li",
|
|
580
|
+
e(V) ? (t(), r("li", Ho, [
|
|
582
581
|
o("span", null, l(e(a)("event.numberOfRooms")), 1),
|
|
583
582
|
o("b", null, l(e(he)), 1)
|
|
584
583
|
])) : d("", !0),
|
|
585
|
-
e(V) ? (t(), r("li",
|
|
584
|
+
e(V) ? (t(), r("li", Ko, [
|
|
586
585
|
o("span", null, l(e(a)("event.numberOfDays")), 1),
|
|
587
586
|
o("b", null, l(e(O)), 1)
|
|
588
587
|
])) : d("", !0),
|
|
@@ -608,9 +607,9 @@ const ge = /* @__PURE__ */ ye(Vo, [["__scopeId", "data-v-c907b452"]]), D = (T) =
|
|
|
608
607
|
])) : d("", !0)
|
|
609
608
|
]),
|
|
610
609
|
expenses: f(() => [
|
|
611
|
-
(t(!0), r(_, null,
|
|
610
|
+
(t(!0), r(_, null, D(e(Q), ({ roomGroupID: s }, g) => (t(), r("li", { key: s }, [
|
|
612
611
|
o("span", null, l(e(a)("booking.reservation.addons")) + " - " + l(e(a)("booking.reservation.room")) + " #" + l(g + 1), 1),
|
|
613
|
-
o("b", null, l(e(P)(e(
|
|
612
|
+
o("b", null, l(e(P)(e(se)(s, g), e(n))), 1)
|
|
614
613
|
]))), 128))
|
|
615
614
|
]),
|
|
616
615
|
_: 2
|
|
@@ -626,19 +625,21 @@ const ge = /* @__PURE__ */ ye(Vo, [["__scopeId", "data-v-c907b452"]]), D = (T) =
|
|
|
626
625
|
}, null, 8, ["message", "currency"])
|
|
627
626
|
]),
|
|
628
627
|
_: 1
|
|
629
|
-
}, 8, ["slideshow", "title", "subtitle"])) : (t(), y(
|
|
628
|
+
}, 8, ["slideshow", "title", "subtitle"])) : (t(), y(ue, { key: 1 }))
|
|
630
629
|
]),
|
|
631
630
|
_: 1
|
|
632
631
|
}, 8, ["access-token"]));
|
|
633
632
|
}
|
|
634
633
|
});
|
|
635
|
-
const tl = /* @__PURE__ */
|
|
634
|
+
const tl = /* @__PURE__ */ fe(nl, [["__scopeId", "data-v-451e0157"]]), al = to(), sl = po(), F = ao({ components: { Event: tl } });
|
|
636
635
|
F.use(al);
|
|
637
|
-
F.use(
|
|
636
|
+
F.use(sl);
|
|
638
637
|
F.use(yo);
|
|
639
638
|
F.use(bo);
|
|
640
|
-
F.use(
|
|
639
|
+
F.use(so);
|
|
641
640
|
F.use(go);
|
|
642
641
|
F.use(fo, { bootstrap: !1 });
|
|
643
642
|
F.mount("#fresh-booking-event-app");
|
|
644
|
-
|
|
643
|
+
export {
|
|
644
|
+
F as default
|
|
645
|
+
};
|