@konnectio/core 4.0.56-rc33 → 4.0.56-rc35
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-tze5AH3K.js → ActionField-Bruv7ZZW.js} +1 -1
- package/dist/ActionField-Bruv7ZZW.js.br +0 -0
- package/dist/{AvailabilitySkeleton-BO4Erg_O.js → AvailabilitySkeleton-DxVPZPw3.js} +3 -3
- package/dist/AvailabilitySkeleton-DxVPZPw3.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-_E-GDGw7.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Z4h6wyqj.js} +1 -1
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Z4h6wyqj.js.br +0 -0
- package/dist/{CheckoutWindow-CIZWV-gI.js → CheckoutWindow-Dn3fiFuv.js} +1 -1
- package/dist/{CheckoutWindow-CIZWV-gI.js.br → CheckoutWindow-Dn3fiFuv.js.br} +0 -0
- package/dist/{ErrorMessage-BzZDhDkX.js → ErrorMessage-VK8egk99.js} +1 -1
- package/dist/ErrorMessage-VK8egk99.js.br +0 -0
- package/dist/{EventAvailabilityForm-D73TXrag.js → EventAvailabilityForm-DbkL5luy.js} +141 -141
- package/dist/EventAvailabilityForm-DbkL5luy.js.br +0 -0
- package/dist/{Field-oZiblvji.js → Field-fZ3Q2e9-.js} +1 -1
- package/dist/Field-fZ3Q2e9-.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bsv17X7r.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CJgfqs-l.js} +8 -8
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CJgfqs-l.js.br +0 -0
- package/dist/{TermsOfService-yJlRLBDk.js → TermsOfService-2g29W45E.js} +2 -2
- package/dist/availability.js +4 -4
- package/dist/availability.js.br +0 -0
- package/dist/event.js +223 -222
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +4 -4
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +59 -58
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +492 -531
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-B71LqMrD.js → masonry.plugin-WFnnzw7L.js} +642 -602
- package/dist/masonry.plugin-WFnnzw7L.js.br +0 -0
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +5 -5
- package/dist/ActionField-tze5AH3K.js.br +0 -0
- package/dist/AvailabilitySkeleton-BO4Erg_O.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-_E-GDGw7.js.br +0 -0
- package/dist/ErrorMessage-BzZDhDkX.js.br +0 -0
- package/dist/EventAvailabilityForm-D73TXrag.js.br +0 -0
- package/dist/Field-oZiblvji.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Bsv17X7r.js.br +0 -0
- package/dist/masonry.plugin-B71LqMrD.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { d as W, u as X, K as z, N as ge, a0 as re, m as
|
|
2
|
-
import { R as Zt, B as
|
|
3
|
-
import { A as
|
|
4
|
-
import { S as
|
|
5
|
-
import { a as
|
|
6
|
-
import { _ as
|
|
7
|
-
const
|
|
8
|
-
const mo = { key: 0 },
|
|
1
|
+
import { d as W, u as X, K as z, N as ge, a0 as re, m as J, o as p, a as A, w as V, ae as Me, f as i, t as y, g as o, a5 as ne, a9 as Je, aa as xe, e as v, a3 as q, av as Fe, aw as Lt, c as h, ab as O, F as R, b as _, ak as Ne, ax as ue, a4 as ae, a2 as U, a8 as Rt, q as Ve, _ as ie, i as j, j as we, y as lt, z as nt, ay as at, p as Pe, a1 as Te, k as it, C as se, h as st, af as rt, l as ut, n as $e, r as Ye, T as le, I as Ut, az as Ot, x as Ft, S as Nt, al as jt, v as Gt, ar as qt, aA as Wt, A as Kt, B as zt, D as Jt, ad as xt, G as Yt } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CJgfqs-l.js";
|
|
2
|
+
import { R as Zt, B as He, L as Qt, S as Xt, M as eo, a as Le, C as to, T as oo, V as lo, G as no } from "./masonry.plugin-WFnnzw7L.js";
|
|
3
|
+
import { A as ao, H as io } from "./AvailabilitySkeleton-DxVPZPw3.js";
|
|
4
|
+
import { S as so } from "./TermsOfService-2g29W45E.js";
|
|
5
|
+
import { a as je, B as ro, P as uo, C as co } from "./CheckoutWindow-Dn3fiFuv.js";
|
|
6
|
+
import { _ as dt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-Z4h6wyqj.js";
|
|
7
|
+
const po = { class: "konnectio-hotel-reservation-warning" }, fo = { class: "konnectio-hotel-reservation-warning" };
|
|
8
|
+
const mo = { key: 0 }, ho = { key: 1 }, vo = { class: "konnectio-reservation-actions" }, go = /* @__PURE__ */ W({
|
|
9
9
|
__name: "HotelReservationForm",
|
|
10
10
|
props: {
|
|
11
11
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -18,127 +18,127 @@ const mo = { key: 0 }, fo = { key: 1 }, ho = { class: "konnectio-reservation-act
|
|
|
18
18
|
disableDepartureUserSelection: a,
|
|
19
19
|
arrivalDefault: s,
|
|
20
20
|
departureDefault: c,
|
|
21
|
-
disableNewsletterSignup:
|
|
21
|
+
disableNewsletterSignup: f,
|
|
22
22
|
currency: d
|
|
23
23
|
} = z(ge()), {
|
|
24
24
|
arrivalTime: r,
|
|
25
25
|
departureTime: u,
|
|
26
|
-
roomDisplay:
|
|
26
|
+
roomDisplay: m,
|
|
27
27
|
templateID: k,
|
|
28
28
|
totalPrice: P,
|
|
29
|
-
areListingsLoading:
|
|
29
|
+
areListingsLoading: T,
|
|
30
30
|
getSelectedPackageRoom: I,
|
|
31
31
|
selectedPackage: E,
|
|
32
32
|
discountVouchers: b,
|
|
33
|
-
currentArrivalDate:
|
|
33
|
+
currentArrivalDate: $,
|
|
34
34
|
currentDepartureDate: H,
|
|
35
|
-
datesMismatch:
|
|
35
|
+
datesMismatch: F,
|
|
36
36
|
newsMails: B,
|
|
37
|
-
termsOfService:
|
|
38
|
-
discountCode:
|
|
39
|
-
acceptTerms:
|
|
40
|
-
} = z(re()), { removeRoom: Y, validateDiscountCode:
|
|
37
|
+
termsOfService: x,
|
|
38
|
+
discountCode: N,
|
|
39
|
+
acceptTerms: D
|
|
40
|
+
} = z(re()), { removeRoom: Y, validateDiscountCode: Se } = re(), de = J(!1);
|
|
41
41
|
function ce(Z) {
|
|
42
|
-
return Z.reduce((
|
|
42
|
+
return Z.reduce((M, { totalPrice: pe }) => M + pe, 0);
|
|
43
43
|
}
|
|
44
|
-
return (Z, G) => (p(),
|
|
45
|
-
"discount-code": o(
|
|
46
|
-
"onUpdate:discountCode": G[4] || (G[4] = (
|
|
47
|
-
"validate-discount-code": o(
|
|
44
|
+
return (Z, G) => (p(), A(Zt, {
|
|
45
|
+
"discount-code": o(N),
|
|
46
|
+
"onUpdate:discountCode": G[4] || (G[4] = (M) => U(N) ? N.value = M : null),
|
|
47
|
+
"validate-discount-code": o(Se),
|
|
48
48
|
"total-price": o(P),
|
|
49
49
|
"show-gift-card": Z.showGiftCard,
|
|
50
50
|
"show-terms-notice": Z.showTermsNotice,
|
|
51
|
-
"is-sidebar-loading": o(
|
|
51
|
+
"is-sidebar-loading": o(T),
|
|
52
52
|
notice: o(e)("hotel.reservationNotice")
|
|
53
53
|
}, {
|
|
54
54
|
form: V(() => [
|
|
55
|
-
|
|
55
|
+
Me(Z.$slots, "form", {}, void 0, !0)
|
|
56
56
|
]),
|
|
57
57
|
"reservation-summary": V(() => [
|
|
58
58
|
i("li", null, [
|
|
59
59
|
i("span", null, y(o(e)("booking.reservation.arrival")), 1),
|
|
60
60
|
i("b", null, [
|
|
61
|
-
i("span", null, y(o(t) ? o(
|
|
62
|
-
|
|
61
|
+
i("span", null, y(o(t) ? o(ne)(o($)) : `${o(ne)(o($))}, ${o(n) ? o(s) : o(r)}`), 1),
|
|
62
|
+
Je(i("span", po, [
|
|
63
63
|
v(q, {
|
|
64
64
|
icon: "exclamation-triangle",
|
|
65
65
|
type: "fas"
|
|
66
66
|
})
|
|
67
67
|
], 512), [
|
|
68
|
-
[
|
|
68
|
+
[xe, o(F)]
|
|
69
69
|
])
|
|
70
70
|
])
|
|
71
71
|
]),
|
|
72
72
|
i("li", null, [
|
|
73
73
|
i("span", null, y(o(e)("booking.reservation.departure")), 1),
|
|
74
74
|
i("b", null, [
|
|
75
|
-
i("span", null, y(o(t) ? o(
|
|
76
|
-
|
|
75
|
+
i("span", null, y(o(t) ? o(ne)(o(H)) : `${o(ne)(o(H))}, ${o(a) ? o(c) : o(u)}`), 1),
|
|
76
|
+
Je(i("span", fo, [
|
|
77
77
|
v(q, {
|
|
78
78
|
icon: "exclamation-triangle",
|
|
79
79
|
type: "fas"
|
|
80
80
|
})
|
|
81
81
|
], 512), [
|
|
82
|
-
[
|
|
82
|
+
[xe, o(F)]
|
|
83
83
|
])
|
|
84
84
|
])
|
|
85
85
|
]),
|
|
86
86
|
i("li", null, [
|
|
87
87
|
i("span", null, y(o(e)("booking.reservation.nights")), 1),
|
|
88
|
-
i("b", null, y(o(
|
|
88
|
+
i("b", null, y(o(Fe)(o($), o(H))) + " " + y(o(Lt)(o(Fe)(o($), o(H)) === 1 ? o(e)("booking.reservation.night") : o(e)("booking.reservation.nights"))), 1)
|
|
89
89
|
]),
|
|
90
|
-
o(b) ? (p(!0), h(
|
|
91
|
-
key:
|
|
90
|
+
o(b) ? (p(!0), h(R, { key: 0 }, O(o(b), (M) => (p(), h("li", {
|
|
91
|
+
key: M.id
|
|
92
92
|
}, [
|
|
93
|
-
i("span", null, y(`${o(e)("general.discountCode")} (${
|
|
94
|
-
i("b", null, y(
|
|
93
|
+
i("span", null, y(`${o(e)("general.discountCode")} (${M.value})`), 1),
|
|
94
|
+
i("b", null, y(M.key), 1)
|
|
95
95
|
]))), 128)) : _("", !0)
|
|
96
96
|
]),
|
|
97
97
|
"price-summary": V(() => [
|
|
98
|
-
isNaN(o(k)) && o(
|
|
99
|
-
roomGroupID:
|
|
98
|
+
isNaN(o(k)) && o(m).length > 0 ? (p(!0), h(R, { key: 0 }, O(o(m), ({
|
|
99
|
+
roomGroupID: M,
|
|
100
100
|
title: pe,
|
|
101
|
-
variants:
|
|
102
|
-
}) => (p(), h("div", { key:
|
|
101
|
+
variants: De
|
|
102
|
+
}) => (p(), h("div", { key: M }, [
|
|
103
103
|
i("h6", null, [
|
|
104
104
|
i("span", null, y(pe), 1)
|
|
105
105
|
]),
|
|
106
|
-
(p(!0), h(
|
|
107
|
-
(p(!0), h(
|
|
106
|
+
(p(!0), h(R, null, O(De, (ye, Ae) => (p(), h("div", { key: Ae }, [
|
|
107
|
+
(p(!0), h(R, null, O(ye.rooms, (ee, fe) => (p(), h("ul", { key: fe }, [
|
|
108
108
|
i("li", null, [
|
|
109
109
|
i("span", null, [
|
|
110
110
|
i("span", null, [
|
|
111
|
-
|
|
111
|
+
Ne(y(o(ue)(ye.name)) + " ( ", 1),
|
|
112
112
|
v(q, {
|
|
113
113
|
icon: "male",
|
|
114
114
|
type: "fas",
|
|
115
115
|
color: "font"
|
|
116
116
|
}),
|
|
117
|
-
i("span", null, y(
|
|
118
|
-
|
|
117
|
+
i("span", null, y(ee.adultsCount), 1),
|
|
118
|
+
ee.childrenCount > 0 ? (p(), h(R, { key: 0 }, [
|
|
119
119
|
v(q, {
|
|
120
120
|
icon: "child",
|
|
121
121
|
type: "fas",
|
|
122
122
|
color: "font"
|
|
123
123
|
}),
|
|
124
|
-
i("span", null, y(
|
|
124
|
+
i("span", null, y(ee.childrenCount), 1)
|
|
125
125
|
], 64)) : _("", !0),
|
|
126
|
-
|
|
126
|
+
Ne(") ")
|
|
127
127
|
])
|
|
128
128
|
]),
|
|
129
129
|
i("b", null, [
|
|
130
|
-
i("span", null, y(o(
|
|
130
|
+
i("span", null, y(o(ae)(ee.totalPrice, o(d))), 1),
|
|
131
131
|
_("", !0)
|
|
132
132
|
])
|
|
133
133
|
]),
|
|
134
|
-
ce(
|
|
134
|
+
ce(ee.roomAddons) > 0 ? (p(), h("li", mo, [
|
|
135
135
|
i("span", null, y(o(e)("general.addons")), 1),
|
|
136
|
-
i("b", null, y(o(
|
|
136
|
+
i("b", null, y(o(ae)(ce(ee.roomAddons), o(d))), 1)
|
|
137
137
|
])) : _("", !0)
|
|
138
138
|
]))), 128))
|
|
139
139
|
]))), 128))
|
|
140
140
|
]))), 128)) : _("", !0),
|
|
141
|
-
o(I) && o(E) ? (p(), h("div",
|
|
141
|
+
o(I) && o(E) ? (p(), h("div", ho, [
|
|
142
142
|
i("h6", null, [
|
|
143
143
|
i("span", null, y(o(ue)(o(E).name)), 1)
|
|
144
144
|
]),
|
|
@@ -149,7 +149,7 @@ const mo = { key: 0 }, fo = { key: 1 }, ho = { class: "konnectio-reservation-act
|
|
|
149
149
|
i("span", null, y(o(ue)(o(I).title)), 1)
|
|
150
150
|
]),
|
|
151
151
|
i("b", null, [
|
|
152
|
-
i("span", null, y(o(
|
|
152
|
+
i("span", null, y(o(ae)(o(I).extraPrice, o(d))), 1)
|
|
153
153
|
])
|
|
154
154
|
])
|
|
155
155
|
])
|
|
@@ -157,23 +157,23 @@ const mo = { key: 0 }, fo = { key: 1 }, ho = { class: "konnectio-reservation-act
|
|
|
157
157
|
])) : _("", !0)
|
|
158
158
|
]),
|
|
159
159
|
actions: V(() => [
|
|
160
|
-
i("ul",
|
|
161
|
-
o(
|
|
160
|
+
i("ul", vo, [
|
|
161
|
+
o(f) ? _("", !0) : (p(), A(je, {
|
|
162
162
|
key: 0,
|
|
163
163
|
modelValue: o(B),
|
|
164
|
-
"onUpdate:modelValue": G[0] || (G[0] = (
|
|
164
|
+
"onUpdate:modelValue": G[0] || (G[0] = (M) => U(B) ? B.value = M : null),
|
|
165
165
|
type: "checkbox",
|
|
166
166
|
name: "newsletter",
|
|
167
167
|
label: o(e)("booking.reservation.newsletterSignUp")
|
|
168
168
|
}, null, 8, ["modelValue", "label"])),
|
|
169
|
-
v(
|
|
170
|
-
modelValue: o(
|
|
171
|
-
"onUpdate:modelValue": G[2] || (G[2] = (
|
|
169
|
+
v(je, {
|
|
170
|
+
modelValue: o(D),
|
|
171
|
+
"onUpdate:modelValue": G[2] || (G[2] = (M) => U(D) ? D.value = M : null),
|
|
172
172
|
type: "checkbox",
|
|
173
173
|
name: "terms"
|
|
174
174
|
}, {
|
|
175
175
|
default: V(() => [
|
|
176
|
-
v(o(
|
|
176
|
+
v(o(Rt), {
|
|
177
177
|
keypath: "general.termsAndConditionsCheckbox",
|
|
178
178
|
tag: "span",
|
|
179
179
|
scope: "global"
|
|
@@ -181,7 +181,7 @@ const mo = { key: 0 }, fo = { key: 1 }, ho = { class: "konnectio-reservation-act
|
|
|
181
181
|
terms: V(() => [
|
|
182
182
|
i("a", {
|
|
183
183
|
class: "konnectio-accept-terms-link",
|
|
184
|
-
onClick: G[1] || (G[1] = Ve((
|
|
184
|
+
onClick: G[1] || (G[1] = Ve((M) => de.value = !0, ["prevent"]))
|
|
185
185
|
}, [
|
|
186
186
|
i("span", null, y(o(e)("general.termsAndConditions")), 1)
|
|
187
187
|
])
|
|
@@ -191,21 +191,21 @@ const mo = { key: 0 }, fo = { key: 1 }, ho = { class: "konnectio-reservation-act
|
|
|
191
191
|
]),
|
|
192
192
|
_: 1
|
|
193
193
|
}, 8, ["modelValue"]),
|
|
194
|
-
|
|
195
|
-
v(
|
|
194
|
+
Me(Z.$slots, "actions", {}, void 0, !0),
|
|
195
|
+
v(so, {
|
|
196
196
|
modelValue: de.value,
|
|
197
|
-
"onUpdate:modelValue": G[3] || (G[3] = (
|
|
198
|
-
description: o(
|
|
197
|
+
"onUpdate:modelValue": G[3] || (G[3] = (M) => de.value = M),
|
|
198
|
+
description: o(x)
|
|
199
199
|
}, null, 8, ["modelValue", "description"])
|
|
200
200
|
])
|
|
201
201
|
]),
|
|
202
202
|
navigation: V(() => [
|
|
203
|
-
|
|
203
|
+
Me(Z.$slots, "navigation", {}, void 0, !0)
|
|
204
204
|
]),
|
|
205
205
|
_: 3
|
|
206
206
|
}, 8, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
|
|
207
207
|
}
|
|
208
|
-
}),
|
|
208
|
+
}), Re = /* @__PURE__ */ ie(go, [["__scopeId", "data-v-db2668d8"]]), yo = (l) => (lt("data-v-69fe83d8"), l = l(), nt(), l), bo = { class: "konnectio-room-config-option" }, ko = { key: 0 }, _o = { class: "konnectio-selected-room-config" }, Vo = { class: "konnectio-selected-room-config-people" }, To = { key: 0 }, $o = { class: "konnectio-selected-room-config-price" }, Co = /* @__PURE__ */ yo(() => /* @__PURE__ */ i("span", null, null, -1)), wo = /* @__PURE__ */ W({
|
|
209
209
|
__name: "RoomConfigField",
|
|
210
210
|
props: {
|
|
211
211
|
modelValue: {},
|
|
@@ -220,13 +220,13 @@ const mo = { key: 0 }, fo = { key: 1 }, ho = { class: "konnectio-reservation-act
|
|
|
220
220
|
function c(d) {
|
|
221
221
|
a("update:modelValue", d);
|
|
222
222
|
}
|
|
223
|
-
const
|
|
223
|
+
const f = j({
|
|
224
224
|
get: () => s.modelValue,
|
|
225
225
|
set: (d) => c(d)
|
|
226
226
|
});
|
|
227
|
-
return (d, r) => (p(),
|
|
228
|
-
modelValue:
|
|
229
|
-
"onUpdate:modelValue": r[0] || (r[0] = (u) =>
|
|
227
|
+
return (d, r) => (p(), A(we, {
|
|
228
|
+
modelValue: f.value,
|
|
229
|
+
"onUpdate:modelValue": r[0] || (r[0] = (u) => f.value = u),
|
|
230
230
|
label: d.label,
|
|
231
231
|
placeholder: "Select guest configuration",
|
|
232
232
|
labelKey: "label",
|
|
@@ -238,7 +238,7 @@ const mo = { key: 0 }, fo = { key: 1 }, ho = { class: "konnectio-reservation-act
|
|
|
238
238
|
searchable: !1
|
|
239
239
|
}, {
|
|
240
240
|
option: V(({ data: u }) => [
|
|
241
|
-
i("span",
|
|
241
|
+
i("span", bo, [
|
|
242
242
|
i("div", null, [
|
|
243
243
|
v(q, {
|
|
244
244
|
icon: "male",
|
|
@@ -246,7 +246,7 @@ const mo = { key: 0 }, fo = { key: 1 }, ho = { class: "konnectio-reservation-act
|
|
|
246
246
|
color: "font"
|
|
247
247
|
}),
|
|
248
248
|
i("span", null, y(`${u.adults}`), 1),
|
|
249
|
-
u.children > 0 ? (p(), h("span",
|
|
249
|
+
u.children > 0 ? (p(), h("span", ko, [
|
|
250
250
|
v(q, {
|
|
251
251
|
icon: "child",
|
|
252
252
|
type: "fas",
|
|
@@ -255,39 +255,39 @@ const mo = { key: 0 }, fo = { key: 1 }, ho = { class: "konnectio-reservation-act
|
|
|
255
255
|
i("span", null, y(`${u.children}`), 1)
|
|
256
256
|
])) : _("", !0)
|
|
257
257
|
]),
|
|
258
|
-
i("span", null, y(`(${o(
|
|
258
|
+
i("span", null, y(`(${o(ae)(u.price, o(n))})`), 1)
|
|
259
259
|
])
|
|
260
260
|
]),
|
|
261
261
|
"selected-option": V(({ data: u }) => [
|
|
262
|
-
i("div",
|
|
263
|
-
i("div",
|
|
262
|
+
i("div", _o, [
|
|
263
|
+
i("div", Vo, [
|
|
264
264
|
i("div", null, [
|
|
265
265
|
_("", !0),
|
|
266
266
|
i("span", null, y(`${u.adults} ${u.adults === 1 ? o(t)("general.adult") : o(t)("general.adults")}`), 1)
|
|
267
267
|
]),
|
|
268
|
-
u.children > 0 ? (p(), h("div",
|
|
268
|
+
u.children > 0 ? (p(), h("div", To, [
|
|
269
269
|
_("", !0),
|
|
270
270
|
i("span", null, y(`& ${u.children} ${u.children === 1 ? o(t)("general.child") : o(t)("general.children")}`), 1)
|
|
271
271
|
])) : _("", !0)
|
|
272
272
|
]),
|
|
273
273
|
i("div", $o, [
|
|
274
|
-
|
|
275
|
-
|
|
274
|
+
Co,
|
|
275
|
+
Ne(" " + y(`(${o(ae)(u.price, o(n))})`), 1)
|
|
276
276
|
])
|
|
277
277
|
])
|
|
278
278
|
]),
|
|
279
279
|
_: 1
|
|
280
280
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
281
281
|
}
|
|
282
|
-
}),
|
|
283
|
-
const
|
|
282
|
+
}), Po = /* @__PURE__ */ ie(wo, [["__scopeId", "data-v-69fe83d8"]]), Ho = { class: "konnectio-availability-listing-selection" }, So = { key: 1 }, Do = { class: "fresh-booking-listing-config-body" }, Ao = { class: "fresh-booking-listing-units-body" };
|
|
283
|
+
const Io = /* @__PURE__ */ W({
|
|
284
284
|
__name: "Hotel",
|
|
285
285
|
props: {
|
|
286
286
|
room: {},
|
|
287
287
|
layout: {}
|
|
288
288
|
},
|
|
289
289
|
setup(l) {
|
|
290
|
-
const { t: e } = X(), t = l, n =
|
|
290
|
+
const { t: e } = X(), t = l, n = J([]);
|
|
291
291
|
function a(b) {
|
|
292
292
|
n.value[b].config.push({
|
|
293
293
|
id: NaN,
|
|
@@ -295,18 +295,18 @@ const Ao = /* @__PURE__ */ W({
|
|
|
295
295
|
addons: []
|
|
296
296
|
});
|
|
297
297
|
}
|
|
298
|
-
const s =
|
|
298
|
+
const s = j(() => t.room.rates.map((b) => ({
|
|
299
299
|
label: b.name,
|
|
300
300
|
value: b.id
|
|
301
|
-
}))), { hideAvailableRoomAmount: c } = z(ge()), { roomSelect:
|
|
302
|
-
value:
|
|
303
|
-
price:
|
|
304
|
-
adults:
|
|
305
|
-
children:
|
|
306
|
-
hasBreakfast:
|
|
307
|
-
})) || [] : [],
|
|
301
|
+
}))), { hideAvailableRoomAmount: c } = z(ge()), { roomSelect: f } = z(re()), { addToCart: d, removeFromCart: r } = at(), u = (b, $) => t.room.rates.find((H) => H.id === b)?.occupantRates.find((H) => H.index === $), m = j(() => t.room.rates.every((b) => b.isBreakfastIncluded === !0)), k = (b, $) => u(b, $) ? u(b, $)?.rooms : null, P = (b) => t.room.rates.length > 0 ? t.room.rates.find(($) => $.id === b)?.occupantRates.map(($) => ({
|
|
302
|
+
value: $.index,
|
|
303
|
+
price: $.totalPrice,
|
|
304
|
+
adults: $.adultsCount,
|
|
305
|
+
children: $.childrenCount,
|
|
306
|
+
hasBreakfast: $.hasBreakfast
|
|
307
|
+
})) || [] : [], T = j(() => t.room.rates.length > 1);
|
|
308
308
|
function I() {
|
|
309
|
-
|
|
309
|
+
T.value ? n.value.push({
|
|
310
310
|
id: void 0,
|
|
311
311
|
config: [{
|
|
312
312
|
id: t.room.rates[0].occupantRateIndex || NaN,
|
|
@@ -322,28 +322,28 @@ const Ao = /* @__PURE__ */ W({
|
|
|
322
322
|
}]
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
|
|
325
|
+
Pe(() => {
|
|
326
326
|
I();
|
|
327
327
|
});
|
|
328
|
-
const E =
|
|
329
|
-
return
|
|
330
|
-
|
|
331
|
-
H.config.forEach((B,
|
|
332
|
-
const
|
|
333
|
-
|
|
328
|
+
const E = j(() => JSON.parse(JSON.stringify(n.value)));
|
|
329
|
+
return Te(E, (b, $) => {
|
|
330
|
+
$.length > 0 && b.forEach((H, F) => {
|
|
331
|
+
H.config.forEach((B, x) => {
|
|
332
|
+
const N = B.units, D = $[F].config[x].units;
|
|
333
|
+
N !== D && (N > D ? (n.value[F].config[x].addons.push({}), d({
|
|
334
334
|
id: t.room.id,
|
|
335
335
|
name: t.room.title,
|
|
336
|
-
value: t.room.rates[
|
|
337
|
-
})) : (n.value[
|
|
336
|
+
value: t.room.rates[F].rackRate
|
|
337
|
+
})) : (n.value[F].config[x].addons.pop(), r({
|
|
338
338
|
id: t.room.id,
|
|
339
339
|
name: t.room.title,
|
|
340
|
-
value: t.room.rates[
|
|
340
|
+
value: t.room.rates[F].rackRate
|
|
341
341
|
})));
|
|
342
342
|
});
|
|
343
343
|
});
|
|
344
|
-
}, { deep: !0 }),
|
|
345
|
-
|
|
346
|
-
}, { deep: !0 }), (b,
|
|
344
|
+
}, { deep: !0 }), Te(n, () => {
|
|
345
|
+
f.value[t.room.id] = n.value;
|
|
346
|
+
}, { deep: !0 }), (b, $) => (p(), A(He, {
|
|
347
347
|
"listing-id": b.room.id,
|
|
348
348
|
gallery: b.room.images,
|
|
349
349
|
name: b.room.title,
|
|
@@ -351,15 +351,15 @@ const Ao = /* @__PURE__ */ W({
|
|
|
351
351
|
layout: b.layout,
|
|
352
352
|
facilities: b.room.facilities,
|
|
353
353
|
"prices-from": b.room.pricesFrom,
|
|
354
|
-
"includes-breakfast":
|
|
354
|
+
"includes-breakfast": m.value
|
|
355
355
|
}, {
|
|
356
356
|
action: V(() => [
|
|
357
|
-
i("div",
|
|
358
|
-
(p(!0), h(
|
|
357
|
+
i("div", Ho, [
|
|
358
|
+
(p(!0), h(R, null, O(n.value, (H, F) => (p(), h("div", {
|
|
359
359
|
key: H.id,
|
|
360
360
|
class: "freshbooking-hotel-room"
|
|
361
361
|
}, [
|
|
362
|
-
|
|
362
|
+
T.value ? (p(), A(we, {
|
|
363
363
|
key: 0,
|
|
364
364
|
modelValue: H.id,
|
|
365
365
|
"onUpdate:modelValue": (B) => H.id = B,
|
|
@@ -368,41 +368,41 @@ const Ao = /* @__PURE__ */ W({
|
|
|
368
368
|
options: s.value,
|
|
369
369
|
searchable: !1
|
|
370
370
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : _("", !0),
|
|
371
|
-
H.id ? (p(), h("div",
|
|
372
|
-
(p(!0), h(
|
|
371
|
+
H.id ? (p(), h("div", So, [
|
|
372
|
+
(p(!0), h(R, null, O(b.room.rates, ({
|
|
373
373
|
id: B,
|
|
374
|
-
maximumOccupants:
|
|
374
|
+
maximumOccupants: x
|
|
375
375
|
}) => (p(), h("div", {
|
|
376
376
|
key: B,
|
|
377
377
|
class: "booking-availability-listing-action-selective-i"
|
|
378
378
|
}, [
|
|
379
|
-
H.id === B ? (p(!0), h(
|
|
380
|
-
key:
|
|
379
|
+
H.id === B ? (p(!0), h(R, { key: 0 }, O(H.config, (N, D) => (p(), h("div", {
|
|
380
|
+
key: D,
|
|
381
381
|
class: "booking-availability-listing-action-selective"
|
|
382
382
|
}, [
|
|
383
|
-
i("ul",
|
|
384
|
-
v(
|
|
385
|
-
modelValue:
|
|
386
|
-
"onUpdate:modelValue": (Y) =>
|
|
383
|
+
i("ul", Do, [
|
|
384
|
+
v(Po, {
|
|
385
|
+
modelValue: N.id,
|
|
386
|
+
"onUpdate:modelValue": (Y) => N.id = Y,
|
|
387
387
|
icon: "male",
|
|
388
388
|
"icon-type": "fas",
|
|
389
389
|
label: o(e)("general.guests"),
|
|
390
|
-
description: `${o(e)("general.maximumGuests")}: ${
|
|
390
|
+
description: `${o(e)("general.maximumGuests")}: ${x}`,
|
|
391
391
|
options: P(B),
|
|
392
392
|
readonly: !(P(B).length > 1)
|
|
393
393
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
394
394
|
]),
|
|
395
|
-
i("ul",
|
|
395
|
+
i("ul", Ao, [
|
|
396
396
|
v(it, {
|
|
397
|
-
modelValue:
|
|
398
|
-
"onUpdate:modelValue": (Y) =>
|
|
399
|
-
description: o(c) ? void 0 : `${o(e)("booking.availability.availableUnits")}: ${k(H.id,
|
|
397
|
+
modelValue: N.units,
|
|
398
|
+
"onUpdate:modelValue": (Y) => N.units = Y,
|
|
399
|
+
description: o(c) ? void 0 : `${o(e)("booking.availability.availableUnits")}: ${k(H.id, N.id)}`,
|
|
400
400
|
icon: "house",
|
|
401
401
|
"icon-type": "fas",
|
|
402
402
|
"icon-placement": "label",
|
|
403
403
|
label: o(e)("booking.availability.units"),
|
|
404
404
|
minValue: 0,
|
|
405
|
-
"max-value": k(B,
|
|
405
|
+
"max-value": k(B, N.id) || 1 / 0
|
|
406
406
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
407
407
|
]),
|
|
408
408
|
_("", !0)
|
|
@@ -415,7 +415,7 @@ const Ao = /* @__PURE__ */ W({
|
|
|
415
415
|
_: 1
|
|
416
416
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
417
417
|
}
|
|
418
|
-
}),
|
|
418
|
+
}), Eo = /* @__PURE__ */ ie(Io, [["__scopeId", "data-v-2121431c"]]), Bo = { class: "konnectio-template-side-panel" }, Mo = { class: "konnectio-template-side-panel-listings" }, Lo = /* @__PURE__ */ W({
|
|
419
419
|
__name: "Template",
|
|
420
420
|
props: {
|
|
421
421
|
title: {},
|
|
@@ -424,34 +424,34 @@ const Ao = /* @__PURE__ */ W({
|
|
|
424
424
|
callback: { type: Function }
|
|
425
425
|
},
|
|
426
426
|
setup(l) {
|
|
427
|
-
const { t: e } = X(), { templateID: t, roomGroupID: n } = z(re()), { currency: a } = z(ge()), { clearRoomSelection: s } = re(), c = l,
|
|
428
|
-
function u(
|
|
429
|
-
return
|
|
427
|
+
const { t: e } = X(), { templateID: t, roomGroupID: n } = z(re()), { currency: a } = z(ge()), { clearRoomSelection: s } = re(), c = l, f = J(!0), d = j(() => {
|
|
428
|
+
function u(m, k) {
|
|
429
|
+
return f.value === !0 ? m.extraPrice > k.extraPrice ? -1 : 1 : m.extraPrice > k.extraPrice ? 1 : -1;
|
|
430
430
|
}
|
|
431
431
|
return c.roomGroups?.slice().sort(u);
|
|
432
432
|
});
|
|
433
433
|
function r(u) {
|
|
434
434
|
t.value = c.templateId, n.value = u, s(), c.callback(2);
|
|
435
435
|
}
|
|
436
|
-
return (u,
|
|
436
|
+
return (u, m) => (p(), A(ro, {
|
|
437
437
|
title: u.title,
|
|
438
438
|
subtitle: o(e)("booking.availability.selectATemplateRoom")
|
|
439
439
|
}, {
|
|
440
440
|
default: V(() => [
|
|
441
|
-
i("div",
|
|
442
|
-
i("div",
|
|
443
|
-
(p(!0), h(
|
|
441
|
+
i("div", Bo, [
|
|
442
|
+
i("div", Mo, [
|
|
443
|
+
(p(!0), h(R, null, O(d.value, ({
|
|
444
444
|
id: k,
|
|
445
445
|
title: P,
|
|
446
|
-
description:
|
|
446
|
+
description: T,
|
|
447
447
|
images: I,
|
|
448
448
|
facilities: E,
|
|
449
449
|
extraPrice: b
|
|
450
|
-
}) => (p(),
|
|
450
|
+
}) => (p(), A(He, {
|
|
451
451
|
key: k,
|
|
452
452
|
"listing-id": k,
|
|
453
453
|
name: P,
|
|
454
|
-
description:
|
|
454
|
+
description: T,
|
|
455
455
|
facilities: E,
|
|
456
456
|
gallery: I,
|
|
457
457
|
"includes-breakfast": !1,
|
|
@@ -460,8 +460,8 @@ const Ao = /* @__PURE__ */ W({
|
|
|
460
460
|
action: V(() => [
|
|
461
461
|
i("div", null, [
|
|
462
462
|
v(se, {
|
|
463
|
-
onClickEvent: (
|
|
464
|
-
label: `${o(e)("booking.availability.selectThisRoom")} (${o(
|
|
463
|
+
onClickEvent: ($) => r(k),
|
|
464
|
+
label: `${o(e)("booking.availability.selectThisRoom")} (${o(ae)(b, o(a))})`,
|
|
465
465
|
"full-width": ""
|
|
466
466
|
}, null, 8, ["onClickEvent", "label"])
|
|
467
467
|
])
|
|
@@ -474,7 +474,7 @@ const Ao = /* @__PURE__ */ W({
|
|
|
474
474
|
_: 1
|
|
475
475
|
}, 8, ["title", "subtitle"]));
|
|
476
476
|
}
|
|
477
|
-
}),
|
|
477
|
+
}), ct = /* @__PURE__ */ ie(Lo, [["__scopeId", "data-v-f7af0f66"]]), Ro = ["innerHTML"], Uo = { class: "konnectio-template-select-package" }, Oo = /* @__PURE__ */ W({
|
|
478
478
|
__name: "Template",
|
|
479
479
|
props: {
|
|
480
480
|
id: {},
|
|
@@ -486,10 +486,10 @@ const Ao = /* @__PURE__ */ W({
|
|
|
486
486
|
callback: { type: Function }
|
|
487
487
|
},
|
|
488
488
|
setup(l) {
|
|
489
|
-
const { t: e } = X(), t = l, n =
|
|
489
|
+
const { t: e } = X(), t = l, n = j(() => t.roomGroups.reduce(
|
|
490
490
|
(d, r) => d < r.extraPrice ? d : r.extraPrice,
|
|
491
491
|
1 / 0
|
|
492
|
-
)), a =
|
|
492
|
+
)), a = j(() => {
|
|
493
493
|
if (t.image)
|
|
494
494
|
return [{
|
|
495
495
|
large: t.image.url,
|
|
@@ -497,14 +497,14 @@ const Ao = /* @__PURE__ */ W({
|
|
|
497
497
|
thumb: t.image.url,
|
|
498
498
|
url: t.image.url
|
|
499
499
|
}];
|
|
500
|
-
}), s =
|
|
500
|
+
}), s = J(!1);
|
|
501
501
|
function c() {
|
|
502
502
|
s.value = !0;
|
|
503
503
|
}
|
|
504
|
-
function
|
|
504
|
+
function f(d) {
|
|
505
505
|
t.callback(d), s.value = !1;
|
|
506
506
|
}
|
|
507
|
-
return (d, r) => (p(),
|
|
507
|
+
return (d, r) => (p(), A(He, {
|
|
508
508
|
"listing-id": d.id,
|
|
509
509
|
name: d.name,
|
|
510
510
|
description: d.description,
|
|
@@ -518,10 +518,10 @@ const Ao = /* @__PURE__ */ W({
|
|
|
518
518
|
d.description ? (p(), h("p", {
|
|
519
519
|
key: 0,
|
|
520
520
|
innerHTML: o(st)(d.description)
|
|
521
|
-
}, null, 8,
|
|
521
|
+
}, null, 8, Ro)) : _("", !0)
|
|
522
522
|
]),
|
|
523
523
|
action: V(() => [
|
|
524
|
-
i("div",
|
|
524
|
+
i("div", Uo, [
|
|
525
525
|
v(se, {
|
|
526
526
|
onClickEvent: c,
|
|
527
527
|
label: o(e)("booking.availability.selectPackage"),
|
|
@@ -530,19 +530,19 @@ const Ao = /* @__PURE__ */ W({
|
|
|
530
530
|
])
|
|
531
531
|
]),
|
|
532
532
|
default: V(() => [
|
|
533
|
-
v(
|
|
533
|
+
v(ct, {
|
|
534
534
|
modelValue: s.value,
|
|
535
535
|
"onUpdate:modelValue": r[0] || (r[0] = (u) => s.value = u),
|
|
536
536
|
title: d.name,
|
|
537
537
|
"template-id": d.id,
|
|
538
538
|
roomGroups: d.roomGroups,
|
|
539
|
-
callback:
|
|
539
|
+
callback: f
|
|
540
540
|
}, null, 8, ["modelValue", "title", "template-id", "roomGroups"])
|
|
541
541
|
]),
|
|
542
542
|
_: 1
|
|
543
543
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
|
|
544
544
|
}
|
|
545
|
-
}), Fo = ["innerHTML"],
|
|
545
|
+
}), Fo = ["innerHTML"], No = { class: "konnectio-special-offer-availability" }, jo = { class: "konnectio-special-offer-availability-button" }, Go = /* @__PURE__ */ W({
|
|
546
546
|
__name: "SpecialOffer",
|
|
547
547
|
props: {
|
|
548
548
|
id: {},
|
|
@@ -556,21 +556,21 @@ const Ao = /* @__PURE__ */ W({
|
|
|
556
556
|
callback: { type: Function }
|
|
557
557
|
},
|
|
558
558
|
setup(l) {
|
|
559
|
-
const { t: e } = X(), { updateDates: t } = ut(), n = l, a =
|
|
559
|
+
const { t: e } = X(), { updateDates: t } = ut(), n = l, a = J([]), s = j(() => Fe(n.fromDate, n.toDate) === 1), c = j(() => [{
|
|
560
560
|
large: n.image.url,
|
|
561
561
|
medium: n.image.url,
|
|
562
562
|
thumb: n.image.url,
|
|
563
563
|
url: n.image.url
|
|
564
|
-
}]),
|
|
564
|
+
}]), f = J(!1);
|
|
565
565
|
function d(u) {
|
|
566
|
-
n.callback(u),
|
|
566
|
+
n.callback(u), f.value = !1;
|
|
567
567
|
}
|
|
568
568
|
function r() {
|
|
569
569
|
t(a.value[0], a.value[1]);
|
|
570
570
|
}
|
|
571
|
-
return
|
|
571
|
+
return Pe(() => {
|
|
572
572
|
s.value && (a.value = [new Date(n.fromDate), new Date(n.toDate)]);
|
|
573
|
-
}), (u,
|
|
573
|
+
}), (u, m) => (p(), A(He, {
|
|
574
574
|
"listing-id": u.id,
|
|
575
575
|
name: u.name,
|
|
576
576
|
description: u.description,
|
|
@@ -588,10 +588,10 @@ const Ao = /* @__PURE__ */ W({
|
|
|
588
588
|
}, null, 8, Fo)) : _("", !0)
|
|
589
589
|
]),
|
|
590
590
|
action: V(() => [
|
|
591
|
-
i("div",
|
|
592
|
-
v(
|
|
591
|
+
i("div", No, [
|
|
592
|
+
v(dt, {
|
|
593
593
|
modelValue: a.value,
|
|
594
|
-
"onUpdate:modelValue":
|
|
594
|
+
"onUpdate:modelValue": m[0] || (m[0] = (k) => a.value = k),
|
|
595
595
|
label: o(e)("availability.checkInOut"),
|
|
596
596
|
placeholder: o(e)("booking.availability.selectDates"),
|
|
597
597
|
"icon-type": "fas",
|
|
@@ -603,7 +603,7 @@ const Ao = /* @__PURE__ */ W({
|
|
|
603
603
|
readonly: s.value,
|
|
604
604
|
range: ""
|
|
605
605
|
}, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
|
|
606
|
-
i("div",
|
|
606
|
+
i("div", jo, [
|
|
607
607
|
v(se, {
|
|
608
608
|
label: o(e)("availability.buttonLabel"),
|
|
609
609
|
onClick: Ve(r, ["prevent"])
|
|
@@ -612,9 +612,9 @@ const Ao = /* @__PURE__ */ W({
|
|
|
612
612
|
])
|
|
613
613
|
]),
|
|
614
614
|
default: V(() => [
|
|
615
|
-
v(
|
|
616
|
-
modelValue:
|
|
617
|
-
"onUpdate:modelValue":
|
|
615
|
+
v(ct, {
|
|
616
|
+
modelValue: f.value,
|
|
617
|
+
"onUpdate:modelValue": m[1] || (m[1] = (k) => f.value = k),
|
|
618
618
|
title: u.name,
|
|
619
619
|
"template-id": u.id,
|
|
620
620
|
roomGroups: u.roomGroups,
|
|
@@ -653,12 +653,12 @@ const Ao = /* @__PURE__ */ W({
|
|
|
653
653
|
function a(c) {
|
|
654
654
|
t("update:modelValue", c);
|
|
655
655
|
}
|
|
656
|
-
const s =
|
|
657
|
-
return
|
|
656
|
+
const s = J(n.modelValue);
|
|
657
|
+
return Te(s, (c) => {
|
|
658
658
|
a(c);
|
|
659
|
-
}), (c,
|
|
659
|
+
}), (c, f) => (p(), A(dt, {
|
|
660
660
|
modelValue: s.value,
|
|
661
|
-
"onUpdate:modelValue":
|
|
661
|
+
"onUpdate:modelValue": f[0] || (f[0] = (d) => s.value = d),
|
|
662
662
|
type: "time",
|
|
663
663
|
label: c.label,
|
|
664
664
|
id: c.id,
|
|
@@ -671,7 +671,7 @@ const Ao = /* @__PURE__ */ W({
|
|
|
671
671
|
readonly: c.readonly
|
|
672
672
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
673
673
|
}
|
|
674
|
-
}),
|
|
674
|
+
}), qo = { style: { display: "flex", "align-items": "baseline" } }, Wo = /* @__PURE__ */ W({
|
|
675
675
|
__name: "CountryField",
|
|
676
676
|
props: {
|
|
677
677
|
modelValue: {},
|
|
@@ -684,33 +684,33 @@ const Ao = /* @__PURE__ */ W({
|
|
|
684
684
|
emits: ["update:modelValue"],
|
|
685
685
|
setup(l, { emit: e }) {
|
|
686
686
|
const { t } = X(), n = e, a = l;
|
|
687
|
-
function s(
|
|
688
|
-
n("update:modelValue",
|
|
687
|
+
function s(f) {
|
|
688
|
+
n("update:modelValue", f);
|
|
689
689
|
}
|
|
690
|
-
const c =
|
|
690
|
+
const c = j({
|
|
691
691
|
get: () => a.modelValue,
|
|
692
|
-
set: (
|
|
692
|
+
set: (f) => s(f)
|
|
693
693
|
});
|
|
694
|
-
return (
|
|
694
|
+
return (f, d) => (p(), A(we, {
|
|
695
695
|
modelValue: c.value,
|
|
696
696
|
"onUpdate:modelValue": d[0] || (d[0] = (r) => c.value = r),
|
|
697
|
-
label:
|
|
697
|
+
label: f.label,
|
|
698
698
|
placeholder: o(t)("booking.reservation.countryPlaceholder"),
|
|
699
699
|
labelKey: "name",
|
|
700
700
|
valueKey: "id",
|
|
701
|
-
options:
|
|
702
|
-
required:
|
|
701
|
+
options: f.options,
|
|
702
|
+
required: f.required
|
|
703
703
|
}, {
|
|
704
704
|
option: V(({ data: r }) => [
|
|
705
705
|
i("i", {
|
|
706
|
-
class:
|
|
706
|
+
class: $e(["konnectio-flag-icon", r.iso])
|
|
707
707
|
}, null, 2),
|
|
708
708
|
i("span", null, y(r.name), 1)
|
|
709
709
|
]),
|
|
710
710
|
"selected-option": V(({ data: r }) => [
|
|
711
|
-
i("div",
|
|
711
|
+
i("div", qo, [
|
|
712
712
|
i("i", {
|
|
713
|
-
class:
|
|
713
|
+
class: $e(["konnectio-flag-icon", r.iso])
|
|
714
714
|
}, null, 2),
|
|
715
715
|
i("span", null, y(r.name), 1)
|
|
716
716
|
])
|
|
@@ -718,46 +718,7 @@ const Ao = /* @__PURE__ */ W({
|
|
|
718
718
|
_: 1
|
|
719
719
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
720
720
|
}
|
|
721
|
-
}),
|
|
722
|
-
__name: "CheckboxField",
|
|
723
|
-
props: {
|
|
724
|
-
modelValue: {},
|
|
725
|
-
label: {},
|
|
726
|
-
name: {},
|
|
727
|
-
checkboxes: {}
|
|
728
|
-
},
|
|
729
|
-
emits: ["update:modelValue"],
|
|
730
|
-
setup(l, { emit: e }) {
|
|
731
|
-
const t = e, n = l;
|
|
732
|
-
function a(c) {
|
|
733
|
-
t("update:modelValue", c);
|
|
734
|
-
}
|
|
735
|
-
const s = O({
|
|
736
|
-
get: () => n.modelValue,
|
|
737
|
-
set: (c) => a(c)
|
|
738
|
-
});
|
|
739
|
-
return (c, m) => (p(), D(dt, {
|
|
740
|
-
label: c.label,
|
|
741
|
-
type: "multi-radio"
|
|
742
|
-
}, {
|
|
743
|
-
default: V(() => [
|
|
744
|
-
i("ul", Ko, [
|
|
745
|
-
(p(!0), h(M, null, F(c.checkboxes, ({ label: d, value: r }, u) => (p(), h("li", { key: u }, [
|
|
746
|
-
v(Ce, {
|
|
747
|
-
modelValue: s.value,
|
|
748
|
-
"onUpdate:modelValue": m[0] || (m[0] = (f) => s.value = f),
|
|
749
|
-
label: d,
|
|
750
|
-
name: c.name,
|
|
751
|
-
type: "radio",
|
|
752
|
-
val: r
|
|
753
|
-
}, null, 8, ["modelValue", "label", "name", "val"])
|
|
754
|
-
]))), 128))
|
|
755
|
-
])
|
|
756
|
-
]),
|
|
757
|
-
_: 1
|
|
758
|
-
}, 8, ["label"]));
|
|
759
|
-
}
|
|
760
|
-
}), xo = /* @__PURE__ */ ee(zo, [["__scopeId", "data-v-7185c7da"]]), Jo = /* @__PURE__ */ W({
|
|
721
|
+
}), Ko = /* @__PURE__ */ ie(Wo, [["__scopeId", "data-v-1462612d"]]), zo = /* @__PURE__ */ W({
|
|
761
722
|
__name: "NameField",
|
|
762
723
|
props: {
|
|
763
724
|
modelValue: {},
|
|
@@ -779,17 +740,17 @@ const Ao = /* @__PURE__ */ W({
|
|
|
779
740
|
},
|
|
780
741
|
emits: ["update:modelValue", "update:title"],
|
|
781
742
|
setup(l, { emit: e }) {
|
|
782
|
-
const t = l, n = e, a = t.id || Ye(), s =
|
|
783
|
-
function
|
|
743
|
+
const t = l, n = e, a = t.id || Ye(), s = J(""), c = J(2);
|
|
744
|
+
function f() {
|
|
784
745
|
n("update:modelValue", s.value);
|
|
785
746
|
}
|
|
786
|
-
|
|
747
|
+
Te(c, (r) => {
|
|
787
748
|
n("update:title", r);
|
|
788
749
|
});
|
|
789
750
|
const { t: d } = X();
|
|
790
|
-
return
|
|
751
|
+
return Pe(() => {
|
|
791
752
|
t.modelValue && (s.value = t.modelValue), t.title && (c.value = t.title);
|
|
792
|
-
}), (r, u) => (p(),
|
|
753
|
+
}), (r, u) => (p(), A(Ut, {
|
|
793
754
|
label: r.label,
|
|
794
755
|
id: o(a),
|
|
795
756
|
required: r.required,
|
|
@@ -799,15 +760,15 @@ const Ao = /* @__PURE__ */ W({
|
|
|
799
760
|
}, {
|
|
800
761
|
default: V(() => [
|
|
801
762
|
i("div", {
|
|
802
|
-
class:
|
|
763
|
+
class: $e([
|
|
803
764
|
"fresh-booking-name-input",
|
|
804
765
|
{ "no-title": r.excludeTitle }
|
|
805
766
|
])
|
|
806
767
|
}, [
|
|
807
|
-
r.excludeTitle ? _("", !0) : (p(),
|
|
768
|
+
r.excludeTitle ? _("", !0) : (p(), A(we, {
|
|
808
769
|
key: 0,
|
|
809
770
|
modelValue: c.value,
|
|
810
|
-
"onUpdate:modelValue": u[0] || (u[0] = (
|
|
771
|
+
"onUpdate:modelValue": u[0] || (u[0] = (m) => c.value = m),
|
|
811
772
|
id: o(Ye)(),
|
|
812
773
|
icon: r.icon,
|
|
813
774
|
"icon-color": r.iconColor,
|
|
@@ -839,9 +800,9 @@ const Ao = /* @__PURE__ */ W({
|
|
|
839
800
|
"input-style": r.inputStyle,
|
|
840
801
|
searchable: !1
|
|
841
802
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
|
|
842
|
-
v(
|
|
803
|
+
v(le, {
|
|
843
804
|
modelValue: s.value,
|
|
844
|
-
"onUpdate:modelValue": u[1] || (u[1] = (
|
|
805
|
+
"onUpdate:modelValue": u[1] || (u[1] = (m) => s.value = m),
|
|
845
806
|
type: "text",
|
|
846
807
|
name: "name",
|
|
847
808
|
autocomplete: "name",
|
|
@@ -853,7 +814,7 @@ const Ao = /* @__PURE__ */ W({
|
|
|
853
814
|
required: r.required,
|
|
854
815
|
readonly: r.readonly,
|
|
855
816
|
limit: r.limit,
|
|
856
|
-
onInput: u[2] || (u[2] = (
|
|
817
|
+
onInput: u[2] || (u[2] = (m) => f()),
|
|
857
818
|
"input-style": r.inputStyle
|
|
858
819
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
|
|
859
820
|
], 2)
|
|
@@ -861,59 +822,59 @@ const Ao = /* @__PURE__ */ W({
|
|
|
861
822
|
_: 1
|
|
862
823
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
863
824
|
}
|
|
864
|
-
}),
|
|
825
|
+
}), Jo = /* @__PURE__ */ ie(zo, [["__scopeId", "data-v-78b0b319"]]), xo = { class: "hotel-skeleton" }, Yo = { class: "hotel-skeleton-content" }, Zo = { class: "hotel-skeleton-sidebar" }, Qo = /* @__PURE__ */ W({
|
|
865
826
|
__name: "HotelSkeleton",
|
|
866
827
|
setup(l) {
|
|
867
|
-
return (e, t) => (p(), h("div",
|
|
868
|
-
i("div",
|
|
869
|
-
v(
|
|
828
|
+
return (e, t) => (p(), h("div", xo, [
|
|
829
|
+
i("div", Yo, [
|
|
830
|
+
v(ao, { hotel: "" }),
|
|
870
831
|
v(Qt)
|
|
871
832
|
]),
|
|
872
|
-
i("div",
|
|
833
|
+
i("div", Zo, [
|
|
873
834
|
v(Xt)
|
|
874
835
|
])
|
|
875
836
|
]));
|
|
876
837
|
}
|
|
877
|
-
}),
|
|
878
|
-
const
|
|
838
|
+
}), Xo = /* @__PURE__ */ ie(Qo, [["__scopeId", "data-v-1bb21da4"]]), el = (l) => (lt("data-v-5d57983d"), l = l(), nt(), l), tl = { id: "booking-availability-container" }, ol = { id: "booking-availability-controls" };
|
|
839
|
+
const ll = { key: 1 }, nl = { key: 0 }, al = {
|
|
879
840
|
key: 0,
|
|
880
841
|
id: "booking-availability-packages"
|
|
881
|
-
},
|
|
842
|
+
}, il = {
|
|
882
843
|
key: 0,
|
|
883
844
|
class: "konnectio-hotel-availability-title"
|
|
884
|
-
},
|
|
845
|
+
}, sl = { id: "booking-availability-packages-wrapper" }, rl = { key: 1 }, ul = {
|
|
885
846
|
key: 0,
|
|
886
847
|
class: "konnectio-hotel-availability-title"
|
|
887
|
-
},
|
|
848
|
+
}, dl = { id: "booking-availability-listings" }, cl = {
|
|
888
849
|
key: 2,
|
|
889
850
|
id: "booking-availability-packages"
|
|
890
|
-
},
|
|
851
|
+
}, pl = {
|
|
891
852
|
key: 0,
|
|
892
853
|
class: "konnectio-hotel-availability-title"
|
|
893
|
-
},
|
|
854
|
+
}, fl = { id: "booking-availability-packages-wrapper" }, ml = {
|
|
894
855
|
key: 3,
|
|
895
856
|
id: "booking-availability-no-listings",
|
|
896
857
|
class: "fresh-booking-panel"
|
|
897
|
-
},
|
|
858
|
+
}, hl = {
|
|
898
859
|
key: 1,
|
|
899
860
|
id: "booking-availability-no-listings"
|
|
900
|
-
},
|
|
861
|
+
}, vl = {
|
|
901
862
|
key: 2,
|
|
902
863
|
id: "reservation-availability-next-dates"
|
|
903
|
-
},
|
|
904
|
-
const
|
|
864
|
+
}, gl = { class: "konnectio-hotel-availability-title" }, yl = { class: "reservation-special-offers-grid" }, bl = ["title"];
|
|
865
|
+
const kl = {
|
|
905
866
|
key: 2,
|
|
906
867
|
class: "konnectio-listing-loading"
|
|
907
|
-
},
|
|
868
|
+
}, _l = { class: "fresh-booking-panel" }, Vl = {
|
|
908
869
|
key: 0,
|
|
909
870
|
id: "konnectio-hotel-addons"
|
|
910
871
|
};
|
|
911
|
-
const
|
|
872
|
+
const Tl = { class: "fresh-booking-event-addons-price" }, $l = { key: 1 }, Cl = /* @__PURE__ */ el(() => /* @__PURE__ */ i("br", null, null, -1)), wl = { class: "konnectio-hotel-addons-option" }, Pl = ["onClick"], Hl = { class: "fresh-booking-panel" }, Sl = { key: 0 }, Dl = { key: 1 }, Al = { class: "fresh-booking-split-inputs" }, Il = ["onClick"], El = /* @__PURE__ */ W({
|
|
912
873
|
name: "HotelLayout",
|
|
913
874
|
__name: "Hotel",
|
|
914
875
|
props: {
|
|
915
876
|
accessToken: {},
|
|
916
|
-
headerLayout: { default:
|
|
877
|
+
headerLayout: { default: Ot.Minimal },
|
|
917
878
|
onlyShow: { default: "everything" },
|
|
918
879
|
styling: {}
|
|
919
880
|
},
|
|
@@ -924,51 +885,51 @@ const Cl = { class: "fresh-booking-event-addons-price" }, wl = { key: 1 }, Pl =
|
|
|
924
885
|
areListingsLoading: a,
|
|
925
886
|
isPaymentLoading: s,
|
|
926
887
|
isReservationFormFilled: c,
|
|
927
|
-
travelingFor:
|
|
888
|
+
travelingFor: f,
|
|
928
889
|
arrivalTime: d,
|
|
929
890
|
departureTime: r,
|
|
930
891
|
name: u,
|
|
931
|
-
nameTitle:
|
|
892
|
+
nameTitle: m,
|
|
932
893
|
email: k,
|
|
933
894
|
phone: P,
|
|
934
|
-
firmName:
|
|
895
|
+
firmName: T,
|
|
935
896
|
postal: I,
|
|
936
897
|
city: E,
|
|
937
898
|
address: b,
|
|
938
|
-
country:
|
|
899
|
+
country: $,
|
|
939
900
|
remark: H,
|
|
940
|
-
allergies:
|
|
901
|
+
allergies: F,
|
|
941
902
|
roomSelect: B,
|
|
942
|
-
roomDisplay:
|
|
943
|
-
hasValidRoomSelection:
|
|
944
|
-
availabilityData:
|
|
903
|
+
roomDisplay: x,
|
|
904
|
+
hasValidRoomSelection: N,
|
|
905
|
+
availabilityData: D,
|
|
945
906
|
selectionHasNoAddons: Y
|
|
946
907
|
} = z(re()), {
|
|
947
|
-
arrivalDate:
|
|
908
|
+
arrivalDate: Se,
|
|
948
909
|
departureDate: de
|
|
949
910
|
} = z(ut()), {
|
|
950
911
|
currency: ce,
|
|
951
912
|
arrivalEarliest: Z,
|
|
952
913
|
arrivalLatest: G,
|
|
953
|
-
departureEarliest:
|
|
914
|
+
departureEarliest: M,
|
|
954
915
|
departureLatest: pe,
|
|
955
|
-
enableTracking:
|
|
916
|
+
enableTracking: De,
|
|
956
917
|
arrivalDefault: ye,
|
|
957
|
-
departureDefault:
|
|
958
|
-
hideArrivalDepartureInputs:
|
|
959
|
-
disableArrivalUserSelection:
|
|
918
|
+
departureDefault: Ae,
|
|
919
|
+
hideArrivalDepartureInputs: ee,
|
|
920
|
+
disableArrivalUserSelection: fe,
|
|
960
921
|
disableNamePrefix: Ke,
|
|
961
|
-
disableDepartureUserSelection:
|
|
962
|
-
disableTravelingFor:
|
|
963
|
-
disableTravelingForBleasure:
|
|
964
|
-
disableCompanyField:
|
|
965
|
-
hasPaymentGateway:
|
|
966
|
-
} = z(ge()), { beginCheckout:
|
|
967
|
-
initialize:
|
|
968
|
-
resetTemplate:
|
|
922
|
+
disableDepartureUserSelection: Ie,
|
|
923
|
+
disableTravelingFor: vt,
|
|
924
|
+
disableTravelingForBleasure: gt,
|
|
925
|
+
disableCompanyField: yt,
|
|
926
|
+
hasPaymentGateway: bt
|
|
927
|
+
} = z(ge()), { beginCheckout: kt } = at(), {
|
|
928
|
+
initialize: _t,
|
|
929
|
+
resetTemplate: Vt,
|
|
969
930
|
resetDiscountVoucher: Tt,
|
|
970
|
-
createReservation:
|
|
971
|
-
} = re(),
|
|
931
|
+
createReservation: $t
|
|
932
|
+
} = re(), Ct = J(!0), wt = j(() => {
|
|
972
933
|
const w = [
|
|
973
934
|
{
|
|
974
935
|
label: e("booking.reservation.business"),
|
|
@@ -979,43 +940,43 @@ const Cl = { class: "fresh-booking-event-addons-price" }, wl = { key: 1 }, Pl =
|
|
|
979
940
|
value: "Pleasure"
|
|
980
941
|
}
|
|
981
942
|
];
|
|
982
|
-
return
|
|
943
|
+
return gt.value || w.push({
|
|
983
944
|
label: e("booking.reservation.bleasure"),
|
|
984
945
|
value: "Bleasure"
|
|
985
946
|
}), w;
|
|
986
|
-
}),
|
|
987
|
-
const w =
|
|
947
|
+
}), Pt = j(() => {
|
|
948
|
+
const w = D.value.roomGroups.slice();
|
|
988
949
|
function C(K, S) {
|
|
989
|
-
return
|
|
950
|
+
return Ct.value === !0 ? K.pricesFrom > S.pricesFrom ? -1 : 1 : K.pricesFrom > S.pricesFrom ? 1 : -1;
|
|
990
951
|
}
|
|
991
952
|
return w.sort(C);
|
|
992
|
-
}),
|
|
953
|
+
}), Ht = j(() => [[
|
|
993
954
|
parseInt(Z.value.split(":")[0]),
|
|
994
955
|
parseInt(G.value.split(":")[0])
|
|
995
|
-
]]),
|
|
996
|
-
parseInt(
|
|
956
|
+
]]), St = j(() => [[
|
|
957
|
+
parseInt(M.value.split(":")[0]),
|
|
997
958
|
parseInt(pe.value.split(":")[0])
|
|
998
959
|
]]);
|
|
999
960
|
function ze(w) {
|
|
1000
961
|
Y.value ? w(2) : w(), Tt();
|
|
1001
962
|
}
|
|
1002
|
-
function
|
|
1003
|
-
de.value = new Date(C),
|
|
963
|
+
function Dt(w, C) {
|
|
964
|
+
de.value = new Date(C), Se.value = new Date(w), location.reload();
|
|
1004
965
|
}
|
|
1005
|
-
async function
|
|
1006
|
-
await
|
|
966
|
+
async function At(w) {
|
|
967
|
+
await $t(w);
|
|
1007
968
|
}
|
|
1008
|
-
function
|
|
1009
|
-
|
|
969
|
+
function It(w) {
|
|
970
|
+
De.value && kt(), Y.value ? w(2) : w();
|
|
1010
971
|
}
|
|
1011
|
-
function
|
|
1012
|
-
d.value === "" && (d.value = ye.value), r.value === "" && (r.value =
|
|
972
|
+
function Et() {
|
|
973
|
+
d.value === "" && (d.value = ye.value), r.value === "" && (r.value = Ae.value);
|
|
1013
974
|
}
|
|
1014
|
-
return
|
|
1015
|
-
|
|
1016
|
-
}), (w, C) => (p(),
|
|
975
|
+
return Pe(() => {
|
|
976
|
+
_t(), Et();
|
|
977
|
+
}), (w, C) => (p(), A(Ft, { styling: w.styling }, {
|
|
1017
978
|
default: V(() => [
|
|
1018
|
-
(p(),
|
|
979
|
+
(p(), A(Nt, null, {
|
|
1019
980
|
default: V(() => [
|
|
1020
981
|
v(Gt, {
|
|
1021
982
|
id: "fresh-booking-hotel-module",
|
|
@@ -1025,24 +986,24 @@ const Cl = { class: "fresh-booking-event-addons-price" }, wl = { key: 1 }, Pl =
|
|
|
1025
986
|
default: V(() => [
|
|
1026
987
|
v(eo, {
|
|
1027
988
|
layout: w.headerLayout,
|
|
1028
|
-
onReset: o(
|
|
989
|
+
onReset: o(Vt)
|
|
1029
990
|
}, {
|
|
1030
991
|
availability: V(({ next: K }) => [
|
|
1031
|
-
v(
|
|
992
|
+
v(Re, null, {
|
|
1032
993
|
form: V(() => [
|
|
1033
|
-
i("div",
|
|
1034
|
-
i("div",
|
|
1035
|
-
v(
|
|
994
|
+
i("div", tl, [
|
|
995
|
+
i("div", ol, [
|
|
996
|
+
v(io, { booking: !0 })
|
|
1036
997
|
]),
|
|
1037
998
|
_("", !0),
|
|
1038
|
-
o(a) ? (p(), h("div",
|
|
1039
|
-
v(
|
|
1040
|
-
v(
|
|
1041
|
-
v(
|
|
1042
|
-
])) : (p(), h("div",
|
|
1043
|
-
o(
|
|
1044
|
-
o(
|
|
1045
|
-
w.onlyShow !== "packages" ? (p(), h("h2",
|
|
999
|
+
o(a) ? (p(), h("div", kl, [
|
|
1000
|
+
v(Le),
|
|
1001
|
+
v(Le),
|
|
1002
|
+
v(Le)
|
|
1003
|
+
])) : (p(), h("div", ll, [
|
|
1004
|
+
o(D).roomGroups.length > 0 || o(D).templates.length > 0 || o(D).specialTemplates.length > 0 ? (p(), h("div", nl, [
|
|
1005
|
+
o(D).templates.length > 0 && w.onlyShow !== "rooms" ? (p(), h("div", al, [
|
|
1006
|
+
w.onlyShow !== "packages" ? (p(), h("h2", il, [
|
|
1046
1007
|
v(q, {
|
|
1047
1008
|
icon: "box",
|
|
1048
1009
|
type: "fal",
|
|
@@ -1050,28 +1011,28 @@ const Cl = { class: "fresh-booking-event-addons-price" }, wl = { key: 1 }, Pl =
|
|
|
1050
1011
|
}),
|
|
1051
1012
|
i("span", null, y(o(e)("booking.availability.packagesTitle")), 1)
|
|
1052
1013
|
])) : _("", !0),
|
|
1053
|
-
i("ul",
|
|
1054
|
-
(p(!0), h(
|
|
1014
|
+
i("ul", sl, [
|
|
1015
|
+
(p(!0), h(R, null, O(o(D).templates, ({
|
|
1055
1016
|
id: S,
|
|
1056
1017
|
name: g,
|
|
1057
|
-
templateRoomGroups:
|
|
1018
|
+
templateRoomGroups: te,
|
|
1058
1019
|
image: Q,
|
|
1059
|
-
description:
|
|
1060
|
-
weekendFee:
|
|
1061
|
-
}) => (p(),
|
|
1020
|
+
description: L,
|
|
1021
|
+
weekendFee: me
|
|
1022
|
+
}) => (p(), A(Oo, {
|
|
1062
1023
|
key: S,
|
|
1063
1024
|
id: S,
|
|
1064
|
-
description:
|
|
1025
|
+
description: L,
|
|
1065
1026
|
name: g,
|
|
1066
1027
|
image: Q,
|
|
1067
|
-
weekendFee:
|
|
1068
|
-
"room-groups":
|
|
1028
|
+
weekendFee: me,
|
|
1029
|
+
"room-groups": te,
|
|
1069
1030
|
callback: K
|
|
1070
1031
|
}, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback"]))), 128))
|
|
1071
1032
|
])
|
|
1072
1033
|
])) : _("", !0),
|
|
1073
|
-
o(
|
|
1074
|
-
o(
|
|
1034
|
+
o(D).roomGroups.length > 0 && w.onlyShow !== "packages" ? (p(), h("div", rl, [
|
|
1035
|
+
o(D).templates.length > 0 && w.onlyShow !== "rooms" ? (p(), h("h2", ul, [
|
|
1075
1036
|
v(q, {
|
|
1076
1037
|
icon: "house",
|
|
1077
1038
|
type: "fal",
|
|
@@ -1079,15 +1040,15 @@ const Cl = { class: "fresh-booking-event-addons-price" }, wl = { key: 1 }, Pl =
|
|
|
1079
1040
|
}),
|
|
1080
1041
|
i("span", null, y(o(e)("booking.availability.roomsTitle")), 1)
|
|
1081
1042
|
])) : _("", !0),
|
|
1082
|
-
i("ul",
|
|
1083
|
-
(p(!0), h(
|
|
1043
|
+
i("ul", dl, [
|
|
1044
|
+
(p(!0), h(R, null, O(Pt.value, (S, g) => (p(), A(Eo, {
|
|
1084
1045
|
room: S,
|
|
1085
1046
|
key: g
|
|
1086
1047
|
}, null, 8, ["room"]))), 128))
|
|
1087
1048
|
])
|
|
1088
1049
|
])) : _("", !0),
|
|
1089
|
-
o(
|
|
1090
|
-
w.onlyShow !== "packages" ? (p(), h("h2",
|
|
1050
|
+
o(D).specialTemplates.length > 0 && w.onlyShow !== "rooms" ? (p(), h("div", cl, [
|
|
1051
|
+
w.onlyShow !== "packages" ? (p(), h("h2", pl, [
|
|
1091
1052
|
v(q, {
|
|
1092
1053
|
icon: "sparkles",
|
|
1093
1054
|
type: "fal",
|
|
@@ -1095,37 +1056,37 @@ const Cl = { class: "fresh-booking-event-addons-price" }, wl = { key: 1 }, Pl =
|
|
|
1095
1056
|
}),
|
|
1096
1057
|
i("span", null, y(o(e)("hotel.specialOffers")), 1)
|
|
1097
1058
|
])) : _("", !0),
|
|
1098
|
-
i("ul",
|
|
1099
|
-
(p(!0), h(
|
|
1059
|
+
i("ul", fl, [
|
|
1060
|
+
(p(!0), h(R, null, O(o(D).specialTemplates, ({
|
|
1100
1061
|
id: S,
|
|
1101
1062
|
name: g,
|
|
1102
|
-
templateRoomGroups:
|
|
1063
|
+
templateRoomGroups: te,
|
|
1103
1064
|
image: Q,
|
|
1104
|
-
description:
|
|
1105
|
-
weekendFee:
|
|
1065
|
+
description: L,
|
|
1066
|
+
weekendFee: me,
|
|
1106
1067
|
fromDate: he,
|
|
1107
|
-
toDate:
|
|
1108
|
-
}) => (p(),
|
|
1068
|
+
toDate: Ee
|
|
1069
|
+
}) => (p(), A(Go, {
|
|
1109
1070
|
key: S,
|
|
1110
1071
|
id: S,
|
|
1111
|
-
description:
|
|
1072
|
+
description: L,
|
|
1112
1073
|
name: g,
|
|
1113
1074
|
image: Q,
|
|
1114
1075
|
fromDate: he,
|
|
1115
|
-
toDate:
|
|
1116
|
-
weekendFee:
|
|
1117
|
-
"room-groups":
|
|
1076
|
+
toDate: Ee,
|
|
1077
|
+
weekendFee: me,
|
|
1078
|
+
"room-groups": te,
|
|
1118
1079
|
callback: K
|
|
1119
1080
|
}, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
|
|
1120
1081
|
])
|
|
1121
1082
|
])) : _("", !0),
|
|
1122
|
-
(o(
|
|
1083
|
+
(o(D).templates.length === 0 && w.onlyShow !== "rooms" || o(D).roomGroups.length === 0 && w.onlyShow !== "packages") && (w.onlyShow === "rooms" || w.onlyShow === "packages") ? (p(), h("div", ml, [
|
|
1123
1084
|
i("span", null, y(o(e)("booking.availability.nothingAvailable")), 1)
|
|
1124
1085
|
])) : _("", !0)
|
|
1125
|
-
])) : o(
|
|
1086
|
+
])) : o(D).nextAvailableDates.length === 0 ? (p(), h("div", hl, [
|
|
1126
1087
|
i("span", null, y(o(e)("booking.availability.nothingAvailable")), 1)
|
|
1127
|
-
])) : (p(), h("div",
|
|
1128
|
-
i("h2",
|
|
1088
|
+
])) : (p(), h("div", vl, [
|
|
1089
|
+
i("h2", gl, [
|
|
1129
1090
|
v(q, {
|
|
1130
1091
|
icon: "calendar-circle-exclamation",
|
|
1131
1092
|
type: "fal",
|
|
@@ -1133,13 +1094,13 @@ const Cl = { class: "fresh-booking-event-addons-price" }, wl = { key: 1 }, Pl =
|
|
|
1133
1094
|
}),
|
|
1134
1095
|
i("span", null, y(o(e)("booking.availability.nextAvailableDates")), 1)
|
|
1135
1096
|
]),
|
|
1136
|
-
i("ul",
|
|
1137
|
-
(p(!0), h(
|
|
1097
|
+
i("ul", yl, [
|
|
1098
|
+
(p(!0), h(R, null, O(o(D).nextAvailableDates, (S, g) => (p(), h("li", { key: g }, [
|
|
1138
1099
|
i("h3", {
|
|
1139
|
-
title: `${o(
|
|
1100
|
+
title: `${o(ne)(S.fromDate)} - ${o(ne)(S.toDate)}`
|
|
1140
1101
|
}, [
|
|
1141
|
-
i("span", null, y(`${o(
|
|
1142
|
-
], 8,
|
|
1102
|
+
i("span", null, y(`${o(ne)(S.fromDate)} - ${o(ne)(S.toDate)}`), 1)
|
|
1103
|
+
], 8, bl),
|
|
1143
1104
|
i("ul", null, [
|
|
1144
1105
|
_("", !0),
|
|
1145
1106
|
i("li", null, [
|
|
@@ -1148,13 +1109,13 @@ const Cl = { class: "fresh-booking-event-addons-price" }, wl = { key: 1 }, Pl =
|
|
|
1148
1109
|
type: "fal",
|
|
1149
1110
|
color: "header"
|
|
1150
1111
|
}),
|
|
1151
|
-
i("span", null, y(o(e)("booking.availability.pricesFrom")) + ": " + y(o(
|
|
1112
|
+
i("span", null, y(o(e)("booking.availability.pricesFrom")) + ": " + y(o(ae)(S.priceStartFrom, o(ce))), 1)
|
|
1152
1113
|
])
|
|
1153
1114
|
]),
|
|
1154
1115
|
v(se, {
|
|
1155
1116
|
label: o(e)("booking.availability.selectDates"),
|
|
1156
1117
|
"full-width": "",
|
|
1157
|
-
onClickEvent: (
|
|
1118
|
+
onClickEvent: (te) => Dt(S.fromDate, S.toDate)
|
|
1158
1119
|
}, null, 8, ["label", "onClickEvent"])
|
|
1159
1120
|
]))), 128))
|
|
1160
1121
|
])
|
|
@@ -1165,88 +1126,88 @@ const Cl = { class: "fresh-booking-event-addons-price" }, wl = { key: 1 }, Pl =
|
|
|
1165
1126
|
navigation: V(() => [
|
|
1166
1127
|
v(se, {
|
|
1167
1128
|
label: o(Y) ? o(e)("booking.availability.nextButton") : o(e)("general.chooseAddons"),
|
|
1168
|
-
disabled: !o(
|
|
1129
|
+
disabled: !o(N),
|
|
1169
1130
|
"is-loading": !1,
|
|
1170
1131
|
"full-width": "",
|
|
1171
|
-
onClickEvent: (S) =>
|
|
1132
|
+
onClickEvent: (S) => It(K)
|
|
1172
1133
|
}, null, 8, ["label", "disabled", "onClickEvent"])
|
|
1173
1134
|
]),
|
|
1174
1135
|
_: 2
|
|
1175
1136
|
}, 1024)
|
|
1176
1137
|
]),
|
|
1177
1138
|
addons: V(({ next: K, prev: S }) => [
|
|
1178
|
-
v(
|
|
1139
|
+
v(Re, null, {
|
|
1179
1140
|
form: V(() => [
|
|
1180
|
-
i("form",
|
|
1141
|
+
i("form", _l, [
|
|
1181
1142
|
i("h2", null, [
|
|
1182
1143
|
i("span", null, y(o(e)("booking.reservation.addons")), 1)
|
|
1183
1144
|
]),
|
|
1184
1145
|
i("div", null, [
|
|
1185
|
-
isNaN(o(t)) ? (p(), h("div",
|
|
1186
|
-
(p(!0), h(
|
|
1146
|
+
isNaN(o(t)) ? (p(), h("div", Vl, [
|
|
1147
|
+
(p(!0), h(R, null, O(o(x), (g) => (p(), h("ul", {
|
|
1187
1148
|
key: g.roomGroupID
|
|
1188
1149
|
}, [
|
|
1189
|
-
(p(!0), h(
|
|
1190
|
-
key:
|
|
1150
|
+
(p(!0), h(R, null, O(g.variants, (te, Q) => (p(), h("li", {
|
|
1151
|
+
key: te.ratePlanID
|
|
1191
1152
|
}, [
|
|
1192
1153
|
i("h4", null, [
|
|
1193
1154
|
i("span", null, y(o(ue)(g.title)), 1)
|
|
1194
1155
|
]),
|
|
1195
|
-
(p(!0), h(
|
|
1196
|
-
key:
|
|
1156
|
+
(p(!0), h(R, null, O(te.rooms, (L, me) => (p(), h("table", {
|
|
1157
|
+
key: me,
|
|
1197
1158
|
class: "fresh-booking-table with-lines"
|
|
1198
1159
|
}, [
|
|
1199
1160
|
i("thead", null, [
|
|
1200
1161
|
i("tr", null, [
|
|
1201
1162
|
i("th", null, [
|
|
1202
|
-
i("span", null, y(o(ue)(
|
|
1163
|
+
i("span", null, y(o(ue)(te.name)), 1)
|
|
1203
1164
|
]),
|
|
1204
1165
|
_("", !0),
|
|
1205
|
-
i("th",
|
|
1166
|
+
i("th", Tl, [
|
|
1206
1167
|
i("b", null, [
|
|
1207
1168
|
v(q, {
|
|
1208
1169
|
icon: "male",
|
|
1209
1170
|
type: "fas",
|
|
1210
1171
|
color: "font"
|
|
1211
1172
|
}),
|
|
1212
|
-
i("span", null, y(
|
|
1213
|
-
|
|
1173
|
+
i("span", null, y(L.adultsCount), 1),
|
|
1174
|
+
L.childrenCount > 0 ? (p(), A(q, {
|
|
1214
1175
|
key: 0,
|
|
1215
1176
|
icon: "child",
|
|
1216
1177
|
type: "fas",
|
|
1217
1178
|
color: "font"
|
|
1218
1179
|
})) : _("", !0),
|
|
1219
|
-
|
|
1180
|
+
L.childrenCount > 0 ? (p(), h("span", $l, y(L.childrenCount), 1)) : _("", !0)
|
|
1220
1181
|
])
|
|
1221
1182
|
])
|
|
1222
1183
|
])
|
|
1223
1184
|
]),
|
|
1224
1185
|
i("tbody", null, [
|
|
1225
|
-
(p(!0), h(
|
|
1186
|
+
(p(!0), h(R, null, O(g.addons, ({
|
|
1226
1187
|
quantityStrategy: he,
|
|
1227
|
-
maximumNumber:
|
|
1188
|
+
maximumNumber: Ee,
|
|
1228
1189
|
id: ve,
|
|
1229
|
-
name:
|
|
1230
|
-
price:
|
|
1190
|
+
name: Bt,
|
|
1191
|
+
price: Mt
|
|
1231
1192
|
}) => (p(), h("tr", { key: ve }, [
|
|
1232
1193
|
i("td", null, [
|
|
1233
|
-
i("b", null, y(o(ue)(
|
|
1234
|
-
|
|
1235
|
-
i("span", null, y(o(
|
|
1194
|
+
i("b", null, y(o(ue)(Bt)), 1),
|
|
1195
|
+
Cl,
|
|
1196
|
+
i("span", null, y(o(ae)(Mt, o(ce))) + " " + y(o(jt)(he)), 1)
|
|
1236
1197
|
]),
|
|
1237
|
-
i("td",
|
|
1238
|
-
o(B)[g.roomGroupID][Q].config[
|
|
1239
|
-
he === 1 || he === 12 ? (p(),
|
|
1198
|
+
i("td", wl, [
|
|
1199
|
+
o(B)[g.roomGroupID][Q].config[L.configIdx].addons[L.roomIdx] ? (p(), h(R, { key: 0 }, [
|
|
1200
|
+
he === 1 || he === 12 ? (p(), A(it, {
|
|
1240
1201
|
key: 0,
|
|
1241
|
-
modelValue: o(B)[g.roomGroupID][Q].config[
|
|
1242
|
-
"onUpdate:modelValue": (
|
|
1202
|
+
modelValue: o(B)[g.roomGroupID][Q].config[L.configIdx].addons[L.roomIdx][ve],
|
|
1203
|
+
"onUpdate:modelValue": (Be) => o(B)[g.roomGroupID][Q].config[L.configIdx].addons[L.roomIdx][ve] = Be,
|
|
1243
1204
|
small: !0,
|
|
1244
1205
|
"min-value": 0,
|
|
1245
|
-
"max-value":
|
|
1246
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (p(),
|
|
1206
|
+
"max-value": Ee || 1 / 0
|
|
1207
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (p(), A(je, {
|
|
1247
1208
|
key: 1,
|
|
1248
|
-
modelValue: o(B)[g.roomGroupID][Q].config[
|
|
1249
|
-
"onUpdate:modelValue": (
|
|
1209
|
+
modelValue: o(B)[g.roomGroupID][Q].config[L.configIdx].addons[L.roomIdx][ve],
|
|
1210
|
+
"onUpdate:modelValue": (Be) => o(B)[g.roomGroupID][Q].config[L.configIdx].addons[L.roomIdx][ve] = Be,
|
|
1250
1211
|
numeric: !0
|
|
1251
1212
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1252
1213
|
], 64)) : _("", !0)
|
|
@@ -1271,58 +1232,58 @@ const Cl = { class: "fresh-booking-event-addons-price" }, wl = { key: 1 }, Pl =
|
|
|
1271
1232
|
onClick: Ve((g) => ze(S), ["prevent"])
|
|
1272
1233
|
}, [
|
|
1273
1234
|
i("span", null, y(o(e)("general.goAStepBack")), 1)
|
|
1274
|
-
], 8,
|
|
1235
|
+
], 8, Pl)
|
|
1275
1236
|
]),
|
|
1276
1237
|
_: 2
|
|
1277
1238
|
}, 1024)
|
|
1278
1239
|
]),
|
|
1279
1240
|
reservation: V(({ next: K, prev: S }) => [
|
|
1280
|
-
v(
|
|
1241
|
+
v(Re, {
|
|
1281
1242
|
"show-terms-notice": !0,
|
|
1282
1243
|
"show-gift-card": !0
|
|
1283
1244
|
}, {
|
|
1284
1245
|
form: V(() => [
|
|
1285
|
-
i("form",
|
|
1246
|
+
i("form", Hl, [
|
|
1286
1247
|
i("h2", null, [
|
|
1287
1248
|
i("span", null, y(o(e)("booking.reservation.detailsTitle")), 1)
|
|
1288
1249
|
]),
|
|
1289
|
-
!o(
|
|
1250
|
+
!o(ee) && !(o(fe) && o(Ie)) ? (p(), h("ul", {
|
|
1290
1251
|
key: 0,
|
|
1291
|
-
class:
|
|
1252
|
+
class: $e({ "fresh-booking-split-inputs": !o(fe) && !o(Ie) })
|
|
1292
1253
|
}, [
|
|
1293
|
-
o(
|
|
1254
|
+
o(fe) ? _("", !0) : (p(), h("li", Sl, [
|
|
1294
1255
|
v(Ze, {
|
|
1295
1256
|
modelValue: o(d),
|
|
1296
1257
|
"onUpdate:modelValue": C[1] || (C[1] = (g) => U(d) ? d.value = g : null),
|
|
1297
1258
|
label: o(e)("booking.reservation.arrivalTime"),
|
|
1298
1259
|
icon: "hourglass-start",
|
|
1299
|
-
"hour-range":
|
|
1260
|
+
"hour-range": Ht.value,
|
|
1300
1261
|
required: ""
|
|
1301
1262
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1302
1263
|
])),
|
|
1303
|
-
o(
|
|
1264
|
+
o(Ie) ? _("", !0) : (p(), h("li", Dl, [
|
|
1304
1265
|
v(Ze, {
|
|
1305
1266
|
modelValue: o(r),
|
|
1306
1267
|
"onUpdate:modelValue": C[2] || (C[2] = (g) => U(r) ? r.value = g : null),
|
|
1307
1268
|
label: o(e)("booking.reservation.departureTime"),
|
|
1308
1269
|
icon: "hourglass-end",
|
|
1309
|
-
"hour-range":
|
|
1270
|
+
"hour-range": St.value,
|
|
1310
1271
|
required: ""
|
|
1311
1272
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1312
1273
|
]))
|
|
1313
1274
|
], 2)) : _("", !0),
|
|
1314
|
-
v(
|
|
1275
|
+
v(Jo, {
|
|
1315
1276
|
modelValue: o(u),
|
|
1316
1277
|
"onUpdate:modelValue": C[3] || (C[3] = (g) => U(u) ? u.value = g : null),
|
|
1317
|
-
title: o(
|
|
1318
|
-
"onUpdate:title": C[4] || (C[4] = (g) => U(
|
|
1278
|
+
title: o(m),
|
|
1279
|
+
"onUpdate:title": C[4] || (C[4] = (g) => U(m) ? m.value = g : null),
|
|
1319
1280
|
"exclude-title": o(Ke),
|
|
1320
1281
|
label: o(e)("booking.reservation.name"),
|
|
1321
1282
|
icon: "user-alt",
|
|
1322
1283
|
placeholder: o(e)("booking.reservation.namePlaceholder"),
|
|
1323
1284
|
required: ""
|
|
1324
1285
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1325
|
-
v(
|
|
1286
|
+
v(le, {
|
|
1326
1287
|
modelValue: o(k),
|
|
1327
1288
|
"onUpdate:modelValue": C[5] || (C[5] = (g) => U(k) ? k.value = g : null),
|
|
1328
1289
|
type: "email",
|
|
@@ -1333,10 +1294,10 @@ const Cl = { class: "fresh-booking-event-addons-price" }, wl = { key: 1 }, Pl =
|
|
|
1333
1294
|
placeholder: o(e)("booking.reservation.emailPlaceholder"),
|
|
1334
1295
|
required: ""
|
|
1335
1296
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1336
|
-
o(
|
|
1297
|
+
o(yt) ? _("", !0) : (p(), A(le, {
|
|
1337
1298
|
key: 1,
|
|
1338
|
-
modelValue: o(
|
|
1339
|
-
"onUpdate:modelValue": C[6] || (C[6] = (g) => U(
|
|
1299
|
+
modelValue: o(T),
|
|
1300
|
+
"onUpdate:modelValue": C[6] || (C[6] = (g) => U(T) ? T.value = g : null),
|
|
1340
1301
|
type: "text",
|
|
1341
1302
|
name: "firm",
|
|
1342
1303
|
autocomplete: "firm",
|
|
@@ -1344,7 +1305,7 @@ const Cl = { class: "fresh-booking-event-addons-price" }, wl = { key: 1 }, Pl =
|
|
|
1344
1305
|
icon: "id-card",
|
|
1345
1306
|
placeholder: o(e)("booking.reservation.companyNamePlaceholder")
|
|
1346
1307
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1347
|
-
v(
|
|
1308
|
+
v(uo, {
|
|
1348
1309
|
modelValue: o(P),
|
|
1349
1310
|
"onUpdate:modelValue": C[7] || (C[7] = (g) => U(P) ? P.value = g : null),
|
|
1350
1311
|
icon: "phone-office",
|
|
@@ -1352,15 +1313,15 @@ const Cl = { class: "fresh-booking-event-addons-price" }, wl = { key: 1 }, Pl =
|
|
|
1352
1313
|
placeholder: o(e)("booking.reservation.phonePlaceholder"),
|
|
1353
1314
|
required: ""
|
|
1354
1315
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1355
|
-
v(
|
|
1356
|
-
modelValue: o(
|
|
1357
|
-
"onUpdate:modelValue": C[8] || (C[8] = (g) => U(
|
|
1316
|
+
v(Ko, {
|
|
1317
|
+
modelValue: o($),
|
|
1318
|
+
"onUpdate:modelValue": C[8] || (C[8] = (g) => U($) ? $.value = g : null),
|
|
1358
1319
|
label: o(e)("booking.reservation.country"),
|
|
1359
1320
|
placeholder: o(e)("booking.reservation.countryPlaceholder"),
|
|
1360
1321
|
options: o(n),
|
|
1361
1322
|
required: ""
|
|
1362
1323
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1363
|
-
v(
|
|
1324
|
+
v(le, {
|
|
1364
1325
|
modelValue: o(b),
|
|
1365
1326
|
"onUpdate:modelValue": C[9] || (C[9] = (g) => U(b) ? b.value = g : null),
|
|
1366
1327
|
type: "textarea",
|
|
@@ -1371,9 +1332,9 @@ const Cl = { class: "fresh-booking-event-addons-price" }, wl = { key: 1 }, Pl =
|
|
|
1371
1332
|
placeholder: o(e)("booking.reservation.streetAddressPlaceholder"),
|
|
1372
1333
|
required: ""
|
|
1373
1334
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1374
|
-
i("ul",
|
|
1335
|
+
i("ul", Al, [
|
|
1375
1336
|
i("li", null, [
|
|
1376
|
-
v(
|
|
1337
|
+
v(le, {
|
|
1377
1338
|
modelValue: o(I),
|
|
1378
1339
|
"onUpdate:modelValue": C[10] || (C[10] = (g) => U(I) ? I.value = g : null),
|
|
1379
1340
|
type: "text",
|
|
@@ -1386,7 +1347,7 @@ const Cl = { class: "fresh-booking-event-addons-price" }, wl = { key: 1 }, Pl =
|
|
|
1386
1347
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1387
1348
|
]),
|
|
1388
1349
|
i("li", null, [
|
|
1389
|
-
v(
|
|
1350
|
+
v(le, {
|
|
1390
1351
|
modelValue: o(E),
|
|
1391
1352
|
"onUpdate:modelValue": C[11] || (C[11] = (g) => U(E) ? E.value = g : null),
|
|
1392
1353
|
type: "text",
|
|
@@ -1399,7 +1360,7 @@ const Cl = { class: "fresh-booking-event-addons-price" }, wl = { key: 1 }, Pl =
|
|
|
1399
1360
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1400
1361
|
])
|
|
1401
1362
|
]),
|
|
1402
|
-
v(
|
|
1363
|
+
v(le, {
|
|
1403
1364
|
modelValue: o(H),
|
|
1404
1365
|
"onUpdate:modelValue": C[12] || (C[12] = (g) => U(H) ? H.value = g : null),
|
|
1405
1366
|
type: "textarea",
|
|
@@ -1407,49 +1368,49 @@ const Cl = { class: "fresh-booking-event-addons-price" }, wl = { key: 1 }, Pl =
|
|
|
1407
1368
|
icon: "info-circle",
|
|
1408
1369
|
placeholder: o(e)("booking.reservation.remarkPlaceholder")
|
|
1409
1370
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1410
|
-
v(
|
|
1411
|
-
modelValue: o(
|
|
1412
|
-
"onUpdate:modelValue": C[13] || (C[13] = (g) => U(
|
|
1371
|
+
v(le, {
|
|
1372
|
+
modelValue: o(F),
|
|
1373
|
+
"onUpdate:modelValue": C[13] || (C[13] = (g) => U(F) ? F.value = g : null),
|
|
1413
1374
|
type: "textarea",
|
|
1414
1375
|
label: `${o(e)("booking.reservation.allergies")} (${o(e)("booking.reservation.optional")})`,
|
|
1415
1376
|
icon: "allergies",
|
|
1416
1377
|
placeholder: o(e)("booking.reservation.allergiesPlaceholder")
|
|
1417
1378
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1418
|
-
o(
|
|
1379
|
+
o(vt) ? _("", !0) : (p(), A(to, {
|
|
1419
1380
|
key: 2,
|
|
1420
|
-
modelValue: o(
|
|
1421
|
-
"onUpdate:modelValue": C[14] || (C[14] = (g) => U(
|
|
1381
|
+
modelValue: o(f),
|
|
1382
|
+
"onUpdate:modelValue": C[14] || (C[14] = (g) => U(f) ? f.value = g : null),
|
|
1422
1383
|
label: `${o(e)("booking.reservation.purposeOfStay")} (${o(e)("booking.reservation.optional")})`,
|
|
1423
1384
|
name: "travelingFor",
|
|
1424
|
-
checkboxes:
|
|
1385
|
+
checkboxes: wt.value
|
|
1425
1386
|
}, null, 8, ["modelValue", "label", "checkboxes"]))
|
|
1426
1387
|
])
|
|
1427
1388
|
]),
|
|
1428
1389
|
navigation: V(() => [
|
|
1429
1390
|
i("div", null, [
|
|
1430
1391
|
v(se, {
|
|
1431
|
-
label: o(
|
|
1392
|
+
label: o(bt) ? o(e)("booking.reservation.nextButton") : o(e)("general.confirmReservation"),
|
|
1432
1393
|
disabled: !o(c),
|
|
1433
1394
|
"is-loading": o(s),
|
|
1434
1395
|
"full-width": "",
|
|
1435
|
-
onClickEvent: (g) =>
|
|
1396
|
+
onClickEvent: (g) => At(K)
|
|
1436
1397
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
1437
1398
|
i("button", {
|
|
1438
1399
|
class: "konnectio-abort-reservation link",
|
|
1439
1400
|
onClick: Ve((g) => ze(S), ["prevent"])
|
|
1440
1401
|
}, [
|
|
1441
1402
|
i("span", null, y(o(e)("general.goAStepBack")), 1)
|
|
1442
|
-
], 8,
|
|
1403
|
+
], 8, Il)
|
|
1443
1404
|
])
|
|
1444
1405
|
]),
|
|
1445
1406
|
_: 2
|
|
1446
1407
|
}, 1024)
|
|
1447
1408
|
]),
|
|
1448
1409
|
payment: V(() => [
|
|
1449
|
-
v(
|
|
1410
|
+
v(co)
|
|
1450
1411
|
]),
|
|
1451
1412
|
confirmation: V(() => [
|
|
1452
|
-
v(
|
|
1413
|
+
v(oo, {
|
|
1453
1414
|
message: o(e)("booking.confirmation.thankYou")
|
|
1454
1415
|
}, null, 8, ["message"])
|
|
1455
1416
|
]),
|
|
@@ -1460,7 +1421,7 @@ const Cl = { class: "fresh-booking-event-addons-price" }, wl = { key: 1 }, Pl =
|
|
|
1460
1421
|
}, 8, ["access-token"])
|
|
1461
1422
|
]),
|
|
1462
1423
|
fallback: V(() => [
|
|
1463
|
-
v(
|
|
1424
|
+
v(Xo)
|
|
1464
1425
|
]),
|
|
1465
1426
|
_: 1
|
|
1466
1427
|
}))
|
|
@@ -1468,7 +1429,7 @@ const Cl = { class: "fresh-booking-event-addons-price" }, wl = { key: 1 }, Pl =
|
|
|
1468
1429
|
_: 1
|
|
1469
1430
|
}, 8, ["styling"]));
|
|
1470
1431
|
}
|
|
1471
|
-
}), be = /* @__PURE__ */
|
|
1432
|
+
}), be = /* @__PURE__ */ ie(El, [["__scopeId", "data-v-5d57983d"]]);
|
|
1472
1433
|
function Ge(l, e = {}, t) {
|
|
1473
1434
|
for (const n in l) {
|
|
1474
1435
|
const a = l[n], s = t ? `${t}:${n}` : n;
|
|
@@ -1476,23 +1437,23 @@ function Ge(l, e = {}, t) {
|
|
|
1476
1437
|
}
|
|
1477
1438
|
return e;
|
|
1478
1439
|
}
|
|
1479
|
-
const
|
|
1480
|
-
function
|
|
1481
|
-
const t = e.shift(), n =
|
|
1440
|
+
const Bl = { run: (l) => l() }, Ml = () => Bl, pt = typeof console.createTask < "u" ? console.createTask : Ml;
|
|
1441
|
+
function Ll(l, e) {
|
|
1442
|
+
const t = e.shift(), n = pt(t);
|
|
1482
1443
|
return l.reduce(
|
|
1483
1444
|
(a, s) => a.then(() => n.run(() => s(...e))),
|
|
1484
1445
|
Promise.resolve()
|
|
1485
1446
|
);
|
|
1486
1447
|
}
|
|
1487
|
-
function
|
|
1488
|
-
const t = e.shift(), n =
|
|
1448
|
+
function Rl(l, e) {
|
|
1449
|
+
const t = e.shift(), n = pt(t);
|
|
1489
1450
|
return Promise.all(l.map((a) => n.run(() => a(...e))));
|
|
1490
1451
|
}
|
|
1491
|
-
function
|
|
1452
|
+
function Ue(l, e) {
|
|
1492
1453
|
for (const t of [...l])
|
|
1493
1454
|
t(e);
|
|
1494
1455
|
}
|
|
1495
|
-
class
|
|
1456
|
+
class Ul {
|
|
1496
1457
|
constructor() {
|
|
1497
1458
|
this._hooks = {}, this._before = void 0, this._after = void 0, this._deprecatedMessages = void 0, this._deprecatedHooks = {}, this.hook = this.hook.bind(this), this.callHook = this.callHook.bind(this), this.callHookWith = this.callHookWith.bind(this);
|
|
1498
1459
|
}
|
|
@@ -1561,21 +1522,21 @@ class Fl {
|
|
|
1561
1522
|
delete this._hooks[e];
|
|
1562
1523
|
}
|
|
1563
1524
|
callHook(e, ...t) {
|
|
1564
|
-
return t.unshift(e), this.callHookWith(
|
|
1525
|
+
return t.unshift(e), this.callHookWith(Ll, e, ...t);
|
|
1565
1526
|
}
|
|
1566
1527
|
callHookParallel(e, ...t) {
|
|
1567
|
-
return t.unshift(e), this.callHookWith(
|
|
1528
|
+
return t.unshift(e), this.callHookWith(Rl, e, ...t);
|
|
1568
1529
|
}
|
|
1569
1530
|
callHookWith(e, t, ...n) {
|
|
1570
1531
|
const a = this._before || this._after ? { name: t, args: n, context: {} } : void 0;
|
|
1571
|
-
this._before &&
|
|
1532
|
+
this._before && Ue(this._before, a);
|
|
1572
1533
|
const s = e(
|
|
1573
1534
|
t in this._hooks ? [...this._hooks[t]] : [],
|
|
1574
1535
|
n
|
|
1575
1536
|
);
|
|
1576
1537
|
return s instanceof Promise ? s.finally(() => {
|
|
1577
|
-
this._after && a &&
|
|
1578
|
-
}) : (this._after && a &&
|
|
1538
|
+
this._after && a && Ue(this._after, a);
|
|
1539
|
+
}) : (this._after && a && Ue(this._after, a), s);
|
|
1579
1540
|
}
|
|
1580
1541
|
beforeEach(e) {
|
|
1581
1542
|
return this._before = this._before || [], this._before.push(e), () => {
|
|
@@ -1595,19 +1556,19 @@ class Fl {
|
|
|
1595
1556
|
}
|
|
1596
1557
|
}
|
|
1597
1558
|
function Ol() {
|
|
1598
|
-
return new
|
|
1559
|
+
return new Ul();
|
|
1599
1560
|
}
|
|
1600
|
-
function
|
|
1561
|
+
function Fl(l) {
|
|
1601
1562
|
return Array.isArray(l) ? l : [l];
|
|
1602
1563
|
}
|
|
1603
|
-
const
|
|
1564
|
+
const Nl = ["title", "titleTemplate", "script", "style", "noscript"], ke = [
|
|
1604
1565
|
"base",
|
|
1605
1566
|
"meta",
|
|
1606
1567
|
"link",
|
|
1607
1568
|
"style",
|
|
1608
1569
|
"script",
|
|
1609
1570
|
"noscript"
|
|
1610
|
-
],
|
|
1571
|
+
], jl = [
|
|
1611
1572
|
"title",
|
|
1612
1573
|
"titleTemplate",
|
|
1613
1574
|
"templateParams",
|
|
@@ -1619,7 +1580,7 @@ const jl = ["title", "titleTemplate", "script", "style", "noscript"], ke = [
|
|
|
1619
1580
|
"style",
|
|
1620
1581
|
"script",
|
|
1621
1582
|
"noscript"
|
|
1622
|
-
],
|
|
1583
|
+
], Gl = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], ft = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], ql = typeof window < "u";
|
|
1623
1584
|
function We(l) {
|
|
1624
1585
|
let e = 9;
|
|
1625
1586
|
for (let t = 0; t < l.length; )
|
|
@@ -1629,9 +1590,9 @@ function We(l) {
|
|
|
1629
1590
|
function Qe(l) {
|
|
1630
1591
|
return l._h || We(l._d ? l._d : `${l.tag}:${l.textContent || l.innerHTML || ""}:${Object.entries(l.props).map(([e, t]) => `${e}:${String(t)}`).join(",")}`);
|
|
1631
1592
|
}
|
|
1632
|
-
function
|
|
1593
|
+
function mt(l, e) {
|
|
1633
1594
|
const { props: t, tag: n } = l;
|
|
1634
|
-
if (
|
|
1595
|
+
if (Gl.includes(n))
|
|
1635
1596
|
return n;
|
|
1636
1597
|
if (n === "link" && t.rel === "canonical")
|
|
1637
1598
|
return "canonical";
|
|
@@ -1649,10 +1610,10 @@ function ht(l, e) {
|
|
|
1649
1610
|
function Xe(l, e) {
|
|
1650
1611
|
return l == null ? e || null : typeof l == "function" ? l(e) : l;
|
|
1651
1612
|
}
|
|
1652
|
-
async function
|
|
1613
|
+
async function Wl(l, e, t) {
|
|
1653
1614
|
const n = {
|
|
1654
1615
|
tag: l,
|
|
1655
|
-
props: await
|
|
1616
|
+
props: await ht(
|
|
1656
1617
|
// explicitly check for an object
|
|
1657
1618
|
// @ts-expect-error untyped
|
|
1658
1619
|
typeof e == "object" && typeof e != "function" && !(e instanceof Promise) ? { ...e } : { [["script", "noscript", "style"].includes(l) ? "innerHTML" : "textContent"]: e },
|
|
@@ -1661,17 +1622,17 @@ async function Kl(l, e, t) {
|
|
|
1661
1622
|
};
|
|
1662
1623
|
return ft.forEach((a) => {
|
|
1663
1624
|
const s = typeof n.props[a] < "u" ? n.props[a] : t[a];
|
|
1664
|
-
typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(a) ||
|
|
1625
|
+
typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(a) || Nl.includes(n.tag)) && (n[a === "children" ? "innerHTML" : a] = s), delete n.props[a]);
|
|
1665
1626
|
}), n.props.body && (n.tagPosition = "bodyClose", delete n.props.body), n.tag === "script" && typeof n.innerHTML == "object" && (n.innerHTML = JSON.stringify(n.innerHTML), n.props.type = n.props.type || "application/json"), Array.isArray(n.props.content) ? n.props.content.map((a) => ({ ...n, props: { ...n.props, content: a } })) : n;
|
|
1666
1627
|
}
|
|
1667
|
-
function
|
|
1628
|
+
function Kl(l, e) {
|
|
1668
1629
|
const t = l === "class" ? " " : ";";
|
|
1669
1630
|
return typeof e == "object" && !Array.isArray(e) && (e = Object.entries(e).filter(([, n]) => n).map(([n, a]) => l === "style" ? `${n}:${a}` : n)), (Array.isArray(e) ? e.join(t) : e).split(t).filter((n) => n.trim()).filter(Boolean).join(t);
|
|
1670
1631
|
}
|
|
1671
|
-
async function
|
|
1632
|
+
async function ht(l, e) {
|
|
1672
1633
|
for (const t of Object.keys(l)) {
|
|
1673
1634
|
if (["class", "style"].includes(t)) {
|
|
1674
|
-
l[t] =
|
|
1635
|
+
l[t] = Kl(t, l[t]);
|
|
1675
1636
|
continue;
|
|
1676
1637
|
}
|
|
1677
1638
|
if (l[t] instanceof Promise && (l[t] = await l[t]), !e && !ft.includes(t)) {
|
|
@@ -1681,13 +1642,13 @@ async function vt(l, e) {
|
|
|
1681
1642
|
}
|
|
1682
1643
|
return l;
|
|
1683
1644
|
}
|
|
1684
|
-
const
|
|
1645
|
+
const zl = 10;
|
|
1685
1646
|
async function Jl(l) {
|
|
1686
1647
|
const e = [];
|
|
1687
|
-
return Object.entries(l.resolvedInput).filter(([t, n]) => typeof n < "u" &&
|
|
1688
|
-
const a =
|
|
1689
|
-
e.push(...a.map((s) =>
|
|
1690
|
-
}), (await Promise.all(e)).flat().filter(Boolean).map((t, n) => (t._e = l._i, l.mode && (t._m = l.mode), t._p = (l._i <<
|
|
1648
|
+
return Object.entries(l.resolvedInput).filter(([t, n]) => typeof n < "u" && jl.includes(t)).forEach(([t, n]) => {
|
|
1649
|
+
const a = Fl(n);
|
|
1650
|
+
e.push(...a.map((s) => Wl(t, s, l)).flat());
|
|
1651
|
+
}), (await Promise.all(e)).flat().filter(Boolean).map((t, n) => (t._e = l._i, l.mode && (t._m = l.mode), t._p = (l._i << zl) + n, t));
|
|
1691
1652
|
}
|
|
1692
1653
|
const et = {
|
|
1693
1654
|
// tags
|
|
@@ -1699,18 +1660,18 @@ const et = {
|
|
|
1699
1660
|
high: -10,
|
|
1700
1661
|
low: 20
|
|
1701
1662
|
};
|
|
1702
|
-
function
|
|
1663
|
+
function Ce(l) {
|
|
1703
1664
|
let e = 100;
|
|
1704
1665
|
const t = l.tagPriority;
|
|
1705
1666
|
return typeof t == "number" ? t : (l.tag === "meta" ? (l.props["http-equiv"] === "content-security-policy" && (e = -30), l.props.charset && (e = -20), l.props.name === "viewport" && (e = -15)) : l.tag === "link" && l.props.rel === "preconnect" ? e = 20 : l.tag in et && (e = et[l.tag]), typeof t == "string" && t in tt ? e + tt[t] : e);
|
|
1706
1667
|
}
|
|
1707
|
-
const
|
|
1668
|
+
const xl = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Oe = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], oe = "%separator";
|
|
1708
1669
|
function _e(l, e, t) {
|
|
1709
1670
|
if (typeof l != "string" || !l.includes("%"))
|
|
1710
1671
|
return l;
|
|
1711
1672
|
function n(c) {
|
|
1712
|
-
let
|
|
1713
|
-
return ["s", "pageTitle"].includes(c) ?
|
|
1673
|
+
let f;
|
|
1674
|
+
return ["s", "pageTitle"].includes(c) ? f = e.pageTitle : c.includes(".") ? f = c.split(".").reduce((d, r) => d && d[r] || void 0, e) : f = e[c], typeof f < "u" ? (f || "").replace(/"/g, '\\"') : !1;
|
|
1714
1675
|
}
|
|
1715
1676
|
let a = l;
|
|
1716
1677
|
try {
|
|
@@ -1718,11 +1679,11 @@ function _e(l, e, t) {
|
|
|
1718
1679
|
} catch {
|
|
1719
1680
|
}
|
|
1720
1681
|
return (a.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((c) => {
|
|
1721
|
-
const
|
|
1722
|
-
typeof
|
|
1723
|
-
}), l.includes(
|
|
1682
|
+
const f = n(c.slice(1));
|
|
1683
|
+
typeof f == "string" && (l = l.replace(new RegExp(`\\${c}(\\W|$)`, "g"), (d, r) => `${f}${r}`).trim());
|
|
1684
|
+
}), l.includes(oe) && (l.endsWith(oe) && (l = l.slice(0, -oe.length).trim()), l.startsWith(oe) && (l = l.slice(oe.length).trim()), l = l.replace(new RegExp(`\\${oe}\\s*\\${oe}`, "g"), oe), l = _e(l, { separator: t }, t)), l;
|
|
1724
1685
|
}
|
|
1725
|
-
async function
|
|
1686
|
+
async function Yl(l, e = {}) {
|
|
1726
1687
|
const t = e.document || l.resolvedOptions.document;
|
|
1727
1688
|
if (!t || !l.dirty)
|
|
1728
1689
|
return;
|
|
@@ -1740,50 +1701,50 @@ async function Zl(l, e = {}) {
|
|
|
1740
1701
|
elMap: { htmlAttrs: t.documentElement, bodyAttrs: t.body }
|
|
1741
1702
|
};
|
|
1742
1703
|
for (const u of ["body", "head"]) {
|
|
1743
|
-
const
|
|
1744
|
-
for (const P of [...
|
|
1745
|
-
const
|
|
1704
|
+
const m = t[u]?.children, k = [];
|
|
1705
|
+
for (const P of [...m].filter((T) => ke.includes(T.tagName.toLowerCase()))) {
|
|
1706
|
+
const T = {
|
|
1746
1707
|
tag: P.tagName.toLowerCase(),
|
|
1747
|
-
props: await
|
|
1748
|
-
P.getAttributeNames().reduce((b,
|
|
1708
|
+
props: await ht(
|
|
1709
|
+
P.getAttributeNames().reduce((b, $) => ({ ...b, [$]: P.getAttribute($) }), {})
|
|
1749
1710
|
),
|
|
1750
1711
|
innerHTML: P.innerHTML
|
|
1751
1712
|
};
|
|
1752
|
-
let I = 1, E =
|
|
1713
|
+
let I = 1, E = mt(T);
|
|
1753
1714
|
for (; E && k.find((b) => b._d === E); )
|
|
1754
1715
|
E = `${E}:${I++}`;
|
|
1755
|
-
|
|
1716
|
+
T._d = E || void 0, k.push(T), s.elMap[P.getAttribute("data-hid") || Qe(T)] = P;
|
|
1756
1717
|
}
|
|
1757
1718
|
}
|
|
1758
1719
|
}
|
|
1759
1720
|
s.pendingSideEffects = { ...s.sideEffects || {} }, s.sideEffects = {};
|
|
1760
|
-
function c(u,
|
|
1761
|
-
const P = `${u}:${
|
|
1721
|
+
function c(u, m, k) {
|
|
1722
|
+
const P = `${u}:${m}`;
|
|
1762
1723
|
s.sideEffects[P] = k, delete s.pendingSideEffects[P];
|
|
1763
1724
|
}
|
|
1764
|
-
function
|
|
1725
|
+
function f({ id: u, $el: m, tag: k }) {
|
|
1765
1726
|
const P = k.tag.endsWith("Attrs");
|
|
1766
|
-
s.elMap[u] =
|
|
1767
|
-
k[
|
|
1727
|
+
s.elMap[u] = m, P || (["textContent", "innerHTML"].forEach((T) => {
|
|
1728
|
+
k[T] && k[T] !== m[T] && (m[T] = k[T]);
|
|
1768
1729
|
}), c(u, "el", () => {
|
|
1769
1730
|
s.elMap[u]?.remove(), delete s.elMap[u];
|
|
1770
1731
|
}));
|
|
1771
|
-
for (const [
|
|
1772
|
-
|
|
1773
|
-
Object.entries(k.props).forEach(([
|
|
1774
|
-
const E = `attr:${
|
|
1775
|
-
if (
|
|
1732
|
+
for (const [T, I] of Object.entries(k._eventHandlers || {}))
|
|
1733
|
+
m.getAttribute(`data-${T}`) !== "" && ((k.tag === "bodyAttrs" ? t.defaultView : m).addEventListener(T.replace("on", ""), I.bind(m)), m.setAttribute(`data-${T}`, ""));
|
|
1734
|
+
Object.entries(k.props).forEach(([T, I]) => {
|
|
1735
|
+
const E = `attr:${T}`;
|
|
1736
|
+
if (T === "class")
|
|
1776
1737
|
for (const b of (I || "").split(" ").filter(Boolean))
|
|
1777
|
-
P && c(u, `${E}:${b}`, () =>
|
|
1778
|
-
else if (
|
|
1738
|
+
P && c(u, `${E}:${b}`, () => m.classList.remove(b)), !m.classList.contains(b) && m.classList.add(b);
|
|
1739
|
+
else if (T === "style")
|
|
1779
1740
|
for (const b of (I || "").split(";").filter(Boolean)) {
|
|
1780
|
-
const [
|
|
1781
|
-
c(u, `${E}:${b}:${
|
|
1782
|
-
|
|
1783
|
-
}),
|
|
1741
|
+
const [$, ...H] = b.split(":").map((F) => F.trim());
|
|
1742
|
+
c(u, `${E}:${b}:${$}`, () => {
|
|
1743
|
+
m.style.removeProperty($);
|
|
1744
|
+
}), m.style.setProperty($, H.join(":"));
|
|
1784
1745
|
}
|
|
1785
1746
|
else
|
|
1786
|
-
|
|
1747
|
+
m.getAttribute(T) !== I && m.setAttribute(T, I === !0 ? "" : String(I)), P && c(u, E, () => m.removeAttribute(T));
|
|
1787
1748
|
});
|
|
1788
1749
|
}
|
|
1789
1750
|
const d = [], r = {
|
|
@@ -1792,50 +1753,50 @@ async function Zl(l, e = {}) {
|
|
|
1792
1753
|
head: void 0
|
|
1793
1754
|
};
|
|
1794
1755
|
for (const u of a) {
|
|
1795
|
-
const { tag:
|
|
1756
|
+
const { tag: m, shouldRender: k, id: P } = u;
|
|
1796
1757
|
if (k) {
|
|
1797
|
-
if (
|
|
1798
|
-
t.title =
|
|
1758
|
+
if (m.tag === "title") {
|
|
1759
|
+
t.title = m.textContent;
|
|
1799
1760
|
continue;
|
|
1800
1761
|
}
|
|
1801
|
-
u.$el = u.$el || s.elMap[P], u.$el ?
|
|
1762
|
+
u.$el = u.$el || s.elMap[P], u.$el ? f(u) : ke.includes(m.tag) && d.push(u);
|
|
1802
1763
|
}
|
|
1803
1764
|
}
|
|
1804
1765
|
for (const u of d) {
|
|
1805
|
-
const
|
|
1806
|
-
u.$el = t.createElement(u.tag.tag),
|
|
1766
|
+
const m = u.tag.tagPosition || "head";
|
|
1767
|
+
u.$el = t.createElement(u.tag.tag), f(u), r[m] = r[m] || t.createDocumentFragment(), r[m].appendChild(u.$el);
|
|
1807
1768
|
}
|
|
1808
1769
|
for (const u of a)
|
|
1809
1770
|
await l.hooks.callHook("dom:renderTag", u, t, c);
|
|
1810
1771
|
r.head && t.head.appendChild(r.head), r.bodyOpen && t.body.insertBefore(r.bodyOpen, t.body.firstChild), r.bodyClose && t.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((u) => u()), l._dom = s, l.dirty = !1, await l.hooks.callHook("dom:rendered", { renders: a });
|
|
1811
1772
|
}
|
|
1812
|
-
async function
|
|
1773
|
+
async function Zl(l, e = {}) {
|
|
1813
1774
|
const t = e.delayFn || ((n) => setTimeout(n, 10));
|
|
1814
1775
|
return l._domUpdatePromise = l._domUpdatePromise || new Promise((n) => t(async () => {
|
|
1815
|
-
await
|
|
1776
|
+
await Yl(l, e), delete l._domUpdatePromise, n();
|
|
1816
1777
|
}));
|
|
1817
1778
|
}
|
|
1818
1779
|
// @__NO_SIDE_EFFECTS__
|
|
1819
|
-
function
|
|
1780
|
+
function Ql(l) {
|
|
1820
1781
|
return (e) => {
|
|
1821
1782
|
const t = e.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
1822
1783
|
return t && e.push(JSON.parse(t)), {
|
|
1823
1784
|
mode: "client",
|
|
1824
1785
|
hooks: {
|
|
1825
1786
|
"entries:updated": function(n) {
|
|
1826
|
-
|
|
1787
|
+
Zl(n, l);
|
|
1827
1788
|
}
|
|
1828
1789
|
}
|
|
1829
1790
|
};
|
|
1830
1791
|
};
|
|
1831
1792
|
}
|
|
1832
|
-
const
|
|
1793
|
+
const Xl = ["templateParams", "htmlAttrs", "bodyAttrs"], en = {
|
|
1833
1794
|
hooks: {
|
|
1834
1795
|
"tag:normalise": function({ tag: l }) {
|
|
1835
1796
|
["hid", "vmid", "key"].forEach((n) => {
|
|
1836
1797
|
l.props[n] && (l.key = l.props[n], delete l.props[n]);
|
|
1837
1798
|
});
|
|
1838
|
-
const t =
|
|
1799
|
+
const t = mt(l) || (l.key ? `${l.tag}:${l.key}` : !1);
|
|
1839
1800
|
t && (l._d = t);
|
|
1840
1801
|
},
|
|
1841
1802
|
"tags:resolve": function(l) {
|
|
@@ -1843,8 +1804,8 @@ const en = ["templateParams", "htmlAttrs", "bodyAttrs"], tn = {
|
|
|
1843
1804
|
l.tags.forEach((n) => {
|
|
1844
1805
|
const a = (n.key ? `${n.tag}:${n.key}` : n._d) || n._p, s = e[a];
|
|
1845
1806
|
if (s) {
|
|
1846
|
-
let
|
|
1847
|
-
if (!
|
|
1807
|
+
let f = n?.tagDuplicateStrategy;
|
|
1808
|
+
if (!f && Xl.includes(n.tag) && (f = "merge"), f === "merge") {
|
|
1848
1809
|
const d = s.props;
|
|
1849
1810
|
["class", "style"].forEach((r) => {
|
|
1850
1811
|
d[r] && (n.props[r] ? (r === "style" && !d[r].endsWith(";") && (d[r] += ";"), n.props[r] = `${d[r]} ${n.props[r]}`) : n.props[r] = d[r]);
|
|
@@ -1856,7 +1817,7 @@ const en = ["templateParams", "htmlAttrs", "bodyAttrs"], tn = {
|
|
|
1856
1817
|
} else if (n._e === s._e) {
|
|
1857
1818
|
s._duped = s._duped || [], n._d = `${s._d}:${s._duped.length + 1}`, s._duped.push(n);
|
|
1858
1819
|
return;
|
|
1859
|
-
} else if (
|
|
1820
|
+
} else if (Ce(n) > Ce(s))
|
|
1860
1821
|
return;
|
|
1861
1822
|
}
|
|
1862
1823
|
const c = Object.keys(n.props).length + (n.innerHTML ? 1 : 0) + (n.textContent ? 1 : 0);
|
|
@@ -1873,7 +1834,7 @@ const en = ["templateParams", "htmlAttrs", "bodyAttrs"], tn = {
|
|
|
1873
1834
|
}), l.tags = t, l.tags = l.tags.filter((n) => !(n.tag === "meta" && (n.props.name || n.props.property) && !n.props.content));
|
|
1874
1835
|
}
|
|
1875
1836
|
}
|
|
1876
|
-
},
|
|
1837
|
+
}, tn = {
|
|
1877
1838
|
mode: "server",
|
|
1878
1839
|
hooks: {
|
|
1879
1840
|
"tags:resolve": function(l) {
|
|
@@ -1887,10 +1848,10 @@ const en = ["templateParams", "htmlAttrs", "bodyAttrs"], tn = {
|
|
|
1887
1848
|
});
|
|
1888
1849
|
}
|
|
1889
1850
|
}
|
|
1890
|
-
},
|
|
1851
|
+
}, on = ["script", "link", "bodyAttrs"], ln = (l) => ({
|
|
1891
1852
|
hooks: {
|
|
1892
1853
|
"tags:resolve": function(e) {
|
|
1893
|
-
for (const t of e.tags.filter((n) =>
|
|
1854
|
+
for (const t of e.tags.filter((n) => on.includes(n.tag)))
|
|
1894
1855
|
Object.entries(t.props).forEach(([n, a]) => {
|
|
1895
1856
|
n.startsWith("on") && typeof a == "function" && (l.ssr && Oe.includes(n) ? (t.props[n] = `this.dataset.${n} = true`, t.props["data-unhead-events"] = "") : delete t.props[n], t._eventHandlers = t._eventHandlers || {}, t._eventHandlers[n] = a);
|
|
1896
1857
|
}), l.ssr && t._eventHandlers && (t.props.src || t.props.href) && (t.key = t.key || We(t.props.src || t.props.href));
|
|
@@ -1908,45 +1869,45 @@ const en = ["templateParams", "htmlAttrs", "bodyAttrs"], tn = {
|
|
|
1908
1869
|
}).observe(e.$el, { attributes: !0 });
|
|
1909
1870
|
}
|
|
1910
1871
|
}
|
|
1911
|
-
}),
|
|
1872
|
+
}), nn = ["link", "style", "script", "noscript"], an = {
|
|
1912
1873
|
hooks: {
|
|
1913
1874
|
"tag:normalise": ({ tag: l }) => {
|
|
1914
|
-
l.key &&
|
|
1875
|
+
l.key && nn.includes(l.tag) && (l.props["data-hid"] = l._h = We(l.key));
|
|
1915
1876
|
}
|
|
1916
1877
|
}
|
|
1917
|
-
},
|
|
1878
|
+
}, sn = {
|
|
1918
1879
|
hooks: {
|
|
1919
1880
|
"tags:resolve": (l) => {
|
|
1920
1881
|
const e = (t) => l.tags.find((n) => n._d === t)?._p;
|
|
1921
|
-
for (const { prefix: t, offset: n } of
|
|
1882
|
+
for (const { prefix: t, offset: n } of xl)
|
|
1922
1883
|
for (const a of l.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(t))) {
|
|
1923
1884
|
const s = e(
|
|
1924
1885
|
a.tagPriority.replace(t, "")
|
|
1925
1886
|
);
|
|
1926
1887
|
typeof s < "u" && (a._p = s + n);
|
|
1927
1888
|
}
|
|
1928
|
-
l.tags.sort((t, n) => t._p - n._p).sort((t, n) =>
|
|
1889
|
+
l.tags.sort((t, n) => t._p - n._p).sort((t, n) => Ce(t) - Ce(n));
|
|
1929
1890
|
}
|
|
1930
1891
|
}
|
|
1931
|
-
},
|
|
1892
|
+
}, rn = {
|
|
1932
1893
|
meta: "content",
|
|
1933
1894
|
link: "href",
|
|
1934
1895
|
htmlAttrs: "lang"
|
|
1935
|
-
},
|
|
1896
|
+
}, un = (l) => ({
|
|
1936
1897
|
hooks: {
|
|
1937
1898
|
"tags:resolve": (e) => {
|
|
1938
|
-
const { tags: t } = e, n = t.find((
|
|
1899
|
+
const { tags: t } = e, n = t.find((f) => f.tag === "title")?.textContent, a = t.findIndex((f) => f.tag === "templateParams"), s = a !== -1 ? t[a].props : {}, c = s.separator || "|";
|
|
1939
1900
|
delete s.separator, s.pageTitle = _e(s.pageTitle || n || "", s, c);
|
|
1940
|
-
for (const
|
|
1941
|
-
const d =
|
|
1942
|
-
d && typeof
|
|
1943
|
-
typeof
|
|
1901
|
+
for (const f of t.filter((d) => d.processTemplateParams !== !1)) {
|
|
1902
|
+
const d = rn[f.tag];
|
|
1903
|
+
d && typeof f.props[d] == "string" ? f.props[d] = _e(f.props[d], s, c) : (f.processTemplateParams === !0 || ["titleTemplate", "title"].includes(f.tag)) && ["innerHTML", "textContent"].forEach((r) => {
|
|
1904
|
+
typeof f[r] == "string" && (f[r] = _e(f[r], s, c));
|
|
1944
1905
|
});
|
|
1945
1906
|
}
|
|
1946
|
-
l._templateParams = s, l._separator = c, e.tags = t.filter((
|
|
1907
|
+
l._templateParams = s, l._separator = c, e.tags = t.filter((f) => f.tag !== "templateParams");
|
|
1947
1908
|
}
|
|
1948
1909
|
}
|
|
1949
|
-
}),
|
|
1910
|
+
}), dn = {
|
|
1950
1911
|
hooks: {
|
|
1951
1912
|
"tags:resolve": (l) => {
|
|
1952
1913
|
const { tags: e } = l;
|
|
@@ -1967,7 +1928,7 @@ const en = ["templateParams", "htmlAttrs", "bodyAttrs"], tn = {
|
|
|
1967
1928
|
t !== -1 && delete e[t], l.tags = e.filter(Boolean);
|
|
1968
1929
|
}
|
|
1969
1930
|
}
|
|
1970
|
-
},
|
|
1931
|
+
}, cn = {
|
|
1971
1932
|
hooks: {
|
|
1972
1933
|
"tags:afterResolve": function(l) {
|
|
1973
1934
|
for (const e of l.tags)
|
|
@@ -1976,21 +1937,21 @@ const en = ["templateParams", "htmlAttrs", "bodyAttrs"], tn = {
|
|
|
1976
1937
|
}
|
|
1977
1938
|
};
|
|
1978
1939
|
// @__NO_SIDE_EFFECTS__
|
|
1979
|
-
function
|
|
1940
|
+
function pn(l = {}) {
|
|
1980
1941
|
const e = fn(l);
|
|
1981
|
-
return e.use(/* @__PURE__ */
|
|
1942
|
+
return e.use(/* @__PURE__ */ Ql()), e;
|
|
1982
1943
|
}
|
|
1983
1944
|
function ot(l, e) {
|
|
1984
1945
|
return !l || l === "server" && e || l === "client" && !e;
|
|
1985
1946
|
}
|
|
1986
1947
|
function fn(l = {}) {
|
|
1987
1948
|
const e = Ol();
|
|
1988
|
-
e.addHooks(l.hooks || {}), l.document = l.document || (
|
|
1949
|
+
e.addHooks(l.hooks || {}), l.document = l.document || (ql ? document : void 0);
|
|
1989
1950
|
const t = !l.document, n = () => {
|
|
1990
|
-
|
|
1951
|
+
f.dirty = !0, e.callHook("entries:updated", f);
|
|
1991
1952
|
};
|
|
1992
1953
|
let a = 0, s = [];
|
|
1993
|
-
const c = [],
|
|
1954
|
+
const c = [], f = {
|
|
1994
1955
|
plugins: c,
|
|
1995
1956
|
dirty: !1,
|
|
1996
1957
|
resolvedOptions: l,
|
|
@@ -1999,7 +1960,7 @@ function fn(l = {}) {
|
|
|
1999
1960
|
return s;
|
|
2000
1961
|
},
|
|
2001
1962
|
use(d) {
|
|
2002
|
-
const r = typeof d == "function" ? d(
|
|
1963
|
+
const r = typeof d == "function" ? d(f) : d;
|
|
2003
1964
|
(!r.key || !c.some((u) => u.key === r.key)) && (c.push(r), ot(r.mode, t) && e.addHooks(r.hooks || {}));
|
|
2004
1965
|
},
|
|
2005
1966
|
push(d, r) {
|
|
@@ -2011,11 +1972,11 @@ function fn(l = {}) {
|
|
|
2011
1972
|
};
|
|
2012
1973
|
return ot(u.mode, t) && (s.push(u), n()), {
|
|
2013
1974
|
dispose() {
|
|
2014
|
-
s = s.filter((
|
|
1975
|
+
s = s.filter((m) => m._i !== u._i), e.callHook("entries:updated", f), n();
|
|
2015
1976
|
},
|
|
2016
1977
|
// a patch is the same as creating a new entry, just a nice DX
|
|
2017
|
-
patch(
|
|
2018
|
-
s = s.map((k) => (k._i === u._i && (k.input = u.input =
|
|
1978
|
+
patch(m) {
|
|
1979
|
+
s = s.map((k) => (k._i === u._i && (k.input = u.input = m), k)), n();
|
|
2019
1980
|
}
|
|
2020
1981
|
};
|
|
2021
1982
|
},
|
|
@@ -2025,8 +1986,8 @@ function fn(l = {}) {
|
|
|
2025
1986
|
for (const r of d.entries) {
|
|
2026
1987
|
const u = r.resolvedInput || r.input;
|
|
2027
1988
|
if (r.resolvedInput = await (r.transform ? r.transform(u) : u), r.resolvedInput)
|
|
2028
|
-
for (const
|
|
2029
|
-
const k = { tag:
|
|
1989
|
+
for (const m of await Jl(r)) {
|
|
1990
|
+
const k = { tag: m, entry: r, resolvedOptions: f.resolvedOptions };
|
|
2030
1991
|
await e.callHook("tag:normalise", k), d.tags.push(k.tag);
|
|
2031
1992
|
}
|
|
2032
1993
|
}
|
|
@@ -2035,50 +1996,50 @@ function fn(l = {}) {
|
|
|
2035
1996
|
ssr: t
|
|
2036
1997
|
};
|
|
2037
1998
|
return [
|
|
1999
|
+
en,
|
|
2038
2000
|
tn,
|
|
2039
|
-
|
|
2040
|
-
|
|
2001
|
+
ln,
|
|
2002
|
+
an,
|
|
2041
2003
|
sn,
|
|
2042
|
-
|
|
2004
|
+
un,
|
|
2043
2005
|
dn,
|
|
2044
2006
|
cn,
|
|
2045
|
-
pn,
|
|
2046
2007
|
...l?.plugins || []
|
|
2047
|
-
].forEach((d) =>
|
|
2008
|
+
].forEach((d) => f.use(d)), f.hooks.callHook("init", f), f;
|
|
2048
2009
|
}
|
|
2049
|
-
const
|
|
2050
|
-
function
|
|
2010
|
+
const mn = Wt.startsWith("3");
|
|
2011
|
+
function hn(l) {
|
|
2051
2012
|
return typeof l == "function" ? l() : o(l);
|
|
2052
2013
|
}
|
|
2053
2014
|
function qe(l, e = "") {
|
|
2054
2015
|
if (l instanceof Promise)
|
|
2055
2016
|
return l;
|
|
2056
|
-
const t =
|
|
2017
|
+
const t = hn(l);
|
|
2057
2018
|
return !l || !t ? t : Array.isArray(t) ? t.map((n) => qe(n, e)) : typeof t == "object" ? Object.fromEntries(
|
|
2058
2019
|
Object.entries(t).map(([n, a]) => n === "titleTemplate" || n.startsWith("on") ? [n, o(a)] : [n, qe(a, n)])
|
|
2059
2020
|
) : t;
|
|
2060
2021
|
}
|
|
2061
|
-
const
|
|
2022
|
+
const vn = {
|
|
2062
2023
|
hooks: {
|
|
2063
2024
|
"entries:resolve": function(l) {
|
|
2064
2025
|
for (const e of l.entries)
|
|
2065
2026
|
e.resolvedInput = qe(e.input);
|
|
2066
2027
|
}
|
|
2067
2028
|
}
|
|
2068
|
-
},
|
|
2069
|
-
function
|
|
2029
|
+
}, gn = "usehead";
|
|
2030
|
+
function yn(l) {
|
|
2070
2031
|
return {
|
|
2071
2032
|
install(t) {
|
|
2072
|
-
|
|
2033
|
+
mn && (t.config.globalProperties.$unhead = l, t.config.globalProperties.$head = l, t.provide(gn, l));
|
|
2073
2034
|
}
|
|
2074
2035
|
}.install;
|
|
2075
2036
|
}
|
|
2076
|
-
function
|
|
2037
|
+
function bn(l = {}) {
|
|
2077
2038
|
l.domDelayFn = l.domDelayFn || ((t) => qt(() => setTimeout(() => t(), 0)));
|
|
2078
|
-
const e = /* @__PURE__ */
|
|
2079
|
-
return e.use(
|
|
2039
|
+
const e = /* @__PURE__ */ pn(l);
|
|
2040
|
+
return e.use(vn), e.install = yn(e), e;
|
|
2080
2041
|
}
|
|
2081
|
-
const
|
|
2042
|
+
const kn = Kt(), _n = bn(), Vn = Yt();
|
|
2082
2043
|
class Tn extends HTMLElement {
|
|
2083
2044
|
vueApp;
|
|
2084
2045
|
constructor() {
|
|
@@ -2101,9 +2062,9 @@ class Tn extends HTMLElement {
|
|
|
2101
2062
|
let r = this.attributes.getNamedItem(d)?.value;
|
|
2102
2063
|
c.hasOwnProperty(d) && (r = c[d]), s[d] = r;
|
|
2103
2064
|
}
|
|
2104
|
-
this.vueApp = zt(be, s), this.vueApp.provide("emitter",
|
|
2105
|
-
const
|
|
2106
|
-
this.vueApp.mount(
|
|
2065
|
+
this.vueApp = zt(be, s), this.vueApp.provide("emitter", Vn), this.vueApp.use(_n), this.vueApp.use(kn), this.vueApp.use(lo), this.vueApp.use(Jt), this.vueApp.use(no), this.vueApp.use(xt, { bootstrap: !0 });
|
|
2066
|
+
const f = document.createElement("div");
|
|
2067
|
+
this.vueApp.mount(f), this.appendChild(f.children[0]);
|
|
2107
2068
|
}
|
|
2108
2069
|
}
|
|
2109
2070
|
window.customElements.define("konnectio-hotel", Tn);
|