@konnectio/core 4.0.80 → 4.0.81
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-CvQ0YUxr.js → ActionField-CTdoYeCb.js} +3 -3
- package/dist/ActionField-CTdoYeCb.js.br +0 -0
- package/dist/{AvailabilitySkeleton-BE4L1nd9.js → AvailabilitySkeleton-goa9gs9v.js} +6 -6
- package/dist/AvailabilitySkeleton-goa9gs9v.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CKFyiTSe.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-b67PURkf.js} +4 -4
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-b67PURkf.js.br +0 -0
- package/dist/{CheckoutWindow-DuKRLFkx.js → CheckoutWindow-CiImalcO.js} +4 -4
- package/dist/CheckoutWindow-CiImalcO.js.br +0 -0
- package/dist/{ErrorMessage-DdHNHm5r.js → ErrorMessage-noDYCPm1.js} +3 -3
- package/dist/ErrorMessage-noDYCPm1.js.br +0 -0
- package/dist/{EventAvailabilityForm-SfWnl0dH.js → EventAvailabilityForm-9NeWNNcp.js} +5 -5
- package/dist/EventAvailabilityForm-9NeWNNcp.js.br +0 -0
- package/dist/{Field-7wRhrgF1.js → Field-BWYA1VPD.js} +3 -3
- package/dist/Field-BWYA1VPD.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BzUYVcum.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DYwA6hiM.js} +1636 -1637
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DYwA6hiM.js.br +0 -0
- package/dist/{TermsOfService-CGd1v8bv.js → TermsOfService-Ck17xk9Q.js} +5 -5
- package/dist/TermsOfService-Ck17xk9Q.js.br +0 -0
- package/dist/{_-BdhU6Q-9.js → _-Cd2-tqPM.js} +2 -2
- package/dist/{_.vue_vue_type_style_index_0_lang-fhGwRVNV.js → _.vue_vue_type_style_index_0_lang-NE_Zq7Js.js} +3 -3
- package/dist/_.vue_vue_type_style_index_0_lang-NE_Zq7Js.js.br +0 -0
- package/dist/{_commonjsHelpers-B783nPtq.js → _commonjsHelpers-wQPQJtsq.js} +2 -2
- package/dist/_commonjsHelpers-wQPQJtsq.js.br +0 -0
- package/dist/{_sentry-release-injection-file-DuTrFXi9.js → _sentry-release-injection-file-DNUh2Gjq.js} +3 -3
- package/dist/_sentry-release-injection-file-DNUh2Gjq.js.br +0 -0
- package/dist/availability.js +8 -8
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +2 -2
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +10 -10
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +10 -10
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +11 -11
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-Cym4np9i.js → giftCard-DrwsQrjA.js} +4 -4
- package/dist/giftCard-DrwsQrjA.js.br +0 -0
- package/dist/hotel.js +450 -445
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-Dq7Bgo5Z.js → masonry.plugin-DD0W9fy2.js} +8 -8
- package/dist/masonry.plugin-DD0W9fy2.js.br +0 -0
- package/dist/{mitt-D8TbGxgr.js → mitt-BeqJ2MFv.js} +2 -2
- package/dist/mitt-BeqJ2MFv.js.br +0 -0
- package/dist/polyfill.js +98 -102
- package/dist/polyfill.js.br +0 -0
- package/dist/{sentry-w--IXIuo.js → sentry-Bmg62TCa.js} +2 -2
- package/dist/{style-D8yY0ZfC.js → style-DcfCYaKA.js} +2 -2
- package/dist/style-DcfCYaKA.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +2 -2
- package/dist/ActionField-CvQ0YUxr.js.br +0 -0
- package/dist/AvailabilitySkeleton-BE4L1nd9.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-CKFyiTSe.js.br +0 -0
- package/dist/CheckoutWindow-DuKRLFkx.js.br +0 -0
- package/dist/ErrorMessage-DdHNHm5r.js.br +0 -0
- package/dist/EventAvailabilityForm-SfWnl0dH.js.br +0 -0
- package/dist/Field-7wRhrgF1.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-BzUYVcum.js.br +0 -0
- package/dist/TermsOfService-CGd1v8bv.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-fhGwRVNV.js.br +0 -0
- package/dist/_commonjsHelpers-B783nPtq.js.br +0 -0
- package/dist/_sentry-release-injection-file-DuTrFXi9.js.br +0 -0
- package/dist/giftCard-Cym4np9i.js.br +0 -0
- package/dist/masonry.plugin-Dq7Bgo5Z.js.br +0 -0
- package/dist/mitt-D8TbGxgr.js.br +0 -0
- package/dist/style-D8yY0ZfC.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { d as ee, r as ae, C as so, a as d, b as A, q as ro, u as e, w, g as
|
|
2
|
-
import { u as ie, s as Z, T as ho, c as vo, l as yo, i as
|
|
3
|
-
import { d as Pe, x as ve, u as Ce, I as W, s as le, y as we, l as Qe, i as pe, g as ne, _ as fe, n as
|
|
4
|
-
import { G as To } from "./style-
|
|
5
|
-
import { R as Co, B as Re, L as Po, S as Ao, M as Do, b as Xe, C as So, T as Ho, V as Io, a as Eo } from "./masonry.plugin-
|
|
6
|
-
import { A as
|
|
7
|
-
import { S as
|
|
8
|
-
import { C as Te, B as Ro, P as Lo, a as Uo } from "./CheckoutWindow-
|
|
9
|
-
import { _ as Ht } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-
|
|
1
|
+
import { d as ee, r as ae, C as so, a as d, b as A, q as ro, u as e, w, g as v, e as a, t as h, A as Se, B as ze, f as y, i as _, s as G, F, l as Ye, x as tt, v as j, h as Pt, p as at, j as it, c as x, o as st, z as Ee, n as Ne, S as uo, D as co, E as po, G as mo, k as fo } from "./_sentry-release-injection-file-DNUh2Gjq.js";
|
|
2
|
+
import { u as ie, s as Z, T as ho, c as vo, l as yo, i as bo, m as go } from "./mitt-BeqJ2MFv.js";
|
|
3
|
+
import { d as Pe, x as ve, u as Ce, I as W, s as le, y as we, l as Qe, i as pe, g as ne, _ as fe, n as Be, z as At, b as ot, c as me, B as Dt, a as St, A as vt, T as ce, p as ko, D as _o, C as Vo, h as yt, j as $o, k as bt, m as wo } from "./Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-DYwA6hiM.js";
|
|
4
|
+
import { G as To } from "./style-DcfCYaKA.js";
|
|
5
|
+
import { R as Co, B as Re, L as Po, S as Ao, M as Do, b as Xe, C as So, T as Ho, V as Io, a as Eo } from "./masonry.plugin-DD0W9fy2.js";
|
|
6
|
+
import { A as No, H as Mo } from "./AvailabilitySkeleton-goa9gs9v.js";
|
|
7
|
+
import { S as Bo } from "./TermsOfService-Ck17xk9Q.js";
|
|
8
|
+
import { C as Te, B as Ro, P as Lo, a as Uo } from "./CheckoutWindow-CiImalcO.js";
|
|
9
|
+
import { _ as Ht } from "./AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_cebeb733_lang-b67PURkf.js";
|
|
10
10
|
(function() {
|
|
11
11
|
try {
|
|
12
12
|
var n = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, l = new Error().stack;
|
|
13
|
-
l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "
|
|
13
|
+
l && (n._sentryDebugIds = n._sentryDebugIds || {}, n._sentryDebugIds[l] = "d2072542-099d-4305-a5de-6947b8795451", n._sentryDebugIdIdentifier = "sentry-dbid-d2072542-099d-4305-a5de-6947b8795451");
|
|
14
14
|
} catch {
|
|
15
15
|
}
|
|
16
16
|
})();
|
|
@@ -41,21 +41,21 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
41
41
|
arrivalDefault: s,
|
|
42
42
|
departureDefault: m,
|
|
43
43
|
disableNewsletterSignup: p,
|
|
44
|
-
currency:
|
|
44
|
+
currency: u
|
|
45
45
|
} = Z(Pe()), {
|
|
46
46
|
arrivalTime: r,
|
|
47
|
-
departureTime:
|
|
47
|
+
departureTime: c,
|
|
48
48
|
roomDisplay: f,
|
|
49
49
|
templateID: $,
|
|
50
50
|
totalPrice: T,
|
|
51
51
|
areListingsLoading: C,
|
|
52
52
|
getSelectedPackageRoom: I,
|
|
53
|
-
selectedPackage:
|
|
54
|
-
discountVouchers:
|
|
53
|
+
selectedPackage: B,
|
|
54
|
+
discountVouchers: M,
|
|
55
55
|
currentArrivalDate: E,
|
|
56
56
|
currentDepartureDate: k,
|
|
57
57
|
datesMismatch: D,
|
|
58
|
-
currentLocation:
|
|
58
|
+
currentLocation: N,
|
|
59
59
|
locationMismatch: z,
|
|
60
60
|
newsMails: R,
|
|
61
61
|
termsOfService: Y,
|
|
@@ -64,8 +64,8 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
64
64
|
acceptTerms: te,
|
|
65
65
|
totalTemplateAddonPrice: q,
|
|
66
66
|
totalRooms: ye,
|
|
67
|
-
totalAdults:
|
|
68
|
-
totalChildren:
|
|
67
|
+
totalAdults: be,
|
|
68
|
+
totalChildren: ge
|
|
69
69
|
} = Z(ve()), { hasHotelLocations: Le } = Z(Ce()), { removeRoom: dt, validateDiscountCode: Ue } = ve(), { getHotelLocationName: Ae } = Ce(), he = ae(!1);
|
|
70
70
|
function ke(Q) {
|
|
71
71
|
return Q.reduce(($e, { totalPrice: O }) => $e + O, 0);
|
|
@@ -87,66 +87,66 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
87
87
|
Ye(Q.$slots, "form", {}, void 0, !0)
|
|
88
88
|
]),
|
|
89
89
|
"price-summary": w(() => [
|
|
90
|
-
isNaN(e($)) && e(f).length > 0 ? (d(!0),
|
|
90
|
+
isNaN(e($)) && e(f).length > 0 ? (d(!0), v(F, { key: 0 }, G(e(f), ({
|
|
91
91
|
roomGroupID: O,
|
|
92
92
|
title: Fe,
|
|
93
93
|
variants: Oe
|
|
94
|
-
}) => (d(),
|
|
94
|
+
}) => (d(), v("div", { key: O }, [
|
|
95
95
|
a("h6", null, [
|
|
96
|
-
a("span", null,
|
|
96
|
+
a("span", null, h(Fe), 1)
|
|
97
97
|
]),
|
|
98
|
-
(d(!0),
|
|
99
|
-
(d(!0),
|
|
98
|
+
(d(!0), v(F, null, G(Oe, (_e, je) => (d(), v("div", { key: je }, [
|
|
99
|
+
(d(!0), v(F, null, G(_e.rooms, (re, qe) => (d(), v("ul", { key: qe }, [
|
|
100
100
|
a("li", null, [
|
|
101
101
|
a("span", null, [
|
|
102
102
|
a("span", null, [
|
|
103
|
-
tt(
|
|
103
|
+
tt(h(e(pe)(_e.name)) + " ( ", 1),
|
|
104
104
|
y(W, {
|
|
105
105
|
icon: "male",
|
|
106
106
|
type: "fas",
|
|
107
107
|
color: "font"
|
|
108
108
|
}),
|
|
109
|
-
a("span", null,
|
|
110
|
-
re.childrenCount > 0 ? (d(),
|
|
109
|
+
a("span", null, h(re.adultsCount), 1),
|
|
110
|
+
re.childrenCount > 0 ? (d(), v(F, { key: 0 }, [
|
|
111
111
|
y(W, {
|
|
112
112
|
icon: "child",
|
|
113
113
|
type: "fas",
|
|
114
114
|
color: "font"
|
|
115
115
|
}),
|
|
116
|
-
a("span", null,
|
|
116
|
+
a("span", null, h(re.childrenCount), 1)
|
|
117
117
|
], 64)) : _("", !0),
|
|
118
118
|
tt(") ")
|
|
119
119
|
])
|
|
120
120
|
]),
|
|
121
121
|
a("b", null, [
|
|
122
|
-
a("span", null,
|
|
122
|
+
a("span", null, h(e(ne)(re.totalPrice, e(u))), 1),
|
|
123
123
|
_("", !0)
|
|
124
124
|
])
|
|
125
125
|
]),
|
|
126
|
-
ke(re.roomAddons) > 0 ? (d(),
|
|
127
|
-
a("span", null,
|
|
128
|
-
a("b", null,
|
|
126
|
+
ke(re.roomAddons) > 0 ? (d(), v("li", Wo, [
|
|
127
|
+
a("span", null, h(e(l)("general.addons")), 1),
|
|
128
|
+
a("b", null, h(e(ne)(ke(re.roomAddons), e(u))), 1)
|
|
129
129
|
])) : _("", !0)
|
|
130
130
|
]))), 128))
|
|
131
131
|
]))), 128))
|
|
132
132
|
]))), 128)) : _("", !0),
|
|
133
|
-
e(I) && e(
|
|
133
|
+
e(I) && e(B) ? (d(), v("div", xo, [
|
|
134
134
|
a("h6", null, [
|
|
135
|
-
a("span", null,
|
|
135
|
+
a("span", null, h(e(pe)(e(B).name)), 1)
|
|
136
136
|
]),
|
|
137
137
|
a("div", null, [
|
|
138
138
|
a("ul", null, [
|
|
139
139
|
a("li", null, [
|
|
140
140
|
a("span", null, [
|
|
141
|
-
a("span", null,
|
|
141
|
+
a("span", null, h(e(pe)(e(I).title)), 1)
|
|
142
142
|
]),
|
|
143
143
|
a("b", null, [
|
|
144
|
-
a("span", null,
|
|
144
|
+
a("span", null, h(e(ne)(e(I).extraPrice, e(u))), 1)
|
|
145
145
|
])
|
|
146
146
|
]),
|
|
147
|
-
e(q) ? (d(),
|
|
148
|
-
a("span", null,
|
|
149
|
-
a("b", null,
|
|
147
|
+
e(q) ? (d(), v("li", Ko, [
|
|
148
|
+
a("span", null, h(e(l)("general.addons")), 1),
|
|
149
|
+
a("b", null, h(e(ne)(e(q), e(u))), 1)
|
|
150
150
|
])) : _("", !0)
|
|
151
151
|
])
|
|
152
152
|
])
|
|
@@ -154,7 +154,7 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
154
154
|
]),
|
|
155
155
|
actions: w(() => [
|
|
156
156
|
a("ul", Jo, [
|
|
157
|
-
e(p) ? _("", !0) : (d(),
|
|
157
|
+
e(p) ? _("", !0) : (d(), v("div", zo, [
|
|
158
158
|
y(Te, {
|
|
159
159
|
modelValue: e(R),
|
|
160
160
|
"onUpdate:modelValue": K[0] || (K[0] = (O) => j(R) ? R.value = O : null),
|
|
@@ -181,7 +181,7 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
181
181
|
class: "konnectio-accept-terms-link",
|
|
182
182
|
onClick: K[1] || (K[1] = Pt((O) => he.value = !0, ["prevent"]))
|
|
183
183
|
}, [
|
|
184
|
-
a("span", null,
|
|
184
|
+
a("span", null, h(e(Qe)(e(l)("general.termsAndConditions"))), 1)
|
|
185
185
|
])
|
|
186
186
|
]),
|
|
187
187
|
_: 1
|
|
@@ -190,7 +190,7 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
190
190
|
_: 1
|
|
191
191
|
}, 8, ["modelValue"])) : _("", !0),
|
|
192
192
|
Ye(Q.$slots, "actions", {}, void 0, !0),
|
|
193
|
-
y(
|
|
193
|
+
y(Bo, {
|
|
194
194
|
modelValue: he.value,
|
|
195
195
|
"onUpdate:modelValue": K[3] || (K[3] = (O) => he.value = O),
|
|
196
196
|
description: e(Y)
|
|
@@ -202,8 +202,8 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
202
202
|
]),
|
|
203
203
|
"mobile-under-price": w(() => [
|
|
204
204
|
Yo,
|
|
205
|
-
a("b", null,
|
|
206
|
-
Se((d(),
|
|
205
|
+
a("b", null, h(e(we)(e(E), e(k))) + " " + h(e(Qe)(e(we)(e(E), e(k)) === 1 ? e(l)("booking.reservation.night") : e(l)("booking.reservation.nights"))), 1),
|
|
206
|
+
Se((d(), v("span", Qo, [
|
|
207
207
|
y(W, {
|
|
208
208
|
icon: "circle-info",
|
|
209
209
|
type: "fas"
|
|
@@ -217,19 +217,19 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
217
217
|
])
|
|
218
218
|
]),
|
|
219
219
|
"mobile-summary": w(() => [
|
|
220
|
-
a("span", null,
|
|
221
|
-
a("span", null,
|
|
222
|
-
a("span", null,
|
|
220
|
+
a("span", null, h(`${e(be)} ${e(be) === 1 ? e(l)("general.adult") : e(l)("general.adults")}`), 1),
|
|
221
|
+
a("span", null, h(`${e(ge)} ${e(ge) === 1 ? e(l)("general.child") : e(l)("general.children")}`), 1),
|
|
222
|
+
a("span", null, h(`${e(ye)} ${e(ye) === 1 ? e(l)("booking.reservation.room") : e(l)("booking.reservation.rooms")}`), 1)
|
|
223
223
|
]),
|
|
224
224
|
_: 2
|
|
225
225
|
}, [
|
|
226
|
-
isNaN(e(
|
|
226
|
+
isNaN(e(N)) ? void 0 : {
|
|
227
227
|
name: "reservation-summary",
|
|
228
228
|
fn: w(() => [
|
|
229
|
-
e(Le) ? (d(),
|
|
230
|
-
a("span", null,
|
|
229
|
+
e(Le) ? (d(), v("li", Oo, [
|
|
230
|
+
a("span", null, h(e(l)("general.location")), 1),
|
|
231
231
|
a("b", null, [
|
|
232
|
-
a("span", null,
|
|
232
|
+
a("span", null, h(e(Ae)(e(N))), 1),
|
|
233
233
|
Se(a("span", jo, [
|
|
234
234
|
y(W, {
|
|
235
235
|
icon: "exclamation-triangle",
|
|
@@ -241,9 +241,9 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
241
241
|
])
|
|
242
242
|
])) : _("", !0),
|
|
243
243
|
a("li", null, [
|
|
244
|
-
a("span", null,
|
|
244
|
+
a("span", null, h(e(l)("booking.reservation.arrival")), 1),
|
|
245
245
|
a("b", null, [
|
|
246
|
-
a("span", null,
|
|
246
|
+
a("span", null, h(e(t) ? e(le)(e(E)) : `${e(le)(e(E))}, ${e(o) ? e(s) : e(r)}`), 1),
|
|
247
247
|
Se(a("span", qo, [
|
|
248
248
|
y(W, {
|
|
249
249
|
icon: "exclamation-triangle",
|
|
@@ -255,9 +255,9 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
255
255
|
])
|
|
256
256
|
]),
|
|
257
257
|
a("li", null, [
|
|
258
|
-
a("span", null,
|
|
258
|
+
a("span", null, h(e(l)("booking.reservation.departure")), 1),
|
|
259
259
|
a("b", null, [
|
|
260
|
-
a("span", null,
|
|
260
|
+
a("span", null, h(e(t) ? e(le)(e(k)) : `${e(le)(e(k))}, ${e(i) ? e(m) : e(c)}`), 1),
|
|
261
261
|
Se(a("span", Go, [
|
|
262
262
|
y(W, {
|
|
263
263
|
icon: "exclamation-triangle",
|
|
@@ -269,14 +269,14 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
269
269
|
])
|
|
270
270
|
]),
|
|
271
271
|
a("li", null, [
|
|
272
|
-
a("span", null,
|
|
273
|
-
a("b", null,
|
|
272
|
+
a("span", null, h(e(l)("booking.reservation.nights")), 1),
|
|
273
|
+
a("b", null, h(e(we)(e(E), e(k))) + " " + h(e(Qe)(e(we)(e(E), e(k)) === 1 ? e(l)("booking.reservation.night") : e(l)("booking.reservation.nights"))), 1)
|
|
274
274
|
]),
|
|
275
|
-
e(
|
|
275
|
+
e(M) ? (d(!0), v(F, { key: 1 }, G(e(M), (O) => (d(), v("li", {
|
|
276
276
|
key: O.id
|
|
277
277
|
}, [
|
|
278
|
-
a("span", null,
|
|
279
|
-
a("b", null,
|
|
278
|
+
a("span", null, h(`${e(l)("general.discountCode")} (${O.value})`), 1),
|
|
279
|
+
a("b", null, h(O.key), 1)
|
|
280
280
|
]))), 128)) : _("", !0)
|
|
281
281
|
]),
|
|
282
282
|
key: "0"
|
|
@@ -284,7 +284,7 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
284
284
|
]), 1032, ["discount-code", "validate-discount-code", "total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice", "prev-callback"]);
|
|
285
285
|
};
|
|
286
286
|
}
|
|
287
|
-
}), Ze = /* @__PURE__ */ fe(Xo, [["__scopeId", "data-v-3b5fb922"]]), Zo = (n) => (at("data-v-
|
|
287
|
+
}), Ze = /* @__PURE__ */ fe(Xo, [["__scopeId", "data-v-3b5fb922"]]), Zo = (n) => (at("data-v-69fe83d8"), n = n(), it(), n), el = { class: "konnectio-room-config-option" }, tl = { key: 0 }, ol = { class: "konnectio-selected-room-config" }, ll = { class: "konnectio-selected-room-config-people" }, nl = { key: 0 }, al = { class: "konnectio-selected-room-config-price" }, il = /* @__PURE__ */ Zo(() => /* @__PURE__ */ a("span", null, null, -1)), sl = /* @__PURE__ */ ee({
|
|
288
288
|
__name: "RoomConfigField",
|
|
289
289
|
props: {
|
|
290
290
|
modelValue: {},
|
|
@@ -296,28 +296,27 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
296
296
|
emits: ["update:modelValue"],
|
|
297
297
|
setup(n, { emit: l }) {
|
|
298
298
|
const { t } = ie(), { currency: o } = Z(Pe()), i = l, s = n;
|
|
299
|
-
function m(
|
|
300
|
-
i("update:modelValue",
|
|
299
|
+
function m(u) {
|
|
300
|
+
i("update:modelValue", u);
|
|
301
301
|
}
|
|
302
302
|
const p = x({
|
|
303
303
|
get: () => s.modelValue,
|
|
304
|
-
set: (
|
|
304
|
+
set: (u) => m(u)
|
|
305
305
|
});
|
|
306
|
-
return (
|
|
306
|
+
return (u, r) => (d(), A(Be, {
|
|
307
307
|
modelValue: p.value,
|
|
308
|
-
"onUpdate:modelValue": r[0] || (r[0] = (
|
|
309
|
-
label:
|
|
308
|
+
"onUpdate:modelValue": r[0] || (r[0] = (c) => p.value = c),
|
|
309
|
+
label: u.label,
|
|
310
310
|
placeholder: "Select guest configuration",
|
|
311
311
|
labelKey: "label",
|
|
312
312
|
valueKey: "value",
|
|
313
313
|
"icon-placement": "label",
|
|
314
|
-
options:
|
|
315
|
-
readonly:
|
|
316
|
-
required:
|
|
317
|
-
searchable: !1
|
|
318
|
-
"multi-line": !0
|
|
314
|
+
options: u.options,
|
|
315
|
+
readonly: u.readonly,
|
|
316
|
+
required: u.required,
|
|
317
|
+
searchable: !1
|
|
319
318
|
}, {
|
|
320
|
-
option: w(({ data:
|
|
319
|
+
option: w(({ data: c }) => [
|
|
321
320
|
a("span", el, [
|
|
322
321
|
a("div", null, [
|
|
323
322
|
y(W, {
|
|
@@ -325,41 +324,41 @@ const Wo = { key: 0 }, xo = { key: 1 }, Ko = { key: 0 }, Jo = { class: "konnecti
|
|
|
325
324
|
type: "fas",
|
|
326
325
|
color: "font"
|
|
327
326
|
}),
|
|
328
|
-
a("span", null,
|
|
329
|
-
|
|
327
|
+
a("span", null, h(`${c.adults}`), 1),
|
|
328
|
+
c.children > 0 ? (d(), v("span", tl, [
|
|
330
329
|
y(W, {
|
|
331
330
|
icon: "child",
|
|
332
331
|
type: "fas",
|
|
333
332
|
color: "font"
|
|
334
333
|
}),
|
|
335
|
-
a("span", null,
|
|
334
|
+
a("span", null, h(`${c.children}`), 1)
|
|
336
335
|
])) : _("", !0)
|
|
337
336
|
]),
|
|
338
|
-
a("span", null,
|
|
337
|
+
a("span", null, h(`(${e(ne)(c.price, e(o))})`), 1)
|
|
339
338
|
])
|
|
340
339
|
]),
|
|
341
|
-
"selected-option": w(({ data:
|
|
340
|
+
"selected-option": w(({ data: c }) => [
|
|
342
341
|
a("div", ol, [
|
|
343
342
|
a("div", ll, [
|
|
344
343
|
a("div", null, [
|
|
345
344
|
_("", !0),
|
|
346
|
-
a("span", null,
|
|
345
|
+
a("span", null, h(`${c.adults} ${c.adults === 1 ? e(t)("general.adult") : e(t)("general.adults")}`), 1)
|
|
347
346
|
]),
|
|
348
|
-
|
|
347
|
+
c.children > 0 ? (d(), v("div", nl, [
|
|
349
348
|
_("", !0),
|
|
350
|
-
a("span", null,
|
|
349
|
+
a("span", null, h(`& ${c.children} ${c.children === 1 ? e(t)("general.child") : e(t)("general.children")}`), 1)
|
|
351
350
|
])) : _("", !0)
|
|
352
351
|
]),
|
|
353
352
|
a("div", al, [
|
|
354
353
|
il,
|
|
355
|
-
tt(" " +
|
|
354
|
+
tt(" " + h(`(${e(ne)(c.price, e(o))})`), 1)
|
|
356
355
|
])
|
|
357
356
|
])
|
|
358
357
|
]),
|
|
359
358
|
_: 1
|
|
360
359
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
361
360
|
}
|
|
362
|
-
}), rl = /* @__PURE__ */ fe(sl, [["__scopeId", "data-v-
|
|
361
|
+
}), rl = /* @__PURE__ */ fe(sl, [["__scopeId", "data-v-69fe83d8"]]), dl = { class: "konnectio-availability-listing-selection" }, ul = { key: 1 }, cl = { class: "konnectio-listing-config-body" }, pl = { class: "konnectio-listing-units-body" };
|
|
363
362
|
const ml = /* @__PURE__ */ ee({
|
|
364
363
|
__name: "Hotel",
|
|
365
364
|
props: {
|
|
@@ -378,17 +377,17 @@ const ml = /* @__PURE__ */ ee({
|
|
|
378
377
|
const s = x(() => t.room.rates.map((k) => ({
|
|
379
378
|
label: k.name,
|
|
380
379
|
value: k.id
|
|
381
|
-
}))), { hideAvailableRoomAmount: m, autoSelectRateId: p } = Z(Pe()), { roomSelect:
|
|
380
|
+
}))), { hideAvailableRoomAmount: m, autoSelectRateId: p } = Z(Pe()), { roomSelect: u } = Z(ve()), { addToCart: r, removeFromCart: c } = At(), f = (k, D) => t.room.rates.find((N) => N.id === k)?.occupantRates.find((N) => N.index === D), $ = x(() => t.room.rates.every((k) => k.isBreakfastIncluded === !0)), T = (k, D) => f(k, D) ? f(k, D)?.rooms : null, C = (k) => t.room.rates.length > 0 ? t.room.rates.find((D) => D.id === k)?.occupantRates.map((D) => ({
|
|
382
381
|
value: D.index,
|
|
383
382
|
price: D.totalPrice,
|
|
384
383
|
adults: D.adultsCount,
|
|
385
384
|
children: D.childrenCount,
|
|
386
385
|
hasBreakfast: D.hasBreakfast
|
|
387
386
|
})) || [] : [], I = x(() => t.room.rates.length > 1);
|
|
388
|
-
function
|
|
389
|
-
o.value[k].config[0].id = t.room.rates.find((
|
|
387
|
+
function B(k, D) {
|
|
388
|
+
o.value[k].config[0].id = t.room.rates.find((N) => N.id === D.value)?.occupantRateIndex || NaN;
|
|
390
389
|
}
|
|
391
|
-
function
|
|
390
|
+
function M() {
|
|
392
391
|
I.value ? p.value ? o.value.push({
|
|
393
392
|
id: t.room.bestRateMatch || void 0,
|
|
394
393
|
config: [{
|
|
@@ -413,18 +412,18 @@ const ml = /* @__PURE__ */ ee({
|
|
|
413
412
|
});
|
|
414
413
|
}
|
|
415
414
|
st(() => {
|
|
416
|
-
|
|
415
|
+
M();
|
|
417
416
|
});
|
|
418
417
|
const E = x(() => JSON.parse(JSON.stringify(o.value)));
|
|
419
418
|
return Ee(E, (k, D) => {
|
|
420
|
-
D.length > 0 && k.forEach((
|
|
421
|
-
|
|
419
|
+
D.length > 0 && k.forEach((N, z) => {
|
|
420
|
+
N.config.forEach((R, Y) => {
|
|
422
421
|
const L = R.units, se = D[z].config[Y].units;
|
|
423
422
|
L !== se && (L > se ? (o.value[z].config[Y].addons.push({}), r({
|
|
424
423
|
id: t.room.id,
|
|
425
424
|
name: t.room.title,
|
|
426
425
|
value: t.room.rates[z].rackRate
|
|
427
|
-
})) : (o.value[z].config[Y].addons.pop(),
|
|
426
|
+
})) : (o.value[z].config[Y].addons.pop(), c({
|
|
428
427
|
id: t.room.id,
|
|
429
428
|
name: t.room.title,
|
|
430
429
|
value: t.room.rates[z].rackRate
|
|
@@ -432,7 +431,7 @@ const ml = /* @__PURE__ */ ee({
|
|
|
432
431
|
});
|
|
433
432
|
});
|
|
434
433
|
}, { deep: !0 }), Ee(o, () => {
|
|
435
|
-
|
|
434
|
+
u.value[t.room.id] = o.value;
|
|
436
435
|
}, { deep: !0 }), (k, D) => (d(), A(Re, {
|
|
437
436
|
type: "hotel",
|
|
438
437
|
"listing-id": k.room.id,
|
|
@@ -446,33 +445,33 @@ const ml = /* @__PURE__ */ ee({
|
|
|
446
445
|
}, {
|
|
447
446
|
action: w(() => [
|
|
448
447
|
a("div", dl, [
|
|
449
|
-
(d(!0),
|
|
450
|
-
key:
|
|
448
|
+
(d(!0), v(F, null, G(o.value, (N, z) => (d(), v("div", {
|
|
449
|
+
key: N.id,
|
|
451
450
|
class: "konnectio-hotel-room"
|
|
452
451
|
}, [
|
|
453
|
-
I.value ? (d(), A(
|
|
452
|
+
I.value ? (d(), A(Be, {
|
|
454
453
|
key: 0,
|
|
455
|
-
modelValue:
|
|
456
|
-
"onUpdate:modelValue": (R) =>
|
|
454
|
+
modelValue: N.id,
|
|
455
|
+
"onUpdate:modelValue": (R) => N.id = R,
|
|
457
456
|
label: e(l)("hotel.roomVariant"),
|
|
458
457
|
placeholder: e(l)("hotel.chooseARoomVariant"),
|
|
459
458
|
options: s.value,
|
|
460
459
|
searchable: !1,
|
|
461
|
-
onChanged: (R) =>
|
|
460
|
+
onChanged: (R) => B(z, R)
|
|
462
461
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options", "onChanged"])) : _("", !0),
|
|
463
|
-
|
|
464
|
-
(d(!0),
|
|
462
|
+
N.id ? (d(), v("div", ul, [
|
|
463
|
+
(d(!0), v(F, null, G(k.room.rates, ({
|
|
465
464
|
id: R,
|
|
466
465
|
maximumOccupants: Y
|
|
467
|
-
}) => (d(),
|
|
466
|
+
}) => (d(), v("div", {
|
|
468
467
|
key: R,
|
|
469
468
|
class: "konnectio-listing-action-selective-i"
|
|
470
469
|
}, [
|
|
471
|
-
|
|
470
|
+
N.id === R ? (d(!0), v(F, { key: 0 }, G(N.config, (L, se) => (d(), v("div", {
|
|
472
471
|
key: se,
|
|
473
472
|
class: "konnectio-listing-action-selective"
|
|
474
473
|
}, [
|
|
475
|
-
a("ul",
|
|
474
|
+
a("ul", cl, [
|
|
476
475
|
y(rl, {
|
|
477
476
|
modelValue: L.id,
|
|
478
477
|
"onUpdate:modelValue": (te) => L.id = te,
|
|
@@ -488,7 +487,7 @@ const ml = /* @__PURE__ */ ee({
|
|
|
488
487
|
y(ot, {
|
|
489
488
|
modelValue: L.units,
|
|
490
489
|
"onUpdate:modelValue": (te) => L.units = te,
|
|
491
|
-
description: e(m) ? void 0 : `${e(l)("booking.availability.availableUnits")}: ${T(
|
|
490
|
+
description: e(m) ? void 0 : `${e(l)("booking.availability.availableUnits")}: ${T(N.id, L.id)}`,
|
|
492
491
|
icon: "house",
|
|
493
492
|
"icon-type": "fas",
|
|
494
493
|
"icon-placement": "label",
|
|
@@ -517,13 +516,13 @@ const ml = /* @__PURE__ */ ee({
|
|
|
517
516
|
callback: { type: Function }
|
|
518
517
|
},
|
|
519
518
|
setup(n) {
|
|
520
|
-
const { t: l } = ie(), { templateID: t, roomGroupID: o, selectionHasNoAddons: i } = Z(ve()), { currency: s } = Z(Pe()), { clearRoomSelection: m } = ve(), p = n,
|
|
519
|
+
const { t: l } = ie(), { templateID: t, roomGroupID: o, selectionHasNoAddons: i } = Z(ve()), { currency: s } = Z(Pe()), { clearRoomSelection: m } = ve(), p = n, u = ae(!0), r = x(() => {
|
|
521
520
|
function f($, T) {
|
|
522
|
-
return
|
|
521
|
+
return u.value === !0 ? $.extraPrice > T.extraPrice ? -1 : 1 : $.extraPrice > T.extraPrice ? 1 : -1;
|
|
523
522
|
}
|
|
524
523
|
return p.roomGroups?.slice().sort(f);
|
|
525
524
|
});
|
|
526
|
-
function
|
|
525
|
+
function c(f) {
|
|
527
526
|
t.value = p.templateId, o.value = f, m(), p.hideAddons === !0 || i.value ? p.callback(2) : p.callback(1);
|
|
528
527
|
}
|
|
529
528
|
return (f, $) => (d(), A(Ro, {
|
|
@@ -533,27 +532,27 @@ const ml = /* @__PURE__ */ ee({
|
|
|
533
532
|
default: w(() => [
|
|
534
533
|
a("div", hl, [
|
|
535
534
|
a("div", vl, [
|
|
536
|
-
(d(!0),
|
|
535
|
+
(d(!0), v(F, null, G(r.value, ({
|
|
537
536
|
id: T,
|
|
538
537
|
title: C,
|
|
539
538
|
description: I,
|
|
540
|
-
images:
|
|
541
|
-
facilities:
|
|
539
|
+
images: B,
|
|
540
|
+
facilities: M,
|
|
542
541
|
extraPrice: E
|
|
543
542
|
}) => (d(), A(Re, {
|
|
544
543
|
key: T,
|
|
545
544
|
"listing-id": T,
|
|
546
545
|
name: C,
|
|
547
546
|
description: I,
|
|
548
|
-
facilities:
|
|
549
|
-
gallery:
|
|
547
|
+
facilities: M,
|
|
548
|
+
gallery: B,
|
|
550
549
|
"includes-breakfast": !1,
|
|
551
550
|
"hide-info-button": !0
|
|
552
551
|
}, {
|
|
553
552
|
action: w(() => [
|
|
554
553
|
a("div", null, [
|
|
555
554
|
y(me, {
|
|
556
|
-
onClickEvent: (k) =>
|
|
555
|
+
onClickEvent: (k) => c(T),
|
|
557
556
|
label: `${e(l)("booking.availability.selectThisRoom")} (${e(ne)(E, e(s))})`,
|
|
558
557
|
"full-width": ""
|
|
559
558
|
}, null, 8, ["onClickEvent", "label"])
|
|
@@ -567,7 +566,7 @@ const ml = /* @__PURE__ */ ee({
|
|
|
567
566
|
_: 1
|
|
568
567
|
}, 8, ["title", "subtitle"]));
|
|
569
568
|
}
|
|
570
|
-
}), It = /* @__PURE__ */ fe(yl, [["__scopeId", "data-v-7424de30"]]),
|
|
569
|
+
}), It = /* @__PURE__ */ fe(yl, [["__scopeId", "data-v-7424de30"]]), bl = { class: "konnectio-template-select-package" }, gl = /* @__PURE__ */ ee({
|
|
571
570
|
__name: "Template",
|
|
572
571
|
props: {
|
|
573
572
|
id: {},
|
|
@@ -581,7 +580,7 @@ const ml = /* @__PURE__ */ ee({
|
|
|
581
580
|
},
|
|
582
581
|
setup(n) {
|
|
583
582
|
const { t: l } = ie(), t = n, o = x(() => t.roomGroups.reduce(
|
|
584
|
-
(
|
|
583
|
+
(u, r) => u < r.extraPrice ? u : r.extraPrice,
|
|
585
584
|
1 / 0
|
|
586
585
|
)), i = x(() => {
|
|
587
586
|
if (t.image)
|
|
@@ -595,14 +594,14 @@ const ml = /* @__PURE__ */ ee({
|
|
|
595
594
|
function m() {
|
|
596
595
|
s.value = !0;
|
|
597
596
|
}
|
|
598
|
-
function p(
|
|
599
|
-
t.callback(
|
|
597
|
+
function p(u) {
|
|
598
|
+
t.callback(u), s.value = !1;
|
|
600
599
|
}
|
|
601
|
-
return (
|
|
600
|
+
return (u, r) => (d(), A(Re, {
|
|
602
601
|
type: "template",
|
|
603
|
-
"listing-id":
|
|
604
|
-
name:
|
|
605
|
-
description:
|
|
602
|
+
"listing-id": u.id,
|
|
603
|
+
name: u.name,
|
|
604
|
+
description: u.description,
|
|
606
605
|
gallery: i.value,
|
|
607
606
|
layout: e(Dt).Template,
|
|
608
607
|
"includes-breakfast": !1,
|
|
@@ -610,7 +609,7 @@ const ml = /* @__PURE__ */ ee({
|
|
|
610
609
|
"prices-from": o.value
|
|
611
610
|
}, {
|
|
612
611
|
action: w(() => [
|
|
613
|
-
a("div",
|
|
612
|
+
a("div", bl, [
|
|
614
613
|
y(me, {
|
|
615
614
|
onClickEvent: m,
|
|
616
615
|
label: e(l)("booking.availability.selectPackage"),
|
|
@@ -621,11 +620,11 @@ const ml = /* @__PURE__ */ ee({
|
|
|
621
620
|
default: w(() => [
|
|
622
621
|
y(It, {
|
|
623
622
|
modelValue: s.value,
|
|
624
|
-
"onUpdate:modelValue": r[0] || (r[0] = (
|
|
625
|
-
title:
|
|
626
|
-
"template-id":
|
|
627
|
-
"room-groups":
|
|
628
|
-
"hide-addons":
|
|
623
|
+
"onUpdate:modelValue": r[0] || (r[0] = (c) => s.value = c),
|
|
624
|
+
title: u.name,
|
|
625
|
+
"template-id": u.id,
|
|
626
|
+
"room-groups": u.roomGroups,
|
|
627
|
+
"hide-addons": u.hideAddons,
|
|
629
628
|
callback: p
|
|
630
629
|
}, null, 8, ["modelValue", "title", "template-id", "room-groups", "hide-addons"])
|
|
631
630
|
]),
|
|
@@ -651,11 +650,11 @@ const ml = /* @__PURE__ */ ee({
|
|
|
651
650
|
medium: i.image.url,
|
|
652
651
|
thumb: i.image.url,
|
|
653
652
|
url: i.image.url
|
|
654
|
-
}]),
|
|
653
|
+
}]), u = ae(!1);
|
|
655
654
|
function r(f) {
|
|
656
|
-
i.callback(f),
|
|
655
|
+
i.callback(f), u.value = !1;
|
|
657
656
|
}
|
|
658
|
-
function
|
|
657
|
+
function c() {
|
|
659
658
|
s.value.length > 0 ? t(s.value[0], s.value[1]) : o({
|
|
660
659
|
message: l("alert.error.selectDates"),
|
|
661
660
|
type: "error"
|
|
@@ -694,15 +693,15 @@ const ml = /* @__PURE__ */ ee({
|
|
|
694
693
|
a("div", _l, [
|
|
695
694
|
y(me, {
|
|
696
695
|
label: e(l)("availability.buttonLabel"),
|
|
697
|
-
onClick: Pt(
|
|
696
|
+
onClick: Pt(c, ["prevent"])
|
|
698
697
|
}, null, 8, ["label"])
|
|
699
698
|
])
|
|
700
699
|
])
|
|
701
700
|
]),
|
|
702
701
|
default: w(() => [
|
|
703
702
|
y(It, {
|
|
704
|
-
modelValue:
|
|
705
|
-
"onUpdate:modelValue": $[1] || ($[1] = (T) =>
|
|
703
|
+
modelValue: u.value,
|
|
704
|
+
"onUpdate:modelValue": $[1] || ($[1] = (T) => u.value = T),
|
|
706
705
|
title: f.name,
|
|
707
706
|
"template-id": f.id,
|
|
708
707
|
roomGroups: f.roomGroups,
|
|
@@ -712,7 +711,7 @@ const ml = /* @__PURE__ */ ee({
|
|
|
712
711
|
_: 1
|
|
713
712
|
}, 8, ["listing-id", "name", "description", "gallery", "layout", "to-date", "from-date"]));
|
|
714
713
|
}
|
|
715
|
-
}),
|
|
714
|
+
}), gt = /* @__PURE__ */ ee({
|
|
716
715
|
__name: "TimeField",
|
|
717
716
|
props: {
|
|
718
717
|
modelValue: {},
|
|
@@ -739,7 +738,7 @@ const ml = /* @__PURE__ */ ee({
|
|
|
739
738
|
i(m);
|
|
740
739
|
}), (m, p) => (d(), A(Ht, {
|
|
741
740
|
modelValue: s.value,
|
|
742
|
-
"onUpdate:modelValue": p[0] || (p[0] = (
|
|
741
|
+
"onUpdate:modelValue": p[0] || (p[0] = (u) => s.value = u),
|
|
743
742
|
type: "time",
|
|
744
743
|
label: m.label,
|
|
745
744
|
id: m.id,
|
|
@@ -774,9 +773,9 @@ const ml = /* @__PURE__ */ ee({
|
|
|
774
773
|
get: () => i.modelValue,
|
|
775
774
|
set: (p) => s(p)
|
|
776
775
|
});
|
|
777
|
-
return (p,
|
|
776
|
+
return (p, u) => (d(), A(Be, {
|
|
778
777
|
modelValue: m.value,
|
|
779
|
-
"onUpdate:modelValue":
|
|
778
|
+
"onUpdate:modelValue": u[0] || (u[0] = (r) => m.value = r),
|
|
780
779
|
label: p.label,
|
|
781
780
|
placeholder: e(t)("booking.reservation.countryPlaceholder"),
|
|
782
781
|
labelKey: "name",
|
|
@@ -786,16 +785,16 @@ const ml = /* @__PURE__ */ ee({
|
|
|
786
785
|
}, {
|
|
787
786
|
option: w(({ data: r }) => [
|
|
788
787
|
a("i", {
|
|
789
|
-
class:
|
|
788
|
+
class: Ne(["konnectio-flag-icon", r.iso])
|
|
790
789
|
}, null, 2),
|
|
791
|
-
a("span", null,
|
|
790
|
+
a("span", null, h(r.name), 1)
|
|
792
791
|
]),
|
|
793
792
|
"selected-option": w(({ data: r }) => [
|
|
794
793
|
a("div", $l, [
|
|
795
794
|
a("i", {
|
|
796
|
-
class:
|
|
795
|
+
class: Ne(["konnectio-flag-icon", r.iso])
|
|
797
796
|
}, null, 2),
|
|
798
|
-
a("span", null,
|
|
797
|
+
a("span", null, h(r.name), 1)
|
|
799
798
|
])
|
|
800
799
|
]),
|
|
801
800
|
_: 1
|
|
@@ -830,10 +829,10 @@ const ml = /* @__PURE__ */ ee({
|
|
|
830
829
|
Ee(m, (r) => {
|
|
831
830
|
o("update:title", r);
|
|
832
831
|
});
|
|
833
|
-
const { t:
|
|
832
|
+
const { t: u } = ie();
|
|
834
833
|
return st(() => {
|
|
835
834
|
t.modelValue && (s.value = t.modelValue), t.title && (m.value = t.title);
|
|
836
|
-
}), (r,
|
|
835
|
+
}), (r, c) => (d(), A(ko, {
|
|
837
836
|
label: r.label,
|
|
838
837
|
id: e(i),
|
|
839
838
|
required: r.required,
|
|
@@ -843,38 +842,38 @@ const ml = /* @__PURE__ */ ee({
|
|
|
843
842
|
}, {
|
|
844
843
|
default: w(() => [
|
|
845
844
|
a("div", {
|
|
846
|
-
class:
|
|
845
|
+
class: Ne([
|
|
847
846
|
"konnectio-name-input",
|
|
848
847
|
{ "no-title": r.excludeTitle }
|
|
849
848
|
])
|
|
850
849
|
}, [
|
|
851
|
-
r.excludeTitle ? _("", !0) : (d(), A(
|
|
850
|
+
r.excludeTitle ? _("", !0) : (d(), A(Be, {
|
|
852
851
|
key: 0,
|
|
853
852
|
modelValue: m.value,
|
|
854
|
-
"onUpdate:modelValue":
|
|
853
|
+
"onUpdate:modelValue": c[0] || (c[0] = (f) => m.value = f),
|
|
855
854
|
id: e(vt)(),
|
|
856
855
|
icon: r.icon,
|
|
857
856
|
"icon-color": r.iconColor,
|
|
858
857
|
"icon-type": r.iconType,
|
|
859
858
|
options: [
|
|
860
859
|
{
|
|
861
|
-
label: e(
|
|
860
|
+
label: e(u)("booking.reservation.noNameTitle"),
|
|
862
861
|
value: 1
|
|
863
862
|
},
|
|
864
863
|
{
|
|
865
|
-
label: e(
|
|
864
|
+
label: e(u)("booking.reservation.nameTitleMr"),
|
|
866
865
|
value: 2
|
|
867
866
|
},
|
|
868
867
|
{
|
|
869
|
-
label: e(
|
|
868
|
+
label: e(u)("booking.reservation.nameTitleMs"),
|
|
870
869
|
value: 3
|
|
871
870
|
},
|
|
872
871
|
{
|
|
873
|
-
label: e(
|
|
872
|
+
label: e(u)("booking.reservation.nameTitleMrs"),
|
|
874
873
|
value: 4
|
|
875
874
|
},
|
|
876
875
|
{
|
|
877
|
-
label: e(
|
|
876
|
+
label: e(u)("booking.reservation.nameTitleDr"),
|
|
878
877
|
value: 5
|
|
879
878
|
}
|
|
880
879
|
],
|
|
@@ -883,9 +882,9 @@ const ml = /* @__PURE__ */ ee({
|
|
|
883
882
|
"input-style": r.inputStyle,
|
|
884
883
|
searchable: !1
|
|
885
884
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
|
|
886
|
-
y(
|
|
885
|
+
y(ce, {
|
|
887
886
|
modelValue: s.value,
|
|
888
|
-
"onUpdate:modelValue":
|
|
887
|
+
"onUpdate:modelValue": c[1] || (c[1] = (f) => s.value = f),
|
|
889
888
|
type: "text",
|
|
890
889
|
name: "name",
|
|
891
890
|
autocomplete: "name",
|
|
@@ -897,7 +896,7 @@ const ml = /* @__PURE__ */ ee({
|
|
|
897
896
|
required: r.required,
|
|
898
897
|
readonly: r.readonly,
|
|
899
898
|
limit: r.limit,
|
|
900
|
-
onInput:
|
|
899
|
+
onInput: c[2] || (c[2] = (f) => p()),
|
|
901
900
|
"input-style": r.inputStyle
|
|
902
901
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "placeholder", "required", "readonly", "limit", "input-style"])
|
|
903
902
|
], 2)
|
|
@@ -908,9 +907,9 @@ const ml = /* @__PURE__ */ ee({
|
|
|
908
907
|
}), Pl = /* @__PURE__ */ fe(Cl, [["__scopeId", "data-v-7c44829d"]]), Al = { class: "hotel-skeleton" }, Dl = { class: "hotel-skeleton-content" }, Sl = { class: "hotel-skeleton-sidebar" }, Hl = /* @__PURE__ */ ee({
|
|
909
908
|
__name: "HotelSkeleton",
|
|
910
909
|
setup(n) {
|
|
911
|
-
return (l, t) => (d(),
|
|
910
|
+
return (l, t) => (d(), v("div", Al, [
|
|
912
911
|
a("div", Dl, [
|
|
913
|
-
y(
|
|
912
|
+
y(No, { hotel: "" }),
|
|
914
913
|
y(Po)
|
|
915
914
|
]),
|
|
916
915
|
a("div", Sl, [
|
|
@@ -918,8 +917,8 @@ const ml = /* @__PURE__ */ ee({
|
|
|
918
917
|
])
|
|
919
918
|
]));
|
|
920
919
|
}
|
|
921
|
-
}), Il = /* @__PURE__ */ fe(Hl, [["__scopeId", "data-v-1bb21da4"]]), El = (n) => (at("data-v-
|
|
922
|
-
const
|
|
920
|
+
}), Il = /* @__PURE__ */ fe(Hl, [["__scopeId", "data-v-1bb21da4"]]), El = (n) => (at("data-v-72435bab"), n = n(), it(), n), Nl = { id: "booking-availability-container" }, Ml = { id: "booking-availability-controls" };
|
|
921
|
+
const Bl = { key: 1 }, Rl = { key: 0 }, Ll = {
|
|
923
922
|
key: 0,
|
|
924
923
|
id: "booking-availability-packages"
|
|
925
924
|
}, Ul = {
|
|
@@ -941,25 +940,24 @@ const Ml = { key: 1 }, Rl = { key: 0 }, Ll = {
|
|
|
941
940
|
}, zl = {
|
|
942
941
|
key: 2,
|
|
943
942
|
id: "reservation-availability-next-dates"
|
|
944
|
-
}, Yl = { class: "konnectio-hotel-availability-title" }, Ql = { class: "reservation-special-offers-grid" }, Xl = ["title"]
|
|
945
|
-
const Zl = {
|
|
943
|
+
}, Yl = { class: "konnectio-hotel-availability-title" }, Ql = { class: "reservation-special-offers-grid" }, Xl = ["title"], Zl = { key: 0 }, en = {
|
|
946
944
|
key: 2,
|
|
947
945
|
class: "konnectio-panel"
|
|
948
|
-
},
|
|
946
|
+
}, tn = {
|
|
949
947
|
key: 3,
|
|
950
948
|
class: "konnectio-listing-loading"
|
|
951
|
-
},
|
|
949
|
+
}, on = { class: "konnectio-panel" }, ln = {
|
|
952
950
|
key: 0,
|
|
953
951
|
id: "konnectio-hotel-addons"
|
|
954
952
|
};
|
|
955
|
-
const
|
|
953
|
+
const nn = { class: "konnectio-event-addons-price" }, an = { key: 1 }, sn = { class: "konnectio-table-addons-information" }, rn = { class: "konnectio-table-addons-option" }, dn = {
|
|
956
954
|
key: 1,
|
|
957
955
|
id: "konnectio-hotel-addons"
|
|
958
|
-
},
|
|
959
|
-
const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)),
|
|
956
|
+
}, un = { class: "konnectio-table with-lines" };
|
|
957
|
+
const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-event-addons-price" }, null, -1)), pn = { class: "konnectio-table-addons-information" }, mn = { class: "konnectio-table-addons-option" }, fn = { class: "konnectio-panel" }, hn = { key: 0 }, vn = { key: 1 }, yn = {
|
|
960
958
|
key: 1,
|
|
961
959
|
class: "konnectio-show-on-mobile"
|
|
962
|
-
},
|
|
960
|
+
}, bn = { class: "konnectio-split-inputs" }, gn = /* @__PURE__ */ ee({
|
|
963
961
|
name: "HotelLayout",
|
|
964
962
|
__name: "Hotel",
|
|
965
963
|
props: {
|
|
@@ -972,25 +970,25 @@ const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
972
970
|
styling: {}
|
|
973
971
|
},
|
|
974
972
|
setup(n) {
|
|
975
|
-
const l =
|
|
973
|
+
const l = co(() => import("./_-Cd2-tqPM.js")), t = n, { t: o } = ie(), {
|
|
976
974
|
currentLocation: i,
|
|
977
975
|
templateID: s,
|
|
978
976
|
templateAddons: m,
|
|
979
977
|
countries: p,
|
|
980
|
-
areListingsLoading:
|
|
978
|
+
areListingsLoading: u,
|
|
981
979
|
isPaymentLoading: r,
|
|
982
|
-
isReservationFormFilled:
|
|
980
|
+
isReservationFormFilled: c,
|
|
983
981
|
travelingFor: f,
|
|
984
982
|
arrivalTime: $,
|
|
985
983
|
departureTime: T,
|
|
986
984
|
name: C,
|
|
987
985
|
nameTitle: I,
|
|
988
|
-
email:
|
|
989
|
-
phone:
|
|
986
|
+
email: B,
|
|
987
|
+
phone: M,
|
|
990
988
|
firmName: E,
|
|
991
989
|
postal: k,
|
|
992
990
|
city: D,
|
|
993
|
-
address:
|
|
991
|
+
address: N,
|
|
994
992
|
country: z,
|
|
995
993
|
remark: R,
|
|
996
994
|
allergies: Y,
|
|
@@ -999,8 +997,8 @@ const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
999
997
|
hasValidRoomSelection: te,
|
|
1000
998
|
availabilityData: q,
|
|
1001
999
|
selectionHasNoAddons: ye,
|
|
1002
|
-
isAvailabilityDataAvailable:
|
|
1003
|
-
getSelectedPackageRoom:
|
|
1000
|
+
isAvailabilityDataAvailable: be,
|
|
1001
|
+
getSelectedPackageRoom: ge,
|
|
1004
1002
|
selectedPackage: Le,
|
|
1005
1003
|
isSearchOutdated: dt,
|
|
1006
1004
|
currentChildren: Ue,
|
|
@@ -1017,7 +1015,7 @@ const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1017
1015
|
arrivalEarliest: je,
|
|
1018
1016
|
arrivalLatest: re,
|
|
1019
1017
|
departureEarliest: qe,
|
|
1020
|
-
departureLatest:
|
|
1018
|
+
departureLatest: ut,
|
|
1021
1019
|
enableTracking: Rt,
|
|
1022
1020
|
hideArrivalDepartureInputs: Lt,
|
|
1023
1021
|
disableArrivalUserSelection: Ge,
|
|
@@ -1027,7 +1025,7 @@ const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1027
1025
|
disableTravelingForBleasure: Ot,
|
|
1028
1026
|
disableCompanyField: jt,
|
|
1029
1027
|
hasPaymentGateway: qt,
|
|
1030
|
-
maxAdultAmount:
|
|
1028
|
+
maxAdultAmount: ct,
|
|
1031
1029
|
maxChildAmount: pt,
|
|
1032
1030
|
defaultAdultAmount: Gt,
|
|
1033
1031
|
defaultChildAmount: Wt,
|
|
@@ -1065,7 +1063,7 @@ const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1065
1063
|
icon: "calendar-check"
|
|
1066
1064
|
}
|
|
1067
1065
|
]), eo = x(() => {
|
|
1068
|
-
const
|
|
1066
|
+
const g = [
|
|
1069
1067
|
{
|
|
1070
1068
|
label: o("booking.reservation.business"),
|
|
1071
1069
|
value: "Business"
|
|
@@ -1075,38 +1073,38 @@ const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1075
1073
|
value: "Pleasure"
|
|
1076
1074
|
}
|
|
1077
1075
|
];
|
|
1078
|
-
return Ot.value ||
|
|
1076
|
+
return Ot.value || g.push({
|
|
1079
1077
|
label: o("booking.reservation.bleasure"),
|
|
1080
1078
|
value: "Bleasure"
|
|
1081
|
-
}),
|
|
1079
|
+
}), g;
|
|
1082
1080
|
}), to = x(() => {
|
|
1083
|
-
const
|
|
1081
|
+
const g = q.value.roomGroups.slice();
|
|
1084
1082
|
function V(J, P) {
|
|
1085
1083
|
return Xt.value === !0 ? J.pricesFrom > P.pricesFrom ? -1 : 1 : J.pricesFrom > P.pricesFrom ? 1 : -1;
|
|
1086
1084
|
}
|
|
1087
|
-
return
|
|
1085
|
+
return g.sort(V);
|
|
1088
1086
|
}), Ke = x(() => t.hideAddons === "yes" || Ae.value && t.hideAddons === "packages" || !Ae.value && t.hideAddons === "rooms");
|
|
1089
|
-
function ht(
|
|
1090
|
-
Ke.value || ye.value ?
|
|
1087
|
+
function ht(g) {
|
|
1088
|
+
Ke.value || ye.value ? g(2) : g(), zt();
|
|
1091
1089
|
}
|
|
1092
|
-
async function oo(
|
|
1093
|
-
await Yt(
|
|
1090
|
+
async function oo(g, V) {
|
|
1091
|
+
await Yt(g, V);
|
|
1094
1092
|
}
|
|
1095
|
-
function lo(
|
|
1096
|
-
Rt.value && Kt(), Ke.value || ye.value ?
|
|
1093
|
+
function lo(g) {
|
|
1094
|
+
Rt.value && Kt(), Ke.value || ye.value ? g(2) : g();
|
|
1097
1095
|
}
|
|
1098
1096
|
function no() {
|
|
1099
|
-
const
|
|
1097
|
+
const g = $o("history", {
|
|
1100
1098
|
removeNullishValues: !0
|
|
1101
|
-
}), V = parseInt(
|
|
1099
|
+
}), V = parseInt(g.a), J = parseInt(g.c), P = parseInt(g.hid), S = parseInt(g.n), b = g.ci, U = g.co, H = g.id;
|
|
1102
1100
|
let oe = !1;
|
|
1103
|
-
if (isNaN(V) || (V >
|
|
1101
|
+
if (isNaN(V) || (V > ct.value ? ke.value = ct.value : ke.value = V, ke.value === Gt.value && (g.a = void 0)), isNaN(J) || (J > pt.value ? Q.value = pt.value : Q.value = J, Q.value === Wt.value && (g.c = void 0)), isNaN(S) || S > 0 && (g.n = void 0), isNaN(P) || (Fe(P) ? (K.value = P, oe = !0) : xe({
|
|
1104
1102
|
message: o("alert.error.hotelIdNotFound"),
|
|
1105
1103
|
type: "error"
|
|
1106
|
-
})),
|
|
1107
|
-
if (
|
|
1108
|
-
const Ve = new Date(
|
|
1109
|
-
Ve <= de ? ($e.value = Ve, O.value = de) : (
|
|
1104
|
+
})), b && U)
|
|
1105
|
+
if (bt(b) && bt(U)) {
|
|
1106
|
+
const Ve = new Date(b), de = new Date(U);
|
|
1107
|
+
Ve <= de ? ($e.value = Ve, O.value = de) : (g.ci = void 0, g.co = void 0, xe({
|
|
1110
1108
|
message: o("alert.error.invalidDateRange"),
|
|
1111
1109
|
type: "error"
|
|
1112
1110
|
}));
|
|
@@ -1118,95 +1116,95 @@ const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1118
1116
|
let X = null;
|
|
1119
1117
|
H && (X = H), t.disableDefaultLocation === "yes" && oe === !1 ? (K.value = void 0, i.value = void 0) : mt(X);
|
|
1120
1118
|
}
|
|
1121
|
-
return (
|
|
1119
|
+
return (g, V) => (d(), A(Vo, { styling: g.styling }, {
|
|
1122
1120
|
default: w(() => [
|
|
1123
|
-
(d(), A(
|
|
1121
|
+
(d(), A(uo, { onResolve: no }, {
|
|
1124
1122
|
default: w(() => [
|
|
1125
1123
|
y(e(l), {
|
|
1126
1124
|
id: "konnectio-hotel-module",
|
|
1127
|
-
"access-token":
|
|
1125
|
+
"access-token": g.accessToken,
|
|
1128
1126
|
callback: e(Qt)
|
|
1129
1127
|
}, {
|
|
1130
1128
|
default: w(() => [
|
|
1131
1129
|
y(Do, {
|
|
1132
|
-
layout:
|
|
1130
|
+
layout: g.headerLayout,
|
|
1133
1131
|
steps: Zt.value,
|
|
1134
1132
|
onReset: e(Jt)
|
|
1135
1133
|
}, {
|
|
1136
1134
|
availability: w(({ next: J }) => [
|
|
1137
1135
|
y(Ze, null, {
|
|
1138
1136
|
form: w(() => [
|
|
1139
|
-
a("div",
|
|
1140
|
-
a("div",
|
|
1141
|
-
y(
|
|
1137
|
+
a("div", Nl, [
|
|
1138
|
+
a("div", Ml, [
|
|
1139
|
+
y(Mo, {
|
|
1142
1140
|
booking: !0,
|
|
1143
|
-
"selected-location": Number(
|
|
1144
|
-
"disable-default-location":
|
|
1141
|
+
"selected-location": Number(g.selectedLocation),
|
|
1142
|
+
"disable-default-location": g.disableDefaultLocation === "yes"
|
|
1145
1143
|
}, null, 8, ["selected-location", "disable-default-location"])
|
|
1146
1144
|
]),
|
|
1147
1145
|
_("", !0),
|
|
1148
|
-
!e(
|
|
1149
|
-
e(q).roomGroups.length > 0 || e(q).templates.length > 0 || e(q).specialTemplates.length > 0 ? (d(),
|
|
1150
|
-
e(q).templates.length > 0 &&
|
|
1151
|
-
|
|
1146
|
+
!e(u) && e(be) ? (d(), v("div", Bl, [
|
|
1147
|
+
e(q).roomGroups.length > 0 || e(q).templates.length > 0 || e(q).specialTemplates.length > 0 ? (d(), v("div", Rl, [
|
|
1148
|
+
e(q).templates.length > 0 && g.onlyShow !== "rooms" ? (d(), v("div", Ll, [
|
|
1149
|
+
g.onlyShow !== "packages" ? (d(), v("h2", Ul, [
|
|
1152
1150
|
y(W, {
|
|
1153
1151
|
icon: "box",
|
|
1154
1152
|
type: "fal",
|
|
1155
1153
|
color: "header"
|
|
1156
1154
|
}),
|
|
1157
|
-
a("span", null,
|
|
1155
|
+
a("span", null, h(e(o)("booking.availability.packagesTitle")), 1)
|
|
1158
1156
|
])) : _("", !0),
|
|
1159
1157
|
a("ul", Fl, [
|
|
1160
|
-
(d(!0),
|
|
1158
|
+
(d(!0), v(F, null, G(e(q).templates, ({
|
|
1161
1159
|
id: P,
|
|
1162
1160
|
name: S,
|
|
1163
|
-
templateRoomGroups:
|
|
1161
|
+
templateRoomGroups: b,
|
|
1164
1162
|
image: U,
|
|
1165
1163
|
description: H,
|
|
1166
1164
|
weekendFee: oe
|
|
1167
|
-
}) => (d(), A(
|
|
1165
|
+
}) => (d(), A(gl, {
|
|
1168
1166
|
key: P,
|
|
1169
1167
|
id: P,
|
|
1170
1168
|
description: H,
|
|
1171
1169
|
name: S,
|
|
1172
1170
|
image: U,
|
|
1173
1171
|
weekendFee: oe,
|
|
1174
|
-
"room-groups":
|
|
1172
|
+
"room-groups": b,
|
|
1175
1173
|
callback: J,
|
|
1176
|
-
"hide-addons":
|
|
1174
|
+
"hide-addons": g.hideAddons === "yes" || g.hideAddons === "packages"
|
|
1177
1175
|
}, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback", "hide-addons"]))), 128))
|
|
1178
1176
|
])
|
|
1179
1177
|
])) : _("", !0),
|
|
1180
|
-
e(q).roomGroups.length > 0 &&
|
|
1181
|
-
e(q).templates.length > 0 &&
|
|
1178
|
+
e(q).roomGroups.length > 0 && g.onlyShow !== "packages" ? (d(), v("div", Ol, [
|
|
1179
|
+
e(q).templates.length > 0 && g.onlyShow !== "rooms" ? (d(), v("h2", jl, [
|
|
1182
1180
|
y(W, {
|
|
1183
1181
|
icon: "house",
|
|
1184
1182
|
type: "fal",
|
|
1185
1183
|
color: "header"
|
|
1186
1184
|
}),
|
|
1187
|
-
a("span", null,
|
|
1185
|
+
a("span", null, h(e(o)("booking.availability.roomsTitle")), 1)
|
|
1188
1186
|
])) : _("", !0),
|
|
1189
1187
|
a("ul", ql, [
|
|
1190
|
-
(d(!0),
|
|
1188
|
+
(d(!0), v(F, null, G(to.value, (P, S) => (d(), A(fl, {
|
|
1191
1189
|
room: P,
|
|
1192
1190
|
key: S
|
|
1193
1191
|
}, null, 8, ["room"]))), 128))
|
|
1194
1192
|
])
|
|
1195
1193
|
])) : _("", !0),
|
|
1196
|
-
e(q).specialTemplates.length > 0 &&
|
|
1194
|
+
e(q).specialTemplates.length > 0 && g.onlyShow !== "rooms" ? (d(), v("div", Gl, [
|
|
1197
1195
|
a("h2", Wl, [
|
|
1198
1196
|
y(W, {
|
|
1199
1197
|
icon: "sparkles",
|
|
1200
1198
|
type: "fal",
|
|
1201
1199
|
color: "header"
|
|
1202
1200
|
}),
|
|
1203
|
-
a("span", null,
|
|
1201
|
+
a("span", null, h(e(o)("hotel.specialOffers")), 1)
|
|
1204
1202
|
]),
|
|
1205
1203
|
a("ul", xl, [
|
|
1206
|
-
(d(!0),
|
|
1204
|
+
(d(!0), v(F, null, G(e(q).specialTemplates, ({
|
|
1207
1205
|
id: P,
|
|
1208
1206
|
name: S,
|
|
1209
|
-
templateRoomGroups:
|
|
1207
|
+
templateRoomGroups: b,
|
|
1210
1208
|
image: U,
|
|
1211
1209
|
description: H,
|
|
1212
1210
|
weekendFee: oe,
|
|
@@ -1221,54 +1219,61 @@ const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1221
1219
|
fromDate: X,
|
|
1222
1220
|
toDate: Ve,
|
|
1223
1221
|
weekendFee: oe,
|
|
1224
|
-
"room-groups":
|
|
1222
|
+
"room-groups": b,
|
|
1225
1223
|
callback: J
|
|
1226
1224
|
}, null, 8, ["id", "description", "name", "image", "fromDate", "toDate", "weekendFee", "room-groups", "callback"]))), 128))
|
|
1227
1225
|
])
|
|
1228
1226
|
])) : _("", !0),
|
|
1229
|
-
(e(q).templates.length === 0 &&
|
|
1230
|
-
a("span", null,
|
|
1227
|
+
(e(q).templates.length === 0 && g.onlyShow !== "rooms" || e(q).roomGroups.length === 0 && g.onlyShow !== "packages") && (g.onlyShow === "rooms" || g.onlyShow === "packages") ? (d(), v("div", Kl, [
|
|
1228
|
+
a("span", null, h(e(o)("booking.availability.nothingAvailable")), 1)
|
|
1231
1229
|
])) : _("", !0)
|
|
1232
|
-
])) : e(q).nextAvailableDates.length === 0 ? (d(),
|
|
1233
|
-
a("span", null,
|
|
1234
|
-
])) : (d(),
|
|
1230
|
+
])) : e(q).nextAvailableDates.length === 0 ? (d(), v("div", Jl, [
|
|
1231
|
+
a("span", null, h(e(o)("booking.availability.nothingAvailable")), 1)
|
|
1232
|
+
])) : (d(), v("div", zl, [
|
|
1235
1233
|
a("h2", Yl, [
|
|
1236
1234
|
y(W, {
|
|
1237
1235
|
icon: "calendar-circle-exclamation",
|
|
1238
1236
|
type: "fal",
|
|
1239
1237
|
color: "header"
|
|
1240
1238
|
}),
|
|
1241
|
-
a("span", null,
|
|
1239
|
+
a("span", null, h(e(o)("booking.availability.nextAvailableDates")), 1)
|
|
1242
1240
|
]),
|
|
1243
1241
|
a("ul", Ql, [
|
|
1244
|
-
(d(!0),
|
|
1242
|
+
(d(!0), v(F, null, G(e(q).nextAvailableDates, (P, S) => (d(), v("li", { key: S }, [
|
|
1245
1243
|
a("h3", {
|
|
1246
|
-
title: `${e(le)(P.fromDate)} - ${e(le)(P.toDate)}`
|
|
1244
|
+
title: `${e(le)(P.fromDate, 0, !0)} - ${e(le)(P.toDate, 0, !0)}`
|
|
1247
1245
|
}, [
|
|
1248
|
-
a("span", null,
|
|
1246
|
+
a("span", null, h(`${e(le)(P.fromDate, 0, !0)} - ${e(le)(P.toDate, 0, !0)}`), 1)
|
|
1249
1247
|
], 8, Xl),
|
|
1250
1248
|
a("ul", null, [
|
|
1251
|
-
_("", !0),
|
|
1249
|
+
isNaN(P.roomCount) ? _("", !0) : (d(), v("li", Zl, [
|
|
1250
|
+
y(W, {
|
|
1251
|
+
icon: "house",
|
|
1252
|
+
type: "fal",
|
|
1253
|
+
color: "header"
|
|
1254
|
+
}),
|
|
1255
|
+
a("span", null, h(e(o)("booking.availability.units")) + ": " + h(P.roomCount), 1)
|
|
1256
|
+
])),
|
|
1252
1257
|
a("li", null, [
|
|
1253
1258
|
y(W, {
|
|
1254
1259
|
icon: "money-bill",
|
|
1255
1260
|
type: "fal",
|
|
1256
1261
|
color: "header"
|
|
1257
1262
|
}),
|
|
1258
|
-
a("span", null,
|
|
1263
|
+
a("span", null, h(e(o)("booking.availability.pricesFrom")) + ": " + h(e(ne)(P.priceStartFrom, e(_e))) + " " + h(e(o)("general.perNight")), 1)
|
|
1259
1264
|
])
|
|
1260
1265
|
]),
|
|
1261
1266
|
y(me, {
|
|
1262
1267
|
label: e(o)("booking.availability.selectDates"),
|
|
1263
1268
|
"full-width": "",
|
|
1264
|
-
onClickEvent: (
|
|
1269
|
+
onClickEvent: (b) => e(Oe)(new Date(P.fromDate), new Date(P.toDate))
|
|
1265
1270
|
}, null, 8, ["label", "onClickEvent"])
|
|
1266
1271
|
]))), 128))
|
|
1267
1272
|
])
|
|
1268
1273
|
]))
|
|
1269
|
-
])) : isNaN(e(i)) && !e(
|
|
1270
|
-
a("span", null,
|
|
1271
|
-
])) : (d(),
|
|
1274
|
+
])) : isNaN(e(i)) && !e(u) ? (d(), v("div", en, [
|
|
1275
|
+
a("span", null, h(e(o)("alert.info.selectHotelToStart")), 1)
|
|
1276
|
+
])) : (d(), v("div", tn, [
|
|
1272
1277
|
y(Xe),
|
|
1273
1278
|
y(Xe),
|
|
1274
1279
|
y(Xe)
|
|
@@ -1279,7 +1284,7 @@ const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1279
1284
|
e(dt) ? (d(), A(me, {
|
|
1280
1285
|
key: 0,
|
|
1281
1286
|
label: isNaN(e(i)) ? e(o)("availability.buttonLabel") : e(o)("general.searchAgain"),
|
|
1282
|
-
"is-loading": e(
|
|
1287
|
+
"is-loading": e(u),
|
|
1283
1288
|
"full-width": "",
|
|
1284
1289
|
onClickEvent: V[1] || (V[1] = (P) => e(mt)())
|
|
1285
1290
|
}, null, 8, ["label", "is-loading"])) : (d(), A(me, {
|
|
@@ -1294,69 +1299,69 @@ const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1294
1299
|
}, 1024)
|
|
1295
1300
|
]),
|
|
1296
1301
|
addons: w(({ next: J, prev: P }) => [
|
|
1297
|
-
e(
|
|
1302
|
+
e(be) ? (d(), A(Ze, {
|
|
1298
1303
|
key: 0,
|
|
1299
1304
|
"prev-callback": () => ht(P)
|
|
1300
1305
|
}, {
|
|
1301
1306
|
form: w(() => [
|
|
1302
|
-
a("form",
|
|
1307
|
+
a("form", on, [
|
|
1303
1308
|
a("h2", null, [
|
|
1304
|
-
a("span", null,
|
|
1309
|
+
a("span", null, h(e(o)("booking.reservation.addons")), 1)
|
|
1305
1310
|
]),
|
|
1306
1311
|
a("div", null, [
|
|
1307
|
-
isNaN(e(s)) ? (d(),
|
|
1308
|
-
(d(!0),
|
|
1312
|
+
isNaN(e(s)) ? (d(), v("div", ln, [
|
|
1313
|
+
(d(!0), v(F, null, G(e(se), (S) => (d(), v("ul", {
|
|
1309
1314
|
key: S.roomGroupID
|
|
1310
1315
|
}, [
|
|
1311
|
-
(d(!0),
|
|
1312
|
-
key:
|
|
1316
|
+
(d(!0), v(F, null, G(S.variants, (b, U) => (d(), v("li", {
|
|
1317
|
+
key: b.ratePlanID
|
|
1313
1318
|
}, [
|
|
1314
1319
|
a("h4", null, [
|
|
1315
|
-
a("span", null,
|
|
1320
|
+
a("span", null, h(e(pe)(S.title)), 1)
|
|
1316
1321
|
]),
|
|
1317
|
-
(d(!0),
|
|
1322
|
+
(d(!0), v(F, null, G(b.rooms, (H, oe) => (d(), v("table", {
|
|
1318
1323
|
key: oe,
|
|
1319
1324
|
class: "konnectio-table with-lines"
|
|
1320
1325
|
}, [
|
|
1321
1326
|
a("thead", null, [
|
|
1322
1327
|
a("tr", null, [
|
|
1323
1328
|
a("th", null, [
|
|
1324
|
-
a("span", null,
|
|
1329
|
+
a("span", null, h(e(pe)(b.name)), 1)
|
|
1325
1330
|
]),
|
|
1326
1331
|
_("", !0),
|
|
1327
|
-
a("th",
|
|
1332
|
+
a("th", nn, [
|
|
1328
1333
|
a("b", null, [
|
|
1329
1334
|
y(W, {
|
|
1330
1335
|
icon: "male",
|
|
1331
1336
|
type: "fas",
|
|
1332
1337
|
color: "font"
|
|
1333
1338
|
}),
|
|
1334
|
-
a("span", null,
|
|
1339
|
+
a("span", null, h(H.adultsCount), 1),
|
|
1335
1340
|
H.childrenCount > 0 ? (d(), A(W, {
|
|
1336
1341
|
key: 0,
|
|
1337
1342
|
icon: "child",
|
|
1338
1343
|
type: "fas",
|
|
1339
1344
|
color: "font"
|
|
1340
1345
|
})) : _("", !0),
|
|
1341
|
-
H.childrenCount > 0 ? (d(),
|
|
1346
|
+
H.childrenCount > 0 ? (d(), v("span", an, h(H.childrenCount), 1)) : _("", !0)
|
|
1342
1347
|
])
|
|
1343
1348
|
])
|
|
1344
1349
|
])
|
|
1345
1350
|
]),
|
|
1346
1351
|
a("tbody", null, [
|
|
1347
|
-
(d(!0),
|
|
1352
|
+
(d(!0), v(F, null, G(e(ft)(b.addons, H.childrenCount), ({
|
|
1348
1353
|
quantityStrategy: X,
|
|
1349
1354
|
maximumNumber: Ve,
|
|
1350
1355
|
id: de,
|
|
1351
1356
|
name: ao,
|
|
1352
1357
|
price: io
|
|
1353
|
-
}) => (d(),
|
|
1354
|
-
a("td", an, [
|
|
1355
|
-
a("b", null, v(e(pe)(ao)), 1),
|
|
1356
|
-
a("span", null, v(e(ne)(io, e(_e))) + " " + v(e(yt)(X)), 1)
|
|
1357
|
-
]),
|
|
1358
|
+
}) => (d(), v("tr", { key: de }, [
|
|
1358
1359
|
a("td", sn, [
|
|
1359
|
-
|
|
1360
|
+
a("b", null, h(e(pe)(ao)), 1),
|
|
1361
|
+
a("span", null, h(e(ne)(io, e(_e))) + " " + h(e(yt)(X)), 1)
|
|
1362
|
+
]),
|
|
1363
|
+
a("td", rn, [
|
|
1364
|
+
e(L)[S.roomGroupID][U].config[H.configIdx].addons[H.roomIdx] ? (d(), v(F, { key: 0 }, [
|
|
1360
1365
|
X === 1 || X === 12 ? (d(), A(ot, {
|
|
1361
1366
|
key: 0,
|
|
1362
1367
|
modelValue: e(L)[S.roomGroupID][U].config[H.configIdx].addons[H.roomIdx][de],
|
|
@@ -1377,41 +1382,41 @@ const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1377
1382
|
]))), 128))
|
|
1378
1383
|
]))), 128))
|
|
1379
1384
|
]))), 128))
|
|
1380
|
-
])) : e(
|
|
1385
|
+
])) : e(ge) ? (d(), v("div", dn, [
|
|
1381
1386
|
a("div", null, [
|
|
1382
1387
|
a("h4", null, [
|
|
1383
|
-
a("span", null,
|
|
1388
|
+
a("span", null, h(e(Le).name), 1)
|
|
1384
1389
|
]),
|
|
1385
|
-
a("table",
|
|
1390
|
+
a("table", un, [
|
|
1386
1391
|
a("thead", null, [
|
|
1387
1392
|
a("tr", null, [
|
|
1388
1393
|
a("th", null, [
|
|
1389
|
-
a("span", null,
|
|
1394
|
+
a("span", null, h(e(pe)(e(ge).title)), 1)
|
|
1390
1395
|
]),
|
|
1391
1396
|
_("", !0),
|
|
1392
1397
|
cn
|
|
1393
1398
|
])
|
|
1394
1399
|
]),
|
|
1395
1400
|
a("tbody", null, [
|
|
1396
|
-
(d(!0),
|
|
1401
|
+
(d(!0), v(F, null, G(e(ft)(e(ge).addons, e(Ue)), ({
|
|
1397
1402
|
quantityStrategy: S,
|
|
1398
|
-
maximumNumber:
|
|
1403
|
+
maximumNumber: b,
|
|
1399
1404
|
id: U,
|
|
1400
1405
|
name: H,
|
|
1401
1406
|
price: oe
|
|
1402
|
-
}) => (d(),
|
|
1403
|
-
a("td", un, [
|
|
1404
|
-
a("b", null, v(e(pe)(H)), 1),
|
|
1405
|
-
a("span", null, v(e(ne)(oe, e(_e))) + " " + v(e(yt)(S)), 1)
|
|
1406
|
-
]),
|
|
1407
|
+
}) => (d(), v("tr", { key: U }, [
|
|
1407
1408
|
a("td", pn, [
|
|
1409
|
+
a("b", null, h(e(pe)(H)), 1),
|
|
1410
|
+
a("span", null, h(e(ne)(oe, e(_e))) + " " + h(e(yt)(S)), 1)
|
|
1411
|
+
]),
|
|
1412
|
+
a("td", mn, [
|
|
1408
1413
|
S === 1 || S === 12 ? (d(), A(ot, {
|
|
1409
1414
|
key: 0,
|
|
1410
1415
|
modelValue: e(m)[U],
|
|
1411
1416
|
"onUpdate:modelValue": (X) => e(m)[U] = X,
|
|
1412
1417
|
small: !0,
|
|
1413
1418
|
"min-value": 0,
|
|
1414
|
-
"max-value":
|
|
1419
|
+
"max-value": b || 1 / 0
|
|
1415
1420
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (d(), A(Te, {
|
|
1416
1421
|
key: 1,
|
|
1417
1422
|
modelValue: e(m)[U],
|
|
@@ -1438,25 +1443,25 @@ const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1438
1443
|
}, 1032, ["prev-callback"])) : _("", !0)
|
|
1439
1444
|
]),
|
|
1440
1445
|
reservation: w(({ next: J, prev: P, reset: S }) => [
|
|
1441
|
-
e(
|
|
1446
|
+
e(be) ? (d(), A(Ze, {
|
|
1442
1447
|
key: 0,
|
|
1443
1448
|
"prev-callback": () => ht(P),
|
|
1444
1449
|
"show-terms-notice": !0,
|
|
1445
1450
|
"show-gift-card": !0
|
|
1446
1451
|
}, {
|
|
1447
1452
|
form: w(() => [
|
|
1448
|
-
a("form",
|
|
1453
|
+
a("form", fn, [
|
|
1449
1454
|
a("h2", null, [
|
|
1450
|
-
a("span", null,
|
|
1455
|
+
a("span", null, h(e(o)("booking.reservation.detailsTitle")), 1)
|
|
1451
1456
|
]),
|
|
1452
|
-
!e(Lt) && !(e(Ge) && e(We)) ? (d(),
|
|
1457
|
+
!e(Lt) && !(e(Ge) && e(We)) ? (d(), v("ul", {
|
|
1453
1458
|
key: 0,
|
|
1454
|
-
class:
|
|
1459
|
+
class: Ne(["konnectio-reservation-timepicker", { "konnectio-split-inputs": !e(Ge) && !e(We) }])
|
|
1455
1460
|
}, [
|
|
1456
|
-
e(Ge) ? _("", !0) : (d(),
|
|
1457
|
-
y(
|
|
1461
|
+
e(Ge) ? _("", !0) : (d(), v("li", hn, [
|
|
1462
|
+
y(gt, {
|
|
1458
1463
|
modelValue: e($),
|
|
1459
|
-
"onUpdate:modelValue": V[2] || (V[2] = (
|
|
1464
|
+
"onUpdate:modelValue": V[2] || (V[2] = (b) => j($) ? $.value = b : null),
|
|
1460
1465
|
label: e(o)("booking.reservation.arrivalTime"),
|
|
1461
1466
|
icon: "hourglass-start",
|
|
1462
1467
|
"min-time": e(je),
|
|
@@ -1464,32 +1469,32 @@ const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1464
1469
|
required: ""
|
|
1465
1470
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
1466
1471
|
])),
|
|
1467
|
-
e(We) ? _("", !0) : (d(),
|
|
1468
|
-
y(
|
|
1472
|
+
e(We) ? _("", !0) : (d(), v("li", vn, [
|
|
1473
|
+
y(gt, {
|
|
1469
1474
|
modelValue: e(T),
|
|
1470
|
-
"onUpdate:modelValue": V[3] || (V[3] = (
|
|
1475
|
+
"onUpdate:modelValue": V[3] || (V[3] = (b) => j(T) ? T.value = b : null),
|
|
1471
1476
|
label: e(o)("booking.reservation.departureTime"),
|
|
1472
1477
|
icon: "hourglass-end",
|
|
1473
1478
|
"min-time": e(qe),
|
|
1474
|
-
"max-time": e(
|
|
1479
|
+
"max-time": e(ut),
|
|
1475
1480
|
required: ""
|
|
1476
1481
|
}, null, 8, ["modelValue", "label", "min-time", "max-time"])
|
|
1477
1482
|
]))
|
|
1478
1483
|
], 2)) : _("", !0),
|
|
1479
1484
|
y(Pl, {
|
|
1480
1485
|
modelValue: e(C),
|
|
1481
|
-
"onUpdate:modelValue": V[4] || (V[4] = (
|
|
1486
|
+
"onUpdate:modelValue": V[4] || (V[4] = (b) => j(C) ? C.value = b : null),
|
|
1482
1487
|
title: e(I),
|
|
1483
|
-
"onUpdate:title": V[5] || (V[5] = (
|
|
1488
|
+
"onUpdate:title": V[5] || (V[5] = (b) => j(I) ? I.value = b : null),
|
|
1484
1489
|
"exclude-title": e(Ut),
|
|
1485
1490
|
label: e(o)("booking.reservation.name"),
|
|
1486
1491
|
icon: "user-alt",
|
|
1487
1492
|
placeholder: e(o)("booking.reservation.namePlaceholder"),
|
|
1488
1493
|
required: ""
|
|
1489
1494
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1490
|
-
y(
|
|
1491
|
-
modelValue: e(
|
|
1492
|
-
"onUpdate:modelValue": V[6] || (V[6] = (
|
|
1495
|
+
y(ce, {
|
|
1496
|
+
modelValue: e(B),
|
|
1497
|
+
"onUpdate:modelValue": V[6] || (V[6] = (b) => j(B) ? B.value = b : null),
|
|
1493
1498
|
type: "email",
|
|
1494
1499
|
name: "email",
|
|
1495
1500
|
autocomplete: "email",
|
|
@@ -1498,19 +1503,19 @@ const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1498
1503
|
placeholder: e(o)("booking.reservation.emailPlaceholder"),
|
|
1499
1504
|
required: ""
|
|
1500
1505
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1501
|
-
e(xt) ? _("", !0) : (d(),
|
|
1506
|
+
e(xt) ? _("", !0) : (d(), v("div", yn, [
|
|
1502
1507
|
y(Te, {
|
|
1503
1508
|
modelValue: e(he),
|
|
1504
|
-
"onUpdate:modelValue": V[7] || (V[7] = (
|
|
1509
|
+
"onUpdate:modelValue": V[7] || (V[7] = (b) => j(he) ? he.value = b : null),
|
|
1505
1510
|
type: "checkbox",
|
|
1506
1511
|
name: "newsletter",
|
|
1507
1512
|
label: e(o)("booking.reservation.newsletterSignUp")
|
|
1508
1513
|
}, null, 8, ["modelValue", "label"])
|
|
1509
1514
|
])),
|
|
1510
|
-
e(jt) ? _("", !0) : (d(), A(
|
|
1515
|
+
e(jt) ? _("", !0) : (d(), A(ce, {
|
|
1511
1516
|
key: 2,
|
|
1512
1517
|
modelValue: e(E),
|
|
1513
|
-
"onUpdate:modelValue": V[8] || (V[8] = (
|
|
1518
|
+
"onUpdate:modelValue": V[8] || (V[8] = (b) => j(E) ? E.value = b : null),
|
|
1514
1519
|
type: "text",
|
|
1515
1520
|
name: "firm",
|
|
1516
1521
|
autocomplete: "firm",
|
|
@@ -1519,8 +1524,8 @@ const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1519
1524
|
placeholder: e(o)("booking.reservation.companyNamePlaceholder")
|
|
1520
1525
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1521
1526
|
y(Lo, {
|
|
1522
|
-
modelValue: e(
|
|
1523
|
-
"onUpdate:modelValue": V[9] || (V[9] = (
|
|
1527
|
+
modelValue: e(M),
|
|
1528
|
+
"onUpdate:modelValue": V[9] || (V[9] = (b) => j(M) ? M.value = b : null),
|
|
1524
1529
|
icon: "phone-office",
|
|
1525
1530
|
label: e(o)("booking.reservation.phone"),
|
|
1526
1531
|
placeholder: e(o)("booking.reservation.phonePlaceholder"),
|
|
@@ -1528,15 +1533,15 @@ const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1528
1533
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1529
1534
|
y(Tl, {
|
|
1530
1535
|
modelValue: e(z),
|
|
1531
|
-
"onUpdate:modelValue": V[10] || (V[10] = (
|
|
1536
|
+
"onUpdate:modelValue": V[10] || (V[10] = (b) => j(z) ? z.value = b : null),
|
|
1532
1537
|
label: e(o)("booking.reservation.country"),
|
|
1533
1538
|
placeholder: e(o)("booking.reservation.countryPlaceholder"),
|
|
1534
1539
|
options: e(p),
|
|
1535
1540
|
required: ""
|
|
1536
1541
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1537
|
-
y(
|
|
1538
|
-
modelValue: e(
|
|
1539
|
-
"onUpdate:modelValue": V[11] || (V[11] = (
|
|
1542
|
+
y(ce, {
|
|
1543
|
+
modelValue: e(N),
|
|
1544
|
+
"onUpdate:modelValue": V[11] || (V[11] = (b) => j(N) ? N.value = b : null),
|
|
1540
1545
|
type: "textarea",
|
|
1541
1546
|
name: "address",
|
|
1542
1547
|
autocomplete: "street-address",
|
|
@@ -1545,11 +1550,11 @@ const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1545
1550
|
placeholder: e(o)("booking.reservation.streetAddressPlaceholder"),
|
|
1546
1551
|
required: ""
|
|
1547
1552
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1548
|
-
a("ul",
|
|
1553
|
+
a("ul", bn, [
|
|
1549
1554
|
a("li", null, [
|
|
1550
|
-
y(
|
|
1555
|
+
y(ce, {
|
|
1551
1556
|
modelValue: e(k),
|
|
1552
|
-
"onUpdate:modelValue": V[12] || (V[12] = (
|
|
1557
|
+
"onUpdate:modelValue": V[12] || (V[12] = (b) => j(k) ? k.value = b : null),
|
|
1553
1558
|
type: "text",
|
|
1554
1559
|
name: "postal",
|
|
1555
1560
|
autocomplete: "postal-code",
|
|
@@ -1560,9 +1565,9 @@ const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1560
1565
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1561
1566
|
]),
|
|
1562
1567
|
a("li", null, [
|
|
1563
|
-
y(
|
|
1568
|
+
y(ce, {
|
|
1564
1569
|
modelValue: e(D),
|
|
1565
|
-
"onUpdate:modelValue": V[13] || (V[13] = (
|
|
1570
|
+
"onUpdate:modelValue": V[13] || (V[13] = (b) => j(D) ? D.value = b : null),
|
|
1566
1571
|
type: "text",
|
|
1567
1572
|
name: "city",
|
|
1568
1573
|
autocomplete: "address-level2",
|
|
@@ -1573,17 +1578,17 @@ const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1573
1578
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1574
1579
|
])
|
|
1575
1580
|
]),
|
|
1576
|
-
y(
|
|
1581
|
+
y(ce, {
|
|
1577
1582
|
modelValue: e(R),
|
|
1578
|
-
"onUpdate:modelValue": V[14] || (V[14] = (
|
|
1583
|
+
"onUpdate:modelValue": V[14] || (V[14] = (b) => j(R) ? R.value = b : null),
|
|
1579
1584
|
type: "textarea",
|
|
1580
1585
|
label: `${e(o)("booking.reservation.remark")} (${e(o)("booking.reservation.optional")})`,
|
|
1581
1586
|
icon: "info-circle",
|
|
1582
1587
|
placeholder: e(o)("booking.reservation.remarkPlaceholder")
|
|
1583
1588
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1584
|
-
y(
|
|
1589
|
+
y(ce, {
|
|
1585
1590
|
modelValue: e(Y),
|
|
1586
|
-
"onUpdate:modelValue": V[15] || (V[15] = (
|
|
1591
|
+
"onUpdate:modelValue": V[15] || (V[15] = (b) => j(Y) ? Y.value = b : null),
|
|
1587
1592
|
type: "textarea",
|
|
1588
1593
|
label: `${e(o)("booking.reservation.allergies")} (${e(o)("booking.reservation.optional")})`,
|
|
1589
1594
|
icon: "allergies",
|
|
@@ -1592,7 +1597,7 @@ const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1592
1597
|
e(Ft) ? _("", !0) : (d(), A(So, {
|
|
1593
1598
|
key: 3,
|
|
1594
1599
|
modelValue: e(f),
|
|
1595
|
-
"onUpdate:modelValue": V[16] || (V[16] = (
|
|
1600
|
+
"onUpdate:modelValue": V[16] || (V[16] = (b) => j(f) ? f.value = b : null),
|
|
1596
1601
|
label: `${e(o)("booking.reservation.purposeOfStay")} (${e(o)("booking.reservation.optional")})`,
|
|
1597
1602
|
name: "travelingFor",
|
|
1598
1603
|
checkboxes: eo.value
|
|
@@ -1603,10 +1608,10 @@ const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1603
1608
|
a("div", null, [
|
|
1604
1609
|
y(me, {
|
|
1605
1610
|
label: e(qt) ? e(o)("booking.reservation.nextButton") : e(o)("general.confirmReservation"),
|
|
1606
|
-
disabled: !e(
|
|
1611
|
+
disabled: !e(c),
|
|
1607
1612
|
"is-loading": e(r),
|
|
1608
1613
|
"full-width": "",
|
|
1609
|
-
onClickEvent: (
|
|
1614
|
+
onClickEvent: (b) => oo(J, S)
|
|
1610
1615
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"])
|
|
1611
1616
|
])
|
|
1612
1617
|
]),
|
|
@@ -1636,7 +1641,7 @@ const cn = /* @__PURE__ */ El(() => /* @__PURE__ */ a("th", { class: "konnectio-
|
|
|
1636
1641
|
_: 1
|
|
1637
1642
|
}, 8, ["styling"]));
|
|
1638
1643
|
}
|
|
1639
|
-
}), kt = /* @__PURE__ */ fe(gn, [["__scopeId", "data-v-
|
|
1644
|
+
}), kt = /* @__PURE__ */ fe(gn, [["__scopeId", "data-v-72435bab"]]);
|
|
1640
1645
|
function lt(n, l = {}, t) {
|
|
1641
1646
|
for (const o in n) {
|
|
1642
1647
|
const i = n[o], s = t ? `${t}:${o}` : o;
|
|
@@ -1644,15 +1649,15 @@ function lt(n, l = {}, t) {
|
|
|
1644
1649
|
}
|
|
1645
1650
|
return l;
|
|
1646
1651
|
}
|
|
1647
|
-
const
|
|
1648
|
-
function
|
|
1652
|
+
const kn = { run: (n) => n() }, _n = () => kn, Et = typeof console.createTask < "u" ? console.createTask : _n;
|
|
1653
|
+
function Vn(n, l) {
|
|
1649
1654
|
const t = l.shift(), o = Et(t);
|
|
1650
1655
|
return n.reduce(
|
|
1651
1656
|
(i, s) => i.then(() => o.run(() => s(...l))),
|
|
1652
1657
|
Promise.resolve()
|
|
1653
1658
|
);
|
|
1654
1659
|
}
|
|
1655
|
-
function
|
|
1660
|
+
function $n(n, l) {
|
|
1656
1661
|
const t = l.shift(), o = Et(t);
|
|
1657
1662
|
return Promise.all(n.map((i) => o.run(() => i(...l))));
|
|
1658
1663
|
}
|
|
@@ -1660,7 +1665,7 @@ function et(n, l) {
|
|
|
1660
1665
|
for (const t of [...n])
|
|
1661
1666
|
t(l);
|
|
1662
1667
|
}
|
|
1663
|
-
class
|
|
1668
|
+
class wn {
|
|
1664
1669
|
constructor() {
|
|
1665
1670
|
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);
|
|
1666
1671
|
}
|
|
@@ -1729,10 +1734,10 @@ class $n {
|
|
|
1729
1734
|
delete this._hooks[l];
|
|
1730
1735
|
}
|
|
1731
1736
|
callHook(l, ...t) {
|
|
1732
|
-
return t.unshift(l), this.callHookWith(
|
|
1737
|
+
return t.unshift(l), this.callHookWith(Vn, l, ...t);
|
|
1733
1738
|
}
|
|
1734
1739
|
callHookParallel(l, ...t) {
|
|
1735
|
-
return t.unshift(l), this.callHookWith(
|
|
1740
|
+
return t.unshift(l), this.callHookWith($n, l, ...t);
|
|
1736
1741
|
}
|
|
1737
1742
|
callHookWith(l, t, ...o) {
|
|
1738
1743
|
const i = this._before || this._after ? { name: t, args: o, context: {} } : void 0;
|
|
@@ -1762,20 +1767,20 @@ class $n {
|
|
|
1762
1767
|
};
|
|
1763
1768
|
}
|
|
1764
1769
|
}
|
|
1765
|
-
function
|
|
1766
|
-
return new
|
|
1770
|
+
function Tn() {
|
|
1771
|
+
return new wn();
|
|
1767
1772
|
}
|
|
1768
|
-
function
|
|
1773
|
+
function Cn(n) {
|
|
1769
1774
|
return Array.isArray(n) ? n : [n];
|
|
1770
1775
|
}
|
|
1771
|
-
const
|
|
1776
|
+
const Pn = ["title", "titleTemplate", "script", "style", "noscript"], He = [
|
|
1772
1777
|
"base",
|
|
1773
1778
|
"meta",
|
|
1774
1779
|
"link",
|
|
1775
1780
|
"style",
|
|
1776
1781
|
"script",
|
|
1777
1782
|
"noscript"
|
|
1778
|
-
],
|
|
1783
|
+
], An = [
|
|
1779
1784
|
"title",
|
|
1780
1785
|
"titleTemplate",
|
|
1781
1786
|
"templateParams",
|
|
@@ -1787,7 +1792,7 @@ const Cn = ["title", "titleTemplate", "script", "style", "noscript"], He = [
|
|
|
1787
1792
|
"style",
|
|
1788
1793
|
"script",
|
|
1789
1794
|
"noscript"
|
|
1790
|
-
],
|
|
1795
|
+
], Dn = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Nt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "children", "innerHTML", "textContent", "processTemplateParams"], Sn = typeof window < "u";
|
|
1791
1796
|
function rt(n) {
|
|
1792
1797
|
let l = 9;
|
|
1793
1798
|
for (let t = 0; t < n.length; )
|
|
@@ -1797,9 +1802,9 @@ function rt(n) {
|
|
|
1797
1802
|
function _t(n) {
|
|
1798
1803
|
return n._h || rt(n._d ? n._d : `${n.tag}:${n.textContent || n.innerHTML || ""}:${Object.entries(n.props).map(([l, t]) => `${l}:${String(t)}`).join(",")}`);
|
|
1799
1804
|
}
|
|
1800
|
-
function
|
|
1805
|
+
function Mt(n, l) {
|
|
1801
1806
|
const { props: t, tag: o } = n;
|
|
1802
|
-
if (
|
|
1807
|
+
if (Dn.includes(o))
|
|
1803
1808
|
return o;
|
|
1804
1809
|
if (o === "link" && t.rel === "canonical")
|
|
1805
1810
|
return "canonical";
|
|
@@ -1817,45 +1822,45 @@ function Nt(n, l) {
|
|
|
1817
1822
|
function Vt(n, l) {
|
|
1818
1823
|
return n == null ? l || null : typeof n == "function" ? n(l) : n;
|
|
1819
1824
|
}
|
|
1820
|
-
async function
|
|
1825
|
+
async function Hn(n, l, t) {
|
|
1821
1826
|
const o = {
|
|
1822
1827
|
tag: n,
|
|
1823
|
-
props: await
|
|
1828
|
+
props: await Bt(
|
|
1824
1829
|
// explicitly check for an object
|
|
1825
1830
|
// @ts-expect-error untyped
|
|
1826
1831
|
typeof l == "object" && typeof l != "function" && !(l instanceof Promise) ? { ...l } : { [["script", "noscript", "style"].includes(n) ? "innerHTML" : "textContent"]: l },
|
|
1827
1832
|
["templateParams", "titleTemplate"].includes(n)
|
|
1828
1833
|
)
|
|
1829
1834
|
};
|
|
1830
|
-
return
|
|
1835
|
+
return Nt.forEach((i) => {
|
|
1831
1836
|
const s = typeof o.props[i] < "u" ? o.props[i] : t[i];
|
|
1832
|
-
typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) ||
|
|
1837
|
+
typeof s < "u" && ((!["innerHTML", "textContent", "children"].includes(i) || Pn.includes(o.tag)) && (o[i === "children" ? "innerHTML" : i] = s), delete o.props[i]);
|
|
1833
1838
|
}), o.props.body && (o.tagPosition = "bodyClose", delete o.props.body), o.tag === "script" && typeof o.innerHTML == "object" && (o.innerHTML = JSON.stringify(o.innerHTML), o.props.type = o.props.type || "application/json"), Array.isArray(o.props.content) ? o.props.content.map((i) => ({ ...o, props: { ...o.props, content: i } })) : o;
|
|
1834
1839
|
}
|
|
1835
|
-
function
|
|
1840
|
+
function In(n, l) {
|
|
1836
1841
|
const t = n === "class" ? " " : ";";
|
|
1837
1842
|
return typeof l == "object" && !Array.isArray(l) && (l = Object.entries(l).filter(([, o]) => o).map(([o, i]) => n === "style" ? `${o}:${i}` : o)), String(Array.isArray(l) ? l.join(t) : l)?.split(t).filter((o) => o.trim()).filter(Boolean).join(t);
|
|
1838
1843
|
}
|
|
1839
|
-
async function
|
|
1844
|
+
async function Bt(n, l) {
|
|
1840
1845
|
for (const t of Object.keys(n)) {
|
|
1841
1846
|
if (["class", "style"].includes(t)) {
|
|
1842
|
-
n[t] =
|
|
1847
|
+
n[t] = In(t, n[t]);
|
|
1843
1848
|
continue;
|
|
1844
1849
|
}
|
|
1845
|
-
if (n[t] instanceof Promise && (n[t] = await n[t]), !l && !
|
|
1850
|
+
if (n[t] instanceof Promise && (n[t] = await n[t]), !l && !Nt.includes(t)) {
|
|
1846
1851
|
const o = String(n[t]), i = t.startsWith("data-");
|
|
1847
1852
|
o === "true" || o === "" ? n[t] = i ? "true" : !0 : n[t] || (i && o === "false" ? n[t] = "false" : delete n[t]);
|
|
1848
1853
|
}
|
|
1849
1854
|
}
|
|
1850
1855
|
return n;
|
|
1851
1856
|
}
|
|
1852
|
-
const
|
|
1853
|
-
async function
|
|
1857
|
+
const En = 10;
|
|
1858
|
+
async function Nn(n) {
|
|
1854
1859
|
const l = [];
|
|
1855
|
-
return Object.entries(n.resolvedInput).filter(([t, o]) => typeof o < "u" &&
|
|
1856
|
-
const i =
|
|
1857
|
-
l.push(...i.map((s) =>
|
|
1858
|
-
}), (await Promise.all(l)).flat().filter(Boolean).map((t, o) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i <<
|
|
1860
|
+
return Object.entries(n.resolvedInput).filter(([t, o]) => typeof o < "u" && An.includes(t)).forEach(([t, o]) => {
|
|
1861
|
+
const i = Cn(o);
|
|
1862
|
+
l.push(...i.map((s) => Hn(t, s, n)).flat());
|
|
1863
|
+
}), (await Promise.all(l)).flat().filter(Boolean).map((t, o) => (t._e = n._i, n.mode && (t._m = n.mode), t._p = (n._i << En) + o, t));
|
|
1859
1864
|
}
|
|
1860
1865
|
const $t = {
|
|
1861
1866
|
// tags
|
|
@@ -1867,18 +1872,18 @@ const $t = {
|
|
|
1867
1872
|
high: -10,
|
|
1868
1873
|
low: 20
|
|
1869
1874
|
};
|
|
1870
|
-
function
|
|
1875
|
+
function Me(n) {
|
|
1871
1876
|
let l = 100;
|
|
1872
1877
|
const t = n.tagPriority;
|
|
1873
1878
|
return typeof t == "number" ? t : (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 $t && (l = $t[n.tag]), typeof t == "string" && t in wt ? l + wt[t] : l);
|
|
1874
1879
|
}
|
|
1875
|
-
const
|
|
1880
|
+
const Mn = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], Tt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ue = "%separator";
|
|
1876
1881
|
function Ie(n, l, t) {
|
|
1877
1882
|
if (typeof n != "string" || !n.includes("%"))
|
|
1878
1883
|
return n;
|
|
1879
1884
|
function o(m) {
|
|
1880
1885
|
let p;
|
|
1881
|
-
return ["s", "pageTitle"].includes(m) ? p = l.pageTitle : m.includes(".") ? p = m.split(".").reduce((
|
|
1886
|
+
return ["s", "pageTitle"].includes(m) ? p = l.pageTitle : m.includes(".") ? p = m.split(".").reduce((u, r) => u && u[r] || void 0, l) : p = l[m], typeof p < "u" ? (p || "").replace(/"/g, '\\"') : !1;
|
|
1882
1887
|
}
|
|
1883
1888
|
let i = n;
|
|
1884
1889
|
try {
|
|
@@ -1887,19 +1892,19 @@ function Ie(n, l, t) {
|
|
|
1887
1892
|
}
|
|
1888
1893
|
return (i.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((m) => {
|
|
1889
1894
|
const p = o(m.slice(1));
|
|
1890
|
-
typeof p == "string" && (n = n.replace(new RegExp(`\\${m}(\\W|$)`, "g"), (
|
|
1891
|
-
}), n.includes(
|
|
1895
|
+
typeof p == "string" && (n = n.replace(new RegExp(`\\${m}(\\W|$)`, "g"), (u, r) => `${p}${r}`).trim());
|
|
1896
|
+
}), n.includes(ue) && (n.endsWith(ue) && (n = n.slice(0, -ue.length).trim()), n.startsWith(ue) && (n = n.slice(ue.length).trim()), n = n.replace(new RegExp(`\\${ue}\\s*\\${ue}`, "g"), ue), n = Ie(n, { separator: t }, t)), n;
|
|
1892
1897
|
}
|
|
1893
|
-
async function
|
|
1898
|
+
async function Bn(n, l = {}) {
|
|
1894
1899
|
const t = l.document || n.resolvedOptions.document;
|
|
1895
1900
|
if (!t || !n.dirty)
|
|
1896
1901
|
return;
|
|
1897
1902
|
const o = { shouldRender: !0, tags: [] };
|
|
1898
1903
|
if (await n.hooks.callHook("dom:beforeRender", o), !o.shouldRender)
|
|
1899
1904
|
return;
|
|
1900
|
-
const i = (await n.resolveTags()).map((
|
|
1901
|
-
tag:
|
|
1902
|
-
id: He.includes(
|
|
1905
|
+
const i = (await n.resolveTags()).map((c) => ({
|
|
1906
|
+
tag: c,
|
|
1907
|
+
id: He.includes(c.tag) ? _t(c) : c.tag,
|
|
1903
1908
|
shouldRender: !0
|
|
1904
1909
|
}));
|
|
1905
1910
|
let s = n._dom;
|
|
@@ -1907,103 +1912,103 @@ async function Nn(n, l = {}) {
|
|
|
1907
1912
|
s = {
|
|
1908
1913
|
elMap: { htmlAttrs: t.documentElement, bodyAttrs: t.body }
|
|
1909
1914
|
};
|
|
1910
|
-
for (const
|
|
1911
|
-
const f = t[
|
|
1915
|
+
for (const c of ["body", "head"]) {
|
|
1916
|
+
const f = t[c]?.children, $ = [];
|
|
1912
1917
|
for (const T of [...f].filter((C) => He.includes(C.tagName.toLowerCase()))) {
|
|
1913
1918
|
const C = {
|
|
1914
1919
|
tag: T.tagName.toLowerCase(),
|
|
1915
|
-
props: await
|
|
1916
|
-
T.getAttributeNames().reduce((
|
|
1920
|
+
props: await Bt(
|
|
1921
|
+
T.getAttributeNames().reduce((M, E) => ({ ...M, [E]: T.getAttribute(E) }), {})
|
|
1917
1922
|
),
|
|
1918
1923
|
innerHTML: T.innerHTML
|
|
1919
1924
|
};
|
|
1920
|
-
let I = 1,
|
|
1921
|
-
for (;
|
|
1922
|
-
|
|
1923
|
-
C._d =
|
|
1925
|
+
let I = 1, B = Mt(C);
|
|
1926
|
+
for (; B && $.find((M) => M._d === B); )
|
|
1927
|
+
B = `${B}:${I++}`;
|
|
1928
|
+
C._d = B || void 0, $.push(C), s.elMap[T.getAttribute("data-hid") || _t(C)] = T;
|
|
1924
1929
|
}
|
|
1925
1930
|
}
|
|
1926
1931
|
}
|
|
1927
1932
|
s.pendingSideEffects = { ...s.sideEffects || {} }, s.sideEffects = {};
|
|
1928
|
-
function m(
|
|
1929
|
-
const T = `${
|
|
1933
|
+
function m(c, f, $) {
|
|
1934
|
+
const T = `${c}:${f}`;
|
|
1930
1935
|
s.sideEffects[T] = $, delete s.pendingSideEffects[T];
|
|
1931
1936
|
}
|
|
1932
|
-
function p({ id:
|
|
1937
|
+
function p({ id: c, $el: f, tag: $ }) {
|
|
1933
1938
|
const T = $.tag.endsWith("Attrs");
|
|
1934
|
-
s.elMap[
|
|
1939
|
+
s.elMap[c] = f, T || (["textContent", "innerHTML"].forEach((C) => {
|
|
1935
1940
|
$[C] && $[C] !== f[C] && (f[C] = $[C]);
|
|
1936
|
-
}), m(
|
|
1937
|
-
s.elMap[
|
|
1941
|
+
}), m(c, "el", () => {
|
|
1942
|
+
s.elMap[c]?.remove(), delete s.elMap[c];
|
|
1938
1943
|
}));
|
|
1939
1944
|
for (const [C, I] of Object.entries($._eventHandlers || {}))
|
|
1940
1945
|
f.getAttribute(`data-${C}`) !== "" && (($.tag === "bodyAttrs" ? t.defaultView : f).addEventListener(C.replace("on", ""), I.bind(f)), f.setAttribute(`data-${C}`, ""));
|
|
1941
1946
|
Object.entries($.props).forEach(([C, I]) => {
|
|
1942
|
-
const
|
|
1947
|
+
const B = `attr:${C}`;
|
|
1943
1948
|
if (C === "class")
|
|
1944
|
-
for (const
|
|
1945
|
-
T && m(
|
|
1949
|
+
for (const M of (I || "").split(" ").filter(Boolean))
|
|
1950
|
+
T && m(c, `${B}:${M}`, () => f.classList.remove(M)), !f.classList.contains(M) && f.classList.add(M);
|
|
1946
1951
|
else if (C === "style")
|
|
1947
|
-
for (const
|
|
1948
|
-
const [E, ...k] =
|
|
1949
|
-
m(
|
|
1952
|
+
for (const M of (I || "").split(";").filter(Boolean)) {
|
|
1953
|
+
const [E, ...k] = M.split(":").map((D) => D.trim());
|
|
1954
|
+
m(c, `${B}:${E}`, () => {
|
|
1950
1955
|
f.style.removeProperty(E);
|
|
1951
1956
|
}), f.style.setProperty(E, k.join(":"));
|
|
1952
1957
|
}
|
|
1953
1958
|
else
|
|
1954
|
-
f.getAttribute(C) !== I && f.setAttribute(C, I === !0 ? "" : String(I)), T && m(
|
|
1959
|
+
f.getAttribute(C) !== I && f.setAttribute(C, I === !0 ? "" : String(I)), T && m(c, B, () => f.removeAttribute(C));
|
|
1955
1960
|
});
|
|
1956
1961
|
}
|
|
1957
|
-
const
|
|
1962
|
+
const u = [], r = {
|
|
1958
1963
|
bodyClose: void 0,
|
|
1959
1964
|
bodyOpen: void 0,
|
|
1960
1965
|
head: void 0
|
|
1961
1966
|
};
|
|
1962
|
-
for (const
|
|
1963
|
-
const { tag: f, shouldRender: $, id: T } =
|
|
1967
|
+
for (const c of i) {
|
|
1968
|
+
const { tag: f, shouldRender: $, id: T } = c;
|
|
1964
1969
|
if ($) {
|
|
1965
1970
|
if (f.tag === "title") {
|
|
1966
1971
|
t.title = f.textContent;
|
|
1967
1972
|
continue;
|
|
1968
1973
|
}
|
|
1969
|
-
|
|
1974
|
+
c.$el = c.$el || s.elMap[T], c.$el ? p(c) : He.includes(f.tag) && u.push(c);
|
|
1970
1975
|
}
|
|
1971
1976
|
}
|
|
1972
|
-
for (const
|
|
1973
|
-
const f =
|
|
1974
|
-
|
|
1977
|
+
for (const c of u) {
|
|
1978
|
+
const f = c.tag.tagPosition || "head";
|
|
1979
|
+
c.$el = t.createElement(c.tag.tag), p(c), r[f] = r[f] || t.createDocumentFragment(), r[f].appendChild(c.$el);
|
|
1975
1980
|
}
|
|
1976
|
-
for (const
|
|
1977
|
-
await n.hooks.callHook("dom:renderTag",
|
|
1978
|
-
r.head && t.head.appendChild(r.head), r.bodyOpen && t.body.insertBefore(r.bodyOpen, t.body.firstChild), r.bodyClose && t.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((
|
|
1981
|
+
for (const c of i)
|
|
1982
|
+
await n.hooks.callHook("dom:renderTag", c, t, m);
|
|
1983
|
+
r.head && t.head.appendChild(r.head), r.bodyOpen && t.body.insertBefore(r.bodyOpen, t.body.firstChild), r.bodyClose && t.body.appendChild(r.bodyClose), Object.values(s.pendingSideEffects).forEach((c) => c()), n._dom = s, n.dirty = !1, await n.hooks.callHook("dom:rendered", { renders: i });
|
|
1979
1984
|
}
|
|
1980
|
-
async function
|
|
1985
|
+
async function Rn(n, l = {}) {
|
|
1981
1986
|
const t = l.delayFn || ((o) => setTimeout(o, 10));
|
|
1982
1987
|
return n._domUpdatePromise = n._domUpdatePromise || new Promise((o) => t(async () => {
|
|
1983
|
-
await
|
|
1988
|
+
await Bn(n, l), delete n._domUpdatePromise, o();
|
|
1984
1989
|
}));
|
|
1985
1990
|
}
|
|
1986
1991
|
// @__NO_SIDE_EFFECTS__
|
|
1987
|
-
function
|
|
1992
|
+
function Ln(n) {
|
|
1988
1993
|
return (l) => {
|
|
1989
1994
|
const t = l.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
1990
1995
|
return t && l.push(JSON.parse(t)), {
|
|
1991
1996
|
mode: "client",
|
|
1992
1997
|
hooks: {
|
|
1993
1998
|
"entries:updated": function(o) {
|
|
1994
|
-
|
|
1999
|
+
Rn(o, n);
|
|
1995
2000
|
}
|
|
1996
2001
|
}
|
|
1997
2002
|
};
|
|
1998
2003
|
};
|
|
1999
2004
|
}
|
|
2000
|
-
const
|
|
2005
|
+
const Un = ["templateParams", "htmlAttrs", "bodyAttrs"], Fn = {
|
|
2001
2006
|
hooks: {
|
|
2002
2007
|
"tag:normalise": function({ tag: n }) {
|
|
2003
2008
|
["hid", "vmid", "key"].forEach((o) => {
|
|
2004
2009
|
n.props[o] && (n.key = n.props[o], delete n.props[o]);
|
|
2005
2010
|
});
|
|
2006
|
-
const t =
|
|
2011
|
+
const t = Mt(n) || (n.key ? `${n.tag}:${n.key}` : !1);
|
|
2007
2012
|
t && (n._d = t);
|
|
2008
2013
|
},
|
|
2009
2014
|
"tags:resolve": function(n) {
|
|
@@ -2012,19 +2017,19 @@ const Ln = ["templateParams", "htmlAttrs", "bodyAttrs"], Un = {
|
|
|
2012
2017
|
const i = (o.key ? `${o.tag}:${o.key}` : o._d) || o._p, s = l[i];
|
|
2013
2018
|
if (s) {
|
|
2014
2019
|
let p = o?.tagDuplicateStrategy;
|
|
2015
|
-
if (!p &&
|
|
2016
|
-
const
|
|
2020
|
+
if (!p && Un.includes(o.tag) && (p = "merge"), p === "merge") {
|
|
2021
|
+
const u = s.props;
|
|
2017
2022
|
["class", "style"].forEach((r) => {
|
|
2018
|
-
|
|
2023
|
+
u[r] && (o.props[r] ? (r === "style" && !u[r].endsWith(";") && (u[r] += ";"), o.props[r] = `${u[r]} ${o.props[r]}`) : o.props[r] = u[r]);
|
|
2019
2024
|
}), l[i].props = {
|
|
2020
|
-
...
|
|
2025
|
+
...u,
|
|
2021
2026
|
...o.props
|
|
2022
2027
|
};
|
|
2023
2028
|
return;
|
|
2024
2029
|
} else if (o._e === s._e) {
|
|
2025
2030
|
s._duped = s._duped || [], o._d = `${s._d}:${s._duped.length + 1}`, s._duped.push(o);
|
|
2026
2031
|
return;
|
|
2027
|
-
} else if (
|
|
2032
|
+
} else if (Me(o) > Me(s))
|
|
2028
2033
|
return;
|
|
2029
2034
|
}
|
|
2030
2035
|
const m = Object.keys(o.props).length + (o.innerHTML ? 1 : 0) + (o.textContent ? 1 : 0);
|
|
@@ -2041,7 +2046,7 @@ const Ln = ["templateParams", "htmlAttrs", "bodyAttrs"], Un = {
|
|
|
2041
2046
|
}), n.tags = t, n.tags = n.tags.filter((o) => !(o.tag === "meta" && (o.props.name || o.props.property) && !o.props.content));
|
|
2042
2047
|
}
|
|
2043
2048
|
}
|
|
2044
|
-
},
|
|
2049
|
+
}, On = {
|
|
2045
2050
|
mode: "server",
|
|
2046
2051
|
hooks: {
|
|
2047
2052
|
"tags:resolve": function(n) {
|
|
@@ -2055,10 +2060,10 @@ const Ln = ["templateParams", "htmlAttrs", "bodyAttrs"], Un = {
|
|
|
2055
2060
|
});
|
|
2056
2061
|
}
|
|
2057
2062
|
}
|
|
2058
|
-
},
|
|
2063
|
+
}, jn = ["script", "link", "bodyAttrs"], qn = (n) => ({
|
|
2059
2064
|
hooks: {
|
|
2060
2065
|
"tags:resolve": function(l) {
|
|
2061
|
-
for (const t of l.tags.filter((o) =>
|
|
2066
|
+
for (const t of l.tags.filter((o) => jn.includes(o.tag)))
|
|
2062
2067
|
Object.entries(t.props).forEach(([o, i]) => {
|
|
2063
2068
|
o.startsWith("on") && typeof i == "function" && (n.ssr && Tt.includes(o) ? t.props[o] = `this.dataset.${o}fired = true` : delete t.props[o], t._eventHandlers = t._eventHandlers || {}, t._eventHandlers[o] = i);
|
|
2064
2069
|
}), n.ssr && t._eventHandlers && (t.props.src || t.props.href) && (t.key = t.key || rt(t.props.src || t.props.href));
|
|
@@ -2070,45 +2075,45 @@ const Ln = ["templateParams", "htmlAttrs", "bodyAttrs"], Un = {
|
|
|
2070
2075
|
}
|
|
2071
2076
|
}
|
|
2072
2077
|
}
|
|
2073
|
-
}),
|
|
2078
|
+
}), Gn = ["link", "style", "script", "noscript"], Wn = {
|
|
2074
2079
|
hooks: {
|
|
2075
2080
|
"tag:normalise": ({ tag: n }) => {
|
|
2076
|
-
n.key &&
|
|
2081
|
+
n.key && Gn.includes(n.tag) && (n.props["data-hid"] = n._h = rt(n.key));
|
|
2077
2082
|
}
|
|
2078
2083
|
}
|
|
2079
|
-
},
|
|
2084
|
+
}, xn = {
|
|
2080
2085
|
hooks: {
|
|
2081
2086
|
"tags:resolve": (n) => {
|
|
2082
2087
|
const l = (t) => n.tags.find((o) => o._d === t)?._p;
|
|
2083
|
-
for (const { prefix: t, offset: o } of
|
|
2088
|
+
for (const { prefix: t, offset: o } of Mn)
|
|
2084
2089
|
for (const i of n.tags.filter((s) => typeof s.tagPriority == "string" && s.tagPriority.startsWith(t))) {
|
|
2085
2090
|
const s = l(
|
|
2086
2091
|
i.tagPriority.replace(t, "")
|
|
2087
2092
|
);
|
|
2088
2093
|
typeof s < "u" && (i._p = s + o);
|
|
2089
2094
|
}
|
|
2090
|
-
n.tags.sort((t, o) => t._p - o._p).sort((t, o) =>
|
|
2095
|
+
n.tags.sort((t, o) => t._p - o._p).sort((t, o) => Me(t) - Me(o));
|
|
2091
2096
|
}
|
|
2092
2097
|
}
|
|
2093
|
-
},
|
|
2098
|
+
}, Kn = {
|
|
2094
2099
|
meta: "content",
|
|
2095
2100
|
link: "href",
|
|
2096
2101
|
htmlAttrs: "lang"
|
|
2097
|
-
},
|
|
2102
|
+
}, Jn = (n) => ({
|
|
2098
2103
|
hooks: {
|
|
2099
2104
|
"tags:resolve": (l) => {
|
|
2100
2105
|
const { tags: t } = l, o = t.find((p) => p.tag === "title")?.textContent, i = t.findIndex((p) => p.tag === "templateParams"), s = i !== -1 ? t[i].props : {}, m = s.separator || "|";
|
|
2101
2106
|
delete s.separator, s.pageTitle = Ie(s.pageTitle || o || "", s, m);
|
|
2102
|
-
for (const p of t.filter((
|
|
2103
|
-
const
|
|
2104
|
-
|
|
2107
|
+
for (const p of t.filter((u) => u.processTemplateParams !== !1)) {
|
|
2108
|
+
const u = Kn[p.tag];
|
|
2109
|
+
u && typeof p.props[u] == "string" ? p.props[u] = Ie(p.props[u], s, m) : (p.processTemplateParams === !0 || ["titleTemplate", "title"].includes(p.tag)) && ["innerHTML", "textContent"].forEach((r) => {
|
|
2105
2110
|
typeof p[r] == "string" && (p[r] = Ie(p[r], s, m));
|
|
2106
2111
|
});
|
|
2107
2112
|
}
|
|
2108
2113
|
n._templateParams = s, n._separator = m, l.tags = t.filter((p) => p.tag !== "templateParams");
|
|
2109
2114
|
}
|
|
2110
2115
|
}
|
|
2111
|
-
}),
|
|
2116
|
+
}), zn = {
|
|
2112
2117
|
hooks: {
|
|
2113
2118
|
"tags:resolve": (n) => {
|
|
2114
2119
|
const { tags: l } = n;
|
|
@@ -2129,7 +2134,7 @@ const Ln = ["templateParams", "htmlAttrs", "bodyAttrs"], Un = {
|
|
|
2129
2134
|
t !== -1 && delete l[t], n.tags = l.filter(Boolean);
|
|
2130
2135
|
}
|
|
2131
2136
|
}
|
|
2132
|
-
},
|
|
2137
|
+
}, Yn = {
|
|
2133
2138
|
hooks: {
|
|
2134
2139
|
"tags:afterResolve": function(n) {
|
|
2135
2140
|
for (const l of n.tags)
|
|
@@ -2138,16 +2143,16 @@ const Ln = ["templateParams", "htmlAttrs", "bodyAttrs"], Un = {
|
|
|
2138
2143
|
}
|
|
2139
2144
|
};
|
|
2140
2145
|
// @__NO_SIDE_EFFECTS__
|
|
2141
|
-
function
|
|
2142
|
-
const l =
|
|
2143
|
-
return l.use(/* @__PURE__ */
|
|
2146
|
+
function Qn(n = {}) {
|
|
2147
|
+
const l = Xn(n);
|
|
2148
|
+
return l.use(/* @__PURE__ */ Ln()), l;
|
|
2144
2149
|
}
|
|
2145
2150
|
function Ct(n, l) {
|
|
2146
2151
|
return !n || n === "server" && l || n === "client" && !l;
|
|
2147
2152
|
}
|
|
2148
|
-
function
|
|
2149
|
-
const l =
|
|
2150
|
-
l.addHooks(n.hooks || {}), n.document = n.document || (
|
|
2153
|
+
function Xn(n = {}) {
|
|
2154
|
+
const l = Tn();
|
|
2155
|
+
l.addHooks(n.hooks || {}), n.document = n.document || (Sn ? document : void 0);
|
|
2151
2156
|
const t = !n.document, o = () => {
|
|
2152
2157
|
p.dirty = !0, l.callHook("entries:updated", p);
|
|
2153
2158
|
};
|
|
@@ -2160,88 +2165,88 @@ function Qn(n = {}) {
|
|
|
2160
2165
|
headEntries() {
|
|
2161
2166
|
return s;
|
|
2162
2167
|
},
|
|
2163
|
-
use(
|
|
2164
|
-
const r = typeof
|
|
2165
|
-
(!r.key || !m.some((
|
|
2168
|
+
use(u) {
|
|
2169
|
+
const r = typeof u == "function" ? u(p) : u;
|
|
2170
|
+
(!r.key || !m.some((c) => c.key === r.key)) && (m.push(r), Ct(r.mode, t) && l.addHooks(r.hooks || {}));
|
|
2166
2171
|
},
|
|
2167
|
-
push(
|
|
2172
|
+
push(u, r) {
|
|
2168
2173
|
delete r?.head;
|
|
2169
|
-
const
|
|
2174
|
+
const c = {
|
|
2170
2175
|
_i: i++,
|
|
2171
|
-
input:
|
|
2176
|
+
input: u,
|
|
2172
2177
|
...r
|
|
2173
2178
|
};
|
|
2174
|
-
return Ct(
|
|
2179
|
+
return Ct(c.mode, t) && (s.push(c), o()), {
|
|
2175
2180
|
dispose() {
|
|
2176
|
-
s = s.filter((f) => f._i !==
|
|
2181
|
+
s = s.filter((f) => f._i !== c._i), l.callHook("entries:updated", p), o();
|
|
2177
2182
|
},
|
|
2178
2183
|
// a patch is the same as creating a new entry, just a nice DX
|
|
2179
2184
|
patch(f) {
|
|
2180
|
-
s = s.map(($) => ($._i ===
|
|
2185
|
+
s = s.map(($) => ($._i === c._i && ($.input = c.input = f), $)), o();
|
|
2181
2186
|
}
|
|
2182
2187
|
};
|
|
2183
2188
|
},
|
|
2184
2189
|
async resolveTags() {
|
|
2185
|
-
const
|
|
2186
|
-
await l.callHook("entries:resolve",
|
|
2187
|
-
for (const r of
|
|
2188
|
-
const
|
|
2189
|
-
if (r.resolvedInput = await (r.transform ? r.transform(
|
|
2190
|
-
for (const f of await
|
|
2190
|
+
const u = { tags: [], entries: [...s] };
|
|
2191
|
+
await l.callHook("entries:resolve", u);
|
|
2192
|
+
for (const r of u.entries) {
|
|
2193
|
+
const c = r.resolvedInput || r.input;
|
|
2194
|
+
if (r.resolvedInput = await (r.transform ? r.transform(c) : c), r.resolvedInput)
|
|
2195
|
+
for (const f of await Nn(r)) {
|
|
2191
2196
|
const $ = { tag: f, entry: r, resolvedOptions: p.resolvedOptions };
|
|
2192
|
-
await l.callHook("tag:normalise", $),
|
|
2197
|
+
await l.callHook("tag:normalise", $), u.tags.push($.tag);
|
|
2193
2198
|
}
|
|
2194
2199
|
}
|
|
2195
|
-
return await l.callHook("tags:beforeResolve",
|
|
2200
|
+
return await l.callHook("tags:beforeResolve", u), await l.callHook("tags:resolve", u), await l.callHook("tags:afterResolve", u), u.tags;
|
|
2196
2201
|
},
|
|
2197
2202
|
ssr: t
|
|
2198
2203
|
};
|
|
2199
2204
|
return [
|
|
2200
|
-
Un,
|
|
2201
2205
|
Fn,
|
|
2202
|
-
|
|
2203
|
-
|
|
2206
|
+
On,
|
|
2207
|
+
qn,
|
|
2204
2208
|
Wn,
|
|
2205
|
-
|
|
2209
|
+
xn,
|
|
2206
2210
|
Jn,
|
|
2207
2211
|
zn,
|
|
2212
|
+
Yn,
|
|
2208
2213
|
...n?.plugins || []
|
|
2209
|
-
].forEach((
|
|
2214
|
+
].forEach((u) => p.use(u)), p.hooks.callHook("init", p), p;
|
|
2210
2215
|
}
|
|
2211
|
-
const
|
|
2212
|
-
function
|
|
2216
|
+
const Zn = mo.startsWith("3");
|
|
2217
|
+
function ea(n) {
|
|
2213
2218
|
return typeof n == "function" ? n() : e(n);
|
|
2214
2219
|
}
|
|
2215
2220
|
function nt(n, l = "") {
|
|
2216
2221
|
if (n instanceof Promise)
|
|
2217
2222
|
return n;
|
|
2218
|
-
const t =
|
|
2223
|
+
const t = ea(n);
|
|
2219
2224
|
return !n || !t ? t : Array.isArray(t) ? t.map((o) => nt(o, l)) : typeof t == "object" ? Object.fromEntries(
|
|
2220
2225
|
Object.entries(t).map(([o, i]) => o === "titleTemplate" || o.startsWith("on") ? [o, e(i)] : [o, nt(i, o)])
|
|
2221
2226
|
) : t;
|
|
2222
2227
|
}
|
|
2223
|
-
const
|
|
2228
|
+
const ta = {
|
|
2224
2229
|
hooks: {
|
|
2225
2230
|
"entries:resolve": function(n) {
|
|
2226
2231
|
for (const l of n.entries)
|
|
2227
2232
|
l.resolvedInput = nt(l.input);
|
|
2228
2233
|
}
|
|
2229
2234
|
}
|
|
2230
|
-
},
|
|
2231
|
-
function
|
|
2235
|
+
}, oa = "usehead";
|
|
2236
|
+
function la(n) {
|
|
2232
2237
|
return {
|
|
2233
2238
|
install(t) {
|
|
2234
|
-
|
|
2239
|
+
Zn && (t.config.globalProperties.$unhead = n, t.config.globalProperties.$head = n, t.provide(oa, n));
|
|
2235
2240
|
}
|
|
2236
2241
|
}.install;
|
|
2237
2242
|
}
|
|
2238
|
-
function
|
|
2243
|
+
function na(n = {}) {
|
|
2239
2244
|
n.domDelayFn = n.domDelayFn || ((t) => po(() => setTimeout(() => t(), 0)));
|
|
2240
|
-
const l = /* @__PURE__ */
|
|
2241
|
-
return l.use(
|
|
2245
|
+
const l = /* @__PURE__ */ Qn(n);
|
|
2246
|
+
return l.use(ta), l.install = la(l), l;
|
|
2242
2247
|
}
|
|
2243
|
-
const
|
|
2244
|
-
class
|
|
2248
|
+
const aa = vo(), ia = na(), sa = go();
|
|
2249
|
+
class ra extends HTMLElement {
|
|
2245
2250
|
vueApp;
|
|
2246
2251
|
constructor() {
|
|
2247
2252
|
super();
|
|
@@ -2251,13 +2256,13 @@ class sa extends HTMLElement {
|
|
|
2251
2256
|
}
|
|
2252
2257
|
connectedCallback() {
|
|
2253
2258
|
const l = yo(kt, this.attributes);
|
|
2254
|
-
this.vueApp = fo(kt, l), this.vueApp.provide("emitter",
|
|
2259
|
+
this.vueApp = fo(kt, l), this.vueApp.provide("emitter", sa), this.vueApp.use(ia), this.vueApp.use(aa), this.vueApp.use(Io), this.vueApp.use(bo), this.vueApp.use(Eo), this.vueApp.use(To), this.vueApp.use(wo, { bootstrap: !0 });
|
|
2255
2260
|
const t = document.createElement("div");
|
|
2256
2261
|
this.vueApp.mount(t), this.appendChild(t.children[0]);
|
|
2257
2262
|
}
|
|
2258
2263
|
}
|
|
2259
|
-
window.customElements.define("konnectio-hotel",
|
|
2264
|
+
window.customElements.define("konnectio-hotel", ra);
|
|
2260
2265
|
export {
|
|
2261
|
-
|
|
2266
|
+
ra as default
|
|
2262
2267
|
};
|
|
2263
2268
|
//# sourceMappingURL=hotel.js.map
|