@revolugo/elements 6.8.2-beta.35 → 6.8.2-beta.37
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.hotelroomofferlist.E-On0KSt.css → revolugo.hotelroomofferlist.-6YLPyqb.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.C6vg5Xtv.min.js} +2 -2
- package/dist/{revolugo.banktransferdetails.CW2vXY85.min.js → revolugo.banktransferdetails.H7LEH4sY.min.js} +9 -9
- package/dist/{revolugo.bdaterangepicker.DafS75a7.min.js → revolugo.bdaterangepicker.BPJGfRLE.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.DkaYvlro.min.js} +30 -32
- package/dist/{revolugo.bhoteloffersfilterbar.DhuoHmwA.min.js → revolugo.bhoteloffersfilterbar.CJMk-z92.min.js} +36 -36
- package/dist/{revolugo.bhotelroomsdetails.D8jmONal.min.js → revolugo.bhotelroomsdetails.DiOyi4BS.min.js} +182 -207
- package/dist/{revolugo.bimagecarousel.DAQ3mwvt.min.js → revolugo.bimagecarousel.Jndf1DxF.min.js} +146 -168
- package/dist/{revolugo.bookingdetailssidebar.mwjjuWpw.min.js → revolugo.bookingdetailssidebar.Bo3y9bdL.min.js} +19 -19
- package/dist/{revolugo.bookingdetailssidebar.DIcRSjPd.min.js → revolugo.bookingdetailssidebar.U_oxhr7p.min.js} +4 -4
- package/dist/{revolugo.bookingmanager.Bwyo12Gi.min.js → revolugo.bookingmanager.B0UvZtpR.min.js} +20 -20
- package/dist/{revolugo.bpricesummaryskeleton.tb9ZpC9J.min.js → revolugo.bpricesummaryskeleton.BfRhJn0l.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.BMyuUV-t.min.js} +8 -8
- package/dist/{revolugo.btag.DeeJpOs_.min.js → revolugo.btag.BtWu_rm9.min.js} +12 -12
- package/dist/{revolugo.cancellationpoliciesbadge.DMIEO0nz.min.js → revolugo.cancellationpoliciesbadge.D9R_tqyL.min.js} +4 -4
- package/dist/{revolugo.cancellationpoliciesbadge.DqsmQWTm.min.js → revolugo.cancellationpoliciesbadge.xdqO7vwM.min.js} +9 -9
- package/dist/{revolugo.cancellationpolicieslist.CyDAFW-m.min.js → revolugo.cancellationpolicieslist.CHrqbou4.min.js} +3 -3
- package/dist/{revolugo.cancellationpolicieslist.BbjzLOjx.min.js → revolugo.cancellationpolicieslist.DDTdkJS9.min.js} +4 -4
- package/dist/{revolugo.case-transformers.CwyDt9X7.min.js → revolugo.case-transformers.JX35Ctwc.min.js} +5 -5
- package/dist/{revolugo.creditcardform.DHTyvc89.min.js → revolugo.creditcardform.BRMaxTF2.min.js} +4 -4
- package/dist/{revolugo.creditcardform.dkQfjqbu.min.js → revolugo.creditcardform.CNvvsO76.min.js} +11 -11
- package/dist/{revolugo.creditcardpayment.C4p394gY.min.js → revolugo.creditcardpayment.CD1id-ox.min.js} +16 -16
- package/dist/{revolugo.creditcardpayment.Bq-J4NTM.min.js → revolugo.creditcardpayment.CGQgnIJO.min.js} +4 -4
- package/dist/{revolugo.currencypicker.CaX_fZ0_.min.js → revolugo.currencypicker.D4jr-wmu.min.js} +15 -15
- package/dist/{revolugo.currencypickerbtn.CVNX9x8D.min.js → revolugo.currencypickerbtn.CiemMUrd.min.js} +4 -4
- package/dist/{revolugo.currencypickerbtn.uWFp8h9g.min.js → revolugo.currencypickerbtn.CjXS-VS9.min.js} +9 -9
- package/dist/{revolugo.dates.BeQtrIUt.min.js → revolugo.dates.CfHVQJZQ.min.js} +2 -2
- package/dist/{revolugo.defaultsdeep.E3Weft6W.min.js → revolugo.defaultsdeep.BFuLbavJ.min.js} +4 -4
- package/dist/{revolugo.dialog-attach.fTomESSY.min.js → revolugo.dialog-attach.B1z6IjeU.min.js} +2 -2
- package/dist/{revolugo.dialog-transition.DSC7a95s.min.js → revolugo.dialog-transition.DEB0UcAq.min.js} +3 -3
- package/dist/{revolugo.fastbookingflow.B-Cd7O1h.min.js → revolugo.fastbookingflow.BlYRQu8S.min.js} +4 -4
- package/dist/{revolugo.fullbookingflow.JHD1Liiy.min.js → revolugo.fullbookingflow.BsvtYDQs.min.js} +17 -17
- package/dist/{revolugo.hotel-offer-request.Ba2CYCdK.min.js → revolugo.hotel-offer-request.BJjEmgJS.min.js} +2 -2
- package/dist/{revolugo.hoteldescriptionview.CCt_zuXQ.min.js → revolugo.hoteldescriptionview.BwT_tjpi.min.js} +21 -21
- package/dist/{revolugo.hoteldescriptionview.iLYeoUcR.min.js → revolugo.hoteldescriptionview.Dh1vPEb7.min.js} +4 -4
- package/dist/{revolugo.hotelofferitemlayout.D_8KH6Ux.min.js → revolugo.hotelofferitemlayout.BQwaUVxn.min.js} +6 -6
- package/dist/{revolugo.hotelofferlist.BVOA8ZY3.min.js → revolugo.hotelofferlist.-HbLhJJJ.min.js} +4 -4
- package/dist/{revolugo.hotelofferlist.Df6mIcIm.min.js → revolugo.hotelofferlist.C2aw5gqv.min.js} +23 -23
- package/dist/{revolugo.hoteloffersearchmenu.fP0SPGFx.min.js → revolugo.hoteloffersearchmenu.C8tUR0rh.min.js} +6 -6
- package/dist/{revolugo.hoteloffersearchmenuui.ZCJrqlcB.min.js → revolugo.hoteloffersearchmenuui.D8bL25qH.min.js} +17 -17
- package/dist/{revolugo.hoteloffersmap.BrQcEn6b.min.js → revolugo.hoteloffersmap.B-82vQ90.min.js} +4 -4
- package/dist/{revolugo.hoteloffersmap.D5OO9zxd.min.js → revolugo.hoteloffersmap.D-0XTKIB.min.js} +13 -13
- package/dist/{revolugo.hoteloffersview.Cv_PrU8G.min.js → revolugo.hoteloffersview.CBLJBWhI.min.js} +16 -16
- package/dist/{revolugo.hoteloffersview.Bsf-pmsP.min.js → revolugo.hoteloffersview.DP4zWXUp.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.qwZmdThC.min.js → revolugo.hotelroomofferlist.B-N3Yatc.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.DmGesgWE.min.js → revolugo.hotelroomofferlist.BF-qbcqV.min.js} +712 -730
- package/dist/{revolugo.hotelroomofferrequestcreator.props.D_X7on-H.min.js → revolugo.hotelroomofferrequestcreator.props.C9n8tnQ_.min.js} +2 -2
- package/dist/{revolugo.hotelroomoffersbookingflow.CZclRz_J.min.js → revolugo.hotelroomoffersbookingflow.i6mCMfXW.min.js} +17 -17
- package/dist/{revolugo.hotelroomoffersearchmenu.BP5KuNq8.min.js → revolugo.hotelroomoffersearchmenu.-URm_0I4.min.js} +8 -8
- package/dist/{revolugo.hotelroomoffersearchmenu.DAxG-xqw.min.js → revolugo.hotelroomoffersearchmenu.TxYw_6Uz.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersview.BgByzQq6.min.js → revolugo.hotelroomoffersview.BS6remQd.min.js} +12 -12
- package/dist/{revolugo.hotelroomoffersview.D9gjWnIZ.min.js → revolugo.hotelroomoffersview.D-2mHgLa.min.js} +4 -4
- package/dist/{revolugo.index.Jxvf1PFa.min.js → revolugo.index.D2vVqIxQ.min.js} +58 -58
- package/dist/{revolugo.index.Bds6iekQ.min.js → revolugo.index.D3HI0RIL.min.js} +6 -6
- package/dist/{revolugo.index.wc.CwyY7Qwx.min.js → revolugo.index.wc.BCHUnn0S.min.js} +3423 -3404
- package/dist/{revolugo.langpicker.D6xDoW3U.min.js → revolugo.langpicker.RjMD9g48.min.js} +11 -11
- package/dist/{revolugo.langpickerbtn.Hnk_6Ibc.min.js → revolugo.langpickerbtn.C5EJBJJy.min.js} +4 -4
- package/dist/{revolugo.langpickerbtn.HH5zReNp.min.js → revolugo.langpickerbtn.DfDHvsIb.min.js} +10 -10
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.pathify.BVUhMr3Z.min.js → revolugo.pathify.DDRySNIK.min.js} +2 -2
- package/dist/{revolugo.prebookform.Dv7SgXnU.min.js → revolugo.prebookform.BFaGy58W.min.js} +4 -4
- package/dist/{revolugo.prebookform.Dog7HcLu.min.js → revolugo.prebookform.zGRnI6WN.min.js} +18 -18
- package/dist/{revolugo.roominglisteditor.BLvTUiYr.min.js → revolugo.roominglisteditor.WhNt-v3N.min.js} +9 -9
- package/dist/{revolugo.roominglisteditor.Bk2lIs5I.min.js → revolugo.roominglisteditor.k7m3-x1Q.min.js} +4 -4
- package/dist/{revolugo.rounded.Cqycgkgu.min.js → revolugo.rounded.gvdnWJcm.min.js} +2 -2
- package/dist/{revolugo.ssrboot.d_lNFEaA.min.js → revolugo.ssrboot.xiFRvjRz.min.js} +2 -2
- package/dist/{revolugo.storybooktoolbar.Cry8rOs6.min.js → revolugo.storybooktoolbar.DxaSeYYh.min.js} +23 -23
- package/dist/{revolugo.termsandconditions.CP39qReJ.min.js → revolugo.termsandconditions.BqdxzKLe.min.js} +4 -4
- package/dist/revolugo.termsandconditions.C7nXe72Y.min.js +405 -0
- package/dist/{revolugo.use-breakpoint-service.T4GTT5bW.min.js → revolugo.use-breakpoint-service.DCvVngRD.min.js} +7 -7
- package/dist/{revolugo.use-dialog-attach.tpY0trN9.min.js → revolugo.use-dialog-attach.VoSI1cTA.min.js} +3 -3
- package/dist/revolugo.use-html-element.BA6pPTeH.min.js +11 -0
- package/dist/{revolugo.vautocomplete.0LoBsyoD.min.js → revolugo.vautocomplete.X7PltObE.min.js} +58 -58
- package/dist/{revolugo.vbadge.BIu8Bf7n.min.js → revolugo.vbadge.BZou4sR-.min.js} +12 -12
- package/dist/{revolugo.vbtn.a6WFz1Bp.min.js → revolugo.vbtn.CvXud-id.min.js} +6 -6
- package/dist/{revolugo.vcard.N_Wac83X.min.js → revolugo.vcard.tpBOwKjl.min.js} +6 -6
- package/dist/{revolugo.vcheckboxbtn.CllPJG2d.min.js → revolugo.vcheckboxbtn.D8JwiBIN.min.js} +34 -34
- package/dist/{revolugo.vdialog.CkGXysfq.min.js → revolugo.vdialog.C7o9NZPt.min.js} +9 -9
- package/dist/{revolugo.vdivider.BdexbeXk.min.js → revolugo.vdivider.vE5KQvv6.min.js} +3 -3
- package/dist/{revolugo.vexpansionpanels.JpHsjrqt.min.js → revolugo.vexpansionpanels.CVMNz4gm.min.js} +6 -6
- package/dist/{revolugo.vform.Dt5OkLsK.min.js → revolugo.vform.AJwBPUfz.min.js} +4 -4
- package/dist/{revolugo.vicon.Xwi5lUjX.min.js → revolugo.vicon.D1UDvrDb.min.js} +18 -18
- package/dist/{revolugo.vinput.CD7lhK2w.min.js → revolugo.vinput.BCAbaTZh.min.js} +30 -30
- package/dist/{revolugo.vlabel.DiCV_YS8.min.js → revolugo.vlabel.Ca0XsFXf.min.js} +3 -3
- package/dist/{revolugo.vlist.DC7UsAn1.min.js → revolugo.vlist.DXlrNpl6.min.js} +36 -36
- package/dist/{revolugo.vmenu.DQ3XhScv.min.js → revolugo.vmenu.BWJdX_gM.min.js} +23 -23
- package/dist/{revolugo.vselect.BSFUUjXr.min.js → revolugo.vselect.DoahtCZB.min.js} +47 -47
- package/dist/{revolugo.vsheet.X1hpR7Ic.min.js → revolugo.vsheet.CNjDcqfr.min.js} +5 -5
- package/dist/{revolugo.vskeletonloader.JJ0gYYv-.min.js → revolugo.vskeletonloader.hCB6BK0m.min.js} +4 -4
- package/dist/{revolugo.vslidegroup.BiNeZDPG.min.js → revolugo.vslidegroup.CqlKNKTO.min.js} +31 -31
- package/dist/{revolugo.vsnackbar.CYzYDlHW.min.js → revolugo.vsnackbar.DeLxyEmM.min.js} +5 -5
- package/dist/revolugo.vspacer.YBuVsKID.min.js +7 -0
- package/dist/{revolugo.vtextarea.D_NTkzBX.min.js → revolugo.vtextarea.DuihgsVu.min.js} +8 -8
- package/dist/{revolugo.vtextfield.DkSiBN62.min.js → revolugo.vtextfield.Cu-Wacu0.min.js} +18 -18
- package/dist/{revolugo.vtoolbar.CsEhs-Fl.min.js → revolugo.vtoolbar.JtNZmNMv.min.js} +5 -5
- package/dist/{revolugo.vtooltip.DbyAYfTV.min.js → revolugo.vtooltip.Bi9BBHp7.min.js} +3 -3
- package/dist/{revolugo.vwindowitem.bEXafVUE.min.js → revolugo.vwindowitem.-4FOKaJh.min.js} +13 -13
- package/dist/{revolugo.watch-list.BSfnSWtB.min.js → revolugo.watch-list.gkXzTKi-.min.js} +2 -2
- package/dist/{revolugo.webcomponentwrapper.BA74s5EB.min.js → revolugo.webcomponentwrapper.CaLpHd-8.min.js} +295 -309
- 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,31 +1,31 @@
|
|
1
|
-
import { aj as
|
2
|
-
import { s as
|
3
|
-
import { u as
|
4
|
-
import { C as
|
5
|
-
import { B as
|
6
|
-
import { _ as
|
7
|
-
import { V as
|
8
|
-
import {
|
9
|
-
import { _ as
|
10
|
-
import { r as
|
11
|
-
import { u as
|
12
|
-
import { b as
|
13
|
-
import { V as
|
14
|
-
import { V as
|
15
|
-
import { B as
|
16
|
-
import { u as
|
17
|
-
import { V as
|
18
|
-
import { V as
|
19
|
-
import { _ as
|
20
|
-
import { V as
|
21
|
-
import { k as
|
1
|
+
import { aj as ft, k as F, by as W, H as f, bz as le, d as G, bA as Ut, bB as re, u as K, i as m, g as C, e as k, t as y, p as S, a as o, f as w, F as R, o as i, S as ue, O as L, M as ce, b as jt, c as O, w as a, j as E, r as q, a1 as lt, a2 as rt, a6 as dt, bC as de, aL as me, b5 as fe, D as z, m as be, l as pe, bD as ct, J as ht, K as gt, n as ke, h as ve, B as x, I as he, E as ge, bE as _t, q as kt, v as Ht, s as ye, C as yt, bF as Re, ah as Oe, bG as Rt, bH as Ce, aa as Ft, an as Be, af as et, aV as Se, ad as Ie, bI as we } from "./revolugo.index.wc.BCHUnn0S.min.js";
|
2
|
+
import { s as Pe } from "./revolugo.dates.CfHVQJZQ.min.js";
|
3
|
+
import { u as bt, h as _e } from "./revolugo.hotelroomofferrequestcreator.props.C9n8tnQ_.min.js";
|
4
|
+
import { C as He } from "./revolugo.cancellationpoliciesbadge.xdqO7vwM.min.js";
|
5
|
+
import { B as Bt, _ as Te } from "./revolugo.bpricesummaryskeleton.BfRhJn0l.min.js";
|
6
|
+
import { _ as ot, V as P, a as h, u as ut, l as Gt, B as St, d as Ve, q as Ee, s as Ae, b as Le, g as $e, e as De } from "./revolugo.webcomponentwrapper.CaLpHd-8.min.js";
|
7
|
+
import { V as J } from "./revolugo.vskeletonloader.hCB6BK0m.min.js";
|
8
|
+
import { _ as Wt, B as xt } from "./revolugo.bhotelroomsdetails.DiOyi4BS.min.js";
|
9
|
+
import { _ as mt, a as qe } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DkaYvlro.min.js";
|
10
|
+
import { r as ze, a as Me, e as Ne, L as Ue, s as je, m as Fe, V as Ge } from "./revolugo.index.D2vVqIxQ.min.js";
|
11
|
+
import { u as We, m as xe, V as Tt } from "./revolugo.vinput.BCAbaTZh.min.js";
|
12
|
+
import { b as Ye, c as Vt, V as Ke } from "./revolugo.vcheckboxbtn.D8JwiBIN.min.js";
|
13
|
+
import { V as st } from "./revolugo.vicon.D1UDvrDb.min.js";
|
14
|
+
import { V as It, a as nt, m as Ze } from "./revolugo.vbtn.CvXud-id.min.js";
|
15
|
+
import { B as vt } from "./revolugo.btag.BtWu_rm9.min.js";
|
16
|
+
import { u as Qe } from "./revolugo.use-breakpoint-service.DCvVngRD.min.js";
|
17
|
+
import { V as Je } from "./revolugo.vselect.DoahtCZB.min.js";
|
18
|
+
import { V as Xe } from "./revolugo.vlist.DXlrNpl6.min.js";
|
19
|
+
import { _ as to } from "./revolugo.cancellationpolicieslist.CHrqbou4.min.js";
|
20
|
+
import { V as Y } from "./revolugo.vdivider.vE5KQvv6.min.js";
|
21
|
+
import { k as eo, C as oo } from "./revolugo.case-transformers.JX35Ctwc.min.js";
|
22
22
|
/* empty css */
|
23
|
-
import { p as
|
24
|
-
import { d as
|
25
|
-
import { f as
|
26
|
-
import { V as
|
27
|
-
import { a as
|
28
|
-
function
|
23
|
+
import { p as ao } from "./revolugo.pathify.DDRySNIK.min.js";
|
24
|
+
import { d as so } from "./revolugo.defaultsdeep.BFuLbavJ.min.js";
|
25
|
+
import { f as no } from "./revolugo.forwardrefs.VVhh1qV3.min.js";
|
26
|
+
import { V as Et, m as io, a as At, b as lo } from "./revolugo.vwindowitem.-4FOKaJh.min.js";
|
27
|
+
import { a as Lt, m as ro } from "./revolugo.vslidegroup.CqlKNKTO.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 || {
|
@@ -45,42 +45,42 @@ function ne(t) {
|
|
45
45
|
console.error("[revolugo-elements] ", e);
|
46
46
|
}
|
47
47
|
}
|
48
|
-
function
|
48
|
+
function uo(t) {
|
49
49
|
return (t && t.split(",") || []).map(
|
50
50
|
(e) => Number.parseInt(e)
|
51
51
|
);
|
52
52
|
}
|
53
|
-
const
|
54
|
-
function
|
55
|
-
return t +
|
53
|
+
const co = 4;
|
54
|
+
function mo(t, e) {
|
55
|
+
return t + uo(e).reduce((n, s) => s >= co ? n + 1 : n, 0);
|
56
56
|
}
|
57
|
-
function
|
57
|
+
function fo(t, e) {
|
58
58
|
return e === void 0 ? Array.from({ length: t }, (n, s) => s) : Array.from({ length: e - t }, (n, s) => t + s);
|
59
59
|
}
|
60
|
-
function
|
61
|
-
const t =
|
62
|
-
() => e.value ===
|
60
|
+
function bo() {
|
61
|
+
const t = ft(), e = F(W.Idle), n = f(
|
62
|
+
() => e.value === W.BookingPoliciesFetched
|
63
63
|
), s = f(
|
64
|
-
() => e.value ===
|
64
|
+
() => e.value === W.Unavailable
|
65
65
|
), r = f(
|
66
|
-
() => e.value ===
|
66
|
+
() => e.value === W.FetchingBookingPolicies
|
67
67
|
);
|
68
68
|
async function p({
|
69
|
-
addBreakfast:
|
69
|
+
addBreakfast: c,
|
70
70
|
hotelId: l,
|
71
71
|
hotelRoomOfferId: b
|
72
72
|
}) {
|
73
|
-
e.value =
|
73
|
+
e.value = W.FetchingBookingPolicies;
|
74
74
|
try {
|
75
75
|
await t.createBookingPolicies({
|
76
|
-
addBreakfast:
|
76
|
+
addBreakfast: c,
|
77
77
|
hotelId: l,
|
78
78
|
hotelRoomOfferId: b
|
79
|
-
}), e.value =
|
80
|
-
e.value =
|
79
|
+
}), e.value = W.Unavailable, setTimeout(() => {
|
80
|
+
e.value = W.Idle;
|
81
81
|
}, 1.5 * 1e3);
|
82
82
|
} catch {
|
83
|
-
e.value =
|
83
|
+
e.value = W.Unavailable;
|
84
84
|
}
|
85
85
|
}
|
86
86
|
return {
|
@@ -91,7 +91,7 @@ function mo() {
|
|
91
91
|
isFetchingBookingPolicies: r
|
92
92
|
};
|
93
93
|
}
|
94
|
-
function
|
94
|
+
function po(t, e, n) {
|
95
95
|
if (!t)
|
96
96
|
return e;
|
97
97
|
const s = n || ((r) => r);
|
@@ -103,29 +103,31 @@ function fo(t, e, n) {
|
|
103
103
|
}
|
104
104
|
return s(t);
|
105
105
|
}
|
106
|
-
function
|
106
|
+
function ko({
|
107
107
|
cb: t,
|
108
108
|
fallbackValue: e,
|
109
109
|
prop: n
|
110
110
|
}) {
|
111
111
|
return f(() => {
|
112
|
-
const r =
|
113
|
-
return r &&
|
112
|
+
const r = po(le(n.value), e, t);
|
113
|
+
return r && so(structuredClone(r), e || {});
|
114
114
|
});
|
115
115
|
}
|
116
|
-
const
|
116
|
+
const vo = { class: "text-right" }, ho = {
|
117
117
|
key: 0,
|
118
118
|
class: "text-grey-darken-3"
|
119
|
-
},
|
119
|
+
}, go = { class: "text-h6 text-grey-darken-3 font-weight-black" }, yo = {
|
120
120
|
key: 1,
|
121
121
|
class: "my-0 text-caption text-grey-darken-3 d-block"
|
122
|
-
},
|
122
|
+
}, Ro = { class: "text-caption d-block" }, Yt = /* @__PURE__ */ G({
|
123
123
|
__name: "BPriceSummary",
|
124
124
|
props: {
|
125
125
|
adultCount: { default: 0 },
|
126
|
+
currency: { default: re.EUR },
|
126
127
|
hasBolderTextPrice: { type: Boolean, default: void 0 },
|
127
128
|
isTaxIncluded: { type: Boolean, default: void 0 },
|
128
129
|
isStartingPrice: { type: Boolean, default: void 0 },
|
130
|
+
locale: { default: Ut.fr_FR },
|
129
131
|
nightCount: { default: 1 },
|
130
132
|
price: {},
|
131
133
|
roomCount: { default: 1 },
|
@@ -133,39 +135,43 @@ const po = { class: "text-right" }, ko = {
|
|
133
135
|
taxIncludedPrice: { default: void 0 }
|
134
136
|
},
|
135
137
|
setup(t) {
|
136
|
-
const e = t, { t: n } =
|
137
|
-
return (r, p) => (i(), m("div",
|
138
|
-
r.isStartingPrice ? (i(), m("small",
|
139
|
-
k("b",
|
140
|
-
o(
|
138
|
+
const e = t, { t: n } = K(), s = f(() => e.nightCount <= 0 || e.roomCount <= 0 ? e.price : e.price / e.roomCount / e.nightCount);
|
139
|
+
return (r, p) => (i(), m("div", vo, [
|
140
|
+
r.isStartingPrice ? (i(), m("small", ho, y(S(n)("BPriceSummary.from")) + " ", 1)) : C("", !0),
|
141
|
+
k("b", go, [
|
142
|
+
o(mt, {
|
141
143
|
amount: s.value,
|
142
|
-
"round-mode": r.roundMode
|
143
|
-
|
144
|
+
"round-mode": r.roundMode,
|
145
|
+
currency: e.currency,
|
146
|
+
locale: e.locale
|
147
|
+
}, null, 8, ["amount", "round-mode", "currency", "locale"])
|
144
148
|
]),
|
145
|
-
(r.roomCount > 1 || r.nightCount > 1 || r.taxIncludedPrice !== r.price) && r.isTaxIncluded ? (i(), m("span",
|
149
|
+
(r.roomCount > 1 || r.nightCount > 1 || r.taxIncludedPrice !== r.price) && r.isTaxIncluded ? (i(), m("span", yo, [
|
146
150
|
k("b", null, [
|
147
|
-
o(
|
151
|
+
o(mt, {
|
148
152
|
amount: r.taxIncludedPrice,
|
149
|
-
"round-mode": r.roundMode
|
150
|
-
|
153
|
+
"round-mode": r.roundMode,
|
154
|
+
currency: e.currency,
|
155
|
+
locale: e.locale
|
156
|
+
}, null, 8, ["amount", "round-mode", "currency", "locale"])
|
151
157
|
]),
|
152
|
-
w(" " +
|
158
|
+
w(" " + y(S(n)("BPriceSummary.total")) + " " + y(S(n)("BPriceSummary.summary", {
|
153
159
|
rooms: S(n)("BPriceSummary.rooms", { n: r.roomCount })
|
154
160
|
})), 1)
|
155
161
|
])) : C("", !0),
|
156
|
-
k("span",
|
157
|
-
r.taxIncludedPrice || r.price ? (i(), m(
|
158
|
-
r.isTaxIncluded ? (i(), m(
|
159
|
-
w(
|
160
|
-
], 64)) : (i(), m(
|
161
|
-
w(
|
162
|
+
k("span", Ro, [
|
163
|
+
r.taxIncludedPrice || r.price ? (i(), m(R, { key: 0 }, [
|
164
|
+
r.isTaxIncluded ? (i(), m(R, { key: 0 }, [
|
165
|
+
w(y(S(n)("BPriceSummary.taxIncluded")), 1)
|
166
|
+
], 64)) : (i(), m(R, { key: 1 }, [
|
167
|
+
w(y(S(n)("BPriceSummary.taxNotIncluded")), 1)
|
162
168
|
], 64))
|
163
169
|
], 64)) : C("", !0)
|
164
170
|
])
|
165
171
|
]));
|
166
172
|
}
|
167
173
|
});
|
168
|
-
function
|
174
|
+
function $t(t) {
|
169
175
|
const e = t;
|
170
176
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
171
177
|
locale: "",
|
@@ -271,16 +277,16 @@ function At(t) {
|
|
271
277
|
}
|
272
278
|
});
|
273
279
|
}
|
274
|
-
typeof
|
275
|
-
const
|
276
|
-
function
|
280
|
+
typeof $t == "function" && $t(Yt);
|
281
|
+
const Ot = /* @__PURE__ */ ot(Yt, [["__scopeId", "data-v-e0d30623"]]);
|
282
|
+
function Oo(t, e) {
|
277
283
|
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
284
|
}
|
279
|
-
function
|
280
|
-
const e =
|
285
|
+
function Co(t) {
|
286
|
+
const e = bt(), n = Pe(
|
281
287
|
t.checkInDate,
|
282
288
|
t.checkOutDate
|
283
|
-
), s =
|
289
|
+
), s = F({
|
284
290
|
adultCount: t.adultCount,
|
285
291
|
checkInDate: n[0],
|
286
292
|
checkOutDate: n[1],
|
@@ -290,17 +296,17 @@ function Ro(t) {
|
|
290
296
|
sourceMarket: t.sourceMarket
|
291
297
|
}), r = f(
|
292
298
|
() => e.hotelRoomOfferRequest(t.hotelId)
|
293
|
-
), p =
|
299
|
+
), p = ue(
|
294
300
|
async function() {
|
295
|
-
const b = s.value,
|
296
|
-
t.hotelRoomOfferRequestId && t.hotelRoomOfferRequestId !==
|
301
|
+
const b = s.value, d = r.value;
|
302
|
+
t.hotelRoomOfferRequestId && t.hotelRoomOfferRequestId !== d?.id ? (await e.retrieveHotelRoomOfferRequest({
|
297
303
|
hotelId: b.hotelId,
|
298
304
|
hotelRoomOfferRequestId: t.hotelRoomOfferRequestId
|
299
|
-
}), (!
|
305
|
+
}), (!d || d.hasError) && await e.createHotelRoomOfferRequest(b)) : (!d || !d.id || d.hasError || !Oo(b, d)) && await e.createHotelRoomOfferRequest(b);
|
300
306
|
},
|
301
307
|
300
|
302
308
|
);
|
303
|
-
|
309
|
+
L(
|
304
310
|
() => {
|
305
311
|
const l = r.value;
|
306
312
|
return l ? [
|
@@ -324,7 +330,7 @@ function Ro(t) {
|
|
324
330
|
sourceMarket: l.sourceMarket
|
325
331
|
});
|
326
332
|
}
|
327
|
-
),
|
333
|
+
), L(
|
328
334
|
() => t.adultCount,
|
329
335
|
(l) => {
|
330
336
|
s.value = {
|
@@ -332,7 +338,7 @@ function Ro(t) {
|
|
332
338
|
adultCount: l
|
333
339
|
};
|
334
340
|
}
|
335
|
-
),
|
341
|
+
), L(
|
336
342
|
() => t.checkInDate,
|
337
343
|
(l) => {
|
338
344
|
s.value = {
|
@@ -340,7 +346,7 @@ function Ro(t) {
|
|
340
346
|
checkInDate: l
|
341
347
|
};
|
342
348
|
}
|
343
|
-
),
|
349
|
+
), L(
|
344
350
|
() => t.checkOutDate,
|
345
351
|
(l) => {
|
346
352
|
s.value = {
|
@@ -348,7 +354,7 @@ function Ro(t) {
|
|
348
354
|
checkOutDate: l
|
349
355
|
};
|
350
356
|
}
|
351
|
-
),
|
357
|
+
), L(
|
352
358
|
() => t.children,
|
353
359
|
(l) => {
|
354
360
|
s.value = {
|
@@ -356,7 +362,7 @@ function Ro(t) {
|
|
356
362
|
children: l ?? null
|
357
363
|
};
|
358
364
|
}
|
359
|
-
),
|
365
|
+
), L(
|
360
366
|
() => t.hotelId,
|
361
367
|
(l, b) => {
|
362
368
|
b && e.deleteHotelRoomOfferRequest(b), s.value = {
|
@@ -364,7 +370,7 @@ function Ro(t) {
|
|
364
370
|
hotelId: l
|
365
371
|
}, p();
|
366
372
|
}
|
367
|
-
),
|
373
|
+
), L(
|
368
374
|
() => t.roomCount,
|
369
375
|
(l) => {
|
370
376
|
s.value = {
|
@@ -372,7 +378,7 @@ function Ro(t) {
|
|
372
378
|
roomCount: l
|
373
379
|
};
|
374
380
|
}
|
375
|
-
),
|
381
|
+
), L(
|
376
382
|
() => t.sourceMarket,
|
377
383
|
(l) => {
|
378
384
|
s.value = {
|
@@ -381,19 +387,19 @@ function Ro(t) {
|
|
381
387
|
};
|
382
388
|
}
|
383
389
|
);
|
384
|
-
const
|
390
|
+
const c = () => {
|
385
391
|
e.resetHotelRoomOfferRequest(t.hotelId), p();
|
386
392
|
};
|
387
|
-
return
|
393
|
+
return L(
|
388
394
|
() => s.value,
|
389
395
|
() => {
|
390
396
|
p();
|
391
397
|
},
|
392
398
|
{ deep: !0, immediate: !0 }
|
393
|
-
),
|
394
|
-
() =>
|
399
|
+
), L(
|
400
|
+
() => ce(),
|
395
401
|
() => {
|
396
|
-
|
402
|
+
c();
|
397
403
|
},
|
398
404
|
{ immediate: !0 }
|
399
405
|
), {
|
@@ -401,25 +407,25 @@ function Ro(t) {
|
|
401
407
|
hotelRoomOfferRequestInternal: s
|
402
408
|
};
|
403
409
|
}
|
404
|
-
const
|
410
|
+
const Bo = G({
|
405
411
|
components: {
|
406
|
-
BPriceSummarySkeleton:
|
412
|
+
BPriceSummarySkeleton: Bt
|
407
413
|
},
|
408
|
-
mixins: [
|
414
|
+
mixins: [jt],
|
409
415
|
name: "HotelRoomOfferLayout",
|
410
416
|
props: {
|
411
417
|
boilerplate: { type: Boolean }
|
412
418
|
},
|
413
419
|
setup() {
|
414
|
-
const { t } =
|
420
|
+
const { t } = K();
|
415
421
|
return {
|
416
422
|
t
|
417
423
|
};
|
418
424
|
}
|
419
|
-
}),
|
420
|
-
function
|
421
|
-
const
|
422
|
-
return i(),
|
425
|
+
}), So = { class: "d-flex justify-end" };
|
426
|
+
function Io(t, e, n, s, r, p) {
|
427
|
+
const c = q("BPriceSummarySkeleton");
|
428
|
+
return i(), O(P, {
|
423
429
|
class: "px-2 py-3 pa-sm-4 px-md-3",
|
424
430
|
"no-gutters": ""
|
425
431
|
}, {
|
@@ -436,8 +442,8 @@ function Bo(t, e, n, s, r, p) {
|
|
436
442
|
default: a(() => [
|
437
443
|
o(h, { cols: "12" }, {
|
438
444
|
default: a(() => [
|
439
|
-
|
440
|
-
o(
|
445
|
+
E(t.$slots, "room-details", {}, () => [
|
446
|
+
o(J, {
|
441
447
|
boilerplate: t.boilerplate,
|
442
448
|
class: "mt-1",
|
443
449
|
height: "14px",
|
@@ -445,7 +451,7 @@ function Bo(t, e, n, s, r, p) {
|
|
445
451
|
type: "text",
|
446
452
|
width: "180px"
|
447
453
|
}, null, 8, ["boilerplate"]),
|
448
|
-
o(
|
454
|
+
o(J, {
|
449
455
|
boilerplate: t.boilerplate,
|
450
456
|
height: "12px",
|
451
457
|
tile: "",
|
@@ -463,14 +469,14 @@ function Bo(t, e, n, s, r, p) {
|
|
463
469
|
style: { gap: "0.3em" }
|
464
470
|
}, {
|
465
471
|
default: a(() => [
|
466
|
-
|
467
|
-
|
472
|
+
E(t.$slots, "breakfast-option-badge"),
|
473
|
+
E(t.$slots, "cancellation-policies")
|
468
474
|
]),
|
469
475
|
_: 3
|
470
476
|
}),
|
471
477
|
o(h, { cols: "12" }, {
|
472
478
|
default: a(() => [
|
473
|
-
|
479
|
+
E(t.$slots, "breakfast-option-switch")
|
474
480
|
]),
|
475
481
|
_: 3
|
476
482
|
})
|
@@ -488,16 +494,16 @@ function Bo(t, e, n, s, r, p) {
|
|
488
494
|
sm: "5"
|
489
495
|
}, {
|
490
496
|
default: a(() => [
|
491
|
-
|
492
|
-
|
493
|
-
o(
|
497
|
+
E(t.$slots, "package-type"),
|
498
|
+
E(t.$slots, "price-summary", {}, () => [
|
499
|
+
o(c, {
|
494
500
|
boilerplate: t.boilerplate,
|
495
501
|
class: "mt-2"
|
496
502
|
}, null, 8, ["boilerplate"])
|
497
503
|
]),
|
498
|
-
k("div",
|
499
|
-
|
500
|
-
o(
|
504
|
+
k("div", So, [
|
505
|
+
E(t.$slots, "action", {}, () => [
|
506
|
+
o(J, {
|
501
507
|
class: "mt-2",
|
502
508
|
boilerplate: t.boilerplate,
|
503
509
|
height: "28px",
|
@@ -514,7 +520,7 @@ function Bo(t, e, n, s, r, p) {
|
|
514
520
|
_: 3
|
515
521
|
});
|
516
522
|
}
|
517
|
-
const
|
523
|
+
const wt = /* @__PURE__ */ ot(Bo, [["render", Io]]), wo = rt({
|
518
524
|
indeterminate: Boolean,
|
519
525
|
inset: Boolean,
|
520
526
|
flat: Boolean,
|
@@ -522,12 +528,12 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
522
528
|
type: [Boolean, String],
|
523
529
|
default: !1
|
524
530
|
},
|
525
|
-
...
|
526
|
-
...
|
527
|
-
}, "VSwitch"),
|
531
|
+
...xe(),
|
532
|
+
...Ye()
|
533
|
+
}, "VSwitch"), Po = lt()({
|
528
534
|
name: "VSwitch",
|
529
535
|
inheritAttrs: !1,
|
530
|
-
props:
|
536
|
+
props: wo(),
|
531
537
|
emits: {
|
532
538
|
"update:focused": (t) => !0,
|
533
539
|
"update:modelValue": (t) => !0,
|
@@ -538,33 +544,33 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
538
544
|
attrs: n,
|
539
545
|
slots: s
|
540
546
|
} = e;
|
541
|
-
const r =
|
542
|
-
loaderClasses:
|
543
|
-
} =
|
547
|
+
const r = dt(t, "indeterminate"), p = dt(t, "modelValue"), {
|
548
|
+
loaderClasses: c
|
549
|
+
} = ze(t), {
|
544
550
|
isFocused: l,
|
545
551
|
focus: b,
|
546
|
-
blur:
|
547
|
-
} =
|
548
|
-
function
|
552
|
+
blur: d
|
553
|
+
} = We(t), I = F(), T = de && window.matchMedia("(forced-colors: active)").matches, v = f(() => typeof t.loading == "string" && t.loading !== "" ? t.loading : t.color), _ = me(), D = f(() => t.id || `switch-${_}`);
|
554
|
+
function Z() {
|
549
555
|
r.value && (r.value = !1);
|
550
556
|
}
|
551
|
-
function
|
552
|
-
|
557
|
+
function $(V) {
|
558
|
+
V.stopPropagation(), V.preventDefault(), I.value?.input?.click();
|
553
559
|
}
|
554
|
-
return
|
555
|
-
const [
|
556
|
-
return o(
|
560
|
+
return ut(() => {
|
561
|
+
const [V, U] = fe(n), M = Tt.filterProps(t), Q = Vt.filterProps(t);
|
562
|
+
return o(Tt, z({
|
557
563
|
class: ["v-switch", {
|
558
564
|
"v-switch--flat": t.flat
|
559
565
|
}, {
|
560
566
|
"v-switch--inset": t.inset
|
561
567
|
}, {
|
562
568
|
"v-switch--indeterminate": r.value
|
563
|
-
},
|
564
|
-
},
|
569
|
+
}, c.value, t.class]
|
570
|
+
}, V, M, {
|
565
571
|
modelValue: p.value,
|
566
572
|
"onUpdate:modelValue": (B) => p.value = B,
|
567
|
-
id:
|
573
|
+
id: D.value,
|
568
574
|
focused: l.value,
|
569
575
|
style: t.style
|
570
576
|
}), {
|
@@ -572,87 +578,87 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
572
578
|
default: (B) => {
|
573
579
|
let {
|
574
580
|
id: A,
|
575
|
-
messagesId:
|
576
|
-
isDisabled:
|
577
|
-
isReadonly:
|
578
|
-
isValid:
|
581
|
+
messagesId: j,
|
582
|
+
isDisabled: N,
|
583
|
+
isReadonly: it,
|
584
|
+
isValid: at
|
579
585
|
} = B;
|
580
|
-
const
|
586
|
+
const X = {
|
581
587
|
model: p,
|
582
|
-
isValid:
|
588
|
+
isValid: at
|
583
589
|
};
|
584
|
-
return o(
|
590
|
+
return o(Vt, z({
|
585
591
|
ref: I
|
586
|
-
},
|
592
|
+
}, Q, {
|
587
593
|
modelValue: p.value,
|
588
|
-
"onUpdate:modelValue": [(
|
594
|
+
"onUpdate:modelValue": [(u) => p.value = u, Z],
|
589
595
|
id: A.value,
|
590
|
-
"aria-describedby":
|
596
|
+
"aria-describedby": j.value,
|
591
597
|
type: "checkbox",
|
592
598
|
"aria-checked": r.value ? "mixed" : void 0,
|
593
|
-
disabled:
|
594
|
-
readonly:
|
599
|
+
disabled: N.value,
|
600
|
+
readonly: it.value,
|
595
601
|
onFocus: b,
|
596
|
-
onBlur:
|
597
|
-
},
|
602
|
+
onBlur: d
|
603
|
+
}, U), {
|
598
604
|
...s,
|
599
|
-
default: (
|
605
|
+
default: (u) => {
|
600
606
|
let {
|
601
|
-
backgroundColorClasses:
|
602
|
-
backgroundColorStyles:
|
603
|
-
} =
|
607
|
+
backgroundColorClasses: H,
|
608
|
+
backgroundColorStyles: g
|
609
|
+
} = u;
|
604
610
|
return o("div", {
|
605
|
-
class: ["v-switch__track", T ? void 0 :
|
606
|
-
style:
|
607
|
-
onClick:
|
611
|
+
class: ["v-switch__track", T ? void 0 : H.value],
|
612
|
+
style: g.value,
|
613
|
+
onClick: $
|
608
614
|
}, [s["track-true"] && o("div", {
|
609
615
|
key: "prepend",
|
610
616
|
class: "v-switch__track-true"
|
611
|
-
}, [s["track-true"](
|
617
|
+
}, [s["track-true"](X)]), s["track-false"] && o("div", {
|
612
618
|
key: "append",
|
613
619
|
class: "v-switch__track-false"
|
614
|
-
}, [s["track-false"](
|
620
|
+
}, [s["track-false"](X)])]);
|
615
621
|
},
|
616
|
-
input: (
|
622
|
+
input: (u) => {
|
617
623
|
let {
|
618
|
-
inputNode:
|
619
|
-
icon:
|
620
|
-
backgroundColorClasses:
|
621
|
-
backgroundColorStyles:
|
622
|
-
} =
|
623
|
-
return o(
|
624
|
+
inputNode: H,
|
625
|
+
icon: g,
|
626
|
+
backgroundColorClasses: tt,
|
627
|
+
backgroundColorStyles: ne
|
628
|
+
} = u;
|
629
|
+
return o(R, null, [H, o("div", {
|
624
630
|
class: ["v-switch__thumb", {
|
625
|
-
"v-switch__thumb--filled":
|
626
|
-
}, t.inset || T ? void 0 :
|
627
|
-
style: t.inset ? void 0 :
|
628
|
-
}, [s.thumb ? o(
|
631
|
+
"v-switch__thumb--filled": g || t.loading
|
632
|
+
}, t.inset || T ? void 0 : tt.value],
|
633
|
+
style: t.inset ? void 0 : ne.value
|
634
|
+
}, [s.thumb ? o(Me, {
|
629
635
|
defaults: {
|
630
636
|
VIcon: {
|
631
|
-
icon:
|
637
|
+
icon: g,
|
632
638
|
size: "x-small"
|
633
639
|
}
|
634
640
|
}
|
635
641
|
}, {
|
636
642
|
default: () => [s.thumb({
|
637
|
-
...
|
638
|
-
icon:
|
643
|
+
...X,
|
644
|
+
icon: g
|
639
645
|
})]
|
640
|
-
}) : o(
|
641
|
-
default: () => [t.loading ? o(
|
646
|
+
}) : o(Ne, null, {
|
647
|
+
default: () => [t.loading ? o(Ue, {
|
642
648
|
name: "v-switch",
|
643
649
|
active: !0,
|
644
|
-
color:
|
650
|
+
color: at.value === !1 ? void 0 : v.value
|
645
651
|
}, {
|
646
|
-
default: (
|
647
|
-
active:
|
648
|
-
color:
|
652
|
+
default: (pt) => s.loader ? s.loader(pt) : o(It, {
|
653
|
+
active: pt.isActive,
|
654
|
+
color: pt.color,
|
649
655
|
indeterminate: !0,
|
650
656
|
size: "16",
|
651
657
|
width: "2"
|
652
658
|
}, null)
|
653
|
-
}) :
|
654
|
-
key: String(
|
655
|
-
icon:
|
659
|
+
}) : g && o(st, {
|
660
|
+
key: String(g),
|
661
|
+
icon: g,
|
656
662
|
size: "x-small"
|
657
663
|
}, null)]
|
658
664
|
})])]);
|
@@ -662,9 +668,9 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
662
668
|
});
|
663
669
|
}), {};
|
664
670
|
}
|
665
|
-
}),
|
671
|
+
}), _o = { class: "text-caption ml-n3" }, Ho = { class: "mr-2" }, To = ["innerHTML"], Kt = /* @__PURE__ */ G({
|
666
672
|
__name: "BBreakfastSwitch",
|
667
|
-
props: /* @__PURE__ */
|
673
|
+
props: /* @__PURE__ */ be({
|
668
674
|
isLoading: { type: Boolean },
|
669
675
|
price: {},
|
670
676
|
currency: {}
|
@@ -674,16 +680,16 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
674
680
|
}),
|
675
681
|
emits: ["update:modelValue"],
|
676
682
|
setup(t) {
|
677
|
-
const { locale: e, t: n } =
|
678
|
-
() =>
|
683
|
+
const { locale: e, t: n } = K(), s = pe(t, "modelValue"), r = f(
|
684
|
+
() => qe({
|
679
685
|
amount: t.price,
|
680
686
|
currency: t.currency,
|
681
687
|
locale: e.value
|
682
688
|
})
|
683
689
|
);
|
684
|
-
return (p,
|
690
|
+
return (p, c) => (i(), O(Po, {
|
685
691
|
modelValue: s.value,
|
686
|
-
"onUpdate:modelValue":
|
692
|
+
"onUpdate:modelValue": c[0] || (c[0] = (l) => s.value = l),
|
687
693
|
class: "ma-0 pa-0 breakfast-switch d-inline-block",
|
688
694
|
density: "compact",
|
689
695
|
size: "small",
|
@@ -691,32 +697,32 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
691
697
|
loading: p.isLoading && "success"
|
692
698
|
}, {
|
693
699
|
label: a(() => [
|
694
|
-
k("div",
|
695
|
-
o(
|
700
|
+
k("div", _o, [
|
701
|
+
o(st, {
|
696
702
|
size: "12",
|
697
703
|
class: "ml-4 mr-2"
|
698
704
|
}, {
|
699
|
-
default: a(() =>
|
705
|
+
default: a(() => c[1] || (c[1] = [
|
700
706
|
w(" fas fa-coffee ")
|
701
707
|
])),
|
702
708
|
_: 1,
|
703
709
|
__: [1]
|
704
710
|
}),
|
705
|
-
|
706
|
-
k("span",
|
711
|
+
c[2] || (c[2] = w(" ")),
|
712
|
+
k("span", Ho, y(S(n)("BBreakfastSwitch.title")), 1),
|
707
713
|
k("span", {
|
708
714
|
innerHTML: S(n)("BBreakfastSwitch.price", { n: r.value }).replace(
|
709
715
|
/\s/gu,
|
710
716
|
" "
|
711
717
|
)
|
712
|
-
}, null, 8,
|
718
|
+
}, null, 8, To)
|
713
719
|
])
|
714
720
|
]),
|
715
721
|
_: 1
|
716
722
|
}, 8, ["modelValue", "loading"]));
|
717
723
|
}
|
718
724
|
});
|
719
|
-
function
|
725
|
+
function Dt(t) {
|
720
726
|
const e = t;
|
721
727
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
722
728
|
locale: "",
|
@@ -766,8 +772,8 @@ function $t(t) {
|
|
766
772
|
}
|
767
773
|
});
|
768
774
|
}
|
769
|
-
typeof
|
770
|
-
const
|
775
|
+
typeof Dt == "function" && Dt(Kt);
|
776
|
+
const Zt = /* @__PURE__ */ ot(Kt, [["__scopeId", "data-v-1e4b5568"]]), Vo = {
|
771
777
|
breakfastCount: {
|
772
778
|
type: Number
|
773
779
|
},
|
@@ -805,108 +811,110 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
805
811
|
tags: { type: Array },
|
806
812
|
taxIncludedPrice: { required: !0, type: Number },
|
807
813
|
type: { type: String }
|
808
|
-
},
|
814
|
+
}, Eo = { key: 0 }, Ao = {
|
809
815
|
class: "align-self-center d-flex flex-wrap",
|
810
816
|
style: { gap: "0.3em" }
|
811
|
-
},
|
817
|
+
}, Lo = {
|
812
818
|
class: "align-self-center d-inline-flex flex-wrap",
|
813
819
|
style: { gap: "0.3em" }
|
814
|
-
},
|
820
|
+
}, $o = { class: "text-caption" }, Do = { key: 0 }, qo = { key: 1 }, Qt = /* @__PURE__ */ G({
|
815
821
|
__name: "HotelRoomOfferItem",
|
816
|
-
props:
|
822
|
+
props: Vo,
|
817
823
|
emits: ["breakfast-change", "update:modelValue", "booking-policy-failed"],
|
818
824
|
setup(t, { emit: e }) {
|
819
|
-
const n = t, { t: s } =
|
825
|
+
const n = t, { t: s } = K(), { eventBus: r } = he(), p = e, c = F(
|
820
826
|
n.breakfastCount && n.breakfastCount > 0 || !1
|
821
827
|
);
|
822
|
-
|
828
|
+
L(c, (u) => {
|
823
829
|
p("breakfast-change", {
|
824
|
-
addBreakfast:
|
830
|
+
addBreakfast: u,
|
825
831
|
hotelId: n.hotelId,
|
826
832
|
id: n.id
|
827
833
|
});
|
828
834
|
});
|
829
|
-
const l =
|
835
|
+
const l = bt(), b = ft(), d = f(
|
830
836
|
() => l.hotelRoomOfferRequest(n.hotelId)
|
831
|
-
), I = f(() =>
|
832
|
-
() => n.count ?
|
837
|
+
), I = f(() => d.value?.adultCount), T = f(() => d.value?.checkInDate), v = f(
|
838
|
+
() => n.count ? fo(n.count + 1) : []
|
833
839
|
), _ = f(
|
834
840
|
() => b.hotelTimezone(n.hotelId)
|
835
|
-
),
|
841
|
+
), D = f(
|
836
842
|
() => l.nightCount(n.hotelId)
|
837
|
-
),
|
843
|
+
), Z = f(() => {
|
838
844
|
switch (n.packageType) {
|
839
|
-
case
|
845
|
+
case ct.Cheapest:
|
840
846
|
return "red";
|
841
|
-
case
|
842
|
-
case
|
847
|
+
case ct.BestMatch:
|
848
|
+
case ct.MatchingRoomCount:
|
843
849
|
return "purple";
|
844
|
-
case
|
850
|
+
case ct.Regular:
|
845
851
|
case void 0:
|
846
852
|
default:
|
847
853
|
return "";
|
848
854
|
}
|
849
|
-
}),
|
850
|
-
() => n.hotelRooms.reduce((
|
851
|
-
),
|
855
|
+
}), $ = f(
|
856
|
+
() => n.hotelRooms.reduce((u, H) => u + (H.count || 0), 0)
|
857
|
+
), V = f({
|
852
858
|
get() {
|
853
859
|
return n.modelValue;
|
854
860
|
},
|
855
|
-
set(
|
856
|
-
p("update:modelValue",
|
861
|
+
set(u) {
|
862
|
+
p("update:modelValue", u);
|
857
863
|
}
|
858
|
-
}),
|
859
|
-
() => n.tags?.filter((
|
860
|
-
),
|
861
|
-
() => n.tags?.filter((
|
864
|
+
}), U = f(
|
865
|
+
() => n.tags?.filter((u) => u.name.length > 30) || []
|
866
|
+
), M = f(
|
867
|
+
() => n.tags?.filter((u) => u.name.length < 30) || []
|
862
868
|
), {
|
863
|
-
bookingState:
|
869
|
+
bookingState: Q,
|
864
870
|
createBookingPolicy: B,
|
865
871
|
isBookingPoliciesSuccessful: A,
|
866
|
-
isBookingPoliciesUnavailable:
|
867
|
-
isFetchingBookingPolicies:
|
868
|
-
} =
|
869
|
-
|
870
|
-
|
872
|
+
isBookingPoliciesUnavailable: j,
|
873
|
+
isFetchingBookingPolicies: N
|
874
|
+
} = bo();
|
875
|
+
L(Q, (u) => {
|
876
|
+
u === W.Unavailable && p("booking-policy-failed", n.id);
|
871
877
|
});
|
872
|
-
async function
|
873
|
-
const
|
878
|
+
async function it() {
|
879
|
+
const u = {
|
874
880
|
...n,
|
875
881
|
currency: n.currency
|
876
882
|
};
|
877
|
-
r.$emit(
|
878
|
-
addBreakfast:
|
883
|
+
r.$emit(ge.HotelRoomOffersBtnClick, u), await B({
|
884
|
+
addBreakfast: c.value,
|
879
885
|
hotelId: n.hotelId,
|
880
886
|
hotelRoomOfferId: n.id
|
881
887
|
});
|
882
888
|
}
|
883
|
-
const
|
884
|
-
|
889
|
+
const at = F(null);
|
890
|
+
Qe(at);
|
891
|
+
const X = window.RevolugoElements.config.lang || Ut.fr_FR;
|
892
|
+
return (u, H) => (i(), m("div", {
|
885
893
|
class: "position-relative",
|
886
894
|
ref_key: "root",
|
887
|
-
ref:
|
895
|
+
ref: at
|
888
896
|
}, [
|
889
|
-
o(
|
897
|
+
o(wt, { key: "is-available" }, {
|
890
898
|
"room-details": a(() => [
|
891
|
-
o(
|
892
|
-
"hotel-rooms":
|
899
|
+
o(xt, {
|
900
|
+
"hotel-rooms": u.hotelRooms
|
893
901
|
}, null, 8, ["hotel-rooms"])
|
894
902
|
]),
|
895
903
|
"package-type": a(() => [
|
896
|
-
|
904
|
+
u.type === "PACKAGE" && u.packageType !== "REGULAR" ? (i(), O(vt, {
|
897
905
|
key: 0,
|
898
906
|
class: "mb-3",
|
899
|
-
color:
|
907
|
+
color: Z.value,
|
900
908
|
variant: "outlined"
|
901
909
|
}, {
|
902
910
|
description: a(() => [
|
903
|
-
w(
|
904
|
-
`HotelRoomOfferItem.packageTypes.${
|
911
|
+
w(y(S(s)(
|
912
|
+
`HotelRoomOfferItem.packageTypes.${u.packageType}.description`,
|
905
913
|
{ n: I.value }
|
906
914
|
)), 1)
|
907
915
|
]),
|
908
916
|
default: a(() => [
|
909
|
-
w(
|
917
|
+
w(y(S(s)(`HotelRoomOfferItem.packageTypes.${u.packageType}.title`, {
|
910
918
|
n: I.value
|
911
919
|
})) + " ", 1)
|
912
920
|
]),
|
@@ -914,65 +922,65 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
914
922
|
}, 8, ["color"])) : C("", !0)
|
915
923
|
]),
|
916
924
|
"cancellation-policies": a(() => [
|
917
|
-
o(
|
925
|
+
o(He, {
|
918
926
|
class: "mt-2",
|
919
|
-
"cancellation-policies":
|
927
|
+
"cancellation-policies": u.cancellationPolicies,
|
920
928
|
"check-in-date": T.value,
|
921
929
|
timezone: _.value
|
922
930
|
}, null, 8, ["cancellation-policies", "check-in-date", "timezone"])
|
923
931
|
]),
|
924
932
|
"breakfast-option-badge": a(() => [
|
925
|
-
o(
|
926
|
-
"breakfast-option":
|
927
|
-
breakfastCount:
|
933
|
+
o(Wt, {
|
934
|
+
"breakfast-option": u.breakfastCount && u.breakfastCount > 0 ? "INCLUDED" : u.breakfastOption,
|
935
|
+
breakfastCount: u.breakfastCount ?? void 0
|
928
936
|
}, null, 8, ["breakfast-option", "breakfastCount"])
|
929
937
|
]),
|
930
938
|
"breakfast-option-switch": a(() => [
|
931
|
-
|
932
|
-
o(
|
933
|
-
modelValue:
|
934
|
-
"onUpdate:modelValue": H[0] || (H[0] = (
|
939
|
+
u.type !== "HOTEL_ROOM" && u.breakfastOption === "OPTIONAL" ? (i(), m("div", Eo, [
|
940
|
+
o(Zt, {
|
941
|
+
modelValue: c.value,
|
942
|
+
"onUpdate:modelValue": H[0] || (H[0] = (g) => c.value = g),
|
935
943
|
class: "mt-3 pl-1",
|
936
|
-
currency:
|
937
|
-
"is-loading":
|
938
|
-
price:
|
944
|
+
currency: u.currency,
|
945
|
+
"is-loading": u.isLoading,
|
946
|
+
price: u.breakfastUnitPrice ?? 0
|
939
947
|
}, null, 8, ["modelValue", "currency", "is-loading", "price"])
|
940
948
|
])) : C("", !0)
|
941
949
|
]),
|
942
950
|
"big-tags": a(() => [
|
943
|
-
k("div",
|
944
|
-
(i(!0), m(
|
945
|
-
key:
|
946
|
-
color:
|
947
|
-
"pre-icon": `fa-${
|
948
|
-
"text-color":
|
949
|
-
"tooltip-content":
|
951
|
+
k("div", Ao, [
|
952
|
+
(i(!0), m(R, null, x(U.value, (g, tt) => (i(), O(vt, {
|
953
|
+
key: tt,
|
954
|
+
color: g.bg,
|
955
|
+
"pre-icon": `fa-${g.faIcon}`,
|
956
|
+
"text-color": g.color,
|
957
|
+
"tooltip-content": g.description
|
950
958
|
}, {
|
951
959
|
default: a(() => [
|
952
|
-
w(g
|
960
|
+
w(y(g.name), 1)
|
953
961
|
]),
|
954
962
|
_: 2
|
955
963
|
}, 1032, ["color", "pre-icon", "text-color", "tooltip-content"]))), 128))
|
956
964
|
])
|
957
965
|
]),
|
958
966
|
tags: a(() => [
|
959
|
-
k("div",
|
960
|
-
(i(!0), m(
|
961
|
-
key:
|
962
|
-
color:
|
963
|
-
"pre-icon": `fa-${
|
964
|
-
"text-color":
|
965
|
-
"tooltip-content":
|
967
|
+
k("div", Lo, [
|
968
|
+
(i(!0), m(R, null, x(M.value, (g, tt) => (i(), O(vt, {
|
969
|
+
key: tt,
|
970
|
+
color: g.bg,
|
971
|
+
"pre-icon": `fa-${g.faIcon}`,
|
972
|
+
"text-color": g.color,
|
973
|
+
"tooltip-content": g.description
|
966
974
|
}, {
|
967
975
|
default: a(() => [
|
968
|
-
w(g
|
976
|
+
w(y(g.name), 1)
|
969
977
|
]),
|
970
978
|
_: 2
|
971
979
|
}, 1032, ["color", "pre-icon", "text-color", "tooltip-content"]))), 128))
|
972
980
|
])
|
973
981
|
]),
|
974
982
|
"price-summary": a(() => [
|
975
|
-
|
983
|
+
u.type === "HOTEL_ROOM" ? (i(), m(R, { key: 0 }, [
|
976
984
|
o(P, {
|
977
985
|
class: "mt-md-8",
|
978
986
|
"no-gutters": ""
|
@@ -980,12 +988,12 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
980
988
|
default: a(() => [
|
981
989
|
o(h, null, {
|
982
990
|
default: a(() => [
|
983
|
-
o(
|
991
|
+
o(Ot, {
|
984
992
|
"adult-count": 1,
|
985
993
|
class: "text-right",
|
986
994
|
"is-tax-included": !1,
|
987
995
|
"night-count": 0,
|
988
|
-
price:
|
996
|
+
price: u.price,
|
989
997
|
"room-count": 0
|
990
998
|
}, null, 8, ["price"])
|
991
999
|
]),
|
@@ -1005,9 +1013,9 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
1005
1013
|
}, {
|
1006
1014
|
default: a(() => [
|
1007
1015
|
k("div", null, [
|
1008
|
-
o(
|
1009
|
-
modelValue:
|
1010
|
-
"onUpdate:modelValue": H[1] || (H[1] = (
|
1016
|
+
o(Je, {
|
1017
|
+
modelValue: V.value,
|
1018
|
+
"onUpdate:modelValue": H[1] || (H[1] = (g) => V.value = g),
|
1011
1019
|
class: "item-count mt-2",
|
1012
1020
|
density: "compact",
|
1013
1021
|
"hide-details": "",
|
@@ -1017,16 +1025,18 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
1017
1025
|
},
|
1018
1026
|
variant: "outlined"
|
1019
1027
|
}, {
|
1020
|
-
item: a(({ item:
|
1021
|
-
o(
|
1028
|
+
item: a(({ item: g, props: tt }) => [
|
1029
|
+
o(Xe, ke(ve(tt)), {
|
1022
1030
|
title: a(() => [
|
1023
|
-
k("span",
|
1024
|
-
w(g
|
1025
|
-
|
1031
|
+
k("span", $o, [
|
1032
|
+
w(y(g.raw) + " ", 1),
|
1033
|
+
g.raw ? (i(), m(R, { key: 0 }, [
|
1026
1034
|
H[2] || (H[2] = w(" (")),
|
1027
|
-
o(
|
1028
|
-
amount:
|
1029
|
-
|
1035
|
+
o(mt, {
|
1036
|
+
amount: g.raw * u.price,
|
1037
|
+
currency: n.currency,
|
1038
|
+
locale: S(X)
|
1039
|
+
}, null, 8, ["amount", "currency", "locale"]),
|
1030
1040
|
H[3] || (H[3] = w(") "))
|
1031
1041
|
], 64)) : C("", !0)
|
1032
1042
|
])
|
@@ -1043,47 +1053,47 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
1043
1053
|
]),
|
1044
1054
|
_: 1
|
1045
1055
|
})
|
1046
|
-
], 64)) : (i(),
|
1056
|
+
], 64)) : (i(), O(Ot, {
|
1047
1057
|
key: 1,
|
1048
1058
|
"adult-count": I.value,
|
1049
1059
|
class: "text-right",
|
1050
1060
|
"is-tax-included": "",
|
1051
|
-
"night-count":
|
1052
|
-
price:
|
1053
|
-
"room-count":
|
1061
|
+
"night-count": D.value ?? 0,
|
1062
|
+
price: u.price,
|
1063
|
+
"room-count": $.value,
|
1054
1064
|
"round-mode": "ceil",
|
1055
|
-
"tax-included-price":
|
1065
|
+
"tax-included-price": u.taxIncludedPrice
|
1056
1066
|
}, null, 8, ["adult-count", "night-count", "price", "room-count", "tax-included-price"]))
|
1057
1067
|
]),
|
1058
1068
|
action: a(() => [
|
1059
|
-
|
1069
|
+
u.type === "PACKAGE" ? (i(), O(nt, {
|
1060
1070
|
key: 0,
|
1061
1071
|
class: "text-none font-weight-bold book-btn w-100 w-sm-auto",
|
1062
1072
|
color: S(A) ? "success" : "primary",
|
1063
|
-
disabled: S(
|
1073
|
+
disabled: S(N) || S(j) || u.isLoading,
|
1064
1074
|
elevation: "0",
|
1065
|
-
loading: S(
|
1075
|
+
loading: S(N),
|
1066
1076
|
size: "small",
|
1067
|
-
onClick:
|
1077
|
+
onClick: it
|
1068
1078
|
}, {
|
1069
1079
|
default: a(() => [
|
1070
|
-
S(A) ? C("", !0) : (i(), m("span",
|
1071
|
-
|
1080
|
+
S(A) ? C("", !0) : (i(), m("span", Do, y(S(s)("HotelRoomOfferItem.book")), 1)),
|
1081
|
+
ht(o(st, { class: "position-absolute" }, {
|
1072
1082
|
default: a(() => H[4] || (H[4] = [
|
1073
1083
|
w(" fas fa-check ")
|
1074
1084
|
])),
|
1075
1085
|
_: 1,
|
1076
1086
|
__: [4]
|
1077
1087
|
}, 512), [
|
1078
|
-
[
|
1088
|
+
[gt, S(A)]
|
1079
1089
|
])
|
1080
1090
|
]),
|
1081
1091
|
_: 1
|
1082
|
-
}, 8, ["color", "disabled", "loading"])) : (i(), m("span",
|
1092
|
+
}, 8, ["color", "disabled", "loading"])) : (i(), m("span", qo))
|
1083
1093
|
]),
|
1084
1094
|
_: 1
|
1085
1095
|
}),
|
1086
|
-
|
1096
|
+
u.isLoading ? (i(), O(Gt, {
|
1087
1097
|
key: 0,
|
1088
1098
|
absolute: "",
|
1089
1099
|
class: "mx-n4",
|
@@ -1091,7 +1101,7 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
1091
1101
|
opacity: "0.75"
|
1092
1102
|
}, {
|
1093
1103
|
default: a(() => [
|
1094
|
-
o(
|
1104
|
+
o(It, {
|
1095
1105
|
color: "primary",
|
1096
1106
|
indeterminate: "",
|
1097
1107
|
size: "64"
|
@@ -1099,22 +1109,22 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
1099
1109
|
]),
|
1100
1110
|
_: 1
|
1101
1111
|
})) : C("", !0),
|
1102
|
-
S(
|
1112
|
+
S(j) || u.gone ? (i(), O(St, {
|
1103
1113
|
key: 1,
|
1104
1114
|
"margin-top": 16
|
1105
1115
|
}, {
|
1106
1116
|
title: a(() => [
|
1107
|
-
w(
|
1117
|
+
w(y(S(s)("HotelRoomOfferItem.unavailable.title")), 1)
|
1108
1118
|
]),
|
1109
1119
|
description: a(() => [
|
1110
|
-
w(
|
1120
|
+
w(y(S(s)("HotelRoomOfferItem.unavailable.description")), 1)
|
1111
1121
|
]),
|
1112
1122
|
_: 1
|
1113
1123
|
})) : C("", !0)
|
1114
1124
|
], 512));
|
1115
1125
|
}
|
1116
1126
|
});
|
1117
|
-
function
|
1127
|
+
function qt(t) {
|
1118
1128
|
const e = t;
|
1119
1129
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
1120
1130
|
locale: "",
|
@@ -1283,194 +1293,182 @@ function Lt(t) {
|
|
1283
1293
|
}
|
1284
1294
|
});
|
1285
1295
|
}
|
1286
|
-
typeof
|
1287
|
-
const
|
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
|
-
})
|
1296
|
+
typeof qt == "function" && qt(Qt);
|
1297
|
+
const Jt = /* @__PURE__ */ ot(Qt, [["__scopeId", "data-v-b0039666"]]), zo = { class: "text-subtitle-1 font-weight-black text-primary d-flex justify-end" }, Mo = { class: "text-caption d-flex justify-end py-2" }, No = { class: "mt-3 d-flex justify-start align-center" }, Uo = { class: "pt-4" }, jo = /* @__PURE__ */ G({
|
1298
|
+
__name: "BBasketSummaryLayout",
|
1299
|
+
setup(t) {
|
1300
|
+
return (e, n) => (i(), O(P, { class: "px-2" }, {
|
1301
|
+
default: a(() => [
|
1302
|
+
o(h, null, {
|
1303
|
+
default: a(() => [
|
1304
|
+
o(P, null, {
|
1305
|
+
default: a(() => [
|
1306
|
+
o(h, null, {
|
1307
|
+
default: a(() => [
|
1308
|
+
k("div", zo, [
|
1309
|
+
E(e.$slots, "title", {}, () => [
|
1310
|
+
o(J, {
|
1311
|
+
height: "18px",
|
1312
|
+
tile: "",
|
1313
|
+
type: "heading",
|
1314
|
+
width: "200px"
|
1315
|
+
})
|
1316
|
+
])
|
1318
1317
|
])
|
1319
|
-
])
|
1320
|
-
|
1321
|
-
|
1322
|
-
|
1318
|
+
]),
|
1319
|
+
_: 3
|
1320
|
+
})
|
1321
|
+
]),
|
1322
|
+
_: 3
|
1323
|
+
}),
|
1324
|
+
o(P, null, {
|
1325
|
+
default: a(() => [
|
1326
|
+
o(h, null, {
|
1327
|
+
default: a(() => [
|
1328
|
+
k("div", Mo, [
|
1329
|
+
E(e.$slots, "adult-count", {}, () => [
|
1330
|
+
o(J, {
|
1331
|
+
tile: "",
|
1332
|
+
type: "text",
|
1333
|
+
width: "150px"
|
1334
|
+
})
|
1335
|
+
])
|
1336
|
+
]),
|
1337
|
+
k("div", No, [
|
1338
|
+
E(e.$slots, "secondary-title", {}, () => [
|
1339
|
+
o(J, {
|
1340
|
+
height: "18px",
|
1341
|
+
tile: "",
|
1342
|
+
type: "heading",
|
1343
|
+
width: "150px"
|
1344
|
+
})
|
1345
|
+
])
|
1346
|
+
])
|
1347
|
+
]),
|
1348
|
+
_: 3
|
1349
|
+
})
|
1350
|
+
]),
|
1351
|
+
_: 3
|
1352
|
+
}),
|
1353
|
+
E(e.$slots, "hotel-rooms", {}, () => [
|
1354
|
+
k("div", Uo, [
|
1355
|
+
(i(), m(R, null, x(2, (s) => (i(), m(R, {
|
1356
|
+
key: `item-skeleton-${s}`
|
1357
|
+
}, [
|
1358
|
+
k("div", null, [
|
1359
|
+
o(P, { align: "center" }, {
|
1360
|
+
default: a(() => [
|
1361
|
+
o(h, { cols: "auto" }, {
|
1362
|
+
default: a(() => [
|
1363
|
+
o(Te, { boilerplate: "" })
|
1364
|
+
]),
|
1365
|
+
_: 1
|
1366
|
+
})
|
1367
|
+
]),
|
1368
|
+
_: 1
|
1369
|
+
})
|
1370
|
+
]),
|
1371
|
+
o(Y)
|
1372
|
+
], 64))), 64))
|
1373
|
+
])
|
1323
1374
|
]),
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1331
|
-
|
1332
|
-
|
1333
|
-
|
1334
|
-
|
1335
|
-
|
1336
|
-
|
1375
|
+
o(P, null, {
|
1376
|
+
default: a(() => [
|
1377
|
+
o(h, null, {
|
1378
|
+
default: a(() => [
|
1379
|
+
E(e.$slots, "breakfast-option")
|
1380
|
+
]),
|
1381
|
+
_: 3
|
1382
|
+
})
|
1383
|
+
]),
|
1384
|
+
_: 3
|
1385
|
+
}),
|
1386
|
+
o(P, { class: "mt-1" }, {
|
1387
|
+
default: a(() => [
|
1388
|
+
o(h, null, {
|
1389
|
+
default: a(() => [
|
1390
|
+
o(Y)
|
1391
|
+
]),
|
1392
|
+
_: 1
|
1393
|
+
})
|
1394
|
+
]),
|
1395
|
+
_: 1
|
1396
|
+
}),
|
1397
|
+
o(P, { "no-gutters": "" }, {
|
1398
|
+
default: a(() => [
|
1399
|
+
o(h, null, {
|
1400
|
+
default: a(() => [
|
1401
|
+
E(e.$slots, "price-summary", {}, () => [
|
1402
|
+
o(Bt)
|
1337
1403
|
])
|
1338
1404
|
]),
|
1339
|
-
|
1340
|
-
|
1341
|
-
|
1342
|
-
|
1405
|
+
_: 3
|
1406
|
+
})
|
1407
|
+
]),
|
1408
|
+
_: 3
|
1409
|
+
}),
|
1410
|
+
o(P, null, {
|
1411
|
+
default: a(() => [
|
1412
|
+
o(h, { class: "py-0" }, {
|
1413
|
+
default: a(() => [
|
1414
|
+
E(e.$slots, "errors")
|
1415
|
+
]),
|
1416
|
+
_: 3
|
1417
|
+
})
|
1418
|
+
]),
|
1419
|
+
_: 3
|
1420
|
+
}),
|
1421
|
+
o(P, null, {
|
1422
|
+
default: a(() => [
|
1423
|
+
o(h, { class: "pb-0" }, {
|
1424
|
+
default: a(() => [
|
1425
|
+
E(e.$slots, "button", {}, () => [
|
1426
|
+
o(J, {
|
1427
|
+
height: "38px",
|
1343
1428
|
tile: "",
|
1344
1429
|
type: "heading",
|
1345
|
-
width: "
|
1430
|
+
width: "100%"
|
1346
1431
|
})
|
1347
1432
|
])
|
1348
|
-
])
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1352
|
-
|
1353
|
-
|
1354
|
-
|
1355
|
-
|
1356
|
-
|
1357
|
-
|
1358
|
-
|
1359
|
-
|
1360
|
-
|
1361
|
-
|
1362
|
-
|
1363
|
-
o(h, { cols: "auto" }, {
|
1364
|
-
default: a(() => [
|
1365
|
-
o(u)
|
1366
|
-
]),
|
1367
|
-
_: 1
|
1433
|
+
]),
|
1434
|
+
_: 3
|
1435
|
+
})
|
1436
|
+
]),
|
1437
|
+
_: 3
|
1438
|
+
}),
|
1439
|
+
o(P, null, {
|
1440
|
+
default: a(() => [
|
1441
|
+
o(h, null, {
|
1442
|
+
default: a(() => [
|
1443
|
+
E(e.$slots, "cancellation-policies", {}, () => [
|
1444
|
+
o(J, {
|
1445
|
+
tile: "",
|
1446
|
+
type: "paragraph",
|
1447
|
+
width: "100%"
|
1368
1448
|
})
|
1369
|
-
])
|
1370
|
-
|
1371
|
-
|
1372
|
-
|
1373
|
-
|
1374
|
-
|
1375
|
-
|
1449
|
+
])
|
1450
|
+
]),
|
1451
|
+
_: 3
|
1452
|
+
})
|
1453
|
+
]),
|
1454
|
+
_: 3
|
1455
|
+
})
|
1376
1456
|
]),
|
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({
|
1457
|
+
_: 3
|
1458
|
+
})
|
1459
|
+
]),
|
1460
|
+
_: 3
|
1461
|
+
}));
|
1462
|
+
}
|
1463
|
+
}), Xt = G({
|
1466
1464
|
components: {
|
1467
1465
|
BBasketSummaryLayout: jo,
|
1468
|
-
BBreakfastOptionBadge:
|
1469
|
-
BBreakfastSwitch:
|
1470
|
-
BFormattedAmount:
|
1471
|
-
BHotelRoomsDetails:
|
1472
|
-
BPriceSummary:
|
1473
|
-
CancellationPoliciesList:
|
1466
|
+
BBreakfastOptionBadge: Wt,
|
1467
|
+
BBreakfastSwitch: Zt,
|
1468
|
+
BFormattedAmount: mt,
|
1469
|
+
BHotelRoomsDetails: xt,
|
1470
|
+
BPriceSummary: Ot,
|
1471
|
+
CancellationPoliciesList: to
|
1474
1472
|
},
|
1475
1473
|
emits: ["breakfast-change", "delete-room", "submit"],
|
1476
1474
|
name: "BBasketSummary",
|
@@ -1487,56 +1485,56 @@ const jo = /* @__PURE__ */ tt(Do, [["render", Uo]]), Qt = j({
|
|
1487
1485
|
isSuccessful: { type: Boolean }
|
1488
1486
|
},
|
1489
1487
|
setup(t, { emit: e }) {
|
1490
|
-
const n =
|
1488
|
+
const n = F(
|
1491
1489
|
t.hotelRoomOffer?.breakfastCount && t.hotelRoomOffer?.breakfastCount > 0 || !1
|
1492
1490
|
), s = f(
|
1493
1491
|
() => t.hotelRoomOffer?.breakfastOption
|
1494
1492
|
), r = f(
|
1495
|
-
() =>
|
1493
|
+
() => mo(t.adultCount, t.children)
|
1496
1494
|
), p = f(
|
1497
|
-
() => t.hotelRoomOffer.breakfastOption ===
|
1498
|
-
),
|
1499
|
-
() => t.hotelRoomOffer.breakfastOption ===
|
1495
|
+
() => t.hotelRoomOffer.breakfastOption === _t.Included
|
1496
|
+
), c = f(
|
1497
|
+
() => t.hotelRoomOffer.breakfastOption === _t.Optional
|
1500
1498
|
), l = f(
|
1501
1499
|
() => t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price > 0
|
1502
|
-
), b = f(() => !t.hotelRoomOffer || !t.checkOutDate || !t.checkInDate ? 0 :
|
1503
|
-
() =>
|
1500
|
+
), b = f(() => !t.hotelRoomOffer || !t.checkOutDate || !t.checkInDate ? 0 : kt(t.checkOutDate).diff(kt(t.checkInDate), "day")), d = f(
|
1501
|
+
() => Ht(t.hotelRoomOffer?.hotelRooms, "count")
|
1504
1502
|
), I = f(
|
1505
|
-
() =>
|
1506
|
-
|
1507
|
-
bookingDatetime:
|
1503
|
+
() => eo(
|
1504
|
+
ye({
|
1505
|
+
bookingDatetime: kt().format(),
|
1508
1506
|
cancellationPolicies: t.hotelRoomOffer?.cancellationPolicies,
|
1509
1507
|
checkInDate: t.checkInDate,
|
1510
1508
|
timezone: t.hotelTimezone
|
1511
1509
|
}),
|
1512
|
-
|
1510
|
+
oo.Camel
|
1513
1511
|
)
|
1514
1512
|
), T = f(
|
1515
|
-
() =>
|
1513
|
+
() => Ht(
|
1516
1514
|
t.hotelRoomOffer?.hotelRooms,
|
1517
1515
|
(_) => _.count * _.occupancy
|
1518
1516
|
)
|
1519
1517
|
);
|
1520
|
-
|
1518
|
+
L(n, (_) => {
|
1521
1519
|
e("breakfast-change", _);
|
1522
1520
|
});
|
1523
|
-
const { t: v } =
|
1521
|
+
const { t: v } = K();
|
1524
1522
|
return {
|
1525
1523
|
addBreakfast: n,
|
1526
1524
|
breakfastOption: s,
|
1527
1525
|
guestCount: r,
|
1528
1526
|
isBreakfastIncluded: p,
|
1529
|
-
isBreakfastOptionnal:
|
1527
|
+
isBreakfastOptionnal: c,
|
1530
1528
|
isTaxIncluded: l,
|
1531
1529
|
nightCount: b,
|
1532
|
-
roomCount:
|
1530
|
+
roomCount: d,
|
1533
1531
|
sanitizedCancellationPolicies: I,
|
1534
1532
|
t: v,
|
1535
1533
|
totalOccupancy: T
|
1536
1534
|
};
|
1537
1535
|
}
|
1538
1536
|
});
|
1539
|
-
function
|
1537
|
+
function zt(t) {
|
1540
1538
|
const e = t;
|
1541
1539
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
1542
1540
|
locale: "",
|
@@ -1675,9 +1673,9 @@ const Fo = { key: 0 }, Go = ["innerHTML"], Wo = { class: "font-weight-bold pb-2"
|
|
1675
1673
|
class: "text-caption pl-2"
|
1676
1674
|
}, Qo = { class: "text-caption" }, Jo = { class: "text-caption font-weight-bold text-center my-0 text-red rounded" }, Xo = { key: 0 }, ta = { key: 1 };
|
1677
1675
|
function ea(t, e, n, s, r, p) {
|
1678
|
-
const
|
1676
|
+
const c = q("BBasketSummaryLayout"), l = q("BHotelRoomsDetails"), b = q("BBreakfastOptionBadge"), d = q("BBreakfastSwitch"), I = q("BFormattedAmount"), T = q("BPriceSummary"), v = q("CancellationPoliciesList");
|
1679
1677
|
return i(), m("div", null, [
|
1680
|
-
t.isLoading ? (i(),
|
1678
|
+
t.isLoading ? (i(), O(Gt, {
|
1681
1679
|
key: 0,
|
1682
1680
|
absolute: "",
|
1683
1681
|
class: "mx-n3",
|
@@ -1685,7 +1683,7 @@ function ea(t, e, n, s, r, p) {
|
|
1685
1683
|
opacity: "0.75"
|
1686
1684
|
}, {
|
1687
1685
|
default: a(() => [
|
1688
|
-
o(
|
1686
|
+
o(It, {
|
1689
1687
|
color: "primary",
|
1690
1688
|
indeterminate: "",
|
1691
1689
|
size: "64"
|
@@ -1693,9 +1691,9 @@ function ea(t, e, n, s, r, p) {
|
|
1693
1691
|
]),
|
1694
1692
|
_: 1
|
1695
1693
|
})) : C("", !0),
|
1696
|
-
t.hotelRoomOffer ? (i(),
|
1694
|
+
t.hotelRoomOffer ? (i(), O(c, { key: "filled-up" }, {
|
1697
1695
|
title: a(() => [
|
1698
|
-
k("span", null,
|
1696
|
+
k("span", null, y(t.t("BBasketSummary.title")), 1)
|
1699
1697
|
]),
|
1700
1698
|
"adult-count": a(() => [
|
1701
1699
|
k("span", {
|
@@ -1703,11 +1701,11 @@ function ea(t, e, n, s, r, p) {
|
|
1703
1701
|
}, null, 8, Go)
|
1704
1702
|
]),
|
1705
1703
|
"secondary-title": a(() => [
|
1706
|
-
k("span", Wo,
|
1704
|
+
k("span", Wo, y(t.t("BBasketSummary.yourSelection")), 1)
|
1707
1705
|
]),
|
1708
1706
|
"hotel-rooms": a(() => [
|
1709
|
-
(i(!0), m(
|
1710
|
-
key: `room-${
|
1707
|
+
(i(!0), m(R, null, x(t.hotelRoomOffer.hotelRooms, (_, D) => (i(), m("div", {
|
1708
|
+
key: `room-${D}`
|
1711
1709
|
}, [
|
1712
1710
|
o(P, null, {
|
1713
1711
|
default: a(() => [
|
@@ -1717,23 +1715,23 @@ function ea(t, e, n, s, r, p) {
|
|
1717
1715
|
}, {
|
1718
1716
|
default: a(() => [
|
1719
1717
|
o(l, {
|
1720
|
-
class:
|
1721
|
-
"mt-n4":
|
1718
|
+
class: yt({
|
1719
|
+
"mt-n4": D >= 1
|
1722
1720
|
}),
|
1723
1721
|
"hotel-rooms": [_]
|
1724
1722
|
}, null, 8, ["class", "hotel-rooms"]),
|
1725
|
-
o(
|
1726
|
-
class:
|
1727
|
-
"mt-n4":
|
1723
|
+
o(nt, {
|
1724
|
+
class: yt({
|
1725
|
+
"mt-n4": D >= 1
|
1728
1726
|
}),
|
1729
1727
|
color: "red",
|
1730
1728
|
icon: "",
|
1731
1729
|
variant: "text",
|
1732
1730
|
size: "small",
|
1733
|
-
onClick: (
|
1731
|
+
onClick: (Z) => t.$emit("delete-room", _)
|
1734
1732
|
}, {
|
1735
1733
|
default: a(() => [
|
1736
|
-
o(
|
1734
|
+
o(st, null, {
|
1737
1735
|
default: a(() => e[7] || (e[7] = [
|
1738
1736
|
w("fas fa-times")
|
1739
1737
|
])),
|
@@ -1752,7 +1750,7 @@ function ea(t, e, n, s, r, p) {
|
|
1752
1750
|
]))), 128))
|
1753
1751
|
]),
|
1754
1752
|
"breakfast-option": a(() => [
|
1755
|
-
t.breakfastOption ? (i(), m(
|
1753
|
+
t.breakfastOption ? (i(), m(R, { key: 0 }, [
|
1756
1754
|
o(P, { "no-gutters": "" }, {
|
1757
1755
|
default: a(() => [
|
1758
1756
|
o(h, null, {
|
@@ -1768,7 +1766,7 @@ function ea(t, e, n, s, r, p) {
|
|
1768
1766
|
]),
|
1769
1767
|
_: 1
|
1770
1768
|
}),
|
1771
|
-
t.isBreakfastOptionnal ? (i(),
|
1769
|
+
t.isBreakfastOptionnal ? (i(), O(P, {
|
1772
1770
|
key: 0,
|
1773
1771
|
class: "mt-2",
|
1774
1772
|
"no-gutters": ""
|
@@ -1776,7 +1774,7 @@ function ea(t, e, n, s, r, p) {
|
|
1776
1774
|
default: a(() => [
|
1777
1775
|
o(h, { class: "mb-2 mt-xl-0" }, {
|
1778
1776
|
default: a(() => [
|
1779
|
-
o(
|
1777
|
+
o(d, {
|
1780
1778
|
modelValue: t.addBreakfast,
|
1781
1779
|
"onUpdate:modelValue": e[0] || (e[0] = (_) => t.addBreakfast = _),
|
1782
1780
|
currency: t.currency,
|
@@ -1792,7 +1790,7 @@ function ea(t, e, n, s, r, p) {
|
|
1792
1790
|
], 64)) : C("", !0)
|
1793
1791
|
]),
|
1794
1792
|
"price-summary": a(() => [
|
1795
|
-
k("p", xo,
|
1793
|
+
k("p", xo, y(t.t("BBasketSummary.priceDetails")), 1),
|
1796
1794
|
o(P, {
|
1797
1795
|
"no-gutters": "",
|
1798
1796
|
class: "mt-1"
|
@@ -1800,10 +1798,10 @@ function ea(t, e, n, s, r, p) {
|
|
1800
1798
|
default: a(() => [
|
1801
1799
|
o(h, null, {
|
1802
1800
|
default: a(() => [
|
1803
|
-
k("p", Yo,
|
1801
|
+
k("p", Yo, y(t.t("BBasketSummary.roomCount", {
|
1804
1802
|
n: t.roomCount,
|
1805
1803
|
value: t.roomCount
|
1806
|
-
})) + " x " +
|
1804
|
+
})) + " x " + y(t.t("BBasketSummary.nightCount", {
|
1807
1805
|
n: t.nightCount,
|
1808
1806
|
value: t.nightCount
|
1809
1807
|
})), 1)
|
@@ -1830,7 +1828,7 @@ function ea(t, e, n, s, r, p) {
|
|
1830
1828
|
default: a(() => [
|
1831
1829
|
o(h, null, {
|
1832
1830
|
default: a(() => [
|
1833
|
-
t.hotelRoomOffer.breakfastCount ? (i(), m("small", Zo,
|
1831
|
+
t.hotelRoomOffer.breakfastCount ? (i(), m("small", Zo, y(t.t("BBasketSummary.breakfastIncluded", {
|
1834
1832
|
n: t.hotelRoomOffer.breakfastCount,
|
1835
1833
|
value: t.hotelRoomOffer.breakfastCount
|
1836
1834
|
})), 1)) : C("", !0)
|
@@ -1840,7 +1838,7 @@ function ea(t, e, n, s, r, p) {
|
|
1840
1838
|
]),
|
1841
1839
|
_: 1
|
1842
1840
|
}),
|
1843
|
-
t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price > 0 ? (i(),
|
1841
|
+
t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price > 0 ? (i(), O(P, {
|
1844
1842
|
key: 0,
|
1845
1843
|
"no-gutters": "",
|
1846
1844
|
class: "mt-2 color-black"
|
@@ -1892,7 +1890,7 @@ function ea(t, e, n, s, r, p) {
|
|
1892
1890
|
})
|
1893
1891
|
]),
|
1894
1892
|
errors: a(() => [
|
1895
|
-
t.totalOccupancy && t.totalOccupancy < t.guestCount ? (i(),
|
1893
|
+
t.totalOccupancy && t.totalOccupancy < t.guestCount ? (i(), O(Ke, {
|
1896
1894
|
key: 0,
|
1897
1895
|
class: "mb-0",
|
1898
1896
|
color: "red",
|
@@ -1900,7 +1898,7 @@ function ea(t, e, n, s, r, p) {
|
|
1900
1898
|
variant: "outlined"
|
1901
1899
|
}, {
|
1902
1900
|
default: a(() => [
|
1903
|
-
k("p", Jo,
|
1901
|
+
k("p", Jo, y(t.t("BBasketSummary.occupancyWarning", {
|
1904
1902
|
guestCount: t.guestCount
|
1905
1903
|
})), 1)
|
1906
1904
|
]),
|
@@ -1908,7 +1906,7 @@ function ea(t, e, n, s, r, p) {
|
|
1908
1906
|
})) : C("", !0)
|
1909
1907
|
]),
|
1910
1908
|
button: a(() => [
|
1911
|
-
o(
|
1909
|
+
o(nt, {
|
1912
1910
|
block: "",
|
1913
1911
|
class: "text-none font-weight-bold",
|
1914
1912
|
color: t.isSuccessful ? "success" : "primary",
|
@@ -1917,22 +1915,22 @@ function ea(t, e, n, s, r, p) {
|
|
1917
1915
|
onClick: e[1] || (e[1] = (_) => t.$emit("submit"))
|
1918
1916
|
}, {
|
1919
1917
|
default: a(() => [
|
1920
|
-
t.isSuccessful ? C("", !0) : (i(), m("span", Xo,
|
1921
|
-
|
1918
|
+
t.isSuccessful ? C("", !0) : (i(), m("span", Xo, y(t.t("BBasketSummary.book")), 1)),
|
1919
|
+
ht(o(st, { class: "position-absolute" }, {
|
1922
1920
|
default: a(() => e[10] || (e[10] = [
|
1923
1921
|
w(" fas fa-check ")
|
1924
1922
|
])),
|
1925
1923
|
_: 1,
|
1926
1924
|
__: [10]
|
1927
1925
|
}, 512), [
|
1928
|
-
[
|
1926
|
+
[gt, t.isSuccessful]
|
1929
1927
|
])
|
1930
1928
|
]),
|
1931
1929
|
_: 1
|
1932
1930
|
}, 8, ["color", "disabled", "loading"])
|
1933
1931
|
]),
|
1934
1932
|
"cancellation-policies": a(() => [
|
1935
|
-
t.hotelRoomOffer && t.hotelRoomOffer.cancellationPolicies.length ? (i(),
|
1933
|
+
t.hotelRoomOffer && t.hotelRoomOffer.cancellationPolicies.length ? (i(), O(v, {
|
1936
1934
|
key: 0,
|
1937
1935
|
"cancellation-policies": t.sanitizedCancellationPolicies,
|
1938
1936
|
"check-in-date": t.checkInDate,
|
@@ -1941,12 +1939,12 @@ function ea(t, e, n, s, r, p) {
|
|
1941
1939
|
}, null, 8, ["cancellation-policies", "check-in-date", "timezone"])) : (i(), m("span", ta))
|
1942
1940
|
]),
|
1943
1941
|
_: 1
|
1944
|
-
})) : (i(),
|
1942
|
+
})) : (i(), O(c, { key: "empty" }, {
|
1945
1943
|
title: a(() => [
|
1946
|
-
k("span", null,
|
1944
|
+
k("span", null, y(t.t("BBasketSummary.title")), 1)
|
1947
1945
|
]),
|
1948
1946
|
"adult-count": a(() => [
|
1949
|
-
w(
|
1947
|
+
w(y(t.t("BBasketSummary.noSelection")), 1)
|
1950
1948
|
]),
|
1951
1949
|
"secondary-title": a(() => e[2] || (e[2] = [
|
1952
1950
|
k("span", null, null, -1)
|
@@ -1958,21 +1956,21 @@ function ea(t, e, n, s, r, p) {
|
|
1958
1956
|
k("span", null, null, -1)
|
1959
1957
|
])),
|
1960
1958
|
button: a(() => [
|
1961
|
-
o(
|
1959
|
+
o(nt, {
|
1962
1960
|
block: "",
|
1963
1961
|
class: "text-none font-weight-bold",
|
1964
1962
|
disabled: ""
|
1965
1963
|
}, {
|
1966
1964
|
default: a(() => [
|
1967
|
-
t.isSuccessful ? C("", !0) : (i(), m("span", Fo,
|
1968
|
-
|
1965
|
+
t.isSuccessful ? C("", !0) : (i(), m("span", Fo, y(t.t("BBasketSummary.book")), 1)),
|
1966
|
+
ht(o(st, { class: "position-absolute" }, {
|
1969
1967
|
default: a(() => e[5] || (e[5] = [
|
1970
1968
|
w(" fas fa-check ")
|
1971
1969
|
])),
|
1972
1970
|
_: 1,
|
1973
1971
|
__: [5]
|
1974
1972
|
}, 512), [
|
1975
|
-
[
|
1973
|
+
[gt, t.isSuccessful]
|
1976
1974
|
])
|
1977
1975
|
]),
|
1978
1976
|
_: 1
|
@@ -1985,20 +1983,20 @@ function ea(t, e, n, s, r, p) {
|
|
1985
1983
|
}))
|
1986
1984
|
]);
|
1987
1985
|
}
|
1988
|
-
typeof
|
1989
|
-
const oa = /* @__PURE__ */
|
1986
|
+
typeof zt == "function" && zt(Xt);
|
1987
|
+
const oa = /* @__PURE__ */ ot(Xt, [["render", ea]]), aa = {
|
1990
1988
|
hotelId: {
|
1991
1989
|
required: !0,
|
1992
1990
|
type: String
|
1993
1991
|
}
|
1994
|
-
}, sa =
|
1992
|
+
}, sa = G({
|
1995
1993
|
components: {
|
1996
1994
|
BBasketSummary: oa,
|
1997
|
-
HotelRoomOfferItem:
|
1998
|
-
HotelRoomOfferItemLayout:
|
1995
|
+
HotelRoomOfferItem: Jt,
|
1996
|
+
HotelRoomOfferItemLayout: wt
|
1999
1997
|
},
|
2000
1998
|
computed: {
|
2001
|
-
...
|
1999
|
+
...Oe(bt, ft),
|
2002
2000
|
adultCount() {
|
2003
2001
|
return this.hotelRoomOfferRequest?.adultCount;
|
2004
2002
|
},
|
@@ -2016,7 +2014,7 @@ const oa = /* @__PURE__ */ tt(Qt, [["render", ea]]), aa = {
|
|
2016
2014
|
"hotelRoomOffers/hotelRoomOffers",
|
2017
2015
|
this.hotelId
|
2018
2016
|
)?.offers?.filter(
|
2019
|
-
(t) => t.type ===
|
2017
|
+
(t) => t.type === Rt.HotelRoom
|
2020
2018
|
) || null;
|
2021
2019
|
},
|
2022
2020
|
hotelTimezone() {
|
@@ -2081,11 +2079,11 @@ const oa = /* @__PURE__ */ tt(Qt, [["render", ea]]), aa = {
|
|
2081
2079
|
}), await this.createHotelRoomOfferPackage(), this.isLoading = !1);
|
2082
2080
|
}
|
2083
2081
|
},
|
2084
|
-
mixins: [
|
2082
|
+
mixins: [Re, ao()],
|
2085
2083
|
name: "HotelRoomOfferBasket",
|
2086
2084
|
props: aa,
|
2087
2085
|
setup() {
|
2088
|
-
const { t } =
|
2086
|
+
const { t } = K();
|
2089
2087
|
return {
|
2090
2088
|
t
|
2091
2089
|
};
|
@@ -2117,25 +2115,25 @@ const oa = /* @__PURE__ */ tt(Qt, [["render", ea]]), aa = {
|
|
2117
2115
|
}
|
2118
2116
|
});
|
2119
2117
|
function na(t, e, n, s, r, p) {
|
2120
|
-
const
|
2121
|
-
return i(),
|
2118
|
+
const c = q("HotelRoomOfferItem"), l = q("BBasketSummary");
|
2119
|
+
return i(), O(P, { "no-gutters": "" }, {
|
2122
2120
|
default: a(() => [
|
2123
2121
|
o(h, {
|
2124
2122
|
cols: "12",
|
2125
2123
|
md: "8"
|
2126
2124
|
}, {
|
2127
2125
|
default: a(() => [
|
2128
|
-
t.hotelRoomOffers.length && t.basketContent.length ? (i(!0), m(
|
2129
|
-
|
2130
|
-
o(
|
2131
|
-
modelValue: t.basketContent[
|
2132
|
-
"onUpdate:modelValue": (I) => t.basketContent[
|
2126
|
+
t.hotelRoomOffers.length && t.basketContent.length ? (i(!0), m(R, { key: 0 }, x(t.hotelRoomOffers, (b, d) => (i(), m(R, null, [
|
2127
|
+
d > 0 ? (i(), O(Y, { key: 0 })) : C("", !0),
|
2128
|
+
o(c, z({
|
2129
|
+
modelValue: t.basketContent[d].count,
|
2130
|
+
"onUpdate:modelValue": (I) => t.basketContent[d].count = I
|
2133
2131
|
}, { ref_for: !0 }, b), null, 16, ["modelValue", "onUpdate:modelValue"])
|
2134
2132
|
], 64))), 256)) : C("", !0)
|
2135
2133
|
]),
|
2136
2134
|
_: 1
|
2137
2135
|
}),
|
2138
|
-
o(
|
2136
|
+
o(Y, {
|
2139
2137
|
class: "d-none d-md-block",
|
2140
2138
|
vertical: ""
|
2141
2139
|
}),
|
@@ -2145,8 +2143,8 @@ function na(t, e, n, s, r, p) {
|
|
2145
2143
|
md: "4"
|
2146
2144
|
}, {
|
2147
2145
|
default: a(() => [
|
2148
|
-
o(
|
2149
|
-
o(l,
|
2146
|
+
o(Y, { class: "d-block d-md-none my-2" }),
|
2147
|
+
o(l, z(t.newCreatedPackage, {
|
2150
2148
|
"adult-count": t.adultCount,
|
2151
2149
|
"hotel-timezone": t.hotelTimezone,
|
2152
2150
|
"is-loading": t.isLoading,
|
@@ -2163,42 +2161,22 @@ function na(t, e, n, s, r, p) {
|
|
2163
2161
|
_: 1
|
2164
2162
|
});
|
2165
2163
|
}
|
2166
|
-
const ia = /* @__PURE__ */
|
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({
|
2164
|
+
const ia = /* @__PURE__ */ ot(sa, [["render", na], ["__scopeId", "data-v-ee0e3c98"]]), la = G({
|
2187
2165
|
components: {
|
2188
|
-
BPriceSummarySkeleton:
|
2166
|
+
BPriceSummarySkeleton: Bt
|
2189
2167
|
},
|
2190
|
-
mixins: [
|
2168
|
+
mixins: [jt],
|
2191
2169
|
name: "HotelRoomOfferLayout",
|
2192
2170
|
props: {
|
2193
2171
|
boilerplate: { type: Boolean }
|
2194
2172
|
},
|
2195
2173
|
setup() {
|
2196
|
-
const { t } =
|
2174
|
+
const { t } = K();
|
2197
2175
|
return {
|
2198
2176
|
t
|
2199
2177
|
};
|
2200
2178
|
}
|
2201
|
-
}),
|
2179
|
+
}), te = /* @__PURE__ */ G({
|
2202
2180
|
__name: "HotelRoomOfferListEmpty",
|
2203
2181
|
props: {
|
2204
2182
|
boilerplateSkeleton: { type: Boolean },
|
@@ -2206,28 +2184,32 @@ const ia = /* @__PURE__ */ tt(sa, [["render", na], ["__scopeId", "data-v-ee0e3c9
|
|
2206
2184
|
type: {}
|
2207
2185
|
},
|
2208
2186
|
setup(t) {
|
2209
|
-
const { t: e } =
|
2187
|
+
const { t: e } = K();
|
2210
2188
|
return (n, s) => (i(), m("div", null, [
|
2211
|
-
(i(!0), m(
|
2212
|
-
r > 1 ? (i(),
|
2213
|
-
o(S(
|
2189
|
+
(i(!0), m(R, null, x(n.itemCount, (r) => (i(), m(R, { key: r }, [
|
2190
|
+
r > 1 ? (i(), O(Y, { key: 0 })) : C("", !0),
|
2191
|
+
o(S(la), {
|
2214
2192
|
boilerplate: n.boilerplateSkeleton,
|
2215
|
-
class:
|
2193
|
+
class: yt({ "mt-0": r === 1, "mb-0": r === 3 })
|
2216
2194
|
}, null, 8, ["boilerplate", "class"])
|
2217
2195
|
], 64))), 128)),
|
2218
|
-
n.type ? (i(),
|
2196
|
+
n.type ? (i(), O(St, {
|
2197
|
+
key: 0,
|
2198
|
+
"min-height": "300px",
|
2199
|
+
"z-index": 50
|
2200
|
+
}, {
|
2219
2201
|
title: a(() => [
|
2220
|
-
w(
|
2202
|
+
w(y(S(e)(`HotelRoomOfferListEmpty.${n.type}.title`)), 1)
|
2221
2203
|
]),
|
2222
2204
|
description: a(() => [
|
2223
|
-
w(
|
2205
|
+
w(y(S(e)(`HotelRoomOfferListEmpty.${n.type}.description`)), 1)
|
2224
2206
|
]),
|
2225
2207
|
_: 1
|
2226
2208
|
})) : C("", !0)
|
2227
2209
|
]));
|
2228
2210
|
}
|
2229
2211
|
});
|
2230
|
-
function
|
2212
|
+
function Mt(t) {
|
2231
2213
|
const e = t;
|
2232
2214
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
2233
2215
|
locale: "",
|
@@ -2347,62 +2329,62 @@ function qt(t) {
|
|
2347
2329
|
}
|
2348
2330
|
});
|
2349
2331
|
}
|
2350
|
-
typeof
|
2351
|
-
const
|
2332
|
+
typeof Mt == "function" && Mt(te);
|
2333
|
+
const ee = {
|
2352
2334
|
OnlyMatchingRoomCount: !1
|
2353
|
-
},
|
2354
|
-
...
|
2335
|
+
}, ra = {
|
2336
|
+
..._e,
|
2355
2337
|
features: {
|
2356
|
-
default: () =>
|
2338
|
+
default: () => ee,
|
2357
2339
|
type: [Object, String]
|
2358
2340
|
},
|
2359
2341
|
limit: {
|
2360
2342
|
default: () => 0,
|
2361
2343
|
type: Number
|
2362
2344
|
}
|
2363
|
-
},
|
2345
|
+
}, oe = G({
|
2364
2346
|
components: {
|
2365
|
-
BErrorOverlay:
|
2347
|
+
BErrorOverlay: St,
|
2366
2348
|
HotelRoomOfferBasket: ia,
|
2367
|
-
HotelRoomOfferItem:
|
2368
|
-
HotelRoomOfferItemLayout:
|
2369
|
-
HotelRoomOfferListEmpty:
|
2349
|
+
HotelRoomOfferItem: Jt,
|
2350
|
+
HotelRoomOfferItemLayout: wt,
|
2351
|
+
HotelRoomOfferListEmpty: te
|
2370
2352
|
},
|
2371
2353
|
name: "HotelRoomOfferList",
|
2372
|
-
props:
|
2354
|
+
props: ra,
|
2373
2355
|
// eslint-disable-next-line max-lines-per-function
|
2374
2356
|
setup(t) {
|
2375
|
-
const { t: e } =
|
2376
|
-
fallbackValue:
|
2357
|
+
const { t: e } = K(), n = ft(), s = bt(), r = F(null), p = F(["packageHotelRoomOffers", "hotelRoomHotelRoomOffers"]), c = ko({
|
2358
|
+
fallbackValue: ee,
|
2377
2359
|
prop: f(() => t.features)
|
2378
|
-
}), l = (B) => B.hotelRooms.reduce((A,
|
2360
|
+
}), l = (B) => B.hotelRooms.reduce((A, j) => A + j.count, 0), b = f(() => s.hotelRoomOfferRequest(t.hotelId)), d = f(
|
2379
2361
|
() => n.hotelRoomOffers(t.hotelId)
|
2380
2362
|
), I = f(
|
2381
|
-
() => !!(b.value?.hasError ||
|
2363
|
+
() => !!(b.value?.hasError || d.value?.hasError)
|
2382
2364
|
), T = f(
|
2383
|
-
() =>
|
2384
|
-
(B) => B.type ===
|
2365
|
+
() => d.value?.offers?.filter(
|
2366
|
+
(B) => B.type === Rt.HotelRoom
|
2385
2367
|
) || []
|
2386
2368
|
), v = f(() => {
|
2387
|
-
const B =
|
2388
|
-
(A) => A.type ===
|
2389
|
-
).filter((A) =>
|
2369
|
+
const B = d.value?.offers?.filter(
|
2370
|
+
(A) => A.type === Rt.Package
|
2371
|
+
).filter((A) => c.value?.OnlyMatchingRoomCount ? l(A) === b.value?.roomCount : !0);
|
2390
2372
|
return B?.slice(0, t.limit || B.length) || [];
|
2391
2373
|
}), _ = f(
|
2392
|
-
() => !!
|
2393
|
-
),
|
2394
|
-
() => !b.value?.id || (!!b.value?.isFetching || !!
|
2395
|
-
),
|
2374
|
+
() => !!d.value?.isPolling && !!v.value?.length
|
2375
|
+
), D = f(
|
2376
|
+
() => !b.value?.id || (!!b.value?.isFetching || !!d.value?.isPolling) && !v.value?.length
|
2377
|
+
), Z = async ({
|
2396
2378
|
addBreakfast: B,
|
2397
2379
|
hotelId: A,
|
2398
|
-
id:
|
2380
|
+
id: j
|
2399
2381
|
}) => {
|
2400
2382
|
await n.reifyHotelRoomOffer({
|
2401
2383
|
addBreakfast: B,
|
2402
2384
|
hotelId: A,
|
2403
|
-
id:
|
2385
|
+
id: j
|
2404
2386
|
});
|
2405
|
-
},
|
2387
|
+
}, $ = async (B) => {
|
2406
2388
|
if (!b.value?.id) {
|
2407
2389
|
n.resetHotelRoomOffers({
|
2408
2390
|
hotelId: t.hotelId
|
@@ -2415,25 +2397,25 @@ const Xt = {
|
|
2415
2397
|
inProgressHotelRoomOfferIds: B
|
2416
2398
|
});
|
2417
2399
|
};
|
2418
|
-
async function
|
2419
|
-
await
|
2400
|
+
async function V(B) {
|
2401
|
+
await $([B]);
|
2420
2402
|
}
|
2421
|
-
|
2403
|
+
L(
|
2422
2404
|
() => b.value?.id,
|
2423
2405
|
async () => {
|
2424
|
-
await
|
2406
|
+
await $();
|
2425
2407
|
},
|
2426
2408
|
{ immediate: !0 }
|
2427
2409
|
);
|
2428
|
-
const { bookingApiClient:
|
2429
|
-
|
2430
|
-
() => [
|
2410
|
+
const { bookingApiClient: U, config: M } = Ce();
|
2411
|
+
L(
|
2412
|
+
() => [U.value, M.value.currency, M.value.lang],
|
2431
2413
|
async () => {
|
2432
|
-
await
|
2414
|
+
await $();
|
2433
2415
|
},
|
2434
2416
|
{ immediate: !0 }
|
2435
2417
|
);
|
2436
|
-
const
|
2418
|
+
const Q = Co({
|
2437
2419
|
adultCount: t.adultCount,
|
2438
2420
|
checkInDate: t.checkInDate,
|
2439
2421
|
checkOutDate: t.checkOutDate,
|
@@ -2446,18 +2428,18 @@ const Xt = {
|
|
2446
2428
|
hasError: I,
|
2447
2429
|
hotelRoomHotelRoomOffers: T,
|
2448
2430
|
isLoading: _,
|
2449
|
-
onBreakfastChange:
|
2431
|
+
onBreakfastChange: Z,
|
2450
2432
|
packageHotelRoomOffers: v,
|
2451
|
-
showSkeleton:
|
2433
|
+
showSkeleton: D,
|
2452
2434
|
t: e,
|
2453
2435
|
tab: r,
|
2454
2436
|
tabItems: p,
|
2455
|
-
...
|
2456
|
-
onBookingPolicyFailed:
|
2437
|
+
...Q,
|
2438
|
+
onBookingPolicyFailed: V
|
2457
2439
|
};
|
2458
2440
|
}
|
2459
2441
|
});
|
2460
|
-
function
|
2442
|
+
function Nt(t) {
|
2461
2443
|
const e = t;
|
2462
2444
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
2463
2445
|
locale: "",
|
@@ -2535,7 +2517,7 @@ function zt(t) {
|
|
2535
2517
|
}
|
2536
2518
|
});
|
2537
2519
|
}
|
2538
|
-
const
|
2520
|
+
const Pt = Symbol.for("vuetify:v-tabs"), ua = rt({
|
2539
2521
|
fixed: Boolean,
|
2540
2522
|
sliderColor: String,
|
2541
2523
|
hideSlider: Boolean,
|
@@ -2543,13 +2525,13 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2543
2525
|
type: String,
|
2544
2526
|
default: "horizontal"
|
2545
2527
|
},
|
2546
|
-
...
|
2528
|
+
...Ft(Ze({
|
2547
2529
|
selectedClass: "v-tab--selected",
|
2548
2530
|
variant: "text"
|
2549
2531
|
}), ["active", "block", "flat", "location", "position", "symbol"])
|
2550
|
-
}, "VTab"),
|
2532
|
+
}, "VTab"), ae = lt()({
|
2551
2533
|
name: "VTab",
|
2552
|
-
props:
|
2534
|
+
props: ua(),
|
2553
2535
|
setup(t, e) {
|
2554
2536
|
let {
|
2555
2537
|
slots: n,
|
@@ -2558,35 +2540,35 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2558
2540
|
const {
|
2559
2541
|
textColorClasses: r,
|
2560
2542
|
textColorStyles: p
|
2561
|
-
} =
|
2543
|
+
} = Ve(t, "sliderColor"), c = F(), l = F(), b = f(() => t.direction === "horizontal"), d = f(() => c.value?.group?.isSelected.value ?? !1);
|
2562
2544
|
function I(T) {
|
2563
2545
|
let {
|
2564
2546
|
value: v
|
2565
2547
|
} = T;
|
2566
2548
|
if (v) {
|
2567
|
-
const _ =
|
2568
|
-
if (!_ || !
|
2569
|
-
const
|
2570
|
-
|
2571
|
-
backgroundColor: [
|
2572
|
-
transform: [`translate${
|
2573
|
-
transformOrigin: Array(3).fill(
|
2549
|
+
const _ = c.value?.$el.parentElement?.querySelector(".v-tab--selected .v-tab__slider"), D = l.value;
|
2550
|
+
if (!_ || !D) return;
|
2551
|
+
const Z = getComputedStyle(_).color, $ = _.getBoundingClientRect(), V = D.getBoundingClientRect(), U = b.value ? "x" : "y", M = b.value ? "X" : "Y", Q = b.value ? "right" : "bottom", B = b.value ? "width" : "height", A = $[U], j = V[U], N = A > j ? $[Q] - V[Q] : $[U] - V[U], it = Math.sign(N) > 0 ? b.value ? "right" : "bottom" : Math.sign(N) < 0 ? b.value ? "left" : "top" : "center", X = (Math.abs(N) + (Math.sign(N) < 0 ? $[B] : V[B])) / Math.max($[B], V[B]) || 0, u = $[B] / V[B] || 0, H = 1.5;
|
2552
|
+
Ee(D, {
|
2553
|
+
backgroundColor: [Z, "currentcolor"],
|
2554
|
+
transform: [`translate${M}(${N}px) scale${M}(${u})`, `translate${M}(${N / H}px) scale${M}(${(X - 1) / H + 1})`, "none"],
|
2555
|
+
transformOrigin: Array(3).fill(it)
|
2574
2556
|
}, {
|
2575
2557
|
duration: 225,
|
2576
|
-
easing:
|
2558
|
+
easing: Ae
|
2577
2559
|
});
|
2578
2560
|
}
|
2579
2561
|
}
|
2580
|
-
return
|
2581
|
-
const T =
|
2582
|
-
return o(
|
2583
|
-
symbol:
|
2584
|
-
ref:
|
2562
|
+
return ut(() => {
|
2563
|
+
const T = nt.filterProps(t);
|
2564
|
+
return o(nt, z({
|
2565
|
+
symbol: Pt,
|
2566
|
+
ref: c,
|
2585
2567
|
class: ["v-tab", t.class],
|
2586
2568
|
style: t.style,
|
2587
|
-
tabindex:
|
2569
|
+
tabindex: d.value ? 0 : -1,
|
2588
2570
|
role: "tab",
|
2589
|
-
"aria-selected": String(
|
2571
|
+
"aria-selected": String(d.value),
|
2590
2572
|
active: !1
|
2591
2573
|
}, T, s, {
|
2592
2574
|
block: t.fixed,
|
@@ -2594,19 +2576,19 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2594
2576
|
"onGroup:selected": I
|
2595
2577
|
}), {
|
2596
2578
|
...n,
|
2597
|
-
default: () => o(
|
2579
|
+
default: () => o(R, null, [n.default?.() ?? t.text, !t.hideSlider && o("div", {
|
2598
2580
|
ref: l,
|
2599
2581
|
class: ["v-tab__slider", r.value],
|
2600
2582
|
style: p.value
|
2601
2583
|
}, null)])
|
2602
2584
|
});
|
2603
|
-
}),
|
2585
|
+
}), no({}, c);
|
2604
2586
|
}
|
2605
|
-
}),
|
2606
|
-
...
|
2607
|
-
}, "VTabsWindow"),
|
2587
|
+
}), ca = rt({
|
2588
|
+
...Ft(io(), ["continuous", "nextIcon", "prevIcon", "showArrows", "touch", "mandatory"])
|
2589
|
+
}, "VTabsWindow"), se = lt()({
|
2608
2590
|
name: "VTabsWindow",
|
2609
|
-
props:
|
2591
|
+
props: ca(),
|
2610
2592
|
emits: {
|
2611
2593
|
"update:modelValue": (t) => !0
|
2612
2594
|
},
|
@@ -2614,19 +2596,19 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2614
2596
|
let {
|
2615
2597
|
slots: n
|
2616
2598
|
} = e;
|
2617
|
-
const s =
|
2599
|
+
const s = Be(Pt, null), r = dt(t, "modelValue"), p = f({
|
2618
2600
|
get() {
|
2619
|
-
return r.value != null || !s ? r.value : s.items.value.find((
|
2601
|
+
return r.value != null || !s ? r.value : s.items.value.find((c) => s.selected.value.includes(c.id))?.value;
|
2620
2602
|
},
|
2621
|
-
set(
|
2622
|
-
r.value =
|
2603
|
+
set(c) {
|
2604
|
+
r.value = c;
|
2623
2605
|
}
|
2624
2606
|
});
|
2625
|
-
return
|
2626
|
-
const
|
2627
|
-
return o(
|
2607
|
+
return ut(() => {
|
2608
|
+
const c = Et.filterProps(t);
|
2609
|
+
return o(Et, z({
|
2628
2610
|
_as: "VTabsWindow"
|
2629
|
-
},
|
2611
|
+
}, c, {
|
2630
2612
|
modelValue: p.value,
|
2631
2613
|
"onUpdate:modelValue": (l) => p.value = l,
|
2632
2614
|
class: ["v-tabs-window", t.class],
|
@@ -2636,18 +2618,18 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2636
2618
|
}), n);
|
2637
2619
|
}), {};
|
2638
2620
|
}
|
2639
|
-
}),
|
2640
|
-
...
|
2641
|
-
}, "VTabsWindowItem"),
|
2621
|
+
}), da = rt({
|
2622
|
+
...lo()
|
2623
|
+
}, "VTabsWindowItem"), Ct = lt()({
|
2642
2624
|
name: "VTabsWindowItem",
|
2643
|
-
props:
|
2625
|
+
props: da(),
|
2644
2626
|
setup(t, e) {
|
2645
2627
|
let {
|
2646
2628
|
slots: n
|
2647
2629
|
} = e;
|
2648
|
-
return
|
2649
|
-
const s =
|
2650
|
-
return o(
|
2630
|
+
return ut(() => {
|
2631
|
+
const s = At.filterProps(t);
|
2632
|
+
return o(At, z({
|
2651
2633
|
_as: "VTabsWindowItem"
|
2652
2634
|
}, s, {
|
2653
2635
|
class: ["v-tabs-window-item", t.class],
|
@@ -2656,13 +2638,13 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2656
2638
|
}), {};
|
2657
2639
|
}
|
2658
2640
|
});
|
2659
|
-
function
|
2660
|
-
return t ? t.map((e) =>
|
2641
|
+
function ma(t) {
|
2642
|
+
return t ? t.map((e) => we(e) ? e : {
|
2661
2643
|
text: e,
|
2662
2644
|
value: e
|
2663
2645
|
}) : [];
|
2664
2646
|
}
|
2665
|
-
const
|
2647
|
+
const fa = rt({
|
2666
2648
|
alignTabs: {
|
2667
2649
|
type: String,
|
2668
2650
|
default: "start"
|
@@ -2682,15 +2664,15 @@ const ba = lt({
|
|
2682
2664
|
},
|
2683
2665
|
hideSlider: Boolean,
|
2684
2666
|
sliderColor: String,
|
2685
|
-
...
|
2667
|
+
...ro({
|
2686
2668
|
mandatory: "force",
|
2687
2669
|
selectedClass: "v-tab-item--selected"
|
2688
2670
|
}),
|
2689
|
-
...
|
2690
|
-
|
2691
|
-
}, "VTabs"),
|
2671
|
+
...Fe(),
|
2672
|
+
...De()
|
2673
|
+
}, "VTabs"), ba = lt()({
|
2692
2674
|
name: "VTabs",
|
2693
|
-
props:
|
2675
|
+
props: fa(),
|
2694
2676
|
emits: {
|
2695
2677
|
"update:modelValue": (t) => !0
|
2696
2678
|
},
|
@@ -2699,15 +2681,15 @@ const ba = lt({
|
|
2699
2681
|
attrs: n,
|
2700
2682
|
slots: s
|
2701
2683
|
} = e;
|
2702
|
-
const r =
|
2703
|
-
densityClasses:
|
2704
|
-
} =
|
2684
|
+
const r = dt(t, "modelValue"), p = f(() => ma(t.items)), {
|
2685
|
+
densityClasses: c
|
2686
|
+
} = je(t), {
|
2705
2687
|
backgroundColorClasses: l,
|
2706
2688
|
backgroundColorStyles: b
|
2707
|
-
} =
|
2708
|
-
scopeId:
|
2709
|
-
} =
|
2710
|
-
return
|
2689
|
+
} = Le(et(t, "bgColor")), {
|
2690
|
+
scopeId: d
|
2691
|
+
} = $e();
|
2692
|
+
return Se({
|
2711
2693
|
VTab: {
|
2712
2694
|
color: et(t, "color"),
|
2713
2695
|
direction: et(t, "direction"),
|
@@ -2716,25 +2698,25 @@ const ba = lt({
|
|
2716
2698
|
sliderColor: et(t, "sliderColor"),
|
2717
2699
|
hideSlider: et(t, "hideSlider")
|
2718
2700
|
}
|
2719
|
-
}),
|
2720
|
-
const I =
|
2721
|
-
return o(
|
2701
|
+
}), ut(() => {
|
2702
|
+
const I = Lt.filterProps(t), T = !!(s.window || t.items.length > 0);
|
2703
|
+
return o(R, null, [o(Lt, z(I, {
|
2722
2704
|
modelValue: r.value,
|
2723
2705
|
"onUpdate:modelValue": (v) => r.value = v,
|
2724
2706
|
class: ["v-tabs", `v-tabs--${t.direction}`, `v-tabs--align-tabs-${t.alignTabs}`, {
|
2725
2707
|
"v-tabs--fixed-tabs": t.fixedTabs,
|
2726
2708
|
"v-tabs--grow": t.grow,
|
2727
2709
|
"v-tabs--stacked": t.stacked
|
2728
|
-
},
|
2710
|
+
}, c.value, l.value, t.class],
|
2729
2711
|
style: [{
|
2730
|
-
"--v-tabs-height":
|
2712
|
+
"--v-tabs-height": Ie(t.height)
|
2731
2713
|
}, b.value, t.style],
|
2732
2714
|
role: "tablist",
|
2733
|
-
symbol:
|
2734
|
-
},
|
2715
|
+
symbol: Pt
|
2716
|
+
}, d, n), {
|
2735
2717
|
default: () => [s.default?.() ?? p.value.map((v) => s.tab?.({
|
2736
2718
|
item: v
|
2737
|
-
}) ?? o(
|
2719
|
+
}) ?? o(ae, z(v, {
|
2738
2720
|
key: v.text,
|
2739
2721
|
value: v.value
|
2740
2722
|
}), {
|
@@ -2742,14 +2724,14 @@ const ba = lt({
|
|
2742
2724
|
item: v
|
2743
2725
|
}) : void 0
|
2744
2726
|
}))]
|
2745
|
-
}), T && o(
|
2727
|
+
}), T && o(se, z({
|
2746
2728
|
modelValue: r.value,
|
2747
2729
|
"onUpdate:modelValue": (v) => r.value = v,
|
2748
2730
|
key: "tabs-window"
|
2749
|
-
},
|
2731
|
+
}, d), {
|
2750
2732
|
default: () => [p.value.map((v) => s.item?.({
|
2751
2733
|
item: v
|
2752
|
-
}) ?? o(
|
2734
|
+
}) ?? o(Ct, {
|
2753
2735
|
value: v.value
|
2754
2736
|
}, {
|
2755
2737
|
default: () => s[`item.${v.value}`]?.({
|
@@ -2759,57 +2741,57 @@ const ba = lt({
|
|
2759
2741
|
})]);
|
2760
2742
|
}), {};
|
2761
2743
|
}
|
2762
|
-
}),
|
2763
|
-
function
|
2764
|
-
const
|
2765
|
-
return i(), m("div",
|
2766
|
-
t.isBookingApiClientDefined ? (i(), m(
|
2767
|
-
t.hasError ? (i(),
|
2744
|
+
}), pa = { class: "bg-white" }, ka = { key: 0 };
|
2745
|
+
function va(t, e, n, s, r, p) {
|
2746
|
+
const c = q("HotelRoomOfferListEmpty"), l = q("HotelRoomOfferItem"), b = q("HotelRoomOfferBasket");
|
2747
|
+
return i(), m("div", pa, [
|
2748
|
+
t.isBookingApiClientDefined ? (i(), m(R, { key: 1 }, [
|
2749
|
+
t.hasError ? (i(), O(c, {
|
2768
2750
|
key: "error",
|
2769
2751
|
boilerplate: "",
|
2770
2752
|
type: "internalError"
|
2771
|
-
})) : t.showSkeleton ? (i(),
|
2772
|
-
t.hotelRoomHotelRoomOffers.length ? C("", !0) : (i(), m("div",
|
2773
|
-
t.isLoading ? (i(),
|
2753
|
+
})) : t.showSkeleton ? (i(), O(c, { key: "skeleton" })) : t.packageHotelRoomOffers && t.packageHotelRoomOffers.length ? (i(), m(R, { key: 2 }, [
|
2754
|
+
t.hotelRoomHotelRoomOffers.length ? C("", !0) : (i(), m("div", ka)),
|
2755
|
+
t.isLoading ? (i(), O(Ge, {
|
2774
2756
|
key: 1,
|
2775
2757
|
class: "loader position-absolute",
|
2776
2758
|
color: "secondary",
|
2777
2759
|
indeterminate: ""
|
2778
2760
|
})) : C("", !0),
|
2779
|
-
t.hotelRoomHotelRoomOffers && t.hotelRoomHotelRoomOffers.length ? (i(), m(
|
2780
|
-
o(
|
2761
|
+
t.hotelRoomHotelRoomOffers && t.hotelRoomHotelRoomOffers.length ? (i(), m(R, { key: 2 }, [
|
2762
|
+
o(ba, {
|
2781
2763
|
color: "primary",
|
2782
2764
|
density: "compact",
|
2783
2765
|
modelValue: t.tab,
|
2784
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
2766
|
+
"onUpdate:modelValue": e[0] || (e[0] = (d) => t.tab = d),
|
2785
2767
|
grow: ""
|
2786
2768
|
}, {
|
2787
2769
|
default: a(() => [
|
2788
|
-
(i(!0), m(
|
2789
|
-
o(
|
2770
|
+
(i(!0), m(R, null, x(t.tabItems, (d) => (i(), m(R, { key: d }, [
|
2771
|
+
o(ae, null, {
|
2790
2772
|
default: a(() => [
|
2791
|
-
w(
|
2773
|
+
w(y(t.t(`HotelRoomOfferList.${d}.title`)), 1)
|
2792
2774
|
]),
|
2793
2775
|
_: 2
|
2794
2776
|
}, 1024),
|
2795
|
-
o(
|
2777
|
+
o(Y, { vertical: "" })
|
2796
2778
|
], 64))), 128))
|
2797
2779
|
]),
|
2798
2780
|
_: 1
|
2799
2781
|
}, 8, ["modelValue"]),
|
2800
|
-
o(
|
2782
|
+
o(se, {
|
2801
2783
|
modelValue: t.tab,
|
2802
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
2784
|
+
"onUpdate:modelValue": e[1] || (e[1] = (d) => t.tab = d),
|
2803
2785
|
class: "overflow-visible"
|
2804
2786
|
}, {
|
2805
2787
|
default: a(() => [
|
2806
|
-
o(
|
2788
|
+
o(Ct, { class: "pt-3" }, {
|
2807
2789
|
default: a(() => [
|
2808
|
-
(i(!0), m(
|
2809
|
-
key:
|
2790
|
+
(i(!0), m(R, null, x(t.packageHotelRoomOffers, (d, I) => (i(), m(R, {
|
2791
|
+
key: d.id
|
2810
2792
|
}, [
|
2811
|
-
I > 0 ? (i(),
|
2812
|
-
o(l,
|
2793
|
+
I > 0 ? (i(), O(Y, { key: 0 })) : C("", !0),
|
2794
|
+
o(l, z({ ref_for: !0 }, d, {
|
2813
2795
|
onBreakfastChange: t.onBreakfastChange,
|
2814
2796
|
onBookingPolicyFailed: t.onBookingPolicyFailed
|
2815
2797
|
}), null, 16, ["onBreakfastChange", "onBookingPolicyFailed"])
|
@@ -2817,7 +2799,7 @@ function ha(t, e, n, s, r, p) {
|
|
2817
2799
|
]),
|
2818
2800
|
_: 1
|
2819
2801
|
}),
|
2820
|
-
o(
|
2802
|
+
o(Ct, { class: "pt-3 pb-5" }, {
|
2821
2803
|
default: a(() => [
|
2822
2804
|
o(b, { "hotel-id": t.hotelId }, null, 8, ["hotel-id"])
|
2823
2805
|
]),
|
@@ -2826,32 +2808,32 @@ function ha(t, e, n, s, r, p) {
|
|
2826
2808
|
]),
|
2827
2809
|
_: 1
|
2828
2810
|
}, 8, ["modelValue"])
|
2829
|
-
], 64)) : (i(!0), m(
|
2830
|
-
key:
|
2811
|
+
], 64)) : (i(!0), m(R, { key: 3 }, x(t.packageHotelRoomOffers, (d, I) => (i(), m(R, {
|
2812
|
+
key: d.id
|
2831
2813
|
}, [
|
2832
|
-
I > 0 ? (i(),
|
2833
|
-
o(l,
|
2814
|
+
I > 0 ? (i(), O(Y, { key: 0 })) : C("", !0),
|
2815
|
+
o(l, z({ ref_for: !0 }, d, {
|
2834
2816
|
onBreakfastChange: t.onBreakfastChange,
|
2835
2817
|
onBookingPolicyFailed: t.onBookingPolicyFailed
|
2836
2818
|
}), null, 16, ["onBreakfastChange", "onBookingPolicyFailed"])
|
2837
2819
|
], 64))), 128))
|
2838
|
-
], 64)) : !t.packageHotelRoomOffers || !t.packageHotelRoomOffers.length ? (i(),
|
2820
|
+
], 64)) : !t.packageHotelRoomOffers || !t.packageHotelRoomOffers.length ? (i(), O(c, {
|
2839
2821
|
key: "skeleton",
|
2840
2822
|
boilerplate: "",
|
2841
2823
|
type: "noResults"
|
2842
2824
|
})) : C("", !0)
|
2843
|
-
], 64)) : (i(), m(
|
2825
|
+
], 64)) : (i(), m(R, { key: 0 }, [], 64))
|
2844
2826
|
]);
|
2845
2827
|
}
|
2846
|
-
typeof
|
2847
|
-
const
|
2848
|
-
|
2828
|
+
typeof Nt == "function" && Nt(oe);
|
2829
|
+
const Ga = /* @__PURE__ */ ot(oe, [["render", va], ["__scopeId", "data-v-e71fbea6"]]);
|
2830
|
+
ie("css/revolugo.hotelroomofferlist.-6YLPyqb.css");
|
2849
2831
|
export {
|
2850
|
-
|
2851
|
-
|
2852
|
-
|
2853
|
-
|
2854
|
-
|
2855
|
-
|
2832
|
+
Ot as B,
|
2833
|
+
Ga as H,
|
2834
|
+
ee as a,
|
2835
|
+
ra as h,
|
2836
|
+
fo as r,
|
2837
|
+
ko as u
|
2856
2838
|
};
|
2857
|
-
//# sourceMappingURL=revolugo.hotelroomofferlist.
|
2839
|
+
//# sourceMappingURL=revolugo.hotelroomofferlist.BF-qbcqV.min.js.map
|