@konnectio/core 4.0.32 → 4.0.34
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-9f5938c2.js → ActionField-44427c87.js} +2 -2
- package/dist/ActionField-44427c87.js.br +0 -0
- package/dist/{ActionField-fa3f32a1.cjs → ActionField-bbf3d9b3.cjs} +1 -1
- package/dist/AvailabilitySkeleton-4ac2fd35.cjs +1 -0
- package/dist/{AvailabilitySkeleton-e51a47f6.js → AvailabilitySkeleton-6096b79f.js} +46 -44
- package/dist/AvailabilitySkeleton-6096b79f.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-802f8908.cjs → DateField.vue_vue_type_style_index_0_lang-083f0cce.cjs} +1 -1
- package/dist/{DateField.vue_vue_type_style_index_0_lang-3ba5667d.js → DateField.vue_vue_type_style_index_0_lang-92e410ab.js} +1 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-92e410ab.js.br +0 -0
- package/dist/{Field-03744870.js → Field-439e5cf0.js} +2 -2
- package/dist/Field-439e5cf0.js.br +0 -0
- package/dist/{Field-bdb32b2b.cjs → Field-9af41a6b.cjs} +1 -1
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-f99ee22f.cjs → NumberField.vue_vue_type_script_setup_true_lang-13f2c458.cjs} +1 -1
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-bd0f0c10.js → NumberField.vue_vue_type_script_setup_true_lang-2b575c0f.js} +1 -1
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-2b575c0f.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-510dede6.js → SelectField.vue_vue_type_style_index_0_lang-a97d2f16.js} +10 -12
- package/dist/SelectField.vue_vue_type_style_index_0_lang-a97d2f16.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-16a9bece.cjs → SelectField.vue_vue_type_style_index_0_lang-f6b954ef.cjs} +2 -2
- package/dist/{ThankYou-f478d01b.cjs → ThankYou-58abbef4.cjs} +1 -1
- package/dist/{ThankYou-78ef3e07.js → ThankYou-bfdd8c71.js} +4 -4
- package/dist/ThankYou-bfdd8c71.js.br +0 -0
- package/dist/{_-44b2ad95.cjs → _-005b59f5.cjs} +1 -1
- package/dist/{_-2690d08c.js → _-e0977281.js} +1 -1
- package/dist/availability.cjs +1 -1
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/components/forms/HotelAvailabilityForm.vue.d.ts +1 -1
- package/dist/components/listings/Hotel.vue.d.ts +1 -1
- package/dist/{event-42d3e1bb.cjs → event-e6cd283c.cjs} +1 -1
- package/dist/{event-b4200924.js → event-f9167629.js} +7 -7
- package/dist/event-f9167629.js.br +0 -0
- package/dist/event.cjs +1 -1
- package/dist/event.js +8 -8
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.cjs +1 -1
- package/dist/gift-card-validation.js +3 -3
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.cjs +1 -1
- package/dist/gift-card.js +5 -5
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.cjs +5 -5
- package/dist/hotel.js +355 -362
- package/dist/hotel.js.br +0 -0
- package/dist/{index-2e44eb22.js → index-95c42921.js} +1 -1
- package/dist/index-95c42921.js.br +0 -0
- package/dist/{index-5d6a654f.cjs → index-a9869bb3.cjs} +1 -1
- package/dist/polyfill.cjs +1 -1
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/package.json +1 -1
- package/dist/ActionField-9f5938c2.js.br +0 -0
- package/dist/AvailabilitySkeleton-538f3d7d.cjs +0 -1
- package/dist/AvailabilitySkeleton-e51a47f6.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-3ba5667d.js.br +0 -0
- package/dist/Field-03744870.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-bd0f0c10.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-510dede6.js.br +0 -0
- package/dist/ThankYou-78ef3e07.js.br +0 -0
- package/dist/event-b4200924.js.br +0 -0
- package/dist/index-2e44eb22.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { k as
|
|
2
|
-
import { R as
|
|
3
|
-
import { A as
|
|
4
|
-
import { _ as Et } from "./NumberField.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as
|
|
6
|
-
import { C as
|
|
7
|
-
import { E as X } from "./_-
|
|
1
|
+
import { k as K, D as ce, aE as po, s as ee, c as Te, ab as yt, ac as ge, m as x, n as z, W as vt, q as a, w, aa as Pe, A as v, F as V, K as re, Y as et, aF as ho, v as I, a3 as N, a2 as M, x as D, aG as _e, a5 as Ue, p as T, H as Z, J as de, f as Y, B as $e, P as _t, Q as bt, _ as te, r as se, o as Se, ag as tt, ah as Be, aH as kt, aC as fo, a1 as xe, y as Ie, I as xt, l as ot, T as ie, aA as mo, b as go, N as yo, C as me, a6 as vo, L as nt, G as F, M as _o, an as It, aI as bo, U as ko, a8 as xo, R as Io, V as Eo, a9 as To } from "./SelectField.vue_vue_type_style_index_0_lang-a97d2f16.js";
|
|
2
|
+
import { R as $o, S as So, F as Co, _ as Vo, B as Po, a as Bo, M as Do, T as Lo, x as wo } from "./ThankYou-bfdd8c71.js";
|
|
3
|
+
import { A as Oo, H as Ho } from "./AvailabilitySkeleton-6096b79f.js";
|
|
4
|
+
import { _ as Et } from "./NumberField.vue_vue_type_script_setup_true_lang-2b575c0f.js";
|
|
5
|
+
import { _ as Ao } from "./DateField.vue_vue_type_style_index_0_lang-92e410ab.js";
|
|
6
|
+
import { C as Fe, P as zo, a as Mo, S as Ro } from "./index-95c42921.js";
|
|
7
|
+
import { E as X } from "./_-e0977281.js";
|
|
8
8
|
import { c as Tt, a as $t } from "./_commonjsHelpers-aeeeeb92.js";
|
|
9
|
-
import "./ActionField-
|
|
10
|
-
import "./Field-
|
|
11
|
-
const
|
|
9
|
+
import "./ActionField-44427c87.js";
|
|
10
|
+
import "./Field-439e5cf0.js";
|
|
11
|
+
const No = { key: 0 }, De = /* @__PURE__ */ K({
|
|
12
12
|
__name: "HotelReservationForm",
|
|
13
13
|
props: {
|
|
14
14
|
showGiftCard: { type: Boolean, default: !1 },
|
|
15
15
|
showTermsNotice: { type: Boolean, default: !1 }
|
|
16
16
|
},
|
|
17
17
|
setup(n) {
|
|
18
|
-
const { t: e } =
|
|
18
|
+
const { t: e } = ce(), t = po(), {
|
|
19
19
|
hideArrivalDepartureInputs: o,
|
|
20
20
|
disableArrivalUserSelection: u,
|
|
21
21
|
disableDepartureUserSelection: r,
|
|
22
22
|
arrivalDefault: p,
|
|
23
23
|
departureDefault: l,
|
|
24
24
|
currency: h
|
|
25
|
-
} = ee(
|
|
25
|
+
} = ee(Te()), {
|
|
26
26
|
arrivalDate: c,
|
|
27
27
|
departureDate: m
|
|
28
28
|
} = ee(yt()), {
|
|
@@ -32,11 +32,11 @@ const Wo = { key: 0 }, Be = /* @__PURE__ */ Q({
|
|
|
32
32
|
templateID: _,
|
|
33
33
|
totalPrice: b,
|
|
34
34
|
areListingsLoading: f
|
|
35
|
-
} = ee(
|
|
35
|
+
} = ee(ge()), { removeRoom: i } = ge();
|
|
36
36
|
function d(y) {
|
|
37
37
|
return y.reduce((S, { totalPrice: L }) => S + L, 0);
|
|
38
38
|
}
|
|
39
|
-
return (y, E) => (x(),
|
|
39
|
+
return (y, E) => (x(), z($o, {
|
|
40
40
|
"total-price": a(b),
|
|
41
41
|
"show-gift-card": y.showGiftCard,
|
|
42
42
|
"show-terms-notice": y.showTermsNotice,
|
|
@@ -44,24 +44,24 @@ const Wo = { key: 0 }, Be = /* @__PURE__ */ Q({
|
|
|
44
44
|
notice: a(e)("hotel.reservationNotice")
|
|
45
45
|
}, vt({
|
|
46
46
|
form: w(() => [
|
|
47
|
-
|
|
47
|
+
Pe(y.$slots, "form")
|
|
48
48
|
]),
|
|
49
49
|
"reservation-summary": w(() => [
|
|
50
50
|
v("li", null, [
|
|
51
51
|
v("span", null, V(a(e)("booking.reservation.arrival")), 1),
|
|
52
|
-
v("b", null, V(a(o) ? a(
|
|
52
|
+
v("b", null, V(a(o) ? a(re)(a(c)) : `${a(re)(a(c))}, ${a(u) ? a(p) : a(g)}`), 1)
|
|
53
53
|
]),
|
|
54
54
|
v("li", null, [
|
|
55
55
|
v("span", null, V(a(e)("booking.reservation.departure")), 1),
|
|
56
|
-
v("b", null, V(a(o) ? a(
|
|
56
|
+
v("b", null, V(a(o) ? a(re)(a(m)) : `${a(re)(a(m))}, ${a(r) ? a(l) : a(k)}`), 1)
|
|
57
57
|
]),
|
|
58
58
|
v("li", null, [
|
|
59
59
|
v("span", null, V(a(e)("booking.reservation.nights")), 1),
|
|
60
|
-
v("b", null, V(a(
|
|
60
|
+
v("b", null, V(a(et)(a(c), a(m))) + " " + V(a(ho)(a(et)(a(c), a(m)) === 1 ? a(e)("booking.reservation.night") : a(e)("booking.reservation.nights"))), 1)
|
|
61
61
|
])
|
|
62
62
|
]),
|
|
63
63
|
"price-summary": w(() => [
|
|
64
|
-
isNaN(a(_)) && a(s).length > 0 ? (x(!0), I(M, { key: 0 },
|
|
64
|
+
isNaN(a(_)) && a(s).length > 0 ? (x(!0), I(M, { key: 0 }, N(a(s), ({
|
|
65
65
|
roomGroupID: S,
|
|
66
66
|
title: L,
|
|
67
67
|
variants: H
|
|
@@ -69,14 +69,14 @@ const Wo = { key: 0 }, Be = /* @__PURE__ */ Q({
|
|
|
69
69
|
v("h6", null, [
|
|
70
70
|
v("span", null, V(L), 1)
|
|
71
71
|
]),
|
|
72
|
-
(x(!0), I(M, null,
|
|
72
|
+
(x(!0), I(M, null, N(H, (C, B) => (x(), I("div", { key: B }, [
|
|
73
73
|
D("", !0),
|
|
74
|
-
(x(!0), I(M, null,
|
|
74
|
+
(x(!0), I(M, null, N(C.rooms, (O, U) => (x(), I("ul", { key: U }, [
|
|
75
75
|
v("li", null, [
|
|
76
76
|
v("span", null, [
|
|
77
|
-
v("span", null, V(a(
|
|
77
|
+
v("span", null, V(a(_e)(C.name)), 1),
|
|
78
78
|
v("span", null, [
|
|
79
|
-
|
|
79
|
+
Ue("( "),
|
|
80
80
|
T(Z, {
|
|
81
81
|
icon: "male",
|
|
82
82
|
type: "fas",
|
|
@@ -91,37 +91,37 @@ const Wo = { key: 0 }, Be = /* @__PURE__ */ Q({
|
|
|
91
91
|
}),
|
|
92
92
|
v("span", null, V(O.childrenCount), 1)
|
|
93
93
|
], 64)) : D("", !0),
|
|
94
|
-
|
|
94
|
+
Ue(") ")
|
|
95
95
|
])
|
|
96
96
|
]),
|
|
97
97
|
v("b", null, [
|
|
98
|
-
v("span", null, V(a(
|
|
98
|
+
v("span", null, V(a(de)(O.totalPrice, a(h))), 1),
|
|
99
99
|
D("", !0)
|
|
100
100
|
])
|
|
101
101
|
]),
|
|
102
|
-
d(O.roomAddons) > 0 ? (x(), I("li",
|
|
102
|
+
d(O.roomAddons) > 0 ? (x(), I("li", No, [
|
|
103
103
|
v("span", null, V(a(e)("booking.reservation.addons")), 1),
|
|
104
|
-
v("b", null, V(a(
|
|
104
|
+
v("b", null, V(a(de)(d(O.roomAddons), a(h))), 1)
|
|
105
105
|
])) : D("", !0)
|
|
106
106
|
]))), 128))
|
|
107
107
|
]))), 128))
|
|
108
108
|
]))), 128)) : D("", !0)
|
|
109
109
|
]),
|
|
110
110
|
navigation: w(() => [
|
|
111
|
-
|
|
111
|
+
Pe(y.$slots, "navigation")
|
|
112
112
|
]),
|
|
113
113
|
_: 2
|
|
114
114
|
}, [
|
|
115
115
|
a(t).addons ? {
|
|
116
116
|
name: "addons",
|
|
117
117
|
fn: w(() => [
|
|
118
|
-
|
|
118
|
+
Pe(y.$slots, "addons")
|
|
119
119
|
]),
|
|
120
120
|
key: "0"
|
|
121
121
|
} : void 0
|
|
122
122
|
]), 1032, ["total-price", "show-gift-card", "show-terms-notice", "is-sidebar-loading", "notice"]));
|
|
123
123
|
}
|
|
124
|
-
}),
|
|
124
|
+
}), Wo = (n) => (_t("data-v-c84b41ba"), n = n(), bt(), n), Uo = { key: 0 }, Fo = { class: "konnectio-selected-room-config" }, qo = { class: "konnectio-selected-room-config-people" }, Go = { key: 0 }, jo = { class: "konnectio-selected-room-config-price" }, Yo = /* @__PURE__ */ Wo(() => /* @__PURE__ */ v("span", null, null, -1)), Qo = /* @__PURE__ */ K({
|
|
125
125
|
__name: "RoomConfigField",
|
|
126
126
|
props: {
|
|
127
127
|
modelValue: {},
|
|
@@ -132,15 +132,15 @@ const Wo = { key: 0 }, Be = /* @__PURE__ */ Q({
|
|
|
132
132
|
},
|
|
133
133
|
emits: ["update:modelValue"],
|
|
134
134
|
setup(n, { emit: e }) {
|
|
135
|
-
const { t } =
|
|
135
|
+
const { t } = ce(), { currency: o } = ee(Te()), u = e, r = n;
|
|
136
136
|
function p(h) {
|
|
137
137
|
u("update:modelValue", h);
|
|
138
138
|
}
|
|
139
|
-
const l =
|
|
139
|
+
const l = Y({
|
|
140
140
|
get: () => r.modelValue,
|
|
141
141
|
set: (h) => p(h)
|
|
142
142
|
});
|
|
143
|
-
return (h, c) => (x(),
|
|
143
|
+
return (h, c) => (x(), z($e, {
|
|
144
144
|
modelValue: l.value,
|
|
145
145
|
"onUpdate:modelValue": c[0] || (c[0] = (m) => l.value = m),
|
|
146
146
|
label: h.label,
|
|
@@ -161,7 +161,7 @@ const Wo = { key: 0 }, Be = /* @__PURE__ */ Q({
|
|
|
161
161
|
color: "font"
|
|
162
162
|
}),
|
|
163
163
|
v("span", null, V(`${m.adults}`), 1),
|
|
164
|
-
m.children > 0 ? (x(), I("span",
|
|
164
|
+
m.children > 0 ? (x(), I("span", Uo, [
|
|
165
165
|
T(Z, {
|
|
166
166
|
icon: "child",
|
|
167
167
|
type: "fas",
|
|
@@ -169,24 +169,24 @@ const Wo = { key: 0 }, Be = /* @__PURE__ */ Q({
|
|
|
169
169
|
}),
|
|
170
170
|
v("span", null, V(`${m.children}`), 1)
|
|
171
171
|
])) : D("", !0),
|
|
172
|
-
v("span", null, V(`(${a(
|
|
172
|
+
v("span", null, V(`(${a(de)(m.price, a(o))})`), 1)
|
|
173
173
|
])
|
|
174
174
|
]),
|
|
175
175
|
"selected-option": w(({ data: m }) => [
|
|
176
|
-
v("div",
|
|
177
|
-
v("div",
|
|
176
|
+
v("div", Fo, [
|
|
177
|
+
v("div", qo, [
|
|
178
178
|
v("div", null, [
|
|
179
179
|
D("", !0),
|
|
180
180
|
v("span", null, V(`${m.adults} ${m.adults === 1 ? a(t)("general.adult") : a(t)("general.adults")}`), 1)
|
|
181
181
|
]),
|
|
182
|
-
m.children > 0 ? (x(), I("div",
|
|
182
|
+
m.children > 0 ? (x(), I("div", Go, [
|
|
183
183
|
D("", !0),
|
|
184
184
|
v("span", null, V(`& ${m.children} ${m.children === 1 ? a(t)("general.child") : a(t)("general.children")}`), 1)
|
|
185
185
|
])) : D("", !0)
|
|
186
186
|
]),
|
|
187
|
-
v("div",
|
|
188
|
-
|
|
189
|
-
|
|
187
|
+
v("div", jo, [
|
|
188
|
+
Yo,
|
|
189
|
+
Ue(" " + V(`(${a(de)(m.price, a(o))})`), 1)
|
|
190
190
|
])
|
|
191
191
|
])
|
|
192
192
|
]),
|
|
@@ -194,17 +194,17 @@ const Wo = { key: 0 }, Be = /* @__PURE__ */ Q({
|
|
|
194
194
|
}, 8, ["modelValue", "label", "options", "readonly", "required"]));
|
|
195
195
|
}
|
|
196
196
|
});
|
|
197
|
-
const
|
|
197
|
+
const Ko = /* @__PURE__ */ te(Qo, [["__scopeId", "data-v-c84b41ba"]]), Jo = ["src"], Xo = /* @__PURE__ */ K({
|
|
198
198
|
__name: "Gallery",
|
|
199
199
|
props: {
|
|
200
200
|
gallery: {}
|
|
201
201
|
},
|
|
202
202
|
setup(n) {
|
|
203
|
-
const e =
|
|
204
|
-
|
|
205
|
-
const t =
|
|
206
|
-
return
|
|
207
|
-
t.value = [new
|
|
203
|
+
const e = se();
|
|
204
|
+
se();
|
|
205
|
+
const t = se();
|
|
206
|
+
return Se(() => {
|
|
207
|
+
t.value = [new So({
|
|
208
208
|
type: "index",
|
|
209
209
|
synchronizedFlickingOptions: [
|
|
210
210
|
{
|
|
@@ -219,7 +219,7 @@ const nt = /* @__PURE__ */ te(Ko, [["__scopeId", "data-v-c84b41ba"]]), Jo = ["sr
|
|
|
219
219
|
]
|
|
220
220
|
})];
|
|
221
221
|
}), (o, u) => (x(), I("div", null, [
|
|
222
|
-
o.gallery.length > 1 ? (x(),
|
|
222
|
+
o.gallery.length > 1 ? (x(), z(a(Co), {
|
|
223
223
|
ref_key: "slideshow",
|
|
224
224
|
ref: e,
|
|
225
225
|
key: o.gallery.length,
|
|
@@ -227,7 +227,7 @@ const nt = /* @__PURE__ */ te(Ko, [["__scopeId", "data-v-c84b41ba"]]), Jo = ["sr
|
|
|
227
227
|
plugins: t.value
|
|
228
228
|
}, {
|
|
229
229
|
default: w(() => [
|
|
230
|
-
(x(!0), I(M, null,
|
|
230
|
+
(x(!0), I(M, null, N(o.gallery, ({ medium: r, large: p }, l) => (x(), I("div", {
|
|
231
231
|
key: l,
|
|
232
232
|
class: "booking-availability-listing-featured-img"
|
|
233
233
|
}, [
|
|
@@ -248,7 +248,7 @@ const nt = /* @__PURE__ */ te(Ko, [["__scopeId", "data-v-c84b41ba"]]), Jo = ["sr
|
|
|
248
248
|
"percent-position": !0,
|
|
249
249
|
"column-width": ".grid-sizer",
|
|
250
250
|
"item-selector": ".fresh-booking-modal-facility"
|
|
251
|
-
}, tn = { class: "grid-sizer" }, on = /* @__PURE__ */
|
|
251
|
+
}, tn = { class: "grid-sizer" }, on = /* @__PURE__ */ K({
|
|
252
252
|
__name: "Info",
|
|
253
253
|
props: {
|
|
254
254
|
title: {},
|
|
@@ -258,18 +258,18 @@ const nt = /* @__PURE__ */ te(Ko, [["__scopeId", "data-v-c84b41ba"]]), Jo = ["sr
|
|
|
258
258
|
},
|
|
259
259
|
setup(n) {
|
|
260
260
|
return (e, t) => {
|
|
261
|
-
const o =
|
|
262
|
-
return x(),
|
|
261
|
+
const o = tt("masonry-tile"), u = tt("masonry");
|
|
262
|
+
return x(), z(Vo, {
|
|
263
263
|
title: e.title,
|
|
264
264
|
description: e.description
|
|
265
265
|
}, vt({
|
|
266
266
|
default: w(() => [
|
|
267
267
|
e.facilities && e.facilities.length !== 0 ? (x(), I("div", Zo, [
|
|
268
|
-
|
|
269
|
-
|
|
268
|
+
Be((x(), I("ul", en, [
|
|
269
|
+
Be(v("div", tn, null, 512), [
|
|
270
270
|
[o]
|
|
271
271
|
]),
|
|
272
|
-
(x(!0), I(M, null,
|
|
272
|
+
(x(!0), I(M, null, N(e.facilities, ({ name: r, subFacilities: p }, l) => Be((x(), I("li", {
|
|
273
273
|
key: l,
|
|
274
274
|
class: "fresh-booking-modal-facility"
|
|
275
275
|
}, [
|
|
@@ -277,7 +277,7 @@ const nt = /* @__PURE__ */ te(Ko, [["__scopeId", "data-v-c84b41ba"]]), Jo = ["sr
|
|
|
277
277
|
v("span", null, V(r), 1)
|
|
278
278
|
]),
|
|
279
279
|
v("ul", null, [
|
|
280
|
-
(x(!0), I(M, null,
|
|
280
|
+
(x(!0), I(M, null, N(p, ({ name: h }, c) => (x(), I("li", { key: c }, V(h), 1))), 128))
|
|
281
281
|
])
|
|
282
282
|
])), [
|
|
283
283
|
[o]
|
|
@@ -303,14 +303,14 @@ const nt = /* @__PURE__ */ te(Ko, [["__scopeId", "data-v-c84b41ba"]]), Jo = ["sr
|
|
|
303
303
|
}
|
|
304
304
|
});
|
|
305
305
|
const nn = /* @__PURE__ */ te(on, [["__scopeId", "data-v-f1ca1684"]]), rn = { class: "konnectio-availability-listing-selection" }, sn = { key: 1 }, an = { class: "fresh-booking-listing-config-body" }, ln = { class: "fresh-booking-listing-units-body" };
|
|
306
|
-
const un = /* @__PURE__ */
|
|
306
|
+
const un = /* @__PURE__ */ K({
|
|
307
307
|
__name: "Hotel",
|
|
308
308
|
props: {
|
|
309
309
|
room: {},
|
|
310
310
|
layout: {}
|
|
311
311
|
},
|
|
312
312
|
setup(n) {
|
|
313
|
-
const { t: e } =
|
|
313
|
+
const { t: e } = ce(), t = n, o = se([]);
|
|
314
314
|
function u(C) {
|
|
315
315
|
o.value[C].config.push({
|
|
316
316
|
id: NaN,
|
|
@@ -318,21 +318,21 @@ const un = /* @__PURE__ */ Q({
|
|
|
318
318
|
addons: []
|
|
319
319
|
});
|
|
320
320
|
}
|
|
321
|
-
const r =
|
|
321
|
+
const r = Y(() => t.room.rates.map((C) => ({
|
|
322
322
|
label: C.name,
|
|
323
323
|
value: C.id
|
|
324
|
-
}))), p =
|
|
325
|
-
|
|
326
|
-
const { hideAvailableRoomAmount: l, currency: h } = ee(
|
|
324
|
+
}))), p = Y(() => o.value.flatMap((C) => C.id));
|
|
325
|
+
Y(() => r.value.filter((C) => !p.value.includes(C.value)));
|
|
326
|
+
const { hideAvailableRoomAmount: l, currency: h } = ee(Te()), { roomSelect: c } = ee(ge()), { viewItem: m, addToCart: g, removeFromCart: k } = kt(), s = (C, B) => t.room.rates.find((O) => O.id === C)?.occupantRates.find((O) => O.index === B), _ = Y(() => t.room.rates.reduce(
|
|
327
327
|
(C, B) => C < B.rackRate ? C : B.rackRate,
|
|
328
328
|
1 / 0
|
|
329
|
-
)), b =
|
|
329
|
+
)), b = Y(() => t.room.rates.every((C) => C.isBreakfastIncluded === !0)), f = (C, B) => s(C, B) ? s(C, B)?.rooms : null, i = (C) => t.room.rates.length > 0 ? t.room.rates.find((B) => B.id === C)?.occupantRates.map((B) => ({
|
|
330
330
|
value: B.index,
|
|
331
331
|
price: B.totalPrice,
|
|
332
332
|
adults: B.adultsCount,
|
|
333
333
|
children: B.childrenCount,
|
|
334
334
|
hasBreakfast: B.hasBreakfast
|
|
335
|
-
})) || [] : [], d =
|
|
335
|
+
})) || [] : [], d = Y(() => t.room.rates.length > 1), { open: y, close: E } = fo({
|
|
336
336
|
component: nn,
|
|
337
337
|
attrs: {
|
|
338
338
|
title: t.room.title,
|
|
@@ -364,28 +364,28 @@ const un = /* @__PURE__ */ Q({
|
|
|
364
364
|
}]
|
|
365
365
|
});
|
|
366
366
|
}
|
|
367
|
-
|
|
367
|
+
Se(() => {
|
|
368
368
|
L();
|
|
369
369
|
});
|
|
370
|
-
const H =
|
|
371
|
-
return
|
|
370
|
+
const H = Y(() => JSON.parse(JSON.stringify(o.value)));
|
|
371
|
+
return xe(H, (C, B) => {
|
|
372
372
|
B.length > 0 && C.forEach((O, U) => {
|
|
373
|
-
O.config.forEach((
|
|
374
|
-
const
|
|
375
|
-
|
|
373
|
+
O.config.forEach((q, W) => {
|
|
374
|
+
const G = q.units, ae = B[U].config[W].units;
|
|
375
|
+
G !== ae && (G > ae ? (o.value[U].config[W].addons.push({}), g({
|
|
376
376
|
id: t.room.id,
|
|
377
377
|
name: t.room.title,
|
|
378
378
|
value: t.room.rates[U].rackRate
|
|
379
|
-
})) : (o.value[U].config[
|
|
379
|
+
})) : (o.value[U].config[W].addons.pop(), k({
|
|
380
380
|
id: t.room.id,
|
|
381
381
|
name: t.room.title,
|
|
382
382
|
value: t.room.rates[U].rackRate
|
|
383
383
|
})));
|
|
384
384
|
});
|
|
385
385
|
});
|
|
386
|
-
}, { deep: !0 }),
|
|
386
|
+
}, { deep: !0 }), xe(o, () => {
|
|
387
387
|
c.value[t.room.id] = o.value;
|
|
388
|
-
}, { deep: !0 }), (C, B) => (x(),
|
|
388
|
+
}, { deep: !0 }), (C, B) => (x(), z(Po, {
|
|
389
389
|
"listing-id": C.room.id,
|
|
390
390
|
gallery: C.room.images,
|
|
391
391
|
name: C.room.title,
|
|
@@ -398,58 +398,51 @@ const un = /* @__PURE__ */ Q({
|
|
|
398
398
|
}, {
|
|
399
399
|
action: w(() => [
|
|
400
400
|
v("div", rn, [
|
|
401
|
-
(x(!0), I(M, null,
|
|
401
|
+
(x(!0), I(M, null, N(o.value, (O, U) => (x(), I("div", {
|
|
402
402
|
key: O.id,
|
|
403
403
|
class: "freshbooking-hotel-room"
|
|
404
404
|
}, [
|
|
405
|
-
d.value ? (x(),
|
|
405
|
+
d.value ? (x(), z($e, {
|
|
406
406
|
key: 0,
|
|
407
407
|
modelValue: O.id,
|
|
408
|
-
"onUpdate:modelValue": (
|
|
408
|
+
"onUpdate:modelValue": (q) => O.id = q,
|
|
409
409
|
label: a(e)("hotel.roomVariant"),
|
|
410
410
|
placeholder: a(e)("hotel.chooseARoomVariant"),
|
|
411
411
|
options: r.value,
|
|
412
412
|
searchable: !1
|
|
413
413
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "placeholder", "options"])) : D("", !0),
|
|
414
414
|
O.id ? (x(), I("div", sn, [
|
|
415
|
-
(x(!0), I(M, null,
|
|
416
|
-
id:
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
415
|
+
(x(!0), I(M, null, N(C.room.rates, ({
|
|
416
|
+
id: q,
|
|
417
|
+
maximumOccupants: W
|
|
418
|
+
}) => (x(), I("div", { key: q }, [
|
|
419
|
+
O.id === q ? (x(!0), I(M, { key: 0 }, N(O.config, (G, ae) => (x(), I("div", {
|
|
420
|
+
key: ae,
|
|
420
421
|
class: "booking-availability-listing-action-selective"
|
|
421
422
|
}, [
|
|
422
423
|
v("ul", an, [
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
modelValue:
|
|
426
|
-
"onUpdate:modelValue": (K) => A.id = K,
|
|
427
|
-
icon: "male",
|
|
428
|
-
"icon-type": "fas",
|
|
429
|
-
label: a(e)("general.guests"),
|
|
430
|
-
options: i(F)
|
|
431
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "options"])) : (x(), R(nt, {
|
|
432
|
-
key: 1,
|
|
433
|
-
modelValue: A.id,
|
|
434
|
-
"onUpdate:modelValue": (K) => A.id = K,
|
|
424
|
+
T(Ko, {
|
|
425
|
+
modelValue: G.id,
|
|
426
|
+
"onUpdate:modelValue": (le) => G.id = le,
|
|
435
427
|
icon: "male",
|
|
436
428
|
"icon-type": "fas",
|
|
437
429
|
label: a(e)("general.guests"),
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
430
|
+
description: `Maximum occupants: ${W}`,
|
|
431
|
+
options: i(q),
|
|
432
|
+
readonly: !(i(q).length > 1)
|
|
433
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
441
434
|
]),
|
|
442
435
|
v("ul", ln, [
|
|
443
436
|
T(Et, {
|
|
444
|
-
modelValue:
|
|
445
|
-
"onUpdate:modelValue": (
|
|
446
|
-
description: a(l) ? void 0 : `${a(e)("booking.availability.availableUnits")}: ${f(O.id,
|
|
437
|
+
modelValue: G.units,
|
|
438
|
+
"onUpdate:modelValue": (le) => G.units = le,
|
|
439
|
+
description: a(l) ? void 0 : `${a(e)("booking.availability.availableUnits")}: ${f(O.id, G.id)}`,
|
|
447
440
|
icon: "house",
|
|
448
441
|
"icon-type": "fas",
|
|
449
442
|
"icon-placement": "label",
|
|
450
443
|
label: a(e)("booking.availability.units"),
|
|
451
444
|
minValue: 0,
|
|
452
|
-
"max-value": f(
|
|
445
|
+
"max-value": f(q, G.id) || 1 / 0
|
|
453
446
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
454
447
|
]),
|
|
455
448
|
D("", !0)
|
|
@@ -463,7 +456,7 @@ const un = /* @__PURE__ */ Q({
|
|
|
463
456
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
464
457
|
}
|
|
465
458
|
});
|
|
466
|
-
const dn = /* @__PURE__ */ te(un, [["__scopeId", "data-v-
|
|
459
|
+
const dn = /* @__PURE__ */ te(un, [["__scopeId", "data-v-fcbec185"]]), it = /* @__PURE__ */ K({
|
|
467
460
|
__name: "TimeField",
|
|
468
461
|
props: {
|
|
469
462
|
modelValue: {},
|
|
@@ -492,10 +485,10 @@ const dn = /* @__PURE__ */ te(un, [["__scopeId", "data-v-361fd5d9"]]), it = /* @
|
|
|
492
485
|
function u(p) {
|
|
493
486
|
t("update:modelValue", p);
|
|
494
487
|
}
|
|
495
|
-
const r =
|
|
496
|
-
return
|
|
488
|
+
const r = se(o.modelValue);
|
|
489
|
+
return xe(r, (p) => {
|
|
497
490
|
u(p);
|
|
498
|
-
}), (p, l) => (x(),
|
|
491
|
+
}), (p, l) => (x(), z(Ao, {
|
|
499
492
|
modelValue: r.value,
|
|
500
493
|
"onUpdate:modelValue": l[0] || (l[0] = (h) => r.value = h),
|
|
501
494
|
type: "time",
|
|
@@ -511,7 +504,7 @@ const dn = /* @__PURE__ */ te(un, [["__scopeId", "data-v-361fd5d9"]]), it = /* @
|
|
|
511
504
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
512
505
|
}
|
|
513
506
|
});
|
|
514
|
-
const cn = { style: { display: "flex", "align-items": "baseline" } }, pn = /* @__PURE__ */
|
|
507
|
+
const cn = { style: { display: "flex", "align-items": "baseline" } }, pn = /* @__PURE__ */ K({
|
|
515
508
|
__name: "CountryField",
|
|
516
509
|
props: {
|
|
517
510
|
modelValue: {},
|
|
@@ -523,15 +516,15 @@ const cn = { style: { display: "flex", "align-items": "baseline" } }, pn = /* @_
|
|
|
523
516
|
},
|
|
524
517
|
emits: ["update:modelValue"],
|
|
525
518
|
setup(n, { emit: e }) {
|
|
526
|
-
const { t } =
|
|
519
|
+
const { t } = ce(), o = e, u = n;
|
|
527
520
|
function r(l) {
|
|
528
521
|
o("update:modelValue", l);
|
|
529
522
|
}
|
|
530
|
-
const p =
|
|
523
|
+
const p = Y({
|
|
531
524
|
get: () => u.modelValue,
|
|
532
525
|
set: (l) => r(l)
|
|
533
526
|
});
|
|
534
|
-
return (l, h) => (x(),
|
|
527
|
+
return (l, h) => (x(), z($e, {
|
|
535
528
|
modelValue: p.value,
|
|
536
529
|
"onUpdate:modelValue": h[0] || (h[0] = (c) => p.value = c),
|
|
537
530
|
label: l.label,
|
|
@@ -543,14 +536,14 @@ const cn = { style: { display: "flex", "align-items": "baseline" } }, pn = /* @_
|
|
|
543
536
|
}, {
|
|
544
537
|
option: w(({ data: c }) => [
|
|
545
538
|
v("i", {
|
|
546
|
-
class:
|
|
539
|
+
class: Ie(["konnectio-flag-icon", c.iso])
|
|
547
540
|
}, null, 2),
|
|
548
541
|
v("span", null, V(c.name), 1)
|
|
549
542
|
]),
|
|
550
543
|
"selected-option": w(({ data: c }) => [
|
|
551
544
|
v("div", cn, [
|
|
552
545
|
v("i", {
|
|
553
|
-
class:
|
|
546
|
+
class: Ie(["konnectio-flag-icon", c.iso])
|
|
554
547
|
}, null, 2),
|
|
555
548
|
v("span", null, V(c.name), 1)
|
|
556
549
|
])
|
|
@@ -559,7 +552,7 @@ const cn = { style: { display: "flex", "align-items": "baseline" } }, pn = /* @_
|
|
|
559
552
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
560
553
|
}
|
|
561
554
|
});
|
|
562
|
-
const hn = /* @__PURE__ */ te(pn, [["__scopeId", "data-v-1462612d"]]), fn = { class: "konnectio-radio-checkboxes" }, mn = /* @__PURE__ */
|
|
555
|
+
const hn = /* @__PURE__ */ te(pn, [["__scopeId", "data-v-1462612d"]]), fn = { class: "konnectio-radio-checkboxes" }, mn = /* @__PURE__ */ K({
|
|
563
556
|
__name: "CheckboxField",
|
|
564
557
|
props: {
|
|
565
558
|
modelValue: {},
|
|
@@ -573,18 +566,18 @@ const hn = /* @__PURE__ */ te(pn, [["__scopeId", "data-v-1462612d"]]), fn = { cl
|
|
|
573
566
|
function u(p) {
|
|
574
567
|
t("update:modelValue", p);
|
|
575
568
|
}
|
|
576
|
-
const r =
|
|
569
|
+
const r = Y({
|
|
577
570
|
get: () => o.modelValue,
|
|
578
571
|
set: (p) => u(p)
|
|
579
572
|
});
|
|
580
|
-
return (p, l) => (x(),
|
|
573
|
+
return (p, l) => (x(), z(xt, {
|
|
581
574
|
label: p.label,
|
|
582
575
|
type: "multi-radio"
|
|
583
576
|
}, {
|
|
584
577
|
default: w(() => [
|
|
585
578
|
v("ul", fn, [
|
|
586
|
-
(x(!0), I(M, null,
|
|
587
|
-
T(
|
|
579
|
+
(x(!0), I(M, null, N(p.checkboxes, ({ label: h, value: c }, m) => (x(), I("li", { key: m }, [
|
|
580
|
+
T(Fe, {
|
|
588
581
|
modelValue: r.value,
|
|
589
582
|
"onUpdate:modelValue": l[0] || (l[0] = (g) => r.value = g),
|
|
590
583
|
label: h,
|
|
@@ -599,7 +592,7 @@ const hn = /* @__PURE__ */ te(pn, [["__scopeId", "data-v-1462612d"]]), fn = { cl
|
|
|
599
592
|
}, 8, ["label"]));
|
|
600
593
|
}
|
|
601
594
|
});
|
|
602
|
-
const gn = /* @__PURE__ */ te(mn, [["__scopeId", "data-v-fc900ad2"]]), yn = /* @__PURE__ */
|
|
595
|
+
const gn = /* @__PURE__ */ te(mn, [["__scopeId", "data-v-fc900ad2"]]), yn = /* @__PURE__ */ K({
|
|
603
596
|
__name: "NameField",
|
|
604
597
|
props: {
|
|
605
598
|
modelValue: {},
|
|
@@ -621,17 +614,17 @@ const gn = /* @__PURE__ */ te(mn, [["__scopeId", "data-v-fc900ad2"]]), yn = /* @
|
|
|
621
614
|
},
|
|
622
615
|
emits: ["update:modelValue", "update:title"],
|
|
623
616
|
setup(n, { emit: e }) {
|
|
624
|
-
const t = n, o = e, u = t.id ||
|
|
617
|
+
const t = n, o = e, u = t.id || ot(), r = se(""), p = se(2);
|
|
625
618
|
function l() {
|
|
626
619
|
o("update:modelValue", r.value);
|
|
627
620
|
}
|
|
628
|
-
|
|
621
|
+
xe(p, (c) => {
|
|
629
622
|
o("update:title", c);
|
|
630
623
|
});
|
|
631
|
-
const { t: h } =
|
|
632
|
-
return
|
|
624
|
+
const { t: h } = ce();
|
|
625
|
+
return Se(() => {
|
|
633
626
|
t.modelValue && (r.value = t.modelValue), t.title && (p.value = t.title);
|
|
634
|
-
}), (c, m) => (x(),
|
|
627
|
+
}), (c, m) => (x(), z(xt, {
|
|
635
628
|
label: c.label,
|
|
636
629
|
id: a(u),
|
|
637
630
|
required: c.required,
|
|
@@ -641,16 +634,16 @@ const gn = /* @__PURE__ */ te(mn, [["__scopeId", "data-v-fc900ad2"]]), yn = /* @
|
|
|
641
634
|
}, {
|
|
642
635
|
default: w(() => [
|
|
643
636
|
v("div", {
|
|
644
|
-
class:
|
|
637
|
+
class: Ie([
|
|
645
638
|
"fresh-booking-name-input",
|
|
646
639
|
{ "no-title": c.excludeTitle }
|
|
647
640
|
])
|
|
648
641
|
}, [
|
|
649
|
-
c.excludeTitle ? D("", !0) : (x(),
|
|
642
|
+
c.excludeTitle ? D("", !0) : (x(), z($e, {
|
|
650
643
|
key: 0,
|
|
651
644
|
modelValue: p.value,
|
|
652
645
|
"onUpdate:modelValue": m[0] || (m[0] = (g) => p.value = g),
|
|
653
|
-
id: a(
|
|
646
|
+
id: a(ot)(),
|
|
654
647
|
icon: c.icon,
|
|
655
648
|
"icon-color": c.iconColor,
|
|
656
649
|
"icon-type": c.iconType,
|
|
@@ -681,7 +674,7 @@ const gn = /* @__PURE__ */ te(mn, [["__scopeId", "data-v-fc900ad2"]]), yn = /* @
|
|
|
681
674
|
"input-style": c.inputStyle,
|
|
682
675
|
searchable: !1
|
|
683
676
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
|
|
684
|
-
T(
|
|
677
|
+
T(ie, {
|
|
685
678
|
modelValue: r.value,
|
|
686
679
|
"onUpdate:modelValue": m[1] || (m[1] = (g) => r.value = g),
|
|
687
680
|
type: "text",
|
|
@@ -704,7 +697,7 @@ const gn = /* @__PURE__ */ te(mn, [["__scopeId", "data-v-fc900ad2"]]), yn = /* @
|
|
|
704
697
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
705
698
|
}
|
|
706
699
|
});
|
|
707
|
-
const vn = /* @__PURE__ */ te(yn, [["__scopeId", "data-v-78b0b319"]]), _n = { class: "hotel-listing" }, bn = { class: "hotel-listing-content-gallery" }, kn = { class: "hotel-listing-content-thumbs" }, xn = { class: "hotel-listing-content" }, In = { class: "hotel-listing-content-header" }, En = { class: "hotel-listing-content-title" }, Tn = { class: "hotel-listing-content-body" }, $n = { class: "hotel-listing-content-facilities" }, Sn = /* @__PURE__ */
|
|
700
|
+
const vn = /* @__PURE__ */ te(yn, [["__scopeId", "data-v-78b0b319"]]), _n = { class: "hotel-listing" }, bn = { class: "hotel-listing-content-gallery" }, kn = { class: "hotel-listing-content-thumbs" }, xn = { class: "hotel-listing-content" }, In = { class: "hotel-listing-content-header" }, En = { class: "hotel-listing-content-title" }, Tn = { class: "hotel-listing-content-body" }, $n = { class: "hotel-listing-content-facilities" }, Sn = /* @__PURE__ */ K({
|
|
708
701
|
__name: "Listing",
|
|
709
702
|
setup(n) {
|
|
710
703
|
return (e, t) => (x(), I("div", _n, [
|
|
@@ -714,7 +707,7 @@ const vn = /* @__PURE__ */ te(yn, [["__scopeId", "data-v-78b0b319"]]), _n = { cl
|
|
|
714
707
|
height: "153px"
|
|
715
708
|
}),
|
|
716
709
|
v("div", kn, [
|
|
717
|
-
(x(), I(M, null,
|
|
710
|
+
(x(), I(M, null, N(3, (o) => T(X, {
|
|
718
711
|
key: o,
|
|
719
712
|
width: "84px",
|
|
720
713
|
height: "44px"
|
|
@@ -750,7 +743,7 @@ const vn = /* @__PURE__ */ te(yn, [["__scopeId", "data-v-78b0b319"]]), _n = { cl
|
|
|
750
743
|
})
|
|
751
744
|
]),
|
|
752
745
|
v("div", $n, [
|
|
753
|
-
(x(), I(M, null,
|
|
746
|
+
(x(), I(M, null, N(5, (o) => T(X, {
|
|
754
747
|
key: o,
|
|
755
748
|
height: "25px",
|
|
756
749
|
width: "25px",
|
|
@@ -761,28 +754,28 @@ const vn = /* @__PURE__ */ te(yn, [["__scopeId", "data-v-78b0b319"]]), _n = { cl
|
|
|
761
754
|
]));
|
|
762
755
|
}
|
|
763
756
|
});
|
|
764
|
-
const
|
|
757
|
+
const ue = /* @__PURE__ */ te(Sn, [["__scopeId", "data-v-5c132d7f"]]), Cn = { class: "hotel-skeleton" }, Vn = { class: "hotel-skeleton-content" }, Pn = { class: "hotel-skeleton-sidebar" }, Bn = /* @__PURE__ */ K({
|
|
765
758
|
__name: "HotelSkeleton",
|
|
766
759
|
setup(n) {
|
|
767
760
|
return (e, t) => (x(), I("div", Cn, [
|
|
768
761
|
v("div", Vn, [
|
|
769
|
-
T(
|
|
770
|
-
T(
|
|
771
|
-
T(
|
|
772
|
-
T(
|
|
762
|
+
T(Oo),
|
|
763
|
+
T(ue),
|
|
764
|
+
T(ue),
|
|
765
|
+
T(ue)
|
|
773
766
|
]),
|
|
774
767
|
v("div", Pn, [
|
|
775
|
-
T(
|
|
768
|
+
T(Bo)
|
|
776
769
|
])
|
|
777
770
|
]));
|
|
778
771
|
}
|
|
779
772
|
});
|
|
780
|
-
const Dn = /* @__PURE__ */ te(Bn, [["__scopeId", "data-v-4e50a5a1"]]),
|
|
773
|
+
const Dn = /* @__PURE__ */ te(Bn, [["__scopeId", "data-v-4e50a5a1"]]), je = (n) => (_t("data-v-feb89526"), n = n(), bt(), n), Ln = { id: "booking-availability-container" }, wn = { id: "booking-availability-controls" };
|
|
781
774
|
const On = {
|
|
782
775
|
key: 1,
|
|
783
776
|
"sticky-container": ""
|
|
784
777
|
}, Hn = { key: 0 };
|
|
785
|
-
const An = { key: 1 }, zn = { key: 0 },
|
|
778
|
+
const An = { key: 1 }, zn = { key: 0 }, Mn = { key: 0 }, Rn = { id: "booking-availability-listings" }, Nn = {
|
|
786
779
|
key: 1,
|
|
787
780
|
id: "booking-availability-no-listings"
|
|
788
781
|
}, Wn = {
|
|
@@ -798,17 +791,17 @@ const Gn = {
|
|
|
798
791
|
}, jn = { class: "fresh-booking-panel" }, Yn = {
|
|
799
792
|
key: 0,
|
|
800
793
|
id: "konnectio-hotel-addons"
|
|
801
|
-
}, Qn = /* @__PURE__ */
|
|
802
|
-
const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 }, ni = { key: 1 }, ii = { class: "fresh-booking-split-inputs" }, ri = ["onClick"], si = /* @__PURE__ */
|
|
794
|
+
}, Qn = /* @__PURE__ */ je(() => /* @__PURE__ */ v("th", { class: "fresh-booking-event-addons-input" }, null, -1)), Kn = { class: "fresh-booking-event-addons-price" }, Jn = { key: 1 }, Xn = /* @__PURE__ */ je(() => /* @__PURE__ */ v("br", null, null, -1)), Zn = /* @__PURE__ */ je(() => /* @__PURE__ */ v("td", null, null, -1));
|
|
795
|
+
const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 }, ni = { key: 1 }, ii = { class: "fresh-booking-split-inputs" }, ri = ["onClick"], si = /* @__PURE__ */ K({
|
|
803
796
|
name: "HotelLayout",
|
|
804
797
|
__name: "Hotel",
|
|
805
798
|
props: {
|
|
806
799
|
accessToken: {},
|
|
807
|
-
headerLayout: { default:
|
|
800
|
+
headerLayout: { default: mo.Minimal },
|
|
808
801
|
styling: {}
|
|
809
802
|
},
|
|
810
803
|
setup(n) {
|
|
811
|
-
const { t: e } =
|
|
804
|
+
const { t: e } = ce(), {
|
|
812
805
|
templateID: t,
|
|
813
806
|
title: o,
|
|
814
807
|
countries: u,
|
|
@@ -836,110 +829,110 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
836
829
|
roomDisplay: O,
|
|
837
830
|
hasValidRoomSelection: U,
|
|
838
831
|
//canStartReservation,
|
|
839
|
-
getSelectedPackageRoom:
|
|
840
|
-
availabilityData:
|
|
841
|
-
selectionHasNoAddons:
|
|
842
|
-
} = ee(
|
|
843
|
-
arrivalDate:
|
|
844
|
-
departureDate:
|
|
832
|
+
getSelectedPackageRoom: q,
|
|
833
|
+
availabilityData: W,
|
|
834
|
+
selectionHasNoAddons: G
|
|
835
|
+
} = ee(ge()), {
|
|
836
|
+
arrivalDate: ae,
|
|
837
|
+
departureDate: le
|
|
845
838
|
} = ee(yt()), {
|
|
846
|
-
currency:
|
|
839
|
+
currency: Je,
|
|
847
840
|
isRecaptchaEnabled: lr,
|
|
848
|
-
disableNewsletterSignup:
|
|
849
|
-
arrivalEarliest:
|
|
850
|
-
arrivalLatest:
|
|
851
|
-
departureEarliest:
|
|
841
|
+
disableNewsletterSignup: Ot,
|
|
842
|
+
arrivalEarliest: Ht,
|
|
843
|
+
arrivalLatest: At,
|
|
844
|
+
departureEarliest: zt,
|
|
852
845
|
departureLatest: Mt,
|
|
853
|
-
enableTracking:
|
|
854
|
-
arrivalDefault:
|
|
855
|
-
departureDefault:
|
|
846
|
+
enableTracking: Rt,
|
|
847
|
+
arrivalDefault: Nt,
|
|
848
|
+
departureDefault: Wt,
|
|
856
849
|
enablePackages: ur,
|
|
857
|
-
hideArrivalDepartureInputs:
|
|
858
|
-
disableArrivalUserSelection:
|
|
859
|
-
disableNamePrefix:
|
|
860
|
-
disableDepartureUserSelection:
|
|
861
|
-
disableTravelingFor:
|
|
862
|
-
disableCompanyField:
|
|
863
|
-
hasPaymentGateway:
|
|
864
|
-
} = ee(
|
|
865
|
-
|
|
866
|
-
const { beginCheckout:
|
|
867
|
-
initialize:
|
|
868
|
-
createReservation:
|
|
850
|
+
hideArrivalDepartureInputs: Ut,
|
|
851
|
+
disableArrivalUserSelection: Ce,
|
|
852
|
+
disableNamePrefix: Ft,
|
|
853
|
+
disableDepartureUserSelection: Ve,
|
|
854
|
+
disableTravelingFor: qt,
|
|
855
|
+
disableCompanyField: Gt,
|
|
856
|
+
hasPaymentGateway: jt
|
|
857
|
+
} = ee(Te());
|
|
858
|
+
go();
|
|
859
|
+
const { beginCheckout: Yt } = kt(), {
|
|
860
|
+
initialize: Qt,
|
|
861
|
+
createReservation: Kt,
|
|
869
862
|
getSingleListing: dr
|
|
870
|
-
} =
|
|
871
|
-
const
|
|
872
|
-
|
|
863
|
+
} = ge(), Jt = se(!0), Xt = Y(() => {
|
|
864
|
+
const R = W.value.roomGroups.slice();
|
|
865
|
+
R.forEach((J) => {
|
|
873
866
|
J.pricesFrom = J.rates.reduce(
|
|
874
|
-
(
|
|
867
|
+
(A, $) => A < $.rackRate ? A : $.rackRate,
|
|
875
868
|
1 / 0
|
|
876
869
|
);
|
|
877
870
|
});
|
|
878
|
-
function P(J,
|
|
879
|
-
return
|
|
871
|
+
function P(J, A) {
|
|
872
|
+
return Jt.value === !0 ? J.pricesFrom > A.pricesFrom ? -1 : 1 : J.pricesFrom > A.pricesFrom ? 1 : -1;
|
|
880
873
|
}
|
|
881
|
-
return
|
|
882
|
-
}),
|
|
883
|
-
parseInt(
|
|
884
|
-
parseInt(
|
|
885
|
-
]]),
|
|
886
|
-
parseInt(
|
|
874
|
+
return R.sort(P);
|
|
875
|
+
}), Zt = Y(() => [[
|
|
876
|
+
parseInt(Ht.value.split(":")[0]),
|
|
877
|
+
parseInt(At.value.split(":")[0])
|
|
878
|
+
]]), eo = Y(() => [[
|
|
879
|
+
parseInt(zt.value.split(":")[0]),
|
|
887
880
|
parseInt(Mt.value.split(":")[0])
|
|
888
881
|
]]);
|
|
889
|
-
function cr(
|
|
890
|
-
t.value =
|
|
882
|
+
function cr(R) {
|
|
883
|
+
t.value = R;
|
|
891
884
|
}
|
|
892
|
-
function
|
|
885
|
+
function to() {
|
|
893
886
|
t.value = NaN;
|
|
894
887
|
}
|
|
895
|
-
function
|
|
896
|
-
|
|
888
|
+
function Xe(R) {
|
|
889
|
+
G.value ? R(2) : R();
|
|
897
890
|
}
|
|
898
|
-
function
|
|
899
|
-
|
|
891
|
+
function oo(R, P) {
|
|
892
|
+
le.value = new Date(P), ae.value = new Date(R), location.reload();
|
|
900
893
|
}
|
|
901
|
-
async function
|
|
902
|
-
await
|
|
894
|
+
async function no(R) {
|
|
895
|
+
await Kt(R);
|
|
903
896
|
}
|
|
904
|
-
function
|
|
905
|
-
|
|
897
|
+
function io(R) {
|
|
898
|
+
Rt && Yt(), G.value ? R(2) : R();
|
|
906
899
|
}
|
|
907
|
-
function
|
|
908
|
-
g.value === "" && (g.value =
|
|
900
|
+
function ro() {
|
|
901
|
+
g.value === "" && (g.value = Nt.value), k.value === "" && (k.value = Wt.value);
|
|
909
902
|
}
|
|
910
|
-
return
|
|
911
|
-
|
|
912
|
-
}), (
|
|
903
|
+
return Se(() => {
|
|
904
|
+
Qt(), ro();
|
|
905
|
+
}), (R, P) => (x(), z(yo, null, {
|
|
913
906
|
default: w(() => [
|
|
914
|
-
T(
|
|
907
|
+
T(_o, {
|
|
915
908
|
id: "fresh-booking-hotel-module",
|
|
916
|
-
"access-token":
|
|
909
|
+
"access-token": R.accessToken,
|
|
917
910
|
type: "hotel",
|
|
918
|
-
styling:
|
|
911
|
+
styling: R.styling
|
|
919
912
|
}, {
|
|
920
913
|
default: w(() => [
|
|
921
|
-
T(
|
|
914
|
+
T(Do, {
|
|
922
915
|
title: a(o),
|
|
923
|
-
layout:
|
|
916
|
+
layout: R.headerLayout
|
|
924
917
|
}, {
|
|
925
918
|
availability: w(({ next: J }) => [
|
|
926
|
-
T(
|
|
919
|
+
T(De, null, {
|
|
927
920
|
form: w(() => [
|
|
928
921
|
v("div", Ln, [
|
|
929
922
|
v("div", wn, [
|
|
930
|
-
T(
|
|
923
|
+
T(Ho, { booking: !0 })
|
|
931
924
|
]),
|
|
932
925
|
D("", !0),
|
|
933
926
|
a(r) ? (x(), I("div", Gn, [
|
|
934
|
-
T(
|
|
935
|
-
T(
|
|
936
|
-
T(
|
|
927
|
+
T(ue),
|
|
928
|
+
T(ue),
|
|
929
|
+
T(ue)
|
|
937
930
|
])) : (x(), I("div", On, [
|
|
938
|
-
a(
|
|
939
|
-
(a(
|
|
931
|
+
a(W).roomGroups.length > 0 ? (x(), I("div", Hn, [
|
|
932
|
+
(a(W).templates.length > 0, D("", !0)),
|
|
940
933
|
isNaN(a(t)) ? (x(), I("div", An, [
|
|
941
|
-
a(
|
|
942
|
-
a(
|
|
934
|
+
a(W).roomGroups.length > 0 ? (x(), I("div", zn, [
|
|
935
|
+
a(W).templates.length > 0 ? (x(), I("h2", Mn, [
|
|
943
936
|
T(Z, {
|
|
944
937
|
icon: "house",
|
|
945
938
|
type: "fal",
|
|
@@ -947,9 +940,9 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
947
940
|
}),
|
|
948
941
|
v("span", null, V(a(e)("booking.availability.roomsTitle")), 1)
|
|
949
942
|
])) : D("", !0),
|
|
950
|
-
v("ul",
|
|
951
|
-
(x(!0), I(M, null,
|
|
952
|
-
room:
|
|
943
|
+
v("ul", Rn, [
|
|
944
|
+
(x(!0), I(M, null, N(Xt.value, (A, $) => (x(), z(dn, {
|
|
945
|
+
room: A,
|
|
953
946
|
key: $
|
|
954
947
|
}, null, 8, ["room"]))), 128))
|
|
955
948
|
])
|
|
@@ -957,7 +950,7 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
957
950
|
v("span", null, V(a(e)("booking.availability.nothingAvailable")), 1)
|
|
958
951
|
]))
|
|
959
952
|
])) : D("", !0)
|
|
960
|
-
])) : a(
|
|
953
|
+
])) : a(W).nextAvailableDates.length === 0 ? (x(), I("div", Wn, [
|
|
961
954
|
v("span", null, V(a(e)("booking.availability.nothingAvailable")), 1)
|
|
962
955
|
])) : (x(), I("div", Un, [
|
|
963
956
|
v("h2", null, [
|
|
@@ -969,11 +962,11 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
969
962
|
v("span", null, V(a(e)("booking.availability.nextAvailableDates")), 1)
|
|
970
963
|
]),
|
|
971
964
|
v("ul", Fn, [
|
|
972
|
-
(x(!0), I(M, null,
|
|
965
|
+
(x(!0), I(M, null, N(a(W).nextAvailableDates, (A, $) => (x(), I("li", { key: $ }, [
|
|
973
966
|
v("h3", {
|
|
974
|
-
title: `${a(
|
|
967
|
+
title: `${a(re)(A.fromDate)} - ${a(re)(A.toDate)}`
|
|
975
968
|
}, [
|
|
976
|
-
v("span", null, V(`${a(
|
|
969
|
+
v("span", null, V(`${a(re)(A.fromDate)} - ${a(re)(A.toDate)}`), 1)
|
|
977
970
|
], 8, qn),
|
|
978
971
|
v("ul", null, [
|
|
979
972
|
D("", !0),
|
|
@@ -983,13 +976,13 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
983
976
|
type: "fal",
|
|
984
977
|
color: "header"
|
|
985
978
|
}),
|
|
986
|
-
v("span", null, V(a(e)("booking.availability.pricesFrom")) + ": " + V(a(
|
|
979
|
+
v("span", null, V(a(e)("booking.availability.pricesFrom")) + ": " + V(a(de)(A.priceStartFrom, a(Je))), 1)
|
|
987
980
|
])
|
|
988
981
|
]),
|
|
989
|
-
T(
|
|
982
|
+
T(me, {
|
|
990
983
|
label: a(e)("booking.availability.selectDates"),
|
|
991
984
|
"full-width": "",
|
|
992
|
-
onClickEvent: (
|
|
985
|
+
onClickEvent: (pe) => oo(A.fromDate, A.toDate)
|
|
993
986
|
}, null, 8, ["label", "onClickEvent"])
|
|
994
987
|
]))), 128))
|
|
995
988
|
])
|
|
@@ -998,25 +991,25 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
998
991
|
])
|
|
999
992
|
]),
|
|
1000
993
|
navigation: w(() => [
|
|
1001
|
-
isNaN(a(t)) ? (x(),
|
|
994
|
+
isNaN(a(t)) ? (x(), z(me, {
|
|
1002
995
|
key: 0,
|
|
1003
|
-
label: a(
|
|
996
|
+
label: a(G) ? a(e)("booking.availability.nextButton") : a(e)("general.chooseAddons"),
|
|
1004
997
|
disabled: !a(U),
|
|
1005
998
|
"is-loading": !1,
|
|
1006
999
|
"full-width": "",
|
|
1007
|
-
onClickEvent: (
|
|
1008
|
-
}, null, 8, ["label", "disabled", "onClickEvent"])) : (x(),
|
|
1000
|
+
onClickEvent: (A) => io(J)
|
|
1001
|
+
}, null, 8, ["label", "disabled", "onClickEvent"])) : (x(), z(me, {
|
|
1009
1002
|
key: 1,
|
|
1010
1003
|
label: a(e)("booking.reservation.prevButton"),
|
|
1011
1004
|
"full-width": "",
|
|
1012
|
-
onClickEvent: P[1] || (P[1] = (
|
|
1005
|
+
onClickEvent: P[1] || (P[1] = (A) => to())
|
|
1013
1006
|
}, null, 8, ["label"]))
|
|
1014
1007
|
]),
|
|
1015
1008
|
_: 2
|
|
1016
1009
|
}, 1024)
|
|
1017
1010
|
]),
|
|
1018
|
-
addons: w(({ next: J, prev:
|
|
1019
|
-
T(
|
|
1011
|
+
addons: w(({ next: J, prev: A }) => [
|
|
1012
|
+
T(De, null, {
|
|
1020
1013
|
form: w(() => [
|
|
1021
1014
|
v("form", jn, [
|
|
1022
1015
|
v("h2", null, [
|
|
@@ -1024,23 +1017,23 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1024
1017
|
]),
|
|
1025
1018
|
v("div", null, [
|
|
1026
1019
|
isNaN(a(t)) ? (x(), I("div", Yn, [
|
|
1027
|
-
(x(!0), I(M, null,
|
|
1020
|
+
(x(!0), I(M, null, N(a(O), ($) => (x(), I("ul", {
|
|
1028
1021
|
key: $.roomGroupID
|
|
1029
1022
|
}, [
|
|
1030
|
-
(x(!0), I(M, null,
|
|
1031
|
-
key:
|
|
1023
|
+
(x(!0), I(M, null, N($.variants, (pe, he) => (x(), I("li", {
|
|
1024
|
+
key: pe.ratePlanID
|
|
1032
1025
|
}, [
|
|
1033
1026
|
v("h4", null, [
|
|
1034
|
-
v("span", null, V(a(
|
|
1027
|
+
v("span", null, V(a(_e)($.title)), 1)
|
|
1035
1028
|
]),
|
|
1036
|
-
(x(!0), I(M, null,
|
|
1037
|
-
key:
|
|
1029
|
+
(x(!0), I(M, null, N(pe.rooms, (j, Ze) => (x(), I("table", {
|
|
1030
|
+
key: Ze,
|
|
1038
1031
|
class: "fresh-booking-table"
|
|
1039
1032
|
}, [
|
|
1040
1033
|
v("thead", null, [
|
|
1041
1034
|
v("tr", null, [
|
|
1042
1035
|
v("th", null, [
|
|
1043
|
-
v("span", null, V(a(
|
|
1036
|
+
v("span", null, V(a(_e)(pe.name)), 1)
|
|
1044
1037
|
]),
|
|
1045
1038
|
Qn,
|
|
1046
1039
|
v("th", Kn, [
|
|
@@ -1050,44 +1043,44 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1050
1043
|
type: "fas",
|
|
1051
1044
|
color: "font"
|
|
1052
1045
|
}),
|
|
1053
|
-
v("span", null, V(
|
|
1054
|
-
|
|
1046
|
+
v("span", null, V(j.adultsCount), 1),
|
|
1047
|
+
j.childrenCount > 0 ? (x(), z(Z, {
|
|
1055
1048
|
key: 0,
|
|
1056
1049
|
icon: "child",
|
|
1057
1050
|
type: "fas",
|
|
1058
1051
|
color: "font"
|
|
1059
1052
|
})) : D("", !0),
|
|
1060
|
-
|
|
1053
|
+
j.childrenCount > 0 ? (x(), I("span", Jn, V(j.childrenCount), 1)) : D("", !0)
|
|
1061
1054
|
])
|
|
1062
1055
|
])
|
|
1063
1056
|
])
|
|
1064
1057
|
]),
|
|
1065
1058
|
v("tbody", null, [
|
|
1066
|
-
(x(!0), I(M, null,
|
|
1067
|
-
cardinality:
|
|
1068
|
-
quantityStrategy:
|
|
1069
|
-
maximumNumber:
|
|
1070
|
-
id:
|
|
1071
|
-
name:
|
|
1072
|
-
price:
|
|
1073
|
-
}) => (x(), I("tr", { key:
|
|
1059
|
+
(x(!0), I(M, null, N($.addons, ({
|
|
1060
|
+
cardinality: so,
|
|
1061
|
+
quantityStrategy: ao,
|
|
1062
|
+
maximumNumber: lo,
|
|
1063
|
+
id: fe,
|
|
1064
|
+
name: uo,
|
|
1065
|
+
price: co
|
|
1066
|
+
}) => (x(), I("tr", { key: fe }, [
|
|
1074
1067
|
v("td", null, [
|
|
1075
|
-
v("b", null, V(a(
|
|
1068
|
+
v("b", null, V(a(_e)(uo)), 1),
|
|
1076
1069
|
Xn,
|
|
1077
|
-
v("span", null, V(a(
|
|
1070
|
+
v("span", null, V(a(de)(co, a(Je))) + " " + V(a(vo)(ao)), 1)
|
|
1078
1071
|
]),
|
|
1079
1072
|
v("td", null, [
|
|
1080
|
-
|
|
1073
|
+
so === 3 ? (x(), z(Et, {
|
|
1081
1074
|
key: 0,
|
|
1082
|
-
modelValue: a(B)[$.roomGroupID][
|
|
1083
|
-
"onUpdate:modelValue": (
|
|
1075
|
+
modelValue: a(B)[$.roomGroupID][he].config[j.configIdx].addons[j.roomIdx][fe],
|
|
1076
|
+
"onUpdate:modelValue": (Q) => a(B)[$.roomGroupID][he].config[j.configIdx].addons[j.roomIdx][fe] = Q,
|
|
1084
1077
|
small: !0,
|
|
1085
1078
|
"min-value": 0,
|
|
1086
|
-
"max-value":
|
|
1087
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (x(),
|
|
1079
|
+
"max-value": lo || 1 / 0
|
|
1080
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (x(), z(Fe, {
|
|
1088
1081
|
key: 1,
|
|
1089
|
-
modelValue: a(B)[$.roomGroupID][
|
|
1090
|
-
"onUpdate:modelValue": (
|
|
1082
|
+
modelValue: a(B)[$.roomGroupID][he].config[j.configIdx].addons[j.roomIdx][fe],
|
|
1083
|
+
"onUpdate:modelValue": (Q) => a(B)[$.roomGroupID][he].config[j.configIdx].addons[j.roomIdx][fe] = Q
|
|
1091
1084
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]))
|
|
1092
1085
|
]),
|
|
1093
1086
|
Zn,
|
|
@@ -1102,14 +1095,14 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1102
1095
|
])
|
|
1103
1096
|
]),
|
|
1104
1097
|
navigation: w(() => [
|
|
1105
|
-
T(
|
|
1098
|
+
T(me, {
|
|
1106
1099
|
label: a(e)("general.startReservation"),
|
|
1107
1100
|
"full-width": "",
|
|
1108
1101
|
onClickEvent: J
|
|
1109
1102
|
}, null, 8, ["label", "onClickEvent"]),
|
|
1110
1103
|
v("button", {
|
|
1111
1104
|
class: "konnectio-abort-reservation link",
|
|
1112
|
-
onClick:
|
|
1105
|
+
onClick: nt(($) => Xe(A), ["prevent"])
|
|
1113
1106
|
}, [
|
|
1114
1107
|
v("span", null, V(a(e)("general.goAStepBack")), 1)
|
|
1115
1108
|
], 8, ei)
|
|
@@ -1117,8 +1110,8 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1117
1110
|
_: 2
|
|
1118
1111
|
}, 1024)
|
|
1119
1112
|
]),
|
|
1120
|
-
reservation: w(({ next: J, prev:
|
|
1121
|
-
T(
|
|
1113
|
+
reservation: w(({ next: J, prev: A }) => [
|
|
1114
|
+
T(De, {
|
|
1122
1115
|
"show-terms-notice": !0,
|
|
1123
1116
|
"show-gift-card": !0
|
|
1124
1117
|
}, {
|
|
@@ -1127,45 +1120,45 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1127
1120
|
v("h2", null, [
|
|
1128
1121
|
v("span", null, V(a(e)("booking.reservation.detailsTitle")), 1)
|
|
1129
1122
|
]),
|
|
1130
|
-
!a(
|
|
1123
|
+
!a(Ut) && !(a(Ce) && a(Ve)) ? (x(), I("ul", {
|
|
1131
1124
|
key: 0,
|
|
1132
|
-
class:
|
|
1125
|
+
class: Ie({ "fresh-booking-split-inputs": !a(Ce) && !a(Ve) })
|
|
1133
1126
|
}, [
|
|
1134
|
-
a(
|
|
1127
|
+
a(Ce) ? D("", !0) : (x(), I("li", oi, [
|
|
1135
1128
|
T(it, {
|
|
1136
1129
|
modelValue: a(g),
|
|
1137
|
-
"onUpdate:modelValue": P[2] || (P[2] = ($) =>
|
|
1130
|
+
"onUpdate:modelValue": P[2] || (P[2] = ($) => F(g) ? g.value = $ : null),
|
|
1138
1131
|
label: a(e)("booking.reservation.arrivalTime"),
|
|
1139
1132
|
icon: "hourglass-start",
|
|
1140
|
-
"hour-range":
|
|
1133
|
+
"hour-range": Zt.value,
|
|
1141
1134
|
required: ""
|
|
1142
1135
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1143
1136
|
])),
|
|
1144
|
-
a(
|
|
1137
|
+
a(Ve) ? D("", !0) : (x(), I("li", ni, [
|
|
1145
1138
|
T(it, {
|
|
1146
1139
|
modelValue: a(k),
|
|
1147
|
-
"onUpdate:modelValue": P[3] || (P[3] = ($) =>
|
|
1140
|
+
"onUpdate:modelValue": P[3] || (P[3] = ($) => F(k) ? k.value = $ : null),
|
|
1148
1141
|
label: a(e)("booking.reservation.departureTime"),
|
|
1149
1142
|
icon: "hourglass-end",
|
|
1150
|
-
"hour-range":
|
|
1143
|
+
"hour-range": eo.value,
|
|
1151
1144
|
required: ""
|
|
1152
1145
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1153
1146
|
]))
|
|
1154
1147
|
], 2)) : D("", !0),
|
|
1155
1148
|
T(vn, {
|
|
1156
1149
|
modelValue: a(s),
|
|
1157
|
-
"onUpdate:modelValue": P[4] || (P[4] = ($) =>
|
|
1150
|
+
"onUpdate:modelValue": P[4] || (P[4] = ($) => F(s) ? s.value = $ : null),
|
|
1158
1151
|
title: a(_),
|
|
1159
|
-
"onUpdate:title": P[5] || (P[5] = ($) =>
|
|
1160
|
-
"exclude-title": a(
|
|
1152
|
+
"onUpdate:title": P[5] || (P[5] = ($) => F(_) ? _.value = $ : null),
|
|
1153
|
+
"exclude-title": a(Ft),
|
|
1161
1154
|
label: a(e)("booking.reservation.name"),
|
|
1162
1155
|
icon: "user-alt",
|
|
1163
1156
|
placeholder: a(e)("booking.reservation.namePlaceholder"),
|
|
1164
1157
|
required: ""
|
|
1165
1158
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1166
|
-
T(
|
|
1159
|
+
T(ie, {
|
|
1167
1160
|
modelValue: a(b),
|
|
1168
|
-
"onUpdate:modelValue": P[6] || (P[6] = ($) =>
|
|
1161
|
+
"onUpdate:modelValue": P[6] || (P[6] = ($) => F(b) ? b.value = $ : null),
|
|
1169
1162
|
type: "email",
|
|
1170
1163
|
name: "email",
|
|
1171
1164
|
autocomplete: "email",
|
|
@@ -1174,18 +1167,18 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1174
1167
|
placeholder: a(e)("booking.reservation.emailPlaceholder"),
|
|
1175
1168
|
required: ""
|
|
1176
1169
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1177
|
-
a(
|
|
1170
|
+
a(Ot) ? D("", !0) : (x(), z(Fe, {
|
|
1178
1171
|
key: 1,
|
|
1179
1172
|
modelValue: a(C),
|
|
1180
|
-
"onUpdate:modelValue": P[7] || (P[7] = ($) =>
|
|
1173
|
+
"onUpdate:modelValue": P[7] || (P[7] = ($) => F(C) ? C.value = $ : null),
|
|
1181
1174
|
type: "checkbox",
|
|
1182
1175
|
name: "newsletter",
|
|
1183
1176
|
label: a(e)("booking.reservation.newsletterSignUp")
|
|
1184
1177
|
}, null, 8, ["modelValue", "label"])),
|
|
1185
|
-
a(
|
|
1178
|
+
a(Gt) ? D("", !0) : (x(), z(ie, {
|
|
1186
1179
|
key: 2,
|
|
1187
1180
|
modelValue: a(i),
|
|
1188
|
-
"onUpdate:modelValue": P[8] || (P[8] = ($) =>
|
|
1181
|
+
"onUpdate:modelValue": P[8] || (P[8] = ($) => F(i) ? i.value = $ : null),
|
|
1189
1182
|
type: "text",
|
|
1190
1183
|
name: "firm",
|
|
1191
1184
|
autocomplete: "firm",
|
|
@@ -1193,9 +1186,9 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1193
1186
|
icon: "id-card",
|
|
1194
1187
|
placeholder: a(e)("booking.reservation.companyNamePlaceholder")
|
|
1195
1188
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1196
|
-
T(
|
|
1189
|
+
T(zo, {
|
|
1197
1190
|
modelValue: a(f),
|
|
1198
|
-
"onUpdate:modelValue": P[9] || (P[9] = ($) =>
|
|
1191
|
+
"onUpdate:modelValue": P[9] || (P[9] = ($) => F(f) ? f.value = $ : null),
|
|
1199
1192
|
icon: "phone-office",
|
|
1200
1193
|
label: a(e)("booking.reservation.phone"),
|
|
1201
1194
|
placeholder: a(e)("booking.reservation.phonePlaceholder"),
|
|
@@ -1203,15 +1196,15 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1203
1196
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1204
1197
|
T(hn, {
|
|
1205
1198
|
modelValue: a(S),
|
|
1206
|
-
"onUpdate:modelValue": P[10] || (P[10] = ($) =>
|
|
1199
|
+
"onUpdate:modelValue": P[10] || (P[10] = ($) => F(S) ? S.value = $ : null),
|
|
1207
1200
|
label: a(e)("booking.reservation.country"),
|
|
1208
1201
|
placeholder: a(e)("booking.reservation.countryPlaceholder"),
|
|
1209
1202
|
options: a(u),
|
|
1210
1203
|
required: ""
|
|
1211
1204
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1212
|
-
T(
|
|
1205
|
+
T(ie, {
|
|
1213
1206
|
modelValue: a(E),
|
|
1214
|
-
"onUpdate:modelValue": P[11] || (P[11] = ($) =>
|
|
1207
|
+
"onUpdate:modelValue": P[11] || (P[11] = ($) => F(E) ? E.value = $ : null),
|
|
1215
1208
|
type: "textarea",
|
|
1216
1209
|
name: "address",
|
|
1217
1210
|
autocomplete: "street-address",
|
|
@@ -1222,9 +1215,9 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1222
1215
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1223
1216
|
v("ul", ii, [
|
|
1224
1217
|
v("li", null, [
|
|
1225
|
-
T(
|
|
1218
|
+
T(ie, {
|
|
1226
1219
|
modelValue: a(d),
|
|
1227
|
-
"onUpdate:modelValue": P[12] || (P[12] = ($) =>
|
|
1220
|
+
"onUpdate:modelValue": P[12] || (P[12] = ($) => F(d) ? d.value = $ : null),
|
|
1228
1221
|
type: "text",
|
|
1229
1222
|
name: "postal",
|
|
1230
1223
|
autocomplete: "postal-code",
|
|
@@ -1235,9 +1228,9 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1235
1228
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1236
1229
|
]),
|
|
1237
1230
|
v("li", null, [
|
|
1238
|
-
T(
|
|
1231
|
+
T(ie, {
|
|
1239
1232
|
modelValue: a(y),
|
|
1240
|
-
"onUpdate:modelValue": P[13] || (P[13] = ($) =>
|
|
1233
|
+
"onUpdate:modelValue": P[13] || (P[13] = ($) => F(y) ? y.value = $ : null),
|
|
1241
1234
|
type: "text",
|
|
1242
1235
|
name: "city",
|
|
1243
1236
|
autocomplete: "address-level2",
|
|
@@ -1248,26 +1241,26 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1248
1241
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1249
1242
|
])
|
|
1250
1243
|
]),
|
|
1251
|
-
T(
|
|
1244
|
+
T(ie, {
|
|
1252
1245
|
modelValue: a(L),
|
|
1253
|
-
"onUpdate:modelValue": P[14] || (P[14] = ($) =>
|
|
1246
|
+
"onUpdate:modelValue": P[14] || (P[14] = ($) => F(L) ? L.value = $ : null),
|
|
1254
1247
|
type: "textarea",
|
|
1255
1248
|
label: `${a(e)("booking.reservation.remark")} (${a(e)("booking.reservation.optional")})`,
|
|
1256
1249
|
icon: "info-circle",
|
|
1257
1250
|
placeholder: a(e)("booking.reservation.remarkPlaceholder")
|
|
1258
1251
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1259
|
-
T(
|
|
1252
|
+
T(ie, {
|
|
1260
1253
|
modelValue: a(H),
|
|
1261
|
-
"onUpdate:modelValue": P[15] || (P[15] = ($) =>
|
|
1254
|
+
"onUpdate:modelValue": P[15] || (P[15] = ($) => F(H) ? H.value = $ : null),
|
|
1262
1255
|
type: "textarea",
|
|
1263
1256
|
label: `${a(e)("booking.reservation.allergies")} (${a(e)("booking.reservation.optional")})`,
|
|
1264
1257
|
icon: "allergies",
|
|
1265
1258
|
placeholder: a(e)("booking.reservation.allergiesPlaceholder")
|
|
1266
1259
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1267
|
-
a(
|
|
1260
|
+
a(qt) ? D("", !0) : (x(), z(gn, {
|
|
1268
1261
|
key: 3,
|
|
1269
1262
|
modelValue: a(m),
|
|
1270
|
-
"onUpdate:modelValue": P[16] || (P[16] = ($) =>
|
|
1263
|
+
"onUpdate:modelValue": P[16] || (P[16] = ($) => F(m) ? m.value = $ : null),
|
|
1271
1264
|
label: `${a(e)("booking.reservation.purposeOfStay")} (${a(e)("booking.reservation.optional")})`,
|
|
1272
1265
|
name: "travelingFor",
|
|
1273
1266
|
checkboxes: [
|
|
@@ -1289,16 +1282,16 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1289
1282
|
]),
|
|
1290
1283
|
navigation: w(() => [
|
|
1291
1284
|
v("div", null, [
|
|
1292
|
-
T(
|
|
1293
|
-
label: a(
|
|
1285
|
+
T(me, {
|
|
1286
|
+
label: a(jt) ? a(e)("booking.reservation.nextButton") : a(e)("general.confirmReservation"),
|
|
1294
1287
|
disabled: !a(h),
|
|
1295
1288
|
"is-loading": a(l),
|
|
1296
1289
|
"full-width": "",
|
|
1297
|
-
onClickEvent: ($) =>
|
|
1290
|
+
onClickEvent: ($) => no(J)
|
|
1298
1291
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
1299
1292
|
v("button", {
|
|
1300
1293
|
class: "konnectio-abort-reservation link",
|
|
1301
|
-
onClick:
|
|
1294
|
+
onClick: nt(($) => Xe(A), ["prevent"])
|
|
1302
1295
|
}, [
|
|
1303
1296
|
v("span", null, V(a(e)("general.goAStepBack")), 1)
|
|
1304
1297
|
], 8, ri)
|
|
@@ -1311,7 +1304,7 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1311
1304
|
T(Mo)
|
|
1312
1305
|
]),
|
|
1313
1306
|
confirmation: w(() => [
|
|
1314
|
-
T(
|
|
1307
|
+
T(Lo, {
|
|
1315
1308
|
message: a(e)("booking.confirmation.thankYou")
|
|
1316
1309
|
}, null, 8, ["message"])
|
|
1317
1310
|
]),
|
|
@@ -1329,8 +1322,8 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1329
1322
|
}
|
|
1330
1323
|
});
|
|
1331
1324
|
const ai = /* @__PURE__ */ te(si, [["__scopeId", "data-v-feb89526"]]);
|
|
1332
|
-
var St = { exports: {} },
|
|
1333
|
-
function
|
|
1325
|
+
var St = { exports: {} }, Le = { exports: {} }, we = { exports: {} }, rt;
|
|
1326
|
+
function Ye() {
|
|
1334
1327
|
return rt || (rt = 1, function(n) {
|
|
1335
1328
|
(function(e, t) {
|
|
1336
1329
|
n.exports ? n.exports = t() : e.EvEmitter = t();
|
|
@@ -1369,16 +1362,16 @@ function je() {
|
|
|
1369
1362
|
delete this._events, delete this._onceEvents;
|
|
1370
1363
|
}, e;
|
|
1371
1364
|
});
|
|
1372
|
-
}(
|
|
1365
|
+
}(we)), we.exports;
|
|
1373
1366
|
}
|
|
1374
|
-
var
|
|
1367
|
+
var Oe = { exports: {} };
|
|
1375
1368
|
/*!
|
|
1376
1369
|
* getSize v2.0.3
|
|
1377
1370
|
* measure size of elements
|
|
1378
1371
|
* MIT license
|
|
1379
1372
|
*/
|
|
1380
1373
|
var st;
|
|
1381
|
-
function
|
|
1374
|
+
function Qe() {
|
|
1382
1375
|
return st || (st = 1, function(n) {
|
|
1383
1376
|
(function(e, t) {
|
|
1384
1377
|
n.exports ? n.exports = t() : e.getSize = t();
|
|
@@ -1446,19 +1439,19 @@ function Ye() {
|
|
|
1446
1439
|
var d = r[i], y = _[d], E = parseFloat(y);
|
|
1447
1440
|
b[d] = isNaN(E) ? 0 : E;
|
|
1448
1441
|
}
|
|
1449
|
-
var S = b.paddingLeft + b.paddingRight, L = b.paddingTop + b.paddingBottom, H = b.marginLeft + b.marginRight, C = b.marginTop + b.marginBottom, B = b.borderLeftWidth + b.borderRightWidth, O = b.borderTopWidth + b.borderBottomWidth, U = f && m,
|
|
1450
|
-
|
|
1442
|
+
var S = b.paddingLeft + b.paddingRight, L = b.paddingTop + b.paddingBottom, H = b.marginLeft + b.marginRight, C = b.marginTop + b.marginBottom, B = b.borderLeftWidth + b.borderRightWidth, O = b.borderTopWidth + b.borderBottomWidth, U = f && m, q = t(_.width);
|
|
1443
|
+
q !== !1 && (b.width = q + // add padding and border unless it's already including it
|
|
1451
1444
|
(U ? 0 : S + B));
|
|
1452
|
-
var
|
|
1453
|
-
return
|
|
1445
|
+
var W = t(_.height);
|
|
1446
|
+
return W !== !1 && (b.height = W + // add padding and border unless it's already including it
|
|
1454
1447
|
(U ? 0 : L + O)), b.innerWidth = b.width - (S + B), b.innerHeight = b.height - (L + O), b.outerWidth = b.width + H, b.outerHeight = b.height + C, b;
|
|
1455
1448
|
}
|
|
1456
1449
|
}
|
|
1457
1450
|
return k;
|
|
1458
1451
|
});
|
|
1459
|
-
}(
|
|
1452
|
+
}(Oe)), Oe.exports;
|
|
1460
1453
|
}
|
|
1461
|
-
var
|
|
1454
|
+
var He = { exports: {} }, Ae = { exports: {} }, at;
|
|
1462
1455
|
function li() {
|
|
1463
1456
|
return at || (at = 1, function(n) {
|
|
1464
1457
|
(function(e, t) {
|
|
@@ -1480,7 +1473,7 @@ function li() {
|
|
|
1480
1473
|
return u[t](r);
|
|
1481
1474
|
};
|
|
1482
1475
|
});
|
|
1483
|
-
}(
|
|
1476
|
+
}(Ae)), Ae.exports;
|
|
1484
1477
|
}
|
|
1485
1478
|
var lt;
|
|
1486
1479
|
function ui() {
|
|
@@ -1573,15 +1566,15 @@ function ui() {
|
|
|
1573
1566
|
});
|
|
1574
1567
|
}, u;
|
|
1575
1568
|
});
|
|
1576
|
-
}(
|
|
1569
|
+
}(He)), He.exports;
|
|
1577
1570
|
}
|
|
1578
|
-
var
|
|
1571
|
+
var ze = { exports: {} }, ut;
|
|
1579
1572
|
function di() {
|
|
1580
1573
|
return ut || (ut = 1, function(n) {
|
|
1581
1574
|
(function(e, t) {
|
|
1582
1575
|
n.exports ? n.exports = t(
|
|
1583
|
-
|
|
1584
|
-
|
|
1576
|
+
Ye(),
|
|
1577
|
+
Qe()
|
|
1585
1578
|
) : (e.Outlayer = {}, e.Outlayer.Item = t(
|
|
1586
1579
|
e.EvEmitter,
|
|
1587
1580
|
e.getSize
|
|
@@ -1780,7 +1773,7 @@ function di() {
|
|
|
1780
1773
|
});
|
|
1781
1774
|
}, m;
|
|
1782
1775
|
});
|
|
1783
|
-
}(
|
|
1776
|
+
}(ze)), ze.exports;
|
|
1784
1777
|
}
|
|
1785
1778
|
/*!
|
|
1786
1779
|
* Outlayer v2.1.1
|
|
@@ -1793,8 +1786,8 @@ function ci() {
|
|
|
1793
1786
|
(function(e, t) {
|
|
1794
1787
|
n.exports ? n.exports = t(
|
|
1795
1788
|
e,
|
|
1796
|
-
je(),
|
|
1797
1789
|
Ye(),
|
|
1790
|
+
Qe(),
|
|
1798
1791
|
ui(),
|
|
1799
1792
|
di()
|
|
1800
1793
|
) : e.Outlayer = t(
|
|
@@ -2084,7 +2077,7 @@ function ci() {
|
|
|
2084
2077
|
}
|
|
2085
2078
|
return k.Item = p, k;
|
|
2086
2079
|
});
|
|
2087
|
-
}(
|
|
2080
|
+
}(Le)), Le.exports;
|
|
2088
2081
|
}
|
|
2089
2082
|
/*!
|
|
2090
2083
|
* Masonry v4.2.2
|
|
@@ -2097,7 +2090,7 @@ function ci() {
|
|
|
2097
2090
|
(function(e, t) {
|
|
2098
2091
|
n.exports ? n.exports = t(
|
|
2099
2092
|
ci(),
|
|
2100
|
-
|
|
2093
|
+
Qe()
|
|
2101
2094
|
) : e.Masonry = t(
|
|
2102
2095
|
e.Outlayer,
|
|
2103
2096
|
e.getSize
|
|
@@ -2192,7 +2185,7 @@ var Ct = { exports: {} };
|
|
|
2192
2185
|
(function(e, t) {
|
|
2193
2186
|
n.exports ? n.exports = t(
|
|
2194
2187
|
e,
|
|
2195
|
-
|
|
2188
|
+
Ye()
|
|
2196
2189
|
) : e.imagesLoaded = t(
|
|
2197
2190
|
e,
|
|
2198
2191
|
e.EvEmitter
|
|
@@ -2346,7 +2339,7 @@ function mi(n) {
|
|
|
2346
2339
|
});
|
|
2347
2340
|
} };
|
|
2348
2341
|
}
|
|
2349
|
-
const
|
|
2342
|
+
const ye = {
|
|
2350
2343
|
"column-width": "columnWidth",
|
|
2351
2344
|
"transition-duration": "transitionDuration",
|
|
2352
2345
|
"item-selector": "itemSelector",
|
|
@@ -2359,14 +2352,14 @@ const ge = {
|
|
|
2359
2352
|
"horizontal-order": "horizontalOrder",
|
|
2360
2353
|
stagger: "stagger",
|
|
2361
2354
|
"destroy-delay": "destroyDelay"
|
|
2362
|
-
},
|
|
2355
|
+
}, ve = "vuemasonry.itemAdded", Me = "vuemasonry.itemRemoved", Re = "vuemasonry.imageLoaded", Ne = "vuemasonry.destroy", gi = function(n) {
|
|
2363
2356
|
return (n + "").toLowerCase() === "true";
|
|
2364
2357
|
}, yi = function(n) {
|
|
2365
2358
|
return isNaN(n) ? n : parseInt(n);
|
|
2366
2359
|
}, vi = function(n) {
|
|
2367
2360
|
const e = {};
|
|
2368
2361
|
return Array.prototype.slice.call(n).forEach(function(o) {
|
|
2369
|
-
Object.keys(
|
|
2362
|
+
Object.keys(ye).indexOf(o.name) > -1 && (o.name.indexOf("origin") > -1 ? e[ye[o.name]] = gi(o.value) : o.name === "column-width" || o.name === "gutter" ? e[ye[o.name]] = yi(o.value) : e[ye[o.name]] = o.value);
|
|
2370
2363
|
}), e;
|
|
2371
2364
|
}, Vt = {};
|
|
2372
2365
|
Vt.install = function(n, e) {
|
|
@@ -2385,22 +2378,22 @@ Vt.install = function(n, e) {
|
|
|
2385
2378
|
const k = function(_) {
|
|
2386
2379
|
g();
|
|
2387
2380
|
}, s = function(_) {
|
|
2388
|
-
t["off"](`${
|
|
2381
|
+
t["off"](`${ve}__${c}`, k), t["off"](`${Me}__${c}`, k), t["off"](`${Re}__${c}`, k), t["off"](`${Ne}__${c}`, s);
|
|
2389
2382
|
const b = m && !Number.isNaN(m) ? m : 0;
|
|
2390
2383
|
setTimeout(function() {
|
|
2391
2384
|
h.destroy();
|
|
2392
2385
|
}, b);
|
|
2393
2386
|
};
|
|
2394
|
-
t["on"](`${
|
|
2387
|
+
t["on"](`${ve}__${c}`, k), t["on"](`${Me}__${c}`, k), t["on"](`${Re}__${c}`, k), t["on"](`${Ne}__${c}`, s);
|
|
2395
2388
|
},
|
|
2396
2389
|
unbind: function(r, p) {
|
|
2397
2390
|
const l = p.value || o;
|
|
2398
|
-
t["emit"](`${
|
|
2391
|
+
t["emit"](`${Ne}__${l}`);
|
|
2399
2392
|
}
|
|
2400
2393
|
}), u.directive("masonryTile", {
|
|
2401
2394
|
mounted: function(r, p) {
|
|
2402
2395
|
const l = p.value || o;
|
|
2403
|
-
t["emit"](`${
|
|
2396
|
+
t["emit"](`${ve}__${l}`, {
|
|
2404
2397
|
element: r
|
|
2405
2398
|
}), new fi(r, function() {
|
|
2406
2399
|
t["emit"](`${Re}__${l}`, {
|
|
@@ -2410,7 +2403,7 @@ Vt.install = function(n, e) {
|
|
|
2410
2403
|
},
|
|
2411
2404
|
unbind: function(r, p) {
|
|
2412
2405
|
const l = p.value || o;
|
|
2413
|
-
t["emit"](`${
|
|
2406
|
+
t["emit"](`${Me}__${l}`, {
|
|
2414
2407
|
element: r
|
|
2415
2408
|
});
|
|
2416
2409
|
}
|
|
@@ -2418,15 +2411,15 @@ Vt.install = function(n, e) {
|
|
|
2418
2411
|
{
|
|
2419
2412
|
const r = function(p) {
|
|
2420
2413
|
const l = p || o;
|
|
2421
|
-
t["emit"](`${
|
|
2414
|
+
t["emit"](`${ve}__${l}`);
|
|
2422
2415
|
};
|
|
2423
2416
|
n.config.globalProperties.$redrawVueMasonry = r, n.provide("redrawVueMasonry", r);
|
|
2424
2417
|
}
|
|
2425
2418
|
};
|
|
2426
|
-
function
|
|
2419
|
+
function qe(n, e = {}, t) {
|
|
2427
2420
|
for (const o in n) {
|
|
2428
2421
|
const u = n[o], r = t ? `${t}:${o}` : o;
|
|
2429
|
-
typeof u == "object" && u !== null ?
|
|
2422
|
+
typeof u == "object" && u !== null ? qe(u, e, r) : typeof u == "function" && (e[r] = u);
|
|
2430
2423
|
}
|
|
2431
2424
|
return e;
|
|
2432
2425
|
}
|
|
@@ -2442,7 +2435,7 @@ function xi(n, e) {
|
|
|
2442
2435
|
const t = e.shift(), o = Pt(t);
|
|
2443
2436
|
return Promise.all(n.map((u) => o.run(() => u(...e))));
|
|
2444
2437
|
}
|
|
2445
|
-
function
|
|
2438
|
+
function We(n, e) {
|
|
2446
2439
|
for (const t of [...n])
|
|
2447
2440
|
t(e);
|
|
2448
2441
|
}
|
|
@@ -2497,7 +2490,7 @@ class Ii {
|
|
|
2497
2490
|
this.deprecateHook(t, e[t]);
|
|
2498
2491
|
}
|
|
2499
2492
|
addHooks(e) {
|
|
2500
|
-
const t =
|
|
2493
|
+
const t = qe(e), o = Object.keys(t).map(
|
|
2501
2494
|
(u) => this.hook(u, t[u])
|
|
2502
2495
|
);
|
|
2503
2496
|
return () => {
|
|
@@ -2506,7 +2499,7 @@ class Ii {
|
|
|
2506
2499
|
};
|
|
2507
2500
|
}
|
|
2508
2501
|
removeHooks(e) {
|
|
2509
|
-
const t =
|
|
2502
|
+
const t = qe(e);
|
|
2510
2503
|
for (const o in t)
|
|
2511
2504
|
this.removeHook(o, t[o]);
|
|
2512
2505
|
}
|
|
@@ -2522,14 +2515,14 @@ class Ii {
|
|
|
2522
2515
|
}
|
|
2523
2516
|
callHookWith(e, t, ...o) {
|
|
2524
2517
|
const u = this._before || this._after ? { name: t, args: o, context: {} } : void 0;
|
|
2525
|
-
this._before &&
|
|
2518
|
+
this._before && We(this._before, u);
|
|
2526
2519
|
const r = e(
|
|
2527
2520
|
t in this._hooks ? [...this._hooks[t]] : [],
|
|
2528
2521
|
o
|
|
2529
2522
|
);
|
|
2530
2523
|
return r instanceof Promise ? r.finally(() => {
|
|
2531
|
-
this._after && u &&
|
|
2532
|
-
}) : (this._after && u &&
|
|
2524
|
+
this._after && u && We(this._after, u);
|
|
2525
|
+
}) : (this._after && u && We(this._after, u), r);
|
|
2533
2526
|
}
|
|
2534
2527
|
beforeEach(e) {
|
|
2535
2528
|
return this._before = this._before || [], this._before.push(e), () => {
|
|
@@ -2554,7 +2547,7 @@ function Ei() {
|
|
|
2554
2547
|
function Ti(n) {
|
|
2555
2548
|
return Array.isArray(n) ? n : [n];
|
|
2556
2549
|
}
|
|
2557
|
-
const $i = ["title", "titleTemplate", "script", "style", "noscript"],
|
|
2550
|
+
const $i = ["title", "titleTemplate", "script", "style", "noscript"], be = [
|
|
2558
2551
|
"base",
|
|
2559
2552
|
"meta",
|
|
2560
2553
|
"link",
|
|
@@ -2574,14 +2567,14 @@ const $i = ["title", "titleTemplate", "script", "style", "noscript"], _e = [
|
|
|
2574
2567
|
"script",
|
|
2575
2568
|
"noscript"
|
|
2576
2569
|
], Ci = ["base", "title", "titleTemplate", "bodyAttrs", "htmlAttrs", "templateParams"], Bt = ["tagPosition", "tagPriority", "tagDuplicateStrategy", "innerHTML", "textContent", "processTemplateParams"], Vi = typeof window < "u";
|
|
2577
|
-
function
|
|
2570
|
+
function Ke(n) {
|
|
2578
2571
|
let e = 9;
|
|
2579
2572
|
for (let t = 0; t < n.length; )
|
|
2580
2573
|
e = Math.imul(e ^ n.charCodeAt(t++), 9 ** 9);
|
|
2581
2574
|
return ((e ^ e >>> 9) + 65536).toString(16).substring(1, 8).toLowerCase();
|
|
2582
2575
|
}
|
|
2583
2576
|
function pt(n) {
|
|
2584
|
-
return n._h ||
|
|
2577
|
+
return n._h || Ke(n._d ? n._d : `${n.tag}:${n.textContent || n.innerHTML || ""}:${Object.entries(n.props).map(([e, t]) => `${e}:${String(t)}`).join(",")}`);
|
|
2585
2578
|
}
|
|
2586
2579
|
function Dt(n, e) {
|
|
2587
2580
|
const { props: t, tag: o } = n;
|
|
@@ -2652,13 +2645,13 @@ const ft = {
|
|
|
2652
2645
|
high: -10,
|
|
2653
2646
|
low: 20
|
|
2654
2647
|
};
|
|
2655
|
-
function
|
|
2648
|
+
function Ee(n) {
|
|
2656
2649
|
let e = 100;
|
|
2657
2650
|
const t = n.tagPriority;
|
|
2658
2651
|
return typeof t == "number" ? t : (n.tag === "meta" ? (n.props["http-equiv"] === "content-security-policy" && (e = -30), n.props.charset && (e = -20), n.props.name === "viewport" && (e = -15)) : n.tag === "link" && n.props.rel === "preconnect" ? e = 20 : n.tag in ft && (e = ft[n.tag]), typeof t == "string" && t in mt ? e + mt[t] : e);
|
|
2659
2652
|
}
|
|
2660
|
-
const wi = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], wt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"],
|
|
2661
|
-
function
|
|
2653
|
+
const wi = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], wt = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ne = "%separator";
|
|
2654
|
+
function ke(n, e, t) {
|
|
2662
2655
|
if (typeof n != "string" || !n.includes("%"))
|
|
2663
2656
|
return n;
|
|
2664
2657
|
function o(p) {
|
|
@@ -2673,7 +2666,7 @@ function be(n, e, t) {
|
|
|
2673
2666
|
return (u.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((p) => {
|
|
2674
2667
|
const l = o(p.slice(1));
|
|
2675
2668
|
typeof l == "string" && (n = n.replace(new RegExp(`\\${p}(\\W|$)`, "g"), (h, c) => `${l}${c}`).trim());
|
|
2676
|
-
}), n.includes(
|
|
2669
|
+
}), n.includes(ne) && (n.endsWith(ne) && (n = n.slice(0, -ne.length).trim()), n.startsWith(ne) && (n = n.slice(ne.length).trim()), n = n.replace(new RegExp(`\\${ne}\\s*\\${ne}`, "g"), ne), n = ke(n, { separator: t }, t)), n;
|
|
2677
2670
|
}
|
|
2678
2671
|
async function Oi(n) {
|
|
2679
2672
|
const e = {
|
|
@@ -2694,7 +2687,7 @@ async function Hi(n, e = {}) {
|
|
|
2694
2687
|
return;
|
|
2695
2688
|
const u = (await n.resolveTags()).map((m) => ({
|
|
2696
2689
|
tag: m,
|
|
2697
|
-
id:
|
|
2690
|
+
id: be.includes(m.tag) ? pt(m) : m.tag,
|
|
2698
2691
|
shouldRender: !0
|
|
2699
2692
|
}));
|
|
2700
2693
|
let r = n._dom;
|
|
@@ -2704,7 +2697,7 @@ async function Hi(n, e = {}) {
|
|
|
2704
2697
|
};
|
|
2705
2698
|
for (const m of ["body", "head"]) {
|
|
2706
2699
|
const g = t?.[m]?.children;
|
|
2707
|
-
for (const k of [...g].filter((s) =>
|
|
2700
|
+
for (const k of [...g].filter((s) => be.includes(s.tagName.toLowerCase())))
|
|
2708
2701
|
r.elMap[k.getAttribute("data-hid") || pt(await Oi(k))] = k;
|
|
2709
2702
|
}
|
|
2710
2703
|
}
|
|
@@ -2740,7 +2733,7 @@ async function Hi(n, e = {}) {
|
|
|
2740
2733
|
t.title = g.textContent;
|
|
2741
2734
|
continue;
|
|
2742
2735
|
}
|
|
2743
|
-
m.$el = m.$el || r.elMap[s], m.$el ? l(m) :
|
|
2736
|
+
m.$el = m.$el || r.elMap[s], m.$el ? l(m) : be.includes(g.tag) && h.push(m);
|
|
2744
2737
|
}
|
|
2745
2738
|
}
|
|
2746
2739
|
for (const m of h) {
|
|
@@ -2771,7 +2764,7 @@ function zi(n) {
|
|
|
2771
2764
|
};
|
|
2772
2765
|
};
|
|
2773
2766
|
}
|
|
2774
|
-
const
|
|
2767
|
+
const Mi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ri = {
|
|
2775
2768
|
hooks: {
|
|
2776
2769
|
"tag:normalise": function({ tag: n }) {
|
|
2777
2770
|
["hid", "vmid", "key"].forEach((o) => {
|
|
@@ -2786,7 +2779,7 @@ const Ri = ["templateParams", "htmlAttrs", "bodyAttrs"], Mi = {
|
|
|
2786
2779
|
const u = (o.key ? `${o.tag}:${o.key}` : o._d) || o._p, r = e[u];
|
|
2787
2780
|
if (r) {
|
|
2788
2781
|
let l = o?.tagDuplicateStrategy;
|
|
2789
|
-
if (!l &&
|
|
2782
|
+
if (!l && Mi.includes(o.tag) && (l = "merge"), l === "merge") {
|
|
2790
2783
|
const h = r.props;
|
|
2791
2784
|
["class", "style"].forEach((c) => {
|
|
2792
2785
|
o.props[c] && h[c] && (c === "style" && !h[c].endsWith(";") && (h[c] += ";"), o.props[c] = `${h[c]} ${o.props[c]}`);
|
|
@@ -2798,11 +2791,11 @@ const Ri = ["templateParams", "htmlAttrs", "bodyAttrs"], Mi = {
|
|
|
2798
2791
|
} else if (o._e === r._e) {
|
|
2799
2792
|
r._duped = r._duped || [], o._d = `${r._d}:${r._duped.length + 1}`, r._duped.push(o);
|
|
2800
2793
|
return;
|
|
2801
|
-
} else if (
|
|
2794
|
+
} else if (Ee(o) > Ee(r))
|
|
2802
2795
|
return;
|
|
2803
2796
|
}
|
|
2804
2797
|
const p = Object.keys(o.props).length + (o.innerHTML ? 1 : 0) + (o.textContent ? 1 : 0);
|
|
2805
|
-
if (
|
|
2798
|
+
if (be.includes(o.tag) && p === 0) {
|
|
2806
2799
|
delete e[u];
|
|
2807
2800
|
return;
|
|
2808
2801
|
}
|
|
@@ -2842,7 +2835,7 @@ const Fi = (n) => ({
|
|
|
2842
2835
|
for (const t of e.tags)
|
|
2843
2836
|
if (Wi.includes(t.tag)) {
|
|
2844
2837
|
const { props: o, eventHandlers: u } = Ui(t);
|
|
2845
|
-
t.props = o, Object.keys(u).length && ((t.props.src || t.props.href) && (t.key = t.key ||
|
|
2838
|
+
t.props = o, Object.keys(u).length && ((t.props.src || t.props.href) && (t.key = t.key || Ke(t.props.src || t.props.href)), t._eventHandlers = u);
|
|
2846
2839
|
}
|
|
2847
2840
|
},
|
|
2848
2841
|
"dom:renderTag": function(e, t, o) {
|
|
@@ -2872,7 +2865,7 @@ const Fi = (n) => ({
|
|
|
2872
2865
|
}), qi = ["link", "style", "script", "noscript"], Gi = {
|
|
2873
2866
|
hooks: {
|
|
2874
2867
|
"tag:normalise": ({ tag: n }) => {
|
|
2875
|
-
n.key && qi.includes(n.tag) && (n.props["data-hid"] = n._h =
|
|
2868
|
+
n.key && qi.includes(n.tag) && (n.props["data-hid"] = n._h = Ke(n.key));
|
|
2876
2869
|
}
|
|
2877
2870
|
}
|
|
2878
2871
|
}, ji = {
|
|
@@ -2886,7 +2879,7 @@ const Fi = (n) => ({
|
|
|
2886
2879
|
);
|
|
2887
2880
|
typeof r < "u" && (u._p = r + o);
|
|
2888
2881
|
}
|
|
2889
|
-
n.tags.sort((t, o) => t._p - o._p).sort((t, o) =>
|
|
2882
|
+
n.tags.sort((t, o) => t._p - o._p).sort((t, o) => Ee(t) - Ee(o));
|
|
2890
2883
|
}
|
|
2891
2884
|
}
|
|
2892
2885
|
}, Yi = {
|
|
@@ -2897,11 +2890,11 @@ const Fi = (n) => ({
|
|
|
2897
2890
|
hooks: {
|
|
2898
2891
|
"tags:resolve": (e) => {
|
|
2899
2892
|
const { tags: t } = e, o = t.find((l) => l.tag === "title")?.textContent, u = t.findIndex((l) => l.tag === "templateParams"), r = u !== -1 ? t[u].props : {}, p = r.separator || "|";
|
|
2900
|
-
delete r.separator, r.pageTitle =
|
|
2893
|
+
delete r.separator, r.pageTitle = ke(r.pageTitle || o || "", r, p);
|
|
2901
2894
|
for (const l of t.filter((h) => h.processTemplateParams !== !1)) {
|
|
2902
2895
|
const h = Yi[l.tag];
|
|
2903
|
-
h && typeof l.props[h] == "string" ? l.props[h] =
|
|
2904
|
-
typeof l[c] == "string" && (l[c] =
|
|
2896
|
+
h && typeof l.props[h] == "string" ? l.props[h] = ke(l.props[h], r, p) : (l.processTemplateParams === !0 || ["titleTemplate", "title"].includes(l.tag)) && ["innerHTML", "textContent"].forEach((c) => {
|
|
2897
|
+
typeof l[c] == "string" && (l[c] = ke(l[c], r, p));
|
|
2905
2898
|
});
|
|
2906
2899
|
}
|
|
2907
2900
|
n._templateParams = r, n._separator = p, e.tags = t.filter((l) => l.tag !== "templateParams");
|
|
@@ -2989,7 +2982,7 @@ function Xi(n = {}) {
|
|
|
2989
2982
|
ssr: t
|
|
2990
2983
|
};
|
|
2991
2984
|
return [
|
|
2992
|
-
|
|
2985
|
+
Ri,
|
|
2993
2986
|
Ni,
|
|
2994
2987
|
Fi,
|
|
2995
2988
|
Gi,
|
|
@@ -2999,23 +2992,23 @@ function Xi(n = {}) {
|
|
|
2999
2992
|
...n?.plugins || []
|
|
3000
2993
|
].forEach((h) => l.use(h)), l.hooks.callHook("init", l), l;
|
|
3001
2994
|
}
|
|
3002
|
-
const Zi =
|
|
2995
|
+
const Zi = bo.startsWith("3");
|
|
3003
2996
|
function er(n) {
|
|
3004
2997
|
return typeof n == "function" ? n() : a(n);
|
|
3005
2998
|
}
|
|
3006
|
-
function
|
|
2999
|
+
function Ge(n, e = "") {
|
|
3007
3000
|
if (n instanceof Promise)
|
|
3008
3001
|
return n;
|
|
3009
3002
|
const t = er(n);
|
|
3010
|
-
return !n || !t ? t : Array.isArray(t) ? t.map((o) =>
|
|
3011
|
-
Object.entries(t).map(([o, u]) => o === "titleTemplate" || o.startsWith("on") ? [o, a(u)] : [o,
|
|
3003
|
+
return !n || !t ? t : Array.isArray(t) ? t.map((o) => Ge(o, e)) : typeof t == "object" ? Object.fromEntries(
|
|
3004
|
+
Object.entries(t).map(([o, u]) => o === "titleTemplate" || o.startsWith("on") ? [o, a(u)] : [o, Ge(u, o)])
|
|
3012
3005
|
) : t;
|
|
3013
3006
|
}
|
|
3014
3007
|
const tr = {
|
|
3015
3008
|
hooks: {
|
|
3016
3009
|
"entries:resolve": function(n) {
|
|
3017
3010
|
for (const e of n.entries)
|
|
3018
|
-
e.resolvedInput =
|
|
3011
|
+
e.resolvedInput = Ge(e.input);
|
|
3019
3012
|
}
|
|
3020
3013
|
}
|
|
3021
3014
|
}, or = "usehead";
|
|
@@ -3031,13 +3024,13 @@ function ir(n = {}) {
|
|
|
3031
3024
|
const e = /* @__PURE__ */ Ji(n);
|
|
3032
3025
|
return e.use(tr), e.install = nr(e), e;
|
|
3033
3026
|
}
|
|
3034
|
-
const rr =
|
|
3027
|
+
const rr = ko(), sr = ir(), ar = xo(), oe = Io({ components: { Hotel: ai } });
|
|
3035
3028
|
oe.use(sr);
|
|
3036
3029
|
oe.use(rr);
|
|
3037
3030
|
oe.use(ar);
|
|
3038
3031
|
oe.use(Vt);
|
|
3039
|
-
oe.use(
|
|
3040
|
-
oe.use(
|
|
3041
|
-
oe.use(
|
|
3042
|
-
oe.use(
|
|
3032
|
+
oe.use(Ro);
|
|
3033
|
+
oe.use(Eo);
|
|
3034
|
+
oe.use(wo);
|
|
3035
|
+
oe.use(To, { bootstrap: !0 });
|
|
3043
3036
|
oe.mount("#konnectio-hotel-app");
|