@konnectio/core 4.0.21 → 4.0.22
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-7685b1ca.js → ActionField-4c47ccce.js} +2 -2
- package/dist/ActionField-4c47ccce.js.br +0 -0
- package/dist/{ActionField-f278c92a.cjs → ActionField-83fef1c1.cjs} +1 -1
- package/dist/{AvailabilitySkeleton-b8004f01.cjs → AvailabilitySkeleton-0e77a3ad.cjs} +1 -1
- package/dist/{AvailabilitySkeleton-9f7adad1.js → AvailabilitySkeleton-6ba16e6b.js} +5 -5
- package/dist/AvailabilitySkeleton-6ba16e6b.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-4d19c297.js → DateField.vue_vue_type_style_index_0_lang-6242a55d.js} +6 -6
- package/dist/DateField.vue_vue_type_style_index_0_lang-6242a55d.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-66f33a43.cjs → DateField.vue_vue_type_style_index_0_lang-efec37d7.cjs} +2 -2
- package/dist/{Field-7bca22a3.cjs → Field-72b689c4.cjs} +1 -1
- package/dist/{Field-850f6158.js → Field-d3e306c7.js} +2 -2
- package/dist/Field-d3e306c7.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-9af13100.cjs → NumberField.vue_vue_type_script_setup_true_lang-53cff536.cjs} +1 -1
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-615d58a2.js → NumberField.vue_vue_type_script_setup_true_lang-e9425fa5.js} +2 -2
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-e9425fa5.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-de13480f.js → SelectField.vue_vue_type_style_index_0_lang-b53d9177.js} +3 -3
- package/dist/SelectField.vue_vue_type_style_index_0_lang-b53d9177.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-f2eadc00.cjs → SelectField.vue_vue_type_style_index_0_lang-ed0ef984.cjs} +1 -1
- package/dist/{ThankYou-328e6196.cjs → ThankYou-98807e93.cjs} +2 -2
- package/dist/{ThankYou-ce7a43f1.js → ThankYou-ebdebf4e.js} +105 -102
- package/dist/ThankYou-ebdebf4e.js.br +0 -0
- package/dist/{_-72d06a62.cjs → _-07462fdc.cjs} +1 -1
- package/dist/{_-55d616f9.js → _-f5b07fc1.js} +1 -1
- package/dist/_-f5b07fc1.js.br +0 -0
- package/dist/availability.cjs +2 -2
- package/dist/availability.js +10 -10
- package/dist/availability.js.br +0 -0
- package/dist/components/forms/ReservationForm.vue.d.ts +1 -1
- package/dist/components/listings/Base.vue.d.ts +1 -1
- package/dist/{event-d42b8289.js → event-136853fa.js} +9 -9
- package/dist/event-136853fa.js.br +0 -0
- package/dist/{event-67cf0ebb.cjs → event-5c513f23.cjs} +1 -1
- 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 +2 -2
- package/dist/hotel.js +243 -243
- package/dist/hotel.js.br +0 -0
- package/dist/{index-85780e6d.cjs → index-c407bc6f.cjs} +1 -1
- package/dist/{index-a6e71920.js → index-eab5c85f.js} +1 -1
- package/dist/index-eab5c85f.js.br +0 -0
- 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-7685b1ca.js.br +0 -0
- package/dist/AvailabilitySkeleton-9f7adad1.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-4d19c297.js.br +0 -0
- package/dist/Field-850f6158.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-615d58a2.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-de13480f.js.br +0 -0
- package/dist/ThankYou-ce7a43f1.js.br +0 -0
- package/dist/_-55d616f9.js.br +0 -0
- package/dist/event-d42b8289.js.br +0 -0
- package/dist/index-a6e71920.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { h as
|
|
2
|
-
import { s as go, e as it, C as j, P as vo, a as yo, S as bo, i as _o } from "./index-
|
|
3
|
-
import { R as ko, _ as Eo, B as Io, S as To, M as Co, T as $o, x as Vo } from "./ThankYou-
|
|
4
|
-
import { u as
|
|
5
|
-
import { A as So, H as xo } from "./AvailabilitySkeleton-
|
|
6
|
-
import { _ as Lo } from "./NumberField.vue_vue_type_script_setup_true_lang-
|
|
7
|
-
import { E as
|
|
1
|
+
import { h as ne, z as ye, aC as eo, s as oe, a as be, aa as yt, k as I, l as H, W as to, n as r, w, a9 as Oe, x as b, A as L, G as ce, Y as et, aD as oo, q as V, a3 as F, a2 as N, t as A, aE as K, a5 as He, m as $, D as te, F as Y, d as no, c as Q, y as Se, ae as tt, af as we, _ as pe, r as Ce, aB as io, o as Ke, a1 as $e, v as Ve, j as ot, T as de, I as ro, az as so, u as ao, K as lo, C as ge, aF as ae, H as nt, B as W, J as uo, ai as bt, aG as co, P as po, a8 as ho, N as fo, Q as mo } from "./SelectField.vue_vue_type_style_index_0_lang-b53d9177.js";
|
|
2
|
+
import { s as go, e as it, C as j, P as vo, a as yo, S as bo, i as _o } from "./index-eab5c85f.js";
|
|
3
|
+
import { R as ko, _ as Eo, B as Io, S as To, M as Co, T as $o, x as Vo } from "./ThankYou-ebdebf4e.js";
|
|
4
|
+
import { u as ve, _ as Po } from "./DateField.vue_vue_type_style_index_0_lang-6242a55d.js";
|
|
5
|
+
import { A as So, H as xo } from "./AvailabilitySkeleton-6ba16e6b.js";
|
|
6
|
+
import { _ as Lo } from "./NumberField.vue_vue_type_script_setup_true_lang-e9425fa5.js";
|
|
7
|
+
import { E as X } from "./_-f5b07fc1.js";
|
|
8
8
|
import { c as _t, a as kt } from "./_commonjsHelpers-aeeeeb92.js";
|
|
9
|
-
import "./ActionField-
|
|
10
|
-
import "./Field-
|
|
11
|
-
const
|
|
9
|
+
import "./ActionField-4c47ccce.js";
|
|
10
|
+
import "./Field-d3e306c7.js";
|
|
11
|
+
const Ae = /* @__PURE__ */ ne({
|
|
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 } =
|
|
18
|
+
const { t } = ye(), e = eo(), {
|
|
19
19
|
hideArrivalDepartureInputs: o,
|
|
20
20
|
disableArrivalUserSelection: d,
|
|
21
21
|
disableDepartureUserSelection: s,
|
|
22
22
|
arrivalDefault: h,
|
|
23
23
|
departureDefault: u,
|
|
24
24
|
currency: p
|
|
25
|
-
} =
|
|
25
|
+
} = oe(be()), {
|
|
26
26
|
arrivalDate: a,
|
|
27
27
|
departureDate: g
|
|
28
|
-
} =
|
|
28
|
+
} = oe(yt()), {
|
|
29
29
|
arrivalTime: m,
|
|
30
30
|
departureTime: _,
|
|
31
31
|
roomDisplay: l,
|
|
32
32
|
templateID: y,
|
|
33
33
|
totalPrice: k,
|
|
34
34
|
areListingsLoading: f
|
|
35
|
-
} =
|
|
35
|
+
} = oe(ve()), { removeRoom: i } = ve();
|
|
36
36
|
function c(v) {
|
|
37
37
|
return v.reduce((T, { totalPrice: P }) => T + P, 0);
|
|
38
38
|
}
|
|
@@ -44,16 +44,16 @@ const we = /* @__PURE__ */ oe({
|
|
|
44
44
|
notice: r(t)("hotel.reservationNotice")
|
|
45
45
|
}, to({
|
|
46
46
|
form: w(() => [
|
|
47
|
-
|
|
47
|
+
Oe(v.$slots, "form")
|
|
48
48
|
]),
|
|
49
49
|
"reservation-summary": w(() => [
|
|
50
50
|
b("li", null, [
|
|
51
51
|
b("span", null, L(r(t)("booking.reservation.arrival")), 1),
|
|
52
|
-
b("b", null, L(r(o) ? r(
|
|
52
|
+
b("b", null, L(r(o) ? r(ce)(r(a)) : `${r(ce)(r(a))}, ${r(d) ? r(h) : r(m)}`), 1)
|
|
53
53
|
]),
|
|
54
54
|
b("li", null, [
|
|
55
55
|
b("span", null, L(r(t)("booking.reservation.departure")), 1),
|
|
56
|
-
b("b", null, L(r(o) ? r(
|
|
56
|
+
b("b", null, L(r(o) ? r(ce)(r(g)) : `${r(ce)(r(g))}, ${r(s) ? r(u) : r(_)}`), 1)
|
|
57
57
|
]),
|
|
58
58
|
b("li", null, [
|
|
59
59
|
b("span", null, L(r(t)("booking.reservation.nights")), 1),
|
|
@@ -74,24 +74,24 @@ const we = /* @__PURE__ */ oe({
|
|
|
74
74
|
(I(!0), V(N, null, F(B.rooms, (x, G) => (I(), V("ul", { key: G }, [
|
|
75
75
|
b("li", null, [
|
|
76
76
|
b("span", null, [
|
|
77
|
-
b("span", null, L(r(
|
|
77
|
+
b("span", null, L(r(K)(B.name)), 1),
|
|
78
78
|
b("span", null, [
|
|
79
|
-
|
|
80
|
-
$(
|
|
79
|
+
He("( "),
|
|
80
|
+
$(te, {
|
|
81
81
|
icon: "male",
|
|
82
82
|
type: "fas",
|
|
83
83
|
color: "font"
|
|
84
84
|
}),
|
|
85
85
|
b("span", null, L(x.adultsCount), 1),
|
|
86
|
-
|
|
86
|
+
He(") "),
|
|
87
87
|
x.childrenCount > 0 ? (I(), V(N, { key: 0 }, [
|
|
88
|
-
$(
|
|
88
|
+
$(te, {
|
|
89
89
|
icon: "child",
|
|
90
90
|
type: "fas",
|
|
91
91
|
color: "font"
|
|
92
92
|
}),
|
|
93
93
|
b("span", null, L(x.childrenCount), 1),
|
|
94
|
-
|
|
94
|
+
He(") ")
|
|
95
95
|
], 64)) : A("", !0)
|
|
96
96
|
])
|
|
97
97
|
]),
|
|
@@ -109,14 +109,14 @@ const we = /* @__PURE__ */ oe({
|
|
|
109
109
|
]))), 128)) : A("", !0)
|
|
110
110
|
]),
|
|
111
111
|
navigation: w(() => [
|
|
112
|
-
|
|
112
|
+
Oe(v.$slots, "navigation")
|
|
113
113
|
]),
|
|
114
114
|
_: 2
|
|
115
115
|
}, [
|
|
116
116
|
r(e).addons ? {
|
|
117
117
|
name: "addons",
|
|
118
118
|
fn: w(() => [
|
|
119
|
-
|
|
119
|
+
Oe(v.$slots, "addons")
|
|
120
120
|
]),
|
|
121
121
|
key: "0"
|
|
122
122
|
} : void 0
|
|
@@ -126,7 +126,7 @@ const we = /* @__PURE__ */ oe({
|
|
|
126
126
|
const {
|
|
127
127
|
enableTracking: n,
|
|
128
128
|
googleApiKey: t
|
|
129
|
-
} =
|
|
129
|
+
} = oe(be());
|
|
130
130
|
function e() {
|
|
131
131
|
console.log("Tracking"), console.log(t), go({
|
|
132
132
|
config: {
|
|
@@ -185,7 +185,7 @@ const we = /* @__PURE__ */ oe({
|
|
|
185
185
|
removeFromCart: h
|
|
186
186
|
};
|
|
187
187
|
}), Oo = { key: 0 }, Ho = { style: { display: "flex", "align-items": "baseline" } }, wo = { key: 0 };
|
|
188
|
-
const Ao = /* @__PURE__ */
|
|
188
|
+
const Ao = /* @__PURE__ */ ne({
|
|
189
189
|
__name: "RoomConfigField",
|
|
190
190
|
props: {
|
|
191
191
|
modelValue: {},
|
|
@@ -196,15 +196,15 @@ const Ao = /* @__PURE__ */ oe({
|
|
|
196
196
|
},
|
|
197
197
|
emits: ["update:modelValue"],
|
|
198
198
|
setup(n, { emit: t }) {
|
|
199
|
-
const { currency: e } =
|
|
199
|
+
const { currency: e } = oe(be()), o = t, d = n;
|
|
200
200
|
function s(u) {
|
|
201
201
|
o("update:modelValue", u);
|
|
202
202
|
}
|
|
203
|
-
const h =
|
|
203
|
+
const h = Q({
|
|
204
204
|
get: () => d.modelValue,
|
|
205
205
|
set: (u) => s(u)
|
|
206
206
|
});
|
|
207
|
-
return (u, p) => (I(), H(
|
|
207
|
+
return (u, p) => (I(), H(Se, {
|
|
208
208
|
modelValue: h.value,
|
|
209
209
|
"onUpdate:modelValue": p[0] || (p[0] = (a) => h.value = a),
|
|
210
210
|
label: u.label,
|
|
@@ -217,14 +217,14 @@ const Ao = /* @__PURE__ */ oe({
|
|
|
217
217
|
}, {
|
|
218
218
|
option: w(({ data: a }) => [
|
|
219
219
|
b("span", null, [
|
|
220
|
-
$(
|
|
220
|
+
$(te, {
|
|
221
221
|
icon: "male",
|
|
222
222
|
type: "fas"
|
|
223
223
|
}),
|
|
224
224
|
b("span", null, L(`${a.adults}`), 1)
|
|
225
225
|
]),
|
|
226
226
|
a.children > 0 ? (I(), V("span", Oo, [
|
|
227
|
-
$(
|
|
227
|
+
$(te, {
|
|
228
228
|
icon: "child",
|
|
229
229
|
type: "fas"
|
|
230
230
|
}),
|
|
@@ -235,14 +235,14 @@ const Ao = /* @__PURE__ */ oe({
|
|
|
235
235
|
"selected-option": w(({ data: a }) => [
|
|
236
236
|
b("div", Ho, [
|
|
237
237
|
b("div", null, [
|
|
238
|
-
$(
|
|
238
|
+
$(te, {
|
|
239
239
|
icon: "male",
|
|
240
240
|
type: "fas"
|
|
241
241
|
}),
|
|
242
242
|
b("span", null, L(`${a.adults}`), 1)
|
|
243
243
|
]),
|
|
244
244
|
a.children > 0 ? (I(), V("div", wo, [
|
|
245
|
-
$(
|
|
245
|
+
$(te, {
|
|
246
246
|
icon: "child",
|
|
247
247
|
type: "fas"
|
|
248
248
|
}),
|
|
@@ -264,7 +264,7 @@ const Ao = /* @__PURE__ */ oe({
|
|
|
264
264
|
"percent-position": !0,
|
|
265
265
|
"column-width": ".grid-sizer",
|
|
266
266
|
"item-selector": ".fresh-booking-modal-facility"
|
|
267
|
-
}, Mo = { class: "grid-sizer" }, Ro = /* @__PURE__ */
|
|
267
|
+
}, Mo = { class: "grid-sizer" }, Ro = /* @__PURE__ */ ne({
|
|
268
268
|
__name: "Info",
|
|
269
269
|
props: {
|
|
270
270
|
title: {},
|
|
@@ -280,11 +280,11 @@ const Ao = /* @__PURE__ */ oe({
|
|
|
280
280
|
}, {
|
|
281
281
|
default: w(() => [
|
|
282
282
|
t.facilities && t.facilities.length !== 0 ? (I(), V("div", Bo, [
|
|
283
|
-
|
|
284
|
-
|
|
283
|
+
we((I(), V("ul", zo, [
|
|
284
|
+
we(b("div", Mo, null, 512), [
|
|
285
285
|
[o]
|
|
286
286
|
]),
|
|
287
|
-
(I(!0), V(N, null, F(t.facilities, ({ name: s, subFacilities: h }, u) =>
|
|
287
|
+
(I(!0), V(N, null, F(t.facilities, ({ name: s, subFacilities: h }, u) => we((I(), V("li", {
|
|
288
288
|
key: u,
|
|
289
289
|
class: "fresh-booking-modal-facility"
|
|
290
290
|
}, [
|
|
@@ -307,15 +307,15 @@ const Ao = /* @__PURE__ */ oe({
|
|
|
307
307
|
};
|
|
308
308
|
}
|
|
309
309
|
});
|
|
310
|
-
const Wo = /* @__PURE__ */
|
|
311
|
-
const qo = /* @__PURE__ */
|
|
310
|
+
const Wo = /* @__PURE__ */ pe(Ro, [["__scopeId", "data-v-4e226a17"]]), No = { key: 1 }, Uo = { class: "fresh-booking-listing-config-body" }, Fo = { class: "fresh-booking-listing-units-body" };
|
|
311
|
+
const qo = /* @__PURE__ */ ne({
|
|
312
312
|
__name: "Hotel",
|
|
313
313
|
props: {
|
|
314
314
|
room: {},
|
|
315
315
|
layout: {}
|
|
316
316
|
},
|
|
317
317
|
setup(n) {
|
|
318
|
-
const { t } =
|
|
318
|
+
const { t } = ye(), e = n, o = Ce([]);
|
|
319
319
|
function d(E) {
|
|
320
320
|
o.value[E].config.push({
|
|
321
321
|
id: NaN,
|
|
@@ -323,21 +323,21 @@ const qo = /* @__PURE__ */ oe({
|
|
|
323
323
|
addons: []
|
|
324
324
|
});
|
|
325
325
|
}
|
|
326
|
-
const s =
|
|
326
|
+
const s = Q(() => e.room.rates.map((E) => ({
|
|
327
327
|
label: E.name,
|
|
328
328
|
value: E.id
|
|
329
|
-
}))), h =
|
|
330
|
-
|
|
331
|
-
const { roomSelect: u } =
|
|
329
|
+
}))), h = Q(() => o.value.flatMap((E) => E.id));
|
|
330
|
+
Q(() => s.value.filter((E) => !h.value.includes(E.value))), oe(be());
|
|
331
|
+
const { roomSelect: u } = oe(ve()), { viewItem: p } = Do(), a = (E, T) => e.room.rates.find((P) => P.id === E)?.occupantRates.find((P) => P.index === T), g = Q(() => e.room.rates.reduce(
|
|
332
332
|
(E, T) => E < T.rackRate ? E : T.rackRate,
|
|
333
333
|
1 / 0
|
|
334
|
-
)), m =
|
|
334
|
+
)), m = Q(() => e.room.rates.every((E) => E.isBreakfastIncluded === !0)), _ = (E, T) => a(E, T) ? a(E, T)?.rooms : null, l = (E) => e.room.rates.length > 0 ? e.room.rates.find((T) => T.id === E)?.occupantRates.map((T) => ({
|
|
335
335
|
value: T.index,
|
|
336
336
|
price: T.totalPrice,
|
|
337
337
|
adults: T.adultsCount,
|
|
338
338
|
children: T.childrenCount,
|
|
339
339
|
hasBreakfast: T.hasBreakfast
|
|
340
|
-
})) || [] : [], y =
|
|
340
|
+
})) || [] : [], y = Q(() => e.room.rates.length > 1), { open: k, close: f } = io({
|
|
341
341
|
component: Wo,
|
|
342
342
|
attrs: {
|
|
343
343
|
title: e.room.title,
|
|
@@ -371,15 +371,15 @@ const qo = /* @__PURE__ */ oe({
|
|
|
371
371
|
Ke(() => {
|
|
372
372
|
c();
|
|
373
373
|
});
|
|
374
|
-
const v =
|
|
375
|
-
return
|
|
374
|
+
const v = Q(() => JSON.parse(JSON.stringify(o.value)));
|
|
375
|
+
return $e(v, (E, T) => {
|
|
376
376
|
T.length > 0 && E.forEach((P, O) => {
|
|
377
377
|
P.config.forEach((B, U) => {
|
|
378
378
|
const x = B.units, G = T[O].config[U].units;
|
|
379
379
|
x !== G && (x > G ? o.value[O].config[U].addons.push({}) : o.value[O].config[U].addons.pop());
|
|
380
380
|
});
|
|
381
381
|
});
|
|
382
|
-
}, { deep: !0 }),
|
|
382
|
+
}, { deep: !0 }), $e(o, () => {
|
|
383
383
|
u.value[e.room.id] = o.value;
|
|
384
384
|
}, { deep: !0 }), (E, T) => (I(), H(Io, {
|
|
385
385
|
"listing-id": E.room.id,
|
|
@@ -397,7 +397,7 @@ const qo = /* @__PURE__ */ oe({
|
|
|
397
397
|
key: P.id,
|
|
398
398
|
class: "freshbooking-hotel-room"
|
|
399
399
|
}, [
|
|
400
|
-
y.value ? (I(), H(
|
|
400
|
+
y.value ? (I(), H(Se, {
|
|
401
401
|
key: 0,
|
|
402
402
|
modelValue: P.id,
|
|
403
403
|
"onUpdate:modelValue": (B) => P.id = B,
|
|
@@ -419,7 +419,7 @@ const qo = /* @__PURE__ */ oe({
|
|
|
419
419
|
(I(), H(Ao, {
|
|
420
420
|
key: 0,
|
|
421
421
|
modelValue: x.id,
|
|
422
|
-
"onUpdate:modelValue": (
|
|
422
|
+
"onUpdate:modelValue": (Z) => x.id = Z,
|
|
423
423
|
description: `Maximum adults: ${U}`,
|
|
424
424
|
icon: "male",
|
|
425
425
|
"icon-type": "fas",
|
|
@@ -430,7 +430,7 @@ const qo = /* @__PURE__ */ oe({
|
|
|
430
430
|
b("ul", Fo, [
|
|
431
431
|
$(Lo, {
|
|
432
432
|
modelValue: x.units,
|
|
433
|
-
"onUpdate:modelValue": (
|
|
433
|
+
"onUpdate:modelValue": (Z) => x.units = Z,
|
|
434
434
|
description: `Available units: ${_(P.id, x.id)}`,
|
|
435
435
|
icon: "house",
|
|
436
436
|
"icon-type": "fas",
|
|
@@ -450,7 +450,7 @@ const qo = /* @__PURE__ */ oe({
|
|
|
450
450
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
451
451
|
}
|
|
452
452
|
});
|
|
453
|
-
const Go = /* @__PURE__ */
|
|
453
|
+
const Go = /* @__PURE__ */ pe(qo, [["__scopeId", "data-v-f23e8af2"]]), rt = /* @__PURE__ */ ne({
|
|
454
454
|
__name: "TimeField",
|
|
455
455
|
props: {
|
|
456
456
|
modelValue: {},
|
|
@@ -479,8 +479,8 @@ const Go = /* @__PURE__ */ ce(qo, [["__scopeId", "data-v-f23e8af2"]]), rt = /* @
|
|
|
479
479
|
function d(h) {
|
|
480
480
|
e("update:modelValue", h);
|
|
481
481
|
}
|
|
482
|
-
const s =
|
|
483
|
-
return
|
|
482
|
+
const s = Ce(o.modelValue);
|
|
483
|
+
return $e(s, (h) => {
|
|
484
484
|
d(h);
|
|
485
485
|
}), (h, u) => (I(), H(Po, {
|
|
486
486
|
modelValue: s.value,
|
|
@@ -498,7 +498,7 @@ const Go = /* @__PURE__ */ ce(qo, [["__scopeId", "data-v-f23e8af2"]]), rt = /* @
|
|
|
498
498
|
}, null, 8, ["modelValue", "label", "id", "name", "icon", "icon-type", "icon-color", "required", "readonly"]));
|
|
499
499
|
}
|
|
500
500
|
});
|
|
501
|
-
const jo = { style: { display: "flex", "align-items": "baseline" } }, Yo = /* @__PURE__ */
|
|
501
|
+
const jo = { style: { display: "flex", "align-items": "baseline" } }, Yo = /* @__PURE__ */ ne({
|
|
502
502
|
__name: "CountryField",
|
|
503
503
|
props: {
|
|
504
504
|
modelValue: {},
|
|
@@ -510,15 +510,15 @@ const jo = { style: { display: "flex", "align-items": "baseline" } }, Yo = /* @_
|
|
|
510
510
|
},
|
|
511
511
|
emits: ["update:modelValue"],
|
|
512
512
|
setup(n, { emit: t }) {
|
|
513
|
-
const { t: e } =
|
|
513
|
+
const { t: e } = ye(), o = t, d = n;
|
|
514
514
|
function s(u) {
|
|
515
515
|
o("update:modelValue", u);
|
|
516
516
|
}
|
|
517
|
-
const h =
|
|
517
|
+
const h = Q({
|
|
518
518
|
get: () => d.modelValue,
|
|
519
519
|
set: (u) => s(u)
|
|
520
520
|
});
|
|
521
|
-
return (u, p) => (I(), H(
|
|
521
|
+
return (u, p) => (I(), H(Se, {
|
|
522
522
|
modelValue: h.value,
|
|
523
523
|
"onUpdate:modelValue": p[0] || (p[0] = (a) => h.value = a),
|
|
524
524
|
label: u.label,
|
|
@@ -530,14 +530,14 @@ const jo = { style: { display: "flex", "align-items": "baseline" } }, Yo = /* @_
|
|
|
530
530
|
}, {
|
|
531
531
|
option: w(({ data: a }) => [
|
|
532
532
|
b("i", {
|
|
533
|
-
class:
|
|
533
|
+
class: Ve(["konnectio-flag-icon", a.iso])
|
|
534
534
|
}, null, 2),
|
|
535
535
|
b("span", null, L(a.name), 1)
|
|
536
536
|
]),
|
|
537
537
|
"selected-option": w(({ data: a }) => [
|
|
538
538
|
b("div", jo, [
|
|
539
539
|
b("i", {
|
|
540
|
-
class:
|
|
540
|
+
class: Ve(["konnectio-flag-icon", a.iso])
|
|
541
541
|
}, null, 2),
|
|
542
542
|
b("span", null, L(a.name), 1)
|
|
543
543
|
])
|
|
@@ -546,7 +546,7 @@ const jo = { style: { display: "flex", "align-items": "baseline" } }, Yo = /* @_
|
|
|
546
546
|
}, 8, ["modelValue", "label", "placeholder", "options", "required"]));
|
|
547
547
|
}
|
|
548
548
|
});
|
|
549
|
-
const Ko = /* @__PURE__ */
|
|
549
|
+
const Ko = /* @__PURE__ */ pe(Yo, [["__scopeId", "data-v-1462612d"]]), Qo = /* @__PURE__ */ ne({
|
|
550
550
|
__name: "NameField",
|
|
551
551
|
props: {
|
|
552
552
|
modelValue: {},
|
|
@@ -568,14 +568,14 @@ const Ko = /* @__PURE__ */ ce(Yo, [["__scopeId", "data-v-1462612d"]]), Qo = /* @
|
|
|
568
568
|
},
|
|
569
569
|
emits: ["update:modelValue", "update:title"],
|
|
570
570
|
setup(n, { emit: t }) {
|
|
571
|
-
const e = n, o = t, d = e.id || ot(), s =
|
|
571
|
+
const e = n, o = t, d = e.id || ot(), s = Ce(""), h = Ce(2);
|
|
572
572
|
function u() {
|
|
573
573
|
o("update:modelValue", s.value);
|
|
574
574
|
}
|
|
575
|
-
|
|
575
|
+
$e(h, (a) => {
|
|
576
576
|
o("update:title", a);
|
|
577
577
|
});
|
|
578
|
-
const { t: p } =
|
|
578
|
+
const { t: p } = ye();
|
|
579
579
|
return Ke(() => {
|
|
580
580
|
e.modelValue && (s.value = e.modelValue), e.title && (h.value = e.title);
|
|
581
581
|
}), (a, g) => (I(), H(ro, {
|
|
@@ -588,12 +588,12 @@ const Ko = /* @__PURE__ */ ce(Yo, [["__scopeId", "data-v-1462612d"]]), Qo = /* @
|
|
|
588
588
|
}, {
|
|
589
589
|
default: w(() => [
|
|
590
590
|
b("div", {
|
|
591
|
-
class:
|
|
591
|
+
class: Ve([
|
|
592
592
|
"fresh-booking-name-input",
|
|
593
593
|
{ "no-title": a.excludeTitle }
|
|
594
594
|
])
|
|
595
595
|
}, [
|
|
596
|
-
a.excludeTitle ? A("", !0) : (I(), H(
|
|
596
|
+
a.excludeTitle ? A("", !0) : (I(), H(Se, {
|
|
597
597
|
key: 0,
|
|
598
598
|
modelValue: h.value,
|
|
599
599
|
"onUpdate:modelValue": g[0] || (g[0] = (m) => h.value = m),
|
|
@@ -627,7 +627,7 @@ const Ko = /* @__PURE__ */ ce(Yo, [["__scopeId", "data-v-1462612d"]]), Qo = /* @
|
|
|
627
627
|
"hide-button": "",
|
|
628
628
|
"input-style": a.inputStyle
|
|
629
629
|
}, null, 8, ["modelValue", "id", "icon", "icon-color", "icon-type", "options", "readonly", "input-style"])),
|
|
630
|
-
$(
|
|
630
|
+
$(de, {
|
|
631
631
|
modelValue: s.value,
|
|
632
632
|
"onUpdate:modelValue": g[1] || (g[1] = (m) => s.value = m),
|
|
633
633
|
type: "text",
|
|
@@ -650,17 +650,17 @@ const Ko = /* @__PURE__ */ ce(Yo, [["__scopeId", "data-v-1462612d"]]), Qo = /* @
|
|
|
650
650
|
}, 8, ["label", "id", "required", "readonly", "limit"]));
|
|
651
651
|
}
|
|
652
652
|
});
|
|
653
|
-
const Jo = /* @__PURE__ */
|
|
653
|
+
const Jo = /* @__PURE__ */ pe(Qo, [["__scopeId", "data-v-f17661ec"]]), Xo = { class: "hotel-listing" }, Zo = { class: "hotel-listing-content-gallery" }, en = { class: "hotel-listing-content-thumbs" }, tn = { class: "hotel-listing-content" }, on = { class: "hotel-listing-content-header" }, nn = { class: "hotel-listing-content-title" }, rn = { class: "hotel-listing-content-body" }, sn = { class: "hotel-listing-content-facilities" }, an = /* @__PURE__ */ ne({
|
|
654
654
|
__name: "Listing",
|
|
655
655
|
setup(n) {
|
|
656
656
|
return (t, e) => (I(), V("div", Xo, [
|
|
657
657
|
b("div", Zo, [
|
|
658
|
-
$(
|
|
658
|
+
$(X, {
|
|
659
659
|
width: "280px",
|
|
660
660
|
height: "153px"
|
|
661
661
|
}),
|
|
662
662
|
b("div", en, [
|
|
663
|
-
(I(), V(N, null, F(3, (o) => $(
|
|
663
|
+
(I(), V(N, null, F(3, (o) => $(X, {
|
|
664
664
|
key: o,
|
|
665
665
|
width: "84px",
|
|
666
666
|
height: "44px"
|
|
@@ -670,33 +670,33 @@ const Jo = /* @__PURE__ */ ce(Qo, [["__scopeId", "data-v-f17661ec"]]), Xo = { cl
|
|
|
670
670
|
b("div", tn, [
|
|
671
671
|
b("div", on, [
|
|
672
672
|
b("div", nn, [
|
|
673
|
-
$(
|
|
673
|
+
$(X, {
|
|
674
674
|
height: "30px",
|
|
675
675
|
width: "60%"
|
|
676
676
|
}),
|
|
677
|
-
$(
|
|
677
|
+
$(X, {
|
|
678
678
|
height: "30px",
|
|
679
679
|
width: "30px",
|
|
680
680
|
"border-radius": "100%"
|
|
681
681
|
})
|
|
682
682
|
]),
|
|
683
|
-
$(
|
|
683
|
+
$(X, {
|
|
684
684
|
height: "15px",
|
|
685
685
|
width: "25%"
|
|
686
686
|
})
|
|
687
687
|
]),
|
|
688
688
|
b("div", rn, [
|
|
689
|
-
$(
|
|
690
|
-
$(
|
|
691
|
-
$(
|
|
692
|
-
$(
|
|
693
|
-
$(
|
|
689
|
+
$(X, { height: "15px" }),
|
|
690
|
+
$(X, { height: "15px" }),
|
|
691
|
+
$(X, { height: "15px" }),
|
|
692
|
+
$(X, { height: "15px" }),
|
|
693
|
+
$(X, {
|
|
694
694
|
height: "15px",
|
|
695
695
|
width: "90%"
|
|
696
696
|
})
|
|
697
697
|
]),
|
|
698
698
|
b("div", sn, [
|
|
699
|
-
(I(), V(N, null, F(5, (o) => $(
|
|
699
|
+
(I(), V(N, null, F(5, (o) => $(X, {
|
|
700
700
|
key: o,
|
|
701
701
|
height: "25px",
|
|
702
702
|
width: "25px",
|
|
@@ -707,15 +707,15 @@ const Jo = /* @__PURE__ */ ce(Qo, [["__scopeId", "data-v-f17661ec"]]), Xo = { cl
|
|
|
707
707
|
]));
|
|
708
708
|
}
|
|
709
709
|
});
|
|
710
|
-
const
|
|
710
|
+
const he = /* @__PURE__ */ pe(an, [["__scopeId", "data-v-5c132d7f"]]), ln = { class: "hotel-skeleton" }, un = { class: "hotel-skeleton-content" }, dn = { class: "hotel-skeleton-sidebar" }, cn = /* @__PURE__ */ ne({
|
|
711
711
|
__name: "HotelSkeleton",
|
|
712
712
|
setup(n) {
|
|
713
713
|
return (t, e) => (I(), V("div", ln, [
|
|
714
714
|
b("div", un, [
|
|
715
715
|
$(So),
|
|
716
|
-
$(
|
|
717
|
-
$(
|
|
718
|
-
$(
|
|
716
|
+
$(he),
|
|
717
|
+
$(he),
|
|
718
|
+
$(he)
|
|
719
719
|
]),
|
|
720
720
|
b("div", dn, [
|
|
721
721
|
$(To)
|
|
@@ -723,7 +723,7 @@ const pe = /* @__PURE__ */ ce(an, [["__scopeId", "data-v-5c132d7f"]]), ln = { cl
|
|
|
723
723
|
]));
|
|
724
724
|
}
|
|
725
725
|
});
|
|
726
|
-
const pn = /* @__PURE__ */
|
|
726
|
+
const pn = /* @__PURE__ */ pe(cn, [["__scopeId", "data-v-4e50a5a1"]]), hn = { id: "booking-availability-container" }, fn = { id: "booking-availability-controls" }, mn = {
|
|
727
727
|
key: 0,
|
|
728
728
|
"sticky-container": ""
|
|
729
729
|
}, gn = { key: 0 }, vn = { key: 0 }, yn = { key: 0 };
|
|
@@ -740,7 +740,7 @@ const bn = { id: "booking-availability-listings" }, _n = {
|
|
|
740
740
|
const Cn = {
|
|
741
741
|
key: 1,
|
|
742
742
|
class: "konnectio-listing-loading"
|
|
743
|
-
}, $n = { class: "fresh-booking-panel" }, Vn = { key: 1 }, Pn = { class: "fresh-booking-checkbox-spacing" }, Sn = ["onClick"], xn = { class: "fresh-booking-panel" }, Ln = { key: 0 }, Dn = { key: 1 }, On = { class: "fresh-booking-split-inputs" }, Hn = { key: 3 }, wn = { class: "fresh-booking-label" }, An = { class: "fresh-booking-checkbox-spacing" }, Bn = ["onClick"], zn = /* @__PURE__ */
|
|
743
|
+
}, $n = { class: "fresh-booking-panel" }, Vn = { key: 1 }, Pn = { class: "fresh-booking-checkbox-spacing" }, Sn = ["onClick"], xn = { class: "fresh-booking-panel" }, Ln = { key: 0 }, Dn = { key: 1 }, On = { class: "fresh-booking-split-inputs" }, Hn = { key: 3 }, wn = { class: "fresh-booking-label" }, An = { class: "fresh-booking-checkbox-spacing" }, Bn = ["onClick"], zn = /* @__PURE__ */ ne({
|
|
744
744
|
name: "HotelLayout",
|
|
745
745
|
__name: "Hotel",
|
|
746
746
|
props: {
|
|
@@ -751,7 +751,7 @@ const Cn = {
|
|
|
751
751
|
styling: {}
|
|
752
752
|
},
|
|
753
753
|
setup(n) {
|
|
754
|
-
const t = n, { t: e } =
|
|
754
|
+
const t = n, { t: e } = ye(), {
|
|
755
755
|
templateID: o,
|
|
756
756
|
title: d,
|
|
757
757
|
countries: s,
|
|
@@ -777,15 +777,15 @@ const Cn = {
|
|
|
777
777
|
newsMails: U,
|
|
778
778
|
roomSelect: x,
|
|
779
779
|
roomDisplay: G,
|
|
780
|
-
hasValidRoomSelection:
|
|
780
|
+
hasValidRoomSelection: Z,
|
|
781
781
|
//canStartReservation,
|
|
782
|
-
getSelectedPackageRoom:
|
|
783
|
-
availabilityData:
|
|
784
|
-
} =
|
|
782
|
+
getSelectedPackageRoom: xe,
|
|
783
|
+
availabilityData: fe
|
|
784
|
+
} = oe(ve()), {
|
|
785
785
|
arrivalDate: xt,
|
|
786
786
|
departureDate: Lt
|
|
787
|
-
} =
|
|
788
|
-
currency:
|
|
787
|
+
} = oe(yt()), {
|
|
788
|
+
currency: ee,
|
|
789
789
|
isRecaptchaEnabled: Ri,
|
|
790
790
|
disableNewsletterSignup: Dt,
|
|
791
791
|
arrivalEarliest: Ot,
|
|
@@ -797,83 +797,83 @@ const Cn = {
|
|
|
797
797
|
departureDefault: zt,
|
|
798
798
|
enablePackages: Ni,
|
|
799
799
|
hideArrivalDepartureInputs: Mt,
|
|
800
|
-
disableArrivalUserSelection:
|
|
800
|
+
disableArrivalUserSelection: Le,
|
|
801
801
|
disableNamePrefix: Rt,
|
|
802
|
-
disableDepartureUserSelection:
|
|
802
|
+
disableDepartureUserSelection: De,
|
|
803
803
|
disableTravelingFor: Wt,
|
|
804
804
|
disableCompanyField: Nt
|
|
805
|
-
} =
|
|
805
|
+
} = oe(be());
|
|
806
806
|
ao();
|
|
807
807
|
const {
|
|
808
808
|
initialize: Ut,
|
|
809
809
|
createReservation: Ft,
|
|
810
810
|
getSingleListing: Ui
|
|
811
|
-
} =
|
|
811
|
+
} = ve(), qt = Q(() => ({
|
|
812
812
|
inputBorderWidth: "0px 0px 1px",
|
|
813
813
|
inputBorderRadius: "6px",
|
|
814
814
|
inputBackground: "#f8f8f8",
|
|
815
|
-
inputFontColor:
|
|
815
|
+
// inputFontColor: '#6b6b6b',
|
|
816
816
|
...t.styling
|
|
817
|
-
})), Gt =
|
|
817
|
+
})), Gt = Q(() => [[
|
|
818
818
|
parseInt(Ot.value.split(":")[0]),
|
|
819
819
|
parseInt(Ht.value.split(":")[0])
|
|
820
|
-
]]), jt =
|
|
820
|
+
]]), jt = Q(() => [[
|
|
821
821
|
parseInt(wt.value.split(":")[0]),
|
|
822
822
|
parseInt(At.value.split(":")[0])
|
|
823
823
|
]]);
|
|
824
824
|
function Yt() {
|
|
825
825
|
o.value = NaN;
|
|
826
826
|
}
|
|
827
|
-
function Ze(
|
|
828
|
-
|
|
827
|
+
function Ze(J) {
|
|
828
|
+
J();
|
|
829
829
|
}
|
|
830
|
-
function Kt(
|
|
831
|
-
Lt.value = new Date(D), xt.value = new Date(
|
|
830
|
+
function Kt(J, D) {
|
|
831
|
+
Lt.value = new Date(D), xt.value = new Date(J), location.reload();
|
|
832
832
|
}
|
|
833
|
-
async function Qt(
|
|
834
|
-
await Ft(
|
|
833
|
+
async function Qt(J) {
|
|
834
|
+
await Ft(J);
|
|
835
835
|
}
|
|
836
|
-
function Jt(
|
|
837
|
-
|
|
836
|
+
function Jt(J) {
|
|
837
|
+
J();
|
|
838
838
|
}
|
|
839
839
|
function Xt() {
|
|
840
840
|
_.value === "" && (_.value = Bt.value), l.value === "" && (l.value = zt.value);
|
|
841
841
|
}
|
|
842
842
|
return Ke(() => {
|
|
843
843
|
Ut(), Xt();
|
|
844
|
-
}), (
|
|
844
|
+
}), (J, D) => (I(), H(lo, null, {
|
|
845
845
|
default: w(() => [
|
|
846
846
|
$(uo, {
|
|
847
847
|
id: "fresh-booking-hotel-module",
|
|
848
|
-
"access-token":
|
|
848
|
+
"access-token": J.accessToken,
|
|
849
849
|
type: "hotel",
|
|
850
850
|
styling: qt.value
|
|
851
851
|
}, {
|
|
852
852
|
default: w(() => [
|
|
853
853
|
$(Co, {
|
|
854
854
|
title: r(d),
|
|
855
|
-
layout:
|
|
855
|
+
layout: J.headerLayout
|
|
856
856
|
}, {
|
|
857
|
-
availability: w(({ next:
|
|
858
|
-
$(
|
|
857
|
+
availability: w(({ next: me }) => [
|
|
858
|
+
$(Ae, null, {
|
|
859
859
|
form: w(() => [
|
|
860
860
|
b("div", hn, [
|
|
861
861
|
b("div", fn, [
|
|
862
862
|
$(xo, { booking: !0 })
|
|
863
863
|
]),
|
|
864
864
|
r(h) ? (I(), V("div", Cn, [
|
|
865
|
-
$(
|
|
866
|
-
$(
|
|
867
|
-
$(
|
|
865
|
+
$(he),
|
|
866
|
+
$(he),
|
|
867
|
+
$(he)
|
|
868
868
|
])) : (I(), V("div", mn, [
|
|
869
|
-
r(
|
|
869
|
+
r(fe).roomGroups.length > 0 ? (I(), V("div", gn, [
|
|
870
870
|
isNaN(r(o)) ? (I(), V("div", vn, [
|
|
871
|
-
r(
|
|
871
|
+
r(fe).roomGroups.length > 0 ? (I(), V("div", yn, [
|
|
872
872
|
A("", !0),
|
|
873
873
|
b("ul", bn, [
|
|
874
|
-
(I(!0), V(N, null, F(r(
|
|
874
|
+
(I(!0), V(N, null, F(r(fe).roomGroups, (q, C) => (I(), H(Go, {
|
|
875
875
|
room: q,
|
|
876
|
-
layout:
|
|
876
|
+
layout: J.layout,
|
|
877
877
|
key: C
|
|
878
878
|
}, null, 8, ["room", "layout"]))), 128))
|
|
879
879
|
])
|
|
@@ -881,11 +881,11 @@ const Cn = {
|
|
|
881
881
|
b("span", null, L(r(e)("booking.availability.nothingAvailable")), 1)
|
|
882
882
|
]))
|
|
883
883
|
])) : A("", !0)
|
|
884
|
-
])) : r(
|
|
884
|
+
])) : r(fe).nextAvailableDates.length === 0 ? (I(), V("div", kn, [
|
|
885
885
|
b("span", null, L(r(e)("booking.availability.nothingAvailable")), 1)
|
|
886
886
|
])) : (I(), V("div", En, [
|
|
887
887
|
b("h2", null, [
|
|
888
|
-
$(
|
|
888
|
+
$(te, {
|
|
889
889
|
icon: "calendar-circle-exclamation",
|
|
890
890
|
type: "fal",
|
|
891
891
|
color: "header"
|
|
@@ -893,27 +893,27 @@ const Cn = {
|
|
|
893
893
|
b("span", null, L(r(e)("booking.availability.nextAvailableDates")), 1)
|
|
894
894
|
]),
|
|
895
895
|
b("ul", In, [
|
|
896
|
-
(I(!0), V(N, null, F(r(
|
|
896
|
+
(I(!0), V(N, null, F(r(fe).nextAvailableDates, (q, C) => (I(), V("li", { key: C }, [
|
|
897
897
|
b("h3", {
|
|
898
|
-
title: `${r(
|
|
898
|
+
title: `${r(ce)(q.fromDate)} - ${r(ce)(q.toDate)}`
|
|
899
899
|
}, [
|
|
900
|
-
b("span", null, L(`${r(
|
|
900
|
+
b("span", null, L(`${r(ce)(q.fromDate)} - ${r(ce)(q.toDate)}`), 1)
|
|
901
901
|
], 8, Tn),
|
|
902
902
|
b("ul", null, [
|
|
903
903
|
A("", !0),
|
|
904
904
|
b("li", null, [
|
|
905
|
-
$(
|
|
905
|
+
$(te, {
|
|
906
906
|
icon: "money-bill",
|
|
907
907
|
type: "fal",
|
|
908
908
|
color: "header"
|
|
909
909
|
}),
|
|
910
|
-
b("span", null, L(r(e)("booking.availability.pricesFrom")) + ": " + L(r(Y)(q.priceStartFrom, r(
|
|
910
|
+
b("span", null, L(r(e)("booking.availability.pricesFrom")) + ": " + L(r(Y)(q.priceStartFrom, r(ee))), 1)
|
|
911
911
|
])
|
|
912
912
|
]),
|
|
913
|
-
$(
|
|
913
|
+
$(ge, {
|
|
914
914
|
label: r(e)("booking.availability.selectDates"),
|
|
915
915
|
"full-width": "",
|
|
916
|
-
onClickEvent: (
|
|
916
|
+
onClickEvent: (_e) => Kt(q.fromDate, q.toDate)
|
|
917
917
|
}, null, 8, ["label", "onClickEvent"])
|
|
918
918
|
]))), 128))
|
|
919
919
|
])
|
|
@@ -922,14 +922,14 @@ const Cn = {
|
|
|
922
922
|
])
|
|
923
923
|
]),
|
|
924
924
|
navigation: w(() => [
|
|
925
|
-
isNaN(r(o)) ? (I(), H(
|
|
925
|
+
isNaN(r(o)) ? (I(), H(ge, {
|
|
926
926
|
key: 0,
|
|
927
927
|
label: r(e)("booking.availability.nextButton"),
|
|
928
|
-
disabled: !r(
|
|
928
|
+
disabled: !r(Z),
|
|
929
929
|
"is-loading": !1,
|
|
930
930
|
"full-width": "",
|
|
931
|
-
onClickEvent: (q) => Jt(
|
|
932
|
-
}, null, 8, ["label", "disabled", "onClickEvent"])) : (I(), H(
|
|
931
|
+
onClickEvent: (q) => Jt(me)
|
|
932
|
+
}, null, 8, ["label", "disabled", "onClickEvent"])) : (I(), H(ge, {
|
|
933
933
|
key: 1,
|
|
934
934
|
label: r(e)("booking.reservation.prevButton"),
|
|
935
935
|
"full-width": "",
|
|
@@ -939,8 +939,8 @@ const Cn = {
|
|
|
939
939
|
_: 2
|
|
940
940
|
}, 1024)
|
|
941
941
|
]),
|
|
942
|
-
addons: w(({ next:
|
|
943
|
-
$(
|
|
942
|
+
addons: w(({ next: me, prev: q }) => [
|
|
943
|
+
$(Ae, null, {
|
|
944
944
|
form: w(() => [
|
|
945
945
|
b("div", $n, [
|
|
946
946
|
b("h2", null, [
|
|
@@ -950,30 +950,30 @@ const Cn = {
|
|
|
950
950
|
isNaN(r(o)) ? (I(!0), V(N, { key: 0 }, F(r(G), (C) => (I(), V("ul", {
|
|
951
951
|
key: C.roomGroupID
|
|
952
952
|
}, [
|
|
953
|
-
(I(!0), V(N, null, F(C.variants, (
|
|
954
|
-
key:
|
|
953
|
+
(I(!0), V(N, null, F(C.variants, (_e, M) => (I(), V("li", {
|
|
954
|
+
key: _e.ratePlanID
|
|
955
955
|
}, [
|
|
956
956
|
b("h4", null, [
|
|
957
|
-
b("span", null, L(r(
|
|
957
|
+
b("span", null, L(r(K)(C.title)), 1)
|
|
958
958
|
]),
|
|
959
|
-
(I(!0), V(N, null, F(
|
|
959
|
+
(I(!0), V(N, null, F(_e.rooms, (S, Zt) => (I(), V("table", {
|
|
960
960
|
key: Zt,
|
|
961
961
|
class: "fresh-booking-table"
|
|
962
962
|
}, [
|
|
963
963
|
b("thead", null, [
|
|
964
964
|
b("tr", null, [
|
|
965
965
|
b("th", null, [
|
|
966
|
-
b("span", null, L(r(
|
|
966
|
+
b("span", null, L(r(K)(_e.name)), 1)
|
|
967
967
|
]),
|
|
968
968
|
b("th", null, [
|
|
969
969
|
b("b", null, [
|
|
970
|
-
$(
|
|
970
|
+
$(te, {
|
|
971
971
|
icon: "male",
|
|
972
972
|
type: "fas",
|
|
973
973
|
color: "font"
|
|
974
974
|
}),
|
|
975
975
|
b("span", null, L(S.adultsCount), 1),
|
|
976
|
-
S.childrenCount > 0 ? (I(), H(
|
|
976
|
+
S.childrenCount > 0 ? (I(), H(te, {
|
|
977
977
|
key: 0,
|
|
978
978
|
icon: "child",
|
|
979
979
|
type: "fas",
|
|
@@ -986,67 +986,67 @@ const Cn = {
|
|
|
986
986
|
]),
|
|
987
987
|
b("tbody", null, [
|
|
988
988
|
(I(!0), V(N, null, F(C.addons, ({
|
|
989
|
-
quantityStrategy:
|
|
989
|
+
quantityStrategy: ie,
|
|
990
990
|
id: z,
|
|
991
|
-
name:
|
|
992
|
-
price:
|
|
991
|
+
name: re,
|
|
992
|
+
price: se
|
|
993
993
|
}) => (I(), V("tr", { key: z }, [
|
|
994
994
|
b("ul", Pn, [
|
|
995
995
|
b("li", null, [
|
|
996
|
-
|
|
996
|
+
ie === r(ae).PerPerson ? (I(), H(j, {
|
|
997
997
|
key: 0,
|
|
998
998
|
modelValue: r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z],
|
|
999
999
|
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z] = R,
|
|
1000
|
-
label:
|
|
1001
|
-
price: `${r(Y)(
|
|
1002
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) :
|
|
1000
|
+
label: r(K)(re),
|
|
1001
|
+
price: `${r(Y)(se, r(ee))} ${r(e)("general.perPerson")}`
|
|
1002
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ie === r(ae).PerChild && S.childrenCount > 0 ? (I(), H(j, {
|
|
1003
1003
|
key: 1,
|
|
1004
1004
|
modelValue: r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z],
|
|
1005
1005
|
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z] = R,
|
|
1006
|
-
label:
|
|
1007
|
-
price: `${r(Y)(
|
|
1008
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) :
|
|
1006
|
+
label: r(K)(re),
|
|
1007
|
+
price: `${r(Y)(se, r(ee))} ${r(e)("general.perChild")}`
|
|
1008
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ie === r(ae).PerAdult ? (I(), H(j, {
|
|
1009
1009
|
key: 2,
|
|
1010
1010
|
modelValue: r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z],
|
|
1011
1011
|
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z] = R,
|
|
1012
|
-
label:
|
|
1013
|
-
price: `${r(Y)(
|
|
1014
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) :
|
|
1012
|
+
label: r(K)(re),
|
|
1013
|
+
price: `${r(Y)(se, r(ee))} ${r(e)("general.perAdult")}`
|
|
1014
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ie === r(ae).PerPersonPerNight ? (I(), H(j, {
|
|
1015
1015
|
key: 3,
|
|
1016
1016
|
modelValue: r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z],
|
|
1017
1017
|
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z] = R,
|
|
1018
|
-
label:
|
|
1019
|
-
price: `${r(Y)(
|
|
1020
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) :
|
|
1018
|
+
label: r(K)(re),
|
|
1019
|
+
price: `${r(Y)(se, r(ee))} ${r(e)("general.perPersonPerNight")}`
|
|
1020
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ie === r(ae).PerAdultPerNight ? (I(), H(j, {
|
|
1021
1021
|
key: 4,
|
|
1022
1022
|
modelValue: r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z],
|
|
1023
1023
|
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z] = R,
|
|
1024
|
-
label:
|
|
1025
|
-
price: `${r(Y)(
|
|
1026
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) :
|
|
1024
|
+
label: r(K)(re),
|
|
1025
|
+
price: `${r(Y)(se, r(ee))} ${r(e)("general.perAdultPerNight")}`
|
|
1026
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ie === r(ae).PerChildPerNight ? (I(), H(j, {
|
|
1027
1027
|
key: 5,
|
|
1028
1028
|
modelValue: r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z],
|
|
1029
1029
|
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z] = R,
|
|
1030
|
-
label:
|
|
1031
|
-
price: `${r(Y)(
|
|
1032
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) :
|
|
1030
|
+
label: r(K)(re),
|
|
1031
|
+
price: `${r(Y)(se, r(ee))} ${r(e)("general.perChildPerNight")}`
|
|
1032
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ie === r(ae).PerNight ? (I(), H(j, {
|
|
1033
1033
|
key: 6,
|
|
1034
1034
|
modelValue: r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z],
|
|
1035
1035
|
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z] = R,
|
|
1036
|
-
label:
|
|
1037
|
-
price: `${r(Y)(
|
|
1038
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) :
|
|
1036
|
+
label: r(K)(re),
|
|
1037
|
+
price: `${r(Y)(se, r(ee))} ${r(e)("general.perNight")}`
|
|
1038
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ie === r(ae).PerUnit ? (I(), H(j, {
|
|
1039
1039
|
key: 7,
|
|
1040
1040
|
modelValue: r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z],
|
|
1041
1041
|
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z] = R,
|
|
1042
|
-
label:
|
|
1043
|
-
price: `${r(Y)(
|
|
1044
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) :
|
|
1042
|
+
label: r(K)(re),
|
|
1043
|
+
price: `${r(Y)(se, r(ee))}`
|
|
1044
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : ie === r(ae).OneTimePayment ? (I(), H(j, {
|
|
1045
1045
|
key: 8,
|
|
1046
1046
|
modelValue: r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z],
|
|
1047
1047
|
"onUpdate:modelValue": (R) => r(x)[C.roomGroupID][M].config[S.configIdx].addons[S.roomIdx][z] = R,
|
|
1048
|
-
label:
|
|
1049
|
-
price: `${r(Y)(
|
|
1048
|
+
label: r(K)(re),
|
|
1049
|
+
price: `${r(Y)(se, r(ee))}`
|
|
1050
1050
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "price"])) : A("", !0)
|
|
1051
1051
|
])
|
|
1052
1052
|
])
|
|
@@ -1059,10 +1059,10 @@ const Cn = {
|
|
|
1059
1059
|
])
|
|
1060
1060
|
]),
|
|
1061
1061
|
navigation: w(() => [
|
|
1062
|
-
$(
|
|
1062
|
+
$(ge, {
|
|
1063
1063
|
label: r(e)("general.startReservation"),
|
|
1064
1064
|
"full-width": "",
|
|
1065
|
-
onClickEvent:
|
|
1065
|
+
onClickEvent: me
|
|
1066
1066
|
}, null, 8, ["label", "onClickEvent"]),
|
|
1067
1067
|
b("button", {
|
|
1068
1068
|
class: "konnectio-abort-reservation link",
|
|
@@ -1074,8 +1074,8 @@ const Cn = {
|
|
|
1074
1074
|
_: 2
|
|
1075
1075
|
}, 1024)
|
|
1076
1076
|
]),
|
|
1077
|
-
reservation: w(({ next:
|
|
1078
|
-
$(
|
|
1077
|
+
reservation: w(({ next: me, prev: q }) => [
|
|
1078
|
+
$(Ae, {
|
|
1079
1079
|
"show-terms-notice": !0,
|
|
1080
1080
|
"show-gift-card": !0
|
|
1081
1081
|
}, {
|
|
@@ -1084,11 +1084,11 @@ const Cn = {
|
|
|
1084
1084
|
b("h2", null, [
|
|
1085
1085
|
b("span", null, L(r(e)("booking.reservation.detailsTitle")), 1)
|
|
1086
1086
|
]),
|
|
1087
|
-
!r(Mt) && !(r(
|
|
1087
|
+
!r(Mt) && !(r(Le) && r(De)) ? (I(), V("ul", {
|
|
1088
1088
|
key: 0,
|
|
1089
|
-
class:
|
|
1089
|
+
class: Ve({ "fresh-booking-split-inputs": !r(Le) && !r(De) })
|
|
1090
1090
|
}, [
|
|
1091
|
-
r(
|
|
1091
|
+
r(Le) ? A("", !0) : (I(), V("li", Ln, [
|
|
1092
1092
|
$(rt, {
|
|
1093
1093
|
modelValue: r(_),
|
|
1094
1094
|
"onUpdate:modelValue": D[1] || (D[1] = (C) => W(_) ? _.value = C : null),
|
|
@@ -1098,7 +1098,7 @@ const Cn = {
|
|
|
1098
1098
|
required: ""
|
|
1099
1099
|
}, null, 8, ["modelValue", "label", "hour-range"])
|
|
1100
1100
|
])),
|
|
1101
|
-
r(
|
|
1101
|
+
r(De) ? A("", !0) : (I(), V("li", Dn, [
|
|
1102
1102
|
$(rt, {
|
|
1103
1103
|
modelValue: r(l),
|
|
1104
1104
|
"onUpdate:modelValue": D[2] || (D[2] = (C) => W(l) ? l.value = C : null),
|
|
@@ -1120,7 +1120,7 @@ const Cn = {
|
|
|
1120
1120
|
placeholder: r(e)("booking.reservation.namePlaceholder"),
|
|
1121
1121
|
required: ""
|
|
1122
1122
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1123
|
-
$(
|
|
1123
|
+
$(de, {
|
|
1124
1124
|
modelValue: r(f),
|
|
1125
1125
|
"onUpdate:modelValue": D[5] || (D[5] = (C) => W(f) ? f.value = C : null),
|
|
1126
1126
|
type: "email",
|
|
@@ -1139,7 +1139,7 @@ const Cn = {
|
|
|
1139
1139
|
name: "newsletter",
|
|
1140
1140
|
label: r(e)("booking.reservation.newsletterSignUp")
|
|
1141
1141
|
}, null, 8, ["modelValue", "label"])),
|
|
1142
|
-
r(Nt) ? A("", !0) : (I(), H(
|
|
1142
|
+
r(Nt) ? A("", !0) : (I(), H(de, {
|
|
1143
1143
|
key: 2,
|
|
1144
1144
|
modelValue: r(c),
|
|
1145
1145
|
"onUpdate:modelValue": D[7] || (D[7] = (C) => W(c) ? c.value = C : null),
|
|
@@ -1166,7 +1166,7 @@ const Cn = {
|
|
|
1166
1166
|
options: r(s),
|
|
1167
1167
|
required: ""
|
|
1168
1168
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1169
|
-
$(
|
|
1169
|
+
$(de, {
|
|
1170
1170
|
modelValue: r(T),
|
|
1171
1171
|
"onUpdate:modelValue": D[10] || (D[10] = (C) => W(T) ? T.value = C : null),
|
|
1172
1172
|
type: "textarea",
|
|
@@ -1179,7 +1179,7 @@ const Cn = {
|
|
|
1179
1179
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1180
1180
|
b("ul", On, [
|
|
1181
1181
|
b("li", null, [
|
|
1182
|
-
$(
|
|
1182
|
+
$(de, {
|
|
1183
1183
|
modelValue: r(v),
|
|
1184
1184
|
"onUpdate:modelValue": D[11] || (D[11] = (C) => W(v) ? v.value = C : null),
|
|
1185
1185
|
type: "text",
|
|
@@ -1192,7 +1192,7 @@ const Cn = {
|
|
|
1192
1192
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1193
1193
|
]),
|
|
1194
1194
|
b("li", null, [
|
|
1195
|
-
$(
|
|
1195
|
+
$(de, {
|
|
1196
1196
|
modelValue: r(E),
|
|
1197
1197
|
"onUpdate:modelValue": D[12] || (D[12] = (C) => W(E) ? E.value = C : null),
|
|
1198
1198
|
type: "text",
|
|
@@ -1205,7 +1205,7 @@ const Cn = {
|
|
|
1205
1205
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
1206
1206
|
])
|
|
1207
1207
|
]),
|
|
1208
|
-
$(
|
|
1208
|
+
$(de, {
|
|
1209
1209
|
modelValue: r(O),
|
|
1210
1210
|
"onUpdate:modelValue": D[13] || (D[13] = (C) => W(O) ? O.value = C : null),
|
|
1211
1211
|
type: "textarea",
|
|
@@ -1213,7 +1213,7 @@ const Cn = {
|
|
|
1213
1213
|
icon: "info-circle",
|
|
1214
1214
|
placeholder: r(e)("booking.reservation.remarkPlaceholder")
|
|
1215
1215
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1216
|
-
$(
|
|
1216
|
+
$(de, {
|
|
1217
1217
|
modelValue: r(B),
|
|
1218
1218
|
"onUpdate:modelValue": D[14] || (D[14] = (C) => W(B) ? B.value = C : null),
|
|
1219
1219
|
type: "textarea",
|
|
@@ -1262,12 +1262,12 @@ const Cn = {
|
|
|
1262
1262
|
]),
|
|
1263
1263
|
navigation: w(() => [
|
|
1264
1264
|
b("div", null, [
|
|
1265
|
-
$(
|
|
1265
|
+
$(ge, {
|
|
1266
1266
|
label: r(e)("general.confirmReservation"),
|
|
1267
1267
|
disabled: !r(a),
|
|
1268
1268
|
"is-loading": r(p),
|
|
1269
1269
|
"full-width": "",
|
|
1270
|
-
onClickEvent: (C) => Qt(
|
|
1270
|
+
onClickEvent: (C) => Qt(me)
|
|
1271
1271
|
}, null, 8, ["label", "disabled", "is-loading", "onClickEvent"]),
|
|
1272
1272
|
b("button", {
|
|
1273
1273
|
class: "konnectio-abort-reservation link",
|
|
@@ -1301,8 +1301,8 @@ const Cn = {
|
|
|
1301
1301
|
}));
|
|
1302
1302
|
}
|
|
1303
1303
|
});
|
|
1304
|
-
const Mn = /* @__PURE__ */
|
|
1305
|
-
var Et = { exports: {} },
|
|
1304
|
+
const Mn = /* @__PURE__ */ pe(zn, [["__scopeId", "data-v-b87ac2b1"]]);
|
|
1305
|
+
var Et = { exports: {} }, Be = { exports: {} }, ze = { exports: {} }, st;
|
|
1306
1306
|
function Qe() {
|
|
1307
1307
|
return st || (st = 1, function(n) {
|
|
1308
1308
|
(function(t, e) {
|
|
@@ -1342,9 +1342,9 @@ function Qe() {
|
|
|
1342
1342
|
delete this._events, delete this._onceEvents;
|
|
1343
1343
|
}, t;
|
|
1344
1344
|
});
|
|
1345
|
-
}(
|
|
1345
|
+
}(ze)), ze.exports;
|
|
1346
1346
|
}
|
|
1347
|
-
var
|
|
1347
|
+
var Me = { exports: {} };
|
|
1348
1348
|
/*!
|
|
1349
1349
|
* getSize v2.0.3
|
|
1350
1350
|
* measure size of elements
|
|
@@ -1419,19 +1419,19 @@ function Je() {
|
|
|
1419
1419
|
var c = s[i], v = y[c], E = parseFloat(v);
|
|
1420
1420
|
k[c] = isNaN(E) ? 0 : E;
|
|
1421
1421
|
}
|
|
1422
|
-
var T = k.paddingLeft + k.paddingRight, P = k.paddingTop + k.paddingBottom, O = k.marginLeft + k.marginRight, B = k.marginTop + k.marginBottom, U = k.borderLeftWidth + k.borderRightWidth, x = k.borderTopWidth + k.borderBottomWidth, G = f && g,
|
|
1423
|
-
|
|
1422
|
+
var T = k.paddingLeft + k.paddingRight, P = k.paddingTop + k.paddingBottom, O = k.marginLeft + k.marginRight, B = k.marginTop + k.marginBottom, U = k.borderLeftWidth + k.borderRightWidth, x = k.borderTopWidth + k.borderBottomWidth, G = f && g, Z = e(y.width);
|
|
1423
|
+
Z !== !1 && (k.width = Z + // add padding and border unless it's already including it
|
|
1424
1424
|
(G ? 0 : T + U));
|
|
1425
|
-
var
|
|
1426
|
-
return
|
|
1425
|
+
var xe = e(y.height);
|
|
1426
|
+
return xe !== !1 && (k.height = xe + // add padding and border unless it's already including it
|
|
1427
1427
|
(G ? 0 : P + x)), k.innerWidth = k.width - (T + U), k.innerHeight = k.height - (P + x), k.outerWidth = k.width + O, k.outerHeight = k.height + B, k;
|
|
1428
1428
|
}
|
|
1429
1429
|
}
|
|
1430
1430
|
return _;
|
|
1431
1431
|
});
|
|
1432
|
-
}(
|
|
1432
|
+
}(Me)), Me.exports;
|
|
1433
1433
|
}
|
|
1434
|
-
var
|
|
1434
|
+
var Re = { exports: {} }, We = { exports: {} }, lt;
|
|
1435
1435
|
function Rn() {
|
|
1436
1436
|
return lt || (lt = 1, function(n) {
|
|
1437
1437
|
(function(t, e) {
|
|
@@ -1453,7 +1453,7 @@ function Rn() {
|
|
|
1453
1453
|
return d[e](s);
|
|
1454
1454
|
};
|
|
1455
1455
|
});
|
|
1456
|
-
}(
|
|
1456
|
+
}(We)), We.exports;
|
|
1457
1457
|
}
|
|
1458
1458
|
var ut;
|
|
1459
1459
|
function Wn() {
|
|
@@ -1546,9 +1546,9 @@ function Wn() {
|
|
|
1546
1546
|
});
|
|
1547
1547
|
}, d;
|
|
1548
1548
|
});
|
|
1549
|
-
}(
|
|
1549
|
+
}(Re)), Re.exports;
|
|
1550
1550
|
}
|
|
1551
|
-
var
|
|
1551
|
+
var Ne = { exports: {} }, dt;
|
|
1552
1552
|
function Nn() {
|
|
1553
1553
|
return dt || (dt = 1, function(n) {
|
|
1554
1554
|
(function(t, e) {
|
|
@@ -1753,7 +1753,7 @@ function Nn() {
|
|
|
1753
1753
|
});
|
|
1754
1754
|
}, g;
|
|
1755
1755
|
});
|
|
1756
|
-
}(
|
|
1756
|
+
}(Ne)), Ne.exports;
|
|
1757
1757
|
}
|
|
1758
1758
|
/*!
|
|
1759
1759
|
* Outlayer v2.1.1
|
|
@@ -2057,7 +2057,7 @@ function Un() {
|
|
|
2057
2057
|
}
|
|
2058
2058
|
return _.Item = h, _;
|
|
2059
2059
|
});
|
|
2060
|
-
}(
|
|
2060
|
+
}(Be)), Be.exports;
|
|
2061
2061
|
}
|
|
2062
2062
|
/*!
|
|
2063
2063
|
* Masonry v4.2.2
|
|
@@ -2319,7 +2319,7 @@ function jn(n) {
|
|
|
2319
2319
|
});
|
|
2320
2320
|
} };
|
|
2321
2321
|
}
|
|
2322
|
-
const
|
|
2322
|
+
const ke = {
|
|
2323
2323
|
"column-width": "columnWidth",
|
|
2324
2324
|
"transition-duration": "transitionDuration",
|
|
2325
2325
|
"item-selector": "itemSelector",
|
|
@@ -2332,14 +2332,14 @@ const _e = {
|
|
|
2332
2332
|
"horizontal-order": "horizontalOrder",
|
|
2333
2333
|
stagger: "stagger",
|
|
2334
2334
|
"destroy-delay": "destroyDelay"
|
|
2335
|
-
},
|
|
2335
|
+
}, Ee = "vuemasonry.itemAdded", Ue = "vuemasonry.itemRemoved", Fe = "vuemasonry.imageLoaded", qe = "vuemasonry.destroy", Yn = function(n) {
|
|
2336
2336
|
return (n + "").toLowerCase() === "true";
|
|
2337
2337
|
}, Kn = function(n) {
|
|
2338
2338
|
return isNaN(n) ? n : parseInt(n);
|
|
2339
2339
|
}, Qn = function(n) {
|
|
2340
2340
|
const t = {};
|
|
2341
2341
|
return Array.prototype.slice.call(n).forEach(function(o) {
|
|
2342
|
-
Object.keys(
|
|
2342
|
+
Object.keys(ke).indexOf(o.name) > -1 && (o.name.indexOf("origin") > -1 ? t[ke[o.name]] = Yn(o.value) : o.name === "column-width" || o.name === "gutter" ? t[ke[o.name]] = Kn(o.value) : t[ke[o.name]] = o.value);
|
|
2343
2343
|
}), t;
|
|
2344
2344
|
}, Tt = {};
|
|
2345
2345
|
Tt.install = function(n, t) {
|
|
@@ -2358,32 +2358,32 @@ Tt.install = function(n, t) {
|
|
|
2358
2358
|
const _ = function(y) {
|
|
2359
2359
|
m();
|
|
2360
2360
|
}, l = function(y) {
|
|
2361
|
-
e["off"](`${
|
|
2361
|
+
e["off"](`${Ee}__${a}`, _), e["off"](`${Ue}__${a}`, _), e["off"](`${Fe}__${a}`, _), e["off"](`${qe}__${a}`, l);
|
|
2362
2362
|
const k = g && !Number.isNaN(g) ? g : 0;
|
|
2363
2363
|
setTimeout(function() {
|
|
2364
2364
|
p.destroy();
|
|
2365
2365
|
}, k);
|
|
2366
2366
|
};
|
|
2367
|
-
e["on"](`${
|
|
2367
|
+
e["on"](`${Ee}__${a}`, _), e["on"](`${Ue}__${a}`, _), e["on"](`${Fe}__${a}`, _), e["on"](`${qe}__${a}`, l);
|
|
2368
2368
|
},
|
|
2369
2369
|
unbind: function(s, h) {
|
|
2370
2370
|
const u = h.value || o;
|
|
2371
|
-
e["emit"](`${
|
|
2371
|
+
e["emit"](`${qe}__${u}`);
|
|
2372
2372
|
}
|
|
2373
2373
|
}), d.directive("masonryTile", {
|
|
2374
2374
|
mounted: function(s, h) {
|
|
2375
2375
|
const u = h.value || o;
|
|
2376
|
-
e["emit"](`${
|
|
2376
|
+
e["emit"](`${Ee}__${u}`, {
|
|
2377
2377
|
element: s
|
|
2378
2378
|
}), new Gn(s, function() {
|
|
2379
|
-
e["emit"](`${
|
|
2379
|
+
e["emit"](`${Fe}__${u}`, {
|
|
2380
2380
|
element: s
|
|
2381
2381
|
});
|
|
2382
2382
|
});
|
|
2383
2383
|
},
|
|
2384
2384
|
unbind: function(s, h) {
|
|
2385
2385
|
const u = h.value || o;
|
|
2386
|
-
e["emit"](`${
|
|
2386
|
+
e["emit"](`${Ue}__${u}`, {
|
|
2387
2387
|
element: s
|
|
2388
2388
|
});
|
|
2389
2389
|
}
|
|
@@ -2391,7 +2391,7 @@ Tt.install = function(n, t) {
|
|
|
2391
2391
|
{
|
|
2392
2392
|
const s = function(h) {
|
|
2393
2393
|
const u = h || o;
|
|
2394
|
-
e["emit"](`${
|
|
2394
|
+
e["emit"](`${Ee}__${u}`);
|
|
2395
2395
|
};
|
|
2396
2396
|
n.config.globalProperties.$redrawVueMasonry = s, n.provide("redrawVueMasonry", s);
|
|
2397
2397
|
}
|
|
@@ -2415,7 +2415,7 @@ function ei(n, t) {
|
|
|
2415
2415
|
const e = t.shift(), o = Ct(e);
|
|
2416
2416
|
return Promise.all(n.map((d) => o.run(() => d(...t))));
|
|
2417
2417
|
}
|
|
2418
|
-
function
|
|
2418
|
+
function Ge(n, t) {
|
|
2419
2419
|
for (const e of [...n])
|
|
2420
2420
|
e(t);
|
|
2421
2421
|
}
|
|
@@ -2495,14 +2495,14 @@ class ti {
|
|
|
2495
2495
|
}
|
|
2496
2496
|
callHookWith(t, e, ...o) {
|
|
2497
2497
|
const d = this._before || this._after ? { name: e, args: o, context: {} } : void 0;
|
|
2498
|
-
this._before &&
|
|
2498
|
+
this._before && Ge(this._before, d);
|
|
2499
2499
|
const s = t(
|
|
2500
2500
|
e in this._hooks ? [...this._hooks[e]] : [],
|
|
2501
2501
|
o
|
|
2502
2502
|
);
|
|
2503
2503
|
return s instanceof Promise ? s.finally(() => {
|
|
2504
|
-
this._after && d &&
|
|
2505
|
-
}) : (this._after && d &&
|
|
2504
|
+
this._after && d && Ge(this._after, d);
|
|
2505
|
+
}) : (this._after && d && Ge(this._after, d), s);
|
|
2506
2506
|
}
|
|
2507
2507
|
beforeEach(t) {
|
|
2508
2508
|
return this._before = this._before || [], this._before.push(t), () => {
|
|
@@ -2527,7 +2527,7 @@ function oi() {
|
|
|
2527
2527
|
function ni(n) {
|
|
2528
2528
|
return Array.isArray(n) ? n : [n];
|
|
2529
2529
|
}
|
|
2530
|
-
const ii = ["title", "titleTemplate", "script", "style", "noscript"],
|
|
2530
|
+
const ii = ["title", "titleTemplate", "script", "style", "noscript"], Ie = [
|
|
2531
2531
|
"base",
|
|
2532
2532
|
"meta",
|
|
2533
2533
|
"link",
|
|
@@ -2625,13 +2625,13 @@ const mt = {
|
|
|
2625
2625
|
high: -10,
|
|
2626
2626
|
low: 20
|
|
2627
2627
|
};
|
|
2628
|
-
function
|
|
2628
|
+
function Pe(n) {
|
|
2629
2629
|
let t = 100;
|
|
2630
2630
|
const e = n.tagPriority;
|
|
2631
2631
|
return typeof e == "number" ? e : (n.tag === "meta" ? (n.props["http-equiv"] === "content-security-policy" && (t = -30), n.props.charset && (t = -20), n.props.name === "viewport" && (t = -15)) : n.tag === "link" && n.props.rel === "preconnect" ? t = 20 : n.tag in mt && (t = mt[n.tag]), typeof e == "string" && e in gt ? t + gt[e] : t);
|
|
2632
2632
|
}
|
|
2633
|
-
const pi = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], St = ["onload", "onerror", "onabort", "onprogress", "onloadstart"],
|
|
2634
|
-
function
|
|
2633
|
+
const pi = [{ prefix: "before:", offset: -1 }, { prefix: "after:", offset: 1 }], St = ["onload", "onerror", "onabort", "onprogress", "onloadstart"], ue = "%separator";
|
|
2634
|
+
function Te(n, t, e) {
|
|
2635
2635
|
if (typeof n != "string" || !n.includes("%"))
|
|
2636
2636
|
return n;
|
|
2637
2637
|
function o(h) {
|
|
@@ -2646,7 +2646,7 @@ function Ie(n, t, e) {
|
|
|
2646
2646
|
return (d.match(/%(\w+\.+\w+)|%(\w+)/g) || []).sort().reverse().forEach((h) => {
|
|
2647
2647
|
const u = o(h.slice(1));
|
|
2648
2648
|
typeof u == "string" && (n = n.replace(new RegExp(`\\${h}(\\W|$)`, "g"), (p, a) => `${u}${a}`).trim());
|
|
2649
|
-
}), n.includes(
|
|
2649
|
+
}), 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 = Te(n, { separator: e }, e)), n;
|
|
2650
2650
|
}
|
|
2651
2651
|
async function hi(n) {
|
|
2652
2652
|
const t = {
|
|
@@ -2667,7 +2667,7 @@ async function fi(n, t = {}) {
|
|
|
2667
2667
|
return;
|
|
2668
2668
|
const d = (await n.resolveTags()).map((g) => ({
|
|
2669
2669
|
tag: g,
|
|
2670
|
-
id:
|
|
2670
|
+
id: Ie.includes(g.tag) ? ht(g) : g.tag,
|
|
2671
2671
|
shouldRender: !0
|
|
2672
2672
|
}));
|
|
2673
2673
|
let s = n._dom;
|
|
@@ -2677,7 +2677,7 @@ async function fi(n, t = {}) {
|
|
|
2677
2677
|
};
|
|
2678
2678
|
for (const g of ["body", "head"]) {
|
|
2679
2679
|
const m = e?.[g]?.children;
|
|
2680
|
-
for (const _ of [...m].filter((l) =>
|
|
2680
|
+
for (const _ of [...m].filter((l) => Ie.includes(l.tagName.toLowerCase())))
|
|
2681
2681
|
s.elMap[_.getAttribute("data-hid") || ht(await hi(_))] = _;
|
|
2682
2682
|
}
|
|
2683
2683
|
}
|
|
@@ -2713,7 +2713,7 @@ async function fi(n, t = {}) {
|
|
|
2713
2713
|
e.title = m.textContent;
|
|
2714
2714
|
continue;
|
|
2715
2715
|
}
|
|
2716
|
-
g.$el = g.$el || s.elMap[l], g.$el ? u(g) :
|
|
2716
|
+
g.$el = g.$el || s.elMap[l], g.$el ? u(g) : Ie.includes(m.tag) && p.push(g);
|
|
2717
2717
|
}
|
|
2718
2718
|
}
|
|
2719
2719
|
for (const g of p) {
|
|
@@ -2771,11 +2771,11 @@ const vi = ["templateParams", "htmlAttrs", "bodyAttrs"], yi = {
|
|
|
2771
2771
|
} else if (o._e === s._e) {
|
|
2772
2772
|
s._duped = s._duped || [], o._d = `${s._d}:${s._duped.length + 1}`, s._duped.push(o);
|
|
2773
2773
|
return;
|
|
2774
|
-
} else if (
|
|
2774
|
+
} else if (Pe(o) > Pe(s))
|
|
2775
2775
|
return;
|
|
2776
2776
|
}
|
|
2777
2777
|
const h = Object.keys(o.props).length + (o.innerHTML ? 1 : 0) + (o.textContent ? 1 : 0);
|
|
2778
|
-
if (
|
|
2778
|
+
if (Ie.includes(o.tag) && h === 0) {
|
|
2779
2779
|
delete t[d];
|
|
2780
2780
|
return;
|
|
2781
2781
|
}
|
|
@@ -2859,7 +2859,7 @@ const Ei = (n) => ({
|
|
|
2859
2859
|
);
|
|
2860
2860
|
typeof s < "u" && (d._p = s + o);
|
|
2861
2861
|
}
|
|
2862
|
-
n.tags.sort((e, o) => e._p - o._p).sort((e, o) =>
|
|
2862
|
+
n.tags.sort((e, o) => e._p - o._p).sort((e, o) => Pe(e) - Pe(o));
|
|
2863
2863
|
}
|
|
2864
2864
|
}
|
|
2865
2865
|
}, $i = {
|
|
@@ -2870,11 +2870,11 @@ const Ei = (n) => ({
|
|
|
2870
2870
|
hooks: {
|
|
2871
2871
|
"tags:resolve": (t) => {
|
|
2872
2872
|
const { tags: e } = t, o = e.find((u) => u.tag === "title")?.textContent, d = e.findIndex((u) => u.tag === "templateParams"), s = d !== -1 ? e[d].props : {}, h = s.separator || "|";
|
|
2873
|
-
delete s.separator, s.pageTitle =
|
|
2873
|
+
delete s.separator, s.pageTitle = Te(s.pageTitle || o || "", s, h);
|
|
2874
2874
|
for (const u of e.filter((p) => p.processTemplateParams !== !1)) {
|
|
2875
2875
|
const p = $i[u.tag];
|
|
2876
|
-
p && typeof u.props[p] == "string" ? u.props[p] =
|
|
2877
|
-
typeof u[a] == "string" && (u[a] =
|
|
2876
|
+
p && typeof u.props[p] == "string" ? u.props[p] = Te(u.props[p], s, h) : (u.processTemplateParams === !0 || ["titleTemplate", "title"].includes(u.tag)) && ["innerHTML", "textContent"].forEach((a) => {
|
|
2877
|
+
typeof u[a] == "string" && (u[a] = Te(u[a], s, h));
|
|
2878
2878
|
});
|
|
2879
2879
|
}
|
|
2880
2880
|
n._templateParams = s, n._separator = h, t.tags = e.filter((u) => u.tag !== "templateParams");
|
|
@@ -3004,13 +3004,13 @@ function Ai(n = {}) {
|
|
|
3004
3004
|
const t = /* @__PURE__ */ Si(n);
|
|
3005
3005
|
return t.use(Oi), t.install = wi(t), t;
|
|
3006
3006
|
}
|
|
3007
|
-
const Bi = po(), zi = Ai(), Mi = ho(),
|
|
3008
|
-
|
|
3009
|
-
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3007
|
+
const Bi = po(), zi = Ai(), Mi = ho(), le = fo({ components: { Hotel: Mn } });
|
|
3008
|
+
le.use(zi);
|
|
3009
|
+
le.use(Bi);
|
|
3010
|
+
le.use(Mi);
|
|
3011
|
+
le.use(Tt);
|
|
3012
|
+
le.use(bo);
|
|
3013
|
+
le.use(mo);
|
|
3014
|
+
le.use(Vo);
|
|
3015
|
+
le.use(_o, { bootstrap: !1 });
|
|
3016
|
+
le.mount("#konnectio-hotel-app");
|