@revolugo/elements 6.8.2-beta.35 → 6.8.2-beta.36
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.bimagecarousel.DFlgQMzq.css → revolugo.bimagecarousel.B2SxWMbZ.css} +1 -1
- package/dist/css/revolugo.termsandconditions.D8IMR9da.css +1 -0
- package/dist/css/{revolugo.webcomponentwrapper.BNxGrktU.css → revolugo.webcomponentwrapper.cFJPP6Rp.css} +1 -1
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/{revolugo._baseiteratee.DXs1qceQ.min.js → revolugo._baseiteratee.DqpAWb6T.min.js} +2 -2
- package/dist/{revolugo.banktransferdetails.CW2vXY85.min.js → revolugo.banktransferdetails.HIONuL-w.min.js} +9 -9
- package/dist/{revolugo.bdaterangepicker.DafS75a7.min.js → revolugo.bdaterangepicker.CYqs79KF.min.js} +5 -5
- package/dist/{revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DPBPNagF.min.js → revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.C2bQrTH9.min.js} +2 -2
- package/dist/{revolugo.bhoteloffersfilterbar.DhuoHmwA.min.js → revolugo.bhoteloffersfilterbar.C99qFZXQ.min.js} +36 -36
- package/dist/{revolugo.bhotelroomsdetails.D8jmONal.min.js → revolugo.bhotelroomsdetails.BspNbZ48.min.js} +182 -207
- package/dist/{revolugo.bimagecarousel.DAQ3mwvt.min.js → revolugo.bimagecarousel.Csl8A8eS.min.js} +146 -168
- package/dist/{revolugo.bookingdetailssidebar.DIcRSjPd.min.js → revolugo.bookingdetailssidebar.CpDzjKTp.min.js} +4 -4
- package/dist/{revolugo.bookingdetailssidebar.mwjjuWpw.min.js → revolugo.bookingdetailssidebar.DGJW157-.min.js} +19 -19
- package/dist/{revolugo.bookingmanager.Bwyo12Gi.min.js → revolugo.bookingmanager.kjJFCsaj.min.js} +20 -20
- package/dist/{revolugo.bpricesummaryskeleton.tb9ZpC9J.min.js → revolugo.bpricesummaryskeleton.8c6X82Hn.min.js} +4 -4
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.DCYjk9Yx.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.KQ12c6Ip.min.js} +8 -8
- package/dist/{revolugo.btag.DeeJpOs_.min.js → revolugo.btag.BE3Ri1CO.min.js} +8 -8
- package/dist/{revolugo.cancellationpoliciesbadge.DMIEO0nz.min.js → revolugo.cancellationpoliciesbadge.W8Gvstjs.min.js} +4 -4
- package/dist/{revolugo.cancellationpoliciesbadge.DqsmQWTm.min.js → revolugo.cancellationpoliciesbadge.mxkumI4i.min.js} +7 -7
- package/dist/{revolugo.cancellationpolicieslist.CyDAFW-m.min.js → revolugo.cancellationpolicieslist.DEiFUBfm.min.js} +3 -3
- package/dist/{revolugo.cancellationpolicieslist.BbjzLOjx.min.js → revolugo.cancellationpolicieslist.EqDKfH1M.min.js} +4 -4
- package/dist/{revolugo.case-transformers.CwyDt9X7.min.js → revolugo.case-transformers.BZKgm7X9.min.js} +2 -2
- package/dist/{revolugo.creditcardform.DHTyvc89.min.js → revolugo.creditcardform.D84lJYLN.min.js} +4 -4
- package/dist/{revolugo.creditcardform.dkQfjqbu.min.js → revolugo.creditcardform.Dv8WVVQs.min.js} +11 -11
- package/dist/{revolugo.creditcardpayment.Bq-J4NTM.min.js → revolugo.creditcardpayment.BQEG147C.min.js} +4 -4
- package/dist/{revolugo.creditcardpayment.C4p394gY.min.js → revolugo.creditcardpayment.BcHJkQmY.min.js} +16 -16
- package/dist/{revolugo.currencypicker.CaX_fZ0_.min.js → revolugo.currencypicker.DEJ2kZKc.min.js} +6 -6
- package/dist/{revolugo.currencypickerbtn.uWFp8h9g.min.js → revolugo.currencypickerbtn.1V06vG7i.min.js} +9 -9
- package/dist/{revolugo.currencypickerbtn.CVNX9x8D.min.js → revolugo.currencypickerbtn.BO15T4Og.min.js} +4 -4
- package/dist/{revolugo.dates.BeQtrIUt.min.js → revolugo.dates.DQToc-Zu.min.js} +2 -2
- package/dist/{revolugo.defaultsdeep.E3Weft6W.min.js → revolugo.defaultsdeep.D6A9dZfK.min.js} +2 -2
- package/dist/{revolugo.dialog-attach.fTomESSY.min.js → revolugo.dialog-attach.8RGGMLvt.min.js} +2 -2
- package/dist/{revolugo.dialog-transition.DSC7a95s.min.js → revolugo.dialog-transition.CK9FmR7q.min.js} +3 -3
- package/dist/{revolugo.fastbookingflow.B-Cd7O1h.min.js → revolugo.fastbookingflow.mx9nZ44p.min.js} +4 -4
- package/dist/{revolugo.fullbookingflow.JHD1Liiy.min.js → revolugo.fullbookingflow.ByWT9-fz.min.js} +17 -17
- package/dist/{revolugo.hotel-offer-request.Ba2CYCdK.min.js → revolugo.hotel-offer-request.AQUc7QpR.min.js} +2 -2
- package/dist/{revolugo.hoteldescriptionview.iLYeoUcR.min.js → revolugo.hoteldescriptionview.DCr66NFf.min.js} +4 -4
- package/dist/{revolugo.hoteldescriptionview.CCt_zuXQ.min.js → revolugo.hoteldescriptionview.DjCj4aYP.min.js} +21 -21
- package/dist/{revolugo.hotelofferitemlayout.D_8KH6Ux.min.js → revolugo.hotelofferitemlayout.DSbBWikv.min.js} +6 -6
- package/dist/{revolugo.hotelofferlist.BVOA8ZY3.min.js → revolugo.hotelofferlist.BpQDR4Wh.min.js} +4 -4
- package/dist/{revolugo.hotelofferlist.Df6mIcIm.min.js → revolugo.hotelofferlist.Cj2C7Zi4.min.js} +23 -23
- package/dist/{revolugo.hoteloffersearchmenu.fP0SPGFx.min.js → revolugo.hoteloffersearchmenu.DIMPtwG2.min.js} +6 -6
- package/dist/{revolugo.hoteloffersearchmenuui.ZCJrqlcB.min.js → revolugo.hoteloffersearchmenuui.BblFbDpa.min.js} +17 -17
- package/dist/{revolugo.hoteloffersmap.BrQcEn6b.min.js → revolugo.hoteloffersmap.4IJuz8Kr.min.js} +4 -4
- package/dist/{revolugo.hoteloffersmap.D5OO9zxd.min.js → revolugo.hoteloffersmap.DLxrzp7A.min.js} +13 -13
- package/dist/{revolugo.hoteloffersview.Bsf-pmsP.min.js → revolugo.hoteloffersview.BsL_RfVC.min.js} +4 -4
- package/dist/{revolugo.hoteloffersview.Cv_PrU8G.min.js → revolugo.hoteloffersview.DMDKMCye.min.js} +16 -16
- package/dist/{revolugo.hotelroomofferlist.DmGesgWE.min.js → revolugo.hotelroomofferlist.CqoX8wAD.min.js} +556 -584
- package/dist/{revolugo.hotelroomofferlist.qwZmdThC.min.js → revolugo.hotelroomofferlist.CrMiA0E5.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferrequestcreator.props.D_X7on-H.min.js → revolugo.hotelroomofferrequestcreator.props.CV1b3F15.min.js} +2 -2
- package/dist/{revolugo.hotelroomoffersbookingflow.CZclRz_J.min.js → revolugo.hotelroomoffersbookingflow.EoUemNqv.min.js} +17 -17
- package/dist/{revolugo.hotelroomoffersearchmenu.BP5KuNq8.min.js → revolugo.hotelroomoffersearchmenu.Dj7xOa4W.min.js} +8 -8
- package/dist/{revolugo.hotelroomoffersearchmenu.DAxG-xqw.min.js → revolugo.hotelroomoffersearchmenu.ngvURW1c.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersview.D9gjWnIZ.min.js → revolugo.hotelroomoffersview.CwyVwZR_.min.js} +4 -4
- package/dist/{revolugo.hotelroomoffersview.BgByzQq6.min.js → revolugo.hotelroomoffersview.DRv2agnW.min.js} +12 -12
- package/dist/{revolugo.index.Bds6iekQ.min.js → revolugo.index.DDAUBYBh.min.js} +2 -2
- package/dist/{revolugo.index.Jxvf1PFa.min.js → revolugo.index.qisZC-QI.min.js} +5 -5
- package/dist/{revolugo.index.wc.CwyY7Qwx.min.js → revolugo.index.wc.BzjxKm9K.min.js} +26 -26
- package/dist/{revolugo.langpicker.D6xDoW3U.min.js → revolugo.langpicker.C-S6u3-u.min.js} +5 -5
- package/dist/{revolugo.langpickerbtn.Hnk_6Ibc.min.js → revolugo.langpickerbtn.D3uECmJK.min.js} +4 -4
- package/dist/{revolugo.langpickerbtn.HH5zReNp.min.js → revolugo.langpickerbtn.D9CD4Bj3.min.js} +10 -10
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.pathify.BVUhMr3Z.min.js → revolugo.pathify.CIND4Lom.min.js} +2 -2
- package/dist/{revolugo.prebookform.Dv7SgXnU.min.js → revolugo.prebookform.aGjJhr1R.min.js} +4 -4
- package/dist/{revolugo.prebookform.Dog7HcLu.min.js → revolugo.prebookform.rbCZlvHH.min.js} +18 -18
- package/dist/{revolugo.roominglisteditor.Bk2lIs5I.min.js → revolugo.roominglisteditor.B6-iMCHL.min.js} +4 -4
- package/dist/{revolugo.roominglisteditor.BLvTUiYr.min.js → revolugo.roominglisteditor.Ccuu1hR2.min.js} +9 -9
- package/dist/{revolugo.rounded.Cqycgkgu.min.js → revolugo.rounded.4lPQ9kFX.min.js} +2 -2
- package/dist/{revolugo.ssrboot.d_lNFEaA.min.js → revolugo.ssrboot.DHJaJ8JS.min.js} +2 -2
- package/dist/{revolugo.storybooktoolbar.Cry8rOs6.min.js → revolugo.storybooktoolbar.BQCF7Nnh.min.js} +18 -18
- package/dist/{revolugo.termsandconditions.CP39qReJ.min.js → revolugo.termsandconditions.CQXI2fBL.min.js} +4 -4
- package/dist/revolugo.termsandconditions.D0ZQsUY6.min.js +405 -0
- package/dist/{revolugo.use-breakpoint-service.T4GTT5bW.min.js → revolugo.use-breakpoint-service.C-hjHtUg.min.js} +3 -3
- package/dist/{revolugo.use-dialog-attach.tpY0trN9.min.js → revolugo.use-dialog-attach.Czzi-3RI.min.js} +3 -3
- package/dist/revolugo.use-html-element.D6v1nK-L.min.js +11 -0
- package/dist/{revolugo.vautocomplete.0LoBsyoD.min.js → revolugo.vautocomplete.CurwGarB.min.js} +12 -12
- package/dist/{revolugo.vbadge.BIu8Bf7n.min.js → revolugo.vbadge.CAoYMMWm.min.js} +6 -6
- package/dist/{revolugo.vbtn.a6WFz1Bp.min.js → revolugo.vbtn.CsZeeN8o.min.js} +6 -6
- package/dist/{revolugo.vcard.N_Wac83X.min.js → revolugo.vcard._oiwzPZq.min.js} +6 -6
- package/dist/{revolugo.vcheckboxbtn.CllPJG2d.min.js → revolugo.vcheckboxbtn.DtbO_191.min.js} +8 -8
- package/dist/{revolugo.vdialog.CkGXysfq.min.js → revolugo.vdialog.B8w3JtNs.min.js} +5 -5
- package/dist/{revolugo.vdivider.BdexbeXk.min.js → revolugo.vdivider.BMaXASD1.min.js} +3 -3
- package/dist/{revolugo.vexpansionpanels.JpHsjrqt.min.js → revolugo.vexpansionpanels.tj0xf8uQ.min.js} +6 -6
- package/dist/{revolugo.vform.Dt5OkLsK.min.js → revolugo.vform.CK0ZMifM.min.js} +4 -4
- package/dist/{revolugo.vicon.Xwi5lUjX.min.js → revolugo.vicon.ChjALOWz.min.js} +3 -3
- package/dist/{revolugo.vinput.CD7lhK2w.min.js → revolugo.vinput.Be9TwErW.min.js} +5 -5
- package/dist/{revolugo.vlabel.DiCV_YS8.min.js → revolugo.vlabel.kUTWOnRf.min.js} +3 -3
- package/dist/{revolugo.vlist.DC7UsAn1.min.js → revolugo.vlist.CwdXG8X4.min.js} +8 -8
- package/dist/{revolugo.vmenu.DQ3XhScv.min.js → revolugo.vmenu.Do9o54LY.min.js} +5 -5
- package/dist/{revolugo.vselect.BSFUUjXr.min.js → revolugo.vselect.FSeFjW01.min.js} +12 -12
- package/dist/{revolugo.vsheet.X1hpR7Ic.min.js → revolugo.vsheet.RQ8g0IIb.min.js} +5 -5
- package/dist/{revolugo.vskeletonloader.JJ0gYYv-.min.js → revolugo.vskeletonloader.BTBm47P-.min.js} +4 -4
- package/dist/{revolugo.vslidegroup.BiNeZDPG.min.js → revolugo.vslidegroup.CxPt62zw.min.js} +5 -5
- package/dist/{revolugo.vsnackbar.CYzYDlHW.min.js → revolugo.vsnackbar.DKhErJRq.min.js} +5 -5
- package/dist/revolugo.vspacer.D8mMBxcQ.min.js +7 -0
- package/dist/{revolugo.vtextarea.D_NTkzBX.min.js → revolugo.vtextarea.D8AZqjfK.min.js} +8 -8
- package/dist/{revolugo.vtextfield.DkSiBN62.min.js → revolugo.vtextfield.CGEo7_cB.min.js} +7 -7
- package/dist/{revolugo.vtoolbar.CsEhs-Fl.min.js → revolugo.vtoolbar.DXfaICLs.min.js} +5 -5
- package/dist/{revolugo.vtooltip.DbyAYfTV.min.js → revolugo.vtooltip.DzcL8CbM.min.js} +3 -3
- package/dist/{revolugo.vwindowitem.bEXafVUE.min.js → revolugo.vwindowitem.C3s82jNI.min.js} +6 -6
- package/dist/{revolugo.watch-list.BSfnSWtB.min.js → revolugo.watch-list.DrNheBPf.min.js} +2 -2
- package/dist/{revolugo.webcomponentwrapper.BA74s5EB.min.js → revolugo.webcomponentwrapper.XqvBRD6a.min.js} +250 -264
- package/package.json +1 -1
- package/dist/css/revolugo.termsandconditions.DCvNJQQL.css +0 -1
- package/dist/revolugo.termsandconditions.B4cJPs4z.min.js +0 -420
- package/dist/revolugo.use-html-element.n0V_T8SX.min.js +0 -11
- package/dist/revolugo.vspacer.nsVoXvJE.min.js +0 -7
@@ -1,44 +1,44 @@
|
|
1
|
-
import { aj as mt, k as
|
2
|
-
import { s as Ie } from "./revolugo.dates.
|
3
|
-
import { u as ft, h as we } from "./revolugo.hotelroomofferrequestcreator.props.
|
4
|
-
import { C as Pe } from "./revolugo.cancellationpoliciesbadge.
|
5
|
-
import { B as Ct, _ as _e } from "./revolugo.bpricesummaryskeleton.
|
6
|
-
import { _ as
|
7
|
-
import { V as X } from "./revolugo.vskeletonloader.
|
8
|
-
import {
|
9
|
-
import { _ as dt, a as
|
10
|
-
import { r as De, a as qe, e as ze, L as Me, s as Ne, m as Ue, V as je } from "./revolugo.index.
|
11
|
-
import { u as Fe, m as Ge, V as
|
12
|
-
import { b as We, c as Ht, V as xe } from "./revolugo.vcheckboxbtn.
|
13
|
-
import { V as at } from "./revolugo.vicon.
|
14
|
-
import { V as
|
15
|
-
import { B as kt } from "./revolugo.btag.
|
16
|
-
import { u as Ke } from "./revolugo.use-breakpoint-service.
|
17
|
-
import { V as Ze } from "./revolugo.vselect.
|
18
|
-
import { V as Qe } from "./revolugo.vlist.
|
19
|
-
import { _ as Je } from "./revolugo.cancellationpolicieslist.
|
20
|
-
import { V as
|
21
|
-
import { k as Xe, C as to } from "./revolugo.case-transformers.
|
1
|
+
import { aj as mt, k as G, by as x, H as f, bz as ne, d as W, u as Z, i as m, g as C, e as k, t as g, p as I, a as o, f as w, F as y, o as n, S as le, O as L, M as re, b as Nt, c as R, w as a, j as E, r as z, a1 as nt, a2 as lt, a6 as ct, bA as ue, aL as ce, b5 as de, D as M, m as me, l as fe, bB as ut, J as vt, K as ht, n as be, h as pe, B as Y, I as ke, E as ve, bC as Pt, q as pt, v as _t, s as he, C as gt, bD as ge, ah as ye, bE as yt, bF as Re, aa as Ut, an as Oe, af as tt, aV as Ce, ad as Be, bG as Se } from "./revolugo.index.wc.BzjxKm9K.min.js";
|
2
|
+
import { s as Ie } from "./revolugo.dates.DQToc-Zu.min.js";
|
3
|
+
import { u as ft, h as we } from "./revolugo.hotelroomofferrequestcreator.props.CV1b3F15.min.js";
|
4
|
+
import { C as Pe } from "./revolugo.cancellationpoliciesbadge.mxkumI4i.min.js";
|
5
|
+
import { B as Ct, _ as _e } from "./revolugo.bpricesummaryskeleton.8c6X82Hn.min.js";
|
6
|
+
import { _ as et, V as P, a as h, u as rt, l as jt, B as Bt, d as Te, q as He, s as Ve, b as Ee, g as Ae, e as Le } from "./revolugo.webcomponentwrapper.XqvBRD6a.min.js";
|
7
|
+
import { V as X } from "./revolugo.vskeletonloader.BTBm47P-.min.js";
|
8
|
+
import { _ as Ft, B as Gt } from "./revolugo.bhotelroomsdetails.BspNbZ48.min.js";
|
9
|
+
import { _ as dt, a as $e } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.C2bQrTH9.min.js";
|
10
|
+
import { r as De, a as qe, e as ze, L as Me, s as Ne, m as Ue, V as je } from "./revolugo.index.qisZC-QI.min.js";
|
11
|
+
import { u as Fe, m as Ge, V as Tt } from "./revolugo.vinput.Be9TwErW.min.js";
|
12
|
+
import { b as We, c as Ht, V as xe } from "./revolugo.vcheckboxbtn.DtbO_191.min.js";
|
13
|
+
import { V as at } from "./revolugo.vicon.ChjALOWz.min.js";
|
14
|
+
import { V as St, a as st, m as Ye } from "./revolugo.vbtn.CsZeeN8o.min.js";
|
15
|
+
import { B as kt } from "./revolugo.btag.BE3Ri1CO.min.js";
|
16
|
+
import { u as Ke } from "./revolugo.use-breakpoint-service.C-hjHtUg.min.js";
|
17
|
+
import { V as Ze } from "./revolugo.vselect.FSeFjW01.min.js";
|
18
|
+
import { V as Qe } from "./revolugo.vlist.CwdXG8X4.min.js";
|
19
|
+
import { _ as Je } from "./revolugo.cancellationpolicieslist.DEiFUBfm.min.js";
|
20
|
+
import { V as K } from "./revolugo.vdivider.BMaXASD1.min.js";
|
21
|
+
import { k as Xe, C as to } from "./revolugo.case-transformers.BZKgm7X9.min.js";
|
22
22
|
/* empty css */
|
23
|
-
import { p as eo } from "./revolugo.pathify.
|
24
|
-
import { d as oo } from "./revolugo.defaultsdeep.
|
23
|
+
import { p as eo } from "./revolugo.pathify.CIND4Lom.min.js";
|
24
|
+
import { d as oo } from "./revolugo.defaultsdeep.D6A9dZfK.min.js";
|
25
25
|
import { f as ao } from "./revolugo.forwardrefs.VVhh1qV3.min.js";
|
26
|
-
import { V as
|
27
|
-
import { a as
|
28
|
-
function
|
26
|
+
import { V as Vt, m as so, a as Et, b as io } from "./revolugo.vwindowitem.C3s82jNI.min.js";
|
27
|
+
import { a as At, m as no } from "./revolugo.vslidegroup.CxPt62zw.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(
|
35
|
+
const e = import.meta.url, i = e.slice(0, e.lastIndexOf("/") + 1) + t;
|
36
|
+
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(i);
|
37
37
|
for (const s of REVOLUGO_ELEMENTS_STYLES.components)
|
38
|
-
s(
|
38
|
+
s(i);
|
39
39
|
if (t.indexOf("fonts") >= 0) {
|
40
40
|
const s = document.createElement("link");
|
41
|
-
s.rel = "stylesheet", linK.href =
|
41
|
+
s.rel = "stylesheet", linK.href = i, document.head.appendChild(s);
|
42
42
|
}
|
43
43
|
}
|
44
44
|
} catch (e) {
|
@@ -52,49 +52,49 @@ function lo(t) {
|
|
52
52
|
}
|
53
53
|
const ro = 4;
|
54
54
|
function uo(t, e) {
|
55
|
-
return t + lo(e).reduce((
|
55
|
+
return t + lo(e).reduce((i, s) => s >= ro ? i + 1 : i, 0);
|
56
56
|
}
|
57
57
|
function co(t, e) {
|
58
|
-
return e === void 0 ? Array.from({ length: t }, (
|
58
|
+
return e === void 0 ? Array.from({ length: t }, (i, s) => s) : Array.from({ length: e - t }, (i, s) => t + s);
|
59
59
|
}
|
60
60
|
function mo() {
|
61
|
-
const t = mt(), e = x
|
62
|
-
() => e.value ===
|
61
|
+
const t = mt(), e = G(x.Idle), i = f(
|
62
|
+
() => e.value === x.BookingPoliciesFetched
|
63
63
|
), s = f(
|
64
|
-
() => e.value ===
|
64
|
+
() => e.value === x.Unavailable
|
65
65
|
), r = f(
|
66
|
-
() => e.value ===
|
66
|
+
() => e.value === x.FetchingBookingPolicies
|
67
67
|
);
|
68
68
|
async function p({
|
69
69
|
addBreakfast: u,
|
70
70
|
hotelId: l,
|
71
71
|
hotelRoomOfferId: b
|
72
72
|
}) {
|
73
|
-
e.value =
|
73
|
+
e.value = x.FetchingBookingPolicies;
|
74
74
|
try {
|
75
75
|
await t.createBookingPolicies({
|
76
76
|
addBreakfast: u,
|
77
77
|
hotelId: l,
|
78
78
|
hotelRoomOfferId: b
|
79
|
-
}), e.value =
|
80
|
-
e.value =
|
79
|
+
}), e.value = x.Unavailable, setTimeout(() => {
|
80
|
+
e.value = x.Idle;
|
81
81
|
}, 1.5 * 1e3);
|
82
82
|
} catch {
|
83
|
-
e.value =
|
83
|
+
e.value = x.Unavailable;
|
84
84
|
}
|
85
85
|
}
|
86
86
|
return {
|
87
87
|
bookingState: e,
|
88
88
|
createBookingPolicy: p,
|
89
|
-
isBookingPoliciesSuccessful:
|
89
|
+
isBookingPoliciesSuccessful: i,
|
90
90
|
isBookingPoliciesUnavailable: s,
|
91
91
|
isFetchingBookingPolicies: r
|
92
92
|
};
|
93
93
|
}
|
94
|
-
function fo(t, e,
|
94
|
+
function fo(t, e, i) {
|
95
95
|
if (!t)
|
96
96
|
return e;
|
97
|
-
const s =
|
97
|
+
const s = i || ((r) => r);
|
98
98
|
if (typeof t == "string")
|
99
99
|
try {
|
100
100
|
return s(JSON.parse(t));
|
@@ -106,10 +106,10 @@ function fo(t, e, n) {
|
|
106
106
|
function bo({
|
107
107
|
cb: t,
|
108
108
|
fallbackValue: e,
|
109
|
-
prop:
|
109
|
+
prop: i
|
110
110
|
}) {
|
111
111
|
return f(() => {
|
112
|
-
const r = fo(
|
112
|
+
const r = fo(ne(i.value), e, t);
|
113
113
|
return r && oo(structuredClone(r), e || {});
|
114
114
|
});
|
115
115
|
}
|
@@ -119,7 +119,7 @@ const po = { class: "text-right" }, ko = {
|
|
119
119
|
}, vo = { class: "text-h6 text-grey-darken-3 font-weight-black" }, ho = {
|
120
120
|
key: 1,
|
121
121
|
class: "my-0 text-caption text-grey-darken-3 d-block"
|
122
|
-
}, go = { class: "text-caption d-block" }, Wt = /* @__PURE__ */
|
122
|
+
}, go = { class: "text-caption d-block" }, Wt = /* @__PURE__ */ W({
|
123
123
|
__name: "BPriceSummary",
|
124
124
|
props: {
|
125
125
|
adultCount: { default: 0 },
|
@@ -133,39 +133,39 @@ const po = { class: "text-right" }, ko = {
|
|
133
133
|
taxIncludedPrice: { default: void 0 }
|
134
134
|
},
|
135
135
|
setup(t) {
|
136
|
-
const e = t, { t:
|
137
|
-
return (r, p) => (
|
138
|
-
r.isStartingPrice ? (
|
136
|
+
const e = t, { t: i } = Z(), s = f(() => e.nightCount <= 0 || e.roomCount <= 0 ? e.price : e.price / e.roomCount / e.nightCount);
|
137
|
+
return (r, p) => (n(), m("div", po, [
|
138
|
+
r.isStartingPrice ? (n(), m("small", ko, g(I(i)("BPriceSummary.from")) + " ", 1)) : C("", !0),
|
139
139
|
k("b", vo, [
|
140
140
|
o(dt, {
|
141
141
|
amount: s.value,
|
142
142
|
"round-mode": r.roundMode
|
143
143
|
}, null, 8, ["amount", "round-mode"])
|
144
144
|
]),
|
145
|
-
(r.roomCount > 1 || r.nightCount > 1 || r.taxIncludedPrice !== r.price) && r.isTaxIncluded ? (
|
145
|
+
(r.roomCount > 1 || r.nightCount > 1 || r.taxIncludedPrice !== r.price) && r.isTaxIncluded ? (n(), m("span", ho, [
|
146
146
|
k("b", null, [
|
147
147
|
o(dt, {
|
148
148
|
amount: r.taxIncludedPrice,
|
149
149
|
"round-mode": r.roundMode
|
150
150
|
}, null, 8, ["amount", "round-mode"])
|
151
151
|
]),
|
152
|
-
w(" " + g(
|
153
|
-
rooms:
|
152
|
+
w(" " + g(I(i)("BPriceSummary.total")) + " " + g(I(i)("BPriceSummary.summary", {
|
153
|
+
rooms: I(i)("BPriceSummary.rooms", { n: r.roomCount })
|
154
154
|
})), 1)
|
155
155
|
])) : C("", !0),
|
156
156
|
k("span", go, [
|
157
|
-
r.taxIncludedPrice || r.price ? (
|
158
|
-
r.isTaxIncluded ? (
|
159
|
-
w(g(
|
160
|
-
], 64)) : (
|
161
|
-
w(g(
|
157
|
+
r.taxIncludedPrice || r.price ? (n(), m(y, { key: 0 }, [
|
158
|
+
r.isTaxIncluded ? (n(), m(y, { key: 0 }, [
|
159
|
+
w(g(I(i)("BPriceSummary.taxIncluded")), 1)
|
160
|
+
], 64)) : (n(), m(y, { key: 1 }, [
|
161
|
+
w(g(I(i)("BPriceSummary.taxNotIncluded")), 1)
|
162
162
|
], 64))
|
163
163
|
], 64)) : C("", !0)
|
164
164
|
])
|
165
165
|
]));
|
166
166
|
}
|
167
167
|
});
|
168
|
-
function
|
168
|
+
function Lt(t) {
|
169
169
|
const e = t;
|
170
170
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
171
171
|
locale: "",
|
@@ -271,19 +271,19 @@ function At(t) {
|
|
271
271
|
}
|
272
272
|
});
|
273
273
|
}
|
274
|
-
typeof
|
275
|
-
const Rt = /* @__PURE__ */
|
274
|
+
typeof Lt == "function" && Lt(Wt);
|
275
|
+
const Rt = /* @__PURE__ */ et(Wt, [["__scopeId", "data-v-9728292a"]]);
|
276
276
|
function yo(t, e) {
|
277
277
|
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;
|
278
278
|
}
|
279
279
|
function Ro(t) {
|
280
|
-
const e = ft(),
|
280
|
+
const e = ft(), i = Ie(
|
281
281
|
t.checkInDate,
|
282
282
|
t.checkOutDate
|
283
|
-
), s =
|
283
|
+
), s = G({
|
284
284
|
adultCount: t.adultCount,
|
285
|
-
checkInDate:
|
286
|
-
checkOutDate:
|
285
|
+
checkInDate: i[0],
|
286
|
+
checkOutDate: i[1],
|
287
287
|
children: t.children ?? null,
|
288
288
|
hotelId: t.hotelId,
|
289
289
|
roomCount: t.roomCount,
|
@@ -300,7 +300,7 @@ function Ro(t) {
|
|
300
300
|
},
|
301
301
|
300
|
302
302
|
);
|
303
|
-
|
303
|
+
L(
|
304
304
|
() => {
|
305
305
|
const l = r.value;
|
306
306
|
return l ? [
|
@@ -324,7 +324,7 @@ function Ro(t) {
|
|
324
324
|
sourceMarket: l.sourceMarket
|
325
325
|
});
|
326
326
|
}
|
327
|
-
),
|
327
|
+
), L(
|
328
328
|
() => t.adultCount,
|
329
329
|
(l) => {
|
330
330
|
s.value = {
|
@@ -332,7 +332,7 @@ function Ro(t) {
|
|
332
332
|
adultCount: l
|
333
333
|
};
|
334
334
|
}
|
335
|
-
),
|
335
|
+
), L(
|
336
336
|
() => t.checkInDate,
|
337
337
|
(l) => {
|
338
338
|
s.value = {
|
@@ -340,7 +340,7 @@ function Ro(t) {
|
|
340
340
|
checkInDate: l
|
341
341
|
};
|
342
342
|
}
|
343
|
-
),
|
343
|
+
), L(
|
344
344
|
() => t.checkOutDate,
|
345
345
|
(l) => {
|
346
346
|
s.value = {
|
@@ -348,7 +348,7 @@ function Ro(t) {
|
|
348
348
|
checkOutDate: l
|
349
349
|
};
|
350
350
|
}
|
351
|
-
),
|
351
|
+
), L(
|
352
352
|
() => t.children,
|
353
353
|
(l) => {
|
354
354
|
s.value = {
|
@@ -356,7 +356,7 @@ function Ro(t) {
|
|
356
356
|
children: l ?? null
|
357
357
|
};
|
358
358
|
}
|
359
|
-
),
|
359
|
+
), L(
|
360
360
|
() => t.hotelId,
|
361
361
|
(l, b) => {
|
362
362
|
b && e.deleteHotelRoomOfferRequest(b), s.value = {
|
@@ -364,7 +364,7 @@ function Ro(t) {
|
|
364
364
|
hotelId: l
|
365
365
|
}, p();
|
366
366
|
}
|
367
|
-
),
|
367
|
+
), L(
|
368
368
|
() => t.roomCount,
|
369
369
|
(l) => {
|
370
370
|
s.value = {
|
@@ -372,7 +372,7 @@ function Ro(t) {
|
|
372
372
|
roomCount: l
|
373
373
|
};
|
374
374
|
}
|
375
|
-
),
|
375
|
+
), L(
|
376
376
|
() => t.sourceMarket,
|
377
377
|
(l) => {
|
378
378
|
s.value = {
|
@@ -384,13 +384,13 @@ function Ro(t) {
|
|
384
384
|
const u = () => {
|
385
385
|
e.resetHotelRoomOfferRequest(t.hotelId), p();
|
386
386
|
};
|
387
|
-
return
|
387
|
+
return L(
|
388
388
|
() => s.value,
|
389
389
|
() => {
|
390
390
|
p();
|
391
391
|
},
|
392
392
|
{ deep: !0, immediate: !0 }
|
393
|
-
),
|
393
|
+
), L(
|
394
394
|
() => re(),
|
395
395
|
() => {
|
396
396
|
u();
|
@@ -401,25 +401,25 @@ function Ro(t) {
|
|
401
401
|
hotelRoomOfferRequestInternal: s
|
402
402
|
};
|
403
403
|
}
|
404
|
-
const Oo =
|
404
|
+
const Oo = W({
|
405
405
|
components: {
|
406
406
|
BPriceSummarySkeleton: Ct
|
407
407
|
},
|
408
|
-
mixins: [
|
408
|
+
mixins: [Nt],
|
409
409
|
name: "HotelRoomOfferLayout",
|
410
410
|
props: {
|
411
411
|
boilerplate: { type: Boolean }
|
412
412
|
},
|
413
413
|
setup() {
|
414
|
-
const { t } =
|
414
|
+
const { t } = Z();
|
415
415
|
return {
|
416
416
|
t
|
417
417
|
};
|
418
418
|
}
|
419
419
|
}), Co = { class: "d-flex justify-end" };
|
420
|
-
function Bo(t, e,
|
421
|
-
const u =
|
422
|
-
return
|
420
|
+
function Bo(t, e, i, s, r, p) {
|
421
|
+
const u = z("BPriceSummarySkeleton");
|
422
|
+
return n(), R(P, {
|
423
423
|
class: "px-2 py-3 pa-sm-4 px-md-3",
|
424
424
|
"no-gutters": ""
|
425
425
|
}, {
|
@@ -436,7 +436,7 @@ function Bo(t, e, n, s, r, p) {
|
|
436
436
|
default: a(() => [
|
437
437
|
o(h, { cols: "12" }, {
|
438
438
|
default: a(() => [
|
439
|
-
|
439
|
+
E(t.$slots, "room-details", {}, () => [
|
440
440
|
o(X, {
|
441
441
|
boilerplate: t.boilerplate,
|
442
442
|
class: "mt-1",
|
@@ -463,14 +463,14 @@ function Bo(t, e, n, s, r, p) {
|
|
463
463
|
style: { gap: "0.3em" }
|
464
464
|
}, {
|
465
465
|
default: a(() => [
|
466
|
-
|
467
|
-
|
466
|
+
E(t.$slots, "breakfast-option-badge"),
|
467
|
+
E(t.$slots, "cancellation-policies")
|
468
468
|
]),
|
469
469
|
_: 3
|
470
470
|
}),
|
471
471
|
o(h, { cols: "12" }, {
|
472
472
|
default: a(() => [
|
473
|
-
|
473
|
+
E(t.$slots, "breakfast-option-switch")
|
474
474
|
]),
|
475
475
|
_: 3
|
476
476
|
})
|
@@ -488,15 +488,15 @@ function Bo(t, e, n, s, r, p) {
|
|
488
488
|
sm: "5"
|
489
489
|
}, {
|
490
490
|
default: a(() => [
|
491
|
-
|
492
|
-
|
491
|
+
E(t.$slots, "package-type"),
|
492
|
+
E(t.$slots, "price-summary", {}, () => [
|
493
493
|
o(u, {
|
494
494
|
boilerplate: t.boilerplate,
|
495
495
|
class: "mt-2"
|
496
496
|
}, null, 8, ["boilerplate"])
|
497
497
|
]),
|
498
498
|
k("div", Co, [
|
499
|
-
|
499
|
+
E(t.$slots, "action", {}, () => [
|
500
500
|
o(X, {
|
501
501
|
class: "mt-2",
|
502
502
|
boilerplate: t.boilerplate,
|
@@ -514,7 +514,7 @@ function Bo(t, e, n, s, r, p) {
|
|
514
514
|
_: 3
|
515
515
|
});
|
516
516
|
}
|
517
|
-
const
|
517
|
+
const It = /* @__PURE__ */ et(Oo, [["render", Bo]]), So = lt({
|
518
518
|
indeterminate: Boolean,
|
519
519
|
inset: Boolean,
|
520
520
|
flat: Boolean,
|
@@ -524,7 +524,7 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
524
524
|
},
|
525
525
|
...Ge(),
|
526
526
|
...We()
|
527
|
-
}, "VSwitch"), Io =
|
527
|
+
}, "VSwitch"), Io = nt()({
|
528
528
|
name: "VSwitch",
|
529
529
|
inheritAttrs: !1,
|
530
530
|
props: So(),
|
@@ -535,7 +535,7 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
535
535
|
},
|
536
536
|
setup(t, e) {
|
537
537
|
let {
|
538
|
-
attrs:
|
538
|
+
attrs: i,
|
539
539
|
slots: s
|
540
540
|
} = e;
|
541
541
|
const r = ct(t, "indeterminate"), p = ct(t, "modelValue"), {
|
@@ -544,16 +544,16 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
544
544
|
isFocused: l,
|
545
545
|
focus: b,
|
546
546
|
blur: c
|
547
|
-
} = Fe(t),
|
547
|
+
} = Fe(t), S = G(), H = ue && window.matchMedia("(forced-colors: active)").matches, v = f(() => typeof t.loading == "string" && t.loading !== "" ? t.loading : t.color), _ = ce(), q = f(() => t.id || `switch-${_}`);
|
548
548
|
function Q() {
|
549
549
|
r.value && (r.value = !1);
|
550
550
|
}
|
551
|
-
function
|
552
|
-
|
551
|
+
function $(V) {
|
552
|
+
V.stopPropagation(), V.preventDefault(), S.value?.input?.click();
|
553
553
|
}
|
554
554
|
return rt(() => {
|
555
|
-
const [
|
556
|
-
return o(
|
555
|
+
const [V, j] = de(i), N = Tt.filterProps(t), J = Ht.filterProps(t);
|
556
|
+
return o(Tt, M({
|
557
557
|
class: ["v-switch", {
|
558
558
|
"v-switch--flat": t.flat
|
559
559
|
}, {
|
@@ -561,10 +561,10 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
561
561
|
}, {
|
562
562
|
"v-switch--indeterminate": r.value
|
563
563
|
}, u.value, t.class]
|
564
|
-
},
|
564
|
+
}, V, N, {
|
565
565
|
modelValue: p.value,
|
566
566
|
"onUpdate:modelValue": (B) => p.value = B,
|
567
|
-
id:
|
567
|
+
id: q.value,
|
568
568
|
focused: l.value,
|
569
569
|
style: t.style
|
570
570
|
}), {
|
@@ -572,9 +572,9 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
572
572
|
default: (B) => {
|
573
573
|
let {
|
574
574
|
id: A,
|
575
|
-
messagesId:
|
575
|
+
messagesId: F,
|
576
576
|
isDisabled: U,
|
577
|
-
isReadonly:
|
577
|
+
isReadonly: it,
|
578
578
|
isValid: ot
|
579
579
|
} = B;
|
580
580
|
const d = {
|
@@ -582,29 +582,29 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
582
582
|
isValid: ot
|
583
583
|
};
|
584
584
|
return o(Ht, M({
|
585
|
-
ref:
|
585
|
+
ref: S
|
586
586
|
}, J, {
|
587
587
|
modelValue: p.value,
|
588
|
-
"onUpdate:modelValue": [(
|
588
|
+
"onUpdate:modelValue": [(T) => p.value = T, Q],
|
589
589
|
id: A.value,
|
590
|
-
"aria-describedby":
|
590
|
+
"aria-describedby": F.value,
|
591
591
|
type: "checkbox",
|
592
592
|
"aria-checked": r.value ? "mixed" : void 0,
|
593
593
|
disabled: U.value,
|
594
|
-
readonly:
|
594
|
+
readonly: it.value,
|
595
595
|
onFocus: b,
|
596
596
|
onBlur: c
|
597
|
-
},
|
597
|
+
}, j), {
|
598
598
|
...s,
|
599
|
-
default: (
|
599
|
+
default: (T) => {
|
600
600
|
let {
|
601
601
|
backgroundColorClasses: O,
|
602
|
-
backgroundColorStyles:
|
603
|
-
} =
|
602
|
+
backgroundColorStyles: D
|
603
|
+
} = T;
|
604
604
|
return o("div", {
|
605
|
-
class: ["v-switch__track",
|
606
|
-
style:
|
607
|
-
onClick:
|
605
|
+
class: ["v-switch__track", H ? void 0 : O.value],
|
606
|
+
style: D.value,
|
607
|
+
onClick: $
|
608
608
|
}, [s["track-true"] && o("div", {
|
609
609
|
key: "prepend",
|
610
610
|
class: "v-switch__track-true"
|
@@ -613,29 +613,29 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
613
613
|
class: "v-switch__track-false"
|
614
614
|
}, [s["track-false"](d)])]);
|
615
615
|
},
|
616
|
-
input: (
|
616
|
+
input: (T) => {
|
617
617
|
let {
|
618
618
|
inputNode: O,
|
619
|
-
icon:
|
619
|
+
icon: D,
|
620
620
|
backgroundColorClasses: ae,
|
621
621
|
backgroundColorStyles: se
|
622
|
-
} =
|
622
|
+
} = T;
|
623
623
|
return o(y, null, [O, o("div", {
|
624
624
|
class: ["v-switch__thumb", {
|
625
|
-
"v-switch__thumb--filled":
|
626
|
-
}, t.inset ||
|
625
|
+
"v-switch__thumb--filled": D || t.loading
|
626
|
+
}, t.inset || H ? void 0 : ae.value],
|
627
627
|
style: t.inset ? void 0 : se.value
|
628
628
|
}, [s.thumb ? o(qe, {
|
629
629
|
defaults: {
|
630
630
|
VIcon: {
|
631
|
-
icon:
|
631
|
+
icon: D,
|
632
632
|
size: "x-small"
|
633
633
|
}
|
634
634
|
}
|
635
635
|
}, {
|
636
636
|
default: () => [s.thumb({
|
637
637
|
...d,
|
638
|
-
icon:
|
638
|
+
icon: D
|
639
639
|
})]
|
640
640
|
}) : o(ze, null, {
|
641
641
|
default: () => [t.loading ? o(Me, {
|
@@ -643,16 +643,16 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
643
643
|
active: !0,
|
644
644
|
color: ot.value === !1 ? void 0 : v.value
|
645
645
|
}, {
|
646
|
-
default: (bt) => s.loader ? s.loader(bt) : o(
|
646
|
+
default: (bt) => s.loader ? s.loader(bt) : o(St, {
|
647
647
|
active: bt.isActive,
|
648
648
|
color: bt.color,
|
649
649
|
indeterminate: !0,
|
650
650
|
size: "16",
|
651
651
|
width: "2"
|
652
652
|
}, null)
|
653
|
-
}) :
|
654
|
-
key: String(
|
655
|
-
icon:
|
653
|
+
}) : D && o(at, {
|
654
|
+
key: String(D),
|
655
|
+
icon: D,
|
656
656
|
size: "x-small"
|
657
657
|
}, null)]
|
658
658
|
})])]);
|
@@ -662,7 +662,7 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
662
662
|
});
|
663
663
|
}), {};
|
664
664
|
}
|
665
|
-
}), wo = { class: "text-caption ml-n3" }, Po = { class: "mr-2" }, _o = ["innerHTML"], xt = /* @__PURE__ */
|
665
|
+
}), wo = { class: "text-caption ml-n3" }, Po = { class: "mr-2" }, _o = ["innerHTML"], xt = /* @__PURE__ */ W({
|
666
666
|
__name: "BBreakfastSwitch",
|
667
667
|
props: /* @__PURE__ */ me({
|
668
668
|
isLoading: { type: Boolean },
|
@@ -674,14 +674,14 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
674
674
|
}),
|
675
675
|
emits: ["update:modelValue"],
|
676
676
|
setup(t) {
|
677
|
-
const { locale: e, t:
|
678
|
-
() =>
|
677
|
+
const { locale: e, t: i } = Z(), s = fe(t, "modelValue"), r = f(
|
678
|
+
() => $e({
|
679
679
|
amount: t.price,
|
680
680
|
currency: t.currency,
|
681
681
|
locale: e.value
|
682
682
|
})
|
683
683
|
);
|
684
|
-
return (p, u) => (
|
684
|
+
return (p, u) => (n(), R(Io, {
|
685
685
|
modelValue: s.value,
|
686
686
|
"onUpdate:modelValue": u[0] || (u[0] = (l) => s.value = l),
|
687
687
|
class: "ma-0 pa-0 breakfast-switch d-inline-block",
|
@@ -703,9 +703,9 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
703
703
|
__: [1]
|
704
704
|
}),
|
705
705
|
u[2] || (u[2] = w(" ")),
|
706
|
-
k("span", Po, g(
|
706
|
+
k("span", Po, g(I(i)("BBreakfastSwitch.title")), 1),
|
707
707
|
k("span", {
|
708
|
-
innerHTML:
|
708
|
+
innerHTML: I(i)("BBreakfastSwitch.price", { n: r.value }).replace(
|
709
709
|
/\s/gu,
|
710
710
|
" "
|
711
711
|
)
|
@@ -767,7 +767,7 @@ function $t(t) {
|
|
767
767
|
});
|
768
768
|
}
|
769
769
|
typeof $t == "function" && $t(xt);
|
770
|
-
const Yt = /* @__PURE__ */
|
770
|
+
const Yt = /* @__PURE__ */ et(xt, [["__scopeId", "data-v-1e4b5568"]]), To = {
|
771
771
|
breakfastCount: {
|
772
772
|
type: Number
|
773
773
|
},
|
@@ -805,37 +805,37 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
805
805
|
tags: { type: Array },
|
806
806
|
taxIncludedPrice: { required: !0, type: Number },
|
807
807
|
type: { type: String }
|
808
|
-
},
|
808
|
+
}, Ho = { key: 0 }, Vo = {
|
809
809
|
class: "align-self-center d-flex flex-wrap",
|
810
810
|
style: { gap: "0.3em" }
|
811
|
-
},
|
811
|
+
}, Eo = {
|
812
812
|
class: "align-self-center d-inline-flex flex-wrap",
|
813
813
|
style: { gap: "0.3em" }
|
814
|
-
}, Ao = { class: "text-caption" },
|
814
|
+
}, Ao = { class: "text-caption" }, Lo = { key: 0 }, $o = { key: 1 }, Kt = /* @__PURE__ */ W({
|
815
815
|
__name: "HotelRoomOfferItem",
|
816
|
-
props:
|
816
|
+
props: To,
|
817
817
|
emits: ["breakfast-change", "update:modelValue", "booking-policy-failed"],
|
818
818
|
setup(t, { emit: e }) {
|
819
|
-
const
|
820
|
-
|
819
|
+
const i = t, { t: s } = Z(), { eventBus: r } = ke(), p = e, u = G(
|
820
|
+
i.breakfastCount && i.breakfastCount > 0 || !1
|
821
821
|
);
|
822
|
-
|
822
|
+
L(u, (d) => {
|
823
823
|
p("breakfast-change", {
|
824
824
|
addBreakfast: d,
|
825
|
-
hotelId:
|
826
|
-
id:
|
825
|
+
hotelId: i.hotelId,
|
826
|
+
id: i.id
|
827
827
|
});
|
828
828
|
});
|
829
829
|
const l = ft(), b = mt(), c = f(
|
830
|
-
() => l.hotelRoomOfferRequest(
|
831
|
-
),
|
832
|
-
() =>
|
830
|
+
() => l.hotelRoomOfferRequest(i.hotelId)
|
831
|
+
), S = f(() => c.value?.adultCount), H = f(() => c.value?.checkInDate), v = f(
|
832
|
+
() => i.count ? co(i.count + 1) : []
|
833
833
|
), _ = f(
|
834
|
-
() => b.hotelTimezone(
|
835
|
-
),
|
836
|
-
() => l.nightCount(
|
834
|
+
() => b.hotelTimezone(i.hotelId)
|
835
|
+
), q = f(
|
836
|
+
() => l.nightCount(i.hotelId)
|
837
837
|
), Q = f(() => {
|
838
|
-
switch (
|
838
|
+
switch (i.packageType) {
|
839
839
|
case ut.Cheapest:
|
840
840
|
return "red";
|
841
841
|
case ut.BestMatch:
|
@@ -846,68 +846,68 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
846
846
|
default:
|
847
847
|
return "";
|
848
848
|
}
|
849
|
-
}),
|
850
|
-
() =>
|
851
|
-
),
|
849
|
+
}), $ = f(
|
850
|
+
() => i.hotelRooms.reduce((d, T) => d + (T.count || 0), 0)
|
851
|
+
), V = f({
|
852
852
|
get() {
|
853
|
-
return
|
853
|
+
return i.modelValue;
|
854
854
|
},
|
855
855
|
set(d) {
|
856
856
|
p("update:modelValue", d);
|
857
857
|
}
|
858
|
-
}),
|
859
|
-
() =>
|
858
|
+
}), j = f(
|
859
|
+
() => i.tags?.filter((d) => d.name.length > 30) || []
|
860
860
|
), N = f(
|
861
|
-
() =>
|
861
|
+
() => i.tags?.filter((d) => d.name.length < 30) || []
|
862
862
|
), {
|
863
863
|
bookingState: J,
|
864
864
|
createBookingPolicy: B,
|
865
865
|
isBookingPoliciesSuccessful: A,
|
866
|
-
isBookingPoliciesUnavailable:
|
866
|
+
isBookingPoliciesUnavailable: F,
|
867
867
|
isFetchingBookingPolicies: U
|
868
868
|
} = mo();
|
869
|
-
|
870
|
-
d ===
|
869
|
+
L(J, (d) => {
|
870
|
+
d === x.Unavailable && p("booking-policy-failed", i.id);
|
871
871
|
});
|
872
|
-
async function
|
872
|
+
async function it() {
|
873
873
|
const d = {
|
874
|
-
...
|
875
|
-
currency:
|
874
|
+
...i,
|
875
|
+
currency: i.currency
|
876
876
|
};
|
877
877
|
r.$emit(ve.HotelRoomOffersBtnClick, d), await B({
|
878
878
|
addBreakfast: u.value,
|
879
|
-
hotelId:
|
880
|
-
hotelRoomOfferId:
|
879
|
+
hotelId: i.hotelId,
|
880
|
+
hotelRoomOfferId: i.id
|
881
881
|
});
|
882
882
|
}
|
883
|
-
const ot =
|
884
|
-
return Ke(ot), (d,
|
883
|
+
const ot = G(null);
|
884
|
+
return Ke(ot), (d, T) => (n(), m("div", {
|
885
885
|
class: "position-relative",
|
886
886
|
ref_key: "root",
|
887
887
|
ref: ot
|
888
888
|
}, [
|
889
|
-
o(
|
889
|
+
o(It, { key: "is-available" }, {
|
890
890
|
"room-details": a(() => [
|
891
891
|
o(Gt, {
|
892
892
|
"hotel-rooms": d.hotelRooms
|
893
893
|
}, null, 8, ["hotel-rooms"])
|
894
894
|
]),
|
895
895
|
"package-type": a(() => [
|
896
|
-
d.type === "PACKAGE" && d.packageType !== "REGULAR" ? (
|
896
|
+
d.type === "PACKAGE" && d.packageType !== "REGULAR" ? (n(), R(kt, {
|
897
897
|
key: 0,
|
898
898
|
class: "mb-3",
|
899
899
|
color: Q.value,
|
900
900
|
variant: "outlined"
|
901
901
|
}, {
|
902
902
|
description: a(() => [
|
903
|
-
w(g(
|
903
|
+
w(g(I(s)(
|
904
904
|
`HotelRoomOfferItem.packageTypes.${d.packageType}.description`,
|
905
|
-
{ n:
|
905
|
+
{ n: S.value }
|
906
906
|
)), 1)
|
907
907
|
]),
|
908
908
|
default: a(() => [
|
909
|
-
w(g(
|
910
|
-
n:
|
909
|
+
w(g(I(s)(`HotelRoomOfferItem.packageTypes.${d.packageType}.title`, {
|
910
|
+
n: S.value
|
911
911
|
})) + " ", 1)
|
912
912
|
]),
|
913
913
|
_: 1
|
@@ -917,7 +917,7 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
917
917
|
o(Pe, {
|
918
918
|
class: "mt-2",
|
919
919
|
"cancellation-policies": d.cancellationPolicies,
|
920
|
-
"check-in-date":
|
920
|
+
"check-in-date": H.value,
|
921
921
|
timezone: _.value
|
922
922
|
}, null, 8, ["cancellation-policies", "check-in-date", "timezone"])
|
923
923
|
]),
|
@@ -928,10 +928,10 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
928
928
|
}, null, 8, ["breakfast-option", "breakfastCount"])
|
929
929
|
]),
|
930
930
|
"breakfast-option-switch": a(() => [
|
931
|
-
d.type !== "HOTEL_ROOM" && d.breakfastOption === "OPTIONAL" ? (
|
931
|
+
d.type !== "HOTEL_ROOM" && d.breakfastOption === "OPTIONAL" ? (n(), m("div", Ho, [
|
932
932
|
o(Yt, {
|
933
933
|
modelValue: u.value,
|
934
|
-
"onUpdate:modelValue":
|
934
|
+
"onUpdate:modelValue": T[0] || (T[0] = (O) => u.value = O),
|
935
935
|
class: "mt-3 pl-1",
|
936
936
|
currency: d.currency,
|
937
937
|
"is-loading": d.isLoading,
|
@@ -940,9 +940,9 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
940
940
|
])) : C("", !0)
|
941
941
|
]),
|
942
942
|
"big-tags": a(() => [
|
943
|
-
k("div",
|
944
|
-
(
|
945
|
-
key:
|
943
|
+
k("div", Vo, [
|
944
|
+
(n(!0), m(y, null, Y(j.value, (O, D) => (n(), R(kt, {
|
945
|
+
key: D,
|
946
946
|
color: O.bg,
|
947
947
|
"pre-icon": `fa-${O.faIcon}`,
|
948
948
|
"text-color": O.color,
|
@@ -956,9 +956,9 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
956
956
|
])
|
957
957
|
]),
|
958
958
|
tags: a(() => [
|
959
|
-
k("div",
|
960
|
-
(
|
961
|
-
key:
|
959
|
+
k("div", Eo, [
|
960
|
+
(n(!0), m(y, null, Y(N.value, (O, D) => (n(), R(kt, {
|
961
|
+
key: D,
|
962
962
|
color: O.bg,
|
963
963
|
"pre-icon": `fa-${O.faIcon}`,
|
964
964
|
"text-color": O.color,
|
@@ -972,7 +972,7 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
972
972
|
])
|
973
973
|
]),
|
974
974
|
"price-summary": a(() => [
|
975
|
-
d.type === "HOTEL_ROOM" ? (
|
975
|
+
d.type === "HOTEL_ROOM" ? (n(), m(y, { key: 0 }, [
|
976
976
|
o(P, {
|
977
977
|
class: "mt-md-8",
|
978
978
|
"no-gutters": ""
|
@@ -1006,8 +1006,8 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
1006
1006
|
default: a(() => [
|
1007
1007
|
k("div", null, [
|
1008
1008
|
o(Ze, {
|
1009
|
-
modelValue:
|
1010
|
-
"onUpdate:modelValue":
|
1009
|
+
modelValue: V.value,
|
1010
|
+
"onUpdate:modelValue": T[1] || (T[1] = (O) => V.value = O),
|
1011
1011
|
class: "item-count mt-2",
|
1012
1012
|
density: "compact",
|
1013
1013
|
"hide-details": "",
|
@@ -1017,17 +1017,17 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
1017
1017
|
},
|
1018
1018
|
variant: "outlined"
|
1019
1019
|
}, {
|
1020
|
-
item: a(({ item: O, props:
|
1021
|
-
o(Qe, be(pe(
|
1020
|
+
item: a(({ item: O, props: D }) => [
|
1021
|
+
o(Qe, be(pe(D)), {
|
1022
1022
|
title: a(() => [
|
1023
1023
|
k("span", Ao, [
|
1024
1024
|
w(g(O.raw) + " ", 1),
|
1025
|
-
O.raw ? (
|
1026
|
-
|
1025
|
+
O.raw ? (n(), m(y, { key: 0 }, [
|
1026
|
+
T[2] || (T[2] = w(" (")),
|
1027
1027
|
o(dt, {
|
1028
1028
|
amount: O.raw * d.price
|
1029
1029
|
}, null, 8, ["amount"]),
|
1030
|
-
|
1030
|
+
T[3] || (T[3] = w(") "))
|
1031
1031
|
], 64)) : C("", !0)
|
1032
1032
|
])
|
1033
1033
|
]),
|
@@ -1043,47 +1043,47 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
1043
1043
|
]),
|
1044
1044
|
_: 1
|
1045
1045
|
})
|
1046
|
-
], 64)) : (
|
1046
|
+
], 64)) : (n(), R(Rt, {
|
1047
1047
|
key: 1,
|
1048
|
-
"adult-count":
|
1048
|
+
"adult-count": S.value,
|
1049
1049
|
class: "text-right",
|
1050
1050
|
"is-tax-included": "",
|
1051
|
-
"night-count":
|
1051
|
+
"night-count": q.value ?? 0,
|
1052
1052
|
price: d.price,
|
1053
|
-
"room-count":
|
1053
|
+
"room-count": $.value,
|
1054
1054
|
"round-mode": "ceil",
|
1055
1055
|
"tax-included-price": d.taxIncludedPrice
|
1056
1056
|
}, null, 8, ["adult-count", "night-count", "price", "room-count", "tax-included-price"]))
|
1057
1057
|
]),
|
1058
1058
|
action: a(() => [
|
1059
|
-
d.type === "PACKAGE" ? (
|
1059
|
+
d.type === "PACKAGE" ? (n(), R(st, {
|
1060
1060
|
key: 0,
|
1061
1061
|
class: "text-none font-weight-bold book-btn w-100 w-sm-auto",
|
1062
|
-
color:
|
1063
|
-
disabled:
|
1062
|
+
color: I(A) ? "success" : "primary",
|
1063
|
+
disabled: I(U) || I(F) || d.isLoading,
|
1064
1064
|
elevation: "0",
|
1065
|
-
loading:
|
1065
|
+
loading: I(U),
|
1066
1066
|
size: "small",
|
1067
|
-
onClick:
|
1067
|
+
onClick: it
|
1068
1068
|
}, {
|
1069
1069
|
default: a(() => [
|
1070
|
-
|
1070
|
+
I(A) ? C("", !0) : (n(), m("span", Lo, g(I(s)("HotelRoomOfferItem.book")), 1)),
|
1071
1071
|
vt(o(at, { class: "position-absolute" }, {
|
1072
|
-
default: a(() =>
|
1072
|
+
default: a(() => T[4] || (T[4] = [
|
1073
1073
|
w(" fas fa-check ")
|
1074
1074
|
])),
|
1075
1075
|
_: 1,
|
1076
1076
|
__: [4]
|
1077
1077
|
}, 512), [
|
1078
|
-
[ht,
|
1078
|
+
[ht, I(A)]
|
1079
1079
|
])
|
1080
1080
|
]),
|
1081
1081
|
_: 1
|
1082
|
-
}, 8, ["color", "disabled", "loading"])) : (
|
1082
|
+
}, 8, ["color", "disabled", "loading"])) : (n(), m("span", $o))
|
1083
1083
|
]),
|
1084
1084
|
_: 1
|
1085
1085
|
}),
|
1086
|
-
d.isLoading ? (
|
1086
|
+
d.isLoading ? (n(), R(jt, {
|
1087
1087
|
key: 0,
|
1088
1088
|
absolute: "",
|
1089
1089
|
class: "mx-n4",
|
@@ -1091,7 +1091,7 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
1091
1091
|
opacity: "0.75"
|
1092
1092
|
}, {
|
1093
1093
|
default: a(() => [
|
1094
|
-
o(
|
1094
|
+
o(St, {
|
1095
1095
|
color: "primary",
|
1096
1096
|
indeterminate: "",
|
1097
1097
|
size: "64"
|
@@ -1099,22 +1099,22 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
1099
1099
|
]),
|
1100
1100
|
_: 1
|
1101
1101
|
})) : C("", !0),
|
1102
|
-
|
1102
|
+
I(F) || d.gone ? (n(), R(Bt, {
|
1103
1103
|
key: 1,
|
1104
1104
|
"margin-top": 16
|
1105
1105
|
}, {
|
1106
1106
|
title: a(() => [
|
1107
|
-
w(g(
|
1107
|
+
w(g(I(s)("HotelRoomOfferItem.unavailable.title")), 1)
|
1108
1108
|
]),
|
1109
1109
|
description: a(() => [
|
1110
|
-
w(g(
|
1110
|
+
w(g(I(s)("HotelRoomOfferItem.unavailable.description")), 1)
|
1111
1111
|
]),
|
1112
1112
|
_: 1
|
1113
1113
|
})) : C("", !0)
|
1114
1114
|
], 512));
|
1115
1115
|
}
|
1116
1116
|
});
|
1117
|
-
function
|
1117
|
+
function Dt(t) {
|
1118
1118
|
const e = t;
|
1119
1119
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
1120
1120
|
locale: "",
|
@@ -1283,188 +1283,176 @@ function Lt(t) {
|
|
1283
1283
|
}
|
1284
1284
|
});
|
1285
1285
|
}
|
1286
|
-
typeof
|
1287
|
-
const Zt = /* @__PURE__ */
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
|
1305
|
-
|
1306
|
-
|
1307
|
-
default: a(() => [
|
1308
|
-
o(h, null, {
|
1309
|
-
default: a(() => [
|
1310
|
-
k("div", qo, [
|
1311
|
-
V(t.$slots, "title", {}, () => [
|
1312
|
-
o(X, {
|
1313
|
-
height: "18px",
|
1314
|
-
tile: "",
|
1315
|
-
type: "heading",
|
1316
|
-
width: "200px"
|
1317
|
-
})
|
1286
|
+
typeof Dt == "function" && Dt(Kt);
|
1287
|
+
const Zt = /* @__PURE__ */ et(Kt, [["__scopeId", "data-v-58661fe0"]]), Do = { class: "text-subtitle-1 font-weight-black text-primary d-flex justify-end" }, qo = { class: "text-caption d-flex justify-end py-2" }, zo = { class: "mt-3 d-flex justify-start align-center" }, Mo = { class: "pt-4" }, No = /* @__PURE__ */ W({
|
1288
|
+
__name: "BBasketSummaryLayout",
|
1289
|
+
setup(t) {
|
1290
|
+
return (e, i) => (n(), R(P, { class: "px-2" }, {
|
1291
|
+
default: a(() => [
|
1292
|
+
o(h, null, {
|
1293
|
+
default: a(() => [
|
1294
|
+
o(P, null, {
|
1295
|
+
default: a(() => [
|
1296
|
+
o(h, null, {
|
1297
|
+
default: a(() => [
|
1298
|
+
k("div", Do, [
|
1299
|
+
E(e.$slots, "title", {}, () => [
|
1300
|
+
o(X, {
|
1301
|
+
height: "18px",
|
1302
|
+
tile: "",
|
1303
|
+
type: "heading",
|
1304
|
+
width: "200px"
|
1305
|
+
})
|
1306
|
+
])
|
1318
1307
|
])
|
1319
|
-
])
|
1320
|
-
|
1321
|
-
|
1322
|
-
|
1308
|
+
]),
|
1309
|
+
_: 3
|
1310
|
+
})
|
1311
|
+
]),
|
1312
|
+
_: 3
|
1313
|
+
}),
|
1314
|
+
o(P, null, {
|
1315
|
+
default: a(() => [
|
1316
|
+
o(h, null, {
|
1317
|
+
default: a(() => [
|
1318
|
+
k("div", qo, [
|
1319
|
+
E(e.$slots, "adult-count", {}, () => [
|
1320
|
+
o(X, {
|
1321
|
+
tile: "",
|
1322
|
+
type: "text",
|
1323
|
+
width: "150px"
|
1324
|
+
})
|
1325
|
+
])
|
1326
|
+
]),
|
1327
|
+
k("div", zo, [
|
1328
|
+
E(e.$slots, "secondary-title", {}, () => [
|
1329
|
+
o(X, {
|
1330
|
+
height: "18px",
|
1331
|
+
tile: "",
|
1332
|
+
type: "heading",
|
1333
|
+
width: "150px"
|
1334
|
+
})
|
1335
|
+
])
|
1336
|
+
])
|
1337
|
+
]),
|
1338
|
+
_: 3
|
1339
|
+
})
|
1340
|
+
]),
|
1341
|
+
_: 3
|
1342
|
+
}),
|
1343
|
+
E(e.$slots, "hotel-rooms", {}, () => [
|
1344
|
+
k("div", Mo, [
|
1345
|
+
(n(), m(y, null, Y(2, (s) => (n(), m(y, {
|
1346
|
+
key: `item-skeleton-${s}`
|
1347
|
+
}, [
|
1348
|
+
k("div", null, [
|
1349
|
+
o(P, { align: "center" }, {
|
1350
|
+
default: a(() => [
|
1351
|
+
o(h, { cols: "auto" }, {
|
1352
|
+
default: a(() => [
|
1353
|
+
o(_e, { boilerplate: "" })
|
1354
|
+
]),
|
1355
|
+
_: 1
|
1356
|
+
})
|
1357
|
+
]),
|
1358
|
+
_: 1
|
1359
|
+
})
|
1360
|
+
]),
|
1361
|
+
o(K)
|
1362
|
+
], 64))), 64))
|
1363
|
+
])
|
1323
1364
|
]),
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
1365
|
+
o(P, null, {
|
1366
|
+
default: a(() => [
|
1367
|
+
o(h, null, {
|
1368
|
+
default: a(() => [
|
1369
|
+
E(e.$slots, "breakfast-option")
|
1370
|
+
]),
|
1371
|
+
_: 3
|
1372
|
+
})
|
1373
|
+
]),
|
1374
|
+
_: 3
|
1375
|
+
}),
|
1376
|
+
o(P, { class: "mt-1" }, {
|
1377
|
+
default: a(() => [
|
1378
|
+
o(h, null, {
|
1379
|
+
default: a(() => [
|
1380
|
+
o(K)
|
1381
|
+
]),
|
1382
|
+
_: 1
|
1383
|
+
})
|
1384
|
+
]),
|
1385
|
+
_: 1
|
1386
|
+
}),
|
1387
|
+
o(P, { "no-gutters": "" }, {
|
1388
|
+
default: a(() => [
|
1389
|
+
o(h, null, {
|
1390
|
+
default: a(() => [
|
1391
|
+
E(e.$slots, "price-summary", {}, () => [
|
1392
|
+
o(Ct)
|
1393
|
+
])
|
1394
|
+
]),
|
1395
|
+
_: 3
|
1396
|
+
})
|
1397
|
+
]),
|
1398
|
+
_: 3
|
1399
|
+
}),
|
1400
|
+
o(P, null, {
|
1401
|
+
default: a(() => [
|
1402
|
+
o(h, { class: "py-0" }, {
|
1403
|
+
default: a(() => [
|
1404
|
+
E(e.$slots, "errors")
|
1405
|
+
]),
|
1406
|
+
_: 3
|
1407
|
+
})
|
1408
|
+
]),
|
1409
|
+
_: 3
|
1410
|
+
}),
|
1411
|
+
o(P, null, {
|
1412
|
+
default: a(() => [
|
1413
|
+
o(h, { class: "pb-0" }, {
|
1414
|
+
default: a(() => [
|
1415
|
+
E(e.$slots, "button", {}, () => [
|
1332
1416
|
o(X, {
|
1417
|
+
height: "38px",
|
1333
1418
|
tile: "",
|
1334
|
-
type: "
|
1335
|
-
width: "
|
1419
|
+
type: "heading",
|
1420
|
+
width: "100%"
|
1336
1421
|
})
|
1337
1422
|
])
|
1338
1423
|
]),
|
1339
|
-
|
1340
|
-
|
1424
|
+
_: 3
|
1425
|
+
})
|
1426
|
+
]),
|
1427
|
+
_: 3
|
1428
|
+
}),
|
1429
|
+
o(P, null, {
|
1430
|
+
default: a(() => [
|
1431
|
+
o(h, null, {
|
1432
|
+
default: a(() => [
|
1433
|
+
E(e.$slots, "cancellation-policies", {}, () => [
|
1341
1434
|
o(X, {
|
1342
|
-
height: "18px",
|
1343
1435
|
tile: "",
|
1344
|
-
type: "
|
1345
|
-
width: "
|
1436
|
+
type: "paragraph",
|
1437
|
+
width: "100%"
|
1346
1438
|
})
|
1347
1439
|
])
|
1348
|
-
])
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1352
|
-
|
1353
|
-
|
1354
|
-
}),
|
1355
|
-
V(t.$slots, "hotel-rooms", {}, () => [
|
1356
|
-
k("div", No, [
|
1357
|
-
(i(), m(y, null, K(2, (b) => (i(), m(y, {
|
1358
|
-
key: `item-skeleton-${b}`
|
1359
|
-
}, [
|
1360
|
-
k("div", null, [
|
1361
|
-
o(P, { align: "center" }, {
|
1362
|
-
default: a(() => [
|
1363
|
-
o(h, { cols: "auto" }, {
|
1364
|
-
default: a(() => [
|
1365
|
-
o(u)
|
1366
|
-
]),
|
1367
|
-
_: 1
|
1368
|
-
})
|
1369
|
-
]),
|
1370
|
-
_: 1
|
1371
|
-
})
|
1372
|
-
]),
|
1373
|
-
o(Z)
|
1374
|
-
], 64))), 64))
|
1375
|
-
])
|
1440
|
+
]),
|
1441
|
+
_: 3
|
1442
|
+
})
|
1443
|
+
]),
|
1444
|
+
_: 3
|
1445
|
+
})
|
1376
1446
|
]),
|
1377
|
-
|
1378
|
-
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1382
|
-
|
1383
|
-
|
1384
|
-
})
|
1385
|
-
]),
|
1386
|
-
_: 3
|
1387
|
-
}),
|
1388
|
-
o(P, { class: "mt-1" }, {
|
1389
|
-
default: a(() => [
|
1390
|
-
o(h, null, {
|
1391
|
-
default: a(() => [
|
1392
|
-
o(Z)
|
1393
|
-
]),
|
1394
|
-
_: 1
|
1395
|
-
})
|
1396
|
-
]),
|
1397
|
-
_: 1
|
1398
|
-
}),
|
1399
|
-
o(P, { "no-gutters": "" }, {
|
1400
|
-
default: a(() => [
|
1401
|
-
o(h, null, {
|
1402
|
-
default: a(() => [
|
1403
|
-
V(t.$slots, "price-summary", {}, () => [
|
1404
|
-
o(l)
|
1405
|
-
])
|
1406
|
-
]),
|
1407
|
-
_: 3
|
1408
|
-
})
|
1409
|
-
]),
|
1410
|
-
_: 3
|
1411
|
-
}),
|
1412
|
-
o(P, null, {
|
1413
|
-
default: a(() => [
|
1414
|
-
o(h, { class: "py-0" }, {
|
1415
|
-
default: a(() => [
|
1416
|
-
V(t.$slots, "errors")
|
1417
|
-
]),
|
1418
|
-
_: 3
|
1419
|
-
})
|
1420
|
-
]),
|
1421
|
-
_: 3
|
1422
|
-
}),
|
1423
|
-
o(P, null, {
|
1424
|
-
default: a(() => [
|
1425
|
-
o(h, { class: "pb-0" }, {
|
1426
|
-
default: a(() => [
|
1427
|
-
V(t.$slots, "button", {}, () => [
|
1428
|
-
o(X, {
|
1429
|
-
height: "38px",
|
1430
|
-
tile: "",
|
1431
|
-
type: "heading",
|
1432
|
-
width: "100%"
|
1433
|
-
})
|
1434
|
-
])
|
1435
|
-
]),
|
1436
|
-
_: 3
|
1437
|
-
})
|
1438
|
-
]),
|
1439
|
-
_: 3
|
1440
|
-
}),
|
1441
|
-
o(P, null, {
|
1442
|
-
default: a(() => [
|
1443
|
-
o(h, null, {
|
1444
|
-
default: a(() => [
|
1445
|
-
V(t.$slots, "cancellation-policies", {}, () => [
|
1446
|
-
o(X, {
|
1447
|
-
tile: "",
|
1448
|
-
type: "paragraph",
|
1449
|
-
width: "100%"
|
1450
|
-
})
|
1451
|
-
])
|
1452
|
-
]),
|
1453
|
-
_: 3
|
1454
|
-
})
|
1455
|
-
]),
|
1456
|
-
_: 3
|
1457
|
-
})
|
1458
|
-
]),
|
1459
|
-
_: 3
|
1460
|
-
})
|
1461
|
-
]),
|
1462
|
-
_: 3
|
1463
|
-
});
|
1464
|
-
}
|
1465
|
-
const jo = /* @__PURE__ */ tt(Do, [["render", Uo]]), Qt = j({
|
1447
|
+
_: 3
|
1448
|
+
})
|
1449
|
+
]),
|
1450
|
+
_: 3
|
1451
|
+
}));
|
1452
|
+
}
|
1453
|
+
}), Qt = W({
|
1466
1454
|
components: {
|
1467
|
-
BBasketSummaryLayout:
|
1455
|
+
BBasketSummaryLayout: No,
|
1468
1456
|
BBreakfastOptionBadge: Ft,
|
1469
1457
|
BBreakfastSwitch: Yt,
|
1470
1458
|
BFormattedAmount: dt,
|
@@ -1487,21 +1475,21 @@ const jo = /* @__PURE__ */ tt(Do, [["render", Uo]]), Qt = j({
|
|
1487
1475
|
isSuccessful: { type: Boolean }
|
1488
1476
|
},
|
1489
1477
|
setup(t, { emit: e }) {
|
1490
|
-
const
|
1478
|
+
const i = G(
|
1491
1479
|
t.hotelRoomOffer?.breakfastCount && t.hotelRoomOffer?.breakfastCount > 0 || !1
|
1492
1480
|
), s = f(
|
1493
1481
|
() => t.hotelRoomOffer?.breakfastOption
|
1494
1482
|
), r = f(
|
1495
1483
|
() => uo(t.adultCount, t.children)
|
1496
1484
|
), p = f(
|
1497
|
-
() => t.hotelRoomOffer.breakfastOption ===
|
1485
|
+
() => t.hotelRoomOffer.breakfastOption === Pt.Included
|
1498
1486
|
), u = f(
|
1499
|
-
() => t.hotelRoomOffer.breakfastOption ===
|
1487
|
+
() => t.hotelRoomOffer.breakfastOption === Pt.Optional
|
1500
1488
|
), l = f(
|
1501
1489
|
() => t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price > 0
|
1502
1490
|
), b = f(() => !t.hotelRoomOffer || !t.checkOutDate || !t.checkInDate ? 0 : pt(t.checkOutDate).diff(pt(t.checkInDate), "day")), c = f(
|
1503
|
-
() =>
|
1504
|
-
),
|
1491
|
+
() => _t(t.hotelRoomOffer?.hotelRooms, "count")
|
1492
|
+
), S = f(
|
1505
1493
|
() => Xe(
|
1506
1494
|
he({
|
1507
1495
|
bookingDatetime: pt().format(),
|
@@ -1511,18 +1499,18 @@ const jo = /* @__PURE__ */ tt(Do, [["render", Uo]]), Qt = j({
|
|
1511
1499
|
}),
|
1512
1500
|
to.Camel
|
1513
1501
|
)
|
1514
|
-
),
|
1515
|
-
() =>
|
1502
|
+
), H = f(
|
1503
|
+
() => _t(
|
1516
1504
|
t.hotelRoomOffer?.hotelRooms,
|
1517
1505
|
(_) => _.count * _.occupancy
|
1518
1506
|
)
|
1519
1507
|
);
|
1520
|
-
|
1508
|
+
L(i, (_) => {
|
1521
1509
|
e("breakfast-change", _);
|
1522
1510
|
});
|
1523
|
-
const { t: v } =
|
1511
|
+
const { t: v } = Z();
|
1524
1512
|
return {
|
1525
|
-
addBreakfast:
|
1513
|
+
addBreakfast: i,
|
1526
1514
|
breakfastOption: s,
|
1527
1515
|
guestCount: r,
|
1528
1516
|
isBreakfastIncluded: p,
|
@@ -1530,13 +1518,13 @@ const jo = /* @__PURE__ */ tt(Do, [["render", Uo]]), Qt = j({
|
|
1530
1518
|
isTaxIncluded: l,
|
1531
1519
|
nightCount: b,
|
1532
1520
|
roomCount: c,
|
1533
|
-
sanitizedCancellationPolicies:
|
1521
|
+
sanitizedCancellationPolicies: S,
|
1534
1522
|
t: v,
|
1535
|
-
totalOccupancy:
|
1523
|
+
totalOccupancy: H
|
1536
1524
|
};
|
1537
1525
|
}
|
1538
1526
|
});
|
1539
|
-
function
|
1527
|
+
function qt(t) {
|
1540
1528
|
const e = t;
|
1541
1529
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
1542
1530
|
locale: "",
|
@@ -1670,14 +1658,14 @@ function Dt(t) {
|
|
1670
1658
|
}
|
1671
1659
|
});
|
1672
1660
|
}
|
1673
|
-
const
|
1661
|
+
const Uo = { key: 0 }, jo = ["innerHTML"], Fo = { class: "font-weight-bold pb-2" }, Go = { class: "mt-4 font-weight-bold" }, Wo = { class: "text-caption mb-0 text-left font-weight-bold" }, xo = { class: "text-caption" }, Yo = {
|
1674
1662
|
key: 0,
|
1675
1663
|
class: "text-caption pl-2"
|
1676
|
-
},
|
1677
|
-
function
|
1678
|
-
const u =
|
1679
|
-
return
|
1680
|
-
t.isLoading ? (
|
1664
|
+
}, Ko = { class: "text-caption" }, Zo = { class: "text-caption font-weight-bold text-center my-0 text-red rounded" }, Qo = { key: 0 }, Jo = { key: 1 };
|
1665
|
+
function Xo(t, e, i, s, r, p) {
|
1666
|
+
const u = z("BBasketSummaryLayout"), l = z("BHotelRoomsDetails"), b = z("BBreakfastOptionBadge"), c = z("BBreakfastSwitch"), S = z("BFormattedAmount"), H = z("BPriceSummary"), v = z("CancellationPoliciesList");
|
1667
|
+
return n(), m("div", null, [
|
1668
|
+
t.isLoading ? (n(), R(jt, {
|
1681
1669
|
key: 0,
|
1682
1670
|
absolute: "",
|
1683
1671
|
class: "mx-n3",
|
@@ -1685,7 +1673,7 @@ function ea(t, e, n, s, r, p) {
|
|
1685
1673
|
opacity: "0.75"
|
1686
1674
|
}, {
|
1687
1675
|
default: a(() => [
|
1688
|
-
o(
|
1676
|
+
o(St, {
|
1689
1677
|
color: "primary",
|
1690
1678
|
indeterminate: "",
|
1691
1679
|
size: "64"
|
@@ -1693,21 +1681,21 @@ function ea(t, e, n, s, r, p) {
|
|
1693
1681
|
]),
|
1694
1682
|
_: 1
|
1695
1683
|
})) : C("", !0),
|
1696
|
-
t.hotelRoomOffer ? (
|
1684
|
+
t.hotelRoomOffer ? (n(), R(u, { key: "filled-up" }, {
|
1697
1685
|
title: a(() => [
|
1698
1686
|
k("span", null, g(t.t("BBasketSummary.title")), 1)
|
1699
1687
|
]),
|
1700
1688
|
"adult-count": a(() => [
|
1701
1689
|
k("span", {
|
1702
1690
|
innerHTML: t.t("BBasketSummary.totalOccupancy", { n: t.totalOccupancy })
|
1703
|
-
}, null, 8,
|
1691
|
+
}, null, 8, jo)
|
1704
1692
|
]),
|
1705
1693
|
"secondary-title": a(() => [
|
1706
|
-
k("span",
|
1694
|
+
k("span", Fo, g(t.t("BBasketSummary.yourSelection")), 1)
|
1707
1695
|
]),
|
1708
1696
|
"hotel-rooms": a(() => [
|
1709
|
-
(
|
1710
|
-
key: `room-${
|
1697
|
+
(n(!0), m(y, null, Y(t.hotelRoomOffer.hotelRooms, (_, q) => (n(), m("div", {
|
1698
|
+
key: `room-${q}`
|
1711
1699
|
}, [
|
1712
1700
|
o(P, null, {
|
1713
1701
|
default: a(() => [
|
@@ -1718,13 +1706,13 @@ function ea(t, e, n, s, r, p) {
|
|
1718
1706
|
default: a(() => [
|
1719
1707
|
o(l, {
|
1720
1708
|
class: gt({
|
1721
|
-
"mt-n4":
|
1709
|
+
"mt-n4": q >= 1
|
1722
1710
|
}),
|
1723
1711
|
"hotel-rooms": [_]
|
1724
1712
|
}, null, 8, ["class", "hotel-rooms"]),
|
1725
1713
|
o(st, {
|
1726
1714
|
class: gt({
|
1727
|
-
"mt-n4":
|
1715
|
+
"mt-n4": q >= 1
|
1728
1716
|
}),
|
1729
1717
|
color: "red",
|
1730
1718
|
icon: "",
|
@@ -1752,7 +1740,7 @@ function ea(t, e, n, s, r, p) {
|
|
1752
1740
|
]))), 128))
|
1753
1741
|
]),
|
1754
1742
|
"breakfast-option": a(() => [
|
1755
|
-
t.breakfastOption ? (
|
1743
|
+
t.breakfastOption ? (n(), m(y, { key: 0 }, [
|
1756
1744
|
o(P, { "no-gutters": "" }, {
|
1757
1745
|
default: a(() => [
|
1758
1746
|
o(h, null, {
|
@@ -1768,7 +1756,7 @@ function ea(t, e, n, s, r, p) {
|
|
1768
1756
|
]),
|
1769
1757
|
_: 1
|
1770
1758
|
}),
|
1771
|
-
t.isBreakfastOptionnal ? (
|
1759
|
+
t.isBreakfastOptionnal ? (n(), R(P, {
|
1772
1760
|
key: 0,
|
1773
1761
|
class: "mt-2",
|
1774
1762
|
"no-gutters": ""
|
@@ -1792,7 +1780,7 @@ function ea(t, e, n, s, r, p) {
|
|
1792
1780
|
], 64)) : C("", !0)
|
1793
1781
|
]),
|
1794
1782
|
"price-summary": a(() => [
|
1795
|
-
k("p",
|
1783
|
+
k("p", Go, g(t.t("BBasketSummary.priceDetails")), 1),
|
1796
1784
|
o(P, {
|
1797
1785
|
"no-gutters": "",
|
1798
1786
|
class: "mt-1"
|
@@ -1800,7 +1788,7 @@ function ea(t, e, n, s, r, p) {
|
|
1800
1788
|
default: a(() => [
|
1801
1789
|
o(h, null, {
|
1802
1790
|
default: a(() => [
|
1803
|
-
k("p",
|
1791
|
+
k("p", Wo, g(t.t("BBasketSummary.roomCount", {
|
1804
1792
|
n: t.roomCount,
|
1805
1793
|
value: t.roomCount
|
1806
1794
|
})) + " x " + g(t.t("BBasketSummary.nightCount", {
|
@@ -1812,8 +1800,8 @@ function ea(t, e, n, s, r, p) {
|
|
1812
1800
|
}),
|
1813
1801
|
o(h, { class: "text-right" }, {
|
1814
1802
|
default: a(() => [
|
1815
|
-
k("span",
|
1816
|
-
o(
|
1803
|
+
k("span", xo, [
|
1804
|
+
o(S, {
|
1817
1805
|
amount: t.hotelRoomOffer.price
|
1818
1806
|
}, null, 8, ["amount"])
|
1819
1807
|
])
|
@@ -1830,7 +1818,7 @@ function ea(t, e, n, s, r, p) {
|
|
1830
1818
|
default: a(() => [
|
1831
1819
|
o(h, null, {
|
1832
1820
|
default: a(() => [
|
1833
|
-
t.hotelRoomOffer.breakfastCount ? (
|
1821
|
+
t.hotelRoomOffer.breakfastCount ? (n(), m("small", Yo, g(t.t("BBasketSummary.breakfastIncluded", {
|
1834
1822
|
n: t.hotelRoomOffer.breakfastCount,
|
1835
1823
|
value: t.hotelRoomOffer.breakfastCount
|
1836
1824
|
})), 1)) : C("", !0)
|
@@ -1840,7 +1828,7 @@ function ea(t, e, n, s, r, p) {
|
|
1840
1828
|
]),
|
1841
1829
|
_: 1
|
1842
1830
|
}),
|
1843
|
-
t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price > 0 ? (
|
1831
|
+
t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price > 0 ? (n(), R(P, {
|
1844
1832
|
key: 0,
|
1845
1833
|
"no-gutters": "",
|
1846
1834
|
class: "mt-2 color-black"
|
@@ -1855,8 +1843,8 @@ function ea(t, e, n, s, r, p) {
|
|
1855
1843
|
}),
|
1856
1844
|
o(h, { class: "text-right" }, {
|
1857
1845
|
default: a(() => [
|
1858
|
-
k("span",
|
1859
|
-
o(
|
1846
|
+
k("span", Ko, [
|
1847
|
+
o(S, {
|
1860
1848
|
amount: t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price
|
1861
1849
|
}, null, 8, ["amount"])
|
1862
1850
|
])
|
@@ -1877,7 +1865,7 @@ function ea(t, e, n, s, r, p) {
|
|
1877
1865
|
}),
|
1878
1866
|
o(h, null, {
|
1879
1867
|
default: a(() => [
|
1880
|
-
o(
|
1868
|
+
o(H, {
|
1881
1869
|
"is-tax-included": t.isTaxIncluded,
|
1882
1870
|
"night-count": 0,
|
1883
1871
|
price: t.hotelRoomOffer.price,
|
@@ -1892,7 +1880,7 @@ function ea(t, e, n, s, r, p) {
|
|
1892
1880
|
})
|
1893
1881
|
]),
|
1894
1882
|
errors: a(() => [
|
1895
|
-
t.totalOccupancy && t.totalOccupancy < t.guestCount ? (
|
1883
|
+
t.totalOccupancy && t.totalOccupancy < t.guestCount ? (n(), R(xe, {
|
1896
1884
|
key: 0,
|
1897
1885
|
class: "mb-0",
|
1898
1886
|
color: "red",
|
@@ -1900,7 +1888,7 @@ function ea(t, e, n, s, r, p) {
|
|
1900
1888
|
variant: "outlined"
|
1901
1889
|
}, {
|
1902
1890
|
default: a(() => [
|
1903
|
-
k("p",
|
1891
|
+
k("p", Zo, g(t.t("BBasketSummary.occupancyWarning", {
|
1904
1892
|
guestCount: t.guestCount
|
1905
1893
|
})), 1)
|
1906
1894
|
]),
|
@@ -1917,7 +1905,7 @@ function ea(t, e, n, s, r, p) {
|
|
1917
1905
|
onClick: e[1] || (e[1] = (_) => t.$emit("submit"))
|
1918
1906
|
}, {
|
1919
1907
|
default: a(() => [
|
1920
|
-
t.isSuccessful ? C("", !0) : (
|
1908
|
+
t.isSuccessful ? C("", !0) : (n(), m("span", Qo, g(t.t("BBasketSummary.book")), 1)),
|
1921
1909
|
vt(o(at, { class: "position-absolute" }, {
|
1922
1910
|
default: a(() => e[10] || (e[10] = [
|
1923
1911
|
w(" fas fa-check ")
|
@@ -1932,16 +1920,16 @@ function ea(t, e, n, s, r, p) {
|
|
1932
1920
|
}, 8, ["color", "disabled", "loading"])
|
1933
1921
|
]),
|
1934
1922
|
"cancellation-policies": a(() => [
|
1935
|
-
t.hotelRoomOffer && t.hotelRoomOffer.cancellationPolicies.length ? (
|
1923
|
+
t.hotelRoomOffer && t.hotelRoomOffer.cancellationPolicies.length ? (n(), R(v, {
|
1936
1924
|
key: 0,
|
1937
1925
|
"cancellation-policies": t.sanitizedCancellationPolicies,
|
1938
1926
|
"check-in-date": t.checkInDate,
|
1939
1927
|
class: "text-caption",
|
1940
1928
|
timezone: t.hotelTimezone
|
1941
|
-
}, null, 8, ["cancellation-policies", "check-in-date", "timezone"])) : (
|
1929
|
+
}, null, 8, ["cancellation-policies", "check-in-date", "timezone"])) : (n(), m("span", Jo))
|
1942
1930
|
]),
|
1943
1931
|
_: 1
|
1944
|
-
})) : (
|
1932
|
+
})) : (n(), R(u, { key: "empty" }, {
|
1945
1933
|
title: a(() => [
|
1946
1934
|
k("span", null, g(t.t("BBasketSummary.title")), 1)
|
1947
1935
|
]),
|
@@ -1964,7 +1952,7 @@ function ea(t, e, n, s, r, p) {
|
|
1964
1952
|
disabled: ""
|
1965
1953
|
}, {
|
1966
1954
|
default: a(() => [
|
1967
|
-
t.isSuccessful ? C("", !0) : (
|
1955
|
+
t.isSuccessful ? C("", !0) : (n(), m("span", Uo, g(t.t("BBasketSummary.book")), 1)),
|
1968
1956
|
vt(o(at, { class: "position-absolute" }, {
|
1969
1957
|
default: a(() => e[5] || (e[5] = [
|
1970
1958
|
w(" fas fa-check ")
|
@@ -1985,17 +1973,17 @@ function ea(t, e, n, s, r, p) {
|
|
1985
1973
|
}))
|
1986
1974
|
]);
|
1987
1975
|
}
|
1988
|
-
typeof
|
1989
|
-
const
|
1976
|
+
typeof qt == "function" && qt(Qt);
|
1977
|
+
const ta = /* @__PURE__ */ et(Qt, [["render", Xo]]), ea = {
|
1990
1978
|
hotelId: {
|
1991
1979
|
required: !0,
|
1992
1980
|
type: String
|
1993
1981
|
}
|
1994
|
-
},
|
1982
|
+
}, oa = W({
|
1995
1983
|
components: {
|
1996
|
-
BBasketSummary:
|
1984
|
+
BBasketSummary: ta,
|
1997
1985
|
HotelRoomOfferItem: Zt,
|
1998
|
-
HotelRoomOfferItemLayout:
|
1986
|
+
HotelRoomOfferItemLayout: It
|
1999
1987
|
},
|
2000
1988
|
computed: {
|
2001
1989
|
...ye(ft, mt),
|
@@ -2052,24 +2040,24 @@ const oa = /* @__PURE__ */ tt(Qt, [["render", ea]]), aa = {
|
|
2052
2040
|
this.isLoading = !1;
|
2053
2041
|
},
|
2054
2042
|
onBasketUpdate(t, e) {
|
2055
|
-
const
|
2043
|
+
const i = {
|
2056
2044
|
count: e,
|
2057
2045
|
hotelRoomId: t.hotelRooms[0].id,
|
2058
2046
|
hotelRoomOfferId: t.id
|
2059
2047
|
}, s = this.basketContent.findIndex(
|
2060
|
-
(r) => r.hotelRoomOfferId ===
|
2048
|
+
(r) => r.hotelRoomOfferId === i.hotelRoomOfferId
|
2061
2049
|
);
|
2062
2050
|
s === -1 ? e === 0 ? [
|
2063
2051
|
...this.basketContent.slice(0, s),
|
2064
2052
|
...this.basketContent.slice(s + 1)
|
2065
|
-
] : this.basketContent.splice(s, 1) : this.basketContent.push(
|
2053
|
+
] : this.basketContent.splice(s, 1) : this.basketContent.push(i);
|
2066
2054
|
},
|
2067
2055
|
onBreakfastChange(t) {
|
2068
2056
|
this.addBreakfast = t;
|
2069
2057
|
},
|
2070
2058
|
onDeleteRoom(t) {
|
2071
2059
|
const e = this.basketContent.findIndex(
|
2072
|
-
(
|
2060
|
+
(i) => i.hotelRoomId === t.id
|
2073
2061
|
);
|
2074
2062
|
this.basketContent[e].count = 0;
|
2075
2063
|
},
|
@@ -2083,9 +2071,9 @@ const oa = /* @__PURE__ */ tt(Qt, [["render", ea]]), aa = {
|
|
2083
2071
|
},
|
2084
2072
|
mixins: [ge, eo()],
|
2085
2073
|
name: "HotelRoomOfferBasket",
|
2086
|
-
props:
|
2074
|
+
props: ea,
|
2087
2075
|
setup() {
|
2088
|
-
const { t } =
|
2076
|
+
const { t } = Z();
|
2089
2077
|
return {
|
2090
2078
|
t
|
2091
2079
|
};
|
@@ -2098,7 +2086,7 @@ const oa = /* @__PURE__ */ tt(Qt, [["render", ea]]), aa = {
|
|
2098
2086
|
deep: !0,
|
2099
2087
|
handler(t) {
|
2100
2088
|
t.reduce(
|
2101
|
-
(
|
2089
|
+
(i, s) => i + s.count,
|
2102
2090
|
0
|
2103
2091
|
) === 0 ? this.newCreatedPackage = void 0 : this.createHotelRoomOfferPackage();
|
2104
2092
|
},
|
@@ -2116,26 +2104,26 @@ const oa = /* @__PURE__ */ tt(Qt, [["render", ea]]), aa = {
|
|
2116
2104
|
}
|
2117
2105
|
}
|
2118
2106
|
});
|
2119
|
-
function
|
2120
|
-
const u =
|
2121
|
-
return
|
2107
|
+
function aa(t, e, i, s, r, p) {
|
2108
|
+
const u = z("HotelRoomOfferItem"), l = z("BBasketSummary");
|
2109
|
+
return n(), R(P, { "no-gutters": "" }, {
|
2122
2110
|
default: a(() => [
|
2123
2111
|
o(h, {
|
2124
2112
|
cols: "12",
|
2125
2113
|
md: "8"
|
2126
2114
|
}, {
|
2127
2115
|
default: a(() => [
|
2128
|
-
t.hotelRoomOffers.length && t.basketContent.length ? (
|
2129
|
-
c > 0 ? (
|
2116
|
+
t.hotelRoomOffers.length && t.basketContent.length ? (n(!0), m(y, { key: 0 }, Y(t.hotelRoomOffers, (b, c) => (n(), m(y, null, [
|
2117
|
+
c > 0 ? (n(), R(K, { key: 0 })) : C("", !0),
|
2130
2118
|
o(u, M({
|
2131
2119
|
modelValue: t.basketContent[c].count,
|
2132
|
-
"onUpdate:modelValue": (
|
2120
|
+
"onUpdate:modelValue": (S) => t.basketContent[c].count = S
|
2133
2121
|
}, { ref_for: !0 }, b), null, 16, ["modelValue", "onUpdate:modelValue"])
|
2134
2122
|
], 64))), 256)) : C("", !0)
|
2135
2123
|
]),
|
2136
2124
|
_: 1
|
2137
2125
|
}),
|
2138
|
-
o(
|
2126
|
+
o(K, {
|
2139
2127
|
class: "d-none d-md-block",
|
2140
2128
|
vertical: ""
|
2141
2129
|
}),
|
@@ -2145,7 +2133,7 @@ function na(t, e, n, s, r, p) {
|
|
2145
2133
|
md: "4"
|
2146
2134
|
}, {
|
2147
2135
|
default: a(() => [
|
2148
|
-
o(
|
2136
|
+
o(K, { class: "d-block d-md-none my-2" }),
|
2149
2137
|
o(l, M(t.newCreatedPackage, {
|
2150
2138
|
"adult-count": t.adultCount,
|
2151
2139
|
"hotel-timezone": t.hotelTimezone,
|
@@ -2163,42 +2151,22 @@ function na(t, e, n, s, r, p) {
|
|
2163
2151
|
_: 1
|
2164
2152
|
});
|
2165
2153
|
}
|
2166
|
-
const
|
2167
|
-
name: "BErrorOverlay",
|
2168
|
-
props: {
|
2169
|
-
marginTop: {
|
2170
|
-
default: 64,
|
2171
|
-
type: Number
|
2172
|
-
},
|
2173
|
-
minHeight: {
|
2174
|
-
type: String
|
2175
|
-
},
|
2176
|
-
zIndex: {
|
2177
|
-
type: Number
|
2178
|
-
}
|
2179
|
-
},
|
2180
|
-
setup() {
|
2181
|
-
const { t } = F();
|
2182
|
-
return {
|
2183
|
-
t
|
2184
|
-
};
|
2185
|
-
}
|
2186
|
-
}), ra = j({
|
2154
|
+
const sa = /* @__PURE__ */ et(oa, [["render", aa], ["__scopeId", "data-v-ee0e3c98"]]), ia = W({
|
2187
2155
|
components: {
|
2188
2156
|
BPriceSummarySkeleton: Ct
|
2189
2157
|
},
|
2190
|
-
mixins: [
|
2158
|
+
mixins: [Nt],
|
2191
2159
|
name: "HotelRoomOfferLayout",
|
2192
2160
|
props: {
|
2193
2161
|
boilerplate: { type: Boolean }
|
2194
2162
|
},
|
2195
2163
|
setup() {
|
2196
|
-
const { t } =
|
2164
|
+
const { t } = Z();
|
2197
2165
|
return {
|
2198
2166
|
t
|
2199
2167
|
};
|
2200
2168
|
}
|
2201
|
-
}), Jt = /* @__PURE__ */
|
2169
|
+
}), Jt = /* @__PURE__ */ W({
|
2202
2170
|
__name: "HotelRoomOfferListEmpty",
|
2203
2171
|
props: {
|
2204
2172
|
boilerplateSkeleton: { type: Boolean },
|
@@ -2206,28 +2174,32 @@ const ia = /* @__PURE__ */ tt(sa, [["render", na], ["__scopeId", "data-v-ee0e3c9
|
|
2206
2174
|
type: {}
|
2207
2175
|
},
|
2208
2176
|
setup(t) {
|
2209
|
-
const { t: e } =
|
2210
|
-
return (
|
2211
|
-
(
|
2212
|
-
r > 1 ? (
|
2213
|
-
o(
|
2214
|
-
boilerplate:
|
2177
|
+
const { t: e } = Z();
|
2178
|
+
return (i, s) => (n(), m("div", null, [
|
2179
|
+
(n(!0), m(y, null, Y(i.itemCount, (r) => (n(), m(y, { key: r }, [
|
2180
|
+
r > 1 ? (n(), R(K, { key: 0 })) : C("", !0),
|
2181
|
+
o(I(ia), {
|
2182
|
+
boilerplate: i.boilerplateSkeleton,
|
2215
2183
|
class: gt({ "mt-0": r === 1, "mb-0": r === 3 })
|
2216
2184
|
}, null, 8, ["boilerplate", "class"])
|
2217
2185
|
], 64))), 128)),
|
2218
|
-
|
2186
|
+
i.type ? (n(), R(Bt, {
|
2187
|
+
key: 0,
|
2188
|
+
"min-height": "300px",
|
2189
|
+
"z-index": 50
|
2190
|
+
}, {
|
2219
2191
|
title: a(() => [
|
2220
|
-
w(g(
|
2192
|
+
w(g(I(e)(`HotelRoomOfferListEmpty.${i.type}.title`)), 1)
|
2221
2193
|
]),
|
2222
2194
|
description: a(() => [
|
2223
|
-
w(g(
|
2195
|
+
w(g(I(e)(`HotelRoomOfferListEmpty.${i.type}.description`)), 1)
|
2224
2196
|
]),
|
2225
2197
|
_: 1
|
2226
2198
|
})) : C("", !0)
|
2227
2199
|
]));
|
2228
2200
|
}
|
2229
2201
|
});
|
2230
|
-
function
|
2202
|
+
function zt(t) {
|
2231
2203
|
const e = t;
|
2232
2204
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
2233
2205
|
locale: "",
|
@@ -2347,10 +2319,10 @@ function qt(t) {
|
|
2347
2319
|
}
|
2348
2320
|
});
|
2349
2321
|
}
|
2350
|
-
typeof
|
2322
|
+
typeof zt == "function" && zt(Jt);
|
2351
2323
|
const Xt = {
|
2352
2324
|
OnlyMatchingRoomCount: !1
|
2353
|
-
},
|
2325
|
+
}, na = {
|
2354
2326
|
...we,
|
2355
2327
|
features: {
|
2356
2328
|
default: () => Xt,
|
@@ -2360,26 +2332,26 @@ const Xt = {
|
|
2360
2332
|
default: () => 0,
|
2361
2333
|
type: Number
|
2362
2334
|
}
|
2363
|
-
}, te =
|
2335
|
+
}, te = W({
|
2364
2336
|
components: {
|
2365
|
-
BErrorOverlay:
|
2366
|
-
HotelRoomOfferBasket:
|
2337
|
+
BErrorOverlay: Bt,
|
2338
|
+
HotelRoomOfferBasket: sa,
|
2367
2339
|
HotelRoomOfferItem: Zt,
|
2368
|
-
HotelRoomOfferItemLayout:
|
2340
|
+
HotelRoomOfferItemLayout: It,
|
2369
2341
|
HotelRoomOfferListEmpty: Jt
|
2370
2342
|
},
|
2371
2343
|
name: "HotelRoomOfferList",
|
2372
|
-
props:
|
2344
|
+
props: na,
|
2373
2345
|
// eslint-disable-next-line max-lines-per-function
|
2374
2346
|
setup(t) {
|
2375
|
-
const { t: e } =
|
2347
|
+
const { t: e } = Z(), i = mt(), s = ft(), r = G(null), p = G(["packageHotelRoomOffers", "hotelRoomHotelRoomOffers"]), u = bo({
|
2376
2348
|
fallbackValue: Xt,
|
2377
2349
|
prop: f(() => t.features)
|
2378
|
-
}), l = (B) => B.hotelRooms.reduce((A,
|
2379
|
-
() =>
|
2380
|
-
),
|
2350
|
+
}), l = (B) => B.hotelRooms.reduce((A, F) => A + F.count, 0), b = f(() => s.hotelRoomOfferRequest(t.hotelId)), c = f(
|
2351
|
+
() => i.hotelRoomOffers(t.hotelId)
|
2352
|
+
), S = f(
|
2381
2353
|
() => !!(b.value?.hasError || c.value?.hasError)
|
2382
|
-
),
|
2354
|
+
), H = f(
|
2383
2355
|
() => c.value?.offers?.filter(
|
2384
2356
|
(B) => B.type === yt.HotelRoom
|
2385
2357
|
) || []
|
@@ -2390,46 +2362,46 @@ const Xt = {
|
|
2390
2362
|
return B?.slice(0, t.limit || B.length) || [];
|
2391
2363
|
}), _ = f(
|
2392
2364
|
() => !!c.value?.isPolling && !!v.value?.length
|
2393
|
-
),
|
2365
|
+
), q = f(
|
2394
2366
|
() => !b.value?.id || (!!b.value?.isFetching || !!c.value?.isPolling) && !v.value?.length
|
2395
2367
|
), Q = async ({
|
2396
2368
|
addBreakfast: B,
|
2397
2369
|
hotelId: A,
|
2398
|
-
id:
|
2370
|
+
id: F
|
2399
2371
|
}) => {
|
2400
|
-
await
|
2372
|
+
await i.reifyHotelRoomOffer({
|
2401
2373
|
addBreakfast: B,
|
2402
2374
|
hotelId: A,
|
2403
|
-
id:
|
2375
|
+
id: F
|
2404
2376
|
});
|
2405
|
-
},
|
2377
|
+
}, $ = async (B) => {
|
2406
2378
|
if (!b.value?.id) {
|
2407
|
-
|
2379
|
+
i.resetHotelRoomOffers({
|
2408
2380
|
hotelId: t.hotelId
|
2409
2381
|
});
|
2410
2382
|
return;
|
2411
2383
|
}
|
2412
|
-
await
|
2384
|
+
await i.retrieveHotelRoomOffers({
|
2413
2385
|
hotelId: t.hotelId,
|
2414
2386
|
hotelRoomOfferRequestId: b.value.id,
|
2415
2387
|
inProgressHotelRoomOfferIds: B
|
2416
2388
|
});
|
2417
2389
|
};
|
2418
|
-
async function
|
2419
|
-
await
|
2390
|
+
async function V(B) {
|
2391
|
+
await $([B]);
|
2420
2392
|
}
|
2421
|
-
|
2393
|
+
L(
|
2422
2394
|
() => b.value?.id,
|
2423
2395
|
async () => {
|
2424
|
-
await
|
2396
|
+
await $();
|
2425
2397
|
},
|
2426
2398
|
{ immediate: !0 }
|
2427
2399
|
);
|
2428
|
-
const { bookingApiClient:
|
2429
|
-
|
2430
|
-
() => [
|
2400
|
+
const { bookingApiClient: j, config: N } = Re();
|
2401
|
+
L(
|
2402
|
+
() => [j.value, N.value.currency, N.value.lang],
|
2431
2403
|
async () => {
|
2432
|
-
await
|
2404
|
+
await $();
|
2433
2405
|
},
|
2434
2406
|
{ immediate: !0 }
|
2435
2407
|
);
|
@@ -2443,21 +2415,21 @@ const Xt = {
|
|
2443
2415
|
sourceMarket: t.sourceMarket
|
2444
2416
|
});
|
2445
2417
|
return {
|
2446
|
-
hasError:
|
2447
|
-
hotelRoomHotelRoomOffers:
|
2418
|
+
hasError: S,
|
2419
|
+
hotelRoomHotelRoomOffers: H,
|
2448
2420
|
isLoading: _,
|
2449
2421
|
onBreakfastChange: Q,
|
2450
2422
|
packageHotelRoomOffers: v,
|
2451
|
-
showSkeleton:
|
2423
|
+
showSkeleton: q,
|
2452
2424
|
t: e,
|
2453
2425
|
tab: r,
|
2454
2426
|
tabItems: p,
|
2455
2427
|
...J,
|
2456
|
-
onBookingPolicyFailed:
|
2428
|
+
onBookingPolicyFailed: V
|
2457
2429
|
};
|
2458
2430
|
}
|
2459
2431
|
});
|
2460
|
-
function
|
2432
|
+
function Mt(t) {
|
2461
2433
|
const e = t;
|
2462
2434
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
2463
2435
|
locale: "",
|
@@ -2535,7 +2507,7 @@ function zt(t) {
|
|
2535
2507
|
}
|
2536
2508
|
});
|
2537
2509
|
}
|
2538
|
-
const
|
2510
|
+
const wt = Symbol.for("vuetify:v-tabs"), la = lt({
|
2539
2511
|
fixed: Boolean,
|
2540
2512
|
sliderColor: String,
|
2541
2513
|
hideSlider: Boolean,
|
@@ -2543,44 +2515,44 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2543
2515
|
type: String,
|
2544
2516
|
default: "horizontal"
|
2545
2517
|
},
|
2546
|
-
...
|
2518
|
+
...Ut(Ye({
|
2547
2519
|
selectedClass: "v-tab--selected",
|
2548
2520
|
variant: "text"
|
2549
2521
|
}), ["active", "block", "flat", "location", "position", "symbol"])
|
2550
|
-
}, "VTab"), ee =
|
2522
|
+
}, "VTab"), ee = nt()({
|
2551
2523
|
name: "VTab",
|
2552
|
-
props:
|
2524
|
+
props: la(),
|
2553
2525
|
setup(t, e) {
|
2554
2526
|
let {
|
2555
|
-
slots:
|
2527
|
+
slots: i,
|
2556
2528
|
attrs: s
|
2557
2529
|
} = e;
|
2558
2530
|
const {
|
2559
2531
|
textColorClasses: r,
|
2560
2532
|
textColorStyles: p
|
2561
|
-
} =
|
2562
|
-
function
|
2533
|
+
} = Te(t, "sliderColor"), u = G(), l = G(), b = f(() => t.direction === "horizontal"), c = f(() => u.value?.group?.isSelected.value ?? !1);
|
2534
|
+
function S(H) {
|
2563
2535
|
let {
|
2564
2536
|
value: v
|
2565
|
-
} =
|
2537
|
+
} = H;
|
2566
2538
|
if (v) {
|
2567
|
-
const _ = u.value?.$el.parentElement?.querySelector(".v-tab--selected .v-tab__slider"),
|
2568
|
-
if (!_ || !
|
2569
|
-
const Q = getComputedStyle(_).color,
|
2570
|
-
|
2539
|
+
const _ = u.value?.$el.parentElement?.querySelector(".v-tab--selected .v-tab__slider"), q = l.value;
|
2540
|
+
if (!_ || !q) return;
|
2541
|
+
const Q = getComputedStyle(_).color, $ = _.getBoundingClientRect(), V = q.getBoundingClientRect(), j = b.value ? "x" : "y", N = b.value ? "X" : "Y", J = b.value ? "right" : "bottom", B = b.value ? "width" : "height", A = $[j], F = V[j], U = A > F ? $[J] - V[J] : $[j] - V[j], it = 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 ? $[B] : V[B])) / Math.max($[B], V[B]) || 0, T = $[B] / V[B] || 0, O = 1.5;
|
2542
|
+
He(q, {
|
2571
2543
|
backgroundColor: [Q, "currentcolor"],
|
2572
|
-
transform: [`translate${N}(${U}px) scale${N}(${
|
2573
|
-
transformOrigin: Array(3).fill(
|
2544
|
+
transform: [`translate${N}(${U}px) scale${N}(${T})`, `translate${N}(${U / O}px) scale${N}(${(d - 1) / O + 1})`, "none"],
|
2545
|
+
transformOrigin: Array(3).fill(it)
|
2574
2546
|
}, {
|
2575
2547
|
duration: 225,
|
2576
|
-
easing:
|
2548
|
+
easing: Ve
|
2577
2549
|
});
|
2578
2550
|
}
|
2579
2551
|
}
|
2580
2552
|
return rt(() => {
|
2581
|
-
const
|
2553
|
+
const H = st.filterProps(t);
|
2582
2554
|
return o(st, M({
|
2583
|
-
symbol:
|
2555
|
+
symbol: wt,
|
2584
2556
|
ref: u,
|
2585
2557
|
class: ["v-tab", t.class],
|
2586
2558
|
style: t.style,
|
@@ -2588,13 +2560,13 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2588
2560
|
role: "tab",
|
2589
2561
|
"aria-selected": String(c.value),
|
2590
2562
|
active: !1
|
2591
|
-
},
|
2563
|
+
}, H, s, {
|
2592
2564
|
block: t.fixed,
|
2593
2565
|
maxWidth: t.fixed ? 300 : void 0,
|
2594
|
-
"onGroup:selected":
|
2566
|
+
"onGroup:selected": S
|
2595
2567
|
}), {
|
2596
|
-
...
|
2597
|
-
default: () => o(y, null, [
|
2568
|
+
...i,
|
2569
|
+
default: () => o(y, null, [i.default?.() ?? t.text, !t.hideSlider && o("div", {
|
2598
2570
|
ref: l,
|
2599
2571
|
class: ["v-tab__slider", r.value],
|
2600
2572
|
style: p.value
|
@@ -2602,19 +2574,19 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2602
2574
|
});
|
2603
2575
|
}), ao({}, u);
|
2604
2576
|
}
|
2605
|
-
}),
|
2606
|
-
...
|
2607
|
-
}, "VTabsWindow"), oe =
|
2577
|
+
}), ra = lt({
|
2578
|
+
...Ut(so(), ["continuous", "nextIcon", "prevIcon", "showArrows", "touch", "mandatory"])
|
2579
|
+
}, "VTabsWindow"), oe = nt()({
|
2608
2580
|
name: "VTabsWindow",
|
2609
|
-
props:
|
2581
|
+
props: ra(),
|
2610
2582
|
emits: {
|
2611
2583
|
"update:modelValue": (t) => !0
|
2612
2584
|
},
|
2613
2585
|
setup(t, e) {
|
2614
2586
|
let {
|
2615
|
-
slots:
|
2587
|
+
slots: i
|
2616
2588
|
} = e;
|
2617
|
-
const s = Oe(
|
2589
|
+
const s = Oe(wt, null), r = ct(t, "modelValue"), p = f({
|
2618
2590
|
get() {
|
2619
2591
|
return r.value != null || !s ? r.value : s.items.value.find((u) => s.selected.value.includes(u.id))?.value;
|
2620
2592
|
},
|
@@ -2623,8 +2595,8 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2623
2595
|
}
|
2624
2596
|
});
|
2625
2597
|
return rt(() => {
|
2626
|
-
const u =
|
2627
|
-
return o(
|
2598
|
+
const u = Vt.filterProps(t);
|
2599
|
+
return o(Vt, M({
|
2628
2600
|
_as: "VTabsWindow"
|
2629
2601
|
}, u, {
|
2630
2602
|
modelValue: p.value,
|
@@ -2633,17 +2605,17 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2633
2605
|
style: t.style,
|
2634
2606
|
mandatory: !1,
|
2635
2607
|
touch: !1
|
2636
|
-
}),
|
2608
|
+
}), i);
|
2637
2609
|
}), {};
|
2638
2610
|
}
|
2639
|
-
}),
|
2640
|
-
...
|
2641
|
-
}, "VTabsWindowItem"), Ot =
|
2611
|
+
}), ua = lt({
|
2612
|
+
...io()
|
2613
|
+
}, "VTabsWindowItem"), Ot = nt()({
|
2642
2614
|
name: "VTabsWindowItem",
|
2643
|
-
props:
|
2615
|
+
props: ua(),
|
2644
2616
|
setup(t, e) {
|
2645
2617
|
let {
|
2646
|
-
slots:
|
2618
|
+
slots: i
|
2647
2619
|
} = e;
|
2648
2620
|
return rt(() => {
|
2649
2621
|
const s = Et.filterProps(t);
|
@@ -2652,17 +2624,17 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2652
2624
|
}, s, {
|
2653
2625
|
class: ["v-tabs-window-item", t.class],
|
2654
2626
|
style: t.style
|
2655
|
-
}),
|
2627
|
+
}), i);
|
2656
2628
|
}), {};
|
2657
2629
|
}
|
2658
2630
|
});
|
2659
|
-
function
|
2631
|
+
function ca(t) {
|
2660
2632
|
return t ? t.map((e) => Se(e) ? e : {
|
2661
2633
|
text: e,
|
2662
2634
|
value: e
|
2663
2635
|
}) : [];
|
2664
2636
|
}
|
2665
|
-
const
|
2637
|
+
const da = lt({
|
2666
2638
|
alignTabs: {
|
2667
2639
|
type: String,
|
2668
2640
|
default: "start"
|
@@ -2682,43 +2654,43 @@ const ba = lt({
|
|
2682
2654
|
},
|
2683
2655
|
hideSlider: Boolean,
|
2684
2656
|
sliderColor: String,
|
2685
|
-
...
|
2657
|
+
...no({
|
2686
2658
|
mandatory: "force",
|
2687
2659
|
selectedClass: "v-tab-item--selected"
|
2688
2660
|
}),
|
2689
2661
|
...Ue(),
|
2690
|
-
|
2691
|
-
}, "VTabs"),
|
2662
|
+
...Le()
|
2663
|
+
}, "VTabs"), ma = nt()({
|
2692
2664
|
name: "VTabs",
|
2693
|
-
props:
|
2665
|
+
props: da(),
|
2694
2666
|
emits: {
|
2695
2667
|
"update:modelValue": (t) => !0
|
2696
2668
|
},
|
2697
2669
|
setup(t, e) {
|
2698
2670
|
let {
|
2699
|
-
attrs:
|
2671
|
+
attrs: i,
|
2700
2672
|
slots: s
|
2701
2673
|
} = e;
|
2702
|
-
const r = ct(t, "modelValue"), p = f(() =>
|
2674
|
+
const r = ct(t, "modelValue"), p = f(() => ca(t.items)), {
|
2703
2675
|
densityClasses: u
|
2704
2676
|
} = Ne(t), {
|
2705
2677
|
backgroundColorClasses: l,
|
2706
2678
|
backgroundColorStyles: b
|
2707
|
-
} =
|
2679
|
+
} = Ee(tt(t, "bgColor")), {
|
2708
2680
|
scopeId: c
|
2709
2681
|
} = Ae();
|
2710
2682
|
return Ce({
|
2711
2683
|
VTab: {
|
2712
|
-
color:
|
2713
|
-
direction:
|
2714
|
-
stacked:
|
2715
|
-
fixed:
|
2716
|
-
sliderColor:
|
2717
|
-
hideSlider:
|
2684
|
+
color: tt(t, "color"),
|
2685
|
+
direction: tt(t, "direction"),
|
2686
|
+
stacked: tt(t, "stacked"),
|
2687
|
+
fixed: tt(t, "fixedTabs"),
|
2688
|
+
sliderColor: tt(t, "sliderColor"),
|
2689
|
+
hideSlider: tt(t, "hideSlider")
|
2718
2690
|
}
|
2719
2691
|
}), rt(() => {
|
2720
|
-
const
|
2721
|
-
return o(y, null, [o(
|
2692
|
+
const S = At.filterProps(t), H = !!(s.window || t.items.length > 0);
|
2693
|
+
return o(y, null, [o(At, M(S, {
|
2722
2694
|
modelValue: r.value,
|
2723
2695
|
"onUpdate:modelValue": (v) => r.value = v,
|
2724
2696
|
class: ["v-tabs", `v-tabs--${t.direction}`, `v-tabs--align-tabs-${t.alignTabs}`, {
|
@@ -2730,8 +2702,8 @@ const ba = lt({
|
|
2730
2702
|
"--v-tabs-height": Be(t.height)
|
2731
2703
|
}, b.value, t.style],
|
2732
2704
|
role: "tablist",
|
2733
|
-
symbol:
|
2734
|
-
}, c,
|
2705
|
+
symbol: wt
|
2706
|
+
}, c, i), {
|
2735
2707
|
default: () => [s.default?.() ?? p.value.map((v) => s.tab?.({
|
2736
2708
|
item: v
|
2737
2709
|
}) ?? o(ee, M(v, {
|
@@ -2742,7 +2714,7 @@ const ba = lt({
|
|
2742
2714
|
item: v
|
2743
2715
|
}) : void 0
|
2744
2716
|
}))]
|
2745
|
-
}),
|
2717
|
+
}), H && o(oe, M({
|
2746
2718
|
modelValue: r.value,
|
2747
2719
|
"onUpdate:modelValue": (v) => r.value = v,
|
2748
2720
|
key: "tabs-window"
|
@@ -2759,25 +2731,25 @@ const ba = lt({
|
|
2759
2731
|
})]);
|
2760
2732
|
}), {};
|
2761
2733
|
}
|
2762
|
-
}),
|
2763
|
-
function
|
2764
|
-
const u =
|
2765
|
-
return
|
2766
|
-
t.isBookingApiClientDefined ? (
|
2767
|
-
t.hasError ? (
|
2734
|
+
}), fa = { class: "bg-white" }, ba = { key: 0 };
|
2735
|
+
function pa(t, e, i, s, r, p) {
|
2736
|
+
const u = z("HotelRoomOfferListEmpty"), l = z("HotelRoomOfferItem"), b = z("HotelRoomOfferBasket");
|
2737
|
+
return n(), m("div", fa, [
|
2738
|
+
t.isBookingApiClientDefined ? (n(), m(y, { key: 1 }, [
|
2739
|
+
t.hasError ? (n(), R(u, {
|
2768
2740
|
key: "error",
|
2769
2741
|
boilerplate: "",
|
2770
2742
|
type: "internalError"
|
2771
|
-
})) : t.showSkeleton ? (
|
2772
|
-
t.hotelRoomHotelRoomOffers.length ? C("", !0) : (
|
2773
|
-
t.isLoading ? (
|
2743
|
+
})) : t.showSkeleton ? (n(), R(u, { key: "skeleton" })) : t.packageHotelRoomOffers && t.packageHotelRoomOffers.length ? (n(), m(y, { key: 2 }, [
|
2744
|
+
t.hotelRoomHotelRoomOffers.length ? C("", !0) : (n(), m("div", ba)),
|
2745
|
+
t.isLoading ? (n(), R(je, {
|
2774
2746
|
key: 1,
|
2775
2747
|
class: "loader position-absolute",
|
2776
2748
|
color: "secondary",
|
2777
2749
|
indeterminate: ""
|
2778
2750
|
})) : C("", !0),
|
2779
|
-
t.hotelRoomHotelRoomOffers && t.hotelRoomHotelRoomOffers.length ? (
|
2780
|
-
o(
|
2751
|
+
t.hotelRoomHotelRoomOffers && t.hotelRoomHotelRoomOffers.length ? (n(), m(y, { key: 2 }, [
|
2752
|
+
o(ma, {
|
2781
2753
|
color: "primary",
|
2782
2754
|
density: "compact",
|
2783
2755
|
modelValue: t.tab,
|
@@ -2785,14 +2757,14 @@ function ha(t, e, n, s, r, p) {
|
|
2785
2757
|
grow: ""
|
2786
2758
|
}, {
|
2787
2759
|
default: a(() => [
|
2788
|
-
(
|
2760
|
+
(n(!0), m(y, null, Y(t.tabItems, (c) => (n(), m(y, { key: c }, [
|
2789
2761
|
o(ee, null, {
|
2790
2762
|
default: a(() => [
|
2791
2763
|
w(g(t.t(`HotelRoomOfferList.${c}.title`)), 1)
|
2792
2764
|
]),
|
2793
2765
|
_: 2
|
2794
2766
|
}, 1024),
|
2795
|
-
o(
|
2767
|
+
o(K, { vertical: "" })
|
2796
2768
|
], 64))), 128))
|
2797
2769
|
]),
|
2798
2770
|
_: 1
|
@@ -2805,10 +2777,10 @@ function ha(t, e, n, s, r, p) {
|
|
2805
2777
|
default: a(() => [
|
2806
2778
|
o(Ot, { class: "pt-3" }, {
|
2807
2779
|
default: a(() => [
|
2808
|
-
(
|
2780
|
+
(n(!0), m(y, null, Y(t.packageHotelRoomOffers, (c, S) => (n(), m(y, {
|
2809
2781
|
key: c.id
|
2810
2782
|
}, [
|
2811
|
-
|
2783
|
+
S > 0 ? (n(), R(K, { key: 0 })) : C("", !0),
|
2812
2784
|
o(l, M({ ref_for: !0 }, c, {
|
2813
2785
|
onBreakfastChange: t.onBreakfastChange,
|
2814
2786
|
onBookingPolicyFailed: t.onBookingPolicyFailed
|
@@ -2826,32 +2798,32 @@ function ha(t, e, n, s, r, p) {
|
|
2826
2798
|
]),
|
2827
2799
|
_: 1
|
2828
2800
|
}, 8, ["modelValue"])
|
2829
|
-
], 64)) : (
|
2801
|
+
], 64)) : (n(!0), m(y, { key: 3 }, Y(t.packageHotelRoomOffers, (c, S) => (n(), m(y, {
|
2830
2802
|
key: c.id
|
2831
2803
|
}, [
|
2832
|
-
|
2804
|
+
S > 0 ? (n(), R(K, { key: 0 })) : C("", !0),
|
2833
2805
|
o(l, M({ ref_for: !0 }, c, {
|
2834
2806
|
onBreakfastChange: t.onBreakfastChange,
|
2835
2807
|
onBookingPolicyFailed: t.onBookingPolicyFailed
|
2836
2808
|
}), null, 16, ["onBreakfastChange", "onBookingPolicyFailed"])
|
2837
2809
|
], 64))), 128))
|
2838
|
-
], 64)) : !t.packageHotelRoomOffers || !t.packageHotelRoomOffers.length ? (
|
2810
|
+
], 64)) : !t.packageHotelRoomOffers || !t.packageHotelRoomOffers.length ? (n(), R(u, {
|
2839
2811
|
key: "skeleton",
|
2840
2812
|
boilerplate: "",
|
2841
2813
|
type: "noResults"
|
2842
2814
|
})) : C("", !0)
|
2843
|
-
], 64)) : (
|
2815
|
+
], 64)) : (n(), m(y, { key: 0 }, [], 64))
|
2844
2816
|
]);
|
2845
2817
|
}
|
2846
|
-
typeof
|
2847
|
-
const
|
2848
|
-
|
2818
|
+
typeof Mt == "function" && Mt(te);
|
2819
|
+
const ja = /* @__PURE__ */ et(te, [["render", pa], ["__scopeId", "data-v-e71fbea6"]]);
|
2820
|
+
ie("css/revolugo.hotelroomofferlist.E-On0KSt.css");
|
2849
2821
|
export {
|
2850
2822
|
Rt as B,
|
2851
|
-
|
2823
|
+
ja as H,
|
2852
2824
|
Xt as a,
|
2853
|
-
|
2825
|
+
na as h,
|
2854
2826
|
co as r,
|
2855
2827
|
bo as u
|
2856
2828
|
};
|
2857
|
-
//# sourceMappingURL=revolugo.hotelroomofferlist.
|
2829
|
+
//# sourceMappingURL=revolugo.hotelroomofferlist.CqoX8wAD.min.js.map
|