@konnectio/core 4.0.56-rc51 → 4.0.56-rc53
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-CsHUzdDM.js → ActionField-BbnT98_d.js} +2 -2
- package/dist/ActionField-BbnT98_d.js.br +0 -0
- package/dist/{AvailabilitySkeleton-BpS3qH0r.js → AvailabilitySkeleton-eS7Uh_Km.js} +4 -4
- package/dist/AvailabilitySkeleton-eS7Uh_Km.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C_Eo6onw.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BuBqQSom.js} +2 -2
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BuBqQSom.js.br +0 -0
- package/dist/{CheckoutWindow-DQUTHQEL.js → CheckoutWindow-Dk-o8a2K.js} +2 -2
- package/dist/CheckoutWindow-Dk-o8a2K.js.br +0 -0
- package/dist/{ErrorMessage-CWHVx0Pk.js → ErrorMessage-BLQS8AY1.js} +2 -2
- package/dist/ErrorMessage-BLQS8AY1.js.br +0 -0
- package/dist/EventAvailabilityForm-heF8nd-H.js +452 -0
- package/dist/EventAvailabilityForm-heF8nd-H.js.br +0 -0
- package/dist/{Field-CIQ61QX5.js → Field-tinXCBfJ.js} +2 -2
- package/dist/Field-tinXCBfJ.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-2iMaQIEk.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CIaEjs0f.js} +2796 -2788
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CIaEjs0f.js.br +0 -0
- package/dist/{TermsOfService-BZzRUgUN.js → TermsOfService-C-Z0lzj2.js} +3 -3
- package/dist/TermsOfService-C-Z0lzj2.js.br +0 -0
- package/dist/{_-CRFAvFk8.js → _-CjnTPqFP.js} +2 -2
- package/dist/{_.vue_vue_type_style_index_0_lang-DF6d_VKc.js → _.vue_vue_type_style_index_0_lang-B2bWg8_F.js} +2 -2
- package/dist/_.vue_vue_type_style_index_0_lang-B2bWg8_F.js.br +0 -0
- package/dist/availability.js +5 -5
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +2 -2
- package/dist/event.js +141 -137
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +6 -6
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +7 -7
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-iMEwS4uA.js → giftCard-DZylNc7h.js} +9 -9
- package/dist/giftCard-DZylNc7h.js.br +0 -0
- package/dist/hotel.js +507 -487
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-BSptmqjG.js → masonry.plugin-7lHYsZoI.js} +4 -4
- package/dist/masonry.plugin-7lHYsZoI.js.br +0 -0
- package/dist/polyfill.js +773 -772
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-CsHUzdDM.js.br +0 -0
- package/dist/AvailabilitySkeleton-BpS3qH0r.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C_Eo6onw.js.br +0 -0
- package/dist/CheckoutWindow-DQUTHQEL.js.br +0 -0
- package/dist/ErrorMessage-CWHVx0Pk.js.br +0 -0
- package/dist/EventAvailabilityForm-Bk4wdYKU.js +0 -437
- package/dist/EventAvailabilityForm-Bk4wdYKU.js.br +0 -0
- package/dist/Field-CIQ61QX5.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-2iMaQIEk.js.br +0 -0
- package/dist/TermsOfService-BZzRUgUN.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-DF6d_VKc.js.br +0 -0
- package/dist/giftCard-iMEwS4uA.js.br +0 -0
- package/dist/masonry.plugin-BSptmqjG.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { d as X, r as oe, o as c, b as D, w as T, v as
|
|
2
|
-
import { h as ne, s as te, b as
|
|
3
|
-
import { R as fo, B as
|
|
4
|
-
import { A as Vo, H as To } from "./AvailabilitySkeleton-
|
|
5
|
-
import { S as $o } from "./TermsOfService-
|
|
6
|
-
import { a as
|
|
7
|
-
import { _ as
|
|
1
|
+
import { d as X, r as oe, o as c, b as D, w as T, v as Ge, g as a, t as v, u as o, y as qe, z as We, f as g, a as f, A as F, F as E, e as _, D as Je, x as N, i as Ce, c as G, p as gt, j as kt, h as et, q as we, n as Pe, S as Yt, N as Zt, K as eo, O as to, k as oo } from "./_commonjsHelpers-04Qj4xBt.js";
|
|
2
|
+
import { h as ne, s as te, b as be, y as pe, m as Ae, z as K, B as de, Q as Qe, H as st, R as re, A as ee, D as lo, _ as ue, k as Ie, U as bt, l as Xe, C as ce, j as _t, J as Vt, r as rt, T as se, I as no, V as ao, a as io, n as so, N as dt, W as ro, X as ut, o as uo, p as co, F as po, q as mo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CIaEjs0f.js";
|
|
3
|
+
import { R as fo, B as Se, L as ho, S as vo, M as yo, a as Ke, C as go, T as ko, V as bo, G as _o } from "./masonry.plugin-7lHYsZoI.js";
|
|
4
|
+
import { A as Vo, H as To } from "./AvailabilitySkeleton-eS7Uh_Km.js";
|
|
5
|
+
import { S as $o } from "./TermsOfService-C-Z0lzj2.js";
|
|
6
|
+
import { a as De, B as Co, P as wo, C as Po } from "./CheckoutWindow-Dk-o8a2K.js";
|
|
7
|
+
import { _ as Tt } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-BuBqQSom.js";
|
|
8
8
|
import "./deep-link.js";
|
|
9
9
|
(function() {
|
|
10
10
|
try {
|
|
11
11
|
var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, l = new Error().stack;
|
|
12
|
-
l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "
|
|
12
|
+
l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "5cde57d3-bf1f-4993-af3c-0baae8db9e7c", n._sentryDebugIdIdentifier = "sentry-dbid-5cde57d3-bf1f-4993-af3c-0baae8db9e7c");
|
|
13
13
|
} catch {
|
|
14
14
|
}
|
|
15
15
|
})();
|
|
16
|
-
const Ao = { class: "konnectio-hotel-reservation-warning" }, Do = { class: "konnectio-hotel-reservation-warning" };
|
|
17
|
-
const
|
|
16
|
+
const Ao = { class: "konnectio-hotel-reservation-warning" }, Do = { class: "konnectio-hotel-reservation-warning" }, Ho = { class: "konnectio-hotel-reservation-warning" };
|
|
17
|
+
const Io = { key: 0 }, So = { key: 1 }, Bo = { key: 0 }, Eo = { class: "konnectio-reservation-actions" }, Mo = /* @__PURE__ */ X({
|
|
18
18
|
__name: "HotelReservationForm",
|
|
19
19
|
props: {
|
|
20
20
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -29,7 +29,7 @@ const Ho = { key: 0 }, Io = { key: 1 }, So = { key: 0 }, Bo = { class: "konnecti
|
|
|
29
29
|
departureDefault: m,
|
|
30
30
|
disableNewsletterSignup: p,
|
|
31
31
|
currency: u
|
|
32
|
-
} = te(
|
|
32
|
+
} = te(be()), {
|
|
33
33
|
arrivalTime: r,
|
|
34
34
|
departureTime: d,
|
|
35
35
|
roomDisplay: h,
|
|
@@ -42,20 +42,22 @@ const Ho = { key: 0 }, Io = { key: 1 }, So = { key: 0 }, Bo = { class: "konnecti
|
|
|
42
42
|
currentArrivalDate: C,
|
|
43
43
|
currentDepartureDate: H,
|
|
44
44
|
datesMismatch: O,
|
|
45
|
+
currentLocation: j,
|
|
46
|
+
locationMismatch: Q,
|
|
45
47
|
newsMails: R,
|
|
46
|
-
termsOfService:
|
|
47
|
-
discountCode:
|
|
48
|
-
hasTermOfService:
|
|
49
|
-
acceptTerms:
|
|
50
|
-
totalTemplateAddonPrice:
|
|
51
|
-
} = te(
|
|
52
|
-
function
|
|
53
|
-
return le.reduce((
|
|
48
|
+
termsOfService: x,
|
|
49
|
+
discountCode: Y,
|
|
50
|
+
hasTermOfService: Be,
|
|
51
|
+
acceptTerms: M,
|
|
52
|
+
totalTemplateAddonPrice: me
|
|
53
|
+
} = te(pe()), { removeRoom: _e, validateDiscountCode: ve } = pe(), { getHotelLocationName: Ee } = Ae(), fe = oe(!1);
|
|
54
|
+
function ye(le) {
|
|
55
|
+
return le.reduce((L, { totalPrice: ge }) => L + ge, 0);
|
|
54
56
|
}
|
|
55
|
-
return (le,
|
|
56
|
-
"discount-code": o(
|
|
57
|
-
"onUpdate:discountCode":
|
|
58
|
-
"validate-discount-code": o(
|
|
57
|
+
return (le, z) => (c(), D(fo, {
|
|
58
|
+
"discount-code": o(Y),
|
|
59
|
+
"onUpdate:discountCode": z[4] || (z[4] = (L) => N(Y) ? Y.value = L : null),
|
|
60
|
+
"validate-discount-code": o(ve),
|
|
59
61
|
"total-price": o(P),
|
|
60
62
|
"show-gift-card": le.showGiftCard,
|
|
61
63
|
"show-terms-notice": le.showTermsNotice,
|
|
@@ -63,128 +65,142 @@ const Ho = { key: 0 }, Io = { key: 1 }, So = { key: 0 }, Bo = { class: "konnecti
|
|
|
63
65
|
notice: o(l)("hotel.reservationNotice")
|
|
64
66
|
}, {
|
|
65
67
|
form: T(() => [
|
|
66
|
-
|
|
68
|
+
Ge(le.$slots, "form", {}, void 0, !0)
|
|
67
69
|
]),
|
|
68
70
|
"reservation-summary": T(() => [
|
|
69
71
|
a("li", null, [
|
|
70
|
-
a("span", null,
|
|
72
|
+
a("span", null, v(o(l)("general.location")), 1),
|
|
71
73
|
a("b", null, [
|
|
72
|
-
a("span", null,
|
|
73
|
-
|
|
74
|
-
g(
|
|
74
|
+
a("span", null, v(o(Ee)(o(j))), 1),
|
|
75
|
+
qe(a("span", Ao, [
|
|
76
|
+
g(K, {
|
|
75
77
|
icon: "exclamation-triangle",
|
|
76
78
|
type: "fas"
|
|
77
79
|
})
|
|
78
80
|
], 512), [
|
|
79
|
-
[
|
|
81
|
+
[We, o(Q)]
|
|
80
82
|
])
|
|
81
83
|
])
|
|
82
84
|
]),
|
|
83
85
|
a("li", null, [
|
|
84
|
-
a("span", null,
|
|
86
|
+
a("span", null, v(o(l)("booking.reservation.arrival")), 1),
|
|
85
87
|
a("b", null, [
|
|
86
|
-
a("span", null,
|
|
87
|
-
|
|
88
|
-
g(
|
|
88
|
+
a("span", null, v(o(e) ? o(de)(o(C)) : `${o(de)(o(C))}, ${o(t) ? o(s) : o(r)}`), 1),
|
|
89
|
+
qe(a("span", Do, [
|
|
90
|
+
g(K, {
|
|
89
91
|
icon: "exclamation-triangle",
|
|
90
92
|
type: "fas"
|
|
91
93
|
})
|
|
92
94
|
], 512), [
|
|
93
|
-
[
|
|
95
|
+
[We, o(O)]
|
|
94
96
|
])
|
|
95
97
|
])
|
|
96
98
|
]),
|
|
97
99
|
a("li", null, [
|
|
98
|
-
a("span", null,
|
|
99
|
-
a("b", null,
|
|
100
|
+
a("span", null, v(o(l)("booking.reservation.departure")), 1),
|
|
101
|
+
a("b", null, [
|
|
102
|
+
a("span", null, v(o(e) ? o(de)(o(H)) : `${o(de)(o(H))}, ${o(i) ? o(m) : o(d)}`), 1),
|
|
103
|
+
qe(a("span", Ho, [
|
|
104
|
+
g(K, {
|
|
105
|
+
icon: "exclamation-triangle",
|
|
106
|
+
type: "fas"
|
|
107
|
+
})
|
|
108
|
+
], 512), [
|
|
109
|
+
[We, o(O)]
|
|
110
|
+
])
|
|
111
|
+
])
|
|
100
112
|
]),
|
|
101
|
-
|
|
102
|
-
|
|
113
|
+
a("li", null, [
|
|
114
|
+
a("span", null, v(o(l)("booking.reservation.nights")), 1),
|
|
115
|
+
a("b", null, v(o(Qe)(o(C), o(H))) + " " + v(o(st)(o(Qe)(o(C), o(H)) === 1 ? o(l)("booking.reservation.night") : o(l)("booking.reservation.nights"))), 1)
|
|
116
|
+
]),
|
|
117
|
+
o(k) ? (c(!0), f(E, { key: 0 }, F(o(k), (L) => (c(), f("li", {
|
|
118
|
+
key: L.id
|
|
103
119
|
}, [
|
|
104
|
-
a("span", null,
|
|
105
|
-
a("b", null,
|
|
120
|
+
a("span", null, v(`${o(l)("general.discountCode")} (${L.value})`), 1),
|
|
121
|
+
a("b", null, v(L.key), 1)
|
|
106
122
|
]))), 128)) : _("", !0)
|
|
107
123
|
]),
|
|
108
124
|
"price-summary": T(() => [
|
|
109
|
-
isNaN(o(V)) && o(h).length > 0 ? (c(!0), f(
|
|
110
|
-
roomGroupID:
|
|
111
|
-
title:
|
|
112
|
-
variants:
|
|
113
|
-
}) => (c(), f("div", { key:
|
|
125
|
+
isNaN(o(V)) && o(h).length > 0 ? (c(!0), f(E, { key: 0 }, F(o(h), ({
|
|
126
|
+
roomGroupID: L,
|
|
127
|
+
title: ge,
|
|
128
|
+
variants: Me
|
|
129
|
+
}) => (c(), f("div", { key: L }, [
|
|
114
130
|
a("h6", null, [
|
|
115
|
-
a("span", null,
|
|
131
|
+
a("span", null, v(ge), 1)
|
|
116
132
|
]),
|
|
117
|
-
(c(!0), f(
|
|
118
|
-
(c(!0), f(
|
|
133
|
+
(c(!0), f(E, null, F(Me, (he, Le) => (c(), f("div", { key: Le }, [
|
|
134
|
+
(c(!0), f(E, null, F(he.rooms, (ae, Ue) => (c(), f("ul", { key: Ue }, [
|
|
119
135
|
a("li", null, [
|
|
120
136
|
a("span", null, [
|
|
121
137
|
a("span", null, [
|
|
122
|
-
|
|
123
|
-
g(
|
|
138
|
+
Je(v(o(re)(he.name)) + " ( ", 1),
|
|
139
|
+
g(K, {
|
|
124
140
|
icon: "male",
|
|
125
141
|
type: "fas",
|
|
126
142
|
color: "font"
|
|
127
143
|
}),
|
|
128
|
-
a("span", null,
|
|
129
|
-
ae.childrenCount > 0 ? (c(), f(
|
|
130
|
-
g(
|
|
144
|
+
a("span", null, v(ae.adultsCount), 1),
|
|
145
|
+
ae.childrenCount > 0 ? (c(), f(E, { key: 0 }, [
|
|
146
|
+
g(K, {
|
|
131
147
|
icon: "child",
|
|
132
148
|
type: "fas",
|
|
133
149
|
color: "font"
|
|
134
150
|
}),
|
|
135
|
-
a("span", null,
|
|
151
|
+
a("span", null, v(ae.childrenCount), 1)
|
|
136
152
|
], 64)) : _("", !0),
|
|
137
|
-
|
|
153
|
+
Je(") ")
|
|
138
154
|
])
|
|
139
155
|
]),
|
|
140
156
|
a("b", null, [
|
|
141
|
-
a("span", null,
|
|
157
|
+
a("span", null, v(o(ee)(ae.totalPrice, o(u))), 1),
|
|
142
158
|
_("", !0)
|
|
143
159
|
])
|
|
144
160
|
]),
|
|
145
|
-
|
|
146
|
-
a("span", null,
|
|
147
|
-
a("b", null,
|
|
161
|
+
ye(ae.roomAddons) > 0 ? (c(), f("li", Io, [
|
|
162
|
+
a("span", null, v(o(l)("general.addons")), 1),
|
|
163
|
+
a("b", null, v(o(ee)(ye(ae.roomAddons), o(u))), 1)
|
|
148
164
|
])) : _("", !0)
|
|
149
165
|
]))), 128))
|
|
150
166
|
]))), 128))
|
|
151
167
|
]))), 128)) : _("", !0),
|
|
152
|
-
o(S) && o(B) ? (c(), f("div",
|
|
168
|
+
o(S) && o(B) ? (c(), f("div", So, [
|
|
153
169
|
a("h6", null, [
|
|
154
|
-
a("span", null,
|
|
170
|
+
a("span", null, v(o(re)(o(B).name)), 1)
|
|
155
171
|
]),
|
|
156
172
|
a("div", null, [
|
|
157
173
|
a("ul", null, [
|
|
158
174
|
a("li", null, [
|
|
159
175
|
a("span", null, [
|
|
160
|
-
a("span", null,
|
|
176
|
+
a("span", null, v(o(re)(o(S).title)), 1)
|
|
161
177
|
]),
|
|
162
178
|
a("b", null, [
|
|
163
|
-
a("span", null,
|
|
179
|
+
a("span", null, v(o(ee)(o(S).extraPrice, o(u))), 1)
|
|
164
180
|
])
|
|
165
181
|
]),
|
|
166
|
-
o(
|
|
167
|
-
a("span", null,
|
|
168
|
-
a("b", null,
|
|
182
|
+
o(me) ? (c(), f("li", Bo, [
|
|
183
|
+
a("span", null, v(o(l)("general.addons")), 1),
|
|
184
|
+
a("b", null, v(o(ee)(o(me), o(u))), 1)
|
|
169
185
|
])) : _("", !0)
|
|
170
186
|
])
|
|
171
187
|
])
|
|
172
188
|
])) : _("", !0)
|
|
173
189
|
]),
|
|
174
190
|
actions: T(() => [
|
|
175
|
-
a("ul",
|
|
176
|
-
o(p) ? _("", !0) : (c(), D(
|
|
191
|
+
a("ul", Eo, [
|
|
192
|
+
o(p) ? _("", !0) : (c(), D(De, {
|
|
177
193
|
key: 0,
|
|
178
194
|
modelValue: o(R),
|
|
179
|
-
"onUpdate:modelValue":
|
|
195
|
+
"onUpdate:modelValue": z[0] || (z[0] = (L) => N(R) ? R.value = L : null),
|
|
180
196
|
type: "checkbox",
|
|
181
197
|
name: "newsletter",
|
|
182
198
|
label: o(l)("booking.reservation.newsletterSignUp")
|
|
183
199
|
}, null, 8, ["modelValue", "label"])),
|
|
184
|
-
o(
|
|
200
|
+
o(Be) ? (c(), D(De, {
|
|
185
201
|
key: 1,
|
|
186
|
-
modelValue: o(
|
|
187
|
-
"onUpdate:modelValue":
|
|
202
|
+
modelValue: o(M),
|
|
203
|
+
"onUpdate:modelValue": z[2] || (z[2] = (L) => N(M) ? M.value = L : null),
|
|
188
204
|
type: "checkbox",
|
|
189
205
|
name: "terms"
|
|
190
206
|
}, {
|
|
@@ -197,9 +213,9 @@ const Ho = { key: 0 }, Io = { key: 1 }, So = { key: 0 }, Bo = { class: "konnecti
|
|
|
197
213
|
terms: T(() => [
|
|
198
214
|
a("a", {
|
|
199
215
|
class: "konnectio-accept-terms-link",
|
|
200
|
-
onClick:
|
|
216
|
+
onClick: z[1] || (z[1] = Ce((L) => fe.value = !0, ["prevent"]))
|
|
201
217
|
}, [
|
|
202
|
-
a("span", null,
|
|
218
|
+
a("span", null, v(o(st)(o(l)("general.termsAndConditions"))), 1)
|
|
203
219
|
])
|
|
204
220
|
]),
|
|
205
221
|
_: 1
|
|
@@ -207,21 +223,21 @@ const Ho = { key: 0 }, Io = { key: 1 }, So = { key: 0 }, Bo = { class: "konnecti
|
|
|
207
223
|
]),
|
|
208
224
|
_: 1
|
|
209
225
|
}, 8, ["modelValue"])) : _("", !0),
|
|
210
|
-
|
|
226
|
+
Ge(le.$slots, "actions", {}, void 0, !0),
|
|
211
227
|
g($o, {
|
|
212
|
-
modelValue:
|
|
213
|
-
"onUpdate:modelValue":
|
|
214
|
-
description: o(
|
|
228
|
+
modelValue: fe.value,
|
|
229
|
+
"onUpdate:modelValue": z[3] || (z[3] = (L) => fe.value = L),
|
|
230
|
+
description: o(x)
|
|
215
231
|
}, null, 8, ["modelValue", "description"])
|
|
216
232
|
])
|
|
217
233
|
]),
|
|
218
234
|
navigation: T(() => [
|
|
219
|
-
|
|
235
|
+
Ge(le.$slots, "navigation", {}, void 0, !0)
|
|
220
236
|
]),
|
|
221
237
|
_: 3
|
|
222
238
|
}, 8, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
|
|
223
239
|
}
|
|
224
|
-
}),
|
|
240
|
+
}), ze = /* @__PURE__ */ ue(Mo, [["__scopeId", "data-v-0a5b4844"]]), Lo = (n) => (gt("data-v-69fe83d8"), n = n(), kt(), n), Uo = { class: "konnectio-room-config-option" }, Ro = { key: 0 }, No = { class: "konnectio-selected-room-config" }, Fo = { class: "konnectio-selected-room-config-people" }, Oo = { key: 0 }, jo = { class: "konnectio-selected-room-config-price" }, Go = /* @__PURE__ */ Lo(() => /* @__PURE__ */ a("span", null, null, -1)), qo = /* @__PURE__ */ X({
|
|
225
241
|
__name: "RoomConfigField",
|
|
226
242
|
props: {
|
|
227
243
|
modelValue: {},
|
|
@@ -232,7 +248,7 @@ const Ho = { key: 0 }, Io = { key: 1 }, So = { key: 0 }, Bo = { class: "konnecti
|
|
|
232
248
|
},
|
|
233
249
|
emits: ["update:modelValue"],
|
|
234
250
|
setup(n, { emit: l }) {
|
|
235
|
-
const { t: e } = ne(), { currency: t } = te(
|
|
251
|
+
const { t: e } = ne(), { currency: t } = te(be()), i = l, s = n;
|
|
236
252
|
function m(u) {
|
|
237
253
|
i("update:modelValue", u);
|
|
238
254
|
}
|
|
@@ -240,7 +256,7 @@ const Ho = { key: 0 }, Io = { key: 1 }, So = { key: 0 }, Bo = { class: "konnecti
|
|
|
240
256
|
get: () => s.modelValue,
|
|
241
257
|
set: (u) => m(u)
|
|
242
258
|
});
|
|
243
|
-
return (u, r) => (c(), D(
|
|
259
|
+
return (u, r) => (c(), D(Ie, {
|
|
244
260
|
modelValue: p.value,
|
|
245
261
|
"onUpdate:modelValue": r[0] || (r[0] = (d) => p.value = d),
|
|
246
262
|
label: u.label,
|
|
@@ -256,47 +272,47 @@ const Ho = { key: 0 }, Io = { key: 1 }, So = { key: 0 }, Bo = { class: "konnecti
|
|
|
256
272
|
option: T(({ data: d }) => [
|
|
257
273
|
a("span", Uo, [
|
|
258
274
|
a("div", null, [
|
|
259
|
-
g(
|
|
275
|
+
g(K, {
|
|
260
276
|
icon: "male",
|
|
261
277
|
type: "fas",
|
|
262
278
|
color: "font"
|
|
263
279
|
}),
|
|
264
|
-
a("span", null,
|
|
280
|
+
a("span", null, v(`${d.adults}`), 1),
|
|
265
281
|
d.children > 0 ? (c(), f("span", Ro, [
|
|
266
|
-
g(
|
|
282
|
+
g(K, {
|
|
267
283
|
icon: "child",
|
|
268
284
|
type: "fas",
|
|
269
285
|
color: "font"
|
|
270
286
|
}),
|
|
271
|
-
a("span", null,
|
|
287
|
+
a("span", null, v(`${d.children}`), 1)
|
|
272
288
|
])) : _("", !0)
|
|
273
289
|
]),
|
|
274
|
-
a("span", null,
|
|
290
|
+
a("span", null, v(`(${o(ee)(d.price, o(t))})`), 1)
|
|
275
291
|
])
|
|
276
292
|
]),
|
|
277
293
|
"selected-option": T(({ data: d }) => [
|
|
278
|
-
a("div",
|
|
279
|
-
a("div",
|
|
294
|
+
a("div", No, [
|
|
295
|
+
a("div", Fo, [
|
|
280
296
|
a("div", null, [
|
|
281
297
|
_("", !0),
|
|
282
|
-
a("span", null,
|
|
298
|
+
a("span", null, v(`${d.adults} ${d.adults === 1 ? o(e)("general.adult") : o(e)("general.adults")}`), 1)
|
|
283
299
|
]),
|
|
284
|
-
d.children > 0 ? (c(), f("div",
|
|
300
|
+
d.children > 0 ? (c(), f("div", Oo, [
|
|
285
301
|
_("", !0),
|
|
286
|
-
a("span", null,
|
|
302
|
+
a("span", null, v(`& ${d.children} ${d.children === 1 ? o(e)("general.child") : o(e)("general.children")}`), 1)
|
|
287
303
|
])) : _("", !0)
|
|
288
304
|
]),
|
|
289
|
-
a("div",
|
|
290
|
-
|
|
291
|
-
|
|
305
|
+
a("div", jo, [
|
|
306
|
+
Go,
|
|
307
|
+
Je(" " + v(`(${o(ee)(d.price, o(t))})`), 1)
|
|
292
308
|
])
|
|
293
309
|
])
|
|
294
310
|
]),
|
|
295
311
|
_: 1
|
|
296
312
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
297
313
|
}
|
|
298
|
-
}),
|
|
299
|
-
const
|
|
314
|
+
}), Wo = /* @__PURE__ */ ue(qo, [["__scopeId", "data-v-69fe83d8"]]), Ko = { class: "konnectio-availability-listing-selection" }, zo = { key: 1 }, xo = { class: "konnectio-listing-config-body" }, Jo = { class: "konnectio-listing-units-body" };
|
|
315
|
+
const Qo = /* @__PURE__ */ X({
|
|
300
316
|
__name: "Hotel",
|
|
301
317
|
props: {
|
|
302
318
|
room: {},
|
|
@@ -314,7 +330,7 @@ const Jo = /* @__PURE__ */ X({
|
|
|
314
330
|
const s = G(() => e.room.rates.map((k) => ({
|
|
315
331
|
label: k.name,
|
|
316
332
|
value: k.id
|
|
317
|
-
}))), { hideAvailableRoomAmount: m } = te(
|
|
333
|
+
}))), { hideAvailableRoomAmount: m } = te(be()), { roomSelect: p } = te(pe()), { addToCart: u, removeFromCart: r } = bt(), d = (k, C) => e.room.rates.find((H) => H.id === k)?.occupantRates.find((H) => H.index === C), h = G(() => e.room.rates.every((k) => k.isBreakfastIncluded === !0)), V = (k, C) => d(k, C) ? d(k, C)?.rooms : null, P = (k) => e.room.rates.length > 0 ? e.room.rates.find((C) => C.id === k)?.occupantRates.map((C) => ({
|
|
318
334
|
value: C.index,
|
|
319
335
|
price: C.totalPrice,
|
|
320
336
|
adults: C.adultsCount,
|
|
@@ -338,15 +354,15 @@ const Jo = /* @__PURE__ */ X({
|
|
|
338
354
|
}]
|
|
339
355
|
});
|
|
340
356
|
}
|
|
341
|
-
|
|
357
|
+
et(() => {
|
|
342
358
|
S();
|
|
343
359
|
});
|
|
344
360
|
const B = G(() => JSON.parse(JSON.stringify(t.value)));
|
|
345
361
|
return we(B, (k, C) => {
|
|
346
362
|
C.length > 0 && k.forEach((H, O) => {
|
|
347
|
-
H.config.forEach((
|
|
348
|
-
const
|
|
349
|
-
|
|
363
|
+
H.config.forEach((j, Q) => {
|
|
364
|
+
const R = j.units, x = C[O].config[Q].units;
|
|
365
|
+
R !== x && (R > x ? (t.value[O].config[Q].addons.push({}), u({
|
|
350
366
|
id: e.room.id,
|
|
351
367
|
name: e.room.title,
|
|
352
368
|
value: e.room.rates[O].rackRate
|
|
@@ -359,7 +375,7 @@ const Jo = /* @__PURE__ */ X({
|
|
|
359
375
|
});
|
|
360
376
|
}, { deep: !0 }), we(t, () => {
|
|
361
377
|
p.value[e.room.id] = t.value;
|
|
362
|
-
}, { deep: !0 }), (k, C) => (c(), D(
|
|
378
|
+
}, { deep: !0 }), (k, C) => (c(), D(Se, {
|
|
363
379
|
type: "hotel",
|
|
364
380
|
"listing-id": k.room.id,
|
|
365
381
|
gallery: k.room.images,
|
|
@@ -371,55 +387,55 @@ const Jo = /* @__PURE__ */ X({
|
|
|
371
387
|
"includes-breakfast": h.value
|
|
372
388
|
}, {
|
|
373
389
|
action: T(() => [
|
|
374
|
-
a("div",
|
|
375
|
-
(c(!0), f(
|
|
390
|
+
a("div", Ko, [
|
|
391
|
+
(c(!0), f(E, null, F(t.value, (H, O) => (c(), f("div", {
|
|
376
392
|
key: H.id,
|
|
377
393
|
class: "freshbooking-hotel-room"
|
|
378
394
|
}, [
|
|
379
|
-
$.value ? (c(), D(
|
|
395
|
+
$.value ? (c(), D(Ie, {
|
|
380
396
|
key: 0,
|
|
381
397
|
modelValue: H.id,
|
|
382
|
-
"onUpdate:modelValue": (
|
|
398
|
+
"onUpdate:modelValue": (j) => H.id = j,
|
|
383
399
|
label: o(l)("hotel.roomVariant"),
|
|
384
400
|
placeholder: o(l)("hotel.chooseARoomVariant"),
|
|
385
401
|
options: s.value,
|
|
386
402
|
searchable: !1
|
|
387
403
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : _("", !0),
|
|
388
|
-
H.id ? (c(), f("div",
|
|
389
|
-
(c(!0), f(
|
|
390
|
-
id:
|
|
404
|
+
H.id ? (c(), f("div", zo, [
|
|
405
|
+
(c(!0), f(E, null, F(k.room.rates, ({
|
|
406
|
+
id: j,
|
|
391
407
|
maximumOccupants: Q
|
|
392
408
|
}) => (c(), f("div", {
|
|
393
|
-
key:
|
|
409
|
+
key: j,
|
|
394
410
|
class: "konnectio-listing-action-selective-i"
|
|
395
411
|
}, [
|
|
396
|
-
H.id ===
|
|
412
|
+
H.id === j ? (c(!0), f(E, { key: 0 }, F(H.config, (R, x) => (c(), f("div", {
|
|
397
413
|
key: x,
|
|
398
414
|
class: "konnectio-listing-action-selective"
|
|
399
415
|
}, [
|
|
400
|
-
a("ul",
|
|
401
|
-
g(
|
|
402
|
-
modelValue:
|
|
403
|
-
"onUpdate:modelValue": (Y) =>
|
|
416
|
+
a("ul", xo, [
|
|
417
|
+
g(Wo, {
|
|
418
|
+
modelValue: R.id,
|
|
419
|
+
"onUpdate:modelValue": (Y) => R.id = Y,
|
|
404
420
|
icon: "male",
|
|
405
421
|
"icon-type": "fas",
|
|
406
422
|
label: o(l)("general.guests"),
|
|
407
423
|
description: `${o(l)("general.maximumGuests")}: ${Q}`,
|
|
408
|
-
options: P(
|
|
409
|
-
readonly: !(P(
|
|
424
|
+
options: P(j),
|
|
425
|
+
readonly: !(P(j).length > 1)
|
|
410
426
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
411
427
|
]),
|
|
412
|
-
a("ul",
|
|
413
|
-
g(
|
|
414
|
-
modelValue:
|
|
415
|
-
"onUpdate:modelValue": (Y) =>
|
|
416
|
-
description: o(m) ? void 0 : `${o(l)("booking.availability.availableUnits")}: ${V(H.id,
|
|
428
|
+
a("ul", Jo, [
|
|
429
|
+
g(Xe, {
|
|
430
|
+
modelValue: R.units,
|
|
431
|
+
"onUpdate:modelValue": (Y) => R.units = Y,
|
|
432
|
+
description: o(m) ? void 0 : `${o(l)("booking.availability.availableUnits")}: ${V(H.id, R.id)}`,
|
|
417
433
|
icon: "house",
|
|
418
434
|
"icon-type": "fas",
|
|
419
435
|
"icon-placement": "label",
|
|
420
436
|
label: o(l)("booking.availability.units"),
|
|
421
437
|
minValue: 0,
|
|
422
|
-
"max-value": V(
|
|
438
|
+
"max-value": V(j, R.id) || 1 / 0
|
|
423
439
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
424
440
|
]),
|
|
425
441
|
_("", !0)
|
|
@@ -432,7 +448,7 @@ const Jo = /* @__PURE__ */ X({
|
|
|
432
448
|
_: 1
|
|
433
449
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
434
450
|
}
|
|
435
|
-
}),
|
|
451
|
+
}), Xo = /* @__PURE__ */ ue(Qo, [["__scopeId", "data-v-090cdca2"]]), Yo = { class: "konnectio-template-side-panel" }, Zo = { class: "konnectio-template-side-panel-listings" }, el = /* @__PURE__ */ X({
|
|
436
452
|
__name: "Template",
|
|
437
453
|
props: {
|
|
438
454
|
title: {},
|
|
@@ -442,7 +458,7 @@ const Jo = /* @__PURE__ */ X({
|
|
|
442
458
|
callback: { type: Function }
|
|
443
459
|
},
|
|
444
460
|
setup(n) {
|
|
445
|
-
const { t: l } = ne(), { templateID: e, roomGroupID: t, selectionHasNoAddons: i } = te(
|
|
461
|
+
const { t: l } = ne(), { templateID: e, roomGroupID: t, selectionHasNoAddons: i } = te(pe()), { currency: s } = te(be()), { clearRoomSelection: m } = pe(), p = n, u = oe(!0), r = G(() => {
|
|
446
462
|
function h(V, P) {
|
|
447
463
|
return u.value === !0 ? V.extraPrice > P.extraPrice ? -1 : 1 : V.extraPrice > P.extraPrice ? 1 : -1;
|
|
448
464
|
}
|
|
@@ -456,16 +472,16 @@ const Jo = /* @__PURE__ */ X({
|
|
|
456
472
|
subtitle: o(l)("booking.availability.selectATemplateRoom")
|
|
457
473
|
}, {
|
|
458
474
|
default: T(() => [
|
|
459
|
-
a("div",
|
|
460
|
-
a("div",
|
|
461
|
-
(c(!0), f(
|
|
475
|
+
a("div", Yo, [
|
|
476
|
+
a("div", Zo, [
|
|
477
|
+
(c(!0), f(E, null, F(r.value, ({
|
|
462
478
|
id: P,
|
|
463
479
|
title: $,
|
|
464
480
|
description: S,
|
|
465
481
|
images: B,
|
|
466
482
|
facilities: k,
|
|
467
483
|
extraPrice: C
|
|
468
|
-
}) => (c(), D(
|
|
484
|
+
}) => (c(), D(Se, {
|
|
469
485
|
key: P,
|
|
470
486
|
"listing-id": P,
|
|
471
487
|
name: $,
|
|
@@ -477,7 +493,7 @@ const Jo = /* @__PURE__ */ X({
|
|
|
477
493
|
}, {
|
|
478
494
|
action: T(() => [
|
|
479
495
|
a("div", null, [
|
|
480
|
-
g(
|
|
496
|
+
g(ce, {
|
|
481
497
|
onClickEvent: (H) => d(P),
|
|
482
498
|
label: `${o(l)("booking.availability.selectThisRoom")} (${o(ee)(C, o(s))})`,
|
|
483
499
|
"full-width": ""
|
|
@@ -492,7 +508,7 @@ const Jo = /* @__PURE__ */ X({
|
|
|
492
508
|
_: 1
|
|
493
509
|
}, 8, ["title", "subtitle"]));
|
|
494
510
|
}
|
|
495
|
-
}),
|
|
511
|
+
}), $t = /* @__PURE__ */ ue(el, [["__scopeId", "data-v-35a96ba4"]]), tl = ["innerHTML"], ol = { class: "konnectio-template-select-package" }, ll = /* @__PURE__ */ X({
|
|
496
512
|
__name: "Template",
|
|
497
513
|
props: {
|
|
498
514
|
id: {},
|
|
@@ -523,12 +539,12 @@ const Jo = /* @__PURE__ */ X({
|
|
|
523
539
|
function p(u) {
|
|
524
540
|
e.callback(u), s.value = !1;
|
|
525
541
|
}
|
|
526
|
-
return (u, r) => (c(), D(
|
|
542
|
+
return (u, r) => (c(), D(Se, {
|
|
527
543
|
"listing-id": u.id,
|
|
528
544
|
name: u.name,
|
|
529
545
|
description: u.description,
|
|
530
546
|
gallery: i.value,
|
|
531
|
-
layout: o(
|
|
547
|
+
layout: o(Vt).Template,
|
|
532
548
|
"includes-breakfast": !1,
|
|
533
549
|
"hide-info-button": !1,
|
|
534
550
|
"prices-from": t.value
|
|
@@ -536,12 +552,12 @@ const Jo = /* @__PURE__ */ X({
|
|
|
536
552
|
description: T(() => [
|
|
537
553
|
u.description ? (c(), f("p", {
|
|
538
554
|
key: 0,
|
|
539
|
-
innerHTML: o(
|
|
540
|
-
}, null, 8,
|
|
555
|
+
innerHTML: o(_t)(u.description)
|
|
556
|
+
}, null, 8, tl)) : _("", !0)
|
|
541
557
|
]),
|
|
542
558
|
action: T(() => [
|
|
543
|
-
a("div",
|
|
544
|
-
g(
|
|
559
|
+
a("div", ol, [
|
|
560
|
+
g(ce, {
|
|
545
561
|
onClickEvent: m,
|
|
546
562
|
label: o(l)("booking.availability.selectPackage"),
|
|
547
563
|
"full-width": ""
|
|
@@ -549,7 +565,7 @@ const Jo = /* @__PURE__ */ X({
|
|
|
549
565
|
])
|
|
550
566
|
]),
|
|
551
567
|
default: T(() => [
|
|
552
|
-
g(
|
|
568
|
+
g($t, {
|
|
553
569
|
modelValue: s.value,
|
|
554
570
|
"onUpdate:modelValue": r[0] || (r[0] = (d) => s.value = d),
|
|
555
571
|
title: u.name,
|
|
@@ -562,7 +578,7 @@ const Jo = /* @__PURE__ */ X({
|
|
|
562
578
|
_: 1
|
|
563
579
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "prices-from"]));
|
|
564
580
|
}
|
|
565
|
-
}),
|
|
581
|
+
}), nl = ["innerHTML"], al = { class: "konnectio-special-offer-availability" }, il = { class: "konnectio-special-offer-availability-button" }, sl = /* @__PURE__ */ X({
|
|
566
582
|
__name: "SpecialOffer",
|
|
567
583
|
props: {
|
|
568
584
|
id: {},
|
|
@@ -576,7 +592,7 @@ const Jo = /* @__PURE__ */ X({
|
|
|
576
592
|
callback: { type: Function }
|
|
577
593
|
},
|
|
578
594
|
setup(n) {
|
|
579
|
-
const { t: l } = ne(), { updateDates: e } =
|
|
595
|
+
const { t: l } = ne(), { updateDates: e } = Ae(), t = n, i = oe([]), s = G(() => Qe(t.fromDate, t.toDate) === 1), m = G(() => [{
|
|
580
596
|
large: t.image.url,
|
|
581
597
|
medium: t.image.url,
|
|
582
598
|
thumb: t.image.url,
|
|
@@ -588,14 +604,14 @@ const Jo = /* @__PURE__ */ X({
|
|
|
588
604
|
function r() {
|
|
589
605
|
e(i.value[0], i.value[1]);
|
|
590
606
|
}
|
|
591
|
-
return
|
|
607
|
+
return et(() => {
|
|
592
608
|
s.value && (i.value = [new Date(t.fromDate), new Date(t.toDate)]);
|
|
593
|
-
}), (d, h) => (c(), D(
|
|
609
|
+
}), (d, h) => (c(), D(Se, {
|
|
594
610
|
"listing-id": d.id,
|
|
595
611
|
name: d.name,
|
|
596
612
|
description: d.description,
|
|
597
613
|
gallery: m.value,
|
|
598
|
-
layout: o(
|
|
614
|
+
layout: o(Vt).Template,
|
|
599
615
|
"includes-breakfast": !1,
|
|
600
616
|
"hide-info-button": !1,
|
|
601
617
|
"to-date": d.toDate,
|
|
@@ -604,12 +620,12 @@ const Jo = /* @__PURE__ */ X({
|
|
|
604
620
|
description: T(() => [
|
|
605
621
|
d.description ? (c(), f("p", {
|
|
606
622
|
key: 0,
|
|
607
|
-
innerHTML: o(
|
|
608
|
-
}, null, 8,
|
|
623
|
+
innerHTML: o(_t)(d.description)
|
|
624
|
+
}, null, 8, nl)) : _("", !0)
|
|
609
625
|
]),
|
|
610
626
|
action: T(() => [
|
|
611
|
-
a("div",
|
|
612
|
-
g(
|
|
627
|
+
a("div", al, [
|
|
628
|
+
g(Tt, {
|
|
613
629
|
modelValue: i.value,
|
|
614
630
|
"onUpdate:modelValue": h[0] || (h[0] = (V) => i.value = V),
|
|
615
631
|
label: o(l)("availability.checkInOut"),
|
|
@@ -623,8 +639,8 @@ const Jo = /* @__PURE__ */ X({
|
|
|
623
639
|
readonly: s.value,
|
|
624
640
|
range: ""
|
|
625
641
|
}, null, 8, ["modelValue", "label", "placeholder", "start-date", "min-date", "max-date", "readonly"]),
|
|
626
|
-
a("div",
|
|
627
|
-
g(
|
|
642
|
+
a("div", il, [
|
|
643
|
+
g(ce, {
|
|
628
644
|
label: o(l)("availability.buttonLabel"),
|
|
629
645
|
onClick: Ce(r, ["prevent"])
|
|
630
646
|
}, null, 8, ["label"])
|
|
@@ -632,7 +648,7 @@ const Jo = /* @__PURE__ */ X({
|
|
|
632
648
|
])
|
|
633
649
|
]),
|
|
634
650
|
default: T(() => [
|
|
635
|
-
g(
|
|
651
|
+
g($t, {
|
|
636
652
|
modelValue: p.value,
|
|
637
653
|
"onUpdate:modelValue": h[1] || (h[1] = (V) => p.value = V),
|
|
638
654
|
title: d.name,
|
|
@@ -644,7 +660,7 @@ const Jo = /* @__PURE__ */ X({
|
|
|
644
660
|
_: 1
|
|
645
661
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "to-date", "from-date"]));
|
|
646
662
|
}
|
|
647
|
-
}),
|
|
663
|
+
}), ct = /* @__PURE__ */ X({
|
|
648
664
|
__name: "TimeField",
|
|
649
665
|
props: {
|
|
650
666
|
modelValue: {},
|
|
@@ -676,7 +692,7 @@ const Jo = /* @__PURE__ */ X({
|
|
|
676
692
|
const s = oe(t.modelValue);
|
|
677
693
|
return we(s, (m) => {
|
|
678
694
|
i(m);
|
|
679
|
-
}), (m, p) => (c(), D(
|
|
695
|
+
}), (m, p) => (c(), D(Tt, {
|
|
680
696
|
modelValue: s.value,
|
|
681
697
|
"onUpdate:modelValue": p[0] || (p[0] = (u) => s.value = u),
|
|
682
698
|
type: "time",
|
|
@@ -691,7 +707,7 @@ const Jo = /* @__PURE__ */ X({
|
|
|
691
707
|
readonly: m.readonly
|
|
692
708
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
693
709
|
}
|
|
694
|
-
}),
|
|
710
|
+
}), rl = { style: { display: "flex", "align-items": "baseline" } }, dl = /* @__PURE__ */ X({
|
|
695
711
|
__name: "CountryField",
|
|
696
712
|
props: {
|
|
697
713
|
modelValue: {},
|
|
@@ -711,7 +727,7 @@ const Jo = /* @__PURE__ */ X({
|
|
|
711
727
|
get: () => i.modelValue,
|
|
712
728
|
set: (p) => s(p)
|
|
713
729
|
});
|
|
714
|
-
return (p, u) => (c(), D(
|
|
730
|
+
return (p, u) => (c(), D(Ie, {
|
|
715
731
|
modelValue: m.value,
|
|
716
732
|
"onUpdate:modelValue": u[0] || (u[0] = (r) => m.value = r),
|
|
717
733
|
label: p.label,
|
|
@@ -725,20 +741,20 @@ const Jo = /* @__PURE__ */ X({
|
|
|
725
741
|
a("i", {
|
|
726
742
|
class: Pe(["konnectio-flag-icon", r.iso])
|
|
727
743
|
}, null, 2),
|
|
728
|
-
a("span", null,
|
|
744
|
+
a("span", null, v(r.name), 1)
|
|
729
745
|
]),
|
|
730
746
|
"selected-option": T(({ data: r }) => [
|
|
731
|
-
a("div",
|
|
747
|
+
a("div", rl, [
|
|
732
748
|
a("i", {
|
|
733
749
|
class: Pe(["konnectio-flag-icon", r.iso])
|
|
734
750
|
}, null, 2),
|
|
735
|
-
a("span", null,
|
|
751
|
+
a("span", null, v(r.name), 1)
|
|
736
752
|
])
|
|
737
753
|
]),
|
|
738
754
|
_: 1
|
|
739
755
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
740
756
|
}
|
|
741
|
-
}),
|
|
757
|
+
}), ul = /* @__PURE__ */ ue(dl, [["__scopeId", "data-v-1462612d"]]), cl = /* @__PURE__ */ X({
|
|
742
758
|
__name: "NameField",
|
|
743
759
|
props: {
|
|
744
760
|
modelValue: {},
|
|
@@ -760,7 +776,7 @@ const Jo = /* @__PURE__ */ X({
|
|
|
760
776
|
},
|
|
761
777
|
emits: ["update:modelValue", "update:title"],
|
|
762
778
|
setup(n, { emit: l }) {
|
|
763
|
-
const e = n, t = l, i = e.id ||
|
|
779
|
+
const e = n, t = l, i = e.id || rt(), s = oe(""), m = oe(2);
|
|
764
780
|
function p() {
|
|
765
781
|
t("update:modelValue", s.value);
|
|
766
782
|
}
|
|
@@ -768,7 +784,7 @@ const Jo = /* @__PURE__ */ X({
|
|
|
768
784
|
t("update:title", r);
|
|
769
785
|
});
|
|
770
786
|
const { t: u } = ne();
|
|
771
|
-
return
|
|
787
|
+
return et(() => {
|
|
772
788
|
e.modelValue && (s.value = e.modelValue), e.title && (m.value = e.title);
|
|
773
789
|
}), (r, d) => (c(), D(no, {
|
|
774
790
|
label: r.label,
|
|
@@ -785,11 +801,11 @@ const Jo = /* @__PURE__ */ X({
|
|
|
785
801
|
{ "no-title": r.excludeTitle }
|
|
786
802
|
])
|
|
787
803
|
}, [
|
|
788
|
-
r.excludeTitle ? _("", !0) : (c(), D(
|
|
804
|
+
r.excludeTitle ? _("", !0) : (c(), D(Ie, {
|
|
789
805
|
key: 0,
|
|
790
806
|
modelValue: m.value,
|
|
791
807
|
"onUpdate:modelValue": d[0] || (d[0] = (h) => m.value = h),
|
|
792
|
-
id: o(
|
|
808
|
+
id: o(rt)(),
|
|
793
809
|
icon: r.icon,
|
|
794
810
|
"icon-color": r.iconColor,
|
|
795
811
|
"icon-type": r.iconType,
|
|
@@ -842,58 +858,58 @@ const Jo = /* @__PURE__ */ X({
|
|
|
842
858
|
_: 1
|
|
843
859
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
844
860
|
}
|
|
845
|
-
}),
|
|
861
|
+
}), pl = /* @__PURE__ */ ue(cl, [["__scopeId", "data-v-78b0b319"]]), ml = { class: "hotel-skeleton" }, fl = { class: "hotel-skeleton-content" }, hl = { class: "hotel-skeleton-sidebar" }, vl = /* @__PURE__ */ X({
|
|
846
862
|
__name: "HotelSkeleton",
|
|
847
863
|
setup(n) {
|
|
848
|
-
return (l, e) => (c(), f("div",
|
|
849
|
-
a("div",
|
|
864
|
+
return (l, e) => (c(), f("div", ml, [
|
|
865
|
+
a("div", fl, [
|
|
850
866
|
g(Vo, { hotel: "" }),
|
|
851
867
|
g(ho)
|
|
852
868
|
]),
|
|
853
|
-
a("div",
|
|
869
|
+
a("div", hl, [
|
|
854
870
|
g(vo)
|
|
855
871
|
])
|
|
856
872
|
]));
|
|
857
873
|
}
|
|
858
|
-
}),
|
|
859
|
-
const
|
|
874
|
+
}), yl = /* @__PURE__ */ ue(vl, [["__scopeId", "data-v-1bb21da4"]]), tt = (n) => (gt("data-v-7c81f13f"), n = n(), kt(), n), gl = { id: "booking-availability-container" }, kl = { id: "booking-availability-controls" };
|
|
875
|
+
const bl = { key: 1 }, _l = { key: 0 }, Vl = {
|
|
860
876
|
key: 0,
|
|
861
877
|
id: "booking-availability-packages"
|
|
862
|
-
},
|
|
878
|
+
}, Tl = {
|
|
863
879
|
key: 0,
|
|
864
880
|
class: "konnectio-hotel-availability-title"
|
|
865
|
-
},
|
|
881
|
+
}, $l = { id: "booking-availability-packages-wrapper" }, Cl = { key: 1 }, wl = {
|
|
866
882
|
key: 0,
|
|
867
883
|
class: "konnectio-hotel-availability-title"
|
|
868
|
-
},
|
|
884
|
+
}, Pl = { id: "konnectio-listings" }, Al = {
|
|
869
885
|
key: 2,
|
|
870
886
|
id: "booking-availability-packages"
|
|
871
|
-
},
|
|
887
|
+
}, Dl = {
|
|
872
888
|
key: 0,
|
|
873
889
|
class: "konnectio-hotel-availability-title"
|
|
874
|
-
},
|
|
890
|
+
}, Hl = { id: "booking-availability-packages-wrapper" }, Il = {
|
|
875
891
|
key: 3,
|
|
876
892
|
id: "booking-availability-no-listings",
|
|
877
893
|
class: "konnectio-panel"
|
|
878
|
-
},
|
|
894
|
+
}, Sl = {
|
|
879
895
|
key: 1,
|
|
880
896
|
id: "booking-availability-no-listings"
|
|
881
|
-
},
|
|
897
|
+
}, Bl = {
|
|
882
898
|
key: 2,
|
|
883
899
|
id: "reservation-availability-next-dates"
|
|
884
|
-
},
|
|
900
|
+
}, El = { class: "konnectio-hotel-availability-title" }, Ml = { class: "reservation-special-offers-grid" }, Ll = ["title"];
|
|
885
901
|
const Ul = {
|
|
886
902
|
key: 2,
|
|
887
903
|
class: "konnectio-listing-loading"
|
|
888
|
-
}, Rl = { class: "konnectio-panel" },
|
|
904
|
+
}, Rl = { class: "konnectio-panel" }, Nl = {
|
|
889
905
|
key: 0,
|
|
890
906
|
id: "konnectio-hotel-addons"
|
|
891
907
|
};
|
|
892
|
-
const
|
|
908
|
+
const Fl = { class: "konnectio-event-addons-price" }, Ol = { key: 1 }, jl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("br", null, null, -1)), Gl = { class: "konnectio-hotel-addons-option" }, ql = {
|
|
893
909
|
key: 1,
|
|
894
910
|
id: "konnectio-hotel-addons"
|
|
895
|
-
},
|
|
896
|
-
const
|
|
911
|
+
}, Wl = { class: "konnectio-table with-lines" };
|
|
912
|
+
const Kl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), zl = /* @__PURE__ */ tt(() => /* @__PURE__ */ a("br", null, null, -1)), xl = { class: "konnectio-hotel-addons-option" }, Jl = ["onClick"], Ql = { class: "konnectio-panel" }, Xl = { key: 0 }, Yl = { key: 1 }, Zl = { class: "konnectio-split-inputs" }, en = ["onClick"], tn = /* @__PURE__ */ X({
|
|
897
913
|
name: "HotelLayout",
|
|
898
914
|
__name: "Hotel",
|
|
899
915
|
props: {
|
|
@@ -901,10 +917,11 @@ const Wl = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
901
917
|
headerLayout: { default: ao.Minimal },
|
|
902
918
|
onlyShow: { default: "everything" },
|
|
903
919
|
hideAddons: { default: "no" },
|
|
920
|
+
selectedLocation: {},
|
|
904
921
|
styling: {}
|
|
905
922
|
},
|
|
906
923
|
setup(n) {
|
|
907
|
-
const l = Zt(() => import("./_-
|
|
924
|
+
const l = Zt(() => import("./_-CjnTPqFP.js")), e = n, { t } = ne(), {
|
|
908
925
|
templateID: i,
|
|
909
926
|
templateAddons: s,
|
|
910
927
|
countries: m,
|
|
@@ -922,47 +939,47 @@ const Wl = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
922
939
|
postal: C,
|
|
923
940
|
city: H,
|
|
924
941
|
address: O,
|
|
925
|
-
country:
|
|
942
|
+
country: j,
|
|
926
943
|
remark: Q,
|
|
927
|
-
allergies:
|
|
944
|
+
allergies: R,
|
|
928
945
|
roomSelect: x,
|
|
929
946
|
roomDisplay: Y,
|
|
930
|
-
hasValidRoomSelection:
|
|
931
|
-
availabilityData:
|
|
932
|
-
selectionHasNoAddons:
|
|
933
|
-
isAvailabilityDataAvailable:
|
|
934
|
-
getSelectedPackageRoom:
|
|
935
|
-
selectedPackage:
|
|
936
|
-
} = te(
|
|
937
|
-
adults:
|
|
938
|
-
children:
|
|
939
|
-
location:
|
|
940
|
-
arrivalDate:
|
|
941
|
-
departureDate:
|
|
942
|
-
} = te(
|
|
943
|
-
currency:
|
|
944
|
-
arrivalEarliest:
|
|
945
|
-
arrivalLatest:
|
|
946
|
-
departureEarliest:
|
|
947
|
-
departureLatest:
|
|
947
|
+
hasValidRoomSelection: Be,
|
|
948
|
+
availabilityData: M,
|
|
949
|
+
selectionHasNoAddons: me,
|
|
950
|
+
isAvailabilityDataAvailable: _e,
|
|
951
|
+
getSelectedPackageRoom: ve,
|
|
952
|
+
selectedPackage: Ee
|
|
953
|
+
} = te(pe()), {
|
|
954
|
+
adults: fe,
|
|
955
|
+
children: ye,
|
|
956
|
+
location: le,
|
|
957
|
+
arrivalDate: z,
|
|
958
|
+
departureDate: L
|
|
959
|
+
} = te(Ae()), { isValidHotelId: ge, updateDates: Me } = Ae(), {
|
|
960
|
+
currency: he,
|
|
961
|
+
arrivalEarliest: Le,
|
|
962
|
+
arrivalLatest: ae,
|
|
963
|
+
departureEarliest: Ue,
|
|
964
|
+
departureLatest: lt,
|
|
948
965
|
enableTracking: Dt,
|
|
949
966
|
hideArrivalDepartureInputs: Ht,
|
|
950
|
-
disableArrivalUserSelection:
|
|
967
|
+
disableArrivalUserSelection: Re,
|
|
951
968
|
disableNamePrefix: It,
|
|
952
|
-
disableDepartureUserSelection:
|
|
969
|
+
disableDepartureUserSelection: Ne,
|
|
953
970
|
disableTravelingFor: St,
|
|
954
971
|
disableTravelingForBleasure: Bt,
|
|
955
972
|
disableCompanyField: Et,
|
|
956
973
|
hasPaymentGateway: Mt,
|
|
957
|
-
maxAdultAmount:
|
|
958
|
-
maxChildAmount:
|
|
959
|
-
} = te(
|
|
960
|
-
resetTemplate:
|
|
961
|
-
resetDiscountVoucher:
|
|
974
|
+
maxAdultAmount: nt,
|
|
975
|
+
maxChildAmount: at
|
|
976
|
+
} = te(be()), { beginCheckout: Lt } = bt(), { display: Fe } = io(), {
|
|
977
|
+
resetTemplate: Ut,
|
|
978
|
+
resetDiscountVoucher: Rt,
|
|
962
979
|
createReservation: Nt,
|
|
963
980
|
fetchMetadata: Ft,
|
|
964
981
|
fetchAvailabilityData: Ot
|
|
965
|
-
} =
|
|
982
|
+
} = pe(), jt = oe(!0), Gt = G(() => {
|
|
966
983
|
const b = [
|
|
967
984
|
{
|
|
968
985
|
label: t("booking.reservation.business"),
|
|
@@ -978,43 +995,43 @@ const Wl = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
978
995
|
value: "Bleasure"
|
|
979
996
|
}), b;
|
|
980
997
|
}), qt = G(() => {
|
|
981
|
-
const b =
|
|
982
|
-
function w(
|
|
983
|
-
return jt.value === !0 ?
|
|
998
|
+
const b = M.value.roomGroups.slice();
|
|
999
|
+
function w(q, A) {
|
|
1000
|
+
return jt.value === !0 ? q.pricesFrom > A.pricesFrom ? -1 : 1 : q.pricesFrom > A.pricesFrom ? 1 : -1;
|
|
984
1001
|
}
|
|
985
1002
|
return b.sort(w);
|
|
986
1003
|
}), Wt = G(() => [[
|
|
987
|
-
parseInt(
|
|
988
|
-
parseInt(
|
|
1004
|
+
parseInt(Le.value.split(":")[0]),
|
|
1005
|
+
parseInt(ae.value.split(":")[0])
|
|
989
1006
|
]]), Kt = G(() => [[
|
|
990
|
-
parseInt(
|
|
991
|
-
parseInt(
|
|
1007
|
+
parseInt(Ue.value.split(":")[0]),
|
|
1008
|
+
parseInt(lt.value.split(":")[0])
|
|
992
1009
|
]]);
|
|
993
|
-
function
|
|
994
|
-
e.hideAddons === "yes" ||
|
|
1010
|
+
function it(b) {
|
|
1011
|
+
e.hideAddons === "yes" || me.value ? b(2) : b(), Rt();
|
|
995
1012
|
}
|
|
996
1013
|
async function zt(b) {
|
|
997
1014
|
await Nt(b);
|
|
998
1015
|
}
|
|
999
1016
|
function xt(b) {
|
|
1000
|
-
Dt.value &&
|
|
1017
|
+
Dt.value && Lt(), e.hideAddons === "yes" || me.value ? b(2) : b();
|
|
1001
1018
|
}
|
|
1002
1019
|
function Jt() {
|
|
1003
1020
|
const b = ro("hash-params", {
|
|
1004
1021
|
removeNullishValues: !0
|
|
1005
|
-
}), w = parseInt(b.adults),
|
|
1006
|
-
if (isNaN(w) || (w >
|
|
1022
|
+
}), w = parseInt(b.adults), q = parseInt(b.children), A = parseInt(b.hId), y = b.checkin, W = b.checkout, U = b.roomGroupId;
|
|
1023
|
+
if (isNaN(w) || (w > nt.value ? fe.value = nt.value : fe.value = w, b.adults = void 0), isNaN(q) || (q > at.value ? ye.value = at.value : ye.value = q, b.children = void 0), isNaN(A) || (ge(A) ? (le.value = A, b.hId = void 0) : Fe({
|
|
1007
1024
|
message: "Hotel ID: not found",
|
|
1008
1025
|
type: "error"
|
|
1009
|
-
})),
|
|
1010
|
-
if (
|
|
1011
|
-
const Z = new Date(
|
|
1012
|
-
Z <= J ? (
|
|
1026
|
+
})), y && W)
|
|
1027
|
+
if (ut(y) && ut(W)) {
|
|
1028
|
+
const Z = new Date(y), J = new Date(W);
|
|
1029
|
+
Z <= J ? (z.value = Z, L.value = J, b.checkin = void 0, b.checkout = void 0) : Fe({
|
|
1013
1030
|
message: "Invalid date range",
|
|
1014
1031
|
type: "error"
|
|
1015
1032
|
});
|
|
1016
1033
|
} else
|
|
1017
|
-
|
|
1034
|
+
Fe({
|
|
1018
1035
|
message: "Check-in or check-out illformed",
|
|
1019
1036
|
type: "error"
|
|
1020
1037
|
});
|
|
@@ -1033,229 +1050,232 @@ const Wl = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1033
1050
|
default: T(() => [
|
|
1034
1051
|
g(yo, {
|
|
1035
1052
|
layout: b.headerLayout,
|
|
1036
|
-
onReset: o(
|
|
1053
|
+
onReset: o(Ut)
|
|
1037
1054
|
}, {
|
|
1038
|
-
availability: T(({ next:
|
|
1039
|
-
g(
|
|
1055
|
+
availability: T(({ next: q }) => [
|
|
1056
|
+
g(ze, null, {
|
|
1040
1057
|
form: T(() => [
|
|
1041
|
-
a("div",
|
|
1042
|
-
a("div",
|
|
1043
|
-
g(To, {
|
|
1058
|
+
a("div", gl, [
|
|
1059
|
+
a("div", kl, [
|
|
1060
|
+
g(To, {
|
|
1061
|
+
booking: !0,
|
|
1062
|
+
"selected-location": Number(b.selectedLocation)
|
|
1063
|
+
}, null, 8, ["selected-location"])
|
|
1044
1064
|
]),
|
|
1045
1065
|
_("", !0),
|
|
1046
|
-
!o(p) && o(
|
|
1047
|
-
o(
|
|
1048
|
-
o(
|
|
1049
|
-
b.onlyShow !== "packages" ? (c(), f("h2",
|
|
1050
|
-
g(
|
|
1066
|
+
!o(p) && o(_e) ? (c(), f("div", bl, [
|
|
1067
|
+
o(M).roomGroups.length > 0 || o(M).templates.length > 0 || o(M).specialTemplates.length > 0 ? (c(), f("div", _l, [
|
|
1068
|
+
o(M).templates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("div", Vl, [
|
|
1069
|
+
b.onlyShow !== "packages" ? (c(), f("h2", Tl, [
|
|
1070
|
+
g(K, {
|
|
1051
1071
|
icon: "box",
|
|
1052
1072
|
type: "fal",
|
|
1053
1073
|
color: "header"
|
|
1054
1074
|
}),
|
|
1055
|
-
a("span", null,
|
|
1075
|
+
a("span", null, v(o(t)("booking.availability.packagesTitle")), 1)
|
|
1056
1076
|
])) : _("", !0),
|
|
1057
|
-
a("ul",
|
|
1058
|
-
(c(!0), f(
|
|
1077
|
+
a("ul", $l, [
|
|
1078
|
+
(c(!0), f(E, null, F(o(M).templates, ({
|
|
1059
1079
|
id: A,
|
|
1060
|
-
name:
|
|
1061
|
-
templateRoomGroups:
|
|
1080
|
+
name: y,
|
|
1081
|
+
templateRoomGroups: W,
|
|
1062
1082
|
image: U,
|
|
1063
1083
|
description: I,
|
|
1064
1084
|
weekendFee: Z
|
|
1065
|
-
}) => (c(), D(
|
|
1085
|
+
}) => (c(), D(ll, {
|
|
1066
1086
|
key: A,
|
|
1067
1087
|
id: A,
|
|
1068
1088
|
description: I,
|
|
1069
|
-
name:
|
|
1089
|
+
name: y,
|
|
1070
1090
|
image: U,
|
|
1071
1091
|
weekendFee: Z,
|
|
1072
|
-
"room-groups":
|
|
1073
|
-
callback:
|
|
1092
|
+
"room-groups": W,
|
|
1093
|
+
callback: q,
|
|
1074
1094
|
"hide-addons": b.hideAddons
|
|
1075
1095
|
}, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
|
|
1076
1096
|
])
|
|
1077
1097
|
])) : _("", !0),
|
|
1078
|
-
o(
|
|
1079
|
-
o(
|
|
1080
|
-
g(
|
|
1098
|
+
o(M).roomGroups.length > 0 && b.onlyShow !== "packages" ? (c(), f("div", Cl, [
|
|
1099
|
+
o(M).templates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("h2", wl, [
|
|
1100
|
+
g(K, {
|
|
1081
1101
|
icon: "house",
|
|
1082
1102
|
type: "fal",
|
|
1083
1103
|
color: "header"
|
|
1084
1104
|
}),
|
|
1085
|
-
a("span", null,
|
|
1105
|
+
a("span", null, v(o(t)("booking.availability.roomsTitle")), 1)
|
|
1086
1106
|
])) : _("", !0),
|
|
1087
|
-
a("ul",
|
|
1088
|
-
(c(!0), f(
|
|
1107
|
+
a("ul", Pl, [
|
|
1108
|
+
(c(!0), f(E, null, F(qt.value, (A, y) => (c(), D(Xo, {
|
|
1089
1109
|
room: A,
|
|
1090
|
-
key:
|
|
1110
|
+
key: y
|
|
1091
1111
|
}, null, 8, ["room"]))), 128))
|
|
1092
1112
|
])
|
|
1093
1113
|
])) : _("", !0),
|
|
1094
|
-
o(
|
|
1095
|
-
b.onlyShow !== "packages" ? (c(), f("h2",
|
|
1096
|
-
g(
|
|
1114
|
+
o(M).specialTemplates.length > 0 && b.onlyShow !== "rooms" ? (c(), f("div", Al, [
|
|
1115
|
+
b.onlyShow !== "packages" ? (c(), f("h2", Dl, [
|
|
1116
|
+
g(K, {
|
|
1097
1117
|
icon: "sparkles",
|
|
1098
1118
|
type: "fal",
|
|
1099
1119
|
color: "header"
|
|
1100
1120
|
}),
|
|
1101
|
-
a("span", null,
|
|
1121
|
+
a("span", null, v(o(t)("hotel.specialOffers")), 1)
|
|
1102
1122
|
])) : _("", !0),
|
|
1103
|
-
a("ul",
|
|
1104
|
-
(c(!0), f(
|
|
1123
|
+
a("ul", Hl, [
|
|
1124
|
+
(c(!0), f(E, null, F(o(M).specialTemplates, ({
|
|
1105
1125
|
id: A,
|
|
1106
|
-
name:
|
|
1107
|
-
templateRoomGroups:
|
|
1126
|
+
name: y,
|
|
1127
|
+
templateRoomGroups: W,
|
|
1108
1128
|
image: U,
|
|
1109
1129
|
description: I,
|
|
1110
1130
|
weekendFee: Z,
|
|
1111
1131
|
fromDate: J,
|
|
1112
|
-
toDate:
|
|
1113
|
-
}) => (c(), D(
|
|
1132
|
+
toDate: Oe
|
|
1133
|
+
}) => (c(), D(sl, {
|
|
1114
1134
|
key: A,
|
|
1115
1135
|
id: A,
|
|
1116
1136
|
description: I,
|
|
1117
|
-
name:
|
|
1137
|
+
name: y,
|
|
1118
1138
|
image: U,
|
|
1119
1139
|
fromDate: J,
|
|
1120
|
-
toDate:
|
|
1140
|
+
toDate: Oe,
|
|
1121
1141
|
weekendFee: Z,
|
|
1122
|
-
"room-groups":
|
|
1123
|
-
callback:
|
|
1142
|
+
"room-groups": W,
|
|
1143
|
+
callback: q
|
|
1124
1144
|
}, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
|
|
1125
1145
|
])
|
|
1126
1146
|
])) : _("", !0),
|
|
1127
|
-
(o(
|
|
1128
|
-
a("span", null,
|
|
1147
|
+
(o(M).templates.length === 0 && b.onlyShow !== "rooms" || o(M).roomGroups.length === 0 && b.onlyShow !== "packages") && (b.onlyShow === "rooms" || b.onlyShow === "packages") ? (c(), f("div", Il, [
|
|
1148
|
+
a("span", null, v(o(t)("booking.availability.nothingAvailable")), 1)
|
|
1129
1149
|
])) : _("", !0)
|
|
1130
|
-
])) : o(
|
|
1131
|
-
a("span", null,
|
|
1132
|
-
])) : (c(), f("div",
|
|
1133
|
-
a("h2",
|
|
1134
|
-
g(
|
|
1150
|
+
])) : o(M).nextAvailableDates.length === 0 ? (c(), f("div", Sl, [
|
|
1151
|
+
a("span", null, v(o(t)("booking.availability.nothingAvailable")), 1)
|
|
1152
|
+
])) : (c(), f("div", Bl, [
|
|
1153
|
+
a("h2", El, [
|
|
1154
|
+
g(K, {
|
|
1135
1155
|
icon: "calendar-circle-exclamation",
|
|
1136
1156
|
type: "fal",
|
|
1137
1157
|
color: "header"
|
|
1138
1158
|
}),
|
|
1139
|
-
a("span", null,
|
|
1159
|
+
a("span", null, v(o(t)("booking.availability.nextAvailableDates")), 1)
|
|
1140
1160
|
]),
|
|
1141
|
-
a("ul",
|
|
1142
|
-
(c(!0), f(
|
|
1161
|
+
a("ul", Ml, [
|
|
1162
|
+
(c(!0), f(E, null, F(o(M).nextAvailableDates, (A, y) => (c(), f("li", { key: y }, [
|
|
1143
1163
|
a("h3", {
|
|
1144
1164
|
title: `${o(de)(A.fromDate)} - ${o(de)(A.toDate)}`
|
|
1145
1165
|
}, [
|
|
1146
|
-
a("span", null,
|
|
1147
|
-
], 8,
|
|
1166
|
+
a("span", null, v(`${o(de)(A.fromDate)} - ${o(de)(A.toDate)}`), 1)
|
|
1167
|
+
], 8, Ll),
|
|
1148
1168
|
a("ul", null, [
|
|
1149
1169
|
_("", !0),
|
|
1150
1170
|
a("li", null, [
|
|
1151
|
-
g(
|
|
1171
|
+
g(K, {
|
|
1152
1172
|
icon: "money-bill",
|
|
1153
1173
|
type: "fal",
|
|
1154
1174
|
color: "header"
|
|
1155
1175
|
}),
|
|
1156
|
-
a("span", null,
|
|
1176
|
+
a("span", null, v(o(t)("booking.availability.pricesFrom")) + ": " + v(o(ee)(A.priceStartFrom, o(he))), 1)
|
|
1157
1177
|
])
|
|
1158
1178
|
]),
|
|
1159
|
-
g(
|
|
1179
|
+
g(ce, {
|
|
1160
1180
|
label: o(t)("booking.availability.selectDates"),
|
|
1161
1181
|
"full-width": "",
|
|
1162
|
-
onClickEvent: (
|
|
1182
|
+
onClickEvent: (W) => o(Me)(new Date(A.fromDate), new Date(A.toDate))
|
|
1163
1183
|
}, null, 8, ["label", "onClickEvent"])
|
|
1164
1184
|
]))), 128))
|
|
1165
1185
|
])
|
|
1166
1186
|
]))
|
|
1167
1187
|
])) : (c(), f("div", Ul, [
|
|
1168
|
-
g(
|
|
1169
|
-
g(
|
|
1170
|
-
g(
|
|
1188
|
+
g(Ke),
|
|
1189
|
+
g(Ke),
|
|
1190
|
+
g(Ke)
|
|
1171
1191
|
]))
|
|
1172
1192
|
])
|
|
1173
1193
|
]),
|
|
1174
1194
|
navigation: T(() => [
|
|
1175
|
-
g(
|
|
1176
|
-
label: o(
|
|
1177
|
-
disabled: !o(
|
|
1195
|
+
g(ce, {
|
|
1196
|
+
label: o(me) || b.hideAddons === "yes" ? o(t)("booking.availability.nextButton") : o(t)("general.chooseAddons"),
|
|
1197
|
+
disabled: !o(Be),
|
|
1178
1198
|
"is-loading": !1,
|
|
1179
1199
|
"full-width": "",
|
|
1180
|
-
onClickEvent: (A) => xt(
|
|
1200
|
+
onClickEvent: (A) => xt(q)
|
|
1181
1201
|
}, null, 8, ["label", "disabled", "onClickEvent"])
|
|
1182
1202
|
]),
|
|
1183
1203
|
_: 2
|
|
1184
1204
|
}, 1024)
|
|
1185
1205
|
]),
|
|
1186
|
-
addons: T(({ next:
|
|
1187
|
-
o(
|
|
1206
|
+
addons: T(({ next: q, prev: A }) => [
|
|
1207
|
+
o(_e) ? (c(), D(ze, { key: 0 }, {
|
|
1188
1208
|
form: T(() => [
|
|
1189
1209
|
a("form", Rl, [
|
|
1190
1210
|
a("h2", null, [
|
|
1191
|
-
a("span", null,
|
|
1211
|
+
a("span", null, v(o(t)("booking.reservation.addons")), 1)
|
|
1192
1212
|
]),
|
|
1193
1213
|
a("div", null, [
|
|
1194
|
-
isNaN(o(i)) ? (c(), f("div",
|
|
1195
|
-
(c(!0), f(
|
|
1196
|
-
key:
|
|
1214
|
+
isNaN(o(i)) ? (c(), f("div", Nl, [
|
|
1215
|
+
(c(!0), f(E, null, F(o(Y), (y) => (c(), f("ul", {
|
|
1216
|
+
key: y.roomGroupID
|
|
1197
1217
|
}, [
|
|
1198
|
-
(c(!0), f(
|
|
1199
|
-
key:
|
|
1218
|
+
(c(!0), f(E, null, F(y.variants, (W, U) => (c(), f("li", {
|
|
1219
|
+
key: W.ratePlanID
|
|
1200
1220
|
}, [
|
|
1201
1221
|
a("h4", null, [
|
|
1202
|
-
a("span", null,
|
|
1222
|
+
a("span", null, v(o(re)(y.title)), 1)
|
|
1203
1223
|
]),
|
|
1204
|
-
(c(!0), f(
|
|
1224
|
+
(c(!0), f(E, null, F(W.rooms, (I, Z) => (c(), f("table", {
|
|
1205
1225
|
key: Z,
|
|
1206
1226
|
class: "konnectio-table with-lines"
|
|
1207
1227
|
}, [
|
|
1208
1228
|
a("thead", null, [
|
|
1209
1229
|
a("tr", null, [
|
|
1210
1230
|
a("th", null, [
|
|
1211
|
-
a("span", null,
|
|
1231
|
+
a("span", null, v(o(re)(W.name)), 1)
|
|
1212
1232
|
]),
|
|
1213
1233
|
_("", !0),
|
|
1214
|
-
a("th",
|
|
1234
|
+
a("th", Fl, [
|
|
1215
1235
|
a("b", null, [
|
|
1216
|
-
g(
|
|
1236
|
+
g(K, {
|
|
1217
1237
|
icon: "male",
|
|
1218
1238
|
type: "fas",
|
|
1219
1239
|
color: "font"
|
|
1220
1240
|
}),
|
|
1221
|
-
a("span", null,
|
|
1222
|
-
I.childrenCount > 0 ? (c(), D(
|
|
1241
|
+
a("span", null, v(I.adultsCount), 1),
|
|
1242
|
+
I.childrenCount > 0 ? (c(), D(K, {
|
|
1223
1243
|
key: 0,
|
|
1224
1244
|
icon: "child",
|
|
1225
1245
|
type: "fas",
|
|
1226
1246
|
color: "font"
|
|
1227
1247
|
})) : _("", !0),
|
|
1228
|
-
I.childrenCount > 0 ? (c(), f("span",
|
|
1248
|
+
I.childrenCount > 0 ? (c(), f("span", Ol, v(I.childrenCount), 1)) : _("", !0)
|
|
1229
1249
|
])
|
|
1230
1250
|
])
|
|
1231
1251
|
])
|
|
1232
1252
|
]),
|
|
1233
1253
|
a("tbody", null, [
|
|
1234
|
-
(c(!0), f(
|
|
1254
|
+
(c(!0), f(E, null, F(y.addons, ({
|
|
1235
1255
|
quantityStrategy: J,
|
|
1236
|
-
maximumNumber:
|
|
1237
|
-
id:
|
|
1256
|
+
maximumNumber: Oe,
|
|
1257
|
+
id: ke,
|
|
1238
1258
|
name: Qt,
|
|
1239
1259
|
price: Xt
|
|
1240
|
-
}) => (c(), f("tr", { key:
|
|
1260
|
+
}) => (c(), f("tr", { key: ke }, [
|
|
1241
1261
|
a("td", null, [
|
|
1242
|
-
a("b", null,
|
|
1243
|
-
|
|
1244
|
-
a("span", null,
|
|
1262
|
+
a("b", null, v(o(re)(Qt)), 1),
|
|
1263
|
+
jl,
|
|
1264
|
+
a("span", null, v(o(ee)(Xt, o(he))) + " " + v(o(dt)(J)), 1)
|
|
1245
1265
|
]),
|
|
1246
|
-
a("td",
|
|
1247
|
-
o(x)[
|
|
1248
|
-
J === 1 || J === 12 ? (c(), D(
|
|
1266
|
+
a("td", Gl, [
|
|
1267
|
+
o(x)[y.roomGroupID][U].config[I.configIdx].addons[I.roomIdx] ? (c(), f(E, { key: 0 }, [
|
|
1268
|
+
J === 1 || J === 12 ? (c(), D(Xe, {
|
|
1249
1269
|
key: 0,
|
|
1250
|
-
modelValue: o(x)[
|
|
1251
|
-
"onUpdate:modelValue": (
|
|
1270
|
+
modelValue: o(x)[y.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][ke],
|
|
1271
|
+
"onUpdate:modelValue": (je) => o(x)[y.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][ke] = je,
|
|
1252
1272
|
small: !0,
|
|
1253
1273
|
"min-value": 0,
|
|
1254
|
-
"max-value":
|
|
1255
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), D(
|
|
1274
|
+
"max-value": Oe || 1 / 0
|
|
1275
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), D(De, {
|
|
1256
1276
|
key: 1,
|
|
1257
|
-
modelValue: o(x)[
|
|
1258
|
-
"onUpdate:modelValue": (
|
|
1277
|
+
modelValue: o(x)[y.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][ke],
|
|
1278
|
+
"onUpdate:modelValue": (je) => o(x)[y.roomGroupID][U].config[I.configIdx].addons[I.roomIdx][ke] = je,
|
|
1259
1279
|
numeric: !0
|
|
1260
1280
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1261
1281
|
], 64)) : _("", !0)
|
|
@@ -1265,43 +1285,43 @@ const Wl = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1265
1285
|
]))), 128))
|
|
1266
1286
|
]))), 128))
|
|
1267
1287
|
]))), 128))
|
|
1268
|
-
])) : o(
|
|
1288
|
+
])) : o(ve) ? (c(), f("div", ql, [
|
|
1269
1289
|
a("div", null, [
|
|
1270
1290
|
a("h4", null, [
|
|
1271
|
-
a("span", null,
|
|
1291
|
+
a("span", null, v(o(Ee).name), 1)
|
|
1272
1292
|
]),
|
|
1273
|
-
a("table",
|
|
1293
|
+
a("table", Wl, [
|
|
1274
1294
|
a("thead", null, [
|
|
1275
1295
|
a("tr", null, [
|
|
1276
1296
|
a("th", null, [
|
|
1277
|
-
a("span", null,
|
|
1297
|
+
a("span", null, v(o(re)(o(ve).title)), 1)
|
|
1278
1298
|
]),
|
|
1279
1299
|
_("", !0),
|
|
1280
|
-
|
|
1300
|
+
Kl
|
|
1281
1301
|
])
|
|
1282
1302
|
]),
|
|
1283
1303
|
a("tbody", null, [
|
|
1284
|
-
(c(!0), f(
|
|
1285
|
-
quantityStrategy:
|
|
1286
|
-
maximumNumber:
|
|
1304
|
+
(c(!0), f(E, null, F(o(ve).addons, ({
|
|
1305
|
+
quantityStrategy: y,
|
|
1306
|
+
maximumNumber: W,
|
|
1287
1307
|
id: U,
|
|
1288
1308
|
name: I,
|
|
1289
1309
|
price: Z
|
|
1290
1310
|
}) => (c(), f("tr", { key: U }, [
|
|
1291
1311
|
a("td", null, [
|
|
1292
|
-
a("b", null,
|
|
1293
|
-
|
|
1294
|
-
a("span", null,
|
|
1312
|
+
a("b", null, v(o(re)(I)), 1),
|
|
1313
|
+
zl,
|
|
1314
|
+
a("span", null, v(o(ee)(Z, o(he))) + " " + v(o(dt)(y)), 1)
|
|
1295
1315
|
]),
|
|
1296
|
-
a("td",
|
|
1297
|
-
|
|
1316
|
+
a("td", xl, [
|
|
1317
|
+
y === 1 || y === 12 ? (c(), D(Xe, {
|
|
1298
1318
|
key: 0,
|
|
1299
1319
|
modelValue: o(s)[U],
|
|
1300
1320
|
"onUpdate:modelValue": (J) => o(s)[U] = J,
|
|
1301
1321
|
small: !0,
|
|
1302
1322
|
"min-value": 0,
|
|
1303
|
-
"max-value":
|
|
1304
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), D(
|
|
1323
|
+
"max-value": W || 1 / 0
|
|
1324
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (c(), D(De, {
|
|
1305
1325
|
key: 1,
|
|
1306
1326
|
modelValue: o(s)[U],
|
|
1307
1327
|
"onUpdate:modelValue": (J) => o(s)[U] = J,
|
|
@@ -1317,50 +1337,50 @@ const Wl = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1317
1337
|
])
|
|
1318
1338
|
]),
|
|
1319
1339
|
navigation: T(() => [
|
|
1320
|
-
g(
|
|
1340
|
+
g(ce, {
|
|
1321
1341
|
label: o(t)("general.startReservation"),
|
|
1322
1342
|
"full-width": "",
|
|
1323
|
-
onClickEvent:
|
|
1343
|
+
onClickEvent: q
|
|
1324
1344
|
}, null, 8, ["label", "onClickEvent"]),
|
|
1325
1345
|
a("button", {
|
|
1326
1346
|
class: "konnectio-abort-reservation link",
|
|
1327
|
-
onClick: Ce((
|
|
1347
|
+
onClick: Ce((y) => it(A), ["prevent"])
|
|
1328
1348
|
}, [
|
|
1329
|
-
a("span", null,
|
|
1330
|
-
], 8,
|
|
1349
|
+
a("span", null, v(o(t)("general.goAStepBack")), 1)
|
|
1350
|
+
], 8, Jl)
|
|
1331
1351
|
]),
|
|
1332
1352
|
_: 2
|
|
1333
1353
|
}, 1024)) : _("", !0)
|
|
1334
1354
|
]),
|
|
1335
|
-
reservation: T(({ next:
|
|
1336
|
-
o(
|
|
1355
|
+
reservation: T(({ next: q, prev: A }) => [
|
|
1356
|
+
o(_e) ? (c(), D(ze, {
|
|
1337
1357
|
key: 0,
|
|
1338
1358
|
"show-terms-notice": !0,
|
|
1339
1359
|
"show-gift-card": !0
|
|
1340
1360
|
}, {
|
|
1341
1361
|
form: T(() => [
|
|
1342
|
-
a("form",
|
|
1362
|
+
a("form", Ql, [
|
|
1343
1363
|
a("h2", null, [
|
|
1344
|
-
a("span", null,
|
|
1364
|
+
a("span", null, v(o(t)("booking.reservation.detailsTitle")), 1)
|
|
1345
1365
|
]),
|
|
1346
|
-
!o(Ht) && !(o(
|
|
1366
|
+
!o(Ht) && !(o(Re) && o(Ne)) ? (c(), f("ul", {
|
|
1347
1367
|
key: 0,
|
|
1348
|
-
class: Pe({ "konnectio-split-inputs": !o(
|
|
1368
|
+
class: Pe({ "konnectio-split-inputs": !o(Re) && !o(Ne) })
|
|
1349
1369
|
}, [
|
|
1350
|
-
o(
|
|
1351
|
-
g(
|
|
1370
|
+
o(Re) ? _("", !0) : (c(), f("li", Xl, [
|
|
1371
|
+
g(ct, {
|
|
1352
1372
|
modelValue: o(h),
|
|
1353
|
-
"onUpdate:modelValue": w[1] || (w[1] = (
|
|
1373
|
+
"onUpdate:modelValue": w[1] || (w[1] = (y) => N(h) ? h.value = y : null),
|
|
1354
1374
|
label: o(t)("booking.reservation.arrivalTime"),
|
|
1355
1375
|
icon: "hourglass-start",
|
|
1356
1376
|
"hour-range": Wt.value,
|
|
1357
1377
|
required: ""
|
|
1358
1378
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1359
1379
|
])),
|
|
1360
|
-
o(
|
|
1361
|
-
g(
|
|
1380
|
+
o(Ne) ? _("", !0) : (c(), f("li", Yl, [
|
|
1381
|
+
g(ct, {
|
|
1362
1382
|
modelValue: o(V),
|
|
1363
|
-
"onUpdate:modelValue": w[2] || (w[2] = (
|
|
1383
|
+
"onUpdate:modelValue": w[2] || (w[2] = (y) => N(V) ? V.value = y : null),
|
|
1364
1384
|
label: o(t)("booking.reservation.departureTime"),
|
|
1365
1385
|
icon: "hourglass-end",
|
|
1366
1386
|
"hour-range": Kt.value,
|
|
@@ -1368,11 +1388,11 @@ const Wl = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1368
1388
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1369
1389
|
]))
|
|
1370
1390
|
], 2)) : _("", !0),
|
|
1371
|
-
g(
|
|
1391
|
+
g(pl, {
|
|
1372
1392
|
modelValue: o(P),
|
|
1373
|
-
"onUpdate:modelValue": w[3] || (w[3] = (
|
|
1393
|
+
"onUpdate:modelValue": w[3] || (w[3] = (y) => N(P) ? P.value = y : null),
|
|
1374
1394
|
title: o($),
|
|
1375
|
-
"onUpdate:title": w[4] || (w[4] = (
|
|
1395
|
+
"onUpdate:title": w[4] || (w[4] = (y) => N($) ? $.value = y : null),
|
|
1376
1396
|
"exclude-title": o(It),
|
|
1377
1397
|
label: o(t)("booking.reservation.name"),
|
|
1378
1398
|
icon: "user-alt",
|
|
@@ -1381,7 +1401,7 @@ const Wl = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1381
1401
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1382
1402
|
g(se, {
|
|
1383
1403
|
modelValue: o(S),
|
|
1384
|
-
"onUpdate:modelValue": w[5] || (w[5] = (
|
|
1404
|
+
"onUpdate:modelValue": w[5] || (w[5] = (y) => N(S) ? S.value = y : null),
|
|
1385
1405
|
type: "email",
|
|
1386
1406
|
name: "email",
|
|
1387
1407
|
autocomplete: "email",
|
|
@@ -1393,7 +1413,7 @@ const Wl = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1393
1413
|
o(Et) ? _("", !0) : (c(), D(se, {
|
|
1394
1414
|
key: 1,
|
|
1395
1415
|
modelValue: o(k),
|
|
1396
|
-
"onUpdate:modelValue": w[6] || (w[6] = (
|
|
1416
|
+
"onUpdate:modelValue": w[6] || (w[6] = (y) => N(k) ? k.value = y : null),
|
|
1397
1417
|
type: "text",
|
|
1398
1418
|
name: "firm",
|
|
1399
1419
|
autocomplete: "firm",
|
|
@@ -1403,15 +1423,15 @@ const Wl = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1403
1423
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1404
1424
|
g(wo, {
|
|
1405
1425
|
modelValue: o(B),
|
|
1406
|
-
"onUpdate:modelValue": w[7] || (w[7] = (
|
|
1426
|
+
"onUpdate:modelValue": w[7] || (w[7] = (y) => N(B) ? B.value = y : null),
|
|
1407
1427
|
icon: "phone-office",
|
|
1408
1428
|
label: o(t)("booking.reservation.phone"),
|
|
1409
1429
|
placeholder: o(t)("booking.reservation.phonePlaceholder"),
|
|
1410
1430
|
required: ""
|
|
1411
1431
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1412
|
-
g(
|
|
1413
|
-
modelValue: o(
|
|
1414
|
-
"onUpdate:modelValue": w[8] || (w[8] = (
|
|
1432
|
+
g(ul, {
|
|
1433
|
+
modelValue: o(j),
|
|
1434
|
+
"onUpdate:modelValue": w[8] || (w[8] = (y) => N(j) ? j.value = y : null),
|
|
1415
1435
|
label: o(t)("booking.reservation.country"),
|
|
1416
1436
|
placeholder: o(t)("booking.reservation.countryPlaceholder"),
|
|
1417
1437
|
options: o(m),
|
|
@@ -1419,7 +1439,7 @@ const Wl = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1419
1439
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1420
1440
|
g(se, {
|
|
1421
1441
|
modelValue: o(O),
|
|
1422
|
-
"onUpdate:modelValue": w[9] || (w[9] = (
|
|
1442
|
+
"onUpdate:modelValue": w[9] || (w[9] = (y) => N(O) ? O.value = y : null),
|
|
1423
1443
|
type: "textarea",
|
|
1424
1444
|
name: "address",
|
|
1425
1445
|
autocomplete: "street-address",
|
|
@@ -1428,11 +1448,11 @@ const Wl = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1428
1448
|
placeholder: o(t)("booking.reservation.streetAddressPlaceholder"),
|
|
1429
1449
|
required: ""
|
|
1430
1450
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1431
|
-
a("ul",
|
|
1451
|
+
a("ul", Zl, [
|
|
1432
1452
|
a("li", null, [
|
|
1433
1453
|
g(se, {
|
|
1434
1454
|
modelValue: o(C),
|
|
1435
|
-
"onUpdate:modelValue": w[10] || (w[10] = (
|
|
1455
|
+
"onUpdate:modelValue": w[10] || (w[10] = (y) => N(C) ? C.value = y : null),
|
|
1436
1456
|
type: "text",
|
|
1437
1457
|
name: "postal",
|
|
1438
1458
|
autocomplete: "postal-code",
|
|
@@ -1445,7 +1465,7 @@ const Wl = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1445
1465
|
a("li", null, [
|
|
1446
1466
|
g(se, {
|
|
1447
1467
|
modelValue: o(H),
|
|
1448
|
-
"onUpdate:modelValue": w[11] || (w[11] = (
|
|
1468
|
+
"onUpdate:modelValue": w[11] || (w[11] = (y) => N(H) ? H.value = y : null),
|
|
1449
1469
|
type: "text",
|
|
1450
1470
|
name: "city",
|
|
1451
1471
|
autocomplete: "address-level2",
|
|
@@ -1458,15 +1478,15 @@ const Wl = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1458
1478
|
]),
|
|
1459
1479
|
g(se, {
|
|
1460
1480
|
modelValue: o(Q),
|
|
1461
|
-
"onUpdate:modelValue": w[12] || (w[12] = (
|
|
1481
|
+
"onUpdate:modelValue": w[12] || (w[12] = (y) => N(Q) ? Q.value = y : null),
|
|
1462
1482
|
type: "textarea",
|
|
1463
1483
|
label: `${o(t)("booking.reservation.remark")} (${o(t)("booking.reservation.optional")})`,
|
|
1464
1484
|
icon: "info-circle",
|
|
1465
1485
|
placeholder: o(t)("booking.reservation.remarkPlaceholder")
|
|
1466
1486
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1467
1487
|
g(se, {
|
|
1468
|
-
modelValue: o(
|
|
1469
|
-
"onUpdate:modelValue": w[13] || (w[13] = (
|
|
1488
|
+
modelValue: o(R),
|
|
1489
|
+
"onUpdate:modelValue": w[13] || (w[13] = (y) => N(R) ? R.value = y : null),
|
|
1470
1490
|
type: "textarea",
|
|
1471
1491
|
label: `${o(t)("booking.reservation.allergies")} (${o(t)("booking.reservation.optional")})`,
|
|
1472
1492
|
icon: "allergies",
|
|
@@ -1475,7 +1495,7 @@ const Wl = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1475
1495
|
o(St) ? _("", !0) : (c(), D(go, {
|
|
1476
1496
|
key: 2,
|
|
1477
1497
|
modelValue: o(d),
|
|
1478
|
-
"onUpdate:modelValue": w[14] || (w[14] = (
|
|
1498
|
+
"onUpdate:modelValue": w[14] || (w[14] = (y) => N(d) ? d.value = y : null),
|
|
1479
1499
|
label: `${o(t)("booking.reservation.purposeOfStay")} (${o(t)("booking.reservation.optional")})`,
|
|
1480
1500
|
name: "travelingFor",
|
|
1481
1501
|
checkboxes: Gt.value
|
|
@@ -1484,19 +1504,19 @@ const Wl = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1484
1504
|
]),
|
|
1485
1505
|
navigation: T(() => [
|
|
1486
1506
|
a("div", null, [
|
|
1487
|
-
g(
|
|
1507
|
+
g(ce, {
|
|
1488
1508
|
label: o(Mt) ? o(t)("booking.reservation.nextButton") : o(t)("general.confirmReservation"),
|
|
1489
1509
|
disabled: !o(r),
|
|
1490
1510
|
"is-loading": o(u),
|
|
1491
1511
|
"full-width": "",
|
|
1492
|
-
onClickEvent: (
|
|
1512
|
+
onClickEvent: (y) => zt(q)
|
|
1493
1513
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
1494
1514
|
a("button", {
|
|
1495
1515
|
class: "konnectio-abort-reservation link",
|
|
1496
|
-
onClick: Ce((
|
|
1516
|
+
onClick: Ce((y) => it(A), ["prevent"])
|
|
1497
1517
|
}, [
|
|
1498
|
-
a("span", null,
|
|
1499
|
-
], 8,
|
|
1518
|
+
a("span", null, v(o(t)("general.goAStepBack")), 1)
|
|
1519
|
+
], 8, en)
|
|
1500
1520
|
])
|
|
1501
1521
|
]),
|
|
1502
1522
|
_: 2
|
|
@@ -1517,7 +1537,7 @@ const Wl = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1517
1537
|
}, 8, ["access-token", "callback"])
|
|
1518
1538
|
]),
|
|
1519
1539
|
fallback: T(() => [
|
|
1520
|
-
g(
|
|
1540
|
+
g(yl)
|
|
1521
1541
|
]),
|
|
1522
1542
|
_: 1
|
|
1523
1543
|
}))
|
|
@@ -1525,31 +1545,31 @@ const Wl = /* @__PURE__ */ Qe(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1525
1545
|
_: 1
|
|
1526
1546
|
}, 8, ["styling"]));
|
|
1527
1547
|
}
|
|
1528
|
-
}), Ve = /* @__PURE__ */ ue(
|
|
1529
|
-
function
|
|
1548
|
+
}), Ve = /* @__PURE__ */ ue(tn, [["__scopeId", "data-v-7c81f13f"]]);
|
|
1549
|
+
function Ye(n, l = {}, e) {
|
|
1530
1550
|
for (const t in n) {
|
|
1531
1551
|
const i = n[t], s = e ? `${e}:${t}` : t;
|
|
1532
|
-
typeof i == "object" && i !== null ?
|
|
1552
|
+
typeof i == "object" && i !== null ? Ye(i, l, s) : typeof i == "function" && (l[s] = i);
|
|
1533
1553
|
}
|
|
1534
1554
|
return l;
|
|
1535
1555
|
}
|
|
1536
|
-
const
|
|
1537
|
-
function
|
|
1538
|
-
const e = l.shift(), t =
|
|
1556
|
+
const on = { run: (n) => n() }, ln = () => on, Ct = typeof console.createTask < "u" ? console.createTask : ln;
|
|
1557
|
+
function nn(n, l) {
|
|
1558
|
+
const e = l.shift(), t = Ct(e);
|
|
1539
1559
|
return n.reduce(
|
|
1540
1560
|
(i, s) => i.then(() => t.run(() => s(...l))),
|
|
1541
1561
|
Promise.resolve()
|
|
1542
1562
|
);
|
|
1543
1563
|
}
|
|
1544
|
-
function
|
|
1545
|
-
const e = l.shift(), t =
|
|
1564
|
+
function an(n, l) {
|
|
1565
|
+
const e = l.shift(), t = Ct(e);
|
|
1546
1566
|
return Promise.all(n.map((i) => t.run(() => i(...l))));
|
|
1547
1567
|
}
|
|
1548
|
-
function
|
|
1568
|
+
function xe(n, l) {
|
|
1549
1569
|
for (const e of [...n])
|
|
1550
1570
|
e(l);
|
|
1551
1571
|
}
|
|
1552
|
-
class
|
|
1572
|
+
class sn {
|
|
1553
1573
|
constructor() {
|
|
1554
1574
|
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);
|
|
1555
1575
|
}
|
|
@@ -1600,7 +1620,7 @@ class an {
|
|
|
1600
1620
|
this.deprecateHook(e, l[e]);
|
|
1601
1621
|
}
|
|
1602
1622
|
addHooks(l) {
|
|
1603
|
-
const e =
|
|
1623
|
+
const e = Ye(l), t = Object.keys(e).map(
|
|
1604
1624
|
(i) => this.hook(i, e[i])
|
|
1605
1625
|
);
|
|
1606
1626
|
return () => {
|
|
@@ -1609,7 +1629,7 @@ class an {
|
|
|
1609
1629
|
};
|
|
1610
1630
|
}
|
|
1611
1631
|
removeHooks(l) {
|
|
1612
|
-
const e =
|
|
1632
|
+
const e = Ye(l);
|
|
1613
1633
|
for (const t in e)
|
|
1614
1634
|
this.removeHook(t, e[t]);
|
|
1615
1635
|
}
|
|
@@ -1618,21 +1638,21 @@ class an {
|
|
|
1618
1638
|
delete this._hooks[l];
|
|
1619
1639
|
}
|
|
1620
1640
|
callHook(l, ...e) {
|
|
1621
|
-
return e.unshift(l), this.callHookWith(
|
|
1641
|
+
return e.unshift(l), this.callHookWith(nn, l, ...e);
|
|
1622
1642
|
}
|
|
1623
1643
|
callHookParallel(l, ...e) {
|
|
1624
|
-
return e.unshift(l), this.callHookWith(
|
|
1644
|
+
return e.unshift(l), this.callHookWith(an, l, ...e);
|
|
1625
1645
|
}
|
|
1626
1646
|
callHookWith(l, e, ...t) {
|
|
1627
1647
|
const i = this._before || this._after ? { name: e, args: t, context: {} } : void 0;
|
|
1628
|
-
this._before &&
|
|
1648
|
+
this._before && xe(this._before, i);
|
|
1629
1649
|
const s = l(
|
|
1630
1650
|
e in this._hooks ? [...this._hooks[e]] : [],
|
|
1631
1651
|
t
|
|
1632
1652
|
);
|
|
1633
1653
|
return s instanceof Promise ? s.finally(() => {
|
|
1634
|
-
this._after && i &&
|
|
1635
|
-
}) : (this._after && i &&
|
|
1654
|
+
this._after && i && xe(this._after, i);
|
|
1655
|
+
}) : (this._after && i && xe(this._after, i), s);
|
|
1636
1656
|
}
|
|
1637
1657
|
beforeEach(l) {
|
|
1638
1658
|
return this._before = this._before || [], this._before.push(l), () => {
|
|
@@ -1651,20 +1671,20 @@ class an {
|
|
|
1651
1671
|
};
|
|
1652
1672
|
}
|
|
1653
1673
|
}
|
|
1654
|
-
function
|
|
1655
|
-
return new
|
|
1674
|
+
function rn() {
|
|
1675
|
+
return new sn();
|
|
1656
1676
|
}
|
|
1657
|
-
function
|
|
1677
|
+
function dn(n) {
|
|
1658
1678
|
return Array.isArray(n) ? n : [n];
|
|
1659
1679
|
}
|
|
1660
|
-
const
|
|
1680
|
+
const un = ["title", "titleTemplate", "script", "style", "noscript"], Te = [
|
|
1661
1681
|
"base",
|
|
1662
1682
|
"meta",
|
|
1663
1683
|
"link",
|
|
1664
1684
|
"style",
|
|
1665
1685
|
"script",
|
|
1666
1686
|
"noscript"
|
|
1667
|
-
],
|
|
1687
|
+
], cn = [
|
|
1668
1688
|
"title",
|
|
1669
1689
|
"titleTemplate",
|
|
1670
1690
|
"templateParams",
|
|
@@ -1676,19 +1696,19 @@ const dn = ["title", "titleTemplate", "script", "style", "noscript"], Te = [
|
|
|
1676
1696
|
"style",
|
|
1677
1697
|
"script",
|
|
1678
1698
|
"noscript"
|
|
1679
|
-
],
|
|
1680
|
-
function
|
|
1699
|
+
], pn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], wt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], mn = typeof window < "u";
|
|
1700
|
+
function ot(n) {
|
|
1681
1701
|
let l = 9;
|
|
1682
1702
|
for (let e = 0; e < n.length; )
|
|
1683
1703
|
l = Math.imul(l ^ n.charCodeAt(e++), 9 ** 9);
|
|
1684
1704
|
return ((l ^ l >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
|
|
1685
1705
|
}
|
|
1686
|
-
function
|
|
1687
|
-
return n._h ||
|
|
1706
|
+
function pt(n) {
|
|
1707
|
+
return n._h || ot(n._d ? n._d : `${n.tag}:${n.textContent || n.innerHTML || ""}:${Object.entries(n.props).map(([l, e]) => `${l}:${String(e)}`).join(",")}`);
|
|
1688
1708
|
}
|
|
1689
|
-
function
|
|
1709
|
+
function Pt(n, l) {
|
|
1690
1710
|
const { props: e, tag: t } = n;
|
|
1691
|
-
if (
|
|
1711
|
+
if (pn.includes(t))
|
|
1692
1712
|
return t;
|
|
1693
1713
|
if (t === "link" && e.rel === "canonical")
|
|
1694
1714
|
return "canonical";
|
|
@@ -1703,65 +1723,65 @@ function $t(n, l) {
|
|
|
1703
1723
|
}
|
|
1704
1724
|
return !1;
|
|
1705
1725
|
}
|
|
1706
|
-
function
|
|
1726
|
+
function mt(n, l) {
|
|
1707
1727
|
return n == null ? l || null : typeof n == "function" ? n(l) : n;
|
|
1708
1728
|
}
|
|
1709
|
-
async function
|
|
1729
|
+
async function fn(n, l, e) {
|
|
1710
1730
|
const t = {
|
|
1711
1731
|
tag: n,
|
|
1712
|
-
props: await
|
|
1732
|
+
props: await At(
|
|
1713
1733
|
// explicitly check for an object
|
|
1714
1734
|
// @ts-expect-error untyped
|
|
1715
1735
|
typeof l == "object" && typeof l != "function" && !(l instanceof Promise) ? { ...l } : { [["script", "noscript", "style"].includes(n) ? "innerHTML" : "textContent"]: l },
|
|
1716
1736
|
["templateParams", "titleTemplate"].includes(n)
|
|
1717
1737
|
)
|
|
1718
1738
|
};
|
|
1719
|
-
return
|
|
1739
|
+
return wt.forEach((i) => {
|
|
1720
1740
|
const s = typeof t.props[i] < "u" ? t.props[i] : e[i];
|
|
1721
|
-
typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) ||
|
|
1741
|
+
typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || un.includes(t.tag)) && (t[i === "children" ? "innerHTML" : i] = s), delete t.props[i]);
|
|
1722
1742
|
}), t.props.body && (t.tagPosition = "bodyClose", delete t.props.body), t.tag === "script" && typeof t.innerHTML == "object" && (t.innerHTML = JSON.stringify(t.innerHTML), t.props.type = t.props.type || "application/json"), Array.isArray(t.props.content) ? t.props.content.map((i) => ({ ...t, props: { ...t.props, content: i } })) : t;
|
|
1723
1743
|
}
|
|
1724
|
-
function
|
|
1744
|
+
function hn(n, l) {
|
|
1725
1745
|
const e = n === "class" ? " " : ";";
|
|
1726
1746
|
return typeof l == "object" && !Array.isArray(l) && (l = Object.entries(l).filter(([, t]) => t).map(([t, i]) => n === "style" ? `${t}:${i}` : t)), (Array.isArray(l) ? l.join(e) : l)?.split(e).filter((t) => t.trim()).filter(Boolean).join(e);
|
|
1727
1747
|
}
|
|
1728
|
-
async function
|
|
1748
|
+
async function At(n, l) {
|
|
1729
1749
|
for (const e of Object.keys(n)) {
|
|
1730
1750
|
if (["class", "style"].includes(e)) {
|
|
1731
|
-
n[e] =
|
|
1751
|
+
n[e] = hn(e, n[e]);
|
|
1732
1752
|
continue;
|
|
1733
1753
|
}
|
|
1734
|
-
if (n[e] instanceof Promise && (n[e] = await n[e]), !l && !
|
|
1754
|
+
if (n[e] instanceof Promise && (n[e] = await n[e]), !l && !wt.includes(e)) {
|
|
1735
1755
|
const t = String(n[e]), i = e.startsWith("data-");
|
|
1736
1756
|
t === "true" || t === "" ? n[e] = i ? "true" : !0 : n[e] || (i && t === "false" ? n[e] = "false" : delete n[e]);
|
|
1737
1757
|
}
|
|
1738
1758
|
}
|
|
1739
1759
|
return n;
|
|
1740
1760
|
}
|
|
1741
|
-
const
|
|
1742
|
-
async function
|
|
1761
|
+
const vn = 10;
|
|
1762
|
+
async function yn(n) {
|
|
1743
1763
|
const l = [];
|
|
1744
|
-
return Object.entries(n.resolvedInput).filter(([e, t]) => typeof t < "u" &&
|
|
1745
|
-
const i =
|
|
1746
|
-
l.push(...i.map((s) =>
|
|
1747
|
-
}), (await Promise.all(l)).flat().filter(Boolean).map((e, t) => (e._e = n._i, n.mode && (e._m = n.mode), e._p = (n._i <<
|
|
1764
|
+
return Object.entries(n.resolvedInput).filter(([e, t]) => typeof t < "u" && cn.includes(e)).forEach(([e, t]) => {
|
|
1765
|
+
const i = dn(t);
|
|
1766
|
+
l.push(...i.map((s) => fn(e, s, n)).flat());
|
|
1767
|
+
}), (await Promise.all(l)).flat().filter(Boolean).map((e, t) => (e._e = n._i, n.mode && (e._m = n.mode), e._p = (n._i << vn) + t, e));
|
|
1748
1768
|
}
|
|
1749
|
-
const
|
|
1769
|
+
const ft = {
|
|
1750
1770
|
// tags
|
|
1751
1771
|
base: -10,
|
|
1752
1772
|
title: 10
|
|
1753
|
-
},
|
|
1773
|
+
}, ht = {
|
|
1754
1774
|
// relative scores to their default values
|
|
1755
1775
|
critical: -80,
|
|
1756
1776
|
high: -10,
|
|
1757
1777
|
low: 20
|
|
1758
1778
|
};
|
|
1759
|
-
function
|
|
1779
|
+
function He(n) {
|
|
1760
1780
|
let l = 100;
|
|
1761
1781
|
const e = n.tagPriority;
|
|
1762
|
-
return typeof e == "number" ? e : (n.tag === "meta" ? (n.props["http-equiv"] === "content-security-policy" && (l = -30), n.props.charset && (l = -20), n.props.name === "viewport" && (l = -15)) : n.tag === "link" && n.props.rel === "preconnect" ? l = 20 : n.tag in
|
|
1782
|
+
return typeof e == "number" ? e : (n.tag === "meta" ? (n.props["http-equiv"] === "content-security-policy" && (l = -30), n.props.charset && (l = -20), n.props.name === "viewport" && (l = -15)) : n.tag === "link" && n.props.rel === "preconnect" ? l = 20 : n.tag in ft && (l = ft[n.tag]), typeof e == "string" && e in ht ? l + ht[e] : l);
|
|
1763
1783
|
}
|
|
1764
|
-
const
|
|
1784
|
+
const gn = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], vt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ie = "%separator";
|
|
1765
1785
|
function $e(n, l, e) {
|
|
1766
1786
|
if (typeof n != "string" || !n.includes("%"))
|
|
1767
1787
|
return n;
|
|
@@ -1779,7 +1799,7 @@ function $e(n, l, e) {
|
|
|
1779
1799
|
typeof p == "string" && (n = n.replace(new RegExp(`\\${m}(\\W|$)`, "g"), (u, r) => `${p}${r}`).trim());
|
|
1780
1800
|
}), n.includes(ie) && (n.endsWith(ie) && (n = n.slice(0, -ie.length).trim()), n.startsWith(ie) && (n = n.slice(ie.length).trim()), n = n.replace(new RegExp(`\\${ie}\\s*\\${ie}`, "g"), ie), n = $e(n, { separator: e }, e)), n;
|
|
1781
1801
|
}
|
|
1782
|
-
async function
|
|
1802
|
+
async function kn(n, l = {}) {
|
|
1783
1803
|
const e = l.document || n.resolvedOptions.document;
|
|
1784
1804
|
if (!e || !n.dirty)
|
|
1785
1805
|
return;
|
|
@@ -1788,7 +1808,7 @@ async function gn(n, l = {}) {
|
|
|
1788
1808
|
return;
|
|
1789
1809
|
const i = (await n.resolveTags()).map((d) => ({
|
|
1790
1810
|
tag: d,
|
|
1791
|
-
id: Te.includes(d.tag) ?
|
|
1811
|
+
id: Te.includes(d.tag) ? pt(d) : d.tag,
|
|
1792
1812
|
shouldRender: !0
|
|
1793
1813
|
}));
|
|
1794
1814
|
let s = n._dom;
|
|
@@ -1801,15 +1821,15 @@ async function gn(n, l = {}) {
|
|
|
1801
1821
|
for (const P of [...h].filter(($) => Te.includes($.tagName.toLowerCase()))) {
|
|
1802
1822
|
const $ = {
|
|
1803
1823
|
tag: P.tagName.toLowerCase(),
|
|
1804
|
-
props: await
|
|
1824
|
+
props: await At(
|
|
1805
1825
|
P.getAttributeNames().reduce((k, C) => ({ ...k, [C]: P.getAttribute(C) }), {})
|
|
1806
1826
|
),
|
|
1807
1827
|
innerHTML: P.innerHTML
|
|
1808
1828
|
};
|
|
1809
|
-
let S = 1, B =
|
|
1829
|
+
let S = 1, B = Pt($);
|
|
1810
1830
|
for (; B && V.find((k) => k._d === B); )
|
|
1811
1831
|
B = `${B}:${S++}`;
|
|
1812
|
-
$._d = B || void 0, V.push($), s.elMap[P.getAttribute("data-hid") ||
|
|
1832
|
+
$._d = B || void 0, V.push($), s.elMap[P.getAttribute("data-hid") || pt($)] = P;
|
|
1813
1833
|
}
|
|
1814
1834
|
}
|
|
1815
1835
|
}
|
|
@@ -1866,33 +1886,33 @@ async function gn(n, l = {}) {
|
|
|
1866
1886
|
await n.hooks.callHook("dom:renderTag", d, e, m);
|
|
1867
1887
|
r.head && e.head.appendChild(r.head), r.bodyOpen && e.body.insertBefore(r.bodyOpen, e.body.firstChild), r.bodyClose && e.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((d) => d()), n._dom = s, n.dirty = !1, await n.hooks.callHook("dom:rendered", { renders: i });
|
|
1868
1888
|
}
|
|
1869
|
-
async function
|
|
1889
|
+
async function bn(n, l = {}) {
|
|
1870
1890
|
const e = l.delayFn || ((t) => setTimeout(t, 10));
|
|
1871
1891
|
return n._domUpdatePromise = n._domUpdatePromise || new Promise((t) => e(async () => {
|
|
1872
|
-
await
|
|
1892
|
+
await kn(n, l), delete n._domUpdatePromise, t();
|
|
1873
1893
|
}));
|
|
1874
1894
|
}
|
|
1875
1895
|
// @__NO_SIDE_EFFECTS__
|
|
1876
|
-
function
|
|
1896
|
+
function _n(n) {
|
|
1877
1897
|
return (l) => {
|
|
1878
1898
|
const e = l.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
1879
1899
|
return e && l.push(JSON.parse(e)), {
|
|
1880
1900
|
mode: "client",
|
|
1881
1901
|
hooks: {
|
|
1882
1902
|
"entries:updated": function(t) {
|
|
1883
|
-
|
|
1903
|
+
bn(t, n);
|
|
1884
1904
|
}
|
|
1885
1905
|
}
|
|
1886
1906
|
};
|
|
1887
1907
|
};
|
|
1888
1908
|
}
|
|
1889
|
-
const
|
|
1909
|
+
const Vn = ["templateParams", "htmlAttrs", "bodyAttrs"], Tn = {
|
|
1890
1910
|
hooks: {
|
|
1891
1911
|
"tag:normalise": function({ tag: n }) {
|
|
1892
1912
|
["hid", "vmid", "key"].forEach((t) => {
|
|
1893
1913
|
n.props[t] && (n.key = n.props[t], delete n.props[t]);
|
|
1894
1914
|
});
|
|
1895
|
-
const e =
|
|
1915
|
+
const e = Pt(n) || (n.key ? `${n.tag}:${n.key}` : !1);
|
|
1896
1916
|
e && (n._d = e);
|
|
1897
1917
|
},
|
|
1898
1918
|
"tags:resolve": function(n) {
|
|
@@ -1901,7 +1921,7 @@ const _n = ["templateParams", "htmlAttrs", "bodyAttrs"], Vn = {
|
|
|
1901
1921
|
const i = (t.key ? `${t.tag}:${t.key}` : t._d) || t._p, s = l[i];
|
|
1902
1922
|
if (s) {
|
|
1903
1923
|
let p = t?.tagDuplicateStrategy;
|
|
1904
|
-
if (!p &&
|
|
1924
|
+
if (!p && Vn.includes(t.tag) && (p = "merge"), p === "merge") {
|
|
1905
1925
|
const u = s.props;
|
|
1906
1926
|
["class", "style"].forEach((r) => {
|
|
1907
1927
|
u[r] && (t.props[r] ? (r === "style" && !u[r].endsWith(";") && (u[r] += ";"), t.props[r] = `${u[r]} ${t.props[r]}`) : t.props[r] = u[r]);
|
|
@@ -1913,7 +1933,7 @@ const _n = ["templateParams", "htmlAttrs", "bodyAttrs"], Vn = {
|
|
|
1913
1933
|
} else if (t._e === s._e) {
|
|
1914
1934
|
s._duped = s._duped || [], t._d = `${s._d}:${s._duped.length + 1}`, s._duped.push(t);
|
|
1915
1935
|
return;
|
|
1916
|
-
} else if (
|
|
1936
|
+
} else if (He(t) > He(s))
|
|
1917
1937
|
return;
|
|
1918
1938
|
}
|
|
1919
1939
|
const m = Object.keys(t.props).length + (t.innerHTML ? 1 : 0) + (t.textContent ? 1 : 0);
|
|
@@ -1930,7 +1950,7 @@ const _n = ["templateParams", "htmlAttrs", "bodyAttrs"], Vn = {
|
|
|
1930
1950
|
}), n.tags = e, n.tags = n.tags.filter((t) => !(t.tag === "meta" && (t.props.name || t.props.property) && !t.props.content));
|
|
1931
1951
|
}
|
|
1932
1952
|
}
|
|
1933
|
-
},
|
|
1953
|
+
}, $n = {
|
|
1934
1954
|
mode: "server",
|
|
1935
1955
|
hooks: {
|
|
1936
1956
|
"tags:resolve": function(n) {
|
|
@@ -1944,52 +1964,52 @@ const _n = ["templateParams", "htmlAttrs", "bodyAttrs"], Vn = {
|
|
|
1944
1964
|
});
|
|
1945
1965
|
}
|
|
1946
1966
|
}
|
|
1947
|
-
},
|
|
1967
|
+
}, Cn = ["script", "link", "bodyAttrs"], wn = (n) => ({
|
|
1948
1968
|
hooks: {
|
|
1949
1969
|
"tags:resolve": function(l) {
|
|
1950
|
-
for (const e of l.tags.filter((t) =>
|
|
1970
|
+
for (const e of l.tags.filter((t) => Cn.includes(t.tag)))
|
|
1951
1971
|
Object.entries(e.props).forEach(([t, i]) => {
|
|
1952
|
-
t.startsWith("on") && typeof i == "function" && (n.ssr &&
|
|
1953
|
-
}), n.ssr && e._eventHandlers && (e.props.src || e.props.href) && (e.key = e.key ||
|
|
1972
|
+
t.startsWith("on") && typeof i == "function" && (n.ssr && vt.includes(t) ? e.props[t] = `this.dataset.${t}fired = true` : delete e.props[t], e._eventHandlers = e._eventHandlers || {}, e._eventHandlers[t] = i);
|
|
1973
|
+
}), n.ssr && e._eventHandlers && (e.props.src || e.props.href) && (e.key = e.key || ot(e.props.src || e.props.href));
|
|
1954
1974
|
},
|
|
1955
1975
|
"dom:renderTag": function({ $el: l, tag: e }) {
|
|
1956
|
-
for (const t of Object.keys(l?.dataset || {}).filter((i) =>
|
|
1976
|
+
for (const t of Object.keys(l?.dataset || {}).filter((i) => vt.some((s) => `${s}fired` === i))) {
|
|
1957
1977
|
const i = t.replace("fired", "");
|
|
1958
1978
|
e._eventHandlers?.[i]?.call(l, new Event(i.replace("on", "")));
|
|
1959
1979
|
}
|
|
1960
1980
|
}
|
|
1961
1981
|
}
|
|
1962
|
-
}),
|
|
1982
|
+
}), Pn = ["link", "style", "script", "noscript"], An = {
|
|
1963
1983
|
hooks: {
|
|
1964
1984
|
"tag:normalise": ({ tag: n }) => {
|
|
1965
|
-
n.key &&
|
|
1985
|
+
n.key && Pn.includes(n.tag) && (n.props["data-hid"] = n._h = ot(n.key));
|
|
1966
1986
|
}
|
|
1967
1987
|
}
|
|
1968
|
-
},
|
|
1988
|
+
}, Dn = {
|
|
1969
1989
|
hooks: {
|
|
1970
1990
|
"tags:resolve": (n) => {
|
|
1971
1991
|
const l = (e) => n.tags.find((t) => t._d === e)?._p;
|
|
1972
|
-
for (const { prefix: e, offset: t } of
|
|
1992
|
+
for (const { prefix: e, offset: t } of gn)
|
|
1973
1993
|
for (const i of n.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(e))) {
|
|
1974
1994
|
const s = l(
|
|
1975
1995
|
i.tagPriority.replace(e, "")
|
|
1976
1996
|
);
|
|
1977
1997
|
typeof s < "u" && (i._p = s + t);
|
|
1978
1998
|
}
|
|
1979
|
-
n.tags.sort((e, t) => e._p - t._p).sort((e, t) =>
|
|
1999
|
+
n.tags.sort((e, t) => e._p - t._p).sort((e, t) => He(e) - He(t));
|
|
1980
2000
|
}
|
|
1981
2001
|
}
|
|
1982
|
-
},
|
|
2002
|
+
}, Hn = {
|
|
1983
2003
|
meta: "content",
|
|
1984
2004
|
link: "href",
|
|
1985
2005
|
htmlAttrs: "lang"
|
|
1986
|
-
},
|
|
2006
|
+
}, In = (n) => ({
|
|
1987
2007
|
hooks: {
|
|
1988
2008
|
"tags:resolve": (l) => {
|
|
1989
2009
|
const { tags: e } = l, t = e.find((p) => p.tag === "title")?.textContent, i = e.findIndex((p) => p.tag === "templateParams"), s = i !== -1 ? e[i].props : {}, m = s.separator || "|";
|
|
1990
2010
|
delete s.separator, s.pageTitle = $e(s.pageTitle || t || "", s, m);
|
|
1991
2011
|
for (const p of e.filter((u) => u.processTemplateParams !== !1)) {
|
|
1992
|
-
const u =
|
|
2012
|
+
const u = Hn[p.tag];
|
|
1993
2013
|
u && typeof p.props[u] == "string" ? p.props[u] = $e(p.props[u], s, m) : (p.processTemplateParams === !0 || ["titleTemplate", "title"].includes(p.tag)) && ["innerHTML", "textContent"].forEach((r) => {
|
|
1994
2014
|
typeof p[r] == "string" && (p[r] = $e(p[r], s, m));
|
|
1995
2015
|
});
|
|
@@ -1997,20 +2017,20 @@ const _n = ["templateParams", "htmlAttrs", "bodyAttrs"], Vn = {
|
|
|
1997
2017
|
n._templateParams = s, n._separator = m, l.tags = e.filter((p) => p.tag !== "templateParams");
|
|
1998
2018
|
}
|
|
1999
2019
|
}
|
|
2000
|
-
}),
|
|
2020
|
+
}), Sn = {
|
|
2001
2021
|
hooks: {
|
|
2002
2022
|
"tags:resolve": (n) => {
|
|
2003
2023
|
const { tags: l } = n;
|
|
2004
2024
|
let e = l.findIndex((i) => i.tag === "titleTemplate");
|
|
2005
2025
|
const t = l.findIndex((i) => i.tag === "title");
|
|
2006
2026
|
if (t !== -1 && e !== -1) {
|
|
2007
|
-
const i =
|
|
2027
|
+
const i = mt(
|
|
2008
2028
|
l[e].textContent,
|
|
2009
2029
|
l[t].textContent
|
|
2010
2030
|
);
|
|
2011
2031
|
i !== null ? l[t].textContent = i || l[t].textContent : delete l[t];
|
|
2012
2032
|
} else if (e !== -1) {
|
|
2013
|
-
const i =
|
|
2033
|
+
const i = mt(
|
|
2014
2034
|
l[e].textContent
|
|
2015
2035
|
);
|
|
2016
2036
|
i !== null && (l[e].textContent = i, l[e].tag = "title", e = -1);
|
|
@@ -2018,7 +2038,7 @@ const _n = ["templateParams", "htmlAttrs", "bodyAttrs"], Vn = {
|
|
|
2018
2038
|
e !== -1 && delete l[e], n.tags = l.filter(Boolean);
|
|
2019
2039
|
}
|
|
2020
2040
|
}
|
|
2021
|
-
},
|
|
2041
|
+
}, Bn = {
|
|
2022
2042
|
hooks: {
|
|
2023
2043
|
"tags:afterResolve": function(n) {
|
|
2024
2044
|
for (const l of n.tags)
|
|
@@ -2027,16 +2047,16 @@ const _n = ["templateParams", "htmlAttrs", "bodyAttrs"], Vn = {
|
|
|
2027
2047
|
}
|
|
2028
2048
|
};
|
|
2029
2049
|
// @__NO_SIDE_EFFECTS__
|
|
2030
|
-
function
|
|
2031
|
-
const l =
|
|
2032
|
-
return l.use(/* @__PURE__ */
|
|
2050
|
+
function En(n = {}) {
|
|
2051
|
+
const l = Mn(n);
|
|
2052
|
+
return l.use(/* @__PURE__ */ _n()), l;
|
|
2033
2053
|
}
|
|
2034
|
-
function
|
|
2054
|
+
function yt(n, l) {
|
|
2035
2055
|
return !n || n === "server" && l || n === "client" && !l;
|
|
2036
2056
|
}
|
|
2037
|
-
function
|
|
2038
|
-
const l =
|
|
2039
|
-
l.addHooks(n.hooks || {}), n.document = n.document || (
|
|
2057
|
+
function Mn(n = {}) {
|
|
2058
|
+
const l = rn();
|
|
2059
|
+
l.addHooks(n.hooks || {}), n.document = n.document || (mn ? document : void 0);
|
|
2040
2060
|
const e = !n.document, t = () => {
|
|
2041
2061
|
p.dirty = !0, l.callHook("entries:updated", p);
|
|
2042
2062
|
};
|
|
@@ -2051,7 +2071,7 @@ function En(n = {}) {
|
|
|
2051
2071
|
},
|
|
2052
2072
|
use(u) {
|
|
2053
2073
|
const r = typeof u == "function" ? u(p) : u;
|
|
2054
|
-
(!r.key || !m.some((d) => d.key === r.key)) && (m.push(r),
|
|
2074
|
+
(!r.key || !m.some((d) => d.key === r.key)) && (m.push(r), yt(r.mode, e) && l.addHooks(r.hooks || {}));
|
|
2055
2075
|
},
|
|
2056
2076
|
push(u, r) {
|
|
2057
2077
|
delete r?.head;
|
|
@@ -2060,7 +2080,7 @@ function En(n = {}) {
|
|
|
2060
2080
|
input: u,
|
|
2061
2081
|
...r
|
|
2062
2082
|
};
|
|
2063
|
-
return
|
|
2083
|
+
return yt(d.mode, e) && (s.push(d), t()), {
|
|
2064
2084
|
dispose() {
|
|
2065
2085
|
s = s.filter((h) => h._i !== d._i), l.callHook("entries:updated", p), t();
|
|
2066
2086
|
},
|
|
@@ -2076,7 +2096,7 @@ function En(n = {}) {
|
|
|
2076
2096
|
for (const r of u.entries) {
|
|
2077
2097
|
const d = r.resolvedInput || r.input;
|
|
2078
2098
|
if (r.resolvedInput = await (r.transform ? r.transform(d) : d), r.resolvedInput)
|
|
2079
|
-
for (const h of await
|
|
2099
|
+
for (const h of await yn(r)) {
|
|
2080
2100
|
const V = { tag: h, entry: r, resolvedOptions: p.resolvedOptions };
|
|
2081
2101
|
await l.callHook("tag:normalise", V), u.tags.push(V.tag);
|
|
2082
2102
|
}
|
|
@@ -2086,51 +2106,51 @@ function En(n = {}) {
|
|
|
2086
2106
|
ssr: e
|
|
2087
2107
|
};
|
|
2088
2108
|
return [
|
|
2089
|
-
Vn,
|
|
2090
2109
|
Tn,
|
|
2091
|
-
|
|
2092
|
-
|
|
2110
|
+
$n,
|
|
2111
|
+
wn,
|
|
2093
2112
|
An,
|
|
2094
|
-
|
|
2113
|
+
Dn,
|
|
2095
2114
|
In,
|
|
2096
2115
|
Sn,
|
|
2116
|
+
Bn,
|
|
2097
2117
|
...n?.plugins || []
|
|
2098
2118
|
].forEach((u) => p.use(u)), p.hooks.callHook("init", p), p;
|
|
2099
2119
|
}
|
|
2100
|
-
const
|
|
2120
|
+
const Ln = to.startsWith("3");
|
|
2101
2121
|
function Un(n) {
|
|
2102
2122
|
return typeof n == "function" ? n() : o(n);
|
|
2103
2123
|
}
|
|
2104
|
-
function
|
|
2124
|
+
function Ze(n, l = "") {
|
|
2105
2125
|
if (n instanceof Promise)
|
|
2106
2126
|
return n;
|
|
2107
2127
|
const e = Un(n);
|
|
2108
|
-
return !n || !e ? e : Array.isArray(e) ? e.map((t) =>
|
|
2109
|
-
Object.entries(e).map(([t, i]) => t === "titleTemplate" || t.startsWith("on") ? [t, o(i)] : [t,
|
|
2128
|
+
return !n || !e ? e : Array.isArray(e) ? e.map((t) => Ze(t, l)) : typeof e == "object" ? Object.fromEntries(
|
|
2129
|
+
Object.entries(e).map(([t, i]) => t === "titleTemplate" || t.startsWith("on") ? [t, o(i)] : [t, Ze(i, t)])
|
|
2110
2130
|
) : e;
|
|
2111
2131
|
}
|
|
2112
2132
|
const Rn = {
|
|
2113
2133
|
hooks: {
|
|
2114
2134
|
"entries:resolve": function(n) {
|
|
2115
2135
|
for (const l of n.entries)
|
|
2116
|
-
l.resolvedInput =
|
|
2136
|
+
l.resolvedInput = Ze(l.input);
|
|
2117
2137
|
}
|
|
2118
2138
|
}
|
|
2119
|
-
},
|
|
2120
|
-
function
|
|
2139
|
+
}, Nn = "usehead";
|
|
2140
|
+
function Fn(n) {
|
|
2121
2141
|
return {
|
|
2122
2142
|
install(e) {
|
|
2123
|
-
|
|
2143
|
+
Ln && (e.config.globalProperties.$unhead = n, e.config.globalProperties.$head = n, e.provide(Nn, n));
|
|
2124
2144
|
}
|
|
2125
2145
|
}.install;
|
|
2126
2146
|
}
|
|
2127
|
-
function
|
|
2147
|
+
function On(n = {}) {
|
|
2128
2148
|
n.domDelayFn = n.domDelayFn || ((e) => eo(() => setTimeout(() => e(), 0)));
|
|
2129
|
-
const l = /* @__PURE__ */
|
|
2130
|
-
return l.use(Rn), l.install =
|
|
2149
|
+
const l = /* @__PURE__ */ En(n);
|
|
2150
|
+
return l.use(Rn), l.install = Fn(l), l;
|
|
2131
2151
|
}
|
|
2132
|
-
const
|
|
2133
|
-
class
|
|
2152
|
+
const jn = uo(), Gn = On(), qn = mo();
|
|
2153
|
+
class Wn extends HTMLElement {
|
|
2134
2154
|
vueApp;
|
|
2135
2155
|
constructor() {
|
|
2136
2156
|
super();
|
|
@@ -2152,13 +2172,13 @@ class qn extends HTMLElement {
|
|
|
2152
2172
|
let r = this.attributes.getNamedItem(u)?.value;
|
|
2153
2173
|
m.hasOwnProperty(u) && (r = m[u]), s[u] = r;
|
|
2154
2174
|
}
|
|
2155
|
-
this.vueApp = oo(Ve, s), this.vueApp.provide("emitter",
|
|
2175
|
+
this.vueApp = oo(Ve, s), this.vueApp.provide("emitter", qn), this.vueApp.use(Gn), this.vueApp.use(jn), this.vueApp.use(bo), this.vueApp.use(co), this.vueApp.use(_o), this.vueApp.use(po, { bootstrap: !0 });
|
|
2156
2176
|
const p = document.createElement("div");
|
|
2157
2177
|
this.vueApp.mount(p), this.appendChild(p.children[0]);
|
|
2158
2178
|
}
|
|
2159
2179
|
}
|
|
2160
|
-
window.customElements.define("konnectio-hotel",
|
|
2180
|
+
window.customElements.define("konnectio-hotel", Wn);
|
|
2161
2181
|
export {
|
|
2162
|
-
|
|
2182
|
+
Wn as default
|
|
2163
2183
|
};
|
|
2164
2184
|
//# sourceMappingURL=hotel.js.map
|