@revolugo/elements 6.8.2-beta.31 → 6.8.2-beta.33
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/css/revolugo.hotelroomofferlist.Dh1OAA7W.css +1 -0
- package/dist/{revolugo._baseiteratee.Bxmf2YBQ.min.js → revolugo._baseiteratee.6H9boq3g.min.js} +2 -2
- package/dist/{revolugo.banktransferdetails.SE8NErTw.min.js → revolugo.banktransferdetails.BLIe136S.min.js} +9 -9
- package/dist/{revolugo.bdaterangepicker.Bs2pH95_.min.js → revolugo.bdaterangepicker.Hf5naLtO.min.js} +7 -7
- package/dist/{revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DIWYLLE_.min.js → revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DhvK2mdJ.min.js} +14 -14
- package/dist/{revolugo.bhoteloffersfilterbar.gHx-XQIq.min.js → revolugo.bhoteloffersfilterbar.DicKWcI_.min.js} +89 -89
- package/dist/{revolugo.bhotelroomsdetails.ByB7GIQB.min.js → revolugo.bhotelroomsdetails.BZUH-ZM3.min.js} +27 -27
- package/dist/{revolugo.bhotelsearchbar.D4nP_Yeh.min.js → revolugo.bhotelsearchbar.C0QSx8nR.min.js} +22 -22
- package/dist/{revolugo.bimagecarousel.DhA7fKr_.min.js → revolugo.bimagecarousel.i3XKJie3.min.js} +16 -16
- package/dist/{revolugo.bookingdetailssidebar.lwfVw3hd.min.js → revolugo.bookingdetailssidebar.La43Csfa.min.js} +4 -4
- package/dist/{revolugo.bookingdetailssidebar.Dd56Wy_U.min.js → revolugo.bookingdetailssidebar.pzLkF0dO.min.js} +11 -11
- package/dist/{revolugo.bookingmanager.CalvEAgz.min.js → revolugo.bookingmanager.Sx2krZHP.min.js} +246 -261
- package/dist/{revolugo.bpricesummaryskeleton.C-X2i-r7.min.js → revolugo.bpricesummaryskeleton.DoLktkiO.min.js} +4 -4
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.7yIt37GG.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.DkRSrr6-.min.js} +13 -13
- package/dist/{revolugo.btag.D9PcRagV.min.js → revolugo.btag.DqKCcO64.min.js} +37 -37
- package/dist/{revolugo.cancellationpoliciesbadge.BMTMxB84.min.js → revolugo.cancellationpoliciesbadge.CDsOorfl.min.js} +10 -10
- package/dist/{revolugo.cancellationpoliciesbadge.BS3sdT0j.min.js → revolugo.cancellationpoliciesbadge.DNXgKhv6.min.js} +4 -4
- package/dist/{revolugo.cancellationpolicieslist.CSKJ_RQf.min.js → revolugo.cancellationpolicieslist.M5d1D5ot.min.js} +6 -6
- package/dist/{revolugo.cancellationpolicieslist.BlIDNloM.min.js → revolugo.cancellationpolicieslist.v9YSV-JD.min.js} +4 -4
- package/dist/{revolugo.case-transformers.wj5dY-62.min.js → revolugo.case-transformers.CZexLFCC.min.js} +2 -2
- package/dist/{revolugo.creditcardform.58FDmjkc.min.js → revolugo.creditcardform.BwNdpOYa.min.js} +4 -4
- package/dist/{revolugo.creditcardform.DjHXUGaT.min.js → revolugo.creditcardform.DIm8PFZB.min.js} +30 -30
- package/dist/{revolugo.creditcardpayment.CXIZBeLQ.min.js → revolugo.creditcardpayment.B-Pu0q9P.min.js} +4 -4
- package/dist/{revolugo.creditcardpayment.eNRvC7VG.min.js → revolugo.creditcardpayment.CXpVfsjF.min.js} +16 -16
- package/dist/{revolugo.currencypicker.mpJHETlw.min.js → revolugo.currencypicker.CYlyvR4X.min.js} +7 -7
- package/dist/{revolugo.currencypickerbtn.DcaNmmTa.min.js → revolugo.currencypickerbtn.BT6jQ33A.min.js} +4 -4
- package/dist/{revolugo.currencypickerbtn.BT4gJYck.min.js → revolugo.currencypickerbtn.D-qAsHj-.min.js} +12 -12
- package/dist/{revolugo.defaultsdeep.B15U6I23.min.js → revolugo.defaultsdeep.xStfx1ax.min.js} +2 -2
- package/dist/{revolugo.dialog-attach.Kn52rX5V.min.js → revolugo.dialog-attach.DhGjpV86.min.js} +2 -2
- package/dist/{revolugo.dialog-transition.K64Up6o5.min.js → revolugo.dialog-transition.Bcw3NUGf.min.js} +8 -8
- package/dist/{revolugo.fastbookingflow.DSWy6Ys3.min.js → revolugo.fastbookingflow.BvOeLD5-.min.js} +6 -6
- package/dist/{revolugo.fullbookingflow.BLumv8em.min.js → revolugo.fullbookingflow.CXY4HX1N.min.js} +17 -17
- package/dist/{revolugo.hotel-offer-request.08Q8GaoF.min.js → revolugo.hotel-offer-request.Ckk1mKtM.min.js} +2 -2
- package/dist/{revolugo.hoteldescriptionview.BCrpDoH8.min.js → revolugo.hoteldescriptionview.BEjBGuX8.min.js} +48 -48
- package/dist/{revolugo.hoteldescriptionview.BOhmeT2B.min.js → revolugo.hoteldescriptionview.Dup60cXR.min.js} +4 -4
- package/dist/{revolugo.hotelofferitemlayout.iXqLrvQm.min.js → revolugo.hotelofferitemlayout.BHmFEPSg.min.js} +11 -11
- package/dist/{revolugo.hotelofferlist.0NPXq55P.min.js → revolugo.hotelofferlist.Bx4nX-96.min.js} +23 -23
- package/dist/{revolugo.hotelofferlist.DjUTqa2K.min.js → revolugo.hotelofferlist.C6LDBssl.min.js} +4 -4
- package/dist/{revolugo.hotelofferrequestcreator.BURjSAMm.min.js → revolugo.hotelofferrequestcreator.Dh7iqMnT.min.js} +5 -5
- package/dist/{revolugo.hoteloffersearchmenu.Dgq9VEmx.min.js → revolugo.hoteloffersearchmenu.CCwN9-vq.min.js} +9 -9
- package/dist/{revolugo.hoteloffersmap.CeDXd2FY.min.js → revolugo.hoteloffersmap.CIKwD_xJ.min.js} +4 -4
- package/dist/{revolugo.hoteloffersmap.BnqHPNt1.min.js → revolugo.hoteloffersmap.m4FlKwmK.min.js} +15 -15
- package/dist/{revolugo.hoteloffersview.Bih_7gfI.min.js → revolugo.hoteloffersview.B173js2k.min.js} +42 -42
- package/dist/{revolugo.hoteloffersview.D_H5aGBv.min.js → revolugo.hoteloffersview.BqnmWsMz.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.CXald_sS.min.js → revolugo.hotelroomofferlist.BZXX-P21.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.O0tRAgZS.min.js → revolugo.hotelroomofferlist.DRs28YA0.min.js} +455 -476
- package/dist/{revolugo.hotelroomofferrequestcreator.props.CVwr05si.min.js → revolugo.hotelroomofferrequestcreator.props.DYl1bNk3.min.js} +2 -2
- package/dist/{revolugo.hotelroomoffersbookingflow.DGKPam4L.min.js → revolugo.hotelroomoffersbookingflow.BcLRNLjr.min.js} +42 -42
- package/dist/{revolugo.hotelroomoffersearchmenu.DfCU58yl.min.js → revolugo.hotelroomoffersearchmenu.CNesdHU7.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersearchmenu.ElcYfITq.min.js → revolugo.hotelroomoffersearchmenu.Wp752y1o.min.js} +7 -7
- package/dist/{revolugo.hotelroomoffersview.YYq7-L5h.min.js → revolugo.hotelroomoffersview.DLI5HjEV.min.js} +4 -4
- package/dist/{revolugo.hotelroomoffersview.BDUFPxQD.min.js → revolugo.hotelroomoffersview.DjawPPhb.min.js} +21 -21
- package/dist/{revolugo.index.bIefP9Di.min.js → revolugo.index.DmlGotxY.min.js} +73 -73
- package/dist/{revolugo.index.wc.CVg-U7Gx.min.js → revolugo.index.wc.WVpKRxMB.min.js} +97 -97
- package/dist/{revolugo.langpicker.Ccsg-lEF.min.js → revolugo.langpicker.DH2bznjc.min.js} +13 -13
- package/dist/{revolugo.langpickerbtn.CM2mTy7Y.min.js → revolugo.langpickerbtn.DZv8SOmQ.min.js} +4 -4
- package/dist/revolugo.langpickerbtn._diECV_y.min.js +114 -0
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.pathify.BlrRHScz.min.js → revolugo.pathify.BuwB3BVA.min.js} +2 -2
- package/dist/{revolugo.prebookform.B8gqQx-H.min.js → revolugo.prebookform.Bcz1mlsa.min.js} +4 -4
- package/dist/{revolugo.prebookform.fhOF5rTL.min.js → revolugo.prebookform.Bj_b0HkS.min.js} +20 -20
- package/dist/{revolugo.roominglisteditor.CB2ZVVIX.min.js → revolugo.roominglisteditor.C0Rz5zK-.min.js} +17 -17
- package/dist/{revolugo.roominglisteditor.LxMxvTG6.min.js → revolugo.roominglisteditor.C2Q0WwI8.min.js} +4 -4
- package/dist/{revolugo.rounded.CdTdATPg.min.js → revolugo.rounded.9zOj37mK.min.js} +2 -2
- package/dist/{revolugo.ssrboot.D-F25G2D.min.js → revolugo.ssrboot.Dobig8z2.min.js} +2 -2
- package/dist/{revolugo.storybooktoolbar.BDi7kzis.min.js → revolugo.storybooktoolbar.mGWlvD2d.min.js} +45 -45
- package/dist/{revolugo.termsandconditions.ILptE4WJ.min.js → revolugo.termsandconditions.TXeTt1Nc.min.js} +4 -4
- package/dist/{revolugo.termsandconditions.DZ84e8oM.min.js → revolugo.termsandconditions.X_g9eXJQ.min.js} +6 -6
- package/dist/{revolugo.use-breakpoint-service.DPvOP-XF.min.js → revolugo.use-breakpoint-service.B4fTuJ-m.min.js} +6 -6
- package/dist/revolugo.use-dialog-attach.Clv6_XDd.min.js +16 -0
- package/dist/revolugo.use-html-element.BeuzybMb.min.js +11 -0
- package/dist/{revolugo.vautocomplete.DBPq0WdQ.min.js → revolugo.vautocomplete.Ct5J0tRD.min.js} +65 -65
- package/dist/{revolugo.vbadge.CU5xYZyW.min.js → revolugo.vbadge.QbwE0z0S.min.js} +15 -15
- package/dist/{revolugo.vbtn.X3RP4Z34.min.js → revolugo.vbtn.wY8QdelT.min.js} +40 -40
- package/dist/{revolugo.vcard.DfYEYCIx.min.js → revolugo.vcard.B-jDhizq.min.js} +19 -19
- package/dist/{revolugo.vcheckboxbtn.DLdpGWrK.min.js → revolugo.vcheckboxbtn.DOldzxr3.min.js} +41 -41
- package/dist/{revolugo.vdialog.A3glfkAC.min.js → revolugo.vdialog.TOtJcCR5.min.js} +15 -15
- package/dist/{revolugo.vdivider.C8Jprud4.min.js → revolugo.vdivider.C5hf52x9.min.js} +3 -3
- package/dist/{revolugo.vexpansionpanels.xliCx-5-.min.js → revolugo.vexpansionpanels.rpkSdxyn.min.js} +33 -33
- package/dist/{revolugo.vform.BYdqOlKN.min.js → revolugo.vform.D9o42qf6.min.js} +6 -6
- package/dist/{revolugo.vicon.DGbfBJIw.min.js → revolugo.vicon.DNDpBQSo.min.js} +12 -12
- package/dist/{revolugo.vinput.Bh9hEdMF.min.js → revolugo.vinput.Z7Yl1GBk.min.js} +17 -17
- package/dist/{revolugo.vlabel.Dx1aNiVc.min.js → revolugo.vlabel.Bv07dXLJ.min.js} +3 -3
- package/dist/{revolugo.vlist.BMwn1ihP.min.js → revolugo.vlist.Dc4CBbyk.min.js} +46 -46
- package/dist/{revolugo.vmenu.ByEEPO9y.min.js → revolugo.vmenu.M77T6yV3.min.js} +25 -25
- package/dist/{revolugo.vselect.Dzd6zNRa.min.js → revolugo.vselect.ho1sqVZQ.min.js} +63 -63
- package/dist/{revolugo.vsheet.C7bJI8gr.min.js → revolugo.vsheet.gTN06v3j.min.js} +11 -11
- package/dist/{revolugo.vskeletonloader.DcVdfRoT.min.js → revolugo.vskeletonloader.CiGvw4Fx.min.js} +8 -8
- package/dist/{revolugo.vslidegroup.DrV2UvdN.min.js → revolugo.vslidegroup.BmHjyRja.min.js} +38 -38
- package/dist/{revolugo.vsnackbar.C_2qY4Nh.min.js → revolugo.vsnackbar.j4tc9aCn.min.js} +31 -31
- package/dist/revolugo.vspacer.B5ih922c.min.js +7 -0
- package/dist/{revolugo.vtextarea.CPnC6tk4.min.js → revolugo.vtextarea.V23aCbtI.min.js} +28 -28
- package/dist/{revolugo.vtextfield.CnjNadCm.min.js → revolugo.vtextfield.BKLBPM7L.min.js} +54 -54
- package/dist/{revolugo.vtoolbar.CpgasmNE.min.js → revolugo.vtoolbar.Csrzhb69.min.js} +12 -12
- package/dist/{revolugo.vtooltip.F6cVVKxe.min.js → revolugo.vtooltip.D5h38LhM.min.js} +8 -8
- package/dist/{revolugo.vwindowitem.BZMm5BTu.min.js → revolugo.vwindowitem.DwV9VIGY.min.js} +29 -29
- package/dist/{revolugo.watch-list.Bnuh1CzH.min.js → revolugo.watch-list.dDO5YYYm.min.js} +2 -2
- package/dist/{revolugo.webcomponentwrapper.DY-mO-0c.min.js → revolugo.webcomponentwrapper.Ggu2FW__.min.js} +69 -69
- package/package.json +1 -1
- package/dist/css/revolugo.hotelroomofferlist.CCKyS5V3.css +0 -1
- package/dist/revolugo.langpickerbtn.DyJ4Olno.min.js +0 -125
- package/dist/revolugo.use-html-element.Dfl5QKN-.min.js +0 -11
- package/dist/revolugo.vspacer.CP17be9N.min.js +0 -7
@@ -1,29 +1,29 @@
|
|
1
|
-
import {
|
2
|
-
import { s as
|
3
|
-
import { u as
|
4
|
-
import { C as
|
5
|
-
import { B as Ct, a as
|
6
|
-
import { _ as tt, V as P, a as h, u as rt, l as Ut, B as jt, d as
|
7
|
-
import { V as X } from "./revolugo.vskeletonloader.
|
8
|
-
import { a as Ft, B as Gt } from "./revolugo.bhotelroomsdetails.
|
9
|
-
import { _ as
|
10
|
-
import {
|
11
|
-
import { V as
|
12
|
-
import {
|
13
|
-
import {
|
14
|
-
import {
|
15
|
-
import {
|
16
|
-
import { u as
|
17
|
-
import { V as
|
18
|
-
import { V as
|
19
|
-
import { _ as
|
20
|
-
import { V as Z } from "./revolugo.vdivider.
|
21
|
-
import { k as
|
1
|
+
import { af as mt, k as x, bv as Y, J as f, bw as ie, d as j, u as F, i as m, g as C, e as k, t as g, p as S, a as o, f as w, F as y, o as i, P as le, O as $, as as re, b as Mt, c as R, w as a, j as V, r as L, _ as it, $ as lt, a3 as ct, bx as ue, aJ as ce, b3 as de, D as M, m as me, l as fe, by as ut, L as vt, M as ht, n as be, h as pe, B as K, K as ke, E as ve, bz as wt, q as pt, v as Pt, s as he, C as gt, bA as ge, N as ye, bB as yt, bC as Re, a7 as Nt, aj as Oe, ac as et, aT as Ce, aa as Be, bD as Se } from "./revolugo.index.wc.WVpKRxMB.min.js";
|
2
|
+
import { s as Ie, p as we } from "./revolugo.pathify.BuwB3BVA.min.js";
|
3
|
+
import { u as ft, h as Pe } from "./revolugo.hotelroomofferrequestcreator.props.DYl1bNk3.min.js";
|
4
|
+
import { C as _e } from "./revolugo.cancellationpoliciesbadge.CDsOorfl.min.js";
|
5
|
+
import { B as Ct, a as He } from "./revolugo.bpricesummaryskeleton.DoLktkiO.min.js";
|
6
|
+
import { _ as tt, V as P, a as h, u as rt, l as Ut, B as jt, d as Te, q as Ee, s as Ve, b as Ae, g as $e, e as Le } from "./revolugo.webcomponentwrapper.Ggu2FW__.min.js";
|
7
|
+
import { V as X } from "./revolugo.vskeletonloader.CiGvw4Fx.min.js";
|
8
|
+
import { a as Ft, B as Gt } from "./revolugo.bhotelroomsdetails.BZUH-ZM3.min.js";
|
9
|
+
import { _ as dt, a as De } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DhvK2mdJ.min.js";
|
10
|
+
import { r as qe, a as ze, e as Me, L as Ne, s as Ue, m as je, V as Fe } from "./revolugo.index.DmlGotxY.min.js";
|
11
|
+
import { u as Ge, m as We, V as _t } from "./revolugo.vinput.Z7Yl1GBk.min.js";
|
12
|
+
import { b as xe, c as Ht, V as Ye } from "./revolugo.vcheckboxbtn.DOldzxr3.min.js";
|
13
|
+
import { V as at } from "./revolugo.vicon.DNDpBQSo.min.js";
|
14
|
+
import { V as Bt, a as st, m as Ke } from "./revolugo.vbtn.wY8QdelT.min.js";
|
15
|
+
import { B as kt } from "./revolugo.btag.DqKCcO64.min.js";
|
16
|
+
import { u as Ze } from "./revolugo.use-breakpoint-service.B4fTuJ-m.min.js";
|
17
|
+
import { V as Je } from "./revolugo.vselect.ho1sqVZQ.min.js";
|
18
|
+
import { V as Qe } from "./revolugo.vlist.Dc4CBbyk.min.js";
|
19
|
+
import { _ as Xe } from "./revolugo.cancellationpolicieslist.M5d1D5ot.min.js";
|
20
|
+
import { V as Z } from "./revolugo.vdivider.C5hf52x9.min.js";
|
21
|
+
import { k as to, C as eo } from "./revolugo.case-transformers.CZexLFCC.min.js";
|
22
22
|
/* empty css */
|
23
|
-
import { d as
|
24
|
-
import { f as
|
25
|
-
import { V as Tt, m as
|
26
|
-
import { a as
|
23
|
+
import { d as oo } from "./revolugo.defaultsdeep.xStfx1ax.min.js";
|
24
|
+
import { f as ao } from "./revolugo.forwardrefs.VVhh1qV3.min.js";
|
25
|
+
import { V as Tt, m as so, a as Et, b as no } from "./revolugo.vwindowitem.DwV9VIGY.min.js";
|
26
|
+
import { a as Vt, m as io } from "./revolugo.vslidegroup.BmHjyRja.min.js";
|
27
27
|
function ne(t) {
|
28
28
|
try {
|
29
29
|
if (typeof document < "u") {
|
@@ -44,37 +44,37 @@ function ne(t) {
|
|
44
44
|
console.error("[revolugo-elements] ", e);
|
45
45
|
}
|
46
46
|
}
|
47
|
-
function
|
47
|
+
function lo(t) {
|
48
48
|
return (t && t.split(",") || []).map(
|
49
49
|
(e) => Number.parseInt(e)
|
50
50
|
);
|
51
51
|
}
|
52
|
-
const
|
53
|
-
function
|
54
|
-
return t +
|
52
|
+
const ro = 4;
|
53
|
+
function uo(t, e) {
|
54
|
+
return t + lo(e).reduce((n, s) => s >= ro ? n + 1 : n, 0);
|
55
55
|
}
|
56
|
-
function
|
56
|
+
function co(t, e) {
|
57
57
|
return e === void 0 ? Array.from({ length: t }, (n, s) => s) : Array.from({ length: e - t }, (n, s) => t + s);
|
58
58
|
}
|
59
|
-
function
|
60
|
-
const t =
|
59
|
+
function mo() {
|
60
|
+
const t = mt(), e = x(Y.Idle), n = f(
|
61
61
|
() => e.value === Y.BookingPoliciesFetched
|
62
|
-
), s =
|
62
|
+
), s = f(
|
63
63
|
() => e.value === Y.Unavailable
|
64
|
-
), r =
|
64
|
+
), r = f(
|
65
65
|
() => e.value === Y.FetchingBookingPolicies
|
66
66
|
);
|
67
|
-
async function
|
68
|
-
addBreakfast:
|
67
|
+
async function p({
|
68
|
+
addBreakfast: u,
|
69
69
|
hotelId: l,
|
70
|
-
hotelRoomOfferId:
|
70
|
+
hotelRoomOfferId: b
|
71
71
|
}) {
|
72
72
|
e.value = Y.FetchingBookingPolicies;
|
73
73
|
try {
|
74
74
|
await t.createBookingPolicies({
|
75
|
-
addBreakfast:
|
75
|
+
addBreakfast: u,
|
76
76
|
hotelId: l,
|
77
|
-
hotelRoomOfferId:
|
77
|
+
hotelRoomOfferId: b
|
78
78
|
}), e.value = Y.Unavailable, setTimeout(() => {
|
79
79
|
e.value = Y.Idle;
|
80
80
|
}, 1.5 * 1e3);
|
@@ -84,13 +84,13 @@ function uo() {
|
|
84
84
|
}
|
85
85
|
return {
|
86
86
|
bookingState: e,
|
87
|
-
createBookingPolicy:
|
87
|
+
createBookingPolicy: p,
|
88
88
|
isBookingPoliciesSuccessful: n,
|
89
89
|
isBookingPoliciesUnavailable: s,
|
90
90
|
isFetchingBookingPolicies: r
|
91
91
|
};
|
92
92
|
}
|
93
|
-
function
|
93
|
+
function fo(t, e, n) {
|
94
94
|
if (!t)
|
95
95
|
return e;
|
96
96
|
const s = n || ((r) => r);
|
@@ -102,23 +102,23 @@ function co(t, e, n) {
|
|
102
102
|
}
|
103
103
|
return s(t);
|
104
104
|
}
|
105
|
-
function
|
105
|
+
function bo({
|
106
106
|
cb: t,
|
107
107
|
fallbackValue: e,
|
108
108
|
prop: n
|
109
109
|
}) {
|
110
|
-
return
|
111
|
-
const r =
|
112
|
-
return r &&
|
110
|
+
return f(() => {
|
111
|
+
const r = fo(ie(n.value), e, t);
|
112
|
+
return r && oo(structuredClone(r), e || {});
|
113
113
|
});
|
114
114
|
}
|
115
|
-
const
|
115
|
+
const po = { class: "text-right" }, ko = {
|
116
116
|
key: 0,
|
117
117
|
class: "text-grey-darken-3"
|
118
|
-
},
|
118
|
+
}, vo = { class: "text-h6 text-grey-darken-3 font-weight-black" }, ho = {
|
119
119
|
key: 1,
|
120
120
|
class: "my-0 text-caption text-grey-darken-3 d-block"
|
121
|
-
},
|
121
|
+
}, go = { class: "text-caption d-block" }, Wt = /* @__PURE__ */ j({
|
122
122
|
__name: "BPriceSummary",
|
123
123
|
props: {
|
124
124
|
adultCount: { default: 0 },
|
@@ -132,32 +132,32 @@ const fo = { class: "text-right" }, po = {
|
|
132
132
|
taxIncludedPrice: { default: void 0 }
|
133
133
|
},
|
134
134
|
setup(t) {
|
135
|
-
const e = t, { t: n } = F(), s =
|
136
|
-
return (r,
|
137
|
-
r.isStartingPrice ? (i(), m("small",
|
138
|
-
k("b",
|
139
|
-
o(
|
135
|
+
const e = t, { t: n } = F(), s = f(() => e.nightCount <= 0 || e.roomCount <= 0 ? e.price : e.price / e.roomCount / e.nightCount);
|
136
|
+
return (r, p) => (i(), m("div", po, [
|
137
|
+
r.isStartingPrice ? (i(), m("small", ko, g(S(n)("BPriceSummary.from")) + " ", 1)) : C("", !0),
|
138
|
+
k("b", vo, [
|
139
|
+
o(dt, {
|
140
140
|
amount: s.value,
|
141
141
|
"round-mode": r.roundMode
|
142
142
|
}, null, 8, ["amount", "round-mode"])
|
143
143
|
]),
|
144
|
-
(r.roomCount > 1 || r.nightCount > 1 || r.taxIncludedPrice !== r.price) && r.isTaxIncluded ? (i(), m("span",
|
144
|
+
(r.roomCount > 1 || r.nightCount > 1 || r.taxIncludedPrice !== r.price) && r.isTaxIncluded ? (i(), m("span", ho, [
|
145
145
|
k("b", null, [
|
146
|
-
o(
|
146
|
+
o(dt, {
|
147
147
|
amount: r.taxIncludedPrice,
|
148
148
|
"round-mode": r.roundMode
|
149
149
|
}, null, 8, ["amount", "round-mode"])
|
150
150
|
]),
|
151
|
-
w(" " + g(
|
152
|
-
rooms:
|
151
|
+
w(" " + g(S(n)("BPriceSummary.total")) + " " + g(S(n)("BPriceSummary.summary", {
|
152
|
+
rooms: S(n)("BPriceSummary.rooms", { n: r.roomCount })
|
153
153
|
})), 1)
|
154
154
|
])) : C("", !0),
|
155
|
-
k("span",
|
155
|
+
k("span", go, [
|
156
156
|
r.taxIncludedPrice || r.price ? (i(), m(y, { key: 0 }, [
|
157
157
|
r.isTaxIncluded ? (i(), m(y, { key: 0 }, [
|
158
|
-
w(g(
|
158
|
+
w(g(S(n)("BPriceSummary.taxIncluded")), 1)
|
159
159
|
], 64)) : (i(), m(y, { key: 1 }, [
|
160
|
-
w(g(
|
160
|
+
w(g(S(n)("BPriceSummary.taxNotIncluded")), 1)
|
161
161
|
], 64))
|
162
162
|
], 64)) : C("", !0)
|
163
163
|
])
|
@@ -272,11 +272,11 @@ function At(t) {
|
|
272
272
|
}
|
273
273
|
typeof At == "function" && At(Wt);
|
274
274
|
const Rt = /* @__PURE__ */ tt(Wt, [["__scopeId", "data-v-9728292a"]]);
|
275
|
-
function
|
275
|
+
function yo(t, e) {
|
276
276
|
return e ? t.adultCount === e.adultCount && t.checkInDate === e.checkInDate && t.checkOutDate === e.checkOutDate && t.children === e.children && t.hotelId === e.hotelId && t.roomCount === e.roomCount && t.sourceMarket === e.sourceMarket : !1;
|
277
277
|
}
|
278
|
-
function
|
279
|
-
const e =
|
278
|
+
function Ro(t) {
|
279
|
+
const e = ft(), n = Ie(
|
280
280
|
t.checkInDate,
|
281
281
|
t.checkOutDate
|
282
282
|
), s = x({
|
@@ -287,15 +287,15 @@ function go(t) {
|
|
287
287
|
hotelId: t.hotelId,
|
288
288
|
roomCount: t.roomCount,
|
289
289
|
sourceMarket: t.sourceMarket
|
290
|
-
}), r =
|
290
|
+
}), r = f(
|
291
291
|
() => e.hotelRoomOfferRequest(t.hotelId)
|
292
|
-
),
|
292
|
+
), p = le(
|
293
293
|
async function() {
|
294
|
-
const
|
295
|
-
t.hotelRoomOfferRequestId && t.hotelRoomOfferRequestId !==
|
296
|
-
hotelId:
|
294
|
+
const b = s.value, c = r.value;
|
295
|
+
t.hotelRoomOfferRequestId && t.hotelRoomOfferRequestId !== c?.id ? (await e.retrieveHotelRoomOfferRequest({
|
296
|
+
hotelId: b.hotelId,
|
297
297
|
hotelRoomOfferRequestId: t.hotelRoomOfferRequestId
|
298
|
-
}), (!
|
298
|
+
}), (!c || c.hasError) && await e.createHotelRoomOfferRequest(b)) : (!c || !c.id || c.hasError || !yo(b, c)) && await e.createHotelRoomOfferRequest(b);
|
299
299
|
},
|
300
300
|
300
|
301
301
|
);
|
@@ -357,11 +357,11 @@ function go(t) {
|
|
357
357
|
}
|
358
358
|
), $(
|
359
359
|
() => t.hotelId,
|
360
|
-
(l,
|
361
|
-
|
360
|
+
(l, b) => {
|
361
|
+
b && e.deleteHotelRoomOfferRequest(b), s.value = {
|
362
362
|
...s.value,
|
363
363
|
hotelId: l
|
364
|
-
},
|
364
|
+
}, p();
|
365
365
|
}
|
366
366
|
), $(
|
367
367
|
() => t.roomCount,
|
@@ -380,19 +380,19 @@ function go(t) {
|
|
380
380
|
};
|
381
381
|
}
|
382
382
|
);
|
383
|
-
const
|
384
|
-
e.resetHotelRoomOfferRequest(t.hotelId),
|
383
|
+
const u = () => {
|
384
|
+
e.resetHotelRoomOfferRequest(t.hotelId), p();
|
385
385
|
};
|
386
386
|
return $(
|
387
387
|
() => s.value,
|
388
388
|
() => {
|
389
|
-
|
389
|
+
p();
|
390
390
|
},
|
391
391
|
{ deep: !0, immediate: !0 }
|
392
392
|
), $(
|
393
393
|
() => re(),
|
394
394
|
() => {
|
395
|
-
|
395
|
+
u();
|
396
396
|
},
|
397
397
|
{ immediate: !0 }
|
398
398
|
), {
|
@@ -400,7 +400,7 @@ function go(t) {
|
|
400
400
|
hotelRoomOfferRequestInternal: s
|
401
401
|
};
|
402
402
|
}
|
403
|
-
const
|
403
|
+
const Oo = j({
|
404
404
|
components: {
|
405
405
|
BPriceSummarySkeleton: Ct
|
406
406
|
},
|
@@ -415,9 +415,9 @@ const yo = j({
|
|
415
415
|
t
|
416
416
|
};
|
417
417
|
}
|
418
|
-
}),
|
419
|
-
function
|
420
|
-
const
|
418
|
+
}), Co = { class: "d-flex justify-end" };
|
419
|
+
function Bo(t, e, n, s, r, p) {
|
420
|
+
const u = L("BPriceSummarySkeleton");
|
421
421
|
return i(), R(P, {
|
422
422
|
class: "px-2 py-3 pa-sm-4 px-md-3",
|
423
423
|
"no-gutters": ""
|
@@ -435,7 +435,7 @@ function Oo(t, e, n, s, r, b) {
|
|
435
435
|
default: a(() => [
|
436
436
|
o(h, { cols: "12" }, {
|
437
437
|
default: a(() => [
|
438
|
-
|
438
|
+
V(t.$slots, "room-details", {}, () => [
|
439
439
|
o(X, {
|
440
440
|
boilerplate: t.boilerplate,
|
441
441
|
class: "mt-1",
|
@@ -462,14 +462,14 @@ function Oo(t, e, n, s, r, b) {
|
|
462
462
|
style: { gap: "0.3em" }
|
463
463
|
}, {
|
464
464
|
default: a(() => [
|
465
|
-
|
466
|
-
|
465
|
+
V(t.$slots, "breakfast-option-badge"),
|
466
|
+
V(t.$slots, "cancellation-policies")
|
467
467
|
]),
|
468
468
|
_: 3
|
469
469
|
}),
|
470
470
|
o(h, { cols: "12" }, {
|
471
471
|
default: a(() => [
|
472
|
-
|
472
|
+
V(t.$slots, "breakfast-option-switch")
|
473
473
|
]),
|
474
474
|
_: 3
|
475
475
|
})
|
@@ -487,15 +487,15 @@ function Oo(t, e, n, s, r, b) {
|
|
487
487
|
sm: "5"
|
488
488
|
}, {
|
489
489
|
default: a(() => [
|
490
|
-
|
491
|
-
|
492
|
-
o(
|
490
|
+
V(t.$slots, "package-type"),
|
491
|
+
V(t.$slots, "price-summary", {}, () => [
|
492
|
+
o(u, {
|
493
493
|
boilerplate: t.boilerplate,
|
494
494
|
class: "mt-2"
|
495
495
|
}, null, 8, ["boilerplate"])
|
496
496
|
]),
|
497
|
-
k("div",
|
498
|
-
|
497
|
+
k("div", Co, [
|
498
|
+
V(t.$slots, "action", {}, () => [
|
499
499
|
o(X, {
|
500
500
|
class: "mt-2",
|
501
501
|
boilerplate: t.boilerplate,
|
@@ -513,98 +513,7 @@ function Oo(t, e, n, s, r, b) {
|
|
513
513
|
_: 3
|
514
514
|
});
|
515
515
|
}
|
516
|
-
const St = /* @__PURE__ */ tt(
|
517
|
-
isLoading: { type: Boolean },
|
518
|
-
modelValue: {
|
519
|
-
type: Boolean
|
520
|
-
},
|
521
|
-
price: {
|
522
|
-
required: !0,
|
523
|
-
type: Number
|
524
|
-
}
|
525
|
-
}, xt = j({
|
526
|
-
components: {
|
527
|
-
BTag: ct
|
528
|
-
},
|
529
|
-
computed: {
|
530
|
-
formattedPrice() {
|
531
|
-
return $e({
|
532
|
-
amount: this.price,
|
533
|
-
currency: this.config.currency,
|
534
|
-
locale: this.$i18n.locale
|
535
|
-
});
|
536
|
-
}
|
537
|
-
},
|
538
|
-
data() {
|
539
|
-
return {
|
540
|
-
valueLocal: this.modelValue
|
541
|
-
};
|
542
|
-
},
|
543
|
-
name: "BBreakfastSwitch",
|
544
|
-
props: Co,
|
545
|
-
setup() {
|
546
|
-
const { t } = F();
|
547
|
-
return {
|
548
|
-
t
|
549
|
-
};
|
550
|
-
},
|
551
|
-
watch: {
|
552
|
-
valueLocal(t) {
|
553
|
-
this.$emit("update:modelValue", t);
|
554
|
-
}
|
555
|
-
}
|
556
|
-
});
|
557
|
-
function $t(t) {
|
558
|
-
const e = t;
|
559
|
-
e.__i18n = e.__i18n || [], e.__i18n.push({
|
560
|
-
locale: "",
|
561
|
-
resource: {
|
562
|
-
"en-US": {
|
563
|
-
BBreakfastSwitch: {
|
564
|
-
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Breakfast" } },
|
565
|
-
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / guest / night" }] } }
|
566
|
-
}
|
567
|
-
},
|
568
|
-
"fr-FR": {
|
569
|
-
BBreakfastSwitch: {
|
570
|
-
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Petit-déjeuner" } },
|
571
|
-
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / client / nuit" }] } }
|
572
|
-
}
|
573
|
-
},
|
574
|
-
"de-DE": {
|
575
|
-
BBreakfastSwitch: {
|
576
|
-
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Frühstück" } },
|
577
|
-
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / Gast / Nacht" }] } }
|
578
|
-
}
|
579
|
-
},
|
580
|
-
"es-ES": {
|
581
|
-
BBreakfastSwitch: {
|
582
|
-
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Desayuno" } },
|
583
|
-
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / huésped / noche" }] } }
|
584
|
-
}
|
585
|
-
},
|
586
|
-
"it-IT": {
|
587
|
-
BBreakfastSwitch: {
|
588
|
-
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Colazione" } },
|
589
|
-
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / ospite / notte" }] } }
|
590
|
-
}
|
591
|
-
},
|
592
|
-
"nl-NL": {
|
593
|
-
BBreakfastSwitch: {
|
594
|
-
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ontbijt" } },
|
595
|
-
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / gast / nacht" }] } }
|
596
|
-
}
|
597
|
-
},
|
598
|
-
"pt-PT": {
|
599
|
-
BBreakfastSwitch: {
|
600
|
-
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pequeno-almoço" } },
|
601
|
-
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / hóspede / noite" }] } }
|
602
|
-
}
|
603
|
-
}
|
604
|
-
}
|
605
|
-
});
|
606
|
-
}
|
607
|
-
const Bo = lt({
|
516
|
+
const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
608
517
|
indeterminate: Boolean,
|
609
518
|
inset: Boolean,
|
610
519
|
flat: Boolean,
|
@@ -612,12 +521,12 @@ const Bo = lt({
|
|
612
521
|
type: [Boolean, String],
|
613
522
|
default: !1
|
614
523
|
},
|
615
|
-
...
|
616
|
-
...
|
617
|
-
}, "VSwitch"),
|
524
|
+
...We(),
|
525
|
+
...xe()
|
526
|
+
}, "VSwitch"), Io = it()({
|
618
527
|
name: "VSwitch",
|
619
528
|
inheritAttrs: !1,
|
620
|
-
props:
|
529
|
+
props: So(),
|
621
530
|
emits: {
|
622
531
|
"update:focused": (t) => !0,
|
623
532
|
"update:modelValue": (t) => !0,
|
@@ -628,21 +537,21 @@ const Bo = lt({
|
|
628
537
|
attrs: n,
|
629
538
|
slots: s
|
630
539
|
} = e;
|
631
|
-
const r =
|
632
|
-
loaderClasses:
|
633
|
-
} =
|
540
|
+
const r = ct(t, "indeterminate"), p = ct(t, "modelValue"), {
|
541
|
+
loaderClasses: u
|
542
|
+
} = qe(t), {
|
634
543
|
isFocused: l,
|
635
|
-
focus:
|
636
|
-
blur:
|
637
|
-
} =
|
544
|
+
focus: b,
|
545
|
+
blur: c
|
546
|
+
} = Ge(t), I = x(), T = ue && window.matchMedia("(forced-colors: active)").matches, v = f(() => typeof t.loading == "string" && t.loading !== "" ? t.loading : t.color), _ = ce(), z = f(() => t.id || `switch-${_}`);
|
638
547
|
function J() {
|
639
548
|
r.value && (r.value = !1);
|
640
549
|
}
|
641
|
-
function D(
|
642
|
-
|
550
|
+
function D(E) {
|
551
|
+
E.stopPropagation(), E.preventDefault(), I.value?.input?.click();
|
643
552
|
}
|
644
553
|
return rt(() => {
|
645
|
-
const [
|
554
|
+
const [E, G] = de(n), N = _t.filterProps(t), Q = Ht.filterProps(t);
|
646
555
|
return o(_t, M({
|
647
556
|
class: ["v-switch", {
|
648
557
|
"v-switch--flat": t.flat
|
@@ -650,10 +559,10 @@ const Bo = lt({
|
|
650
559
|
"v-switch--inset": t.inset
|
651
560
|
}, {
|
652
561
|
"v-switch--indeterminate": r.value
|
653
|
-
},
|
654
|
-
},
|
655
|
-
modelValue:
|
656
|
-
"onUpdate:modelValue": (B) =>
|
562
|
+
}, u.value, t.class]
|
563
|
+
}, E, N, {
|
564
|
+
modelValue: p.value,
|
565
|
+
"onUpdate:modelValue": (B) => p.value = B,
|
657
566
|
id: z.value,
|
658
567
|
focused: l.value,
|
659
568
|
style: t.style
|
@@ -667,23 +576,23 @@ const Bo = lt({
|
|
667
576
|
isReadonly: nt,
|
668
577
|
isValid: ot
|
669
578
|
} = B;
|
670
|
-
const
|
671
|
-
model:
|
579
|
+
const d = {
|
580
|
+
model: p,
|
672
581
|
isValid: ot
|
673
582
|
};
|
674
583
|
return o(Ht, M({
|
675
|
-
ref:
|
584
|
+
ref: I
|
676
585
|
}, Q, {
|
677
|
-
modelValue:
|
678
|
-
"onUpdate:modelValue": [(H) =>
|
586
|
+
modelValue: p.value,
|
587
|
+
"onUpdate:modelValue": [(H) => p.value = H, J],
|
679
588
|
id: A.value,
|
680
589
|
"aria-describedby": W.value,
|
681
590
|
type: "checkbox",
|
682
591
|
"aria-checked": r.value ? "mixed" : void 0,
|
683
592
|
disabled: U.value,
|
684
593
|
readonly: nt.value,
|
685
|
-
onFocus:
|
686
|
-
onBlur:
|
594
|
+
onFocus: b,
|
595
|
+
onBlur: c
|
687
596
|
}, G), {
|
688
597
|
...s,
|
689
598
|
default: (H) => {
|
@@ -698,10 +607,10 @@ const Bo = lt({
|
|
698
607
|
}, [s["track-true"] && o("div", {
|
699
608
|
key: "prepend",
|
700
609
|
class: "v-switch__track-true"
|
701
|
-
}, [s["track-true"](
|
610
|
+
}, [s["track-true"](d)]), s["track-false"] && o("div", {
|
702
611
|
key: "append",
|
703
612
|
class: "v-switch__track-false"
|
704
|
-
}, [s["track-false"](
|
613
|
+
}, [s["track-false"](d)])]);
|
705
614
|
},
|
706
615
|
input: (H) => {
|
707
616
|
let {
|
@@ -715,7 +624,7 @@ const Bo = lt({
|
|
715
624
|
"v-switch__thumb--filled": q || t.loading
|
716
625
|
}, t.inset || T ? void 0 : ae.value],
|
717
626
|
style: t.inset ? void 0 : se.value
|
718
|
-
}, [s.thumb ? o(
|
627
|
+
}, [s.thumb ? o(ze, {
|
719
628
|
defaults: {
|
720
629
|
VIcon: {
|
721
630
|
icon: q,
|
@@ -724,11 +633,11 @@ const Bo = lt({
|
|
724
633
|
}
|
725
634
|
}, {
|
726
635
|
default: () => [s.thumb({
|
727
|
-
...
|
636
|
+
...d,
|
728
637
|
icon: q
|
729
638
|
})]
|
730
|
-
}) : o(
|
731
|
-
default: () => [t.loading ? o(
|
639
|
+
}) : o(Me, null, {
|
640
|
+
default: () => [t.loading ? o(Ne, {
|
732
641
|
name: "v-switch",
|
733
642
|
active: !0,
|
734
643
|
color: ot.value === !1 ? void 0 : v.value
|
@@ -752,44 +661,112 @@ const Bo = lt({
|
|
752
661
|
});
|
753
662
|
}), {};
|
754
663
|
}
|
755
|
-
}),
|
756
|
-
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
density: "compact",
|
762
|
-
size: "small",
|
763
|
-
color: "primary",
|
764
|
-
loading: t.isLoading && "success"
|
664
|
+
}), wo = { class: "text-caption ml-n3" }, Po = { class: "mr-2" }, _o = ["innerHTML"], xt = /* @__PURE__ */ j({
|
665
|
+
__name: "BBreakfastSwitch",
|
666
|
+
props: /* @__PURE__ */ me({
|
667
|
+
isLoading: { type: Boolean },
|
668
|
+
price: {},
|
669
|
+
currency: {}
|
765
670
|
}, {
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
671
|
+
modelValue: { type: Boolean },
|
672
|
+
modelModifiers: {}
|
673
|
+
}),
|
674
|
+
emits: ["update:modelValue"],
|
675
|
+
setup(t) {
|
676
|
+
const { locale: e, t: n } = F(), s = fe(t, "modelValue"), r = f(
|
677
|
+
() => De({
|
678
|
+
amount: t.price,
|
679
|
+
currency: t.currency,
|
680
|
+
locale: e.value
|
681
|
+
})
|
682
|
+
);
|
683
|
+
return (p, u) => (i(), R(Io, {
|
684
|
+
modelValue: s.value,
|
685
|
+
"onUpdate:modelValue": u[0] || (u[0] = (l) => s.value = l),
|
686
|
+
class: "ma-0 pa-0 breakfast-switch d-inline-block",
|
687
|
+
density: "compact",
|
688
|
+
size: "small",
|
689
|
+
color: "primary",
|
690
|
+
loading: p.isLoading && "success"
|
691
|
+
}, {
|
692
|
+
label: a(() => [
|
693
|
+
k("div", wo, [
|
694
|
+
o(at, {
|
695
|
+
size: "12",
|
696
|
+
class: "ml-4 mr-2"
|
697
|
+
}, {
|
698
|
+
default: a(() => u[1] || (u[1] = [
|
699
|
+
w(" fas fa-coffee ")
|
700
|
+
])),
|
701
|
+
_: 1,
|
702
|
+
__: [1]
|
703
|
+
}),
|
704
|
+
u[2] || (u[2] = w(" ")),
|
705
|
+
k("span", Po, g(S(n)("BBreakfastSwitch.title")), 1),
|
706
|
+
k("span", {
|
707
|
+
innerHTML: S(n)("BBreakfastSwitch.price", { n: r.value }).replace(
|
708
|
+
/\s/gu,
|
709
|
+
" "
|
710
|
+
)
|
711
|
+
}, null, 8, _o)
|
712
|
+
])
|
713
|
+
]),
|
714
|
+
_: 1
|
715
|
+
}, 8, ["modelValue", "loading"]));
|
716
|
+
}
|
717
|
+
});
|
718
|
+
function $t(t) {
|
719
|
+
const e = t;
|
720
|
+
e.__i18n = e.__i18n || [], e.__i18n.push({
|
721
|
+
locale: "",
|
722
|
+
resource: {
|
723
|
+
"en-US": {
|
724
|
+
BBreakfastSwitch: {
|
725
|
+
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Breakfast" } },
|
726
|
+
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / guest / night" }] } }
|
727
|
+
}
|
728
|
+
},
|
729
|
+
"fr-FR": {
|
730
|
+
BBreakfastSwitch: {
|
731
|
+
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Petit-déjeuner" } },
|
732
|
+
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / client / nuit" }] } }
|
733
|
+
}
|
734
|
+
},
|
735
|
+
"de-DE": {
|
736
|
+
BBreakfastSwitch: {
|
737
|
+
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Frühstück" } },
|
738
|
+
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / Gast / Nacht" }] } }
|
739
|
+
}
|
740
|
+
},
|
741
|
+
"es-ES": {
|
742
|
+
BBreakfastSwitch: {
|
743
|
+
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Desayuno" } },
|
744
|
+
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / huésped / noche" }] } }
|
745
|
+
}
|
746
|
+
},
|
747
|
+
"it-IT": {
|
748
|
+
BBreakfastSwitch: {
|
749
|
+
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Colazione" } },
|
750
|
+
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / ospite / notte" }] } }
|
751
|
+
}
|
752
|
+
},
|
753
|
+
"nl-NL": {
|
754
|
+
BBreakfastSwitch: {
|
755
|
+
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ontbijt" } },
|
756
|
+
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / gast / nacht" }] } }
|
757
|
+
}
|
758
|
+
},
|
759
|
+
"pt-PT": {
|
760
|
+
BBreakfastSwitch: {
|
761
|
+
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pequeno-almoço" } },
|
762
|
+
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / hóspede / noite" }] } }
|
763
|
+
}
|
764
|
+
}
|
765
|
+
}
|
766
|
+
});
|
790
767
|
}
|
791
768
|
typeof $t == "function" && $t(xt);
|
792
|
-
const Yt = /* @__PURE__ */ tt(xt, [["
|
769
|
+
const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
793
770
|
breakfastCount: {
|
794
771
|
type: Number
|
795
772
|
},
|
@@ -827,10 +804,10 @@ const Yt = /* @__PURE__ */ tt(xt, [["render", _o], ["__scopeId", "data-v-9a8c934
|
|
827
804
|
tags: { type: Array },
|
828
805
|
taxIncludedPrice: { required: !0, type: Number },
|
829
806
|
type: { type: String }
|
830
|
-
}, To = { key: 0 },
|
807
|
+
}, To = { key: 0 }, Eo = {
|
831
808
|
class: "align-self-center d-flex flex-wrap",
|
832
809
|
style: { gap: "0.3em" }
|
833
|
-
},
|
810
|
+
}, Vo = {
|
834
811
|
class: "align-self-center d-inline-flex flex-wrap",
|
835
812
|
style: { gap: "0.3em" }
|
836
813
|
}, Ao = { class: "text-caption" }, $o = { key: 0 }, Lo = { key: 1 }, Kt = /* @__PURE__ */ j({
|
@@ -838,25 +815,25 @@ const Yt = /* @__PURE__ */ tt(xt, [["render", _o], ["__scopeId", "data-v-9a8c934
|
|
838
815
|
props: Ho,
|
839
816
|
emits: ["breakfast-change", "update:modelValue", "booking-policy-failed"],
|
840
817
|
setup(t, { emit: e }) {
|
841
|
-
const n = t, { t: s } = F(), { eventBus: r } =
|
818
|
+
const n = t, { t: s } = F(), { eventBus: r } = ke(), p = e, u = x(
|
842
819
|
n.breakfastCount && n.breakfastCount > 0 || !1
|
843
820
|
);
|
844
|
-
$(
|
845
|
-
|
846
|
-
addBreakfast:
|
821
|
+
$(u, (d) => {
|
822
|
+
p("breakfast-change", {
|
823
|
+
addBreakfast: d,
|
847
824
|
hotelId: n.hotelId,
|
848
825
|
id: n.id
|
849
826
|
});
|
850
827
|
});
|
851
|
-
const l =
|
828
|
+
const l = ft(), b = mt(), c = f(
|
852
829
|
() => l.hotelRoomOfferRequest(n.hotelId)
|
853
|
-
),
|
854
|
-
() => n.count ?
|
855
|
-
), _ =
|
856
|
-
() =>
|
857
|
-
), z =
|
830
|
+
), I = f(() => c.value?.adultCount), T = f(() => c.value?.checkInDate), v = f(
|
831
|
+
() => n.count ? co(n.count + 1) : []
|
832
|
+
), _ = f(
|
833
|
+
() => b.hotelTimezone(n.hotelId)
|
834
|
+
), z = f(
|
858
835
|
() => l.nightCount(n.hotelId)
|
859
|
-
), J =
|
836
|
+
), J = f(() => {
|
860
837
|
switch (n.packageType) {
|
861
838
|
case ut.Cheapest:
|
862
839
|
return "red";
|
@@ -868,42 +845,42 @@ const Yt = /* @__PURE__ */ tt(xt, [["render", _o], ["__scopeId", "data-v-9a8c934
|
|
868
845
|
default:
|
869
846
|
return "";
|
870
847
|
}
|
871
|
-
}), D =
|
872
|
-
() => n.hotelRooms.reduce((
|
873
|
-
),
|
848
|
+
}), D = f(
|
849
|
+
() => n.hotelRooms.reduce((d, H) => d + (H.count || 0), 0)
|
850
|
+
), E = f({
|
874
851
|
get() {
|
875
852
|
return n.modelValue;
|
876
853
|
},
|
877
|
-
set(
|
878
|
-
|
854
|
+
set(d) {
|
855
|
+
p("update:modelValue", d);
|
879
856
|
}
|
880
|
-
}), G =
|
881
|
-
() => n.tags?.filter((
|
882
|
-
), N =
|
883
|
-
() => n.tags?.filter((
|
857
|
+
}), G = f(
|
858
|
+
() => n.tags?.filter((d) => d.name.length > 30) || []
|
859
|
+
), N = f(
|
860
|
+
() => n.tags?.filter((d) => d.name.length < 30) || []
|
884
861
|
), {
|
885
862
|
bookingState: Q,
|
886
863
|
createBookingPolicy: B,
|
887
864
|
isBookingPoliciesSuccessful: A,
|
888
865
|
isBookingPoliciesUnavailable: W,
|
889
866
|
isFetchingBookingPolicies: U
|
890
|
-
} =
|
891
|
-
$(Q, (
|
892
|
-
|
867
|
+
} = mo();
|
868
|
+
$(Q, (d) => {
|
869
|
+
d === Y.Unavailable && p("booking-policy-failed", n.id);
|
893
870
|
});
|
894
871
|
async function nt() {
|
895
|
-
const
|
872
|
+
const d = {
|
896
873
|
...n,
|
897
874
|
currency: n.currency
|
898
875
|
};
|
899
|
-
r.$emit(
|
900
|
-
addBreakfast:
|
876
|
+
r.$emit(ve.HotelRoomOffersBtnClick, d), await B({
|
877
|
+
addBreakfast: u.value,
|
901
878
|
hotelId: n.hotelId,
|
902
879
|
hotelRoomOfferId: n.id
|
903
880
|
});
|
904
881
|
}
|
905
882
|
const ot = x(null);
|
906
|
-
return
|
883
|
+
return Ze(ot), (d, H) => (i(), m("div", {
|
907
884
|
class: "position-relative",
|
908
885
|
ref_key: "root",
|
909
886
|
ref: ot
|
@@ -911,58 +888,59 @@ const Yt = /* @__PURE__ */ tt(xt, [["render", _o], ["__scopeId", "data-v-9a8c934
|
|
911
888
|
o(St, { key: "is-available" }, {
|
912
889
|
"room-details": a(() => [
|
913
890
|
o(Gt, {
|
914
|
-
"hotel-rooms":
|
891
|
+
"hotel-rooms": d.hotelRooms
|
915
892
|
}, null, 8, ["hotel-rooms"])
|
916
893
|
]),
|
917
894
|
"package-type": a(() => [
|
918
|
-
|
895
|
+
d.type === "PACKAGE" && d.packageType !== "REGULAR" ? (i(), R(kt, {
|
919
896
|
key: 0,
|
920
897
|
class: "mb-3",
|
921
898
|
color: J.value,
|
922
899
|
variant: "outlined"
|
923
900
|
}, {
|
924
901
|
description: a(() => [
|
925
|
-
w(g(
|
926
|
-
`HotelRoomOfferItem.packageTypes.${
|
927
|
-
{ n:
|
902
|
+
w(g(S(s)(
|
903
|
+
`HotelRoomOfferItem.packageTypes.${d.packageType}.description`,
|
904
|
+
{ n: I.value }
|
928
905
|
)), 1)
|
929
906
|
]),
|
930
907
|
default: a(() => [
|
931
|
-
w(g(
|
932
|
-
n:
|
908
|
+
w(g(S(s)(`HotelRoomOfferItem.packageTypes.${d.packageType}.title`, {
|
909
|
+
n: I.value
|
933
910
|
})) + " ", 1)
|
934
911
|
]),
|
935
912
|
_: 1
|
936
913
|
}, 8, ["color"])) : C("", !0)
|
937
914
|
]),
|
938
915
|
"cancellation-policies": a(() => [
|
939
|
-
o(
|
916
|
+
o(_e, {
|
940
917
|
class: "mt-2",
|
941
|
-
"cancellation-policies":
|
918
|
+
"cancellation-policies": d.cancellationPolicies,
|
942
919
|
"check-in-date": T.value,
|
943
920
|
timezone: _.value
|
944
921
|
}, null, 8, ["cancellation-policies", "check-in-date", "timezone"])
|
945
922
|
]),
|
946
923
|
"breakfast-option-badge": a(() => [
|
947
924
|
o(Ft, {
|
948
|
-
"breakfast-option":
|
949
|
-
breakfastCount:
|
925
|
+
"breakfast-option": d.breakfastCount && d.breakfastCount > 0 ? "INCLUDED" : d.breakfastOption,
|
926
|
+
breakfastCount: d.breakfastCount ?? void 0
|
950
927
|
}, null, 8, ["breakfast-option", "breakfastCount"])
|
951
928
|
]),
|
952
929
|
"breakfast-option-switch": a(() => [
|
953
|
-
|
930
|
+
d.type !== "HOTEL_ROOM" && d.breakfastOption === "OPTIONAL" ? (i(), m("div", To, [
|
954
931
|
o(Yt, {
|
955
|
-
modelValue:
|
956
|
-
"onUpdate:modelValue": H[0] || (H[0] = (O) =>
|
932
|
+
modelValue: u.value,
|
933
|
+
"onUpdate:modelValue": H[0] || (H[0] = (O) => u.value = O),
|
957
934
|
class: "mt-3 pl-1",
|
958
|
-
|
959
|
-
|
960
|
-
|
935
|
+
currency: d.currency,
|
936
|
+
"is-loading": d.isLoading,
|
937
|
+
price: d.breakfastUnitPrice ?? 0
|
938
|
+
}, null, 8, ["modelValue", "currency", "is-loading", "price"])
|
961
939
|
])) : C("", !0)
|
962
940
|
]),
|
963
941
|
"big-tags": a(() => [
|
964
|
-
k("div",
|
965
|
-
(i(!0), m(y, null, K(G.value, (O, q) => (i(), R(
|
942
|
+
k("div", Eo, [
|
943
|
+
(i(!0), m(y, null, K(G.value, (O, q) => (i(), R(kt, {
|
966
944
|
key: q,
|
967
945
|
color: O.bg,
|
968
946
|
"pre-icon": `fa-${O.faIcon}`,
|
@@ -977,8 +955,8 @@ const Yt = /* @__PURE__ */ tt(xt, [["render", _o], ["__scopeId", "data-v-9a8c934
|
|
977
955
|
])
|
978
956
|
]),
|
979
957
|
tags: a(() => [
|
980
|
-
k("div",
|
981
|
-
(i(!0), m(y, null, K(N.value, (O, q) => (i(), R(
|
958
|
+
k("div", Vo, [
|
959
|
+
(i(!0), m(y, null, K(N.value, (O, q) => (i(), R(kt, {
|
982
960
|
key: q,
|
983
961
|
color: O.bg,
|
984
962
|
"pre-icon": `fa-${O.faIcon}`,
|
@@ -993,7 +971,7 @@ const Yt = /* @__PURE__ */ tt(xt, [["render", _o], ["__scopeId", "data-v-9a8c934
|
|
993
971
|
])
|
994
972
|
]),
|
995
973
|
"price-summary": a(() => [
|
996
|
-
|
974
|
+
d.type === "HOTEL_ROOM" ? (i(), m(y, { key: 0 }, [
|
997
975
|
o(P, {
|
998
976
|
class: "mt-md-8",
|
999
977
|
"no-gutters": ""
|
@@ -1006,7 +984,7 @@ const Yt = /* @__PURE__ */ tt(xt, [["render", _o], ["__scopeId", "data-v-9a8c934
|
|
1006
984
|
class: "text-right",
|
1007
985
|
"is-tax-included": !1,
|
1008
986
|
"night-count": 0,
|
1009
|
-
price:
|
987
|
+
price: d.price,
|
1010
988
|
"room-count": 0
|
1011
989
|
}, null, 8, ["price"])
|
1012
990
|
]),
|
@@ -1026,9 +1004,9 @@ const Yt = /* @__PURE__ */ tt(xt, [["render", _o], ["__scopeId", "data-v-9a8c934
|
|
1026
1004
|
}, {
|
1027
1005
|
default: a(() => [
|
1028
1006
|
k("div", null, [
|
1029
|
-
o(
|
1030
|
-
modelValue:
|
1031
|
-
"onUpdate:modelValue": H[1] || (H[1] = (O) =>
|
1007
|
+
o(Je, {
|
1008
|
+
modelValue: E.value,
|
1009
|
+
"onUpdate:modelValue": H[1] || (H[1] = (O) => E.value = O),
|
1032
1010
|
class: "item-count mt-2",
|
1033
1011
|
density: "compact",
|
1034
1012
|
"hide-details": "",
|
@@ -1039,14 +1017,14 @@ const Yt = /* @__PURE__ */ tt(xt, [["render", _o], ["__scopeId", "data-v-9a8c934
|
|
1039
1017
|
variant: "outlined"
|
1040
1018
|
}, {
|
1041
1019
|
item: a(({ item: O, props: q }) => [
|
1042
|
-
o(
|
1020
|
+
o(Qe, be(pe(q)), {
|
1043
1021
|
title: a(() => [
|
1044
1022
|
k("span", Ao, [
|
1045
1023
|
w(g(O.raw) + " ", 1),
|
1046
1024
|
O.raw ? (i(), m(y, { key: 0 }, [
|
1047
1025
|
H[2] || (H[2] = w(" (")),
|
1048
|
-
o(
|
1049
|
-
amount: O.raw *
|
1026
|
+
o(dt, {
|
1027
|
+
amount: O.raw * d.price
|
1050
1028
|
}, null, 8, ["amount"]),
|
1051
1029
|
H[3] || (H[3] = w(") "))
|
1052
1030
|
], 64)) : C("", !0)
|
@@ -1066,29 +1044,29 @@ const Yt = /* @__PURE__ */ tt(xt, [["render", _o], ["__scopeId", "data-v-9a8c934
|
|
1066
1044
|
})
|
1067
1045
|
], 64)) : (i(), R(Rt, {
|
1068
1046
|
key: 1,
|
1069
|
-
"adult-count":
|
1047
|
+
"adult-count": I.value,
|
1070
1048
|
class: "text-right",
|
1071
1049
|
"is-tax-included": "",
|
1072
1050
|
"night-count": z.value ?? 0,
|
1073
|
-
price:
|
1051
|
+
price: d.price,
|
1074
1052
|
"room-count": D.value,
|
1075
1053
|
"round-mode": "ceil",
|
1076
|
-
"tax-included-price":
|
1054
|
+
"tax-included-price": d.taxIncludedPrice
|
1077
1055
|
}, null, 8, ["adult-count", "night-count", "price", "room-count", "tax-included-price"]))
|
1078
1056
|
]),
|
1079
1057
|
action: a(() => [
|
1080
|
-
|
1058
|
+
d.type === "PACKAGE" ? (i(), R(st, {
|
1081
1059
|
key: 0,
|
1082
1060
|
class: "text-none font-weight-bold book-btn w-100 w-sm-auto",
|
1083
|
-
color:
|
1084
|
-
disabled:
|
1061
|
+
color: S(A) ? "success" : "primary",
|
1062
|
+
disabled: S(U) || S(W) || d.isLoading,
|
1085
1063
|
elevation: "0",
|
1086
|
-
loading:
|
1064
|
+
loading: S(U),
|
1087
1065
|
size: "small",
|
1088
1066
|
onClick: nt
|
1089
1067
|
}, {
|
1090
1068
|
default: a(() => [
|
1091
|
-
|
1069
|
+
S(A) ? C("", !0) : (i(), m("span", $o, g(S(s)("HotelRoomOfferItem.book")), 1)),
|
1092
1070
|
vt(o(at, { class: "position-absolute" }, {
|
1093
1071
|
default: a(() => H[4] || (H[4] = [
|
1094
1072
|
w(" fas fa-check ")
|
@@ -1096,7 +1074,7 @@ const Yt = /* @__PURE__ */ tt(xt, [["render", _o], ["__scopeId", "data-v-9a8c934
|
|
1096
1074
|
_: 1,
|
1097
1075
|
__: [4]
|
1098
1076
|
}, 512), [
|
1099
|
-
[ht,
|
1077
|
+
[ht, S(A)]
|
1100
1078
|
])
|
1101
1079
|
]),
|
1102
1080
|
_: 1
|
@@ -1104,7 +1082,7 @@ const Yt = /* @__PURE__ */ tt(xt, [["render", _o], ["__scopeId", "data-v-9a8c934
|
|
1104
1082
|
]),
|
1105
1083
|
_: 1
|
1106
1084
|
}),
|
1107
|
-
|
1085
|
+
d.isLoading ? (i(), R(Ut, {
|
1108
1086
|
key: 0,
|
1109
1087
|
absolute: "",
|
1110
1088
|
class: "mx-n4",
|
@@ -1120,15 +1098,15 @@ const Yt = /* @__PURE__ */ tt(xt, [["render", _o], ["__scopeId", "data-v-9a8c934
|
|
1120
1098
|
]),
|
1121
1099
|
_: 1
|
1122
1100
|
})) : C("", !0),
|
1123
|
-
|
1101
|
+
S(W) || d.gone ? (i(), R(jt, {
|
1124
1102
|
key: 1,
|
1125
1103
|
"margin-top": 16
|
1126
1104
|
}, {
|
1127
1105
|
title: a(() => [
|
1128
|
-
w(g(
|
1106
|
+
w(g(S(s)("HotelRoomOfferItem.unavailable.title")), 1)
|
1129
1107
|
]),
|
1130
1108
|
description: a(() => [
|
1131
|
-
w(g(
|
1109
|
+
w(g(S(s)("HotelRoomOfferItem.unavailable.description")), 1)
|
1132
1110
|
]),
|
1133
1111
|
_: 1
|
1134
1112
|
})) : C("", !0)
|
@@ -1305,9 +1283,9 @@ function Lt(t) {
|
|
1305
1283
|
});
|
1306
1284
|
}
|
1307
1285
|
typeof Lt == "function" && Lt(Kt);
|
1308
|
-
const Zt = /* @__PURE__ */ tt(Kt, [["__scopeId", "data-v-
|
1286
|
+
const Zt = /* @__PURE__ */ tt(Kt, [["__scopeId", "data-v-2eaf1597"]]), Do = j({
|
1309
1287
|
components: {
|
1310
|
-
BHotelRoomsDetailsSkeleton:
|
1288
|
+
BHotelRoomsDetailsSkeleton: He,
|
1311
1289
|
BPriceSummarySkeleton: Ct
|
1312
1290
|
},
|
1313
1291
|
name: "BBasketSummaryLayout",
|
@@ -1318,8 +1296,8 @@ const Zt = /* @__PURE__ */ tt(Kt, [["__scopeId", "data-v-3b7a3453"]]), Do = j({
|
|
1318
1296
|
};
|
1319
1297
|
}
|
1320
1298
|
}), qo = { class: "text-subtitle-1 font-weight-black text-primary d-flex justify-end" }, zo = { class: "text-caption d-flex justify-end py-2" }, Mo = { class: "mt-3 d-flex justify-start align-center" }, No = { class: "pt-4" };
|
1321
|
-
function Uo(t, e, n, s, r,
|
1322
|
-
const
|
1299
|
+
function Uo(t, e, n, s, r, p) {
|
1300
|
+
const u = L("BHotelRoomsDetailsSkeleton"), l = L("BPriceSummarySkeleton");
|
1323
1301
|
return i(), R(P, { class: "px-2" }, {
|
1324
1302
|
default: a(() => [
|
1325
1303
|
o(h, null, {
|
@@ -1329,7 +1307,7 @@ function Uo(t, e, n, s, r, b) {
|
|
1329
1307
|
o(h, null, {
|
1330
1308
|
default: a(() => [
|
1331
1309
|
k("div", qo, [
|
1332
|
-
|
1310
|
+
V(t.$slots, "title", {}, () => [
|
1333
1311
|
o(X, {
|
1334
1312
|
height: "18px",
|
1335
1313
|
tile: "",
|
@@ -1349,7 +1327,7 @@ function Uo(t, e, n, s, r, b) {
|
|
1349
1327
|
o(h, null, {
|
1350
1328
|
default: a(() => [
|
1351
1329
|
k("div", zo, [
|
1352
|
-
|
1330
|
+
V(t.$slots, "adult-count", {}, () => [
|
1353
1331
|
o(X, {
|
1354
1332
|
tile: "",
|
1355
1333
|
type: "text",
|
@@ -1358,7 +1336,7 @@ function Uo(t, e, n, s, r, b) {
|
|
1358
1336
|
])
|
1359
1337
|
]),
|
1360
1338
|
k("div", Mo, [
|
1361
|
-
|
1339
|
+
V(t.$slots, "secondary-title", {}, () => [
|
1362
1340
|
o(X, {
|
1363
1341
|
height: "18px",
|
1364
1342
|
tile: "",
|
@@ -1373,17 +1351,17 @@ function Uo(t, e, n, s, r, b) {
|
|
1373
1351
|
]),
|
1374
1352
|
_: 3
|
1375
1353
|
}),
|
1376
|
-
|
1354
|
+
V(t.$slots, "hotel-rooms", {}, () => [
|
1377
1355
|
k("div", No, [
|
1378
|
-
(i(), m(y, null, K(2, (
|
1379
|
-
key: `item-skeleton-${
|
1356
|
+
(i(), m(y, null, K(2, (b) => (i(), m(y, {
|
1357
|
+
key: `item-skeleton-${b}`
|
1380
1358
|
}, [
|
1381
1359
|
k("div", null, [
|
1382
1360
|
o(P, { align: "center" }, {
|
1383
1361
|
default: a(() => [
|
1384
1362
|
o(h, { cols: "auto" }, {
|
1385
1363
|
default: a(() => [
|
1386
|
-
o(
|
1364
|
+
o(u)
|
1387
1365
|
]),
|
1388
1366
|
_: 1
|
1389
1367
|
})
|
@@ -1399,7 +1377,7 @@ function Uo(t, e, n, s, r, b) {
|
|
1399
1377
|
default: a(() => [
|
1400
1378
|
o(h, null, {
|
1401
1379
|
default: a(() => [
|
1402
|
-
|
1380
|
+
V(t.$slots, "breakfast-option")
|
1403
1381
|
]),
|
1404
1382
|
_: 3
|
1405
1383
|
})
|
@@ -1421,7 +1399,7 @@ function Uo(t, e, n, s, r, b) {
|
|
1421
1399
|
default: a(() => [
|
1422
1400
|
o(h, null, {
|
1423
1401
|
default: a(() => [
|
1424
|
-
|
1402
|
+
V(t.$slots, "price-summary", {}, () => [
|
1425
1403
|
o(l)
|
1426
1404
|
])
|
1427
1405
|
]),
|
@@ -1434,7 +1412,7 @@ function Uo(t, e, n, s, r, b) {
|
|
1434
1412
|
default: a(() => [
|
1435
1413
|
o(h, { class: "py-0" }, {
|
1436
1414
|
default: a(() => [
|
1437
|
-
|
1415
|
+
V(t.$slots, "errors")
|
1438
1416
|
]),
|
1439
1417
|
_: 3
|
1440
1418
|
})
|
@@ -1445,7 +1423,7 @@ function Uo(t, e, n, s, r, b) {
|
|
1445
1423
|
default: a(() => [
|
1446
1424
|
o(h, { class: "pb-0" }, {
|
1447
1425
|
default: a(() => [
|
1448
|
-
|
1426
|
+
V(t.$slots, "button", {}, () => [
|
1449
1427
|
o(X, {
|
1450
1428
|
height: "38px",
|
1451
1429
|
tile: "",
|
@@ -1463,7 +1441,7 @@ function Uo(t, e, n, s, r, b) {
|
|
1463
1441
|
default: a(() => [
|
1464
1442
|
o(h, null, {
|
1465
1443
|
default: a(() => [
|
1466
|
-
|
1444
|
+
V(t.$slots, "cancellation-policies", {}, () => [
|
1467
1445
|
o(X, {
|
1468
1446
|
tile: "",
|
1469
1447
|
type: "paragraph",
|
@@ -1488,10 +1466,10 @@ const jo = /* @__PURE__ */ tt(Do, [["render", Uo]]), Jt = j({
|
|
1488
1466
|
BBasketSummaryLayout: jo,
|
1489
1467
|
BBreakfastOptionBadge: Ft,
|
1490
1468
|
BBreakfastSwitch: Yt,
|
1491
|
-
BFormattedAmount:
|
1469
|
+
BFormattedAmount: dt,
|
1492
1470
|
BHotelRoomsDetails: Gt,
|
1493
1471
|
BPriceSummary: Rt,
|
1494
|
-
CancellationPoliciesList:
|
1472
|
+
CancellationPoliciesList: Xe
|
1495
1473
|
},
|
1496
1474
|
emits: ["breakfast-change", "delete-room", "submit"],
|
1497
1475
|
name: "BBasketSummary",
|
@@ -1510,29 +1488,29 @@ const jo = /* @__PURE__ */ tt(Do, [["render", Uo]]), Jt = j({
|
|
1510
1488
|
setup(t, { emit: e }) {
|
1511
1489
|
const n = x(
|
1512
1490
|
t.hotelRoomOffer?.breakfastCount && t.hotelRoomOffer?.breakfastCount > 0 || !1
|
1513
|
-
), s =
|
1491
|
+
), s = f(
|
1514
1492
|
() => t.hotelRoomOffer?.breakfastOption
|
1515
|
-
), r =
|
1516
|
-
() =>
|
1517
|
-
),
|
1493
|
+
), r = f(
|
1494
|
+
() => uo(t.adultCount, t.children)
|
1495
|
+
), p = f(
|
1518
1496
|
() => t.hotelRoomOffer.breakfastOption === wt.Included
|
1519
|
-
),
|
1497
|
+
), u = f(
|
1520
1498
|
() => t.hotelRoomOffer.breakfastOption === wt.Optional
|
1521
|
-
), l =
|
1499
|
+
), l = f(
|
1522
1500
|
() => t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price > 0
|
1523
|
-
),
|
1501
|
+
), b = f(() => !t.hotelRoomOffer || !t.checkOutDate || !t.checkInDate ? 0 : pt(t.checkOutDate).diff(pt(t.checkInDate), "day")), c = f(
|
1524
1502
|
() => Pt(t.hotelRoomOffer?.hotelRooms, "count")
|
1525
|
-
),
|
1526
|
-
() =>
|
1527
|
-
|
1528
|
-
bookingDatetime:
|
1503
|
+
), I = f(
|
1504
|
+
() => to(
|
1505
|
+
he({
|
1506
|
+
bookingDatetime: pt().format(),
|
1529
1507
|
cancellationPolicies: t.hotelRoomOffer?.cancellationPolicies,
|
1530
1508
|
checkInDate: t.checkInDate,
|
1531
1509
|
timezone: t.hotelTimezone
|
1532
1510
|
}),
|
1533
|
-
|
1511
|
+
eo.Camel
|
1534
1512
|
)
|
1535
|
-
), T =
|
1513
|
+
), T = f(
|
1536
1514
|
() => Pt(
|
1537
1515
|
t.hotelRoomOffer?.hotelRooms,
|
1538
1516
|
(_) => _.count * _.occupancy
|
@@ -1546,12 +1524,12 @@ const jo = /* @__PURE__ */ tt(Do, [["render", Uo]]), Jt = j({
|
|
1546
1524
|
addBreakfast: n,
|
1547
1525
|
breakfastOption: s,
|
1548
1526
|
guestCount: r,
|
1549
|
-
isBreakfastIncluded:
|
1550
|
-
isBreakfastOptionnal:
|
1527
|
+
isBreakfastIncluded: p,
|
1528
|
+
isBreakfastOptionnal: u,
|
1551
1529
|
isTaxIncluded: l,
|
1552
|
-
nightCount:
|
1553
|
-
roomCount:
|
1554
|
-
sanitizedCancellationPolicies:
|
1530
|
+
nightCount: b,
|
1531
|
+
roomCount: c,
|
1532
|
+
sanitizedCancellationPolicies: I,
|
1555
1533
|
t: v,
|
1556
1534
|
totalOccupancy: T
|
1557
1535
|
};
|
@@ -1695,8 +1673,8 @@ const Fo = { key: 0 }, Go = ["innerHTML"], Wo = { class: "font-weight-bold pb-2"
|
|
1695
1673
|
key: 0,
|
1696
1674
|
class: "text-caption pl-2"
|
1697
1675
|
}, Jo = { class: "text-caption" }, Qo = { class: "text-caption font-weight-bold text-center my-0 text-red rounded" }, Xo = { key: 0 }, ta = { key: 1 };
|
1698
|
-
function ea(t, e, n, s, r,
|
1699
|
-
const
|
1676
|
+
function ea(t, e, n, s, r, p) {
|
1677
|
+
const u = L("BBasketSummaryLayout"), l = L("BHotelRoomsDetails"), b = L("BBreakfastOptionBadge"), c = L("BBreakfastSwitch"), I = L("BFormattedAmount"), T = L("BPriceSummary"), v = L("CancellationPoliciesList");
|
1700
1678
|
return i(), m("div", null, [
|
1701
1679
|
t.isLoading ? (i(), R(Ut, {
|
1702
1680
|
key: 0,
|
@@ -1714,7 +1692,7 @@ function ea(t, e, n, s, r, b) {
|
|
1714
1692
|
]),
|
1715
1693
|
_: 1
|
1716
1694
|
})) : C("", !0),
|
1717
|
-
t.hotelRoomOffer ? (i(), R(
|
1695
|
+
t.hotelRoomOffer ? (i(), R(u, { key: "filled-up" }, {
|
1718
1696
|
title: a(() => [
|
1719
1697
|
k("span", null, g(t.t("BBasketSummary.title")), 1)
|
1720
1698
|
]),
|
@@ -1778,7 +1756,7 @@ function ea(t, e, n, s, r, b) {
|
|
1778
1756
|
default: a(() => [
|
1779
1757
|
o(h, null, {
|
1780
1758
|
default: a(() => [
|
1781
|
-
o(
|
1759
|
+
o(b, {
|
1782
1760
|
"breakfast-count": t.hotelRoomOffer.breakfastCount,
|
1783
1761
|
"breakfast-option": t.hotelRoomOffer.breakfastCount && t.hotelRoomOffer.breakfastCount > 0 ? "INCLUDED" : t.breakfastOption,
|
1784
1762
|
class: "mr-n1"
|
@@ -1797,12 +1775,13 @@ function ea(t, e, n, s, r, b) {
|
|
1797
1775
|
default: a(() => [
|
1798
1776
|
o(h, { class: "mb-2 mt-xl-0" }, {
|
1799
1777
|
default: a(() => [
|
1800
|
-
o(
|
1778
|
+
o(c, {
|
1801
1779
|
modelValue: t.addBreakfast,
|
1802
1780
|
"onUpdate:modelValue": e[0] || (e[0] = (_) => t.addBreakfast = _),
|
1781
|
+
currency: t.currency,
|
1803
1782
|
loading: t.isLoading && "success",
|
1804
1783
|
price: t.hotelRoomOffer.breakfastUnitPrice
|
1805
|
-
}, null, 8, ["modelValue", "loading", "price"])
|
1784
|
+
}, null, 8, ["modelValue", "currency", "loading", "price"])
|
1806
1785
|
]),
|
1807
1786
|
_: 1
|
1808
1787
|
})
|
@@ -1833,7 +1812,7 @@ function ea(t, e, n, s, r, b) {
|
|
1833
1812
|
o(h, { class: "text-right" }, {
|
1834
1813
|
default: a(() => [
|
1835
1814
|
k("span", Ko, [
|
1836
|
-
o(
|
1815
|
+
o(I, {
|
1837
1816
|
amount: t.hotelRoomOffer.price
|
1838
1817
|
}, null, 8, ["amount"])
|
1839
1818
|
])
|
@@ -1876,7 +1855,7 @@ function ea(t, e, n, s, r, b) {
|
|
1876
1855
|
o(h, { class: "text-right" }, {
|
1877
1856
|
default: a(() => [
|
1878
1857
|
k("span", Jo, [
|
1879
|
-
o(
|
1858
|
+
o(I, {
|
1880
1859
|
amount: t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price
|
1881
1860
|
}, null, 8, ["amount"])
|
1882
1861
|
])
|
@@ -1912,7 +1891,7 @@ function ea(t, e, n, s, r, b) {
|
|
1912
1891
|
})
|
1913
1892
|
]),
|
1914
1893
|
errors: a(() => [
|
1915
|
-
t.totalOccupancy && t.totalOccupancy < t.guestCount ? (i(), R(
|
1894
|
+
t.totalOccupancy && t.totalOccupancy < t.guestCount ? (i(), R(Ye, {
|
1916
1895
|
key: 0,
|
1917
1896
|
class: "mb-0",
|
1918
1897
|
color: "red",
|
@@ -1961,7 +1940,7 @@ function ea(t, e, n, s, r, b) {
|
|
1961
1940
|
}, null, 8, ["cancellation-policies", "check-in-date", "timezone"])) : (i(), m("span", ta))
|
1962
1941
|
]),
|
1963
1942
|
_: 1
|
1964
|
-
})) : (i(), R(
|
1943
|
+
})) : (i(), R(u, { key: "empty" }, {
|
1965
1944
|
title: a(() => [
|
1966
1945
|
k("span", null, g(t.t("BBasketSummary.title")), 1)
|
1967
1946
|
]),
|
@@ -2018,7 +1997,7 @@ const oa = /* @__PURE__ */ tt(Jt, [["render", ea]]), aa = {
|
|
2018
1997
|
HotelRoomOfferItemLayout: St
|
2019
1998
|
},
|
2020
1999
|
computed: {
|
2021
|
-
...
|
2000
|
+
...ye(ft, mt),
|
2022
2001
|
adultCount() {
|
2023
2002
|
return this.hotelRoomOfferRequest?.adultCount;
|
2024
2003
|
},
|
@@ -2101,7 +2080,7 @@ const oa = /* @__PURE__ */ tt(Jt, [["render", ea]]), aa = {
|
|
2101
2080
|
}), await this.createHotelRoomOfferPackage(), this.isLoading = !1);
|
2102
2081
|
}
|
2103
2082
|
},
|
2104
|
-
mixins: [
|
2083
|
+
mixins: [ge, we()],
|
2105
2084
|
name: "HotelRoomOfferBasket",
|
2106
2085
|
props: aa,
|
2107
2086
|
setup() {
|
@@ -2136,8 +2115,8 @@ const oa = /* @__PURE__ */ tt(Jt, [["render", ea]]), aa = {
|
|
2136
2115
|
}
|
2137
2116
|
}
|
2138
2117
|
});
|
2139
|
-
function na(t, e, n, s, r,
|
2140
|
-
const
|
2118
|
+
function na(t, e, n, s, r, p) {
|
2119
|
+
const u = L("HotelRoomOfferItem"), l = L("BBasketSummary");
|
2141
2120
|
return i(), R(P, { "no-gutters": "" }, {
|
2142
2121
|
default: a(() => [
|
2143
2122
|
o(h, {
|
@@ -2145,12 +2124,12 @@ function na(t, e, n, s, r, b) {
|
|
2145
2124
|
md: "8"
|
2146
2125
|
}, {
|
2147
2126
|
default: a(() => [
|
2148
|
-
t.hotelRoomOffers.length && t.basketContent.length ? (i(!0), m(y, { key: 0 }, K(t.hotelRoomOffers, (
|
2149
|
-
|
2150
|
-
o(
|
2151
|
-
modelValue: t.basketContent[
|
2152
|
-
"onUpdate:modelValue": (
|
2153
|
-
}, { ref_for: !0 },
|
2127
|
+
t.hotelRoomOffers.length && t.basketContent.length ? (i(!0), m(y, { key: 0 }, K(t.hotelRoomOffers, (b, c) => (i(), m(y, null, [
|
2128
|
+
c > 0 ? (i(), R(Z, { key: 0 })) : C("", !0),
|
2129
|
+
o(u, M({
|
2130
|
+
modelValue: t.basketContent[c].count,
|
2131
|
+
"onUpdate:modelValue": (I) => t.basketContent[c].count = I
|
2132
|
+
}, { ref_for: !0 }, b), null, 16, ["modelValue", "onUpdate:modelValue"])
|
2154
2133
|
], 64))), 256)) : C("", !0)
|
2155
2134
|
]),
|
2156
2135
|
_: 1
|
@@ -2230,17 +2209,17 @@ const ia = /* @__PURE__ */ tt(sa, [["render", na], ["__scopeId", "data-v-ee0e3c9
|
|
2230
2209
|
return (n, s) => (i(), m("div", null, [
|
2231
2210
|
(i(!0), m(y, null, K(n.itemCount, (r) => (i(), m(y, { key: r }, [
|
2232
2211
|
r > 1 ? (i(), R(Z, { key: 0 })) : C("", !0),
|
2233
|
-
o(
|
2212
|
+
o(S(ra), {
|
2234
2213
|
boilerplate: n.boilerplateSkeleton,
|
2235
2214
|
class: gt({ "mt-0": r === 1, "mb-0": r === 3 })
|
2236
2215
|
}, null, 8, ["boilerplate", "class"])
|
2237
2216
|
], 64))), 128)),
|
2238
|
-
n.type ? (i(), R(
|
2217
|
+
n.type ? (i(), R(S(la), { key: 0 }, {
|
2239
2218
|
title: a(() => [
|
2240
|
-
w(g(
|
2219
|
+
w(g(S(e)(`HotelRoomOfferListEmpty.${n.type}.title`)), 1)
|
2241
2220
|
]),
|
2242
2221
|
description: a(() => [
|
2243
|
-
w(g(
|
2222
|
+
w(g(S(e)(`HotelRoomOfferListEmpty.${n.type}.description`)), 1)
|
2244
2223
|
]),
|
2245
2224
|
_: 1
|
2246
2225
|
})) : C("", !0)
|
@@ -2371,7 +2350,7 @@ typeof qt == "function" && qt(Qt);
|
|
2371
2350
|
const Xt = {
|
2372
2351
|
OnlyMatchingRoomCount: !1
|
2373
2352
|
}, ua = {
|
2374
|
-
...
|
2353
|
+
...Pe,
|
2375
2354
|
features: {
|
2376
2355
|
default: () => Xt,
|
2377
2356
|
type: [Object, String]
|
@@ -2392,26 +2371,26 @@ const Xt = {
|
|
2392
2371
|
props: ua,
|
2393
2372
|
// eslint-disable-next-line max-lines-per-function
|
2394
2373
|
setup(t) {
|
2395
|
-
const { t: e } = F(), n =
|
2374
|
+
const { t: e } = F(), n = mt(), s = ft(), r = x(null), p = x(["packageHotelRoomOffers", "hotelRoomHotelRoomOffers"]), u = bo({
|
2396
2375
|
fallbackValue: Xt,
|
2397
|
-
prop:
|
2398
|
-
}), l = (B) => B.hotelRooms.reduce((A, W) => A + W.count, 0),
|
2376
|
+
prop: f(() => t.features)
|
2377
|
+
}), l = (B) => B.hotelRooms.reduce((A, W) => A + W.count, 0), b = f(() => s.hotelRoomOfferRequest(t.hotelId)), c = f(
|
2399
2378
|
() => n.hotelRoomOffers(t.hotelId)
|
2400
|
-
),
|
2401
|
-
() => !!(
|
2402
|
-
), T =
|
2403
|
-
() =>
|
2379
|
+
), I = f(
|
2380
|
+
() => !!(b.value?.hasError || c.value?.hasError)
|
2381
|
+
), T = f(
|
2382
|
+
() => c.value?.offers?.filter(
|
2404
2383
|
(B) => B.type === yt.HotelRoom
|
2405
2384
|
) || []
|
2406
|
-
), v =
|
2407
|
-
const B =
|
2385
|
+
), v = f(() => {
|
2386
|
+
const B = c.value?.offers?.filter(
|
2408
2387
|
(A) => A.type === yt.Package
|
2409
|
-
).filter((A) =>
|
2388
|
+
).filter((A) => u.value?.OnlyMatchingRoomCount ? l(A) === b.value?.roomCount : !0);
|
2410
2389
|
return B?.slice(0, t.limit || B.length) || [];
|
2411
|
-
}), _ =
|
2412
|
-
() => !!
|
2413
|
-
), z =
|
2414
|
-
() => !
|
2390
|
+
}), _ = f(
|
2391
|
+
() => !!c.value?.isPolling && !!v.value?.length
|
2392
|
+
), z = f(
|
2393
|
+
() => !b.value?.id || (!!b.value?.isFetching || !!c.value?.isPolling) && !v.value?.length
|
2415
2394
|
), J = async ({
|
2416
2395
|
addBreakfast: B,
|
2417
2396
|
hotelId: A,
|
@@ -2423,7 +2402,7 @@ const Xt = {
|
|
2423
2402
|
id: W
|
2424
2403
|
});
|
2425
2404
|
}, D = async (B) => {
|
2426
|
-
if (!
|
2405
|
+
if (!b.value?.id) {
|
2427
2406
|
n.resetHotelRoomOffers({
|
2428
2407
|
hotelId: t.hotelId
|
2429
2408
|
});
|
@@ -2431,21 +2410,21 @@ const Xt = {
|
|
2431
2410
|
}
|
2432
2411
|
await n.retrieveHotelRoomOffers({
|
2433
2412
|
hotelId: t.hotelId,
|
2434
|
-
hotelRoomOfferRequestId:
|
2413
|
+
hotelRoomOfferRequestId: b.value.id,
|
2435
2414
|
inProgressHotelRoomOfferIds: B
|
2436
2415
|
});
|
2437
2416
|
};
|
2438
|
-
async function
|
2417
|
+
async function E(B) {
|
2439
2418
|
await D([B]);
|
2440
2419
|
}
|
2441
2420
|
$(
|
2442
|
-
() =>
|
2421
|
+
() => b.value?.id,
|
2443
2422
|
async () => {
|
2444
2423
|
await D();
|
2445
2424
|
},
|
2446
2425
|
{ immediate: !0 }
|
2447
2426
|
);
|
2448
|
-
const { bookingApiClient: G, config: N } =
|
2427
|
+
const { bookingApiClient: G, config: N } = Re();
|
2449
2428
|
$(
|
2450
2429
|
() => [G.value, N.value.currency, N.value.lang],
|
2451
2430
|
async () => {
|
@@ -2453,7 +2432,7 @@ const Xt = {
|
|
2453
2432
|
},
|
2454
2433
|
{ immediate: !0 }
|
2455
2434
|
);
|
2456
|
-
const Q =
|
2435
|
+
const Q = Ro({
|
2457
2436
|
adultCount: t.adultCount,
|
2458
2437
|
checkInDate: t.checkInDate,
|
2459
2438
|
checkOutDate: t.checkOutDate,
|
@@ -2463,7 +2442,7 @@ const Xt = {
|
|
2463
2442
|
sourceMarket: t.sourceMarket
|
2464
2443
|
});
|
2465
2444
|
return {
|
2466
|
-
hasError:
|
2445
|
+
hasError: I,
|
2467
2446
|
hotelRoomHotelRoomOffers: T,
|
2468
2447
|
isLoading: _,
|
2469
2448
|
onBreakfastChange: J,
|
@@ -2471,9 +2450,9 @@ const Xt = {
|
|
2471
2450
|
showSkeleton: z,
|
2472
2451
|
t: e,
|
2473
2452
|
tab: r,
|
2474
|
-
tabItems:
|
2453
|
+
tabItems: p,
|
2475
2454
|
...Q,
|
2476
|
-
onBookingPolicyFailed:
|
2455
|
+
onBookingPolicyFailed: E
|
2477
2456
|
};
|
2478
2457
|
}
|
2479
2458
|
});
|
@@ -2563,7 +2542,7 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2563
2542
|
type: String,
|
2564
2543
|
default: "horizontal"
|
2565
2544
|
},
|
2566
|
-
...Nt(
|
2545
|
+
...Nt(Ke({
|
2567
2546
|
selectedClass: "v-tab--selected",
|
2568
2547
|
variant: "text"
|
2569
2548
|
}), ["active", "block", "flat", "location", "position", "symbol"])
|
@@ -2577,23 +2556,23 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2577
2556
|
} = e;
|
2578
2557
|
const {
|
2579
2558
|
textColorClasses: r,
|
2580
|
-
textColorStyles:
|
2581
|
-
} =
|
2582
|
-
function
|
2559
|
+
textColorStyles: p
|
2560
|
+
} = Te(t, "sliderColor"), u = x(), l = x(), b = f(() => t.direction === "horizontal"), c = f(() => u.value?.group?.isSelected.value ?? !1);
|
2561
|
+
function I(T) {
|
2583
2562
|
let {
|
2584
2563
|
value: v
|
2585
2564
|
} = T;
|
2586
2565
|
if (v) {
|
2587
|
-
const _ =
|
2566
|
+
const _ = u.value?.$el.parentElement?.querySelector(".v-tab--selected .v-tab__slider"), z = l.value;
|
2588
2567
|
if (!_ || !z) return;
|
2589
|
-
const J = getComputedStyle(_).color, D = _.getBoundingClientRect(),
|
2590
|
-
|
2568
|
+
const J = getComputedStyle(_).color, D = _.getBoundingClientRect(), E = z.getBoundingClientRect(), G = b.value ? "x" : "y", N = b.value ? "X" : "Y", Q = b.value ? "right" : "bottom", B = b.value ? "width" : "height", A = D[G], W = E[G], U = A > W ? D[Q] - E[Q] : D[G] - E[G], nt = Math.sign(U) > 0 ? b.value ? "right" : "bottom" : Math.sign(U) < 0 ? b.value ? "left" : "top" : "center", d = (Math.abs(U) + (Math.sign(U) < 0 ? D[B] : E[B])) / Math.max(D[B], E[B]) || 0, H = D[B] / E[B] || 0, O = 1.5;
|
2569
|
+
Ee(z, {
|
2591
2570
|
backgroundColor: [J, "currentcolor"],
|
2592
|
-
transform: [`translate${N}(${U}px) scale${N}(${H})`, `translate${N}(${U / O}px) scale${N}(${(
|
2571
|
+
transform: [`translate${N}(${U}px) scale${N}(${H})`, `translate${N}(${U / O}px) scale${N}(${(d - 1) / O + 1})`, "none"],
|
2593
2572
|
transformOrigin: Array(3).fill(nt)
|
2594
2573
|
}, {
|
2595
2574
|
duration: 225,
|
2596
|
-
easing:
|
2575
|
+
easing: Ve
|
2597
2576
|
});
|
2598
2577
|
}
|
2599
2578
|
}
|
@@ -2601,29 +2580,29 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2601
2580
|
const T = st.filterProps(t);
|
2602
2581
|
return o(st, M({
|
2603
2582
|
symbol: It,
|
2604
|
-
ref:
|
2583
|
+
ref: u,
|
2605
2584
|
class: ["v-tab", t.class],
|
2606
2585
|
style: t.style,
|
2607
|
-
tabindex:
|
2586
|
+
tabindex: c.value ? 0 : -1,
|
2608
2587
|
role: "tab",
|
2609
|
-
"aria-selected": String(
|
2588
|
+
"aria-selected": String(c.value),
|
2610
2589
|
active: !1
|
2611
2590
|
}, T, s, {
|
2612
2591
|
block: t.fixed,
|
2613
2592
|
maxWidth: t.fixed ? 300 : void 0,
|
2614
|
-
"onGroup:selected":
|
2593
|
+
"onGroup:selected": I
|
2615
2594
|
}), {
|
2616
2595
|
...n,
|
2617
2596
|
default: () => o(y, null, [n.default?.() ?? t.text, !t.hideSlider && o("div", {
|
2618
2597
|
ref: l,
|
2619
2598
|
class: ["v-tab__slider", r.value],
|
2620
|
-
style:
|
2599
|
+
style: p.value
|
2621
2600
|
}, null)])
|
2622
2601
|
});
|
2623
|
-
}),
|
2602
|
+
}), ao({}, u);
|
2624
2603
|
}
|
2625
2604
|
}), da = lt({
|
2626
|
-
...Nt(
|
2605
|
+
...Nt(so(), ["continuous", "nextIcon", "prevIcon", "showArrows", "touch", "mandatory"])
|
2627
2606
|
}, "VTabsWindow"), oe = it()({
|
2628
2607
|
name: "VTabsWindow",
|
2629
2608
|
props: da(),
|
@@ -2634,21 +2613,21 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2634
2613
|
let {
|
2635
2614
|
slots: n
|
2636
2615
|
} = e;
|
2637
|
-
const s =
|
2616
|
+
const s = Oe(It, null), r = ct(t, "modelValue"), p = f({
|
2638
2617
|
get() {
|
2639
|
-
return r.value != null || !s ? r.value : s.items.value.find((
|
2618
|
+
return r.value != null || !s ? r.value : s.items.value.find((u) => s.selected.value.includes(u.id))?.value;
|
2640
2619
|
},
|
2641
|
-
set(
|
2642
|
-
r.value =
|
2620
|
+
set(u) {
|
2621
|
+
r.value = u;
|
2643
2622
|
}
|
2644
2623
|
});
|
2645
2624
|
return rt(() => {
|
2646
|
-
const
|
2625
|
+
const u = Tt.filterProps(t);
|
2647
2626
|
return o(Tt, M({
|
2648
2627
|
_as: "VTabsWindow"
|
2649
|
-
},
|
2650
|
-
modelValue:
|
2651
|
-
"onUpdate:modelValue": (l) =>
|
2628
|
+
}, u, {
|
2629
|
+
modelValue: p.value,
|
2630
|
+
"onUpdate:modelValue": (l) => p.value = l,
|
2652
2631
|
class: ["v-tabs-window", t.class],
|
2653
2632
|
style: t.style,
|
2654
2633
|
mandatory: !1,
|
@@ -2657,7 +2636,7 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2657
2636
|
}), {};
|
2658
2637
|
}
|
2659
2638
|
}), ma = lt({
|
2660
|
-
...
|
2639
|
+
...no()
|
2661
2640
|
}, "VTabsWindowItem"), Ot = it()({
|
2662
2641
|
name: "VTabsWindowItem",
|
2663
2642
|
props: ma(),
|
@@ -2666,8 +2645,8 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2666
2645
|
slots: n
|
2667
2646
|
} = e;
|
2668
2647
|
return rt(() => {
|
2669
|
-
const s =
|
2670
|
-
return o(
|
2648
|
+
const s = Et.filterProps(t);
|
2649
|
+
return o(Et, M({
|
2671
2650
|
_as: "VTabsWindowItem"
|
2672
2651
|
}, s, {
|
2673
2652
|
class: ["v-tabs-window-item", t.class],
|
@@ -2677,12 +2656,12 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2677
2656
|
}
|
2678
2657
|
});
|
2679
2658
|
function fa(t) {
|
2680
|
-
return t ? t.map((e) =>
|
2659
|
+
return t ? t.map((e) => Se(e) ? e : {
|
2681
2660
|
text: e,
|
2682
2661
|
value: e
|
2683
2662
|
}) : [];
|
2684
2663
|
}
|
2685
|
-
const
|
2664
|
+
const ba = lt({
|
2686
2665
|
alignTabs: {
|
2687
2666
|
type: String,
|
2688
2667
|
default: "start"
|
@@ -2702,15 +2681,15 @@ const pa = lt({
|
|
2702
2681
|
},
|
2703
2682
|
hideSlider: Boolean,
|
2704
2683
|
sliderColor: String,
|
2705
|
-
...
|
2684
|
+
...io({
|
2706
2685
|
mandatory: "force",
|
2707
2686
|
selectedClass: "v-tab-item--selected"
|
2708
2687
|
}),
|
2709
|
-
...
|
2710
|
-
...
|
2711
|
-
}, "VTabs"),
|
2688
|
+
...je(),
|
2689
|
+
...Le()
|
2690
|
+
}, "VTabs"), pa = it()({
|
2712
2691
|
name: "VTabs",
|
2713
|
-
props:
|
2692
|
+
props: ba(),
|
2714
2693
|
emits: {
|
2715
2694
|
"update:modelValue": (t) => !0
|
2716
2695
|
},
|
@@ -2719,15 +2698,15 @@ const pa = lt({
|
|
2719
2698
|
attrs: n,
|
2720
2699
|
slots: s
|
2721
2700
|
} = e;
|
2722
|
-
const r =
|
2723
|
-
densityClasses:
|
2724
|
-
} =
|
2701
|
+
const r = ct(t, "modelValue"), p = f(() => fa(t.items)), {
|
2702
|
+
densityClasses: u
|
2703
|
+
} = Ue(t), {
|
2725
2704
|
backgroundColorClasses: l,
|
2726
|
-
backgroundColorStyles:
|
2727
|
-
} =
|
2728
|
-
scopeId:
|
2729
|
-
} =
|
2730
|
-
return
|
2705
|
+
backgroundColorStyles: b
|
2706
|
+
} = Ae(et(t, "bgColor")), {
|
2707
|
+
scopeId: c
|
2708
|
+
} = $e();
|
2709
|
+
return Ce({
|
2731
2710
|
VTab: {
|
2732
2711
|
color: et(t, "color"),
|
2733
2712
|
direction: et(t, "direction"),
|
@@ -2737,22 +2716,22 @@ const pa = lt({
|
|
2737
2716
|
hideSlider: et(t, "hideSlider")
|
2738
2717
|
}
|
2739
2718
|
}), rt(() => {
|
2740
|
-
const
|
2741
|
-
return o(y, null, [o(
|
2719
|
+
const I = Vt.filterProps(t), T = !!(s.window || t.items.length > 0);
|
2720
|
+
return o(y, null, [o(Vt, M(I, {
|
2742
2721
|
modelValue: r.value,
|
2743
2722
|
"onUpdate:modelValue": (v) => r.value = v,
|
2744
2723
|
class: ["v-tabs", `v-tabs--${t.direction}`, `v-tabs--align-tabs-${t.alignTabs}`, {
|
2745
2724
|
"v-tabs--fixed-tabs": t.fixedTabs,
|
2746
2725
|
"v-tabs--grow": t.grow,
|
2747
2726
|
"v-tabs--stacked": t.stacked
|
2748
|
-
},
|
2727
|
+
}, u.value, l.value, t.class],
|
2749
2728
|
style: [{
|
2750
|
-
"--v-tabs-height":
|
2751
|
-
},
|
2729
|
+
"--v-tabs-height": Be(t.height)
|
2730
|
+
}, b.value, t.style],
|
2752
2731
|
role: "tablist",
|
2753
2732
|
symbol: It
|
2754
|
-
},
|
2755
|
-
default: () => [s.default?.() ??
|
2733
|
+
}, c, n), {
|
2734
|
+
default: () => [s.default?.() ?? p.value.map((v) => s.tab?.({
|
2756
2735
|
item: v
|
2757
2736
|
}) ?? o(ee, M(v, {
|
2758
2737
|
key: v.text,
|
@@ -2766,8 +2745,8 @@ const pa = lt({
|
|
2766
2745
|
modelValue: r.value,
|
2767
2746
|
"onUpdate:modelValue": (v) => r.value = v,
|
2768
2747
|
key: "tabs-window"
|
2769
|
-
},
|
2770
|
-
default: () => [
|
2748
|
+
}, c), {
|
2749
|
+
default: () => [p.value.map((v) => s.item?.({
|
2771
2750
|
item: v
|
2772
2751
|
}) ?? o(Ot, {
|
2773
2752
|
value: v.value
|
@@ -2780,35 +2759,35 @@ const pa = lt({
|
|
2780
2759
|
}), {};
|
2781
2760
|
}
|
2782
2761
|
}), ka = { class: "bg-white" }, va = { key: 0 };
|
2783
|
-
function ha(t, e, n, s, r,
|
2784
|
-
const
|
2762
|
+
function ha(t, e, n, s, r, p) {
|
2763
|
+
const u = L("HotelRoomOfferListEmpty"), l = L("HotelRoomOfferItem"), b = L("HotelRoomOfferBasket");
|
2785
2764
|
return i(), m("div", ka, [
|
2786
2765
|
t.isBookingApiClientDefined ? (i(), m(y, { key: 1 }, [
|
2787
|
-
t.hasError ? (i(), R(
|
2766
|
+
t.hasError ? (i(), R(u, {
|
2788
2767
|
key: "error",
|
2789
2768
|
boilerplate: "",
|
2790
2769
|
type: "internalError"
|
2791
|
-
})) : t.showSkeleton ? (i(), R(
|
2770
|
+
})) : t.showSkeleton ? (i(), R(u, { key: "skeleton" })) : t.packageHotelRoomOffers && t.packageHotelRoomOffers.length ? (i(), m(y, { key: 2 }, [
|
2792
2771
|
t.hotelRoomHotelRoomOffers.length ? C("", !0) : (i(), m("div", va)),
|
2793
|
-
t.isLoading ? (i(), R(
|
2772
|
+
t.isLoading ? (i(), R(Fe, {
|
2794
2773
|
key: 1,
|
2795
2774
|
class: "loader position-absolute",
|
2796
2775
|
color: "secondary",
|
2797
2776
|
indeterminate: ""
|
2798
2777
|
})) : C("", !0),
|
2799
2778
|
t.hotelRoomHotelRoomOffers && t.hotelRoomHotelRoomOffers.length ? (i(), m(y, { key: 2 }, [
|
2800
|
-
o(
|
2779
|
+
o(pa, {
|
2801
2780
|
color: "primary",
|
2802
2781
|
density: "compact",
|
2803
2782
|
modelValue: t.tab,
|
2804
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
2783
|
+
"onUpdate:modelValue": e[0] || (e[0] = (c) => t.tab = c),
|
2805
2784
|
grow: ""
|
2806
2785
|
}, {
|
2807
2786
|
default: a(() => [
|
2808
|
-
(i(!0), m(y, null, K(t.tabItems, (
|
2787
|
+
(i(!0), m(y, null, K(t.tabItems, (c) => (i(), m(y, { key: c }, [
|
2809
2788
|
o(ee, null, {
|
2810
2789
|
default: a(() => [
|
2811
|
-
w(g(t.t(`HotelRoomOfferList.${
|
2790
|
+
w(g(t.t(`HotelRoomOfferList.${c}.title`)), 1)
|
2812
2791
|
]),
|
2813
2792
|
_: 2
|
2814
2793
|
}, 1024),
|
@@ -2819,17 +2798,17 @@ function ha(t, e, n, s, r, b) {
|
|
2819
2798
|
}, 8, ["modelValue"]),
|
2820
2799
|
o(oe, {
|
2821
2800
|
modelValue: t.tab,
|
2822
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
2801
|
+
"onUpdate:modelValue": e[1] || (e[1] = (c) => t.tab = c),
|
2823
2802
|
class: "overflow-visible"
|
2824
2803
|
}, {
|
2825
2804
|
default: a(() => [
|
2826
2805
|
o(Ot, { class: "pt-3" }, {
|
2827
2806
|
default: a(() => [
|
2828
|
-
(i(!0), m(y, null, K(t.packageHotelRoomOffers, (
|
2829
|
-
key:
|
2807
|
+
(i(!0), m(y, null, K(t.packageHotelRoomOffers, (c, I) => (i(), m(y, {
|
2808
|
+
key: c.id
|
2830
2809
|
}, [
|
2831
|
-
|
2832
|
-
o(l, M({ ref_for: !0 },
|
2810
|
+
I > 0 ? (i(), R(Z, { key: 0 })) : C("", !0),
|
2811
|
+
o(l, M({ ref_for: !0 }, c, {
|
2833
2812
|
onBreakfastChange: t.onBreakfastChange,
|
2834
2813
|
onBookingPolicyFailed: t.onBookingPolicyFailed
|
2835
2814
|
}), null, 16, ["onBreakfastChange", "onBookingPolicyFailed"])
|
@@ -2839,23 +2818,23 @@ function ha(t, e, n, s, r, b) {
|
|
2839
2818
|
}),
|
2840
2819
|
o(Ot, { class: "pt-3 pb-5" }, {
|
2841
2820
|
default: a(() => [
|
2842
|
-
o(
|
2821
|
+
o(b, { "hotel-id": t.hotelId }, null, 8, ["hotel-id"])
|
2843
2822
|
]),
|
2844
2823
|
_: 1
|
2845
2824
|
})
|
2846
2825
|
]),
|
2847
2826
|
_: 1
|
2848
2827
|
}, 8, ["modelValue"])
|
2849
|
-
], 64)) : (i(!0), m(y, { key: 3 }, K(t.packageHotelRoomOffers, (
|
2850
|
-
key:
|
2828
|
+
], 64)) : (i(!0), m(y, { key: 3 }, K(t.packageHotelRoomOffers, (c, I) => (i(), m(y, {
|
2829
|
+
key: c.id
|
2851
2830
|
}, [
|
2852
|
-
|
2853
|
-
o(l, M({ ref_for: !0 },
|
2831
|
+
I > 0 ? (i(), R(Z, { key: 0 })) : C("", !0),
|
2832
|
+
o(l, M({ ref_for: !0 }, c, {
|
2854
2833
|
onBreakfastChange: t.onBreakfastChange,
|
2855
2834
|
onBookingPolicyFailed: t.onBookingPolicyFailed
|
2856
2835
|
}), null, 16, ["onBreakfastChange", "onBookingPolicyFailed"])
|
2857
2836
|
], 64))), 128))
|
2858
|
-
], 64)) : !t.packageHotelRoomOffers || !t.packageHotelRoomOffers.length ? (i(), R(
|
2837
|
+
], 64)) : !t.packageHotelRoomOffers || !t.packageHotelRoomOffers.length ? (i(), R(u, {
|
2859
2838
|
key: "skeleton",
|
2860
2839
|
boilerplate: "",
|
2861
2840
|
type: "noResults"
|
@@ -2865,13 +2844,13 @@ function ha(t, e, n, s, r, b) {
|
|
2865
2844
|
}
|
2866
2845
|
typeof zt == "function" && zt(te);
|
2867
2846
|
const Ga = /* @__PURE__ */ tt(te, [["render", ha], ["__scopeId", "data-v-e71fbea6"]]);
|
2868
|
-
ne("css/revolugo.hotelroomofferlist.
|
2847
|
+
ne("css/revolugo.hotelroomofferlist.Dh1OAA7W.css");
|
2869
2848
|
export {
|
2870
2849
|
Rt as B,
|
2871
2850
|
Ga as H,
|
2872
2851
|
Xt as a,
|
2873
2852
|
ua as h,
|
2874
|
-
|
2875
|
-
|
2853
|
+
co as r,
|
2854
|
+
bo as u
|
2876
2855
|
};
|
2877
|
-
//# sourceMappingURL=revolugo.hotelroomofferlist.
|
2856
|
+
//# sourceMappingURL=revolugo.hotelroomofferlist.DRs28YA0.min.js.map
|