@konnectio/core 4.0.56-rc13 → 4.0.56-rc15
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-G62UF21r.js → ActionField-v2VjBwyP.js} +1 -1
- package/dist/ActionField-v2VjBwyP.js.br +0 -0
- package/dist/{AvailabilitySkeleton-tqSi5vyB.js → AvailabilitySkeleton-Qp8pBuKB.js} +49 -47
- package/dist/AvailabilitySkeleton-Qp8pBuKB.js.br +0 -0
- package/dist/{CheckoutWindow-UxtOqUd7.js → CheckoutWindow-zKWL14ZQ.js} +1 -1
- package/dist/CheckoutWindow-zKWL14ZQ.js.br +0 -0
- package/dist/{DateField.vue_vue_type_style_index_0_lang-6SUJIqhT.js → DateField.vue_vue_type_style_index_0_lang-cmnH2g2d.js} +1 -1
- package/dist/DateField.vue_vue_type_style_index_0_lang-cmnH2g2d.js.br +0 -0
- package/dist/{Field-yoYCuzcb.js → Field-813GNeV-.js} +2 -2
- package/dist/Field-813GNeV-.js.br +0 -0
- package/dist/{SelectField.vue_vue_type_style_index_0_lang--ARrh9rv.js → SelectField.vue_vue_type_style_index_0_lang-e8Rmd6FZ.js} +8 -8
- package/dist/SelectField.vue_vue_type_style_index_0_lang-e8Rmd6FZ.js.br +0 -0
- package/dist/{ThankYou-RDRdoNH4.js → ThankYou-CibbgAJf.js} +6 -6
- package/dist/ThankYou-CibbgAJf.js.br +0 -0
- package/dist/{_-7jA-u2Qn.js → _-VRZUGIKe.js} +1 -1
- package/dist/availability.js +33 -39
- package/dist/availability.js.br +0 -0
- package/dist/{event-8kXgxJW7.js → event-mQu2QsEx.js} +7 -7
- package/dist/event-mQu2QsEx.js.br +0 -0
- package/dist/event.js +7 -7
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +2 -2
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +5 -5
- package/dist/gift-card.js.br +0 -0
- package/dist/hotel.js +73 -70
- package/dist/hotel.js.br +0 -0
- 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 +2 -2
- package/dist/ActionField-G62UF21r.js.br +0 -0
- package/dist/AvailabilitySkeleton-tqSi5vyB.js.br +0 -0
- package/dist/CheckoutWindow-UxtOqUd7.js.br +0 -0
- package/dist/DateField.vue_vue_type_style_index_0_lang-6SUJIqhT.js.br +0 -0
- package/dist/Field-yoYCuzcb.js.br +0 -0
- package/dist/SelectField.vue_vue_type_style_index_0_lang--ARrh9rv.js.br +0 -0
- package/dist/ThankYou-RDRdoNH4.js.br +0 -0
- package/dist/event-8kXgxJW7.js.br +0 -0
package/dist/hotel.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { k as j, B as ne, am as so, s as K, c as he, W as ft, X as ie, o as E, m as R, a0 as ao, z as l, w, ac as Le, x as y, F as V, K as te, a2 as Xe, an as lo, l as I, a6 as z, $ as B, n as x, a8 as We, ao as ue, p as C, H as Q, J as oe, f as q, y as Ee, P as mt, Q as gt, _ as J, r as ce, ap as vt, Z as Ue, Y as be, A as yt, C as le, aq as uo, a5 as co, q as ke, I as bt, v as Ze, T as ee, ar as po, N as ho, D as fo, a9 as mo, L as et, G as N, M as go, as as kt, at as vo, R as yo, U as bo, V as ko, ab as _o } from "./SelectField.vue_vue_type_style_index_0_lang
|
|
2
|
-
import { R as Eo, B as Ge, a as To, S as Co, M as Io, T as $o, V as So } from "./ThankYou-
|
|
3
|
-
import { A as Vo, H as Lo } from "./AvailabilitySkeleton-
|
|
4
|
-
import { _ as Po } from "./DateField.vue_vue_type_style_index_0_lang-
|
|
5
|
-
import { C as Ne, P as xo, a as wo } from "./CheckoutWindow-
|
|
6
|
-
import { E as Y } from "./_-
|
|
1
|
+
import { k as j, B as ne, am as so, s as K, c as he, W as ft, X as ie, o as E, m as R, a0 as ao, z as l, w, ac as Le, x as y, F as V, K as te, a2 as Xe, an as lo, l as I, a6 as z, $ as B, n as x, a8 as We, ao as ue, p as C, H as Q, J as oe, f as q, y as Ee, P as mt, Q as gt, _ as J, r as ce, ap as vt, Z as Ue, Y as be, A as yt, C as le, aq as uo, a5 as co, q as ke, I as bt, v as Ze, T as ee, ar as po, N as ho, D as fo, a9 as mo, L as et, G as N, M as go, as as kt, at as vo, R as yo, U as bo, V as ko, ab as _o } from "./SelectField.vue_vue_type_style_index_0_lang-e8Rmd6FZ.js";
|
|
2
|
+
import { R as Eo, B as Ge, a as To, S as Co, M as Io, T as $o, V as So } from "./ThankYou-CibbgAJf.js";
|
|
3
|
+
import { A as Vo, H as Lo } from "./AvailabilitySkeleton-Qp8pBuKB.js";
|
|
4
|
+
import { _ as Po } from "./DateField.vue_vue_type_style_index_0_lang-cmnH2g2d.js";
|
|
5
|
+
import { C as Ne, P as xo, a as wo } from "./CheckoutWindow-zKWL14ZQ.js";
|
|
6
|
+
import { E as Y } from "./_-VRZUGIKe.js";
|
|
7
7
|
import { c as _t, g as Et } from "./_commonjsHelpers-2ufMB8rV.js";
|
|
8
|
-
import "./ActionField-
|
|
9
|
-
import "./Field-
|
|
10
|
-
const
|
|
8
|
+
import "./ActionField-v2VjBwyP.js";
|
|
9
|
+
import "./Field-813GNeV-.js";
|
|
10
|
+
const Ao = { key: 0 }, Oo = { key: 1 }, Pe = /* @__PURE__ */ j({
|
|
11
11
|
__name: "HotelReservationForm",
|
|
12
12
|
props: {
|
|
13
13
|
showGiftCard: { type: Boolean, default: !1 },
|
|
@@ -38,7 +38,7 @@ const Oo = { key: 0 }, Ao = { key: 1 }, Pe = /* @__PURE__ */ j({
|
|
|
38
38
|
function $(L) {
|
|
39
39
|
return L.reduce((H, { totalPrice: D }) => H + D, 0);
|
|
40
40
|
}
|
|
41
|
-
return (L,
|
|
41
|
+
return (L, A) => (E(), R(Eo, {
|
|
42
42
|
"total-price": l(k),
|
|
43
43
|
"show-gift-card": L.showGiftCard,
|
|
44
44
|
"show-terms-notice": L.showTermsNotice,
|
|
@@ -105,14 +105,14 @@ const Oo = { key: 0 }, Ao = { key: 1 }, Pe = /* @__PURE__ */ j({
|
|
|
105
105
|
x("", !0)
|
|
106
106
|
])
|
|
107
107
|
]),
|
|
108
|
-
$(U.roomAddons) > 0 ? (E(), I("li",
|
|
109
|
-
y("span", null, V(l(e)("
|
|
108
|
+
$(U.roomAddons) > 0 ? (E(), I("li", Ao, [
|
|
109
|
+
y("span", null, V(l(e)("general.addons")), 1),
|
|
110
110
|
y("b", null, V(l(oe)($(U.roomAddons), l(a))), 1)
|
|
111
111
|
])) : x("", !0)
|
|
112
112
|
]))), 128))
|
|
113
113
|
]))), 128))
|
|
114
114
|
]))), 128)) : x("", !0),
|
|
115
|
-
l(i) && l(r) ? (E(), I("div",
|
|
115
|
+
l(i) && l(r) ? (E(), I("div", Oo, [
|
|
116
116
|
y("h6", null, [
|
|
117
117
|
y("span", null, V(l(ue)(l(r).name)), 1)
|
|
118
118
|
]),
|
|
@@ -270,13 +270,13 @@ const Ko = /* @__PURE__ */ j({
|
|
|
270
270
|
const i = q(() => JSON.parse(JSON.stringify(n.value)));
|
|
271
271
|
return be(i, (r, v) => {
|
|
272
272
|
v.length > 0 && r.forEach((T, $) => {
|
|
273
|
-
T.config.forEach((L,
|
|
274
|
-
const H = L.units, D = v[$].config[
|
|
275
|
-
H !== D && (H > D ? (n.value[$].config[
|
|
273
|
+
T.config.forEach((L, A) => {
|
|
274
|
+
const H = L.units, D = v[$].config[A].units;
|
|
275
|
+
H !== D && (H > D ? (n.value[$].config[A].addons.push({}), a({
|
|
276
276
|
id: t.room.id,
|
|
277
277
|
name: t.room.title,
|
|
278
278
|
value: t.room.rates[$].rackRate
|
|
279
|
-
})) : (n.value[$].config[
|
|
279
|
+
})) : (n.value[$].config[A].addons.pop(), u({
|
|
280
280
|
id: t.room.id,
|
|
281
281
|
name: t.room.title,
|
|
282
282
|
value: t.room.rates[$].rackRate
|
|
@@ -313,7 +313,7 @@ const Ko = /* @__PURE__ */ j({
|
|
|
313
313
|
T.id ? (E(), I("div", Go, [
|
|
314
314
|
(E(!0), I(B, null, z(r.room.rates, ({
|
|
315
315
|
id: L,
|
|
316
|
-
maximumOccupants:
|
|
316
|
+
maximumOccupants: A
|
|
317
317
|
}) => (E(), I("div", {
|
|
318
318
|
key: L,
|
|
319
319
|
class: "booking-availability-listing-action-selective-i"
|
|
@@ -329,7 +329,7 @@ const Ko = /* @__PURE__ */ j({
|
|
|
329
329
|
icon: "male",
|
|
330
330
|
"icon-type": "fas",
|
|
331
331
|
label: l(e)("general.guests"),
|
|
332
|
-
description: `${l(e)("general.maximumGuests")}: ${
|
|
332
|
+
description: `${l(e)("general.maximumGuests")}: ${A}`,
|
|
333
333
|
options: b(L),
|
|
334
334
|
readonly: !(b(L).length > 1)
|
|
335
335
|
}, null, 8, ["modelValue", "onUpdate:modelValue", "label", "description", "options", "readonly"])
|
|
@@ -788,10 +788,10 @@ const Ko = /* @__PURE__ */ j({
|
|
|
788
788
|
const Pn = { key: 1 }, xn = { key: 0 }, wn = {
|
|
789
789
|
key: 0,
|
|
790
790
|
id: "booking-availability-packages"
|
|
791
|
-
},
|
|
791
|
+
}, An = {
|
|
792
792
|
key: 0,
|
|
793
793
|
class: "konnectio-hotel-availability-title"
|
|
794
|
-
},
|
|
794
|
+
}, On = { id: "booking-availability-packages-wrapper" }, Hn = { key: 1 }, Dn = {
|
|
795
795
|
key: 0,
|
|
796
796
|
class: "konnectio-hotel-availability-title"
|
|
797
797
|
}, Mn = { id: "booking-availability-listings" }, Rn = {
|
|
@@ -844,7 +844,7 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
844
844
|
allergies: T,
|
|
845
845
|
newsMails: $,
|
|
846
846
|
roomSelect: L,
|
|
847
|
-
roomDisplay:
|
|
847
|
+
roomDisplay: A,
|
|
848
848
|
hasValidRoomSelection: H,
|
|
849
849
|
availabilityData: D,
|
|
850
850
|
selectionHasNoAddons: W
|
|
@@ -857,8 +857,8 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
857
857
|
arrivalEarliest: Qe,
|
|
858
858
|
arrivalLatest: xt,
|
|
859
859
|
departureEarliest: wt,
|
|
860
|
-
departureLatest:
|
|
861
|
-
enableTracking:
|
|
860
|
+
departureLatest: At,
|
|
861
|
+
enableTracking: Ot,
|
|
862
862
|
arrivalDefault: Ht,
|
|
863
863
|
departureDefault: Dt,
|
|
864
864
|
hideArrivalDepartureInputs: Mt,
|
|
@@ -875,7 +875,7 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
875
875
|
resetDiscountVoucher: Gt,
|
|
876
876
|
createReservation: jt
|
|
877
877
|
} = ie(), Yt = ce(!0), Kt = q(() => {
|
|
878
|
-
const
|
|
878
|
+
const O = [
|
|
879
879
|
{
|
|
880
880
|
label: e("booking.reservation.business"),
|
|
881
881
|
value: "Business"
|
|
@@ -885,13 +885,13 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
885
885
|
value: "Pleasure"
|
|
886
886
|
}
|
|
887
887
|
];
|
|
888
|
-
return zt.value ||
|
|
888
|
+
return zt.value || O.push({
|
|
889
889
|
label: e("booking.reservation.bleasure"),
|
|
890
890
|
value: "Bleasure"
|
|
891
|
-
}),
|
|
891
|
+
}), O;
|
|
892
892
|
}), Qt = q(() => {
|
|
893
|
-
const
|
|
894
|
-
|
|
893
|
+
const O = D.value.roomGroups.slice();
|
|
894
|
+
O.forEach((G) => {
|
|
895
895
|
G.pricesFrom = G.rates.reduce(
|
|
896
896
|
(M, S) => M < S.rackRate ? M : S.rackRate,
|
|
897
897
|
1 / 0
|
|
@@ -900,43 +900,43 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
900
900
|
function P(G, M) {
|
|
901
901
|
return Yt.value === !0 ? G.pricesFrom > M.pricesFrom ? -1 : 1 : G.pricesFrom > M.pricesFrom ? 1 : -1;
|
|
902
902
|
}
|
|
903
|
-
return
|
|
903
|
+
return O.sort(P);
|
|
904
904
|
}), Jt = q(() => [[
|
|
905
905
|
parseInt(Qe.value.split(":")[0]),
|
|
906
906
|
parseInt(xt.value.split(":")[0])
|
|
907
907
|
]]), Xt = q(() => [[
|
|
908
908
|
parseInt(wt.value.split(":")[0]),
|
|
909
|
-
parseInt(
|
|
909
|
+
parseInt(At.value.split(":")[0])
|
|
910
910
|
]]);
|
|
911
|
-
function Je(
|
|
912
|
-
W.value ?
|
|
911
|
+
function Je(O) {
|
|
912
|
+
W.value ? O(2) : O(), Gt();
|
|
913
913
|
}
|
|
914
|
-
function Zt(
|
|
915
|
-
re.value = new Date(P), X.value = new Date(
|
|
914
|
+
function Zt(O, P) {
|
|
915
|
+
re.value = new Date(P), X.value = new Date(O), location.reload();
|
|
916
916
|
}
|
|
917
|
-
async function eo(
|
|
918
|
-
await jt(
|
|
917
|
+
async function eo(O) {
|
|
918
|
+
await jt(O);
|
|
919
919
|
}
|
|
920
|
-
function to(
|
|
921
|
-
|
|
920
|
+
function to(O) {
|
|
921
|
+
Ot.value && Ft(), W.value ? O(2) : O();
|
|
922
922
|
}
|
|
923
923
|
function oo() {
|
|
924
924
|
a.value === "" && (a.value = Ht.value), u.value === "" && (u.value = Dt.value);
|
|
925
925
|
}
|
|
926
926
|
return Ue(() => {
|
|
927
927
|
qt(), oo();
|
|
928
|
-
}), (
|
|
928
|
+
}), (O, P) => (E(), R(ho, { styling: O.styling }, {
|
|
929
929
|
default: w(() => [
|
|
930
930
|
(E(), R(fo, null, {
|
|
931
931
|
default: w(() => [
|
|
932
932
|
C(go, {
|
|
933
933
|
id: "fresh-booking-hotel-module",
|
|
934
|
-
"access-token":
|
|
934
|
+
"access-token": O.accessToken,
|
|
935
935
|
type: "hotel"
|
|
936
936
|
}, {
|
|
937
937
|
default: w(() => [
|
|
938
938
|
C(Io, {
|
|
939
|
-
layout:
|
|
939
|
+
layout: O.headerLayout,
|
|
940
940
|
onReset: l(Ut)
|
|
941
941
|
}, {
|
|
942
942
|
availability: w(({ next: G }) => [
|
|
@@ -953,8 +953,8 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
953
953
|
C(de)
|
|
954
954
|
])) : (E(), I("div", Pn, [
|
|
955
955
|
l(D).roomGroups.length > 0 || l(D).templates.length > 0 ? (E(), I("div", xn, [
|
|
956
|
-
l(D).templates.length > 0 &&
|
|
957
|
-
|
|
956
|
+
l(D).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), I("div", wn, [
|
|
957
|
+
O.onlyShow !== "packages" ? (E(), I("h2", An, [
|
|
958
958
|
C(Q, {
|
|
959
959
|
icon: "box",
|
|
960
960
|
type: "fal",
|
|
@@ -962,7 +962,7 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
962
962
|
}),
|
|
963
963
|
y("span", null, V(l(e)("booking.availability.packagesTitle")), 1)
|
|
964
964
|
])) : x("", !0),
|
|
965
|
-
y("ul",
|
|
965
|
+
y("ul", On, [
|
|
966
966
|
(E(!0), I(B, null, z(l(D).templates, ({
|
|
967
967
|
id: M,
|
|
968
968
|
name: S,
|
|
@@ -982,8 +982,8 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
982
982
|
}, null, 8, ["id", "description", "name", "image", "weekendFee", "room-groups", "callback"]))), 128))
|
|
983
983
|
])
|
|
984
984
|
])) : x("", !0),
|
|
985
|
-
l(D).roomGroups.length > 0 &&
|
|
986
|
-
l(D).templates.length > 0 &&
|
|
985
|
+
l(D).roomGroups.length > 0 && O.onlyShow !== "packages" ? (E(), I("div", Hn, [
|
|
986
|
+
l(D).templates.length > 0 && O.onlyShow !== "rooms" ? (E(), I("h2", Dn, [
|
|
987
987
|
C(Q, {
|
|
988
988
|
icon: "house",
|
|
989
989
|
type: "fal",
|
|
@@ -998,7 +998,7 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
998
998
|
}, null, 8, ["room"]))), 128))
|
|
999
999
|
])
|
|
1000
1000
|
])) : x("", !0),
|
|
1001
|
-
(l(D).templates.length === 0 &&
|
|
1001
|
+
(l(D).templates.length === 0 && O.onlyShow !== "rooms" || l(D).roomGroups.length === 0 && O.onlyShow !== "packages") && (O.onlyShow === "rooms" || O.onlyShow === "packages") ? (E(), I("div", Rn, [
|
|
1002
1002
|
y("span", null, V(l(e)("booking.availability.nothingAvailable")), 1)
|
|
1003
1003
|
])) : x("", !0)
|
|
1004
1004
|
])) : l(D).nextAvailableDates.length === 0 ? (E(), I("div", Bn, [
|
|
@@ -1062,7 +1062,7 @@ const jn = { class: "fresh-booking-event-addons-price" }, Yn = { key: 1 }, Kn =
|
|
|
1062
1062
|
]),
|
|
1063
1063
|
y("div", null, [
|
|
1064
1064
|
isNaN(l(t)) ? (E(), I("div", Gn, [
|
|
1065
|
-
(E(!0), I(B, null, z(l(
|
|
1065
|
+
(E(!0), I(B, null, z(l(A), (S) => (E(), I("ul", {
|
|
1066
1066
|
key: S.roomGroupID
|
|
1067
1067
|
}, [
|
|
1068
1068
|
(E(!0), I(B, null, z(S.variants, (se, ae) => (E(), I("li", {
|
|
@@ -1396,7 +1396,7 @@ function je() {
|
|
|
1396
1396
|
});
|
|
1397
1397
|
}(we)), we.exports;
|
|
1398
1398
|
}
|
|
1399
|
-
var
|
|
1399
|
+
var Ae = { exports: {} };
|
|
1400
1400
|
/*!
|
|
1401
1401
|
* getSize v2.0.3
|
|
1402
1402
|
* measure size of elements
|
|
@@ -1471,19 +1471,19 @@ function Ye() {
|
|
|
1471
1471
|
var r = s[i], v = b[r], T = parseFloat(v);
|
|
1472
1472
|
k[r] = isNaN(T) ? 0 : T;
|
|
1473
1473
|
}
|
|
1474
|
-
var $ = k.paddingLeft + k.paddingRight, L = k.paddingTop + k.paddingBottom,
|
|
1474
|
+
var $ = k.paddingLeft + k.paddingRight, L = k.paddingTop + k.paddingBottom, A = k.marginLeft + k.marginRight, H = k.marginTop + k.marginBottom, D = k.borderLeftWidth + k.borderRightWidth, W = k.borderTopWidth + k.borderBottomWidth, X = m && f, re = t(b.width);
|
|
1475
1475
|
re !== !1 && (k.width = re + // add padding and border unless it's already including it
|
|
1476
1476
|
(X ? 0 : $ + D));
|
|
1477
1477
|
var U = t(b.height);
|
|
1478
1478
|
return U !== !1 && (k.height = U + // add padding and border unless it's already including it
|
|
1479
|
-
(X ? 0 : L + W)), k.innerWidth = k.width - ($ + D), k.innerHeight = k.height - (L + W), k.outerWidth = k.width +
|
|
1479
|
+
(X ? 0 : L + W)), k.innerWidth = k.width - ($ + D), k.innerHeight = k.height - (L + W), k.outerWidth = k.width + A, k.outerHeight = k.height + H, k;
|
|
1480
1480
|
}
|
|
1481
1481
|
}
|
|
1482
1482
|
return _;
|
|
1483
1483
|
});
|
|
1484
|
-
}(
|
|
1484
|
+
}(Ae)), Ae.exports;
|
|
1485
1485
|
}
|
|
1486
|
-
var
|
|
1486
|
+
var Oe = { exports: {} }, He = { exports: {} }, it;
|
|
1487
1487
|
function ni() {
|
|
1488
1488
|
return it || (it = 1, function(o) {
|
|
1489
1489
|
(function(e, t) {
|
|
@@ -1598,7 +1598,7 @@ function ii() {
|
|
|
1598
1598
|
});
|
|
1599
1599
|
}, p;
|
|
1600
1600
|
});
|
|
1601
|
-
}(
|
|
1601
|
+
}(Oe)), Oe.exports;
|
|
1602
1602
|
}
|
|
1603
1603
|
var De = { exports: {} }, st;
|
|
1604
1604
|
function ri() {
|
|
@@ -1654,11 +1654,11 @@ function ri() {
|
|
|
1654
1654
|
i[v] = m[r];
|
|
1655
1655
|
}
|
|
1656
1656
|
}, g.getPosition = function() {
|
|
1657
|
-
var m = getComputedStyle(this.element), i = this.layout._getOption("originLeft"), r = this.layout._getOption("originTop"), v = m[i ? "left" : "right"], T = m[r ? "top" : "bottom"], $ = parseFloat(v), L = parseFloat(T),
|
|
1658
|
-
v.indexOf("%") != -1 && ($ = $ / 100 *
|
|
1657
|
+
var m = getComputedStyle(this.element), i = this.layout._getOption("originLeft"), r = this.layout._getOption("originTop"), v = m[i ? "left" : "right"], T = m[r ? "top" : "bottom"], $ = parseFloat(v), L = parseFloat(T), A = this.layout.size;
|
|
1658
|
+
v.indexOf("%") != -1 && ($ = $ / 100 * A.width), T.indexOf("%") != -1 && (L = L / 100 * A.height), $ = isNaN($) ? 0 : $, L = isNaN(L) ? 0 : L, $ -= i ? A.paddingLeft : A.paddingRight, L -= r ? A.paddingTop : A.paddingBottom, this.position.x = $, this.position.y = L;
|
|
1659
1659
|
}, g.layoutPosition = function() {
|
|
1660
|
-
var m = this.layout.size, i = {}, r = this.layout._getOption("originLeft"), v = this.layout._getOption("originTop"), T = r ? "paddingLeft" : "paddingRight", $ = r ? "left" : "right", L = r ? "right" : "left",
|
|
1661
|
-
i[$] = this.getXValue(
|
|
1660
|
+
var m = this.layout.size, i = {}, r = this.layout._getOption("originLeft"), v = this.layout._getOption("originTop"), T = r ? "paddingLeft" : "paddingRight", $ = r ? "left" : "right", L = r ? "right" : "left", A = this.position.x + m[T];
|
|
1661
|
+
i[$] = this.getXValue(A), i[L] = "";
|
|
1662
1662
|
var H = v ? "paddingTop" : "paddingBottom", D = v ? "top" : "bottom", W = v ? "bottom" : "top", X = this.position.y + m[H];
|
|
1663
1663
|
i[D] = this.getYValue(X), i[W] = "", this.css(i), this.emitEvent("layout", [this]);
|
|
1664
1664
|
}, g.getXValue = function(m) {
|
|
@@ -1674,9 +1674,9 @@ function ri() {
|
|
|
1674
1674
|
this.layoutPosition();
|
|
1675
1675
|
return;
|
|
1676
1676
|
}
|
|
1677
|
-
var $ = m - r, L = i - v,
|
|
1678
|
-
|
|
1679
|
-
to:
|
|
1677
|
+
var $ = m - r, L = i - v, A = {};
|
|
1678
|
+
A.transform = this.getTranslate($, L), this.transition({
|
|
1679
|
+
to: A,
|
|
1680
1680
|
onTransitionEnd: {
|
|
1681
1681
|
transform: this.layoutPosition
|
|
1682
1682
|
},
|
|
@@ -1887,8 +1887,8 @@ function si() {
|
|
|
1887
1887
|
this.items = this._itemize(this.element.children);
|
|
1888
1888
|
}, d._itemize = function(i) {
|
|
1889
1889
|
for (var r = this._filterFindItemElements(i), v = this.constructor.Item, T = [], $ = 0; $ < r.length; $++) {
|
|
1890
|
-
var L = r[$],
|
|
1891
|
-
T.push(
|
|
1890
|
+
var L = r[$], A = new v(L, this);
|
|
1891
|
+
T.push(A);
|
|
1892
1892
|
}
|
|
1893
1893
|
return T;
|
|
1894
1894
|
}, d._filterFindItemElements = function(i) {
|
|
@@ -1964,11 +1964,11 @@ function si() {
|
|
|
1964
1964
|
return;
|
|
1965
1965
|
}
|
|
1966
1966
|
var L = 0;
|
|
1967
|
-
function
|
|
1967
|
+
function A() {
|
|
1968
1968
|
L++, L == $ && T();
|
|
1969
1969
|
}
|
|
1970
1970
|
r.forEach(function(H) {
|
|
1971
|
-
H.once(i,
|
|
1971
|
+
H.once(i, A);
|
|
1972
1972
|
});
|
|
1973
1973
|
}, d.dispatchEvent = function(i, r, v) {
|
|
1974
1974
|
var T = r ? [r].concat(v) : v;
|
|
@@ -2783,7 +2783,7 @@ async function wi(o, e = {}) {
|
|
|
2783
2783
|
}));
|
|
2784
2784
|
}
|
|
2785
2785
|
// @__NO_SIDE_EFFECTS__
|
|
2786
|
-
function
|
|
2786
|
+
function Ai(o) {
|
|
2787
2787
|
return (e) => {
|
|
2788
2788
|
const t = e.resolvedOptions.document?.head.querySelector('script[id="unhead:payload"]')?.innerHTML || !1;
|
|
2789
2789
|
return t && e.push(JSON.parse(t)), {
|
|
@@ -2796,7 +2796,7 @@ function Oi(o) {
|
|
|
2796
2796
|
};
|
|
2797
2797
|
};
|
|
2798
2798
|
}
|
|
2799
|
-
const
|
|
2799
|
+
const Oi = ["templateParams", "htmlAttrs", "bodyAttrs"], Hi = {
|
|
2800
2800
|
hooks: {
|
|
2801
2801
|
"tag:normalise": function({ tag: o }) {
|
|
2802
2802
|
["hid", "vmid", "key"].forEach((n) => {
|
|
@@ -2811,7 +2811,7 @@ const Ai = ["templateParams", "htmlAttrs", "bodyAttrs"], Hi = {
|
|
|
2811
2811
|
const p = (n.key ? `${n.tag}:${n.key}` : n._d) || n._p, s = e[p];
|
|
2812
2812
|
if (s) {
|
|
2813
2813
|
let c = n?.tagDuplicateStrategy;
|
|
2814
|
-
if (!c &&
|
|
2814
|
+
if (!c && Oi.includes(n.tag) && (c = "merge"), c === "merge") {
|
|
2815
2815
|
const a = s.props;
|
|
2816
2816
|
["class", "style"].forEach((u) => {
|
|
2817
2817
|
a[u] && (n.props[u] ? (u === "style" && !a[u].endsWith(";") && (a[u] += ";"), n.props[u] = `${a[u]} ${n.props[u]}`) : n.props[u] = a[u]);
|
|
@@ -2964,7 +2964,7 @@ const Bi = (o) => ({
|
|
|
2964
2964
|
// @__NO_SIDE_EFFECTS__
|
|
2965
2965
|
function ji(o = {}) {
|
|
2966
2966
|
const e = Yi(o);
|
|
2967
|
-
return e.use(/* @__PURE__ */
|
|
2967
|
+
return e.use(/* @__PURE__ */ Ai()), e;
|
|
2968
2968
|
}
|
|
2969
2969
|
function ht(o, e) {
|
|
2970
2970
|
return !o || o === "server" && e || o === "client" && !e;
|
|
@@ -3070,6 +3070,9 @@ class nr extends HTMLElement {
|
|
|
3070
3070
|
constructor() {
|
|
3071
3071
|
super();
|
|
3072
3072
|
}
|
|
3073
|
+
disconnectedCallback() {
|
|
3074
|
+
console.log("Disconnected callback"), this.vueApp.unmount();
|
|
3075
|
+
}
|
|
3073
3076
|
connectedCallback() {
|
|
3074
3077
|
const e = typeof fe == "function" ? fe.options : fe;
|
|
3075
3078
|
let t = Array.isArray(e.props) ? e.props : Object.keys(e.props || {});
|
package/dist/hotel.js.br
CHANGED
|
Binary file
|
package/dist/polyfill.js
CHANGED
package/dist/polyfill.js.br
CHANGED
|
Binary file
|