@konnectio/core 4.0.30 → 4.0.32
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-6b24ed58.js → ActionField-9f5938c2.js} +2 -2
- package/dist/ActionField-9f5938c2.js.br +0 -0
- package/dist/{ActionField-6a7fe182.cjs → ActionField-fa3f32a1.cjs} +1 -1
- package/dist/{AvailabilitySkeleton-f2192dc6.cjs → AvailabilitySkeleton-538f3d7d.cjs} +1 -1
- package/dist/{AvailabilitySkeleton-7ec69b90.js → AvailabilitySkeleton-e51a47f6.js} +5 -5
- package/dist/AvailabilitySkeleton-e51a47f6.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-3a3692d1.js → DateField.vue_vue_type_style_index_0_lang-3ba5667d.js} +1 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-3ba5667d.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-96d1d3ea.cjs → DateField.vue_vue_type_style_index_0_lang-802f8908.cjs} +1 -1
- package/dist/{Field-a129d337.js → Field-03744870.js} +2 -2
- package/dist/Field-03744870.js.br +0 -0
- package/dist/{Field-c8804a60.cjs → Field-bdb32b2b.cjs} +1 -1
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-5ff1722d.js → NumberField.vue_vue_type_script_setup_true_lang-bd0f0c10.js} +1 -1
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-bd0f0c10.js.br +0 -0
- package/dist/{NumberField.vue_vue_type_script_setup_true_lang-d175c5f1.cjs → NumberField.vue_vue_type_script_setup_true_lang-f99ee22f.cjs} +1 -1
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-88cf98c9.cjs → SelectField.vue_vue_type_style_index_0_lang-16a9bece.cjs} +55 -55
- package/dist/{SelectField.vue_vue_type_style_index_0_lang-abafed2f.js → SelectField.vue_vue_type_style_index_0_lang-510dede6.js} +6242 -6242
- package/dist/SelectField.vue_vue_type_style_index_0_lang-510dede6.js.br +0 -0
- package/dist/{ThankYou-d644a014.js → ThankYou-78ef3e07.js} +4 -4
- package/dist/ThankYou-78ef3e07.js.br +0 -0
- package/dist/{ThankYou-af2a1b13.cjs → ThankYou-f478d01b.cjs} +1 -1
- package/dist/{_-c044a71c.js → _-2690d08c.js} +1 -1
- package/dist/{_-68bd35c5.cjs → _-44b2ad95.cjs} +1 -1
- package/dist/availability.cjs +1 -1
- package/dist/availability.js +7 -7
- package/dist/availability.js.br +0 -0
- package/dist/components/listings/Hotel.vue.d.ts +1 -1
- package/dist/{event-37706e7b.cjs → event-42d3e1bb.cjs} +1 -1
- package/dist/{event-6f45c906.js → event-b4200924.js} +7 -7
- package/dist/event-b4200924.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 +2 -2
- package/dist/hotel.js +107 -107
- package/dist/hotel.js.br +0 -0
- package/dist/{index-a5dc6e49.js → index-2e44eb22.js} +1 -1
- package/dist/index-2e44eb22.js.br +0 -0
- package/dist/{index-27d2c768.cjs → index-5d6a654f.cjs} +1 -1
- package/dist/polyfill.cjs +1 -1
- package/dist/polyfill.js +1 -1
- package/dist/polyfill.js.br +0 -0
- package/dist/store/hotel.d.ts +24 -15
- package/dist/store/utilities.d.ts +3 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -2
- package/dist/ActionField-6b24ed58.js.br +0 -0
- package/dist/AvailabilitySkeleton-7ec69b90.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-3a3692d1.js.br +0 -0
- package/dist/Field-a129d337.js.br +0 -0
- package/dist/NumberField.vue_vue_type_script_setup_true_lang-5ff1722d.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang-abafed2f.js.br +0 -0
- package/dist/ThankYou-d644a014.js.br +0 -0
- package/dist/event-6f45c906.js.br +0 -0
- package/dist/index-a5dc6e49.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { k as Q, D as de, aE as ho, s as ee, c as Ee, ab as yt, ac as me, m as x, n as
|
|
2
|
-
import { R as So, S as Co, F as Vo, _ as Po, B as Bo, a as Do, M as Lo, T as wo, x as Oo } from "./ThankYou-
|
|
3
|
-
import { A as Ho, H as Ao } from "./AvailabilitySkeleton-
|
|
4
|
-
import { _ as Et } from "./NumberField.vue_vue_type_script_setup_true_lang-
|
|
5
|
-
import { _ as zo } from "./DateField.vue_vue_type_style_index_0_lang-
|
|
6
|
-
import { C as Ue, P as
|
|
7
|
-
import { E as X } from "./_-
|
|
1
|
+
import { k as Q, D as de, aE as ho, s as ee, c as Ee, ab as yt, ac as me, m as x, n as R, W as vt, q as a, w, aa as Ve, A as v, F as V, K as se, Y as Ze, aF as fo, v as I, a3 as W, a2 as M, x as D, aG as ve, a5 as We, p as T, H as Z, J as ue, f as j, B as Te, P as _t, Q as bt, _ as te, r as ae, o as $e, ag as et, ah as Pe, aH as kt, aC as mo, a1 as ke, y as xe, I as xt, l as tt, T as re, aA as go, b as yo, N as vo, C as fe, a6 as _o, L as ot, G as q, M as bo, an as It, aI as ko, U as xo, a8 as Io, R as Eo, V as To, a9 as $o } from "./SelectField.vue_vue_type_style_index_0_lang-510dede6.js";
|
|
2
|
+
import { R as So, S as Co, F as Vo, _ as Po, B as Bo, a as Do, M as Lo, T as wo, x as Oo } from "./ThankYou-78ef3e07.js";
|
|
3
|
+
import { A as Ho, H as Ao } from "./AvailabilitySkeleton-e51a47f6.js";
|
|
4
|
+
import { _ as Et } from "./NumberField.vue_vue_type_script_setup_true_lang-bd0f0c10.js";
|
|
5
|
+
import { _ as zo } from "./DateField.vue_vue_type_style_index_0_lang-3ba5667d.js";
|
|
6
|
+
import { C as Ue, P as Ro, a as Mo, S as No } from "./index-2e44eb22.js";
|
|
7
|
+
import { E as X } from "./_-2690d08c.js";
|
|
8
8
|
import { c as Tt, a as $t } from "./_commonjsHelpers-aeeeeb92.js";
|
|
9
|
-
import "./ActionField-
|
|
10
|
-
import "./Field-
|
|
9
|
+
import "./ActionField-9f5938c2.js";
|
|
10
|
+
import "./Field-03744870.js";
|
|
11
11
|
const Wo = { key: 0 }, Be = /* @__PURE__ */ Q({
|
|
12
12
|
__name: "HotelReservationForm",
|
|
13
13
|
props: {
|
|
@@ -36,7 +36,7 @@ const Wo = { key: 0 }, Be = /* @__PURE__ */ Q({
|
|
|
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(), R(So, {
|
|
40
40
|
"total-price": a(b),
|
|
41
41
|
"show-gift-card": y.showGiftCard,
|
|
42
42
|
"show-terms-notice": y.showTermsNotice,
|
|
@@ -61,7 +61,7 @@ const Wo = { key: 0 }, Be = /* @__PURE__ */ Q({
|
|
|
61
61
|
])
|
|
62
62
|
]),
|
|
63
63
|
"price-summary": w(() => [
|
|
64
|
-
isNaN(a(_)) && a(s).length > 0 ? (x(!0), I(
|
|
64
|
+
isNaN(a(_)) && a(s).length > 0 ? (x(!0), I(M, { key: 0 }, W(a(s), ({
|
|
65
65
|
roomGroupID: S,
|
|
66
66
|
title: L,
|
|
67
67
|
variants: H
|
|
@@ -69,9 +69,9 @@ 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(
|
|
72
|
+
(x(!0), I(M, null, W(H, (C, B) => (x(), I("div", { key: B }, [
|
|
73
73
|
D("", !0),
|
|
74
|
-
(x(!0), I(
|
|
74
|
+
(x(!0), I(M, null, W(C.rooms, (O, U) => (x(), I("ul", { key: U }, [
|
|
75
75
|
v("li", null, [
|
|
76
76
|
v("span", null, [
|
|
77
77
|
v("span", null, V(a(ve)(C.name)), 1),
|
|
@@ -83,7 +83,7 @@ const Wo = { key: 0 }, Be = /* @__PURE__ */ Q({
|
|
|
83
83
|
color: "font"
|
|
84
84
|
}),
|
|
85
85
|
v("span", null, V(O.adultsCount), 1),
|
|
86
|
-
O.childrenCount > 0 ? (x(), I(
|
|
86
|
+
O.childrenCount > 0 ? (x(), I(M, { key: 0 }, [
|
|
87
87
|
T(Z, {
|
|
88
88
|
icon: "child",
|
|
89
89
|
type: "fas",
|
|
@@ -140,7 +140,7 @@ const Wo = { key: 0 }, Be = /* @__PURE__ */ Q({
|
|
|
140
140
|
get: () => r.modelValue,
|
|
141
141
|
set: (h) => p(h)
|
|
142
142
|
});
|
|
143
|
-
return (h, c) => (x(),
|
|
143
|
+
return (h, c) => (x(), R(Te, {
|
|
144
144
|
modelValue: l.value,
|
|
145
145
|
"onUpdate:modelValue": c[0] || (c[0] = (m) => l.value = m),
|
|
146
146
|
label: h.label,
|
|
@@ -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(), R(a(Vo), {
|
|
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(
|
|
230
|
+
(x(!0), I(M, null, W(o.gallery, ({ medium: r, large: p }, l) => (x(), I("div", {
|
|
231
231
|
key: l,
|
|
232
232
|
class: "booking-availability-listing-featured-img"
|
|
233
233
|
}, [
|
|
@@ -259,7 +259,7 @@ const nt = /* @__PURE__ */ te(Ko, [["__scopeId", "data-v-c84b41ba"]]), Jo = ["sr
|
|
|
259
259
|
setup(n) {
|
|
260
260
|
return (e, t) => {
|
|
261
261
|
const o = et("masonry-tile"), u = et("masonry");
|
|
262
|
-
return x(),
|
|
262
|
+
return x(), R(Po, {
|
|
263
263
|
title: e.title,
|
|
264
264
|
description: e.description
|
|
265
265
|
}, vt({
|
|
@@ -269,7 +269,7 @@ const nt = /* @__PURE__ */ te(Ko, [["__scopeId", "data-v-c84b41ba"]]), Jo = ["sr
|
|
|
269
269
|
Pe(v("div", tn, null, 512), [
|
|
270
270
|
[o]
|
|
271
271
|
]),
|
|
272
|
-
(x(!0), I(
|
|
272
|
+
(x(!0), I(M, null, W(e.facilities, ({ name: r, subFacilities: p }, l) => Pe((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(
|
|
280
|
+
(x(!0), I(M, null, W(p, ({ name: h }, c) => (x(), I("li", { key: c }, V(h), 1))), 128))
|
|
281
281
|
])
|
|
282
282
|
])), [
|
|
283
283
|
[o]
|
|
@@ -369,23 +369,23 @@ const un = /* @__PURE__ */ Q({
|
|
|
369
369
|
});
|
|
370
370
|
const H = j(() => JSON.parse(JSON.stringify(o.value)));
|
|
371
371
|
return ke(H, (C, B) => {
|
|
372
|
-
B.length > 0 && C.forEach((O,
|
|
373
|
-
O.config.forEach((
|
|
374
|
-
const ne =
|
|
375
|
-
ne !== K && (ne > K ? (o.value[
|
|
372
|
+
B.length > 0 && C.forEach((O, U) => {
|
|
373
|
+
O.config.forEach((F, A) => {
|
|
374
|
+
const ne = F.units, K = B[U].config[A].units;
|
|
375
|
+
ne !== K && (ne > K ? (o.value[U].config[A].addons.push({}), g({
|
|
376
376
|
id: t.room.id,
|
|
377
377
|
name: t.room.title,
|
|
378
|
-
value:
|
|
379
|
-
})) : (o.value[
|
|
378
|
+
value: t.room.rates[U].rackRate
|
|
379
|
+
})) : (o.value[U].config[A].addons.pop(), k({
|
|
380
380
|
id: t.room.id,
|
|
381
381
|
name: t.room.title,
|
|
382
|
-
value:
|
|
382
|
+
value: t.room.rates[U].rackRate
|
|
383
383
|
})));
|
|
384
384
|
});
|
|
385
385
|
});
|
|
386
386
|
}, { deep: !0 }), ke(o, () => {
|
|
387
387
|
c.value[t.room.id] = o.value;
|
|
388
|
-
}, { deep: !0 }), (C, B) => (x(),
|
|
388
|
+
}, { deep: !0 }), (C, B) => (x(), R(Bo, {
|
|
389
389
|
"listing-id": C.room.id,
|
|
390
390
|
gallery: C.room.images,
|
|
391
391
|
name: C.room.title,
|
|
@@ -398,44 +398,44 @@ const un = /* @__PURE__ */ Q({
|
|
|
398
398
|
}, {
|
|
399
399
|
action: w(() => [
|
|
400
400
|
v("div", rn, [
|
|
401
|
-
(x(!0), I(
|
|
401
|
+
(x(!0), I(M, null, W(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(), R(Te, {
|
|
406
406
|
key: 0,
|
|
407
407
|
modelValue: O.id,
|
|
408
|
-
"onUpdate:modelValue": (
|
|
408
|
+
"onUpdate:modelValue": (F) => O.id = F,
|
|
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(
|
|
416
|
-
id:
|
|
417
|
-
}) => (x(), I("div", { key:
|
|
418
|
-
O.id ===
|
|
415
|
+
(x(!0), I(M, null, W(C.room.rates, ({
|
|
416
|
+
id: F
|
|
417
|
+
}) => (x(), I("div", { key: F }, [
|
|
418
|
+
O.id === F ? (x(!0), I(M, { key: 0 }, W(O.config, (A, ne) => (x(), I("div", {
|
|
419
419
|
key: ne,
|
|
420
420
|
class: "booking-availability-listing-action-selective"
|
|
421
421
|
}, [
|
|
422
422
|
v("ul", an, [
|
|
423
|
-
i(
|
|
423
|
+
i(F).length > 1 ? (x(), R(nt, {
|
|
424
424
|
key: 0,
|
|
425
425
|
modelValue: A.id,
|
|
426
426
|
"onUpdate:modelValue": (K) => A.id = K,
|
|
427
427
|
icon: "male",
|
|
428
428
|
"icon-type": "fas",
|
|
429
429
|
label: a(e)("general.guests"),
|
|
430
|
-
options: i(
|
|
431
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "options"])) : (x(),
|
|
430
|
+
options: i(F)
|
|
431
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "options"])) : (x(), R(nt, {
|
|
432
432
|
key: 1,
|
|
433
433
|
modelValue: A.id,
|
|
434
434
|
"onUpdate:modelValue": (K) => A.id = K,
|
|
435
435
|
icon: "male",
|
|
436
436
|
"icon-type": "fas",
|
|
437
437
|
label: a(e)("general.guests"),
|
|
438
|
-
options: i(
|
|
438
|
+
options: i(F),
|
|
439
439
|
readonly: ""
|
|
440
440
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "options"]))
|
|
441
441
|
]),
|
|
@@ -449,7 +449,7 @@ const un = /* @__PURE__ */ Q({
|
|
|
449
449
|
"icon-placement": "label",
|
|
450
450
|
label: a(e)("booking.availability.units"),
|
|
451
451
|
minValue: 0,
|
|
452
|
-
"max-value": f(
|
|
452
|
+
"max-value": f(F, A.id) || 1 / 0
|
|
453
453
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "description", "label", "max-value"])
|
|
454
454
|
]),
|
|
455
455
|
D("", !0)
|
|
@@ -463,7 +463,7 @@ const un = /* @__PURE__ */ Q({
|
|
|
463
463
|
}, 8, ["listing-id", "gallery", "name", "description", "layout", "facilities", "prices-from", "includes-breakfast"]));
|
|
464
464
|
}
|
|
465
465
|
});
|
|
466
|
-
const dn = /* @__PURE__ */ te(un, [["__scopeId", "data-v-
|
|
466
|
+
const dn = /* @__PURE__ */ te(un, [["__scopeId", "data-v-361fd5d9"]]), it = /* @__PURE__ */ Q({
|
|
467
467
|
__name: "TimeField",
|
|
468
468
|
props: {
|
|
469
469
|
modelValue: {},
|
|
@@ -495,7 +495,7 @@ const dn = /* @__PURE__ */ te(un, [["__scopeId", "data-v-65a22e18"]]), it = /* @
|
|
|
495
495
|
const r = ae(o.modelValue);
|
|
496
496
|
return ke(r, (p) => {
|
|
497
497
|
u(p);
|
|
498
|
-
}), (p, l) => (x(),
|
|
498
|
+
}), (p, l) => (x(), R(zo, {
|
|
499
499
|
modelValue: r.value,
|
|
500
500
|
"onUpdate:modelValue": l[0] || (l[0] = (h) => r.value = h),
|
|
501
501
|
type: "time",
|
|
@@ -531,7 +531,7 @@ const cn = { style: { display: "flex", "align-items": "baseline" } }, pn = /* @_
|
|
|
531
531
|
get: () => u.modelValue,
|
|
532
532
|
set: (l) => r(l)
|
|
533
533
|
});
|
|
534
|
-
return (l, h) => (x(),
|
|
534
|
+
return (l, h) => (x(), R(Te, {
|
|
535
535
|
modelValue: p.value,
|
|
536
536
|
"onUpdate:modelValue": h[0] || (h[0] = (c) => p.value = c),
|
|
537
537
|
label: l.label,
|
|
@@ -577,13 +577,13 @@ const hn = /* @__PURE__ */ te(pn, [["__scopeId", "data-v-1462612d"]]), fn = { cl
|
|
|
577
577
|
get: () => o.modelValue,
|
|
578
578
|
set: (p) => u(p)
|
|
579
579
|
});
|
|
580
|
-
return (p, l) => (x(),
|
|
580
|
+
return (p, l) => (x(), R(xt, {
|
|
581
581
|
label: p.label,
|
|
582
582
|
type: "multi-radio"
|
|
583
583
|
}, {
|
|
584
584
|
default: w(() => [
|
|
585
585
|
v("ul", fn, [
|
|
586
|
-
(x(!0), I(
|
|
586
|
+
(x(!0), I(M, null, W(p.checkboxes, ({ label: h, value: c }, m) => (x(), I("li", { key: m }, [
|
|
587
587
|
T(Ue, {
|
|
588
588
|
modelValue: r.value,
|
|
589
589
|
"onUpdate:modelValue": l[0] || (l[0] = (g) => r.value = g),
|
|
@@ -631,7 +631,7 @@ const gn = /* @__PURE__ */ te(mn, [["__scopeId", "data-v-fc900ad2"]]), yn = /* @
|
|
|
631
631
|
const { t: h } = de();
|
|
632
632
|
return $e(() => {
|
|
633
633
|
t.modelValue && (r.value = t.modelValue), t.title && (p.value = t.title);
|
|
634
|
-
}), (c, m) => (x(),
|
|
634
|
+
}), (c, m) => (x(), R(xt, {
|
|
635
635
|
label: c.label,
|
|
636
636
|
id: a(u),
|
|
637
637
|
required: c.required,
|
|
@@ -646,7 +646,7 @@ const gn = /* @__PURE__ */ te(mn, [["__scopeId", "data-v-fc900ad2"]]), yn = /* @
|
|
|
646
646
|
{ "no-title": c.excludeTitle }
|
|
647
647
|
])
|
|
648
648
|
}, [
|
|
649
|
-
c.excludeTitle ? D("", !0) : (x(),
|
|
649
|
+
c.excludeTitle ? D("", !0) : (x(), R(Te, {
|
|
650
650
|
key: 0,
|
|
651
651
|
modelValue: p.value,
|
|
652
652
|
"onUpdate:modelValue": m[0] || (m[0] = (g) => p.value = g),
|
|
@@ -714,7 +714,7 @@ const vn = /* @__PURE__ */ te(yn, [["__scopeId", "data-v-78b0b319"]]), _n = { cl
|
|
|
714
714
|
height: "153px"
|
|
715
715
|
}),
|
|
716
716
|
v("div", kn, [
|
|
717
|
-
(x(), I(
|
|
717
|
+
(x(), I(M, null, W(3, (o) => T(X, {
|
|
718
718
|
key: o,
|
|
719
719
|
width: "84px",
|
|
720
720
|
height: "44px"
|
|
@@ -750,7 +750,7 @@ const vn = /* @__PURE__ */ te(yn, [["__scopeId", "data-v-78b0b319"]]), _n = { cl
|
|
|
750
750
|
})
|
|
751
751
|
]),
|
|
752
752
|
v("div", $n, [
|
|
753
|
-
(x(), I(
|
|
753
|
+
(x(), I(M, null, W(5, (o) => T(X, {
|
|
754
754
|
key: o,
|
|
755
755
|
height: "25px",
|
|
756
756
|
width: "25px",
|
|
@@ -777,12 +777,12 @@ const le = /* @__PURE__ */ te(Sn, [["__scopeId", "data-v-5c132d7f"]]), Cn = { cl
|
|
|
777
777
|
]));
|
|
778
778
|
}
|
|
779
779
|
});
|
|
780
|
-
const Dn = /* @__PURE__ */ te(Bn, [["__scopeId", "data-v-4e50a5a1"]]), Ge = (n) => (_t("data-v-
|
|
780
|
+
const Dn = /* @__PURE__ */ te(Bn, [["__scopeId", "data-v-4e50a5a1"]]), Ge = (n) => (_t("data-v-feb89526"), n = n(), bt(), n), Ln = { id: "booking-availability-container" }, wn = { id: "booking-availability-controls" };
|
|
781
781
|
const On = {
|
|
782
782
|
key: 1,
|
|
783
783
|
"sticky-container": ""
|
|
784
784
|
}, Hn = { key: 0 };
|
|
785
|
-
const An = { key: 1 }, zn = { key: 0 },
|
|
785
|
+
const An = { key: 1 }, zn = { key: 0 }, Rn = { key: 0 }, Mn = { id: "booking-availability-listings" }, Nn = {
|
|
786
786
|
key: 1,
|
|
787
787
|
id: "booking-availability-no-listings"
|
|
788
788
|
}, Wn = {
|
|
@@ -834,9 +834,9 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
834
834
|
newsMails: C,
|
|
835
835
|
roomSelect: B,
|
|
836
836
|
roomDisplay: O,
|
|
837
|
-
hasValidRoomSelection:
|
|
837
|
+
hasValidRoomSelection: U,
|
|
838
838
|
//canStartReservation,
|
|
839
|
-
getSelectedPackageRoom:
|
|
839
|
+
getSelectedPackageRoom: F,
|
|
840
840
|
availabilityData: A,
|
|
841
841
|
selectionHasNoAddons: ne
|
|
842
842
|
} = ee(me()), {
|
|
@@ -848,8 +848,8 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
848
848
|
disableNewsletterSignup: Ht,
|
|
849
849
|
arrivalEarliest: At,
|
|
850
850
|
arrivalLatest: zt,
|
|
851
|
-
departureEarliest:
|
|
852
|
-
departureLatest:
|
|
851
|
+
departureEarliest: Rt,
|
|
852
|
+
departureLatest: Mt,
|
|
853
853
|
enableTracking: Nt,
|
|
854
854
|
arrivalDefault: Wt,
|
|
855
855
|
departureDefault: Ut,
|
|
@@ -883,8 +883,8 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
883
883
|
parseInt(At.value.split(":")[0]),
|
|
884
884
|
parseInt(zt.value.split(":")[0])
|
|
885
885
|
]]), to = j(() => [[
|
|
886
|
-
parseInt(
|
|
887
|
-
parseInt(
|
|
886
|
+
parseInt(Rt.value.split(":")[0]),
|
|
887
|
+
parseInt(Mt.value.split(":")[0])
|
|
888
888
|
]]);
|
|
889
889
|
function cr(N) {
|
|
890
890
|
t.value = N;
|
|
@@ -909,7 +909,7 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
909
909
|
}
|
|
910
910
|
return $e(() => {
|
|
911
911
|
Kt(), so();
|
|
912
|
-
}), (N, P) => (x(),
|
|
912
|
+
}), (N, P) => (x(), R(vo, null, {
|
|
913
913
|
default: w(() => [
|
|
914
914
|
T(bo, {
|
|
915
915
|
id: "fresh-booking-hotel-module",
|
|
@@ -939,7 +939,7 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
939
939
|
(a(A).templates.length > 0, D("", !0)),
|
|
940
940
|
isNaN(a(t)) ? (x(), I("div", An, [
|
|
941
941
|
a(A).roomGroups.length > 0 ? (x(), I("div", zn, [
|
|
942
|
-
a(A).templates.length > 0 ? (x(), I("h2",
|
|
942
|
+
a(A).templates.length > 0 ? (x(), I("h2", Rn, [
|
|
943
943
|
T(Z, {
|
|
944
944
|
icon: "house",
|
|
945
945
|
type: "fal",
|
|
@@ -947,8 +947,8 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
947
947
|
}),
|
|
948
948
|
v("span", null, V(a(e)("booking.availability.roomsTitle")), 1)
|
|
949
949
|
])) : D("", !0),
|
|
950
|
-
v("ul",
|
|
951
|
-
(x(!0), I(
|
|
950
|
+
v("ul", Mn, [
|
|
951
|
+
(x(!0), I(M, null, W(Zt.value, (z, $) => (x(), R(dn, {
|
|
952
952
|
room: z,
|
|
953
953
|
key: $
|
|
954
954
|
}, null, 8, ["room"]))), 128))
|
|
@@ -969,7 +969,7 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
969
969
|
v("span", null, V(a(e)("booking.availability.nextAvailableDates")), 1)
|
|
970
970
|
]),
|
|
971
971
|
v("ul", Fn, [
|
|
972
|
-
(x(!0), I(
|
|
972
|
+
(x(!0), I(M, null, W(a(A).nextAvailableDates, (z, $) => (x(), I("li", { key: $ }, [
|
|
973
973
|
v("h3", {
|
|
974
974
|
title: `${a(se)(z.fromDate)} - ${a(se)(z.toDate)}`
|
|
975
975
|
}, [
|
|
@@ -998,14 +998,14 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
998
998
|
])
|
|
999
999
|
]),
|
|
1000
1000
|
navigation: w(() => [
|
|
1001
|
-
isNaN(a(t)) ? (x(),
|
|
1001
|
+
isNaN(a(t)) ? (x(), R(fe, {
|
|
1002
1002
|
key: 0,
|
|
1003
1003
|
label: a(ne) ? a(e)("booking.availability.nextButton") : a(e)("general.chooseAddons"),
|
|
1004
|
-
disabled: !a(
|
|
1004
|
+
disabled: !a(U),
|
|
1005
1005
|
"is-loading": !1,
|
|
1006
1006
|
"full-width": "",
|
|
1007
1007
|
onClickEvent: (z) => ro(J)
|
|
1008
|
-
}, null, 8, ["label", "disabled", "onClickEvent"])) : (x(),
|
|
1008
|
+
}, null, 8, ["label", "disabled", "onClickEvent"])) : (x(), R(fe, {
|
|
1009
1009
|
key: 1,
|
|
1010
1010
|
label: a(e)("booking.reservation.prevButton"),
|
|
1011
1011
|
"full-width": "",
|
|
@@ -1024,16 +1024,16 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1024
1024
|
]),
|
|
1025
1025
|
v("div", null, [
|
|
1026
1026
|
isNaN(a(t)) ? (x(), I("div", Yn, [
|
|
1027
|
-
(x(!0), I(
|
|
1027
|
+
(x(!0), I(M, null, W(a(O), ($) => (x(), I("ul", {
|
|
1028
1028
|
key: $.roomGroupID
|
|
1029
1029
|
}, [
|
|
1030
|
-
(x(!0), I(
|
|
1030
|
+
(x(!0), I(M, null, W($.variants, (ce, pe) => (x(), I("li", {
|
|
1031
1031
|
key: ce.ratePlanID
|
|
1032
1032
|
}, [
|
|
1033
1033
|
v("h4", null, [
|
|
1034
1034
|
v("span", null, V(a(ve)($.title)), 1)
|
|
1035
1035
|
]),
|
|
1036
|
-
(x(!0), I(
|
|
1036
|
+
(x(!0), I(M, null, W(ce.rooms, (G, Xe) => (x(), I("table", {
|
|
1037
1037
|
key: Xe,
|
|
1038
1038
|
class: "fresh-booking-table"
|
|
1039
1039
|
}, [
|
|
@@ -1051,7 +1051,7 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1051
1051
|
color: "font"
|
|
1052
1052
|
}),
|
|
1053
1053
|
v("span", null, V(G.adultsCount), 1),
|
|
1054
|
-
G.childrenCount > 0 ? (x(),
|
|
1054
|
+
G.childrenCount > 0 ? (x(), R(Z, {
|
|
1055
1055
|
key: 0,
|
|
1056
1056
|
icon: "child",
|
|
1057
1057
|
type: "fas",
|
|
@@ -1063,7 +1063,7 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1063
1063
|
])
|
|
1064
1064
|
]),
|
|
1065
1065
|
v("tbody", null, [
|
|
1066
|
-
(x(!0), I(
|
|
1066
|
+
(x(!0), I(M, null, W($.addons, ({
|
|
1067
1067
|
cardinality: ao,
|
|
1068
1068
|
quantityStrategy: lo,
|
|
1069
1069
|
maximumNumber: uo,
|
|
@@ -1077,14 +1077,14 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1077
1077
|
v("span", null, V(a(ue)(po, a(Ke))) + " " + V(a(_o)(lo)), 1)
|
|
1078
1078
|
]),
|
|
1079
1079
|
v("td", null, [
|
|
1080
|
-
ao === 3 ? (x(),
|
|
1080
|
+
ao === 3 ? (x(), R(Et, {
|
|
1081
1081
|
key: 0,
|
|
1082
1082
|
modelValue: a(B)[$.roomGroupID][pe].config[G.configIdx].addons[G.roomIdx][he],
|
|
1083
1083
|
"onUpdate:modelValue": (Y) => a(B)[$.roomGroupID][pe].config[G.configIdx].addons[G.roomIdx][he] = Y,
|
|
1084
1084
|
small: !0,
|
|
1085
1085
|
"min-value": 0,
|
|
1086
1086
|
"max-value": uo || 1 / 0
|
|
1087
|
-
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (x(),
|
|
1087
|
+
}, null, 8, ["modelValue", "onUpdate:modelValue", "max-value"])) : (x(), R(Ue, {
|
|
1088
1088
|
key: 1,
|
|
1089
1089
|
modelValue: a(B)[$.roomGroupID][pe].config[G.configIdx].addons[G.roomIdx][he],
|
|
1090
1090
|
"onUpdate:modelValue": (Y) => a(B)[$.roomGroupID][pe].config[G.configIdx].addons[G.roomIdx][he] = Y
|
|
@@ -1134,7 +1134,7 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1134
1134
|
a(Se) ? D("", !0) : (x(), I("li", oi, [
|
|
1135
1135
|
T(it, {
|
|
1136
1136
|
modelValue: a(g),
|
|
1137
|
-
"onUpdate:modelValue": P[2] || (P[2] = ($) =>
|
|
1137
|
+
"onUpdate:modelValue": P[2] || (P[2] = ($) => q(g) ? g.value = $ : null),
|
|
1138
1138
|
label: a(e)("booking.reservation.arrivalTime"),
|
|
1139
1139
|
icon: "hourglass-start",
|
|
1140
1140
|
"hour-range": eo.value,
|
|
@@ -1144,7 +1144,7 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1144
1144
|
a(Ce) ? D("", !0) : (x(), I("li", ni, [
|
|
1145
1145
|
T(it, {
|
|
1146
1146
|
modelValue: a(k),
|
|
1147
|
-
"onUpdate:modelValue": P[3] || (P[3] = ($) =>
|
|
1147
|
+
"onUpdate:modelValue": P[3] || (P[3] = ($) => q(k) ? k.value = $ : null),
|
|
1148
1148
|
label: a(e)("booking.reservation.departureTime"),
|
|
1149
1149
|
icon: "hourglass-end",
|
|
1150
1150
|
"hour-range": to.value,
|
|
@@ -1154,9 +1154,9 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1154
1154
|
], 2)) : D("", !0),
|
|
1155
1155
|
T(vn, {
|
|
1156
1156
|
modelValue: a(s),
|
|
1157
|
-
"onUpdate:modelValue": P[4] || (P[4] = ($) =>
|
|
1157
|
+
"onUpdate:modelValue": P[4] || (P[4] = ($) => q(s) ? s.value = $ : null),
|
|
1158
1158
|
title: a(_),
|
|
1159
|
-
"onUpdate:title": P[5] || (P[5] = ($) =>
|
|
1159
|
+
"onUpdate:title": P[5] || (P[5] = ($) => q(_) ? _.value = $ : null),
|
|
1160
1160
|
"exclude-title": a(qt),
|
|
1161
1161
|
label: a(e)("booking.reservation.name"),
|
|
1162
1162
|
icon: "user-alt",
|
|
@@ -1165,7 +1165,7 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1165
1165
|
}, null, 8, ["modelValue", "title", "exclude-title", "label", "placeholder"]),
|
|
1166
1166
|
T(re, {
|
|
1167
1167
|
modelValue: a(b),
|
|
1168
|
-
"onUpdate:modelValue": P[6] || (P[6] = ($) =>
|
|
1168
|
+
"onUpdate:modelValue": P[6] || (P[6] = ($) => q(b) ? b.value = $ : null),
|
|
1169
1169
|
type: "email",
|
|
1170
1170
|
name: "email",
|
|
1171
1171
|
autocomplete: "email",
|
|
@@ -1174,18 +1174,18 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1174
1174
|
placeholder: a(e)("booking.reservation.emailPlaceholder"),
|
|
1175
1175
|
required: ""
|
|
1176
1176
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1177
|
-
a(Ht) ? D("", !0) : (x(),
|
|
1177
|
+
a(Ht) ? D("", !0) : (x(), R(Ue, {
|
|
1178
1178
|
key: 1,
|
|
1179
1179
|
modelValue: a(C),
|
|
1180
|
-
"onUpdate:modelValue": P[7] || (P[7] = ($) =>
|
|
1180
|
+
"onUpdate:modelValue": P[7] || (P[7] = ($) => q(C) ? C.value = $ : null),
|
|
1181
1181
|
type: "checkbox",
|
|
1182
1182
|
name: "newsletter",
|
|
1183
1183
|
label: a(e)("booking.reservation.newsletterSignUp")
|
|
1184
1184
|
}, null, 8, ["modelValue", "label"])),
|
|
1185
|
-
a(jt) ? D("", !0) : (x(),
|
|
1185
|
+
a(jt) ? D("", !0) : (x(), R(re, {
|
|
1186
1186
|
key: 2,
|
|
1187
1187
|
modelValue: a(i),
|
|
1188
|
-
"onUpdate:modelValue": P[8] || (P[8] = ($) =>
|
|
1188
|
+
"onUpdate:modelValue": P[8] || (P[8] = ($) => q(i) ? i.value = $ : null),
|
|
1189
1189
|
type: "text",
|
|
1190
1190
|
name: "firm",
|
|
1191
1191
|
autocomplete: "firm",
|
|
@@ -1193,9 +1193,9 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1193
1193
|
icon: "id-card",
|
|
1194
1194
|
placeholder: a(e)("booking.reservation.companyNamePlaceholder")
|
|
1195
1195
|
}, null, 8, ["modelValue", "label", "placeholder"])),
|
|
1196
|
-
T(
|
|
1196
|
+
T(Ro, {
|
|
1197
1197
|
modelValue: a(f),
|
|
1198
|
-
"onUpdate:modelValue": P[9] || (P[9] = ($) =>
|
|
1198
|
+
"onUpdate:modelValue": P[9] || (P[9] = ($) => q(f) ? f.value = $ : null),
|
|
1199
1199
|
icon: "phone-office",
|
|
1200
1200
|
label: a(e)("booking.reservation.phone"),
|
|
1201
1201
|
placeholder: a(e)("booking.reservation.phonePlaceholder"),
|
|
@@ -1203,7 +1203,7 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1203
1203
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1204
1204
|
T(hn, {
|
|
1205
1205
|
modelValue: a(S),
|
|
1206
|
-
"onUpdate:modelValue": P[10] || (P[10] = ($) =>
|
|
1206
|
+
"onUpdate:modelValue": P[10] || (P[10] = ($) => q(S) ? S.value = $ : null),
|
|
1207
1207
|
label: a(e)("booking.reservation.country"),
|
|
1208
1208
|
placeholder: a(e)("booking.reservation.countryPlaceholder"),
|
|
1209
1209
|
options: a(u),
|
|
@@ -1211,7 +1211,7 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1211
1211
|
}, null, 8, ["modelValue", "label", "placeholder", "options"]),
|
|
1212
1212
|
T(re, {
|
|
1213
1213
|
modelValue: a(E),
|
|
1214
|
-
"onUpdate:modelValue": P[11] || (P[11] = ($) =>
|
|
1214
|
+
"onUpdate:modelValue": P[11] || (P[11] = ($) => q(E) ? E.value = $ : null),
|
|
1215
1215
|
type: "textarea",
|
|
1216
1216
|
name: "address",
|
|
1217
1217
|
autocomplete: "street-address",
|
|
@@ -1224,7 +1224,7 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1224
1224
|
v("li", null, [
|
|
1225
1225
|
T(re, {
|
|
1226
1226
|
modelValue: a(d),
|
|
1227
|
-
"onUpdate:modelValue": P[12] || (P[12] = ($) =>
|
|
1227
|
+
"onUpdate:modelValue": P[12] || (P[12] = ($) => q(d) ? d.value = $ : null),
|
|
1228
1228
|
type: "text",
|
|
1229
1229
|
name: "postal",
|
|
1230
1230
|
autocomplete: "postal-code",
|
|
@@ -1237,7 +1237,7 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1237
1237
|
v("li", null, [
|
|
1238
1238
|
T(re, {
|
|
1239
1239
|
modelValue: a(y),
|
|
1240
|
-
"onUpdate:modelValue": P[13] || (P[13] = ($) =>
|
|
1240
|
+
"onUpdate:modelValue": P[13] || (P[13] = ($) => q(y) ? y.value = $ : null),
|
|
1241
1241
|
type: "text",
|
|
1242
1242
|
name: "city",
|
|
1243
1243
|
autocomplete: "address-level2",
|
|
@@ -1250,7 +1250,7 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1250
1250
|
]),
|
|
1251
1251
|
T(re, {
|
|
1252
1252
|
modelValue: a(L),
|
|
1253
|
-
"onUpdate:modelValue": P[14] || (P[14] = ($) =>
|
|
1253
|
+
"onUpdate:modelValue": P[14] || (P[14] = ($) => q(L) ? L.value = $ : null),
|
|
1254
1254
|
type: "textarea",
|
|
1255
1255
|
label: `${a(e)("booking.reservation.remark")} (${a(e)("booking.reservation.optional")})`,
|
|
1256
1256
|
icon: "info-circle",
|
|
@@ -1258,16 +1258,16 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1258
1258
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1259
1259
|
T(re, {
|
|
1260
1260
|
modelValue: a(H),
|
|
1261
|
-
"onUpdate:modelValue": P[15] || (P[15] = ($) =>
|
|
1261
|
+
"onUpdate:modelValue": P[15] || (P[15] = ($) => q(H) ? H.value = $ : null),
|
|
1262
1262
|
type: "textarea",
|
|
1263
1263
|
label: `${a(e)("booking.reservation.allergies")} (${a(e)("booking.reservation.optional")})`,
|
|
1264
1264
|
icon: "allergies",
|
|
1265
1265
|
placeholder: a(e)("booking.reservation.allergiesPlaceholder")
|
|
1266
1266
|
}, null, 8, ["modelValue", "label", "placeholder"]),
|
|
1267
|
-
a(Gt) ? D("", !0) : (x(),
|
|
1267
|
+
a(Gt) ? D("", !0) : (x(), R(gn, {
|
|
1268
1268
|
key: 3,
|
|
1269
1269
|
modelValue: a(m),
|
|
1270
|
-
"onUpdate:modelValue": P[16] || (P[16] = ($) =>
|
|
1270
|
+
"onUpdate:modelValue": P[16] || (P[16] = ($) => q(m) ? m.value = $ : null),
|
|
1271
1271
|
label: `${a(e)("booking.reservation.purposeOfStay")} (${a(e)("booking.reservation.optional")})`,
|
|
1272
1272
|
name: "travelingFor",
|
|
1273
1273
|
checkboxes: [
|
|
@@ -1308,7 +1308,7 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1308
1308
|
}, 1024)
|
|
1309
1309
|
]),
|
|
1310
1310
|
payment: w(() => [
|
|
1311
|
-
T(
|
|
1311
|
+
T(Mo)
|
|
1312
1312
|
]),
|
|
1313
1313
|
confirmation: w(() => [
|
|
1314
1314
|
T(wo, {
|
|
@@ -1328,7 +1328,7 @@ const ei = ["onClick"], ti = { class: "fresh-booking-panel" }, oi = { key: 0 },
|
|
|
1328
1328
|
}));
|
|
1329
1329
|
}
|
|
1330
1330
|
});
|
|
1331
|
-
const ai = /* @__PURE__ */ te(si, [["__scopeId", "data-v-
|
|
1331
|
+
const ai = /* @__PURE__ */ te(si, [["__scopeId", "data-v-feb89526"]]);
|
|
1332
1332
|
var St = { exports: {} }, De = { exports: {} }, Le = { exports: {} }, rt;
|
|
1333
1333
|
function je() {
|
|
1334
1334
|
return rt || (rt = 1, function(n) {
|
|
@@ -1446,12 +1446,12 @@ function Ye() {
|
|
|
1446
1446
|
var d = r[i], y = _[d], E = parseFloat(y);
|
|
1447
1447
|
b[d] = isNaN(E) ? 0 : E;
|
|
1448
1448
|
}
|
|
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,
|
|
1450
|
-
|
|
1451
|
-
(
|
|
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, F = t(_.width);
|
|
1450
|
+
F !== !1 && (b.width = F + // add padding and border unless it's already including it
|
|
1451
|
+
(U ? 0 : S + B));
|
|
1452
1452
|
var A = t(_.height);
|
|
1453
1453
|
return A !== !1 && (b.height = A + // add padding and border unless it's already including it
|
|
1454
|
-
(
|
|
1454
|
+
(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
1455
|
}
|
|
1456
1456
|
}
|
|
1457
1457
|
return k;
|
|
@@ -1634,8 +1634,8 @@ function di() {
|
|
|
1634
1634
|
}, g.layoutPosition = function() {
|
|
1635
1635
|
var f = this.layout.size, i = {}, d = this.layout._getOption("originLeft"), y = this.layout._getOption("originTop"), E = d ? "paddingLeft" : "paddingRight", S = d ? "left" : "right", L = d ? "right" : "left", H = this.position.x + f[E];
|
|
1636
1636
|
i[S] = this.getXValue(H), i[L] = "";
|
|
1637
|
-
var C = y ? "paddingTop" : "paddingBottom", B = y ? "top" : "bottom", O = y ? "bottom" : "top",
|
|
1638
|
-
i[B] = this.getYValue(
|
|
1637
|
+
var C = y ? "paddingTop" : "paddingBottom", B = y ? "top" : "bottom", O = y ? "bottom" : "top", U = this.position.y + f[C];
|
|
1638
|
+
i[B] = this.getYValue(U), i[O] = "", this.css(i), this.emitEvent("layout", [this]);
|
|
1639
1639
|
}, g.getXValue = function(f) {
|
|
1640
1640
|
var i = this.layout._getOption("horizontal");
|
|
1641
1641
|
return this.layout.options.percentPosition && !i ? f / this.layout.size.width * 100 + "%" : f + "px";
|
|
@@ -2359,7 +2359,7 @@ const ge = {
|
|
|
2359
2359
|
"horizontal-order": "horizontalOrder",
|
|
2360
2360
|
stagger: "stagger",
|
|
2361
2361
|
"destroy-delay": "destroyDelay"
|
|
2362
|
-
}, ye = "vuemasonry.itemAdded", ze = "vuemasonry.itemRemoved",
|
|
2362
|
+
}, ye = "vuemasonry.itemAdded", ze = "vuemasonry.itemRemoved", Re = "vuemasonry.imageLoaded", Me = "vuemasonry.destroy", gi = function(n) {
|
|
2363
2363
|
return (n + "").toLowerCase() === "true";
|
|
2364
2364
|
}, yi = function(n) {
|
|
2365
2365
|
return isNaN(n) ? n : parseInt(n);
|
|
@@ -2385,17 +2385,17 @@ Vt.install = function(n, e) {
|
|
|
2385
2385
|
const k = function(_) {
|
|
2386
2386
|
g();
|
|
2387
2387
|
}, s = function(_) {
|
|
2388
|
-
t["off"](`${ye}__${c}`, k), t["off"](`${ze}__${c}`, k), t["off"](`${
|
|
2388
|
+
t["off"](`${ye}__${c}`, k), t["off"](`${ze}__${c}`, k), t["off"](`${Re}__${c}`, k), t["off"](`${Me}__${c}`, s);
|
|
2389
2389
|
const b = m && !Number.isNaN(m) ? m : 0;
|
|
2390
2390
|
setTimeout(function() {
|
|
2391
2391
|
h.destroy();
|
|
2392
2392
|
}, b);
|
|
2393
2393
|
};
|
|
2394
|
-
t["on"](`${ye}__${c}`, k), t["on"](`${ze}__${c}`, k), t["on"](`${
|
|
2394
|
+
t["on"](`${ye}__${c}`, k), t["on"](`${ze}__${c}`, k), t["on"](`${Re}__${c}`, k), t["on"](`${Me}__${c}`, s);
|
|
2395
2395
|
},
|
|
2396
2396
|
unbind: function(r, p) {
|
|
2397
2397
|
const l = p.value || o;
|
|
2398
|
-
t["emit"](`${
|
|
2398
|
+
t["emit"](`${Me}__${l}`);
|
|
2399
2399
|
}
|
|
2400
2400
|
}), u.directive("masonryTile", {
|
|
2401
2401
|
mounted: function(r, p) {
|
|
@@ -2403,7 +2403,7 @@ Vt.install = function(n, e) {
|
|
|
2403
2403
|
t["emit"](`${ye}__${l}`, {
|
|
2404
2404
|
element: r
|
|
2405
2405
|
}), new fi(r, function() {
|
|
2406
|
-
t["emit"](`${
|
|
2406
|
+
t["emit"](`${Re}__${l}`, {
|
|
2407
2407
|
element: r
|
|
2408
2408
|
});
|
|
2409
2409
|
});
|
|
@@ -2771,7 +2771,7 @@ function zi(n) {
|
|
|
2771
2771
|
};
|
|
2772
2772
|
};
|
|
2773
2773
|
}
|
|
2774
|
-
const
|
|
2774
|
+
const Ri = ["templateParams", "htmlAttrs", "bodyAttrs"], Mi = {
|
|
2775
2775
|
hooks: {
|
|
2776
2776
|
"tag:normalise": function({ tag: n }) {
|
|
2777
2777
|
["hid", "vmid", "key"].forEach((o) => {
|
|
@@ -2786,7 +2786,7 @@ const Mi = ["templateParams", "htmlAttrs", "bodyAttrs"], Ri = {
|
|
|
2786
2786
|
const u = (o.key ? `${o.tag}:${o.key}` : o._d) || o._p, r = e[u];
|
|
2787
2787
|
if (r) {
|
|
2788
2788
|
let l = o?.tagDuplicateStrategy;
|
|
2789
|
-
if (!l &&
|
|
2789
|
+
if (!l && Ri.includes(o.tag) && (l = "merge"), l === "merge") {
|
|
2790
2790
|
const h = r.props;
|
|
2791
2791
|
["class", "style"].forEach((c) => {
|
|
2792
2792
|
o.props[c] && h[c] && (c === "style" && !h[c].endsWith(";") && (h[c] += ";"), o.props[c] = `${h[c]} ${o.props[c]}`);
|
|
@@ -2989,7 +2989,7 @@ function Xi(n = {}) {
|
|
|
2989
2989
|
ssr: t
|
|
2990
2990
|
};
|
|
2991
2991
|
return [
|
|
2992
|
-
|
|
2992
|
+
Mi,
|
|
2993
2993
|
Ni,
|
|
2994
2994
|
Fi,
|
|
2995
2995
|
Gi,
|