@revolugo/elements 6.8.3-beta.13 → 6.8.3-beta.14
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/{revolugo._baseiteratee.cBR9c7y0.min.js → revolugo._baseiteratee.BhaL3Ihm.min.js} +2 -2
- package/dist/{revolugo.banktransferdetails.COKZxUgl.min.js → revolugo.banktransferdetails.Ac8FSLVW.min.js} +10 -10
- package/dist/{revolugo.bdaterangepicker.DTHAdEo_.min.js → revolugo.bdaterangepicker.hVwM6ipX.min.js} +5 -5
- package/dist/{revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.CSkPq_d5.min.js → revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.BS1jYuno.min.js} +20 -23
- package/dist/{revolugo.bhoteloffersfilterbar.WV1ViyRw.min.js → revolugo.bhoteloffersfilterbar.qDSKNDlZ.min.js} +35 -35
- package/dist/{revolugo.bhotelroomsdetails.Du1N0UAf.min.js → revolugo.bhotelroomsdetails.E0vCwuBV.min.js} +7 -7
- package/dist/{revolugo.bimagecarousel.CBxDqlvz.min.js → revolugo.bimagecarousel.DyzQUjzi.min.js} +8 -8
- package/dist/{revolugo.bookingdetailssidebar.DPhWTa8q.min.js → revolugo.bookingdetailssidebar.4s_eSQg4.min.js} +4 -4
- package/dist/{revolugo.bookingdetailssidebar.vue_vue_type_script_setup_true_lang.CFy72I3H.min.js → revolugo.bookingdetailssidebar.vue_vue_type_script_setup_true_lang.JNe9c8M3.min.js} +12 -12
- package/dist/{revolugo.bookingmanager.DU11HnFM.min.js → revolugo.bookingmanager.6yPgoaWw.min.js} +20 -20
- package/dist/{revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.O_acR9ze.min.js → revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.BbtWMTnV.min.js} +3 -3
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CsJ-qnww.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.Csh7MNV1.min.js} +7 -7
- package/dist/{revolugo.btag.C62gPpXY.min.js → revolugo.btag.ySOeDeLw.min.js} +8 -8
- package/dist/{revolugo.cancellationpoliciesbadge.2POZ-HT5.min.js → revolugo.cancellationpoliciesbadge.W3M5rQIz.min.js} +7 -7
- package/dist/{revolugo.cancellationpoliciesbadge.Ct0ngoDp.min.js → revolugo.cancellationpoliciesbadge.dr9YreJC.min.js} +4 -4
- package/dist/{revolugo.cancellationpolicieslist.CXfbgIoX.min.js → revolugo.cancellationpolicieslist.BaZc434S.min.js} +4 -4
- package/dist/{revolugo.cancellationpolicieslist.B3anYVoy.min.js → revolugo.cancellationpolicieslist.pxTuDh2s.min.js} +3 -3
- package/dist/{revolugo.case-transformers.BwQ_6ytS.min.js → revolugo.case-transformers.C_YgD3nA.min.js} +2 -2
- package/dist/{revolugo.creditcardform.Bk7yeZle.min.js → revolugo.creditcardform.BTlkvOgH.min.js} +11 -11
- package/dist/{revolugo.creditcardform.CLPMa22X.min.js → revolugo.creditcardform.DJe7Njnk.min.js} +4 -4
- package/dist/{revolugo.creditcardpayment.8uLeCSFY.min.js → revolugo.creditcardpayment.BEj51mBs.min.js} +4 -4
- package/dist/{revolugo.creditcardpayment.16l0_Jf7.min.js → revolugo.creditcardpayment.BfM_sNj1.min.js} +16 -16
- package/dist/{revolugo.currencypicker.C2vrmj29.min.js → revolugo.currencypicker.CWG49Zhf.min.js} +6 -6
- package/dist/{revolugo.currencypickerbtn.D-_ebAdx.min.js → revolugo.currencypickerbtn.D15jjm6y.min.js} +9 -9
- package/dist/{revolugo.currencypickerbtn.oOaJl4xV.min.js → revolugo.currencypickerbtn.DpGFoemK.min.js} +4 -4
- package/dist/{revolugo.dates.CjcXQ0GW.min.js → revolugo.dates.BodUWcoy.min.js} +2 -2
- package/dist/{revolugo.defaultsdeep.BeZIlIB3.min.js → revolugo.defaultsdeep.BQVrU_I2.min.js} +2 -2
- package/dist/{revolugo.dialog-attach.BhhnSZUl.min.js → revolugo.dialog-attach.DrmEgjzG.min.js} +2 -2
- package/dist/{revolugo.dialog-transition.FTaI_Ytg.min.js → revolugo.dialog-transition.x1E-leWE.min.js} +3 -3
- package/dist/{revolugo.fastbookingflow.BEvuz8TE.min.js → revolugo.fastbookingflow.Bu26X9eR.min.js} +4 -4
- package/dist/{revolugo.fullbookingflow.Cqc7o02c.min.js → revolugo.fullbookingflow.7eCzxgkm.min.js} +17 -17
- package/dist/{revolugo.hotel-offer-request.aeZsBIhG.min.js → revolugo.hotel-offer-request.CS9yN6dC.min.js} +2 -2
- package/dist/{revolugo.hoteldescriptionview.bwCbJ_Lc.min.js → revolugo.hoteldescriptionview.BcGnT767.min.js} +4 -4
- package/dist/{revolugo.hoteldescriptionview.Cc34IdcB.min.js → revolugo.hoteldescriptionview.CpHXBzEy.min.js} +147 -143
- package/dist/{revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.CmUguFEO.min.js → revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.BR7jcumI.min.js} +7 -7
- package/dist/{revolugo.hotelofferlist.BvbLSbsN.min.js → revolugo.hotelofferlist.B9RDtc0D.min.js} +23 -23
- package/dist/{revolugo.hotelofferlist.BjxZDBqQ.min.js → revolugo.hotelofferlist.BeTc6Ypd.min.js} +4 -4
- package/dist/{revolugo.hoteloffersearchmenu.BJ-JtltU.min.js → revolugo.hoteloffersearchmenu.CNQs7uf0.min.js} +6 -6
- package/dist/{revolugo.hoteloffersearchmenuui.EO_TtRM1.min.js → revolugo.hoteloffersearchmenuui.D26rRLl9.min.js} +17 -17
- package/dist/{revolugo.hoteloffersmap.CwRdoBFO.min.js → revolugo.hoteloffersmap.Ce0wWt8l.min.js} +15 -15
- package/dist/{revolugo.hoteloffersmap.CXSkWGLL.min.js → revolugo.hoteloffersmap.DWMFOwWt.min.js} +4 -4
- package/dist/{revolugo.hoteloffersview.DmZBFwbi.min.js → revolugo.hoteloffersview.BOdQbV-Z.min.js} +16 -16
- package/dist/{revolugo.hoteloffersview.Bldot7ii.min.js → revolugo.hoteloffersview.pWsKhpam.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.BMzSnIk0.min.js → revolugo.hotelroomofferlist.BYjhiVd9.min.js} +621 -650
- package/dist/{revolugo.hotelroomofferlist.BfIOXkSe.min.js → revolugo.hotelroomofferlist.FjLqM2qT.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferrequestcreator.props.C6XfAEF1.min.js → revolugo.hotelroomofferrequestcreator.props.DaO-XF8o.min.js} +2 -2
- package/dist/{revolugo.hotelroomoffersbookingflow.NFAeeps4.min.js → revolugo.hotelroomoffersbookingflow.BIhSA__v.min.js} +17 -17
- package/dist/{revolugo.hotelroomoffersearchmenu.DdtWQl8T.min.js → revolugo.hotelroomoffersearchmenu.B4L9T_pD.min.js} +8 -8
- package/dist/{revolugo.hotelroomoffersearchmenu.6fvMlU9I.min.js → revolugo.hotelroomoffersearchmenu.DmxmMPap.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersview.BYJ5V84k.min.js → revolugo.hotelroomoffersview.BSuVaUYS.min.js} +12 -12
- package/dist/{revolugo.hotelroomoffersview.CvL5egT6.min.js → revolugo.hotelroomoffersview.DikMXiku.min.js} +4 -4
- package/dist/{revolugo.index.DW0gTseB.min.js → revolugo.index.BK0e6ROR.min.js} +2 -2
- package/dist/{revolugo.index.BEuxTkkV.min.js → revolugo.index.CpbrPSdc.min.js} +5 -5
- package/dist/{revolugo.index.wc.ChJWkzSz.min.js → revolugo.index.wc.jjeh0psC.min.js} +26 -26
- package/dist/{revolugo.langpicker.C3WkV6vL.min.js → revolugo.langpicker.CfywWRmf.min.js} +5 -5
- package/dist/{revolugo.langpickerbtn.Big2FR0-.min.js → revolugo.langpickerbtn.DOhtMneJ.min.js} +10 -10
- package/dist/{revolugo.langpickerbtn.BtNmwMy5.min.js → revolugo.langpickerbtn.Dj9tOUTP.min.js} +4 -4
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.parsed-props.CKrOq6vN.min.js → revolugo.parsed-props.DoxQeA2G.min.js} +4 -4
- package/dist/{revolugo.pathify.BXdI-Fp4.min.js → revolugo.pathify.DyWzmaeA.min.js} +2 -2
- package/dist/{revolugo.prebookform.Bt4-Cptm.min.js → revolugo.prebookform.BhhN6y68.min.js} +4 -4
- package/dist/{revolugo.prebookform.DLNVSLoS.min.js → revolugo.prebookform.P5zcfTNX.min.js} +18 -18
- package/dist/{revolugo.roominglisteditor.CQzIDZtG.min.js → revolugo.roominglisteditor.Bxrs0KHA.min.js} +4 -4
- package/dist/{revolugo.roominglisteditor.w3dcygO-.min.js → revolugo.roominglisteditor.CVYLzHRT.min.js} +9 -9
- package/dist/{revolugo.rounded.TLykrsW-.min.js → revolugo.rounded.NtUKwXJe.min.js} +2 -2
- package/dist/{revolugo.ssrboot.B7Rop2QP.min.js → revolugo.ssrboot.CsFDZ3GY.min.js} +2 -2
- package/dist/{revolugo.storybooktoolbar.C-phKw4Y.min.js → revolugo.storybooktoolbar.ID2ZQ0P5.min.js} +18 -18
- package/dist/{revolugo.termsandconditions.Bo6ToP4B.min.js → revolugo.termsandconditions.CRRHtizQ.min.js} +4 -4
- package/dist/{revolugo.termsandconditions.BT6qdQad.min.js → revolugo.termsandconditions.CbleG1D9.min.js} +4 -4
- package/dist/{revolugo.use-breakpoint-service.CgKRPcVE.min.js → revolugo.use-breakpoint-service.BPw7628u.min.js} +3 -3
- package/dist/{revolugo.use-dialog-attach.EGF5pKTl.min.js → revolugo.use-dialog-attach.CHjkmbrv.min.js} +3 -3
- package/dist/revolugo.use-html-element.CSI1N3ea.min.js +11 -0
- package/dist/{revolugo.use-parsed-props.DL26tjRL.min.js → revolugo.use-parsed-props.D5H5p3rX.min.js} +3 -3
- package/dist/{revolugo.vautocomplete.C1ryjPoI.min.js → revolugo.vautocomplete.CPWUQuA8.min.js} +12 -12
- package/dist/{revolugo.vbadge.BFTNHKkx.min.js → revolugo.vbadge.B41nGplL.min.js} +6 -6
- package/dist/{revolugo.vbtn.Cw5eo1Xx.min.js → revolugo.vbtn.DU_4A0p_.min.js} +6 -6
- package/dist/{revolugo.vcard.DlI6Moiv.min.js → revolugo.vcard.gzoVNZt3.min.js} +6 -6
- package/dist/{revolugo.vcheckboxbtn.Bc0xhmo2.min.js → revolugo.vcheckboxbtn.7vWER-xI.min.js} +8 -8
- package/dist/{revolugo.vdialog.up-Y8p7U.min.js → revolugo.vdialog.CiTP3_6P.min.js} +5 -5
- package/dist/{revolugo.vdivider.CaptbTLL.min.js → revolugo.vdivider.BnYK7z-u.min.js} +3 -3
- package/dist/{revolugo.vexpansionpanels.DeQCpMrB.min.js → revolugo.vexpansionpanels.Cwh53uEX.min.js} +6 -6
- package/dist/{revolugo.vform.Cix7vOUg.min.js → revolugo.vform.DMmShcfR.min.js} +4 -4
- package/dist/{revolugo.vicon.BebzkIu9.min.js → revolugo.vicon.WVuIv40M.min.js} +3 -3
- package/dist/{revolugo.vinput.BP0DAwB4.min.js → revolugo.vinput.C5btOxFW.min.js} +5 -5
- package/dist/{revolugo.vlabel.BLwMEYcT.min.js → revolugo.vlabel.B3Ew8qSb.min.js} +3 -3
- package/dist/{revolugo.vlist.BQB5ovkZ.min.js → revolugo.vlist.OYNsGaEP.min.js} +8 -8
- package/dist/{revolugo.vmenu.Bkfr0AZ8.min.js → revolugo.vmenu.CtthwTkl.min.js} +5 -5
- package/dist/{revolugo.vselect.CnEh8cV1.min.js → revolugo.vselect.Be8zaTpJ.min.js} +12 -12
- package/dist/{revolugo.vsheet.3Q2yGw6P.min.js → revolugo.vsheet.bokzfSqi.min.js} +5 -5
- package/dist/{revolugo.vskeletonloader.Duv2gHal.min.js → revolugo.vskeletonloader.BmgnfVnz.min.js} +6 -6
- package/dist/{revolugo.vslidegroup.DRWO8Opf.min.js → revolugo.vslidegroup.ChXAadfi.min.js} +5 -5
- package/dist/{revolugo.vsnackbar.IdM-bZTD.min.js → revolugo.vsnackbar.pqrGnOMz.min.js} +5 -5
- package/dist/revolugo.vspacer.Cat0A_Ek.min.js +7 -0
- package/dist/{revolugo.vtextarea.Dm9Cp0hC.min.js → revolugo.vtextarea.DaPe8V7w.min.js} +6 -6
- package/dist/{revolugo.vtextfield.CJVqkfB9.min.js → revolugo.vtextfield.BxXOaS0D.min.js} +7 -7
- package/dist/{revolugo.vtoolbar.DvuDs2yB.min.js → revolugo.vtoolbar.6Nyge05T.min.js} +5 -5
- package/dist/{revolugo.vtooltip.64CgkEK4.min.js → revolugo.vtooltip.ckXYGzYH.min.js} +3 -3
- package/dist/{revolugo.vwindowitem.qKodFAHS.min.js → revolugo.vwindowitem.CbN0F8kL.min.js} +6 -6
- package/dist/{revolugo.watch-list.0WSknWRu.min.js → revolugo.watch-list.CGB3U4_b.min.js} +2 -2
- package/dist/{revolugo.webcomponentwrapper.BXqP9KYd.min.js → revolugo.webcomponentwrapper.Cl0TkD0k.min.js} +2 -2
- package/package.json +1 -1
- package/dist/revolugo.use-html-element.Bvmaeg1E.min.js +0 -11
- package/dist/revolugo.vspacer.C-OarNi7.min.js +0 -7
@@ -1,98 +1,98 @@
|
|
1
|
-
import { aj as ft, r as
|
2
|
-
import { s as
|
3
|
-
import { u as bt, h as
|
4
|
-
import { C as
|
5
|
-
import {
|
6
|
-
import { u as
|
7
|
-
import { V as
|
8
|
-
import { _ as
|
9
|
-
import { _ as
|
10
|
-
import { V as at } from "./revolugo.vicon.
|
11
|
-
import { r as
|
12
|
-
import { u as
|
13
|
-
import { b as
|
14
|
-
import { V as It, a as st, m as
|
15
|
-
import { B as
|
16
|
-
import {
|
17
|
-
import { V as
|
18
|
-
import {
|
19
|
-
import { V as
|
20
|
-
import { _ as
|
21
|
-
import { k as
|
1
|
+
import { aj as ft, r as j, by as x, H as b, $ as lt, a0 as rt, a4 as mt, bz as ne, aQ as le, b4 as re, a as o, D as q, F as B, a8 as Nt, ap as ue, ad as X, aM as ce, ab as de, bA as me, d as W, bB as Ut, bC as fe, u as tt, k as f, g as I, b as h, t as C, f as p, e as w, o as l, S as be, O as D, M as pe, c as S, w as a, l as L, i as ot, m as ve, p as ke, bD as dt, J as gt, K as yt, n as he, h as ge, B as G, I as ye, E as Re, bE as Oe, q as kt, v as wt, s as Ce, C as Rt, bF as Be, ah as Se, bG as Ot, bH as Ie } from "./revolugo.index.wc.jjeh0psC.min.js";
|
2
|
+
import { s as _e } from "./revolugo.dates.BodUWcoy.min.js";
|
3
|
+
import { u as bt, h as we } from "./revolugo.hotelroomofferrequestcreator.props.DaO-XF8o.min.js";
|
4
|
+
import { C as Pe } from "./revolugo.cancellationpoliciesbadge.W3M5rQIz.min.js";
|
5
|
+
import { u as jt } from "./revolugo.use-breakpoint-service.BPw7628u.min.js";
|
6
|
+
import { u as ut, d as Te, q as He, s as Ee, b as Ve, f as Ae, h as Le, _ as ct, V as P, a as y, l as Ft, B as St } from "./revolugo.webcomponentwrapper.Cl0TkD0k.min.js";
|
7
|
+
import { V as Z } from "./revolugo.vskeletonloader.BmgnfVnz.min.js";
|
8
|
+
import { _ as xt, B as Gt } from "./revolugo.bhotelroomsdetails.E0vCwuBV.min.js";
|
9
|
+
import { _ as nt, a as $e } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.BS1jYuno.min.js";
|
10
|
+
import { V as at } from "./revolugo.vicon.WVuIv40M.min.js";
|
11
|
+
import { r as De, a as ze, d as qe, L as Me, s as Ne, m as Ue, V as je } from "./revolugo.index.CpbrPSdc.min.js";
|
12
|
+
import { u as Fe, V as Pt, m as xe } from "./revolugo.vinput.C5btOxFW.min.js";
|
13
|
+
import { b as Tt, c as Ge, V as We } from "./revolugo.vcheckboxbtn.7vWER-xI.min.js";
|
14
|
+
import { V as It, a as st, m as Ye } from "./revolugo.vbtn.DU_4A0p_.min.js";
|
15
|
+
import { B as ht } from "./revolugo.btag.ySOeDeLw.min.js";
|
16
|
+
import { V as Ze } from "./revolugo.vselect.Be8zaTpJ.min.js";
|
17
|
+
import { V as Ke } from "./revolugo.vlist.OYNsGaEP.min.js";
|
18
|
+
import { _ as Qe, a as Je } from "./revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.BbtWMTnV.min.js";
|
19
|
+
import { V as K } from "./revolugo.vdivider.BnYK7z-u.min.js";
|
20
|
+
import { _ as Xe } from "./revolugo.cancellationpolicieslist.pxTuDh2s.min.js";
|
21
|
+
import { k as to, C as eo } from "./revolugo.case-transformers.C_YgD3nA.min.js";
|
22
22
|
/* empty css */
|
23
|
-
import { p as
|
24
|
-
import { u as
|
25
|
-
import { f as
|
26
|
-
import { V as
|
27
|
-
import { a as
|
28
|
-
function
|
23
|
+
import { p as oo } from "./revolugo.pathify.DyWzmaeA.min.js";
|
24
|
+
import { u as ao } from "./revolugo.use-parsed-props.D5H5p3rX.min.js";
|
25
|
+
import { f as so } from "./revolugo.forwardrefs.VVhh1qV3.min.js";
|
26
|
+
import { V as Ht, m as io, a as Et, b as no } from "./revolugo.vwindowitem.CbN0F8kL.min.js";
|
27
|
+
import { a as Vt, m as lo } from "./revolugo.vslidegroup.ChXAadfi.min.js";
|
28
|
+
function ie(t) {
|
29
29
|
try {
|
30
30
|
if (typeof document < "u") {
|
31
31
|
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
32
32
|
sheets: [],
|
33
33
|
components: []
|
34
34
|
};
|
35
|
-
const e = import.meta.url,
|
36
|
-
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(
|
37
|
-
for (const
|
38
|
-
i
|
35
|
+
const e = import.meta.url, i = e.slice(0, e.lastIndexOf("/") + 1) + t;
|
36
|
+
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(i);
|
37
|
+
for (const s of REVOLUGO_ELEMENTS_STYLES.components)
|
38
|
+
s(i);
|
39
39
|
if (t.indexOf("fonts") >= 0) {
|
40
|
-
const
|
41
|
-
|
40
|
+
const s = document.createElement("link");
|
41
|
+
s.rel = "stylesheet", linK.href = i, document.head.appendChild(s);
|
42
42
|
}
|
43
43
|
}
|
44
44
|
} catch (e) {
|
45
45
|
console.error("[revolugo-elements] ", e);
|
46
46
|
}
|
47
47
|
}
|
48
|
-
const
|
49
|
-
function
|
48
|
+
const ro = "Europe/Paris";
|
49
|
+
function uo(t) {
|
50
50
|
return (t && t.split(",") || []).map(
|
51
51
|
(e) => Number.parseInt(e)
|
52
52
|
);
|
53
53
|
}
|
54
|
-
const
|
55
|
-
function
|
56
|
-
return t +
|
54
|
+
const co = 4;
|
55
|
+
function mo(t, e) {
|
56
|
+
return t + uo(e).reduce((i, s) => s >= co ? i + 1 : i, 0);
|
57
57
|
}
|
58
|
-
function
|
59
|
-
return e === void 0 ? Array.from({ length: t }, (
|
58
|
+
function fo(t, e) {
|
59
|
+
return e === void 0 ? Array.from({ length: t }, (i, s) => s) : Array.from({ length: e - t }, (i, s) => t + s);
|
60
60
|
}
|
61
|
-
function
|
62
|
-
const t = ft(), e =
|
63
|
-
() => e.value ===
|
64
|
-
),
|
65
|
-
() => e.value ===
|
61
|
+
function bo() {
|
62
|
+
const t = ft(), e = j(x.Idle), i = b(
|
63
|
+
() => e.value === x.BookingPoliciesFetched
|
64
|
+
), s = b(
|
65
|
+
() => e.value === x.Unavailable
|
66
66
|
), n = b(
|
67
|
-
() => e.value ===
|
67
|
+
() => e.value === x.FetchingBookingPolicies
|
68
68
|
);
|
69
|
-
async function
|
70
|
-
addBreakfast:
|
69
|
+
async function v({
|
70
|
+
addBreakfast: m,
|
71
71
|
hotelId: r,
|
72
|
-
hotelRoomOfferId:
|
72
|
+
hotelRoomOfferId: k
|
73
73
|
}) {
|
74
|
-
e.value =
|
74
|
+
e.value = x.FetchingBookingPolicies;
|
75
75
|
try {
|
76
76
|
await t.createBookingPolicies({
|
77
|
-
addBreakfast:
|
77
|
+
addBreakfast: m,
|
78
78
|
hotelId: r,
|
79
|
-
hotelRoomOfferId:
|
80
|
-
}), e.value =
|
81
|
-
e.value =
|
79
|
+
hotelRoomOfferId: k
|
80
|
+
}), e.value = x.Unavailable, setTimeout(() => {
|
81
|
+
e.value = x.Idle;
|
82
82
|
}, 1.5 * 1e3);
|
83
83
|
} catch {
|
84
|
-
e.value =
|
84
|
+
e.value = x.Unavailable;
|
85
85
|
}
|
86
86
|
}
|
87
87
|
return {
|
88
88
|
bookingState: e,
|
89
|
-
createBookingPolicy:
|
90
|
-
isBookingPoliciesSuccessful:
|
91
|
-
isBookingPoliciesUnavailable:
|
89
|
+
createBookingPolicy: v,
|
90
|
+
isBookingPoliciesSuccessful: i,
|
91
|
+
isBookingPoliciesUnavailable: s,
|
92
92
|
isFetchingBookingPolicies: n
|
93
93
|
};
|
94
94
|
}
|
95
|
-
const
|
95
|
+
const po = rt({
|
96
96
|
indeterminate: Boolean,
|
97
97
|
inset: Boolean,
|
98
98
|
flat: Boolean,
|
@@ -100,12 +100,12 @@ const vo = ut({
|
|
100
100
|
type: [Boolean, String],
|
101
101
|
default: !1
|
102
102
|
},
|
103
|
-
...
|
104
|
-
...
|
105
|
-
}, "VSwitch"),
|
103
|
+
...xe(),
|
104
|
+
...Ge()
|
105
|
+
}, "VSwitch"), vo = lt()({
|
106
106
|
name: "VSwitch",
|
107
107
|
inheritAttrs: !1,
|
108
|
-
props:
|
108
|
+
props: po(),
|
109
109
|
emits: {
|
110
110
|
"update:focused": (t) => !0,
|
111
111
|
"update:modelValue": (t) => !0,
|
@@ -113,67 +113,67 @@ const vo = ut({
|
|
113
113
|
},
|
114
114
|
setup(t, e) {
|
115
115
|
let {
|
116
|
-
attrs:
|
117
|
-
slots:
|
116
|
+
attrs: i,
|
117
|
+
slots: s
|
118
118
|
} = e;
|
119
|
-
const n = mt(t, "indeterminate"),
|
120
|
-
loaderClasses:
|
121
|
-
} =
|
119
|
+
const n = mt(t, "indeterminate"), v = mt(t, "modelValue"), {
|
120
|
+
loaderClasses: m
|
121
|
+
} = De(t), {
|
122
122
|
isFocused: r,
|
123
|
-
focus:
|
124
|
-
blur:
|
125
|
-
} =
|
123
|
+
focus: k,
|
124
|
+
blur: d
|
125
|
+
} = Fe(t), T = j(), A = ne && window.matchMedia("(forced-colors: active)").matches, R = b(() => typeof t.loading == "string" && t.loading !== "" ? t.loading : t.color), z = le(), u = b(() => t.id || `switch-${z}`);
|
126
126
|
function g() {
|
127
127
|
n.value && (n.value = !1);
|
128
128
|
}
|
129
129
|
function H(E) {
|
130
130
|
E.stopPropagation(), E.preventDefault(), T.value?.input?.click();
|
131
131
|
}
|
132
|
-
return
|
133
|
-
const [E, M] =
|
134
|
-
return o(
|
132
|
+
return ut(() => {
|
133
|
+
const [E, M] = re(i), N = Pt.filterProps(t), Y = Tt.filterProps(t);
|
134
|
+
return o(Pt, q({
|
135
135
|
class: ["v-switch", {
|
136
136
|
"v-switch--flat": t.flat
|
137
137
|
}, {
|
138
138
|
"v-switch--inset": t.inset
|
139
139
|
}, {
|
140
140
|
"v-switch--indeterminate": n.value
|
141
|
-
},
|
141
|
+
}, m.value, t.class]
|
142
142
|
}, E, N, {
|
143
|
-
modelValue:
|
144
|
-
"onUpdate:modelValue": (_) =>
|
143
|
+
modelValue: v.value,
|
144
|
+
"onUpdate:modelValue": (_) => v.value = _,
|
145
145
|
id: u.value,
|
146
146
|
focused: r.value,
|
147
147
|
style: t.style
|
148
148
|
}), {
|
149
|
-
...
|
149
|
+
...s,
|
150
150
|
default: (_) => {
|
151
151
|
let {
|
152
152
|
id: $,
|
153
|
-
messagesId:
|
153
|
+
messagesId: F,
|
154
154
|
isDisabled: U,
|
155
|
-
isReadonly:
|
155
|
+
isReadonly: it,
|
156
156
|
isValid: et
|
157
157
|
} = _;
|
158
|
-
const
|
159
|
-
model:
|
158
|
+
const Q = {
|
159
|
+
model: v,
|
160
160
|
isValid: et
|
161
161
|
};
|
162
|
-
return o(
|
162
|
+
return o(Tt, q({
|
163
163
|
ref: T
|
164
|
-
},
|
165
|
-
modelValue:
|
166
|
-
"onUpdate:modelValue": [(c) =>
|
164
|
+
}, Y, {
|
165
|
+
modelValue: v.value,
|
166
|
+
"onUpdate:modelValue": [(c) => v.value = c, g],
|
167
167
|
id: $.value,
|
168
|
-
"aria-describedby":
|
168
|
+
"aria-describedby": F.value,
|
169
169
|
type: "checkbox",
|
170
170
|
"aria-checked": n.value ? "mixed" : void 0,
|
171
171
|
disabled: U.value,
|
172
|
-
readonly:
|
173
|
-
onFocus:
|
174
|
-
onBlur:
|
172
|
+
readonly: it.value,
|
173
|
+
onFocus: k,
|
174
|
+
onBlur: d
|
175
175
|
}, M), {
|
176
|
-
...
|
176
|
+
...s,
|
177
177
|
default: (c) => {
|
178
178
|
let {
|
179
179
|
backgroundColorClasses: V,
|
@@ -183,27 +183,27 @@ const vo = ut({
|
|
183
183
|
class: ["v-switch__track", A ? void 0 : V.value],
|
184
184
|
style: O.value,
|
185
185
|
onClick: H
|
186
|
-
}, [
|
186
|
+
}, [s["track-true"] && o("div", {
|
187
187
|
key: "prepend",
|
188
188
|
class: "v-switch__track-true"
|
189
|
-
}, [
|
189
|
+
}, [s["track-true"](Q)]), s["track-false"] && o("div", {
|
190
190
|
key: "append",
|
191
191
|
class: "v-switch__track-false"
|
192
|
-
}, [
|
192
|
+
}, [s["track-false"](Q)])]);
|
193
193
|
},
|
194
194
|
input: (c) => {
|
195
195
|
let {
|
196
196
|
inputNode: V,
|
197
197
|
icon: O,
|
198
|
-
backgroundColorClasses:
|
199
|
-
backgroundColorStyles:
|
198
|
+
backgroundColorClasses: J,
|
199
|
+
backgroundColorStyles: se
|
200
200
|
} = c;
|
201
201
|
return o(B, null, [V, o("div", {
|
202
202
|
class: ["v-switch__thumb", {
|
203
203
|
"v-switch__thumb--filled": O || t.loading
|
204
|
-
}, t.inset || A ? void 0 :
|
205
|
-
style: t.inset ? void 0 :
|
206
|
-
}, [
|
204
|
+
}, t.inset || A ? void 0 : J.value],
|
205
|
+
style: t.inset ? void 0 : se.value
|
206
|
+
}, [s.thumb ? o(ze, {
|
207
207
|
defaults: {
|
208
208
|
VIcon: {
|
209
209
|
icon: O,
|
@@ -211,19 +211,19 @@ const vo = ut({
|
|
211
211
|
}
|
212
212
|
}
|
213
213
|
}, {
|
214
|
-
default: () => [
|
215
|
-
...
|
214
|
+
default: () => [s.thumb({
|
215
|
+
...Q,
|
216
216
|
icon: O
|
217
217
|
})]
|
218
|
-
}) : o(
|
219
|
-
default: () => [t.loading ? o(
|
218
|
+
}) : o(qe, null, {
|
219
|
+
default: () => [t.loading ? o(Me, {
|
220
220
|
name: "v-switch",
|
221
221
|
active: !0,
|
222
222
|
color: et.value === !1 ? void 0 : R.value
|
223
223
|
}, {
|
224
|
-
default: (
|
225
|
-
active:
|
226
|
-
color:
|
224
|
+
default: (vt) => s.loader ? s.loader(vt) : o(It, {
|
225
|
+
active: vt.isActive,
|
226
|
+
color: vt.color,
|
227
227
|
indeterminate: !0,
|
228
228
|
size: "16",
|
229
229
|
width: "2"
|
@@ -240,7 +240,7 @@ const vo = ut({
|
|
240
240
|
});
|
241
241
|
}), {};
|
242
242
|
}
|
243
|
-
}), _t = Symbol.for("vuetify:v-tabs"),
|
243
|
+
}), _t = Symbol.for("vuetify:v-tabs"), ko = rt({
|
244
244
|
fixed: Boolean,
|
245
245
|
sliderColor: String,
|
246
246
|
hideSlider: Boolean,
|
@@ -248,126 +248,126 @@ const vo = ut({
|
|
248
248
|
type: String,
|
249
249
|
default: "horizontal"
|
250
250
|
},
|
251
|
-
...
|
251
|
+
...Nt(Ye({
|
252
252
|
selectedClass: "v-tab--selected",
|
253
253
|
variant: "text"
|
254
254
|
}), ["active", "block", "flat", "location", "position", "symbol"])
|
255
|
-
}, "VTab"),
|
255
|
+
}, "VTab"), Wt = lt()({
|
256
256
|
name: "VTab",
|
257
|
-
props:
|
257
|
+
props: ko(),
|
258
258
|
setup(t, e) {
|
259
259
|
let {
|
260
|
-
slots:
|
261
|
-
attrs:
|
260
|
+
slots: i,
|
261
|
+
attrs: s
|
262
262
|
} = e;
|
263
263
|
const {
|
264
264
|
textColorClasses: n,
|
265
|
-
textColorStyles:
|
266
|
-
} =
|
265
|
+
textColorStyles: v
|
266
|
+
} = Te(t, "sliderColor"), m = j(), r = j(), k = b(() => t.direction === "horizontal"), d = b(() => m.value?.group?.isSelected.value ?? !1);
|
267
267
|
function T(A) {
|
268
268
|
let {
|
269
269
|
value: R
|
270
270
|
} = A;
|
271
271
|
if (R) {
|
272
|
-
const z =
|
272
|
+
const z = m.value?.$el.parentElement?.querySelector(".v-tab--selected .v-tab__slider"), u = r.value;
|
273
273
|
if (!z || !u) return;
|
274
|
-
const g = getComputedStyle(z).color, H = z.getBoundingClientRect(), E = u.getBoundingClientRect(), M =
|
275
|
-
|
274
|
+
const g = getComputedStyle(z).color, H = z.getBoundingClientRect(), E = u.getBoundingClientRect(), M = k.value ? "x" : "y", N = k.value ? "X" : "Y", Y = k.value ? "right" : "bottom", _ = k.value ? "width" : "height", $ = H[M], F = E[M], U = $ > F ? H[Y] - E[Y] : H[M] - E[M], it = Math.sign(U) > 0 ? k.value ? "right" : "bottom" : Math.sign(U) < 0 ? k.value ? "left" : "top" : "center", Q = (Math.abs(U) + (Math.sign(U) < 0 ? H[_] : E[_])) / Math.max(H[_], E[_]) || 0, c = H[_] / E[_] || 0, V = 1.5;
|
275
|
+
He(u, {
|
276
276
|
backgroundColor: [g, "currentcolor"],
|
277
|
-
transform: [`translate${N}(${U}px) scale${N}(${c})`, `translate${N}(${U / V}px) scale${N}(${(
|
278
|
-
transformOrigin: Array(3).fill(
|
277
|
+
transform: [`translate${N}(${U}px) scale${N}(${c})`, `translate${N}(${U / V}px) scale${N}(${(Q - 1) / V + 1})`, "none"],
|
278
|
+
transformOrigin: Array(3).fill(it)
|
279
279
|
}, {
|
280
280
|
duration: 225,
|
281
|
-
easing:
|
281
|
+
easing: Ee
|
282
282
|
});
|
283
283
|
}
|
284
284
|
}
|
285
|
-
return
|
285
|
+
return ut(() => {
|
286
286
|
const A = st.filterProps(t);
|
287
287
|
return o(st, q({
|
288
288
|
symbol: _t,
|
289
|
-
ref:
|
289
|
+
ref: m,
|
290
290
|
class: ["v-tab", t.class],
|
291
291
|
style: t.style,
|
292
|
-
tabindex:
|
292
|
+
tabindex: d.value ? 0 : -1,
|
293
293
|
role: "tab",
|
294
|
-
"aria-selected": String(
|
294
|
+
"aria-selected": String(d.value),
|
295
295
|
active: !1
|
296
|
-
}, A,
|
296
|
+
}, A, s, {
|
297
297
|
block: t.fixed,
|
298
298
|
maxWidth: t.fixed ? 300 : void 0,
|
299
299
|
"onGroup:selected": T
|
300
300
|
}), {
|
301
|
-
...
|
302
|
-
default: () => o(B, null, [
|
301
|
+
...i,
|
302
|
+
default: () => o(B, null, [i.default?.() ?? t.text, !t.hideSlider && o("div", {
|
303
303
|
ref: r,
|
304
304
|
class: ["v-tab__slider", n.value],
|
305
|
-
style:
|
305
|
+
style: v.value
|
306
306
|
}, null)])
|
307
307
|
});
|
308
|
-
}),
|
308
|
+
}), so({}, m);
|
309
309
|
}
|
310
|
-
}),
|
311
|
-
...
|
312
|
-
}, "VTabsWindow"),
|
310
|
+
}), ho = rt({
|
311
|
+
...Nt(io(), ["continuous", "nextIcon", "prevIcon", "showArrows", "touch", "mandatory"])
|
312
|
+
}, "VTabsWindow"), Yt = lt()({
|
313
313
|
name: "VTabsWindow",
|
314
|
-
props:
|
314
|
+
props: ho(),
|
315
315
|
emits: {
|
316
316
|
"update:modelValue": (t) => !0
|
317
317
|
},
|
318
318
|
setup(t, e) {
|
319
319
|
let {
|
320
|
-
slots:
|
320
|
+
slots: i
|
321
321
|
} = e;
|
322
|
-
const
|
322
|
+
const s = ue(_t, null), n = mt(t, "modelValue"), v = b({
|
323
323
|
get() {
|
324
|
-
return n.value != null || !
|
324
|
+
return n.value != null || !s ? n.value : s.items.value.find((m) => s.selected.value.includes(m.id))?.value;
|
325
325
|
},
|
326
|
-
set(
|
327
|
-
n.value =
|
326
|
+
set(m) {
|
327
|
+
n.value = m;
|
328
328
|
}
|
329
329
|
});
|
330
|
-
return
|
331
|
-
const
|
332
|
-
return o(
|
330
|
+
return ut(() => {
|
331
|
+
const m = Ht.filterProps(t);
|
332
|
+
return o(Ht, q({
|
333
333
|
_as: "VTabsWindow"
|
334
|
-
},
|
335
|
-
modelValue:
|
336
|
-
"onUpdate:modelValue": (r) =>
|
334
|
+
}, m, {
|
335
|
+
modelValue: v.value,
|
336
|
+
"onUpdate:modelValue": (r) => v.value = r,
|
337
337
|
class: ["v-tabs-window", t.class],
|
338
338
|
style: t.style,
|
339
339
|
mandatory: !1,
|
340
340
|
touch: !1
|
341
|
-
}),
|
341
|
+
}), i);
|
342
342
|
}), {};
|
343
343
|
}
|
344
|
-
}),
|
345
|
-
...
|
346
|
-
}, "VTabsWindowItem"),
|
344
|
+
}), go = rt({
|
345
|
+
...no()
|
346
|
+
}, "VTabsWindowItem"), Ct = lt()({
|
347
347
|
name: "VTabsWindowItem",
|
348
|
-
props:
|
348
|
+
props: go(),
|
349
349
|
setup(t, e) {
|
350
350
|
let {
|
351
|
-
slots:
|
351
|
+
slots: i
|
352
352
|
} = e;
|
353
|
-
return
|
354
|
-
const
|
355
|
-
return o(
|
353
|
+
return ut(() => {
|
354
|
+
const s = Et.filterProps(t);
|
355
|
+
return o(Et, q({
|
356
356
|
_as: "VTabsWindowItem"
|
357
|
-
},
|
357
|
+
}, s, {
|
358
358
|
class: ["v-tabs-window-item", t.class],
|
359
359
|
style: t.style
|
360
|
-
}),
|
360
|
+
}), i);
|
361
361
|
}), {};
|
362
362
|
}
|
363
363
|
});
|
364
|
-
function
|
365
|
-
return t ? t.map((e) =>
|
364
|
+
function yo(t) {
|
365
|
+
return t ? t.map((e) => me(e) ? e : {
|
366
366
|
text: e,
|
367
367
|
value: e
|
368
368
|
}) : [];
|
369
369
|
}
|
370
|
-
const
|
370
|
+
const Ro = rt({
|
371
371
|
alignTabs: {
|
372
372
|
type: String,
|
373
373
|
default: "start"
|
@@ -387,98 +387,98 @@ const Oo = ut({
|
|
387
387
|
},
|
388
388
|
hideSlider: Boolean,
|
389
389
|
sliderColor: String,
|
390
|
-
...
|
390
|
+
...lo({
|
391
391
|
mandatory: "force",
|
392
392
|
selectedClass: "v-tab-item--selected"
|
393
393
|
}),
|
394
|
-
...
|
395
|
-
...
|
396
|
-
}, "VTabs"),
|
394
|
+
...Ue(),
|
395
|
+
...Le()
|
396
|
+
}, "VTabs"), Oo = lt()({
|
397
397
|
name: "VTabs",
|
398
|
-
props:
|
398
|
+
props: Ro(),
|
399
399
|
emits: {
|
400
400
|
"update:modelValue": (t) => !0
|
401
401
|
},
|
402
402
|
setup(t, e) {
|
403
403
|
let {
|
404
|
-
attrs:
|
405
|
-
slots:
|
404
|
+
attrs: i,
|
405
|
+
slots: s
|
406
406
|
} = e;
|
407
|
-
const n = mt(t, "modelValue"),
|
408
|
-
densityClasses:
|
409
|
-
} =
|
407
|
+
const n = mt(t, "modelValue"), v = b(() => yo(t.items)), {
|
408
|
+
densityClasses: m
|
409
|
+
} = Ne(t), {
|
410
410
|
backgroundColorClasses: r,
|
411
|
-
backgroundColorStyles:
|
412
|
-
} =
|
413
|
-
scopeId:
|
414
|
-
} =
|
415
|
-
return
|
411
|
+
backgroundColorStyles: k
|
412
|
+
} = Ve(X(t, "bgColor")), {
|
413
|
+
scopeId: d
|
414
|
+
} = Ae();
|
415
|
+
return ce({
|
416
416
|
VTab: {
|
417
|
-
color:
|
418
|
-
direction:
|
419
|
-
stacked:
|
420
|
-
fixed:
|
421
|
-
sliderColor:
|
422
|
-
hideSlider:
|
417
|
+
color: X(t, "color"),
|
418
|
+
direction: X(t, "direction"),
|
419
|
+
stacked: X(t, "stacked"),
|
420
|
+
fixed: X(t, "fixedTabs"),
|
421
|
+
sliderColor: X(t, "sliderColor"),
|
422
|
+
hideSlider: X(t, "hideSlider")
|
423
423
|
}
|
424
|
-
}),
|
425
|
-
const T =
|
426
|
-
return o(B, null, [o(
|
424
|
+
}), ut(() => {
|
425
|
+
const T = Vt.filterProps(t), A = !!(s.window || t.items.length > 0);
|
426
|
+
return o(B, null, [o(Vt, q(T, {
|
427
427
|
modelValue: n.value,
|
428
428
|
"onUpdate:modelValue": (R) => n.value = R,
|
429
429
|
class: ["v-tabs", `v-tabs--${t.direction}`, `v-tabs--align-tabs-${t.alignTabs}`, {
|
430
430
|
"v-tabs--fixed-tabs": t.fixedTabs,
|
431
431
|
"v-tabs--grow": t.grow,
|
432
432
|
"v-tabs--stacked": t.stacked
|
433
|
-
},
|
433
|
+
}, m.value, r.value, t.class],
|
434
434
|
style: [{
|
435
|
-
"--v-tabs-height":
|
436
|
-
},
|
435
|
+
"--v-tabs-height": de(t.height)
|
436
|
+
}, k.value, t.style],
|
437
437
|
role: "tablist",
|
438
438
|
symbol: _t
|
439
|
-
},
|
440
|
-
default: () => [
|
439
|
+
}, d, i), {
|
440
|
+
default: () => [s.default?.() ?? v.value.map((R) => s.tab?.({
|
441
441
|
item: R
|
442
|
-
}) ?? o(
|
442
|
+
}) ?? o(Wt, q(R, {
|
443
443
|
key: R.text,
|
444
444
|
value: R.value
|
445
445
|
}), {
|
446
|
-
default:
|
446
|
+
default: s[`tab.${R.value}`] ? () => s[`tab.${R.value}`]?.({
|
447
447
|
item: R
|
448
448
|
}) : void 0
|
449
449
|
}))]
|
450
|
-
}), A && o(
|
450
|
+
}), A && o(Yt, q({
|
451
451
|
modelValue: n.value,
|
452
452
|
"onUpdate:modelValue": (R) => n.value = R,
|
453
453
|
key: "tabs-window"
|
454
|
-
},
|
455
|
-
default: () => [
|
454
|
+
}, d), {
|
455
|
+
default: () => [v.value.map((R) => s.item?.({
|
456
456
|
item: R
|
457
|
-
}) ?? o(
|
457
|
+
}) ?? o(Ct, {
|
458
458
|
value: R.value
|
459
459
|
}, {
|
460
|
-
default: () =>
|
460
|
+
default: () => s[`item.${R.value}`]?.({
|
461
461
|
item: R
|
462
462
|
})
|
463
|
-
})),
|
463
|
+
})), s.window?.()]
|
464
464
|
})]);
|
465
465
|
}), {};
|
466
466
|
}
|
467
|
-
}),
|
467
|
+
}), Co = { class: "text-right" }, Bo = {
|
468
468
|
key: 0,
|
469
469
|
class: "text-grey-darken-3"
|
470
|
-
},
|
470
|
+
}, So = { class: "text-h6 text-grey-darken-3 font-weight-black" }, Io = {
|
471
471
|
key: 1,
|
472
472
|
class: "my-0 text-caption text-grey-darken-3 d-block"
|
473
|
-
},
|
473
|
+
}, _o = { class: "text-caption d-block" }, Zt = /* @__PURE__ */ W({
|
474
474
|
__name: "BPriceSummary",
|
475
475
|
props: {
|
476
476
|
adultCount: { default: 0 },
|
477
|
-
currency: { default:
|
477
|
+
currency: { default: fe.EUR },
|
478
478
|
hasBolderTextPrice: { type: Boolean, default: void 0 },
|
479
479
|
isTaxIncluded: { type: Boolean, default: void 0 },
|
480
480
|
isStartingPrice: { type: Boolean, default: void 0 },
|
481
|
-
locale: { default:
|
481
|
+
locale: { default: Ut.fr_FR },
|
482
482
|
nightCount: { default: 1 },
|
483
483
|
price: {},
|
484
484
|
roomCount: { default: 1 },
|
@@ -486,43 +486,43 @@ const Oo = ut({
|
|
486
486
|
taxIncludedPrice: { default: void 0 }
|
487
487
|
},
|
488
488
|
setup(t) {
|
489
|
-
const e = t, { t:
|
490
|
-
return (n,
|
491
|
-
n.isStartingPrice ? (l(), f("small",
|
492
|
-
h("b",
|
493
|
-
o(
|
494
|
-
amount:
|
489
|
+
const e = t, { t: i } = tt(), s = b(() => e.nightCount <= 0 || e.roomCount <= 0 ? e.price : e.price / e.roomCount / e.nightCount);
|
490
|
+
return (n, v) => (l(), f("div", Co, [
|
491
|
+
n.isStartingPrice ? (l(), f("small", Bo, C(p(i)("BPriceSummary.from")) + " ", 1)) : I("", !0),
|
492
|
+
h("b", So, [
|
493
|
+
o(nt, {
|
494
|
+
amount: s.value,
|
495
495
|
"round-mode": n.roundMode,
|
496
496
|
currency: e.currency,
|
497
497
|
locale: e.locale
|
498
498
|
}, null, 8, ["amount", "round-mode", "currency", "locale"])
|
499
499
|
]),
|
500
|
-
(n.roomCount > 1 || n.nightCount > 1 || n.taxIncludedPrice !== n.price) && n.isTaxIncluded ? (l(), f("span",
|
500
|
+
(n.roomCount > 1 || n.nightCount > 1 || n.taxIncludedPrice !== n.price) && n.isTaxIncluded ? (l(), f("span", Io, [
|
501
501
|
h("b", null, [
|
502
|
-
o(
|
502
|
+
o(nt, {
|
503
503
|
amount: n.taxIncludedPrice,
|
504
504
|
"round-mode": n.roundMode,
|
505
505
|
currency: e.currency,
|
506
506
|
locale: e.locale
|
507
507
|
}, null, 8, ["amount", "round-mode", "currency", "locale"])
|
508
508
|
]),
|
509
|
-
w(" " + C(p(
|
510
|
-
rooms: p(
|
509
|
+
w(" " + C(p(i)("BPriceSummary.total")) + " " + C(p(i)("BPriceSummary.summary", {
|
510
|
+
rooms: p(i)("BPriceSummary.rooms", { n: n.roomCount })
|
511
511
|
})), 1)
|
512
512
|
])) : I("", !0),
|
513
|
-
h("span",
|
513
|
+
h("span", _o, [
|
514
514
|
n.taxIncludedPrice || n.price ? (l(), f(B, { key: 0 }, [
|
515
515
|
n.isTaxIncluded ? (l(), f(B, { key: 0 }, [
|
516
|
-
w(C(p(
|
516
|
+
w(C(p(i)("BPriceSummary.taxIncluded")), 1)
|
517
517
|
], 64)) : (l(), f(B, { key: 1 }, [
|
518
|
-
w(C(p(
|
518
|
+
w(C(p(i)("BPriceSummary.taxNotIncluded")), 1)
|
519
519
|
], 64))
|
520
520
|
], 64)) : I("", !0)
|
521
521
|
])
|
522
522
|
]));
|
523
523
|
}
|
524
524
|
});
|
525
|
-
function
|
525
|
+
function At(t) {
|
526
526
|
const e = t;
|
527
527
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
528
528
|
locale: "",
|
@@ -628,32 +628,32 @@ function Lt(t) {
|
|
628
628
|
}
|
629
629
|
});
|
630
630
|
}
|
631
|
-
typeof
|
632
|
-
const
|
633
|
-
function
|
631
|
+
typeof At == "function" && At(Zt);
|
632
|
+
const Bt = /* @__PURE__ */ ct(Zt, [["__scopeId", "data-v-e0d30623"]]);
|
633
|
+
function wo(t, e) {
|
634
634
|
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;
|
635
635
|
}
|
636
|
-
function
|
637
|
-
const e = bt(),
|
636
|
+
function Po(t) {
|
637
|
+
const e = bt(), i = _e(
|
638
638
|
t.checkInDate,
|
639
639
|
t.checkOutDate
|
640
|
-
),
|
640
|
+
), s = j({
|
641
641
|
adultCount: t.adultCount,
|
642
|
-
checkInDate:
|
643
|
-
checkOutDate:
|
642
|
+
checkInDate: i[0],
|
643
|
+
checkOutDate: i[1],
|
644
644
|
children: t.children ?? null,
|
645
645
|
hotelId: t.hotelId,
|
646
646
|
roomCount: t.roomCount,
|
647
647
|
sourceMarket: t.sourceMarket
|
648
648
|
}), n = b(
|
649
649
|
() => e.hotelRoomOfferRequest(t.hotelId)
|
650
|
-
),
|
650
|
+
), v = be(
|
651
651
|
async function() {
|
652
|
-
const
|
653
|
-
t.hotelRoomOfferRequestId && t.hotelRoomOfferRequestId !==
|
654
|
-
hotelId:
|
652
|
+
const k = s.value, d = n.value;
|
653
|
+
t.hotelRoomOfferRequestId && t.hotelRoomOfferRequestId !== d?.id ? (await e.retrieveHotelRoomOfferRequest({
|
654
|
+
hotelId: k.hotelId,
|
655
655
|
hotelRoomOfferRequestId: t.hotelRoomOfferRequestId
|
656
|
-
}), (!
|
656
|
+
}), (!d || d.hasError) && await e.createHotelRoomOfferRequest(k)) : (!d || !d.id || d.hasError || !wo(k, d)) && await e.createHotelRoomOfferRequest(k);
|
657
657
|
},
|
658
658
|
300
|
659
659
|
);
|
@@ -671,7 +671,7 @@ function To(t) {
|
|
671
671
|
},
|
672
672
|
() => {
|
673
673
|
const r = n.value;
|
674
|
-
!r || !r.adultCount || !r.checkInDate || !r.checkOutDate || !r.roomCount || !r.sourceMarket || (
|
674
|
+
!r || !r.adultCount || !r.checkInDate || !r.checkOutDate || !r.roomCount || !r.sourceMarket || (s.value = {
|
675
675
|
adultCount: r.adultCount,
|
676
676
|
checkInDate: r.checkInDate,
|
677
677
|
checkOutDate: r.checkOutDate,
|
@@ -684,196 +684,183 @@ function To(t) {
|
|
684
684
|
), D(
|
685
685
|
() => t.adultCount,
|
686
686
|
(r) => {
|
687
|
-
|
688
|
-
...
|
687
|
+
s.value = {
|
688
|
+
...s.value,
|
689
689
|
adultCount: r
|
690
690
|
};
|
691
691
|
}
|
692
692
|
), D(
|
693
693
|
() => t.checkInDate,
|
694
694
|
(r) => {
|
695
|
-
|
696
|
-
...
|
695
|
+
s.value = {
|
696
|
+
...s.value,
|
697
697
|
checkInDate: r
|
698
698
|
};
|
699
699
|
}
|
700
700
|
), D(
|
701
701
|
() => t.checkOutDate,
|
702
702
|
(r) => {
|
703
|
-
|
704
|
-
...
|
703
|
+
s.value = {
|
704
|
+
...s.value,
|
705
705
|
checkOutDate: r
|
706
706
|
};
|
707
707
|
}
|
708
708
|
), D(
|
709
709
|
() => t.children,
|
710
710
|
(r) => {
|
711
|
-
|
712
|
-
...
|
711
|
+
s.value = {
|
712
|
+
...s.value,
|
713
713
|
children: r ?? null
|
714
714
|
};
|
715
715
|
}
|
716
716
|
), D(
|
717
717
|
() => t.hotelId,
|
718
|
-
(r,
|
719
|
-
|
720
|
-
...
|
718
|
+
(r, k) => {
|
719
|
+
k && e.deleteHotelRoomOfferRequest(k), s.value = {
|
720
|
+
...s.value,
|
721
721
|
hotelId: r
|
722
|
-
},
|
722
|
+
}, v();
|
723
723
|
}
|
724
724
|
), D(
|
725
725
|
() => t.roomCount,
|
726
726
|
(r) => {
|
727
|
-
|
728
|
-
...
|
727
|
+
s.value = {
|
728
|
+
...s.value,
|
729
729
|
roomCount: r
|
730
730
|
};
|
731
731
|
}
|
732
732
|
), D(
|
733
733
|
() => t.sourceMarket,
|
734
734
|
(r) => {
|
735
|
-
|
736
|
-
...
|
735
|
+
s.value = {
|
736
|
+
...s.value,
|
737
737
|
sourceMarket: r
|
738
738
|
};
|
739
739
|
}
|
740
740
|
);
|
741
|
-
const
|
742
|
-
e.resetHotelRoomOfferRequest(t.hotelId),
|
741
|
+
const m = () => {
|
742
|
+
e.resetHotelRoomOfferRequest(t.hotelId), v();
|
743
743
|
};
|
744
744
|
return D(
|
745
|
-
() =>
|
745
|
+
() => s.value,
|
746
746
|
() => {
|
747
|
-
|
747
|
+
v();
|
748
748
|
},
|
749
749
|
{ deep: !0, immediate: !0 }
|
750
750
|
), D(
|
751
|
-
() =>
|
751
|
+
() => pe(),
|
752
752
|
() => {
|
753
|
-
|
753
|
+
m();
|
754
754
|
},
|
755
755
|
{ immediate: !0 }
|
756
756
|
), {
|
757
757
|
hotelRoomOfferRequest: n,
|
758
|
-
hotelRoomOfferRequestInternal:
|
758
|
+
hotelRoomOfferRequestInternal: s
|
759
759
|
};
|
760
760
|
}
|
761
|
-
const
|
762
|
-
|
763
|
-
|
764
|
-
|
765
|
-
|
766
|
-
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
setup() {
|
771
|
-
const { t } = Y();
|
772
|
-
return {
|
773
|
-
t
|
774
|
-
};
|
775
|
-
}
|
776
|
-
}), Eo = { class: "d-flex justify-end" };
|
777
|
-
function Vo(t, e, s, i, n, k) {
|
778
|
-
const d = ot("BPriceSummarySkeleton");
|
779
|
-
return l(), S(P, {
|
780
|
-
class: "px-2 py-3 pa-sm-4 px-md-3",
|
781
|
-
"no-gutters": ""
|
782
|
-
}, {
|
783
|
-
default: a(() => [
|
784
|
-
o(y, {
|
785
|
-
"align-self": "start",
|
786
|
-
cols: "12",
|
787
|
-
lg: "6",
|
788
|
-
md: "7",
|
789
|
-
sm: "7"
|
761
|
+
const pt = /* @__PURE__ */ W({
|
762
|
+
__name: "HotelRoomOfferItemLayout",
|
763
|
+
setup(t) {
|
764
|
+
const e = j(null), { $isCurrentBreakpointBelow: i } = jt(e);
|
765
|
+
return (s, n) => {
|
766
|
+
const v = ot("BPriceSummarySkeleton");
|
767
|
+
return l(), S(P, {
|
768
|
+
class: "px-2 py-3 pa-sm-4 px-md-3",
|
769
|
+
"no-gutters": ""
|
790
770
|
}, {
|
791
771
|
default: a(() => [
|
792
|
-
o(
|
772
|
+
o(y, {
|
773
|
+
"align-self": "start",
|
774
|
+
cols: "12",
|
775
|
+
lg: "6",
|
776
|
+
md: "7",
|
777
|
+
sm: "7"
|
778
|
+
}, {
|
793
779
|
default: a(() => [
|
794
|
-
o(
|
780
|
+
o(P, { "no-gutters": "" }, {
|
795
781
|
default: a(() => [
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
|
802
|
-
|
803
|
-
|
804
|
-
|
805
|
-
|
806
|
-
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
|
811
|
-
|
812
|
-
|
813
|
-
|
814
|
-
|
815
|
-
|
816
|
-
|
817
|
-
|
818
|
-
|
819
|
-
|
820
|
-
|
821
|
-
|
822
|
-
|
823
|
-
|
824
|
-
|
825
|
-
|
826
|
-
|
827
|
-
|
828
|
-
|
829
|
-
|
830
|
-
|
782
|
+
o(y, { cols: "12" }, {
|
783
|
+
default: a(() => [
|
784
|
+
L(s.$slots, "room-details", {}, () => [
|
785
|
+
o(Z, {
|
786
|
+
class: "mt-1",
|
787
|
+
height: "14px",
|
788
|
+
tile: "",
|
789
|
+
type: "text",
|
790
|
+
width: "180px"
|
791
|
+
}),
|
792
|
+
o(Z, {
|
793
|
+
height: "12px",
|
794
|
+
tile: "",
|
795
|
+
type: "text",
|
796
|
+
width: "120px"
|
797
|
+
})
|
798
|
+
])
|
799
|
+
]),
|
800
|
+
_: 3
|
801
|
+
}),
|
802
|
+
o(y, {
|
803
|
+
"align-self": "start",
|
804
|
+
class: "text-left d-flex flex-column mt-2",
|
805
|
+
cols: "12",
|
806
|
+
style: { gap: "0.3em" }
|
807
|
+
}, {
|
808
|
+
default: a(() => [
|
809
|
+
L(s.$slots, "breakfast-option-badge"),
|
810
|
+
L(s.$slots, "cancellation-policies")
|
811
|
+
]),
|
812
|
+
_: 3
|
813
|
+
}),
|
814
|
+
o(y, { cols: "12" }, {
|
815
|
+
default: a(() => [
|
816
|
+
L(s.$slots, "breakfast-option-switch")
|
817
|
+
]),
|
818
|
+
_: 3
|
819
|
+
})
|
831
820
|
]),
|
832
821
|
_: 3
|
833
822
|
})
|
834
823
|
]),
|
835
824
|
_: 3
|
825
|
+
}),
|
826
|
+
o(y, {
|
827
|
+
"align-self": "end",
|
828
|
+
class: "text-right mt-sm-0 mt-2",
|
829
|
+
lg: "6",
|
830
|
+
md: "5",
|
831
|
+
sm: "5"
|
832
|
+
}, {
|
833
|
+
default: a(() => [
|
834
|
+
L(s.$slots, "package-type"),
|
835
|
+
L(s.$slots, "price-summary", {}, () => [
|
836
|
+
o(v, { class: "mt-2" })
|
837
|
+
]),
|
838
|
+
h("div", {
|
839
|
+
ref_key: "root",
|
840
|
+
ref: e,
|
841
|
+
class: "d-flex justify-end"
|
842
|
+
}, [
|
843
|
+
L(s.$slots, "action", {}, () => [
|
844
|
+
o(Z, {
|
845
|
+
class: "mt-2",
|
846
|
+
height: "28px",
|
847
|
+
tile: "",
|
848
|
+
type: "image",
|
849
|
+
width: p(i)("sm") ? "100%" : "130px"
|
850
|
+
}, null, 8, ["width"])
|
851
|
+
])
|
852
|
+
], 512)
|
853
|
+
]),
|
854
|
+
_: 3
|
836
855
|
})
|
837
856
|
]),
|
838
857
|
_: 3
|
839
|
-
})
|
840
|
-
|
841
|
-
|
842
|
-
|
843
|
-
lg: "6",
|
844
|
-
md: "5",
|
845
|
-
sm: "5"
|
846
|
-
}, {
|
847
|
-
default: a(() => [
|
848
|
-
L(t.$slots, "package-type"),
|
849
|
-
L(t.$slots, "price-summary", {}, () => [
|
850
|
-
o(d, {
|
851
|
-
boilerplate: t.boilerplate,
|
852
|
-
class: "mt-2"
|
853
|
-
}, null, 8, ["boilerplate"])
|
854
|
-
]),
|
855
|
-
h("div", Eo, [
|
856
|
-
L(t.$slots, "action", {}, () => [
|
857
|
-
o(K, {
|
858
|
-
class: "mt-2",
|
859
|
-
boilerplate: t.boilerplate,
|
860
|
-
height: "28px",
|
861
|
-
tile: "",
|
862
|
-
type: "image",
|
863
|
-
width: t.$isCurrentBreakpointBelow("sm") ? "100%" : "130px"
|
864
|
-
}, null, 8, ["boilerplate", "width"])
|
865
|
-
])
|
866
|
-
])
|
867
|
-
]),
|
868
|
-
_: 3
|
869
|
-
})
|
870
|
-
]),
|
871
|
-
_: 3
|
872
|
-
});
|
873
|
-
}
|
874
|
-
const wt = /* @__PURE__ */ it(Ho, [["render", Vo]]), Ao = { class: "text-caption ml-n3" }, Lo = { class: "mr-2" }, $o = ["innerHTML"], Qt = /* @__PURE__ */ x({
|
858
|
+
});
|
859
|
+
};
|
860
|
+
}
|
861
|
+
}), To = { class: "text-caption ml-n3" }, Ho = { class: "mr-2" }, Eo = ["innerHTML"], Kt = /* @__PURE__ */ W({
|
875
862
|
__name: "BBreakfastSwitch",
|
876
|
-
props: /* @__PURE__ */
|
863
|
+
props: /* @__PURE__ */ ve({
|
877
864
|
isLoading: { type: Boolean },
|
878
865
|
price: {},
|
879
866
|
currency: {}
|
@@ -883,49 +870,49 @@ const wt = /* @__PURE__ */ it(Ho, [["render", Vo]]), Ao = { class: "text-caption
|
|
883
870
|
}),
|
884
871
|
emits: ["update:modelValue"],
|
885
872
|
setup(t) {
|
886
|
-
const { locale: e, t:
|
887
|
-
() =>
|
873
|
+
const { locale: e, t: i } = tt(), s = ke(t, "modelValue"), n = b(
|
874
|
+
() => $e({
|
888
875
|
amount: t.price,
|
889
876
|
currency: t.currency,
|
890
877
|
locale: e.value
|
891
878
|
})
|
892
879
|
);
|
893
|
-
return (
|
894
|
-
modelValue:
|
895
|
-
"onUpdate:modelValue":
|
880
|
+
return (v, m) => (l(), S(vo, {
|
881
|
+
modelValue: s.value,
|
882
|
+
"onUpdate:modelValue": m[0] || (m[0] = (r) => s.value = r),
|
896
883
|
class: "ma-0 pa-0 breakfast-switch d-inline-block",
|
897
884
|
density: "compact",
|
898
885
|
size: "small",
|
899
886
|
color: "primary",
|
900
|
-
loading:
|
887
|
+
loading: v.isLoading && "success"
|
901
888
|
}, {
|
902
889
|
label: a(() => [
|
903
|
-
h("div",
|
890
|
+
h("div", To, [
|
904
891
|
o(at, {
|
905
892
|
size: "12",
|
906
893
|
class: "ml-4 mr-2"
|
907
894
|
}, {
|
908
|
-
default: a(() =>
|
895
|
+
default: a(() => m[1] || (m[1] = [
|
909
896
|
w(" fas fa-coffee ")
|
910
897
|
])),
|
911
898
|
_: 1,
|
912
899
|
__: [1]
|
913
900
|
}),
|
914
|
-
|
915
|
-
h("span",
|
901
|
+
m[2] || (m[2] = w(" ")),
|
902
|
+
h("span", Ho, C(p(i)("BBreakfastSwitch.title")), 1),
|
916
903
|
h("span", {
|
917
|
-
innerHTML: p(
|
904
|
+
innerHTML: p(i)("BBreakfastSwitch.price", { n: n.value }).replace(
|
918
905
|
/\s/gu,
|
919
906
|
" "
|
920
907
|
)
|
921
|
-
}, null, 8,
|
908
|
+
}, null, 8, Eo)
|
922
909
|
])
|
923
910
|
]),
|
924
911
|
_: 1
|
925
912
|
}, 8, ["modelValue", "loading"]));
|
926
913
|
}
|
927
914
|
});
|
928
|
-
function
|
915
|
+
function Lt(t) {
|
929
916
|
const e = t;
|
930
917
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
931
918
|
locale: "",
|
@@ -975,8 +962,8 @@ function $t(t) {
|
|
975
962
|
}
|
976
963
|
});
|
977
964
|
}
|
978
|
-
typeof
|
979
|
-
const
|
965
|
+
typeof Lt == "function" && Lt(Kt);
|
966
|
+
const Qt = /* @__PURE__ */ ct(Kt, [["__scopeId", "data-v-1e4b5568"]]), Vo = {
|
980
967
|
breakfastCount: {
|
981
968
|
type: Number
|
982
969
|
},
|
@@ -1014,37 +1001,37 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-1e4b5568"]]), Do = {
|
|
1014
1001
|
tags: { type: Array },
|
1015
1002
|
taxIncludedPrice: { required: !0, type: Number },
|
1016
1003
|
type: { type: String }
|
1017
|
-
},
|
1004
|
+
}, Ao = { key: 0 }, Lo = {
|
1018
1005
|
class: "align-self-center d-flex flex-wrap",
|
1019
1006
|
style: { gap: "0.3em" }
|
1020
|
-
},
|
1007
|
+
}, $o = {
|
1021
1008
|
class: "align-self-center d-inline-flex flex-wrap",
|
1022
1009
|
style: { gap: "0.3em" }
|
1023
|
-
},
|
1010
|
+
}, Do = { class: "text-caption" }, zo = { key: 0 }, qo = { key: 1 }, Jt = /* @__PURE__ */ W({
|
1024
1011
|
__name: "HotelRoomOfferItem",
|
1025
|
-
props:
|
1012
|
+
props: Vo,
|
1026
1013
|
emits: ["breakfast-change", "update:modelValue", "booking-policy-failed"],
|
1027
1014
|
setup(t, { emit: e }) {
|
1028
|
-
const
|
1029
|
-
|
1015
|
+
const i = t, { t: s } = tt(), { eventBus: n } = ye(), v = e, m = j(
|
1016
|
+
i.breakfastCount && i.breakfastCount > 0 || !1
|
1030
1017
|
);
|
1031
|
-
D(
|
1032
|
-
|
1018
|
+
D(m, (c) => {
|
1019
|
+
v("breakfast-change", {
|
1033
1020
|
addBreakfast: c,
|
1034
|
-
hotelId:
|
1035
|
-
id:
|
1021
|
+
hotelId: i.hotelId,
|
1022
|
+
id: i.id
|
1036
1023
|
});
|
1037
1024
|
});
|
1038
|
-
const r = bt(),
|
1039
|
-
() => r.hotelRoomOfferRequest(
|
1040
|
-
), T = b(() =>
|
1041
|
-
() =>
|
1025
|
+
const r = bt(), k = ft(), d = b(
|
1026
|
+
() => r.hotelRoomOfferRequest(i.hotelId)
|
1027
|
+
), T = b(() => d.value?.adultCount), A = b(() => d.value?.checkInDate), R = b(
|
1028
|
+
() => i.count ? fo(i.count + 1) : []
|
1042
1029
|
), z = b(
|
1043
|
-
() =>
|
1030
|
+
() => k.hotelTimezone(i.hotelId)
|
1044
1031
|
), u = b(
|
1045
|
-
() => r.nightCount(
|
1032
|
+
() => r.nightCount(i.hotelId)
|
1046
1033
|
), g = b(() => {
|
1047
|
-
switch (
|
1034
|
+
switch (i.packageType) {
|
1048
1035
|
case dt.Cheapest:
|
1049
1036
|
return "red";
|
1050
1037
|
case dt.BestMatch:
|
@@ -1056,68 +1043,68 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-1e4b5568"]]), Do = {
|
|
1056
1043
|
return "";
|
1057
1044
|
}
|
1058
1045
|
}), H = b(
|
1059
|
-
() =>
|
1046
|
+
() => i.hotelRooms.reduce((c, V) => c + (V.count || 0), 0)
|
1060
1047
|
), E = b({
|
1061
1048
|
get() {
|
1062
|
-
return
|
1049
|
+
return i.modelValue;
|
1063
1050
|
},
|
1064
1051
|
set(c) {
|
1065
|
-
|
1052
|
+
v("update:modelValue", c);
|
1066
1053
|
}
|
1067
1054
|
}), M = b(
|
1068
|
-
() =>
|
1055
|
+
() => i.tags?.filter((c) => c.name.length > 30) || []
|
1069
1056
|
), N = b(
|
1070
|
-
() =>
|
1057
|
+
() => i.tags?.filter((c) => c.name.length < 30) || []
|
1071
1058
|
), {
|
1072
|
-
bookingState:
|
1059
|
+
bookingState: Y,
|
1073
1060
|
createBookingPolicy: _,
|
1074
1061
|
isBookingPoliciesSuccessful: $,
|
1075
|
-
isBookingPoliciesUnavailable:
|
1062
|
+
isBookingPoliciesUnavailable: F,
|
1076
1063
|
isFetchingBookingPolicies: U
|
1077
|
-
} =
|
1078
|
-
D(
|
1079
|
-
c ===
|
1064
|
+
} = bo();
|
1065
|
+
D(Y, (c) => {
|
1066
|
+
c === x.Unavailable && v("booking-policy-failed", i.id);
|
1080
1067
|
});
|
1081
|
-
async function
|
1068
|
+
async function it() {
|
1082
1069
|
const c = {
|
1083
|
-
...
|
1084
|
-
currency:
|
1070
|
+
...i,
|
1071
|
+
currency: i.currency
|
1085
1072
|
};
|
1086
|
-
n.$emit(
|
1087
|
-
addBreakfast:
|
1088
|
-
hotelId:
|
1089
|
-
hotelRoomOfferId:
|
1073
|
+
n.$emit(Re.HotelRoomOffersBtnClick, c), await _({
|
1074
|
+
addBreakfast: m.value,
|
1075
|
+
hotelId: i.hotelId,
|
1076
|
+
hotelRoomOfferId: i.id
|
1090
1077
|
});
|
1091
1078
|
}
|
1092
|
-
const et =
|
1093
|
-
|
1094
|
-
const
|
1079
|
+
const et = j(null);
|
1080
|
+
jt(et);
|
1081
|
+
const Q = window.RevolugoElements.config.lang || Ut.fr_FR;
|
1095
1082
|
return (c, V) => (l(), f("div", {
|
1096
1083
|
class: "position-relative",
|
1097
1084
|
ref_key: "root",
|
1098
1085
|
ref: et
|
1099
1086
|
}, [
|
1100
|
-
o(
|
1087
|
+
o(pt, { key: "is-available" }, {
|
1101
1088
|
"room-details": a(() => [
|
1102
|
-
o(
|
1089
|
+
o(Gt, {
|
1103
1090
|
"hotel-rooms": c.hotelRooms
|
1104
1091
|
}, null, 8, ["hotel-rooms"])
|
1105
1092
|
]),
|
1106
1093
|
"package-type": a(() => [
|
1107
|
-
c.type === "PACKAGE" && c.packageType !== "REGULAR" ? (l(), S(
|
1094
|
+
c.type === "PACKAGE" && c.packageType !== "REGULAR" ? (l(), S(ht, {
|
1108
1095
|
key: 0,
|
1109
1096
|
class: "mb-3",
|
1110
1097
|
color: g.value,
|
1111
1098
|
variant: "outlined"
|
1112
1099
|
}, {
|
1113
1100
|
description: a(() => [
|
1114
|
-
w(C(p(
|
1101
|
+
w(C(p(s)(
|
1115
1102
|
`HotelRoomOfferItem.packageTypes.${c.packageType}.description`,
|
1116
1103
|
{ n: T.value }
|
1117
1104
|
)), 1)
|
1118
1105
|
]),
|
1119
1106
|
default: a(() => [
|
1120
|
-
w(C(p(
|
1107
|
+
w(C(p(s)(`HotelRoomOfferItem.packageTypes.${c.packageType}.title`, {
|
1121
1108
|
n: T.value
|
1122
1109
|
})) + " ", 1)
|
1123
1110
|
]),
|
@@ -1125,7 +1112,7 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-1e4b5568"]]), Do = {
|
|
1125
1112
|
}, 8, ["color"])) : I("", !0)
|
1126
1113
|
]),
|
1127
1114
|
"cancellation-policies": a(() => [
|
1128
|
-
o(
|
1115
|
+
o(Pe, {
|
1129
1116
|
class: "mt-2",
|
1130
1117
|
"cancellation-policies": c.cancellationPolicies,
|
1131
1118
|
"check-in-date": A.value,
|
@@ -1133,16 +1120,16 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-1e4b5568"]]), Do = {
|
|
1133
1120
|
}, null, 8, ["cancellation-policies", "check-in-date", "timezone"])
|
1134
1121
|
]),
|
1135
1122
|
"breakfast-option-badge": a(() => [
|
1136
|
-
o(
|
1123
|
+
o(xt, {
|
1137
1124
|
"breakfast-option": c.breakfastCount && c.breakfastCount > 0 ? "INCLUDED" : c.breakfastOption,
|
1138
1125
|
breakfastCount: c.breakfastCount ?? void 0
|
1139
1126
|
}, null, 8, ["breakfast-option", "breakfastCount"])
|
1140
1127
|
]),
|
1141
1128
|
"breakfast-option-switch": a(() => [
|
1142
|
-
c.type !== "HOTEL_ROOM" && c.breakfastOption === "OPTIONAL" ? (l(), f("div",
|
1143
|
-
o(
|
1144
|
-
modelValue:
|
1145
|
-
"onUpdate:modelValue": V[0] || (V[0] = (O) =>
|
1129
|
+
c.type !== "HOTEL_ROOM" && c.breakfastOption === "OPTIONAL" ? (l(), f("div", Ao, [
|
1130
|
+
o(Qt, {
|
1131
|
+
modelValue: m.value,
|
1132
|
+
"onUpdate:modelValue": V[0] || (V[0] = (O) => m.value = O),
|
1146
1133
|
class: "mt-3 pl-1",
|
1147
1134
|
currency: c.currency,
|
1148
1135
|
"is-loading": c.isLoading,
|
@@ -1151,9 +1138,9 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-1e4b5568"]]), Do = {
|
|
1151
1138
|
])) : I("", !0)
|
1152
1139
|
]),
|
1153
1140
|
"big-tags": a(() => [
|
1154
|
-
h("div",
|
1155
|
-
(l(!0), f(B, null,
|
1156
|
-
key:
|
1141
|
+
h("div", Lo, [
|
1142
|
+
(l(!0), f(B, null, G(M.value, (O, J) => (l(), S(ht, {
|
1143
|
+
key: J,
|
1157
1144
|
color: O.bg,
|
1158
1145
|
"pre-icon": `fa-${O.faIcon}`,
|
1159
1146
|
"text-color": O.color,
|
@@ -1167,9 +1154,9 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-1e4b5568"]]), Do = {
|
|
1167
1154
|
])
|
1168
1155
|
]),
|
1169
1156
|
tags: a(() => [
|
1170
|
-
h("div",
|
1171
|
-
(l(!0), f(B, null,
|
1172
|
-
key:
|
1157
|
+
h("div", $o, [
|
1158
|
+
(l(!0), f(B, null, G(N.value, (O, J) => (l(), S(ht, {
|
1159
|
+
key: J,
|
1173
1160
|
color: O.bg,
|
1174
1161
|
"pre-icon": `fa-${O.faIcon}`,
|
1175
1162
|
"text-color": O.color,
|
@@ -1191,7 +1178,7 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-1e4b5568"]]), Do = {
|
|
1191
1178
|
default: a(() => [
|
1192
1179
|
o(y, null, {
|
1193
1180
|
default: a(() => [
|
1194
|
-
o(
|
1181
|
+
o(Bt, {
|
1195
1182
|
"adult-count": 1,
|
1196
1183
|
class: "text-right",
|
1197
1184
|
"is-tax-included": !1,
|
@@ -1216,7 +1203,7 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-1e4b5568"]]), Do = {
|
|
1216
1203
|
}, {
|
1217
1204
|
default: a(() => [
|
1218
1205
|
h("div", null, [
|
1219
|
-
o(
|
1206
|
+
o(Ze, {
|
1220
1207
|
modelValue: E.value,
|
1221
1208
|
"onUpdate:modelValue": V[1] || (V[1] = (O) => E.value = O),
|
1222
1209
|
class: "item-count mt-2",
|
@@ -1228,17 +1215,17 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-1e4b5568"]]), Do = {
|
|
1228
1215
|
},
|
1229
1216
|
variant: "outlined"
|
1230
1217
|
}, {
|
1231
|
-
item: a(({ item: O, props:
|
1232
|
-
o(
|
1218
|
+
item: a(({ item: O, props: J }) => [
|
1219
|
+
o(Ke, he(ge(J)), {
|
1233
1220
|
title: a(() => [
|
1234
|
-
h("span",
|
1221
|
+
h("span", Do, [
|
1235
1222
|
w(C(O.raw) + " ", 1),
|
1236
1223
|
O.raw ? (l(), f(B, { key: 0 }, [
|
1237
1224
|
V[2] || (V[2] = w(" (")),
|
1238
|
-
o(
|
1225
|
+
o(nt, {
|
1239
1226
|
amount: O.raw * c.price,
|
1240
|
-
currency:
|
1241
|
-
locale: p(
|
1227
|
+
currency: i.currency,
|
1228
|
+
locale: p(Q)
|
1242
1229
|
}, null, 8, ["amount", "currency", "locale"]),
|
1243
1230
|
V[3] || (V[3] = w(") "))
|
1244
1231
|
], 64)) : I("", !0)
|
@@ -1256,7 +1243,7 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-1e4b5568"]]), Do = {
|
|
1256
1243
|
]),
|
1257
1244
|
_: 1
|
1258
1245
|
})
|
1259
|
-
], 64)) : (l(), S(
|
1246
|
+
], 64)) : (l(), S(Bt, {
|
1260
1247
|
key: 1,
|
1261
1248
|
"adult-count": T.value,
|
1262
1249
|
class: "text-right",
|
@@ -1273,30 +1260,30 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-1e4b5568"]]), Do = {
|
|
1273
1260
|
key: 0,
|
1274
1261
|
class: "text-none font-weight-bold book-btn w-100 w-sm-auto",
|
1275
1262
|
color: p($) ? "success" : "primary",
|
1276
|
-
disabled: p(U) || p(
|
1263
|
+
disabled: p(U) || p(F) || c.isLoading,
|
1277
1264
|
elevation: "0",
|
1278
1265
|
loading: p(U),
|
1279
1266
|
size: "small",
|
1280
|
-
onClick:
|
1267
|
+
onClick: it
|
1281
1268
|
}, {
|
1282
1269
|
default: a(() => [
|
1283
|
-
p($) ? I("", !0) : (l(), f("span",
|
1284
|
-
|
1270
|
+
p($) ? I("", !0) : (l(), f("span", zo, C(p(s)("HotelRoomOfferItem.book")), 1)),
|
1271
|
+
gt(o(at, { class: "position-absolute" }, {
|
1285
1272
|
default: a(() => V[4] || (V[4] = [
|
1286
1273
|
w(" fas fa-check ")
|
1287
1274
|
])),
|
1288
1275
|
_: 1,
|
1289
1276
|
__: [4]
|
1290
1277
|
}, 512), [
|
1291
|
-
[
|
1278
|
+
[yt, p($)]
|
1292
1279
|
])
|
1293
1280
|
]),
|
1294
1281
|
_: 1
|
1295
|
-
}, 8, ["color", "disabled", "loading"])) : (l(), f("span",
|
1282
|
+
}, 8, ["color", "disabled", "loading"])) : (l(), f("span", qo))
|
1296
1283
|
]),
|
1297
1284
|
_: 1
|
1298
1285
|
}),
|
1299
|
-
c.isLoading ? (l(), S(
|
1286
|
+
c.isLoading ? (l(), S(Ft, {
|
1300
1287
|
key: 0,
|
1301
1288
|
absolute: "",
|
1302
1289
|
class: "mx-n4",
|
@@ -1312,22 +1299,22 @@ const Jt = /* @__PURE__ */ it(Qt, [["__scopeId", "data-v-1e4b5568"]]), Do = {
|
|
1312
1299
|
]),
|
1313
1300
|
_: 1
|
1314
1301
|
})) : I("", !0),
|
1315
|
-
p(
|
1302
|
+
p(F) || c.gone ? (l(), S(St, {
|
1316
1303
|
key: 1,
|
1317
1304
|
"margin-top": 16
|
1318
1305
|
}, {
|
1319
1306
|
title: a(() => [
|
1320
|
-
w(C(p(
|
1307
|
+
w(C(p(s)("HotelRoomOfferItem.unavailable.title")), 1)
|
1321
1308
|
]),
|
1322
1309
|
description: a(() => [
|
1323
|
-
w(C(p(
|
1310
|
+
w(C(p(s)("HotelRoomOfferItem.unavailable.description")), 1)
|
1324
1311
|
]),
|
1325
1312
|
_: 1
|
1326
1313
|
})) : I("", !0)
|
1327
1314
|
], 512));
|
1328
1315
|
}
|
1329
1316
|
});
|
1330
|
-
function
|
1317
|
+
function $t(t) {
|
1331
1318
|
const e = t;
|
1332
1319
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
1333
1320
|
locale: "",
|
@@ -1496,11 +1483,11 @@ function Dt(t) {
|
|
1496
1483
|
}
|
1497
1484
|
});
|
1498
1485
|
}
|
1499
|
-
typeof
|
1500
|
-
const
|
1486
|
+
typeof $t == "function" && $t(Jt);
|
1487
|
+
const Xt = /* @__PURE__ */ ct(Jt, [["__scopeId", "data-v-4631d14a"]]), Mo = { class: "text-subtitle-1 font-weight-black text-primary d-flex justify-end" }, No = { class: "text-caption d-flex justify-end py-2" }, Uo = { class: "mt-3 d-flex justify-start align-center" }, jo = { class: "pt-4" }, Dt = /* @__PURE__ */ W({
|
1501
1488
|
__name: "BBasketSummaryLayout",
|
1502
1489
|
setup(t) {
|
1503
|
-
return (e,
|
1490
|
+
return (e, i) => (l(), S(P, { class: "px-2" }, {
|
1504
1491
|
default: a(() => [
|
1505
1492
|
o(y, null, {
|
1506
1493
|
default: a(() => [
|
@@ -1508,9 +1495,9 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1508
1495
|
default: a(() => [
|
1509
1496
|
o(y, null, {
|
1510
1497
|
default: a(() => [
|
1511
|
-
h("div",
|
1498
|
+
h("div", Mo, [
|
1512
1499
|
L(e.$slots, "title", {}, () => [
|
1513
|
-
o(
|
1500
|
+
o(Z, {
|
1514
1501
|
height: "18px",
|
1515
1502
|
tile: "",
|
1516
1503
|
type: "heading",
|
@@ -1528,18 +1515,18 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1528
1515
|
default: a(() => [
|
1529
1516
|
o(y, null, {
|
1530
1517
|
default: a(() => [
|
1531
|
-
h("div",
|
1518
|
+
h("div", No, [
|
1532
1519
|
L(e.$slots, "adult-count", {}, () => [
|
1533
|
-
o(
|
1520
|
+
o(Z, {
|
1534
1521
|
tile: "",
|
1535
1522
|
type: "text",
|
1536
1523
|
width: "150px"
|
1537
1524
|
})
|
1538
1525
|
])
|
1539
1526
|
]),
|
1540
|
-
h("div",
|
1527
|
+
h("div", Uo, [
|
1541
1528
|
L(e.$slots, "secondary-title", {}, () => [
|
1542
|
-
o(
|
1529
|
+
o(Z, {
|
1543
1530
|
height: "18px",
|
1544
1531
|
tile: "",
|
1545
1532
|
type: "heading",
|
@@ -1554,8 +1541,8 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1554
1541
|
_: 3
|
1555
1542
|
}),
|
1556
1543
|
L(e.$slots, "hotel-rooms", {}, () => [
|
1557
|
-
h("div",
|
1558
|
-
(l(), f(B, null,
|
1544
|
+
h("div", jo, [
|
1545
|
+
(l(), f(B, null, G(2, (s) => h("div", null, [
|
1559
1546
|
o(P, {
|
1560
1547
|
align: "center",
|
1561
1548
|
class: "pt-4"
|
@@ -1563,7 +1550,7 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1563
1550
|
default: a(() => [
|
1564
1551
|
o(y, { cols: "auto" }, {
|
1565
1552
|
default: a(() => [
|
1566
|
-
o(
|
1553
|
+
o(Qe, { boilerplate: "" })
|
1567
1554
|
]),
|
1568
1555
|
_: 1
|
1569
1556
|
})
|
@@ -1588,7 +1575,7 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1588
1575
|
default: a(() => [
|
1589
1576
|
o(y, null, {
|
1590
1577
|
default: a(() => [
|
1591
|
-
o(
|
1578
|
+
o(K)
|
1592
1579
|
]),
|
1593
1580
|
_: 1
|
1594
1581
|
})
|
@@ -1603,7 +1590,7 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1603
1590
|
o(y, null, {
|
1604
1591
|
default: a(() => [
|
1605
1592
|
L(e.$slots, "price-summary", {}, () => [
|
1606
|
-
o(
|
1593
|
+
o(Je, { boilerplate: !0 })
|
1607
1594
|
])
|
1608
1595
|
]),
|
1609
1596
|
_: 3
|
@@ -1627,7 +1614,7 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1627
1614
|
o(y, { class: "pb-0" }, {
|
1628
1615
|
default: a(() => [
|
1629
1616
|
L(e.$slots, "button", {}, () => [
|
1630
|
-
o(
|
1617
|
+
o(Z, {
|
1631
1618
|
height: "38px",
|
1632
1619
|
tile: "",
|
1633
1620
|
type: "heading",
|
@@ -1645,7 +1632,7 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1645
1632
|
o(y, null, {
|
1646
1633
|
default: a(() => [
|
1647
1634
|
L(e.$slots, "cancellation-policies", {}, () => [
|
1648
|
-
o(
|
1635
|
+
o(Z, {
|
1649
1636
|
tile: "",
|
1650
1637
|
type: "paragraph",
|
1651
1638
|
width: "100%"
|
@@ -1664,10 +1651,10 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1664
1651
|
_: 3
|
1665
1652
|
}));
|
1666
1653
|
}
|
1667
|
-
}),
|
1654
|
+
}), Fo = { key: 0 }, xo = ["innerHTML"], Go = { class: "font-weight-bold pb-2" }, Wo = { class: "mt-4 font-weight-bold" }, Yo = { class: "text-caption mb-0 text-left font-weight-bold" }, Zo = { class: "text-caption" }, Ko = {
|
1668
1655
|
key: 0,
|
1669
1656
|
class: "text-caption pl-2"
|
1670
|
-
},
|
1657
|
+
}, Qo = { class: "text-caption" }, Jo = { class: "text-caption font-weight-bold text-center my-0 text-red rounded" }, Xo = { key: 0 }, ta = { key: 1 }, te = /* @__PURE__ */ W({
|
1671
1658
|
__name: "BBasketSummary",
|
1672
1659
|
props: {
|
1673
1660
|
adultCount: {},
|
@@ -1683,36 +1670,36 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1683
1670
|
},
|
1684
1671
|
emits: ["breakfast-change", "delete-room", "submit"],
|
1685
1672
|
setup(t, { emit: e }) {
|
1686
|
-
const { t:
|
1673
|
+
const { t: i } = tt(), s = e, n = t, v = j(
|
1687
1674
|
n.hotelRoomOffer?.breakfastCount && n.hotelRoomOffer?.breakfastCount > 0 || !1
|
1688
|
-
),
|
1689
|
-
() =>
|
1690
|
-
),
|
1691
|
-
() => n.hotelRoomOffer.breakfastOption ===
|
1692
|
-
),
|
1675
|
+
), m = b(() => n.hotelRoomOffer?.breakfastOption), r = b(
|
1676
|
+
() => mo(n.adultCount, n.children)
|
1677
|
+
), k = b(
|
1678
|
+
() => n.hotelRoomOffer.breakfastOption === Oe.Optional
|
1679
|
+
), d = b(
|
1693
1680
|
() => n.hotelRoomOffer.taxIncludedPrice - n.hotelRoomOffer.price > 0
|
1694
|
-
), T = b(() => !n.hotelRoomOffer || !n.checkOutDate || !n.checkInDate ? 0 :
|
1695
|
-
() =>
|
1681
|
+
), T = b(() => !n.hotelRoomOffer || !n.checkOutDate || !n.checkInDate ? 0 : kt(n.checkOutDate).diff(kt(n.checkInDate), "day")), A = b(
|
1682
|
+
() => wt(n.hotelRoomOffer?.hotelRooms, "count")
|
1696
1683
|
), R = b(
|
1697
|
-
() =>
|
1698
|
-
|
1699
|
-
bookingDatetime:
|
1684
|
+
() => to(
|
1685
|
+
Ce({
|
1686
|
+
bookingDatetime: kt().format(),
|
1700
1687
|
cancellationPolicies: n.hotelRoomOffer?.cancellationPolicies,
|
1701
1688
|
checkInDate: n.checkInDate,
|
1702
1689
|
timezone: n.hotelTimezone
|
1703
1690
|
}),
|
1704
|
-
|
1691
|
+
eo.Camel
|
1705
1692
|
)
|
1706
1693
|
), z = b(
|
1707
|
-
() =>
|
1694
|
+
() => wt(
|
1708
1695
|
n.hotelRoomOffer?.hotelRooms,
|
1709
1696
|
(u) => u.count * u.occupancy
|
1710
1697
|
)
|
1711
1698
|
);
|
1712
|
-
return D(
|
1713
|
-
|
1699
|
+
return D(v, (u) => {
|
1700
|
+
s("breakfast-change", u);
|
1714
1701
|
}), (u, g) => (l(), f("div", null, [
|
1715
|
-
u.isLoading ? (l(), S(
|
1702
|
+
u.isLoading ? (l(), S(Ft, {
|
1716
1703
|
key: 0,
|
1717
1704
|
absolute: "",
|
1718
1705
|
class: "mx-n3",
|
@@ -1728,20 +1715,20 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1728
1715
|
]),
|
1729
1716
|
_: 1
|
1730
1717
|
})) : I("", !0),
|
1731
|
-
u.hotelRoomOffer ? (l(), S(
|
1718
|
+
u.hotelRoomOffer ? (l(), S(Dt, { key: "filled-up" }, {
|
1732
1719
|
title: a(() => [
|
1733
|
-
h("span", null, C(p(
|
1720
|
+
h("span", null, C(p(i)("BBasketSummary.title")), 1)
|
1734
1721
|
]),
|
1735
1722
|
"adult-count": a(() => [
|
1736
1723
|
h("span", {
|
1737
|
-
innerHTML: p(
|
1738
|
-
}, null, 8,
|
1724
|
+
innerHTML: p(i)("BBasketSummary.totalOccupancy", { n: z.value })
|
1725
|
+
}, null, 8, xo)
|
1739
1726
|
]),
|
1740
1727
|
"secondary-title": a(() => [
|
1741
|
-
h("span",
|
1728
|
+
h("span", Go, C(p(i)("BBasketSummary.yourSelection")), 1)
|
1742
1729
|
]),
|
1743
1730
|
"hotel-rooms": a(() => [
|
1744
|
-
(l(!0), f(B, null,
|
1731
|
+
(l(!0), f(B, null, G(u.hotelRoomOffer.hotelRooms, (H, E) => (l(), f("div", {
|
1745
1732
|
key: `room-${E}`
|
1746
1733
|
}, [
|
1747
1734
|
o(P, null, {
|
@@ -1751,14 +1738,14 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1751
1738
|
cols: "12"
|
1752
1739
|
}, {
|
1753
1740
|
default: a(() => [
|
1754
|
-
o(
|
1755
|
-
class:
|
1741
|
+
o(Gt, {
|
1742
|
+
class: Rt({
|
1756
1743
|
"mt-n4": E >= 1
|
1757
1744
|
}),
|
1758
1745
|
"hotel-rooms": [H]
|
1759
1746
|
}, null, 8, ["class", "hotel-rooms"]),
|
1760
1747
|
o(st, {
|
1761
|
-
class:
|
1748
|
+
class: Rt({
|
1762
1749
|
"mt-n4": E >= 1
|
1763
1750
|
}),
|
1764
1751
|
color: "red",
|
@@ -1787,14 +1774,14 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1787
1774
|
]))), 128))
|
1788
1775
|
]),
|
1789
1776
|
"breakfast-option": a(() => [
|
1790
|
-
|
1777
|
+
m.value ? (l(), f(B, { key: 0 }, [
|
1791
1778
|
o(P, { "no-gutters": "" }, {
|
1792
1779
|
default: a(() => [
|
1793
1780
|
o(y, null, {
|
1794
1781
|
default: a(() => [
|
1795
|
-
o(
|
1782
|
+
o(xt, {
|
1796
1783
|
"breakfast-count": u.hotelRoomOffer?.breakfastCount || void 0,
|
1797
|
-
"breakfast-option": u.hotelRoomOffer.breakfastCount && u.hotelRoomOffer.breakfastCount > 0 ? "INCLUDED" :
|
1784
|
+
"breakfast-option": u.hotelRoomOffer.breakfastCount && u.hotelRoomOffer.breakfastCount > 0 ? "INCLUDED" : m.value,
|
1798
1785
|
class: "mr-n1"
|
1799
1786
|
}, null, 8, ["breakfast-count", "breakfast-option"])
|
1800
1787
|
]),
|
@@ -1803,7 +1790,7 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1803
1790
|
]),
|
1804
1791
|
_: 1
|
1805
1792
|
}),
|
1806
|
-
|
1793
|
+
k.value ? (l(), S(P, {
|
1807
1794
|
key: 0,
|
1808
1795
|
class: "mt-2",
|
1809
1796
|
"no-gutters": ""
|
@@ -1811,9 +1798,9 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1811
1798
|
default: a(() => [
|
1812
1799
|
o(y, { class: "mb-2 mt-xl-0" }, {
|
1813
1800
|
default: a(() => [
|
1814
|
-
o(
|
1815
|
-
modelValue:
|
1816
|
-
"onUpdate:modelValue": g[0] || (g[0] = (H) =>
|
1801
|
+
o(Qt, {
|
1802
|
+
modelValue: v.value,
|
1803
|
+
"onUpdate:modelValue": g[0] || (g[0] = (H) => v.value = H),
|
1817
1804
|
currency: u.currency,
|
1818
1805
|
"is-loading": u.isLoading,
|
1819
1806
|
price: u.hotelRoomOffer?.breakfastUnitPrice || 0
|
@@ -1827,7 +1814,7 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1827
1814
|
], 64)) : I("", !0)
|
1828
1815
|
]),
|
1829
1816
|
"price-summary": a(() => [
|
1830
|
-
h("p",
|
1817
|
+
h("p", Wo, C(p(i)("BBasketSummary.priceDetails")), 1),
|
1831
1818
|
o(P, {
|
1832
1819
|
"no-gutters": "",
|
1833
1820
|
class: "mt-1"
|
@@ -1835,10 +1822,10 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1835
1822
|
default: a(() => [
|
1836
1823
|
o(y, null, {
|
1837
1824
|
default: a(() => [
|
1838
|
-
h("p",
|
1825
|
+
h("p", Yo, C(p(i)("BBasketSummary.roomCount", {
|
1839
1826
|
n: A.value,
|
1840
1827
|
value: A.value
|
1841
|
-
})) + " x " + C(p(
|
1828
|
+
})) + " x " + C(p(i)("BBasketSummary.nightCount", {
|
1842
1829
|
n: T.value,
|
1843
1830
|
value: T.value
|
1844
1831
|
})), 1)
|
@@ -1847,8 +1834,8 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1847
1834
|
}),
|
1848
1835
|
o(y, { class: "text-right" }, {
|
1849
1836
|
default: a(() => [
|
1850
|
-
h("span",
|
1851
|
-
o(
|
1837
|
+
h("span", Zo, [
|
1838
|
+
o(nt, {
|
1852
1839
|
amount: u.hotelRoomOffer.price,
|
1853
1840
|
currency: u.hotelRoomOffer.currency
|
1854
1841
|
}, null, 8, ["amount", "currency"])
|
@@ -1866,7 +1853,7 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1866
1853
|
default: a(() => [
|
1867
1854
|
o(y, null, {
|
1868
1855
|
default: a(() => [
|
1869
|
-
u.hotelRoomOffer.breakfastCount ? (l(), f("small",
|
1856
|
+
u.hotelRoomOffer.breakfastCount ? (l(), f("small", Ko, C(p(i)("BBasketSummary.breakfastIncluded", {
|
1870
1857
|
n: u.hotelRoomOffer.breakfastCount,
|
1871
1858
|
value: u.hotelRoomOffer.breakfastCount
|
1872
1859
|
})), 1)) : I("", !0)
|
@@ -1891,8 +1878,8 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1891
1878
|
}),
|
1892
1879
|
o(y, { class: "text-right" }, {
|
1893
1880
|
default: a(() => [
|
1894
|
-
h("span",
|
1895
|
-
o(
|
1881
|
+
h("span", Qo, [
|
1882
|
+
o(nt, {
|
1896
1883
|
amount: u.hotelRoomOffer.taxIncludedPrice - u.hotelRoomOffer.price,
|
1897
1884
|
currency: u.hotelRoomOffer.currency
|
1898
1885
|
}, null, 8, ["amount", "currency"])
|
@@ -1914,8 +1901,8 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1914
1901
|
}),
|
1915
1902
|
o(y, null, {
|
1916
1903
|
default: a(() => [
|
1917
|
-
o(
|
1918
|
-
"is-tax-included":
|
1904
|
+
o(Bt, {
|
1905
|
+
"is-tax-included": d.value,
|
1919
1906
|
"night-count": 0,
|
1920
1907
|
price: u.hotelRoomOffer.price,
|
1921
1908
|
"tax-included-price": u.hotelRoomOffer.taxIncludedPrice,
|
@@ -1929,7 +1916,7 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1929
1916
|
})
|
1930
1917
|
]),
|
1931
1918
|
errors: a(() => [
|
1932
|
-
z.value && z.value < r.value ? (l(), S(
|
1919
|
+
z.value && z.value < r.value ? (l(), S(We, {
|
1933
1920
|
key: 0,
|
1934
1921
|
class: "mb-0",
|
1935
1922
|
color: "red",
|
@@ -1937,7 +1924,7 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1937
1924
|
variant: "outlined"
|
1938
1925
|
}, {
|
1939
1926
|
default: a(() => [
|
1940
|
-
h("p",
|
1927
|
+
h("p", Jo, C(p(i)("BBasketSummary.occupancyWarning", {
|
1941
1928
|
guestCount: r.value
|
1942
1929
|
})), 1)
|
1943
1930
|
]),
|
@@ -1954,36 +1941,36 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
1954
1941
|
onClick: g[1] || (g[1] = (H) => u.$emit("submit"))
|
1955
1942
|
}, {
|
1956
1943
|
default: a(() => [
|
1957
|
-
u.isSuccessful ? I("", !0) : (l(), f("span",
|
1958
|
-
|
1944
|
+
u.isSuccessful ? I("", !0) : (l(), f("span", Xo, C(p(i)("BBasketSummary.book")), 1)),
|
1945
|
+
gt(o(at, { class: "position-absolute" }, {
|
1959
1946
|
default: a(() => g[10] || (g[10] = [
|
1960
1947
|
w(" fas fa-check ")
|
1961
1948
|
])),
|
1962
1949
|
_: 1,
|
1963
1950
|
__: [10]
|
1964
1951
|
}, 512), [
|
1965
|
-
[
|
1952
|
+
[yt, u.isSuccessful]
|
1966
1953
|
])
|
1967
1954
|
]),
|
1968
1955
|
_: 1
|
1969
1956
|
}, 8, ["color", "disabled", "loading"])
|
1970
1957
|
]),
|
1971
1958
|
"cancellation-policies": a(() => [
|
1972
|
-
u.hotelRoomOffer && u.hotelRoomOffer.cancellationPolicies.length ? (l(), S(
|
1959
|
+
u.hotelRoomOffer && u.hotelRoomOffer.cancellationPolicies.length ? (l(), S(Xe, {
|
1973
1960
|
key: 0,
|
1974
1961
|
"cancellation-policies": R.value,
|
1975
1962
|
"check-in-date": u.checkInDate,
|
1976
1963
|
class: "text-caption",
|
1977
|
-
timezone: u.hotelTimezone || p(
|
1978
|
-
}, null, 8, ["cancellation-policies", "check-in-date", "timezone"])) : (l(), f("span",
|
1964
|
+
timezone: u.hotelTimezone || p(ro)
|
1965
|
+
}, null, 8, ["cancellation-policies", "check-in-date", "timezone"])) : (l(), f("span", ta))
|
1979
1966
|
]),
|
1980
1967
|
_: 1
|
1981
|
-
})) : (l(), S(
|
1968
|
+
})) : (l(), S(Dt, { key: "empty" }, {
|
1982
1969
|
title: a(() => [
|
1983
|
-
h("span", null, C(p(
|
1970
|
+
h("span", null, C(p(i)("BBasketSummary.title")), 1)
|
1984
1971
|
]),
|
1985
1972
|
"adult-count": a(() => [
|
1986
|
-
w(C(p(
|
1973
|
+
w(C(p(i)("BBasketSummary.noSelection")), 1)
|
1987
1974
|
]),
|
1988
1975
|
"secondary-title": a(() => g[2] || (g[2] = [
|
1989
1976
|
h("span", null, null, -1)
|
@@ -2001,15 +1988,15 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
2001
1988
|
disabled: ""
|
2002
1989
|
}, {
|
2003
1990
|
default: a(() => [
|
2004
|
-
u.isSuccessful ? I("", !0) : (l(), f("span",
|
2005
|
-
|
1991
|
+
u.isSuccessful ? I("", !0) : (l(), f("span", Fo, C(p(i)("BBasketSummary.book")), 1)),
|
1992
|
+
gt(o(at, { class: "position-absolute" }, {
|
2006
1993
|
default: a(() => g[5] || (g[5] = [
|
2007
1994
|
w(" fas fa-check ")
|
2008
1995
|
])),
|
2009
1996
|
_: 1,
|
2010
1997
|
__: [5]
|
2011
1998
|
}, 512), [
|
2012
|
-
[
|
1999
|
+
[yt, u.isSuccessful]
|
2013
2000
|
])
|
2014
2001
|
]),
|
2015
2002
|
_: 1
|
@@ -2023,7 +2010,7 @@ const te = /* @__PURE__ */ it(Xt, [["__scopeId", "data-v-4631d14a"]]), Fo = { cl
|
|
2023
2010
|
]));
|
2024
2011
|
}
|
2025
2012
|
});
|
2026
|
-
function
|
2013
|
+
function zt(t) {
|
2027
2014
|
const e = t;
|
2028
2015
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
2029
2016
|
locale: "",
|
@@ -2157,20 +2144,20 @@ function qt(t) {
|
|
2157
2144
|
}
|
2158
2145
|
});
|
2159
2146
|
}
|
2160
|
-
typeof
|
2161
|
-
const
|
2147
|
+
typeof zt == "function" && zt(te);
|
2148
|
+
const ea = {
|
2162
2149
|
hotelId: {
|
2163
2150
|
required: !0,
|
2164
2151
|
type: String
|
2165
2152
|
}
|
2166
|
-
},
|
2153
|
+
}, oa = W({
|
2167
2154
|
components: {
|
2168
|
-
BBasketSummary:
|
2169
|
-
HotelRoomOfferItem:
|
2170
|
-
HotelRoomOfferItemLayout:
|
2155
|
+
BBasketSummary: te,
|
2156
|
+
HotelRoomOfferItem: Xt,
|
2157
|
+
HotelRoomOfferItemLayout: pt
|
2171
2158
|
},
|
2172
2159
|
computed: {
|
2173
|
-
...
|
2160
|
+
...Se(bt, ft),
|
2174
2161
|
adultCount() {
|
2175
2162
|
return this.hotelRoomOfferRequest?.adultCount;
|
2176
2163
|
},
|
@@ -2188,7 +2175,7 @@ const ia = {
|
|
2188
2175
|
"hotelRoomOffers/hotelRoomOffers",
|
2189
2176
|
this.hotelId
|
2190
2177
|
)?.offers?.filter(
|
2191
|
-
(t) => t.type ===
|
2178
|
+
(t) => t.type === Ot.HotelRoom
|
2192
2179
|
) || null;
|
2193
2180
|
},
|
2194
2181
|
hotelTimezone() {
|
@@ -2224,24 +2211,24 @@ const ia = {
|
|
2224
2211
|
this.isLoading = !1;
|
2225
2212
|
},
|
2226
2213
|
onBasketUpdate(t, e) {
|
2227
|
-
const
|
2214
|
+
const i = {
|
2228
2215
|
count: e,
|
2229
2216
|
hotelRoomId: t.hotelRooms[0].id,
|
2230
2217
|
hotelRoomOfferId: t.id
|
2231
|
-
},
|
2232
|
-
(n) => n.hotelRoomOfferId ===
|
2218
|
+
}, s = this.basketContent.findIndex(
|
2219
|
+
(n) => n.hotelRoomOfferId === i.hotelRoomOfferId
|
2233
2220
|
);
|
2234
|
-
|
2235
|
-
...this.basketContent.slice(0,
|
2236
|
-
...this.basketContent.slice(
|
2237
|
-
] : this.basketContent.splice(
|
2221
|
+
s === -1 ? e === 0 ? [
|
2222
|
+
...this.basketContent.slice(0, s),
|
2223
|
+
...this.basketContent.slice(s + 1)
|
2224
|
+
] : this.basketContent.splice(s, 1) : this.basketContent.push(i);
|
2238
2225
|
},
|
2239
2226
|
onBreakfastChange(t) {
|
2240
2227
|
this.addBreakfast = t;
|
2241
2228
|
},
|
2242
2229
|
onDeleteRoom(t) {
|
2243
2230
|
const e = this.basketContent.findIndex(
|
2244
|
-
(
|
2231
|
+
(i) => i.hotelRoomId === t.id
|
2245
2232
|
);
|
2246
2233
|
this.basketContent[e].count = 0;
|
2247
2234
|
},
|
@@ -2253,11 +2240,11 @@ const ia = {
|
|
2253
2240
|
}), await this.createHotelRoomOfferPackage(), this.isLoading = !1);
|
2254
2241
|
}
|
2255
2242
|
},
|
2256
|
-
mixins: [
|
2243
|
+
mixins: [Be, oo()],
|
2257
2244
|
name: "HotelRoomOfferBasket",
|
2258
|
-
props:
|
2245
|
+
props: ea,
|
2259
2246
|
setup() {
|
2260
|
-
const { t } =
|
2247
|
+
const { t } = tt();
|
2261
2248
|
return {
|
2262
2249
|
t
|
2263
2250
|
};
|
@@ -2270,7 +2257,7 @@ const ia = {
|
|
2270
2257
|
deep: !0,
|
2271
2258
|
handler(t) {
|
2272
2259
|
t.reduce(
|
2273
|
-
(
|
2260
|
+
(i, s) => i + s.count,
|
2274
2261
|
0
|
2275
2262
|
) === 0 ? this.newCreatedPackage = void 0 : this.createHotelRoomOfferPackage();
|
2276
2263
|
},
|
@@ -2288,8 +2275,8 @@ const ia = {
|
|
2288
2275
|
}
|
2289
2276
|
}
|
2290
2277
|
});
|
2291
|
-
function
|
2292
|
-
const
|
2278
|
+
function aa(t, e, i, s, n, v) {
|
2279
|
+
const m = ot("HotelRoomOfferItem"), r = ot("BBasketSummary");
|
2293
2280
|
return l(), S(P, { "no-gutters": "" }, {
|
2294
2281
|
default: a(() => [
|
2295
2282
|
o(y, {
|
@@ -2297,17 +2284,17 @@ function la(t, e, s, i, n, k) {
|
|
2297
2284
|
md: "8"
|
2298
2285
|
}, {
|
2299
2286
|
default: a(() => [
|
2300
|
-
t.hotelRoomOffers.length && t.basketContent.length ? (l(!0), f(B, { key: 0 },
|
2301
|
-
|
2302
|
-
o(
|
2303
|
-
modelValue: t.basketContent[
|
2304
|
-
"onUpdate:modelValue": (T) => t.basketContent[
|
2305
|
-
}, { ref_for: !0 },
|
2287
|
+
t.hotelRoomOffers.length && t.basketContent.length ? (l(!0), f(B, { key: 0 }, G(t.hotelRoomOffers, (k, d) => (l(), f(B, null, [
|
2288
|
+
d > 0 ? (l(), S(K, { key: 0 })) : I("", !0),
|
2289
|
+
o(m, q({
|
2290
|
+
modelValue: t.basketContent[d].count,
|
2291
|
+
"onUpdate:modelValue": (T) => t.basketContent[d].count = T
|
2292
|
+
}, { ref_for: !0 }, k), null, 16, ["modelValue", "onUpdate:modelValue"])
|
2306
2293
|
], 64))), 256)) : I("", !0)
|
2307
2294
|
]),
|
2308
2295
|
_: 1
|
2309
2296
|
}),
|
2310
|
-
o(
|
2297
|
+
o(K, {
|
2311
2298
|
class: "d-none d-md-block",
|
2312
2299
|
vertical: ""
|
2313
2300
|
}),
|
@@ -2317,7 +2304,7 @@ function la(t, e, s, i, n, k) {
|
|
2317
2304
|
md: "4"
|
2318
2305
|
}, {
|
2319
2306
|
default: a(() => [
|
2320
|
-
o(
|
2307
|
+
o(K, { class: "d-block d-md-none my-2" }),
|
2321
2308
|
o(r, q(t.newCreatedPackage, {
|
2322
2309
|
"adult-count": t.adultCount,
|
2323
2310
|
"hotel-timezone": t.hotelTimezone,
|
@@ -2335,55 +2322,39 @@ function la(t, e, s, i, n, k) {
|
|
2335
2322
|
_: 1
|
2336
2323
|
});
|
2337
2324
|
}
|
2338
|
-
const
|
2339
|
-
components: {
|
2340
|
-
BPriceSummarySkeleton: Bt
|
2341
|
-
},
|
2342
|
-
mixins: [Ft],
|
2343
|
-
name: "HotelRoomOfferLayout",
|
2344
|
-
props: {
|
2345
|
-
boilerplate: { type: Boolean }
|
2346
|
-
},
|
2347
|
-
setup() {
|
2348
|
-
const { t } = Y();
|
2349
|
-
return {
|
2350
|
-
t
|
2351
|
-
};
|
2352
|
-
}
|
2353
|
-
}), oe = /* @__PURE__ */ x({
|
2325
|
+
const sa = /* @__PURE__ */ ct(oa, [["render", aa], ["__scopeId", "data-v-ee0e3c98"]]), ee = /* @__PURE__ */ W({
|
2354
2326
|
__name: "HotelRoomOfferListEmpty",
|
2355
2327
|
props: {
|
2356
|
-
boilerplateSkeleton: { type: Boolean },
|
2328
|
+
boilerplateSkeleton: { type: Boolean, default: !1 },
|
2357
2329
|
itemCount: { default: 3 },
|
2358
2330
|
type: {}
|
2359
2331
|
},
|
2360
2332
|
setup(t) {
|
2361
|
-
const { t: e } =
|
2362
|
-
return (
|
2363
|
-
(l(!0), f(B, null,
|
2364
|
-
n > 1 ? (l(), S(
|
2365
|
-
o(
|
2366
|
-
|
2367
|
-
|
2368
|
-
}, null, 8, ["boilerplate", "class"])
|
2333
|
+
const { t: e } = tt();
|
2334
|
+
return (i, s) => (l(), f("div", null, [
|
2335
|
+
(l(!0), f(B, null, G(i.itemCount, (n) => (l(), f(B, { key: n }, [
|
2336
|
+
n > 1 ? (l(), S(K, { key: 0 })) : I("", !0),
|
2337
|
+
o(pt, {
|
2338
|
+
class: Rt({ "mt-0": n === 1, "mb-0": n === 3 })
|
2339
|
+
}, null, 8, ["class"])
|
2369
2340
|
], 64))), 128)),
|
2370
|
-
|
2341
|
+
i.type ? (l(), S(St, {
|
2371
2342
|
key: 0,
|
2372
2343
|
"min-height": "300px",
|
2373
2344
|
"z-index": 50
|
2374
2345
|
}, {
|
2375
2346
|
title: a(() => [
|
2376
|
-
w(C(p(e)(`HotelRoomOfferListEmpty.${
|
2347
|
+
w(C(p(e)(`HotelRoomOfferListEmpty.${i.type}.title`)), 1)
|
2377
2348
|
]),
|
2378
2349
|
description: a(() => [
|
2379
|
-
w(C(p(e)(`HotelRoomOfferListEmpty.${
|
2350
|
+
w(C(p(e)(`HotelRoomOfferListEmpty.${i.type}.description`)), 1)
|
2380
2351
|
]),
|
2381
2352
|
_: 1
|
2382
2353
|
})) : I("", !0)
|
2383
2354
|
]));
|
2384
2355
|
}
|
2385
2356
|
});
|
2386
|
-
function
|
2357
|
+
function qt(t) {
|
2387
2358
|
const e = t;
|
2388
2359
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
2389
2360
|
locale: "",
|
@@ -2503,71 +2474,71 @@ function Mt(t) {
|
|
2503
2474
|
}
|
2504
2475
|
});
|
2505
2476
|
}
|
2506
|
-
typeof
|
2507
|
-
const
|
2477
|
+
typeof qt == "function" && qt(ee);
|
2478
|
+
const oe = {
|
2508
2479
|
OnlyMatchingRoomCount: !1
|
2509
|
-
},
|
2510
|
-
...
|
2480
|
+
}, ia = {
|
2481
|
+
...we,
|
2511
2482
|
features: {
|
2512
|
-
default: () =>
|
2483
|
+
default: () => oe,
|
2513
2484
|
type: [Object, String]
|
2514
2485
|
},
|
2515
2486
|
limit: {
|
2516
2487
|
default: () => 0,
|
2517
2488
|
type: Number
|
2518
2489
|
}
|
2519
|
-
},
|
2490
|
+
}, ae = W({
|
2520
2491
|
components: {
|
2521
2492
|
BErrorOverlay: St,
|
2522
|
-
HotelRoomOfferBasket:
|
2523
|
-
HotelRoomOfferItem:
|
2524
|
-
HotelRoomOfferItemLayout:
|
2525
|
-
HotelRoomOfferListEmpty:
|
2493
|
+
HotelRoomOfferBasket: sa,
|
2494
|
+
HotelRoomOfferItem: Xt,
|
2495
|
+
HotelRoomOfferItemLayout: pt,
|
2496
|
+
HotelRoomOfferListEmpty: ee
|
2526
2497
|
},
|
2527
2498
|
name: "HotelRoomOfferList",
|
2528
|
-
props:
|
2499
|
+
props: ia,
|
2529
2500
|
// eslint-disable-next-line max-lines-per-function
|
2530
2501
|
setup(t) {
|
2531
|
-
const { t: e } =
|
2532
|
-
fallbackValue:
|
2502
|
+
const { t: e } = tt(), i = ft(), s = bt(), n = j(null), v = j(["packageHotelRoomOffers", "hotelRoomHotelRoomOffers"]), m = ao({
|
2503
|
+
fallbackValue: oe,
|
2533
2504
|
prop: b(() => t.features)
|
2534
|
-
}), r = (_) => _.hotelRooms.reduce(($,
|
2535
|
-
() =>
|
2505
|
+
}), r = (_) => _.hotelRooms.reduce(($, F) => $ + F.count, 0), k = b(() => s.hotelRoomOfferRequest(t.hotelId)), d = b(
|
2506
|
+
() => i.hotelRoomOffers(t.hotelId)
|
2536
2507
|
), T = b(
|
2537
|
-
() => !!(
|
2508
|
+
() => !!(k.value?.hasError || d.value?.hasError)
|
2538
2509
|
), A = b(
|
2539
|
-
() =>
|
2540
|
-
(_) => _.type ===
|
2510
|
+
() => d.value?.offers?.filter(
|
2511
|
+
(_) => _.type === Ot.HotelRoom
|
2541
2512
|
) || []
|
2542
2513
|
), R = b(() => {
|
2543
|
-
const _ =
|
2544
|
-
($) => $.type ===
|
2545
|
-
).filter(($) =>
|
2514
|
+
const _ = d.value?.offers?.filter(
|
2515
|
+
($) => $.type === Ot.Package
|
2516
|
+
).filter(($) => m.value?.OnlyMatchingRoomCount ? r($) === k.value?.roomCount : !0);
|
2546
2517
|
return _?.slice(0, t.limit || _.length) || [];
|
2547
2518
|
}), z = b(
|
2548
|
-
() => !!
|
2519
|
+
() => !!d.value?.isPolling && !!R.value?.length
|
2549
2520
|
), u = b(
|
2550
|
-
() => !
|
2521
|
+
() => !k.value?.id || (!!k.value?.isFetching || !!d.value?.isPolling) && !R.value?.length
|
2551
2522
|
), g = async ({
|
2552
2523
|
addBreakfast: _,
|
2553
2524
|
hotelId: $,
|
2554
|
-
id:
|
2525
|
+
id: F
|
2555
2526
|
}) => {
|
2556
|
-
await
|
2527
|
+
await i.reifyHotelRoomOffer({
|
2557
2528
|
addBreakfast: _,
|
2558
2529
|
hotelId: $,
|
2559
|
-
id:
|
2530
|
+
id: F
|
2560
2531
|
});
|
2561
2532
|
}, H = async (_) => {
|
2562
|
-
if (!
|
2563
|
-
|
2533
|
+
if (!k.value?.id) {
|
2534
|
+
i.resetHotelRoomOffers({
|
2564
2535
|
hotelId: t.hotelId
|
2565
2536
|
});
|
2566
2537
|
return;
|
2567
2538
|
}
|
2568
|
-
await
|
2539
|
+
await i.retrieveHotelRoomOffers({
|
2569
2540
|
hotelId: t.hotelId,
|
2570
|
-
hotelRoomOfferRequestId:
|
2541
|
+
hotelRoomOfferRequestId: k.value.id,
|
2571
2542
|
inProgressHotelRoomOfferIds: _
|
2572
2543
|
});
|
2573
2544
|
};
|
@@ -2575,13 +2546,13 @@ const ae = {
|
|
2575
2546
|
await H([_]);
|
2576
2547
|
}
|
2577
2548
|
D(
|
2578
|
-
() =>
|
2549
|
+
() => k.value?.id,
|
2579
2550
|
async () => {
|
2580
2551
|
await H();
|
2581
2552
|
},
|
2582
2553
|
{ immediate: !0 }
|
2583
2554
|
);
|
2584
|
-
const { bookingApiClient: M, config: N } =
|
2555
|
+
const { bookingApiClient: M, config: N } = Ie();
|
2585
2556
|
D(
|
2586
2557
|
() => [M.value, N.value.currency, N.value.lang],
|
2587
2558
|
async () => {
|
@@ -2589,7 +2560,7 @@ const ae = {
|
|
2589
2560
|
},
|
2590
2561
|
{ immediate: !0 }
|
2591
2562
|
);
|
2592
|
-
const
|
2563
|
+
const Y = Po({
|
2593
2564
|
adultCount: t.adultCount,
|
2594
2565
|
checkInDate: t.checkInDate,
|
2595
2566
|
checkOutDate: t.checkOutDate,
|
@@ -2607,13 +2578,13 @@ const ae = {
|
|
2607
2578
|
showSkeleton: u,
|
2608
2579
|
t: e,
|
2609
2580
|
tab: n,
|
2610
|
-
tabItems:
|
2611
|
-
...
|
2581
|
+
tabItems: v,
|
2582
|
+
...Y,
|
2612
2583
|
onBookingPolicyFailed: E
|
2613
2584
|
};
|
2614
2585
|
}
|
2615
2586
|
});
|
2616
|
-
function
|
2587
|
+
function Mt(t) {
|
2617
2588
|
const e = t;
|
2618
2589
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
2619
2590
|
locale: "",
|
@@ -2691,57 +2662,57 @@ function Nt(t) {
|
|
2691
2662
|
}
|
2692
2663
|
});
|
2693
2664
|
}
|
2694
|
-
const
|
2695
|
-
function
|
2696
|
-
const
|
2697
|
-
return l(), f("div",
|
2665
|
+
const na = { class: "bg-white" }, la = { key: 0 };
|
2666
|
+
function ra(t, e, i, s, n, v) {
|
2667
|
+
const m = ot("HotelRoomOfferListEmpty"), r = ot("HotelRoomOfferItem"), k = ot("HotelRoomOfferBasket");
|
2668
|
+
return l(), f("div", na, [
|
2698
2669
|
t.isBookingApiClientDefined ? (l(), f(B, { key: 1 }, [
|
2699
|
-
t.hasError ? (l(), S(
|
2670
|
+
t.hasError ? (l(), S(m, {
|
2700
2671
|
key: "error",
|
2701
2672
|
boilerplate: "",
|
2702
2673
|
type: "internalError"
|
2703
|
-
})) : t.showSkeleton ? (l(), S(
|
2704
|
-
t.hotelRoomHotelRoomOffers.length ? I("", !0) : (l(), f("div",
|
2705
|
-
t.isLoading ? (l(), S(
|
2674
|
+
})) : t.showSkeleton ? (l(), S(m, { key: "skeleton" })) : t.packageHotelRoomOffers && t.packageHotelRoomOffers.length ? (l(), f(B, { key: 2 }, [
|
2675
|
+
t.hotelRoomHotelRoomOffers.length ? I("", !0) : (l(), f("div", la)),
|
2676
|
+
t.isLoading ? (l(), S(je, {
|
2706
2677
|
key: 1,
|
2707
2678
|
class: "loader position-absolute",
|
2708
2679
|
color: "secondary",
|
2709
2680
|
indeterminate: ""
|
2710
2681
|
})) : I("", !0),
|
2711
2682
|
t.hotelRoomHotelRoomOffers && t.hotelRoomHotelRoomOffers.length ? (l(), f(B, { key: 2 }, [
|
2712
|
-
o(
|
2683
|
+
o(Oo, {
|
2713
2684
|
color: "primary",
|
2714
2685
|
density: "compact",
|
2715
2686
|
modelValue: t.tab,
|
2716
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
2687
|
+
"onUpdate:modelValue": e[0] || (e[0] = (d) => t.tab = d),
|
2717
2688
|
grow: ""
|
2718
2689
|
}, {
|
2719
2690
|
default: a(() => [
|
2720
|
-
(l(!0), f(B, null,
|
2721
|
-
o(
|
2691
|
+
(l(!0), f(B, null, G(t.tabItems, (d) => (l(), f(B, { key: d }, [
|
2692
|
+
o(Wt, null, {
|
2722
2693
|
default: a(() => [
|
2723
|
-
w(C(t.t(`HotelRoomOfferList.${
|
2694
|
+
w(C(t.t(`HotelRoomOfferList.${d}.title`)), 1)
|
2724
2695
|
]),
|
2725
2696
|
_: 2
|
2726
2697
|
}, 1024),
|
2727
|
-
o(
|
2698
|
+
o(K, { vertical: "" })
|
2728
2699
|
], 64))), 128))
|
2729
2700
|
]),
|
2730
2701
|
_: 1
|
2731
2702
|
}, 8, ["modelValue"]),
|
2732
|
-
o(
|
2703
|
+
o(Yt, {
|
2733
2704
|
modelValue: t.tab,
|
2734
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
2705
|
+
"onUpdate:modelValue": e[1] || (e[1] = (d) => t.tab = d),
|
2735
2706
|
class: "overflow-visible"
|
2736
2707
|
}, {
|
2737
2708
|
default: a(() => [
|
2738
|
-
o(
|
2709
|
+
o(Ct, { class: "pt-3" }, {
|
2739
2710
|
default: a(() => [
|
2740
|
-
(l(!0), f(B, null,
|
2741
|
-
key:
|
2711
|
+
(l(!0), f(B, null, G(t.packageHotelRoomOffers, (d, T) => (l(), f(B, {
|
2712
|
+
key: d.id
|
2742
2713
|
}, [
|
2743
|
-
T > 0 ? (l(), S(
|
2744
|
-
o(r, q({ ref_for: !0 },
|
2714
|
+
T > 0 ? (l(), S(K, { key: 0 })) : I("", !0),
|
2715
|
+
o(r, q({ ref_for: !0 }, d, {
|
2745
2716
|
onBreakfastChange: t.onBreakfastChange,
|
2746
2717
|
onBookingPolicyFailed: t.onBookingPolicyFailed
|
2747
2718
|
}), null, 16, ["onBreakfastChange", "onBookingPolicyFailed"])
|
@@ -2749,25 +2720,25 @@ function fa(t, e, s, i, n, k) {
|
|
2749
2720
|
]),
|
2750
2721
|
_: 1
|
2751
2722
|
}),
|
2752
|
-
o(
|
2723
|
+
o(Ct, { class: "pt-3 pb-5" }, {
|
2753
2724
|
default: a(() => [
|
2754
|
-
o(
|
2725
|
+
o(k, { "hotel-id": t.hotelId }, null, 8, ["hotel-id"])
|
2755
2726
|
]),
|
2756
2727
|
_: 1
|
2757
2728
|
})
|
2758
2729
|
]),
|
2759
2730
|
_: 1
|
2760
2731
|
}, 8, ["modelValue"])
|
2761
|
-
], 64)) : (l(!0), f(B, { key: 3 },
|
2762
|
-
key:
|
2732
|
+
], 64)) : (l(!0), f(B, { key: 3 }, G(t.packageHotelRoomOffers, (d, T) => (l(), f(B, {
|
2733
|
+
key: d.id
|
2763
2734
|
}, [
|
2764
|
-
T > 0 ? (l(), S(
|
2765
|
-
o(r, q({ ref_for: !0 },
|
2735
|
+
T > 0 ? (l(), S(K, { key: 0 })) : I("", !0),
|
2736
|
+
o(r, q({ ref_for: !0 }, d, {
|
2766
2737
|
onBreakfastChange: t.onBreakfastChange,
|
2767
2738
|
onBookingPolicyFailed: t.onBookingPolicyFailed
|
2768
2739
|
}), null, 16, ["onBreakfastChange", "onBookingPolicyFailed"])
|
2769
2740
|
], 64))), 128))
|
2770
|
-
], 64)) : !t.packageHotelRoomOffers || !t.packageHotelRoomOffers.length ? (l(), S(
|
2741
|
+
], 64)) : !t.packageHotelRoomOffers || !t.packageHotelRoomOffers.length ? (l(), S(m, {
|
2771
2742
|
key: "skeleton",
|
2772
2743
|
boilerplate: "",
|
2773
2744
|
type: "noResults"
|
@@ -2775,14 +2746,14 @@ function fa(t, e, s, i, n, k) {
|
|
2775
2746
|
], 64)) : (l(), f(B, { key: 0 }, [], 64))
|
2776
2747
|
]);
|
2777
2748
|
}
|
2778
|
-
typeof
|
2779
|
-
const
|
2780
|
-
|
2749
|
+
typeof Mt == "function" && Mt(ae);
|
2750
|
+
const $a = /* @__PURE__ */ ct(ae, [["render", ra], ["__scopeId", "data-v-e71fbea6"]]);
|
2751
|
+
ie("css/revolugo.hotelroomofferlist.C1uw1vfC.css");
|
2781
2752
|
export {
|
2782
|
-
|
2783
|
-
|
2784
|
-
|
2785
|
-
|
2786
|
-
|
2753
|
+
Bt as B,
|
2754
|
+
$a as H,
|
2755
|
+
oe as a,
|
2756
|
+
ia as h,
|
2757
|
+
fo as r
|
2787
2758
|
};
|
2788
|
-
//# sourceMappingURL=revolugo.hotelroomofferlist.
|
2759
|
+
//# sourceMappingURL=revolugo.hotelroomofferlist.BYjhiVd9.min.js.map
|