@revolugo/elements 6.8.2-beta.30 → 6.8.2-beta.31
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.bdaterangepicker.D1e8WHUE.css +1 -0
- package/dist/css/revolugo.bimagecarousel.DFlgQMzq.css +1 -0
- package/dist/css/{revolugo.btag.g-q3eChG.css → revolugo.btag.CYbY5J61.css} +1 -1
- package/dist/css/revolugo.index.DK7d_h6O.css +1 -0
- package/dist/css/revolugo.vbadge.C45eZpxy.css +1 -0
- package/dist/css/revolugo.vbtn.DpMO1Ky2.css +1 -0
- package/dist/css/revolugo.vcard.TERzfknI.css +1 -0
- package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +1 -0
- package/dist/css/revolugo.vlist.-Y4qkukF.css +1 -0
- package/dist/css/{revolugo.vsnackbar.Cj7AcupY.css → revolugo.vsnackbar.CCfuo3ao.css} +1 -1
- package/dist/css/{revolugo.webcomponentwrapper.DRCKFwuk.css → revolugo.webcomponentwrapper.BNxGrktU.css} +2 -2
- package/dist/index.es.min.js +1927 -2144
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +6 -6
- package/dist/index.min.js.map +1 -1
- package/dist/{revolugo._baseiteratee.CLhJGa_I.min.js → revolugo._baseiteratee.Bxmf2YBQ.min.js} +3 -3
- package/dist/{revolugo.banktransferdetails.Djs6mxU0.min.js → revolugo.banktransferdetails.SE8NErTw.min.js} +9 -9
- package/dist/revolugo.bdaterangepicker.Bs2pH95_.min.js +8328 -0
- package/dist/{revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.C3xbTcQN.min.js → revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DIWYLLE_.min.js} +30 -34
- package/dist/{revolugo.bhoteloffersfilterbar.CVh2pH-N.min.js → revolugo.bhoteloffersfilterbar.gHx-XQIq.min.js} +1672 -1766
- package/dist/{revolugo.bhotelroomsdetails.C4xdQLfe.min.js → revolugo.bhotelroomsdetails.ByB7GIQB.min.js} +72 -76
- package/dist/{revolugo.bhotelsearchbar.DR7UHkQo.min.js → revolugo.bhotelsearchbar.D4nP_Yeh.min.js} +119 -122
- package/dist/{revolugo.bimagecarousel.DhwrLMiX.min.js → revolugo.bimagecarousel.DhA7fKr_.min.js} +165 -174
- package/dist/{revolugo.bookingdetailssidebar.DwIul6C1.min.js → revolugo.bookingdetailssidebar.Dd56Wy_U.min.js} +207 -221
- package/dist/{revolugo.bookingdetailssidebar.DkBHaNwV.min.js → revolugo.bookingdetailssidebar.lwfVw3hd.min.js} +4 -4
- package/dist/{revolugo.bookingmanager.CmdsCQDi.min.js → revolugo.bookingmanager.CalvEAgz.min.js} +400 -419
- package/dist/{revolugo.bpricesummaryskeleton.BcgNLGYX.min.js → revolugo.bpricesummaryskeleton.C-X2i-r7.min.js} +4 -4
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.B4psJ9Sg.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.7yIt37GG.min.js} +148 -157
- package/dist/revolugo.btag.D9PcRagV.min.js +375 -0
- package/dist/{revolugo.cancellationpoliciesbadge.D7CMWTdG.min.js → revolugo.cancellationpoliciesbadge.BMTMxB84.min.js} +86 -95
- package/dist/{revolugo.cancellationpoliciesbadge.Bp43_l5_.min.js → revolugo.cancellationpoliciesbadge.BS3sdT0j.min.js} +4 -4
- package/dist/{revolugo.cancellationpolicieslist.D2idtSnK.min.js → revolugo.cancellationpolicieslist.BlIDNloM.min.js} +4 -4
- package/dist/{revolugo.cancellationpolicieslist.hSJAFEGT.min.js → revolugo.cancellationpolicieslist.CSKJ_RQf.min.js} +6 -6
- package/dist/revolugo.case-transformers.wj5dY-62.min.js +123 -0
- package/dist/{revolugo.creditcardform.CrwpUivQ.min.js → revolugo.creditcardform.58FDmjkc.min.js} +4 -4
- package/dist/{revolugo.creditcardform.SRz4ls19.min.js → revolugo.creditcardform.DjHXUGaT.min.js} +56 -69
- package/dist/{revolugo.creditcardpayment.bSs8I8av.min.js → revolugo.creditcardpayment.CXIZBeLQ.min.js} +4 -4
- package/dist/{revolugo.creditcardpayment.BcVHQlKJ.min.js → revolugo.creditcardpayment.eNRvC7VG.min.js} +152 -162
- package/dist/{revolugo.currencypicker.-B3knz6i.min.js → revolugo.currencypicker.mpJHETlw.min.js} +6 -6
- package/dist/{revolugo.currencypickerbtn.D38ZdlKW.min.js → revolugo.currencypickerbtn.BT4gJYck.min.js} +42 -45
- package/dist/{revolugo.currencypickerbtn.CyHWGHaW.min.js → revolugo.currencypickerbtn.DcaNmmTa.min.js} +4 -4
- package/dist/{revolugo.defaultsdeep.z9urzKAp.min.js → revolugo.defaultsdeep.B15U6I23.min.js} +2 -2
- package/dist/{revolugo.dialog-attach.D_OA19-E.min.js → revolugo.dialog-attach.Kn52rX5V.min.js} +5 -6
- package/dist/revolugo.dialog-transition.K64Up6o5.min.js +111 -0
- package/dist/{revolugo.fastbookingflow.CJP79XT7.min.js → revolugo.fastbookingflow.DSWy6Ys3.min.js} +4 -4
- package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
- package/dist/{revolugo.fullbookingflow.Cd2NIaQ2.min.js → revolugo.fullbookingflow.BLumv8em.min.js} +122 -128
- package/dist/{revolugo.hotel-offer-request.CgsVMCkE.min.js → revolugo.hotel-offer-request.08Q8GaoF.min.js} +18 -18
- package/dist/{revolugo.hoteldescriptionview.BSrnxJem.min.js → revolugo.hoteldescriptionview.BCrpDoH8.min.js} +588 -620
- package/dist/{revolugo.hoteldescriptionview.Cl2E63e2.min.js → revolugo.hoteldescriptionview.BOhmeT2B.min.js} +4 -4
- package/dist/{revolugo.hotelofferitemlayout.BMzCfYQ7.min.js → revolugo.hotelofferitemlayout.iXqLrvQm.min.js} +8 -8
- package/dist/{revolugo.hotelofferlist.B3yjbXlQ.min.js → revolugo.hotelofferlist.0NPXq55P.min.js} +1563 -1693
- package/dist/{revolugo.hotelofferlist.DhYBX5pF.min.js → revolugo.hotelofferlist.DjUTqa2K.min.js} +4 -4
- package/dist/{revolugo.hotelofferrequestcreator.CNbav2EO.min.js → revolugo.hotelofferrequestcreator.BURjSAMm.min.js} +5 -5
- package/dist/{revolugo.hoteloffersearchmenu.BZascblw.min.js → revolugo.hoteloffersearchmenu.Dgq9VEmx.min.js} +7 -7
- package/dist/{revolugo.hoteloffersmap.D6hRTrsf.min.js → revolugo.hoteloffersmap.BnqHPNt1.min.js} +563 -574
- package/dist/{revolugo.hoteloffersmap.DkNN0NQB.min.js → revolugo.hoteloffersmap.CeDXd2FY.min.js} +4 -4
- package/dist/{revolugo.hoteloffersview.DjAXSPOG.min.js → revolugo.hoteloffersview.Bih_7gfI.min.js} +125 -130
- package/dist/{revolugo.hoteloffersview.CPYXigVN.min.js → revolugo.hoteloffersview.D_H5aGBv.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.C_HCimvP.min.js → revolugo.hotelroomofferlist.CXald_sS.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.wD_JIpuK.min.js → revolugo.hotelroomofferlist.O0tRAgZS.min.js} +727 -785
- package/dist/{revolugo.hotelroomofferrequestcreator.props.DjBXUl-H.min.js → revolugo.hotelroomofferrequestcreator.props.CVwr05si.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersbookingflow.2E3AYERj.min.js → revolugo.hotelroomoffersbookingflow.DGKPam4L.min.js} +333 -358
- package/dist/{revolugo.hotelroomoffersearchmenu.B-C4YSFE.min.js → revolugo.hotelroomoffersearchmenu.DfCU58yl.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersearchmenu.DrW5uMfL.min.js → revolugo.hotelroomoffersearchmenu.ElcYfITq.min.js} +34 -36
- package/dist/{revolugo.hotelroomoffersview.CCmILEaO.min.js → revolugo.hotelroomoffersview.BDUFPxQD.min.js} +68 -71
- package/dist/{revolugo.hotelroomoffersview.DVsdh7Jz.min.js → revolugo.hotelroomoffersview.YYq7-L5h.min.js} +4 -4
- package/dist/{revolugo.index.Dyr1hnew.min.js → revolugo.index.bIefP9Di.min.js} +396 -419
- package/dist/{revolugo.index.wc.BaFPloEH.min.js → revolugo.index.wc.CVg-U7Gx.min.js} +6415 -6523
- package/dist/{revolugo.langpicker.CaQ17b6t.min.js → revolugo.langpicker.Ccsg-lEF.min.js} +24 -27
- package/dist/{revolugo.langpickerbtn.DTkV9PYE.min.js → revolugo.langpickerbtn.CM2mTy7Y.min.js} +4 -4
- package/dist/{revolugo.langpickerbtn.DmoEWum3.min.js → revolugo.langpickerbtn.DyJ4Olno.min.js} +31 -32
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.pathify.CKNqCKLR.min.js → revolugo.pathify.BlrRHScz.min.js} +4 -4
- package/dist/{revolugo.prebookform.p-M6zS08.min.js → revolugo.prebookform.B8gqQx-H.min.js} +4 -4
- package/dist/{revolugo.prebookform.CxKmwFK-.min.js → revolugo.prebookform.fhOF5rTL.min.js} +97 -101
- package/dist/{revolugo.roominglisteditor.5gfIA3r6.min.js → revolugo.roominglisteditor.CB2ZVVIX.min.js} +98 -104
- package/dist/{revolugo.roominglisteditor.Zz9TPhp6.min.js → revolugo.roominglisteditor.LxMxvTG6.min.js} +4 -4
- package/dist/{revolugo.rounded.CQuigzpH.min.js → revolugo.rounded.CdTdATPg.min.js} +2 -2
- package/dist/{revolugo.ssrboot.DfQY0r5E.min.js → revolugo.ssrboot.D-F25G2D.min.js} +2 -2
- package/dist/{revolugo.storybooktoolbar.DikXrkgz.min.js → revolugo.storybooktoolbar.BDi7kzis.min.js} +90 -94
- package/dist/{revolugo.termsandconditions.CiHuvfp6.min.js → revolugo.termsandconditions.DZ84e8oM.min.js} +52 -55
- package/dist/{revolugo.termsandconditions.Bbo5pbgR.min.js → revolugo.termsandconditions.ILptE4WJ.min.js} +4 -4
- package/dist/revolugo.use-breakpoint-service.DPvOP-XF.min.js +39 -0
- package/dist/revolugo.use-html-element.Dfl5QKN-.min.js +11 -0
- package/dist/revolugo.vautocomplete.DBPq0WdQ.min.js +445 -0
- package/dist/revolugo.vbadge.CU5xYZyW.min.js +112 -0
- package/dist/revolugo.vbtn.X3RP4Z34.min.js +398 -0
- package/dist/revolugo.vcard.DfYEYCIx.min.js +313 -0
- package/dist/revolugo.vcheckboxbtn.DLdpGWrK.min.js +478 -0
- package/dist/revolugo.vdialog.A3glfkAC.min.js +133 -0
- package/dist/{revolugo.vdivider.93Ehbd8W.min.js → revolugo.vdivider.C8Jprud4.min.js} +3 -3
- package/dist/revolugo.vexpansionpanels.xliCx-5-.min.js +262 -0
- package/dist/revolugo.vform.BYdqOlKN.min.js +46 -0
- package/dist/revolugo.vicon.DGbfBJIw.min.js +105 -0
- package/dist/revolugo.vinput.Bh9hEdMF.min.js +463 -0
- package/dist/revolugo.vlabel.Dx1aNiVc.min.js +48 -0
- package/dist/revolugo.vlist.BMwn1ihP.min.js +1299 -0
- package/dist/revolugo.vmenu.ByEEPO9y.min.js +145 -0
- package/dist/revolugo.vselect.Dzd6zNRa.min.js +660 -0
- package/dist/{revolugo.vsheet.H2Eli2di.min.js → revolugo.vsheet.C7bJI8gr.min.js} +5 -5
- package/dist/{revolugo.vskeletonloader.B-Qq0740.min.js → revolugo.vskeletonloader.DcVdfRoT.min.js} +57 -58
- package/dist/revolugo.vslidegroup.DrV2UvdN.min.js +325 -0
- package/dist/revolugo.vsnackbar.C_2qY4Nh.min.js +198 -0
- package/dist/revolugo.vspacer.CP17be9N.min.js +7 -0
- package/dist/{revolugo.vtextarea.BJaCwHl5.min.js → revolugo.vtextarea.CPnC6tk4.min.js} +353 -363
- package/dist/revolugo.vtextfield.CnjNadCm.min.js +501 -0
- package/dist/revolugo.vtoolbar.CpgasmNE.min.js +180 -0
- package/dist/revolugo.vtooltip.F6cVVKxe.min.js +89 -0
- package/dist/revolugo.vwindowitem.BZMm5BTu.min.js +317 -0
- package/dist/revolugo.watch-list.Bnuh1CzH.min.js +16 -0
- package/dist/{revolugo.webcomponentwrapper.Byzhja-M.min.js → revolugo.webcomponentwrapper.DY-mO-0c.min.js} +786 -832
- package/package.json +1 -1
- package/dist/css/revolugo.bdaterangepicker.BLYZnPjh.css +0 -1
- package/dist/css/revolugo.bimagecarousel.BvgD1yrr.css +0 -1
- package/dist/css/revolugo.index.4hIg6F8J.css +0 -1
- package/dist/css/revolugo.vbadge.BQrRJ9S0.css +0 -1
- package/dist/css/revolugo.vbtn.BU0YQ6en.css +0 -1
- package/dist/css/revolugo.vcard.B8jNYFn_.css +0 -1
- package/dist/css/revolugo.vcheckboxbtn.BQ05xI0T.css +0 -1
- package/dist/css/revolugo.vlist.BkGS0yqt.css +0 -1
- package/dist/revolugo.bdaterangepicker.D9a3kNuM.min.js +0 -8436
- package/dist/revolugo.btag.mY1ErEMj.min.js +0 -389
- package/dist/revolugo.case-transformers.VM7X_9Q1.min.js +0 -123
- package/dist/revolugo.dialog-transition.D9Rvu5kv.min.js +0 -114
- package/dist/revolugo.forwardrefs.-bfQnFea.min.js +0 -71
- package/dist/revolugo.use-breakpoint-service.BLlHYRIa.min.js +0 -45
- package/dist/revolugo.use-html-element.C-V3ql2M.min.js +0 -12
- package/dist/revolugo.vautocomplete.CimHObsW.min.js +0 -467
- package/dist/revolugo.vbadge.dOVHEqkO.min.js +0 -118
- package/dist/revolugo.vbtn.C5rBd2Qx.min.js +0 -417
- package/dist/revolugo.vcard.Dw6Qxohz.min.js +0 -329
- package/dist/revolugo.vcheckboxbtn.oJMjQhq7.min.js +0 -491
- package/dist/revolugo.vdialog.DBJFoM4O.min.js +0 -139
- package/dist/revolugo.vexpansionpanels.nGkPqsEk.min.js +0 -277
- package/dist/revolugo.vform.D7BJmMQ-.min.js +0 -50
- package/dist/revolugo.vicon.CuIGTijn.min.js +0 -106
- package/dist/revolugo.vinput.C6k3-74L.min.js +0 -478
- package/dist/revolugo.vlabel.BNLTPj0h.min.js +0 -51
- package/dist/revolugo.vlist.B56e-cT_.min.js +0 -1348
- package/dist/revolugo.vmenu.DhHohFn7.min.js +0 -152
- package/dist/revolugo.vselect.BHhGGQU3.min.js +0 -689
- package/dist/revolugo.vslidegroup.ChtHIkDN.min.js +0 -333
- package/dist/revolugo.vsnackbar.-lEdFT5G.min.js +0 -201
- package/dist/revolugo.vspacer.DaFDHuC9.min.js +0 -7
- package/dist/revolugo.vtextfield.CMQN6tSz.min.js +0 -508
- package/dist/revolugo.vtoolbar.CSyyGTVc.min.js +0 -188
- package/dist/revolugo.vtooltip.CvplYWvb.min.js +0 -90
- package/dist/revolugo.vwindowitem.bzpa5cVc.min.js +0 -329
- package/dist/revolugo.watch-list.Be1UUzWP.min.js +0 -16
@@ -1,30 +1,30 @@
|
|
1
|
-
import { ad as
|
2
|
-
import { s as Be, p as Se } from "./revolugo.pathify.
|
3
|
-
import { u as
|
4
|
-
import { C as we } from "./revolugo.cancellationpoliciesbadge.
|
5
|
-
import { B as
|
6
|
-
import { _ as tt, V, a as
|
7
|
-
import { V as
|
8
|
-
import { a as Ft, B as Gt } from "./revolugo.bhotelroomsdetails.
|
9
|
-
import { _ as
|
10
|
-
import { B as
|
11
|
-
import { V as
|
12
|
-
import { r as Le, a as De, e as qe, L as ze, s as Me, m as Ne, V as Ue } from "./revolugo.index.
|
13
|
-
import { u as je, V as
|
14
|
-
import { b as Ht, c as Ge, V as We } from "./revolugo.vcheckboxbtn.
|
15
|
-
import { V as
|
16
|
-
import { u as
|
17
|
-
import { V as Ke } from "./revolugo.vselect.
|
18
|
-
import { V as Ze } from "./revolugo.vlist.
|
19
|
-
import { _ as Je } from "./revolugo.cancellationpolicieslist.
|
20
|
-
import { V as
|
21
|
-
import { k as Qe, C as Xe } from "./revolugo.case-transformers.
|
1
|
+
import { ad as ft, D as x, bv as Y, G as p, bw as ie, d as j, u as F, i as m, g as C, e as k, t as g, K as I, a as o, f as w, F as y, o as i, N as le, M as $, aq as re, b as Mt, c as R, w as a, j as E, r as L, Y as it, Z as lt, a1 as dt, bx as ue, aJ as ce, b3 as de, z as M, by as ut, I as vt, J as ht, n as me, h as fe, x as K, H as pe, E as be, bz as wt, k as kt, l as Pt, s as ke, y as gt, bA as ve, L as he, bB as yt, bC as ge, a5 as Nt, ah as ye, aa as et, aT as Re, a8 as Oe, bD as Ce } from "./revolugo.index.wc.CVg-U7Gx.min.js";
|
2
|
+
import { s as Be, p as Se } from "./revolugo.pathify.BlrRHScz.min.js";
|
3
|
+
import { u as pt, h as Ie } from "./revolugo.hotelroomofferrequestcreator.props.CVwr05si.min.js";
|
4
|
+
import { C as we } from "./revolugo.cancellationpoliciesbadge.BMTMxB84.min.js";
|
5
|
+
import { B as Ct, a as Pe } from "./revolugo.bpricesummaryskeleton.C-X2i-r7.min.js";
|
6
|
+
import { _ as tt, V as P, a as h, u as rt, l as Ut, B as jt, d as _e, q as He, s as Te, b as Ve, g as Ee, e as Ae } from "./revolugo.webcomponentwrapper.DY-mO-0c.min.js";
|
7
|
+
import { V as X } from "./revolugo.vskeletonloader.DcVdfRoT.min.js";
|
8
|
+
import { a as Ft, B as Gt } from "./revolugo.bhotelroomsdetails.ByB7GIQB.min.js";
|
9
|
+
import { _ as mt, a as $e } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DIWYLLE_.min.js";
|
10
|
+
import { B as ct } from "./revolugo.btag.D9PcRagV.min.js";
|
11
|
+
import { V as at } from "./revolugo.vicon.DGbfBJIw.min.js";
|
12
|
+
import { r as Le, a as De, e as qe, L as ze, s as Me, m as Ne, V as Ue } from "./revolugo.index.bIefP9Di.min.js";
|
13
|
+
import { u as je, V as _t, m as Fe } from "./revolugo.vinput.Bh9hEdMF.min.js";
|
14
|
+
import { b as Ht, c as Ge, V as We } from "./revolugo.vcheckboxbtn.DLdpGWrK.min.js";
|
15
|
+
import { V as Bt, a as st, m as xe } from "./revolugo.vbtn.X3RP4Z34.min.js";
|
16
|
+
import { u as Ye } from "./revolugo.use-breakpoint-service.DPvOP-XF.min.js";
|
17
|
+
import { V as Ke } from "./revolugo.vselect.Dzd6zNRa.min.js";
|
18
|
+
import { V as Ze } from "./revolugo.vlist.BMwn1ihP.min.js";
|
19
|
+
import { _ as Je } from "./revolugo.cancellationpolicieslist.CSKJ_RQf.min.js";
|
20
|
+
import { V as Z } from "./revolugo.vdivider.C8Jprud4.min.js";
|
21
|
+
import { k as Qe, C as Xe } from "./revolugo.case-transformers.wj5dY-62.min.js";
|
22
22
|
/* empty css */
|
23
|
-
import { d as to } from "./revolugo.defaultsdeep.
|
24
|
-
import { f as eo } from "./revolugo.forwardrefs
|
25
|
-
import { V as
|
26
|
-
import { a as
|
27
|
-
function
|
23
|
+
import { d as to } from "./revolugo.defaultsdeep.B15U6I23.min.js";
|
24
|
+
import { f as eo } from "./revolugo.forwardrefs.VVhh1qV3.min.js";
|
25
|
+
import { V as Tt, m as oo, a as Vt, b as ao } from "./revolugo.vwindowitem.BZMm5BTu.min.js";
|
26
|
+
import { a as Et, m as so } from "./revolugo.vslidegroup.DrV2UvdN.min.js";
|
27
|
+
function ne(t) {
|
28
28
|
try {
|
29
29
|
if (typeof document < "u") {
|
30
30
|
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
@@ -57,34 +57,34 @@ function ro(t, e) {
|
|
57
57
|
return e === void 0 ? Array.from({ length: t }, (n, s) => s) : Array.from({ length: e - t }, (n, s) => t + s);
|
58
58
|
}
|
59
59
|
function uo() {
|
60
|
-
const t =
|
61
|
-
() => e.value ===
|
60
|
+
const t = ft(), e = x(Y.Idle), n = p(
|
61
|
+
() => e.value === Y.BookingPoliciesFetched
|
62
62
|
), s = p(
|
63
|
-
() => e.value ===
|
63
|
+
() => e.value === Y.Unavailable
|
64
64
|
), r = p(
|
65
|
-
() => e.value ===
|
65
|
+
() => e.value === Y.FetchingBookingPolicies
|
66
66
|
);
|
67
|
-
async function
|
67
|
+
async function b({
|
68
68
|
addBreakfast: d,
|
69
69
|
hotelId: l,
|
70
|
-
hotelRoomOfferId:
|
70
|
+
hotelRoomOfferId: f
|
71
71
|
}) {
|
72
|
-
e.value =
|
72
|
+
e.value = Y.FetchingBookingPolicies;
|
73
73
|
try {
|
74
74
|
await t.createBookingPolicies({
|
75
75
|
addBreakfast: d,
|
76
76
|
hotelId: l,
|
77
|
-
hotelRoomOfferId:
|
78
|
-
}), e.value =
|
79
|
-
e.value =
|
77
|
+
hotelRoomOfferId: f
|
78
|
+
}), e.value = Y.Unavailable, setTimeout(() => {
|
79
|
+
e.value = Y.Idle;
|
80
80
|
}, 1.5 * 1e3);
|
81
81
|
} catch {
|
82
|
-
e.value =
|
82
|
+
e.value = Y.Unavailable;
|
83
83
|
}
|
84
84
|
}
|
85
85
|
return {
|
86
86
|
bookingState: e,
|
87
|
-
createBookingPolicy:
|
87
|
+
createBookingPolicy: b,
|
88
88
|
isBookingPoliciesSuccessful: n,
|
89
89
|
isBookingPoliciesUnavailable: s,
|
90
90
|
isFetchingBookingPolicies: r
|
@@ -108,7 +108,7 @@ function mo({
|
|
108
108
|
prop: n
|
109
109
|
}) {
|
110
110
|
return p(() => {
|
111
|
-
const r = co(
|
111
|
+
const r = co(ie(n.value), e, t);
|
112
112
|
return r && to(structuredClone(r), e || {});
|
113
113
|
});
|
114
114
|
}
|
@@ -118,7 +118,7 @@ const fo = { class: "text-right" }, po = {
|
|
118
118
|
}, bo = { class: "text-h6 text-grey-darken-3 font-weight-black" }, ko = {
|
119
119
|
key: 1,
|
120
120
|
class: "my-0 text-caption text-grey-darken-3 d-block"
|
121
|
-
}, vo = { class: "text-caption d-block" }, Wt = /* @__PURE__ */
|
121
|
+
}, vo = { class: "text-caption d-block" }, Wt = /* @__PURE__ */ j({
|
122
122
|
__name: "BPriceSummary",
|
123
123
|
props: {
|
124
124
|
adultCount: { default: 0 },
|
@@ -132,39 +132,39 @@ const fo = { class: "text-right" }, po = {
|
|
132
132
|
taxIncludedPrice: { default: void 0 }
|
133
133
|
},
|
134
134
|
setup(t) {
|
135
|
-
const e = t, { t: n } =
|
136
|
-
return (r,
|
137
|
-
r.isStartingPrice ? (i(),
|
138
|
-
|
139
|
-
o(
|
135
|
+
const e = t, { t: n } = F(), s = p(() => e.nightCount <= 0 || e.roomCount <= 0 ? e.price : e.price / e.roomCount / e.nightCount);
|
136
|
+
return (r, b) => (i(), m("div", fo, [
|
137
|
+
r.isStartingPrice ? (i(), m("small", po, g(I(n)("BPriceSummary.from")) + " ", 1)) : C("", !0),
|
138
|
+
k("b", bo, [
|
139
|
+
o(mt, {
|
140
140
|
amount: s.value,
|
141
141
|
"round-mode": r.roundMode
|
142
142
|
}, null, 8, ["amount", "round-mode"])
|
143
143
|
]),
|
144
|
-
(r.roomCount > 1 || r.nightCount > 1 || r.taxIncludedPrice !== r.price) && r.isTaxIncluded ? (i(),
|
145
|
-
|
146
|
-
o(
|
144
|
+
(r.roomCount > 1 || r.nightCount > 1 || r.taxIncludedPrice !== r.price) && r.isTaxIncluded ? (i(), m("span", ko, [
|
145
|
+
k("b", null, [
|
146
|
+
o(mt, {
|
147
147
|
amount: r.taxIncludedPrice,
|
148
148
|
"round-mode": r.roundMode
|
149
149
|
}, null, 8, ["amount", "round-mode"])
|
150
150
|
]),
|
151
|
-
|
152
|
-
rooms:
|
151
|
+
w(" " + g(I(n)("BPriceSummary.total")) + " " + g(I(n)("BPriceSummary.summary", {
|
152
|
+
rooms: I(n)("BPriceSummary.rooms", { n: r.roomCount })
|
153
153
|
})), 1)
|
154
|
-
])) :
|
155
|
-
|
156
|
-
r.taxIncludedPrice || r.price ? (i(),
|
157
|
-
r.isTaxIncluded ? (i(),
|
158
|
-
|
159
|
-
], 64)) : (i(),
|
160
|
-
|
154
|
+
])) : C("", !0),
|
155
|
+
k("span", vo, [
|
156
|
+
r.taxIncludedPrice || r.price ? (i(), m(y, { key: 0 }, [
|
157
|
+
r.isTaxIncluded ? (i(), m(y, { key: 0 }, [
|
158
|
+
w(g(I(n)("BPriceSummary.taxIncluded")), 1)
|
159
|
+
], 64)) : (i(), m(y, { key: 1 }, [
|
160
|
+
w(g(I(n)("BPriceSummary.taxNotIncluded")), 1)
|
161
161
|
], 64))
|
162
|
-
], 64)) :
|
162
|
+
], 64)) : C("", !0)
|
163
163
|
])
|
164
164
|
]));
|
165
165
|
}
|
166
166
|
});
|
167
|
-
function
|
167
|
+
function At(t) {
|
168
168
|
const e = t;
|
169
169
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
170
170
|
locale: "",
|
@@ -270,13 +270,13 @@ function $t(t) {
|
|
270
270
|
}
|
271
271
|
});
|
272
272
|
}
|
273
|
-
typeof
|
274
|
-
const
|
273
|
+
typeof At == "function" && At(Wt);
|
274
|
+
const Rt = /* @__PURE__ */ tt(Wt, [["__scopeId", "data-v-9728292a"]]);
|
275
275
|
function ho(t, e) {
|
276
276
|
return e ? t.adultCount === e.adultCount && t.checkInDate === e.checkInDate && t.checkOutDate === e.checkOutDate && t.children === e.children && t.hotelId === e.hotelId && t.roomCount === e.roomCount && t.sourceMarket === e.sourceMarket : !1;
|
277
277
|
}
|
278
278
|
function go(t) {
|
279
|
-
const e =
|
279
|
+
const e = pt(), n = Be(
|
280
280
|
t.checkInDate,
|
281
281
|
t.checkOutDate
|
282
282
|
), s = x({
|
@@ -289,17 +289,17 @@ function go(t) {
|
|
289
289
|
sourceMarket: t.sourceMarket
|
290
290
|
}), r = p(
|
291
291
|
() => e.hotelRoomOfferRequest(t.hotelId)
|
292
|
-
),
|
292
|
+
), b = le(
|
293
293
|
async function() {
|
294
|
-
const
|
295
|
-
t.hotelRoomOfferRequestId && t.hotelRoomOfferRequestId !==
|
296
|
-
hotelId:
|
294
|
+
const f = s.value, u = r.value;
|
295
|
+
t.hotelRoomOfferRequestId && t.hotelRoomOfferRequestId !== u?.id ? (await e.retrieveHotelRoomOfferRequest({
|
296
|
+
hotelId: f.hotelId,
|
297
297
|
hotelRoomOfferRequestId: t.hotelRoomOfferRequestId
|
298
|
-
}), (!
|
298
|
+
}), (!u || u.hasError) && await e.createHotelRoomOfferRequest(f)) : (!u || !u.id || u.hasError || !ho(f, u)) && await e.createHotelRoomOfferRequest(f);
|
299
299
|
},
|
300
300
|
300
|
301
301
|
);
|
302
|
-
|
302
|
+
$(
|
303
303
|
() => {
|
304
304
|
const l = r.value;
|
305
305
|
return l ? [
|
@@ -323,7 +323,7 @@ function go(t) {
|
|
323
323
|
sourceMarket: l.sourceMarket
|
324
324
|
});
|
325
325
|
}
|
326
|
-
),
|
326
|
+
), $(
|
327
327
|
() => t.adultCount,
|
328
328
|
(l) => {
|
329
329
|
s.value = {
|
@@ -331,7 +331,7 @@ function go(t) {
|
|
331
331
|
adultCount: l
|
332
332
|
};
|
333
333
|
}
|
334
|
-
),
|
334
|
+
), $(
|
335
335
|
() => t.checkInDate,
|
336
336
|
(l) => {
|
337
337
|
s.value = {
|
@@ -339,7 +339,7 @@ function go(t) {
|
|
339
339
|
checkInDate: l
|
340
340
|
};
|
341
341
|
}
|
342
|
-
),
|
342
|
+
), $(
|
343
343
|
() => t.checkOutDate,
|
344
344
|
(l) => {
|
345
345
|
s.value = {
|
@@ -347,7 +347,7 @@ function go(t) {
|
|
347
347
|
checkOutDate: l
|
348
348
|
};
|
349
349
|
}
|
350
|
-
),
|
350
|
+
), $(
|
351
351
|
() => t.children,
|
352
352
|
(l) => {
|
353
353
|
s.value = {
|
@@ -355,15 +355,15 @@ function go(t) {
|
|
355
355
|
children: l ?? null
|
356
356
|
};
|
357
357
|
}
|
358
|
-
),
|
358
|
+
), $(
|
359
359
|
() => t.hotelId,
|
360
|
-
(l,
|
361
|
-
|
360
|
+
(l, f) => {
|
361
|
+
f && e.deleteHotelRoomOfferRequest(f), s.value = {
|
362
362
|
...s.value,
|
363
363
|
hotelId: l
|
364
|
-
},
|
364
|
+
}, b();
|
365
365
|
}
|
366
|
-
),
|
366
|
+
), $(
|
367
367
|
() => t.roomCount,
|
368
368
|
(l) => {
|
369
369
|
s.value = {
|
@@ -371,7 +371,7 @@ function go(t) {
|
|
371
371
|
roomCount: l
|
372
372
|
};
|
373
373
|
}
|
374
|
-
),
|
374
|
+
), $(
|
375
375
|
() => t.sourceMarket,
|
376
376
|
(l) => {
|
377
377
|
s.value = {
|
@@ -381,16 +381,16 @@ function go(t) {
|
|
381
381
|
}
|
382
382
|
);
|
383
383
|
const d = () => {
|
384
|
-
e.resetHotelRoomOfferRequest(t.hotelId),
|
384
|
+
e.resetHotelRoomOfferRequest(t.hotelId), b();
|
385
385
|
};
|
386
|
-
return
|
386
|
+
return $(
|
387
387
|
() => s.value,
|
388
388
|
() => {
|
389
|
-
|
389
|
+
b();
|
390
390
|
},
|
391
391
|
{ deep: !0, immediate: !0 }
|
392
|
-
),
|
393
|
-
() =>
|
392
|
+
), $(
|
393
|
+
() => re(),
|
394
394
|
() => {
|
395
395
|
d();
|
396
396
|
},
|
@@ -400,30 +400,30 @@ function go(t) {
|
|
400
400
|
hotelRoomOfferRequestInternal: s
|
401
401
|
};
|
402
402
|
}
|
403
|
-
const yo =
|
403
|
+
const yo = j({
|
404
404
|
components: {
|
405
|
-
BPriceSummarySkeleton:
|
405
|
+
BPriceSummarySkeleton: Ct
|
406
406
|
},
|
407
|
-
mixins: [
|
407
|
+
mixins: [Mt],
|
408
408
|
name: "HotelRoomOfferLayout",
|
409
409
|
props: {
|
410
410
|
boilerplate: { type: Boolean }
|
411
411
|
},
|
412
412
|
setup() {
|
413
|
-
const { t } =
|
413
|
+
const { t } = F();
|
414
414
|
return {
|
415
415
|
t
|
416
416
|
};
|
417
417
|
}
|
418
418
|
}), Ro = { class: "d-flex justify-end" };
|
419
|
-
function Oo(t, e, n, s, r,
|
419
|
+
function Oo(t, e, n, s, r, b) {
|
420
420
|
const d = L("BPriceSummarySkeleton");
|
421
|
-
return i(),
|
421
|
+
return i(), R(P, {
|
422
422
|
class: "px-2 py-3 pa-sm-4 px-md-3",
|
423
423
|
"no-gutters": ""
|
424
424
|
}, {
|
425
425
|
default: a(() => [
|
426
|
-
o(
|
426
|
+
o(h, {
|
427
427
|
"align-self": "start",
|
428
428
|
cols: "12",
|
429
429
|
lg: "6",
|
@@ -431,12 +431,12 @@ function Oo(t, e, n, s, r, k) {
|
|
431
431
|
sm: "7"
|
432
432
|
}, {
|
433
433
|
default: a(() => [
|
434
|
-
o(
|
434
|
+
o(P, { "no-gutters": "" }, {
|
435
435
|
default: a(() => [
|
436
|
-
o(
|
436
|
+
o(h, { cols: "12" }, {
|
437
437
|
default: a(() => [
|
438
|
-
|
439
|
-
o(
|
438
|
+
E(t.$slots, "room-details", {}, () => [
|
439
|
+
o(X, {
|
440
440
|
boilerplate: t.boilerplate,
|
441
441
|
class: "mt-1",
|
442
442
|
height: "14px",
|
@@ -444,7 +444,7 @@ function Oo(t, e, n, s, r, k) {
|
|
444
444
|
type: "text",
|
445
445
|
width: "180px"
|
446
446
|
}, null, 8, ["boilerplate"]),
|
447
|
-
o(
|
447
|
+
o(X, {
|
448
448
|
boilerplate: t.boilerplate,
|
449
449
|
height: "12px",
|
450
450
|
tile: "",
|
@@ -455,21 +455,21 @@ function Oo(t, e, n, s, r, k) {
|
|
455
455
|
]),
|
456
456
|
_: 3
|
457
457
|
}),
|
458
|
-
o(
|
458
|
+
o(h, {
|
459
459
|
"align-self": "start",
|
460
460
|
class: "text-left d-flex flex-column mt-2",
|
461
461
|
cols: "12",
|
462
462
|
style: { gap: "0.3em" }
|
463
463
|
}, {
|
464
464
|
default: a(() => [
|
465
|
-
|
466
|
-
|
465
|
+
E(t.$slots, "breakfast-option-badge"),
|
466
|
+
E(t.$slots, "cancellation-policies")
|
467
467
|
]),
|
468
468
|
_: 3
|
469
469
|
}),
|
470
|
-
o(
|
470
|
+
o(h, { cols: "12" }, {
|
471
471
|
default: a(() => [
|
472
|
-
|
472
|
+
E(t.$slots, "breakfast-option-switch")
|
473
473
|
]),
|
474
474
|
_: 3
|
475
475
|
})
|
@@ -479,7 +479,7 @@ function Oo(t, e, n, s, r, k) {
|
|
479
479
|
]),
|
480
480
|
_: 3
|
481
481
|
}),
|
482
|
-
o(
|
482
|
+
o(h, {
|
483
483
|
"align-self": "end",
|
484
484
|
class: "text-right mt-sm-0 mt-2",
|
485
485
|
lg: "6",
|
@@ -487,16 +487,16 @@ function Oo(t, e, n, s, r, k) {
|
|
487
487
|
sm: "5"
|
488
488
|
}, {
|
489
489
|
default: a(() => [
|
490
|
-
|
491
|
-
|
490
|
+
E(t.$slots, "package-type"),
|
491
|
+
E(t.$slots, "price-summary", {}, () => [
|
492
492
|
o(d, {
|
493
493
|
boilerplate: t.boilerplate,
|
494
494
|
class: "mt-2"
|
495
495
|
}, null, 8, ["boilerplate"])
|
496
496
|
]),
|
497
|
-
|
498
|
-
|
499
|
-
o(
|
497
|
+
k("div", Ro, [
|
498
|
+
E(t.$slots, "action", {}, () => [
|
499
|
+
o(X, {
|
500
500
|
class: "mt-2",
|
501
501
|
boilerplate: t.boilerplate,
|
502
502
|
height: "28px",
|
@@ -513,7 +513,7 @@ function Oo(t, e, n, s, r, k) {
|
|
513
513
|
_: 3
|
514
514
|
});
|
515
515
|
}
|
516
|
-
const
|
516
|
+
const St = /* @__PURE__ */ tt(yo, [["render", Oo]]), Co = {
|
517
517
|
isLoading: { type: Boolean },
|
518
518
|
modelValue: {
|
519
519
|
type: Boolean
|
@@ -522,9 +522,9 @@ const kt = /* @__PURE__ */ tt(yo, [["render", Oo]]), Co = {
|
|
522
522
|
required: !0,
|
523
523
|
type: Number
|
524
524
|
}
|
525
|
-
},
|
525
|
+
}, xt = j({
|
526
526
|
components: {
|
527
|
-
BTag:
|
527
|
+
BTag: ct
|
528
528
|
},
|
529
529
|
computed: {
|
530
530
|
formattedPrice() {
|
@@ -543,7 +543,7 @@ const kt = /* @__PURE__ */ tt(yo, [["render", Oo]]), Co = {
|
|
543
543
|
name: "BBreakfastSwitch",
|
544
544
|
props: Co,
|
545
545
|
setup() {
|
546
|
-
const { t } =
|
546
|
+
const { t } = F();
|
547
547
|
return {
|
548
548
|
t
|
549
549
|
};
|
@@ -554,7 +554,7 @@ const kt = /* @__PURE__ */ tt(yo, [["render", Oo]]), Co = {
|
|
554
554
|
}
|
555
555
|
}
|
556
556
|
});
|
557
|
-
function
|
557
|
+
function $t(t) {
|
558
558
|
const e = t;
|
559
559
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
560
560
|
locale: "",
|
@@ -628,23 +628,22 @@ const Bo = lt({
|
|
628
628
|
attrs: n,
|
629
629
|
slots: s
|
630
630
|
} = e;
|
631
|
-
const r =
|
631
|
+
const r = dt(t, "indeterminate"), b = dt(t, "modelValue"), {
|
632
632
|
loaderClasses: d
|
633
633
|
} = Le(t), {
|
634
634
|
isFocused: l,
|
635
|
-
focus:
|
636
|
-
blur:
|
637
|
-
} = je(t),
|
638
|
-
function
|
635
|
+
focus: f,
|
636
|
+
blur: u
|
637
|
+
} = je(t), S = x(), T = ue && window.matchMedia("(forced-colors: active)").matches, v = p(() => typeof t.loading == "string" && t.loading !== "" ? t.loading : t.color), _ = ce(), z = p(() => t.id || `switch-${_}`);
|
638
|
+
function J() {
|
639
639
|
r.value && (r.value = !1);
|
640
640
|
}
|
641
|
-
function
|
642
|
-
|
643
|
-
W.stopPropagation(), W.preventDefault(), (D = (M = P.value) == null ? void 0 : M.input) == null || D.click();
|
641
|
+
function D(V) {
|
642
|
+
V.stopPropagation(), V.preventDefault(), S.value?.input?.click();
|
644
643
|
}
|
645
644
|
return rt(() => {
|
646
|
-
const [
|
647
|
-
return o(
|
645
|
+
const [V, G] = de(n), N = _t.filterProps(t), Q = Ht.filterProps(t);
|
646
|
+
return o(_t, M({
|
648
647
|
class: ["v-switch", {
|
649
648
|
"v-switch--flat": t.flat
|
650
649
|
}, {
|
@@ -652,70 +651,70 @@ const Bo = lt({
|
|
652
651
|
}, {
|
653
652
|
"v-switch--indeterminate": r.value
|
654
653
|
}, d.value, t.class]
|
655
|
-
},
|
656
|
-
modelValue:
|
657
|
-
"onUpdate:modelValue": (
|
658
|
-
id:
|
654
|
+
}, V, N, {
|
655
|
+
modelValue: b.value,
|
656
|
+
"onUpdate:modelValue": (B) => b.value = B,
|
657
|
+
id: z.value,
|
659
658
|
focused: l.value,
|
660
659
|
style: t.style
|
661
660
|
}), {
|
662
661
|
...s,
|
663
|
-
default: (
|
662
|
+
default: (B) => {
|
664
663
|
let {
|
665
|
-
id:
|
666
|
-
messagesId:
|
667
|
-
isDisabled:
|
668
|
-
isReadonly:
|
669
|
-
isValid:
|
670
|
-
} =
|
671
|
-
const
|
672
|
-
model:
|
673
|
-
isValid:
|
664
|
+
id: A,
|
665
|
+
messagesId: W,
|
666
|
+
isDisabled: U,
|
667
|
+
isReadonly: nt,
|
668
|
+
isValid: ot
|
669
|
+
} = B;
|
670
|
+
const c = {
|
671
|
+
model: b,
|
672
|
+
isValid: ot
|
674
673
|
};
|
675
|
-
return o(Ht,
|
676
|
-
ref:
|
677
|
-
},
|
678
|
-
modelValue:
|
679
|
-
"onUpdate:modelValue": [(
|
680
|
-
id:
|
681
|
-
"aria-describedby":
|
674
|
+
return o(Ht, M({
|
675
|
+
ref: S
|
676
|
+
}, Q, {
|
677
|
+
modelValue: b.value,
|
678
|
+
"onUpdate:modelValue": [(H) => b.value = H, J],
|
679
|
+
id: A.value,
|
680
|
+
"aria-describedby": W.value,
|
682
681
|
type: "checkbox",
|
683
682
|
"aria-checked": r.value ? "mixed" : void 0,
|
684
|
-
disabled:
|
685
|
-
readonly:
|
686
|
-
onFocus:
|
687
|
-
onBlur:
|
688
|
-
},
|
683
|
+
disabled: U.value,
|
684
|
+
readonly: nt.value,
|
685
|
+
onFocus: f,
|
686
|
+
onBlur: u
|
687
|
+
}, G), {
|
689
688
|
...s,
|
690
|
-
default: (
|
689
|
+
default: (H) => {
|
691
690
|
let {
|
692
|
-
backgroundColorClasses:
|
691
|
+
backgroundColorClasses: O,
|
693
692
|
backgroundColorStyles: q
|
694
|
-
} =
|
693
|
+
} = H;
|
695
694
|
return o("div", {
|
696
|
-
class: ["v-switch__track",
|
695
|
+
class: ["v-switch__track", T ? void 0 : O.value],
|
697
696
|
style: q.value,
|
698
|
-
onClick:
|
697
|
+
onClick: D
|
699
698
|
}, [s["track-true"] && o("div", {
|
700
699
|
key: "prepend",
|
701
700
|
class: "v-switch__track-true"
|
702
|
-
}, [s["track-true"](
|
701
|
+
}, [s["track-true"](c)]), s["track-false"] && o("div", {
|
703
702
|
key: "append",
|
704
703
|
class: "v-switch__track-false"
|
705
|
-
}, [s["track-false"](
|
704
|
+
}, [s["track-false"](c)])]);
|
706
705
|
},
|
707
|
-
input: (
|
706
|
+
input: (H) => {
|
708
707
|
let {
|
709
|
-
inputNode:
|
708
|
+
inputNode: O,
|
710
709
|
icon: q,
|
711
|
-
backgroundColorClasses:
|
712
|
-
backgroundColorStyles:
|
713
|
-
} =
|
714
|
-
return o(
|
710
|
+
backgroundColorClasses: ae,
|
711
|
+
backgroundColorStyles: se
|
712
|
+
} = H;
|
713
|
+
return o(y, null, [O, o("div", {
|
715
714
|
class: ["v-switch__thumb", {
|
716
715
|
"v-switch__thumb--filled": q || t.loading
|
717
|
-
}, t.inset ||
|
718
|
-
style: t.inset ? void 0 :
|
716
|
+
}, t.inset || T ? void 0 : ae.value],
|
717
|
+
style: t.inset ? void 0 : se.value
|
719
718
|
}, [s.thumb ? o(De, {
|
720
719
|
defaults: {
|
721
720
|
VIcon: {
|
@@ -725,23 +724,23 @@ const Bo = lt({
|
|
725
724
|
}
|
726
725
|
}, {
|
727
726
|
default: () => [s.thumb({
|
728
|
-
...
|
727
|
+
...c,
|
729
728
|
icon: q
|
730
729
|
})]
|
731
730
|
}) : o(qe, null, {
|
732
731
|
default: () => [t.loading ? o(ze, {
|
733
732
|
name: "v-switch",
|
734
733
|
active: !0,
|
735
|
-
color:
|
734
|
+
color: ot.value === !1 ? void 0 : v.value
|
736
735
|
}, {
|
737
|
-
default: (
|
738
|
-
active:
|
739
|
-
color:
|
736
|
+
default: (bt) => s.loader ? s.loader(bt) : o(Bt, {
|
737
|
+
active: bt.isActive,
|
738
|
+
color: bt.color,
|
740
739
|
indeterminate: !0,
|
741
740
|
size: "16",
|
742
741
|
width: "2"
|
743
742
|
}, null)
|
744
|
-
}) : q && o(
|
743
|
+
}) : q && o(at, {
|
745
744
|
key: String(q),
|
746
745
|
icon: q,
|
747
746
|
size: "x-small"
|
@@ -754,8 +753,8 @@ const Bo = lt({
|
|
754
753
|
}), {};
|
755
754
|
}
|
756
755
|
}), Io = { class: "text-caption ml-n3" }, wo = { class: "mr-2" }, Po = ["innerHTML"];
|
757
|
-
function _o(t, e, n, s, r,
|
758
|
-
return i(),
|
756
|
+
function _o(t, e, n, s, r, b) {
|
757
|
+
return i(), R(So, {
|
759
758
|
modelValue: t.valueLocal,
|
760
759
|
"onUpdate:modelValue": e[0] || (e[0] = (d) => t.valueLocal = d),
|
761
760
|
class: "ma-0 pa-0 breakfast-switch d-inline-block",
|
@@ -765,20 +764,20 @@ function _o(t, e, n, s, r, k) {
|
|
765
764
|
loading: t.isLoading && "success"
|
766
765
|
}, {
|
767
766
|
label: a(() => [
|
768
|
-
|
769
|
-
o(
|
767
|
+
k("div", Io, [
|
768
|
+
o(at, {
|
770
769
|
size: "12",
|
771
770
|
class: "ml-4 mr-2"
|
772
771
|
}, {
|
773
772
|
default: a(() => e[1] || (e[1] = [
|
774
|
-
|
773
|
+
w(" fas fa-coffee ")
|
775
774
|
])),
|
776
775
|
_: 1,
|
777
776
|
__: [1]
|
778
777
|
}),
|
779
|
-
e[2] || (e[2] =
|
780
|
-
|
781
|
-
|
778
|
+
e[2] || (e[2] = w(" ")),
|
779
|
+
k("span", wo, g(t.t("BBreakfastSwitch.title")), 1),
|
780
|
+
k("span", {
|
782
781
|
innerHTML: t.t("BBreakfastSwitch.price", { n: t.formattedPrice }).replace(
|
783
782
|
/\s/gu,
|
784
783
|
" "
|
@@ -789,8 +788,8 @@ function _o(t, e, n, s, r, k) {
|
|
789
788
|
_: 1
|
790
789
|
}, 8, ["modelValue", "loading"]);
|
791
790
|
}
|
792
|
-
typeof
|
793
|
-
const
|
791
|
+
typeof $t == "function" && $t(xt);
|
792
|
+
const Yt = /* @__PURE__ */ tt(xt, [["render", _o], ["__scopeId", "data-v-9a8c9349"]]), Ho = {
|
794
793
|
breakfastCount: {
|
795
794
|
type: Number
|
796
795
|
},
|
@@ -828,198 +827,186 @@ const xt = /* @__PURE__ */ tt(Yt, [["render", _o], ["__scopeId", "data-v-9a8c934
|
|
828
827
|
tags: { type: Array },
|
829
828
|
taxIncludedPrice: { required: !0, type: Number },
|
830
829
|
type: { type: String }
|
831
|
-
},
|
830
|
+
}, To = { key: 0 }, Vo = {
|
832
831
|
class: "align-self-center d-flex flex-wrap",
|
833
832
|
style: { gap: "0.3em" }
|
834
833
|
}, Eo = {
|
835
834
|
class: "align-self-center d-inline-flex flex-wrap",
|
836
835
|
style: { gap: "0.3em" }
|
837
|
-
}, Ao = { class: "text-caption" }, $o = { key: 0 }, Lo = { key: 1 }, Kt = /* @__PURE__ */
|
836
|
+
}, Ao = { class: "text-caption" }, $o = { key: 0 }, Lo = { key: 1 }, Kt = /* @__PURE__ */ j({
|
838
837
|
__name: "HotelRoomOfferItem",
|
839
|
-
props:
|
838
|
+
props: Ho,
|
840
839
|
emits: ["breakfast-change", "update:modelValue", "booking-policy-failed"],
|
841
840
|
setup(t, { emit: e }) {
|
842
|
-
const n = t, { t: s } =
|
841
|
+
const n = t, { t: s } = F(), { eventBus: r } = pe(), b = e, d = x(
|
843
842
|
n.breakfastCount && n.breakfastCount > 0 || !1
|
844
843
|
);
|
845
|
-
|
846
|
-
|
847
|
-
addBreakfast:
|
844
|
+
$(d, (c) => {
|
845
|
+
b("breakfast-change", {
|
846
|
+
addBreakfast: c,
|
848
847
|
hotelId: n.hotelId,
|
849
848
|
id: n.id
|
850
849
|
});
|
851
850
|
});
|
852
|
-
const l =
|
851
|
+
const l = pt(), f = ft(), u = p(
|
853
852
|
() => l.hotelRoomOfferRequest(n.hotelId)
|
854
|
-
),
|
855
|
-
var u;
|
856
|
-
return (u = c.value) == null ? void 0 : u.adultCount;
|
857
|
-
}), A = p(() => {
|
858
|
-
var u;
|
859
|
-
return (u = c.value) == null ? void 0 : u.checkInDate;
|
860
|
-
}), R = p(
|
853
|
+
), S = p(() => u.value?.adultCount), T = p(() => u.value?.checkInDate), v = p(
|
861
854
|
() => n.count ? ro(n.count + 1) : []
|
862
|
-
),
|
863
|
-
() =>
|
864
|
-
),
|
855
|
+
), _ = p(
|
856
|
+
() => f.hotelTimezone(n.hotelId)
|
857
|
+
), z = p(
|
865
858
|
() => l.nightCount(n.hotelId)
|
866
|
-
),
|
859
|
+
), J = p(() => {
|
867
860
|
switch (n.packageType) {
|
868
|
-
case
|
861
|
+
case ut.Cheapest:
|
869
862
|
return "red";
|
870
|
-
case
|
871
|
-
case
|
863
|
+
case ut.BestMatch:
|
864
|
+
case ut.MatchingRoomCount:
|
872
865
|
return "purple";
|
873
|
-
case
|
866
|
+
case ut.Regular:
|
874
867
|
case void 0:
|
875
868
|
default:
|
876
869
|
return "";
|
877
870
|
}
|
878
|
-
}),
|
879
|
-
() => n.hotelRooms.reduce((
|
880
|
-
),
|
871
|
+
}), D = p(
|
872
|
+
() => n.hotelRooms.reduce((c, H) => c + (H.count || 0), 0)
|
873
|
+
), V = p({
|
881
874
|
get() {
|
882
875
|
return n.modelValue;
|
883
876
|
},
|
884
|
-
set(
|
885
|
-
|
886
|
-
}
|
887
|
-
}), M = p(
|
888
|
-
() => {
|
889
|
-
var u;
|
890
|
-
return ((u = n.tags) == null ? void 0 : u.filter((T) => T.name.length > 30)) || [];
|
891
|
-
}
|
892
|
-
), D = p(
|
893
|
-
() => {
|
894
|
-
var u;
|
895
|
-
return ((u = n.tags) == null ? void 0 : u.filter((T) => T.name.length < 30)) || [];
|
877
|
+
set(c) {
|
878
|
+
b("update:modelValue", c);
|
896
879
|
}
|
880
|
+
}), G = p(
|
881
|
+
() => n.tags?.filter((c) => c.name.length > 30) || []
|
882
|
+
), N = p(
|
883
|
+
() => n.tags?.filter((c) => c.name.length < 30) || []
|
897
884
|
), {
|
898
|
-
bookingState:
|
899
|
-
createBookingPolicy:
|
900
|
-
isBookingPoliciesSuccessful:
|
901
|
-
isBookingPoliciesUnavailable:
|
902
|
-
isFetchingBookingPolicies:
|
885
|
+
bookingState: Q,
|
886
|
+
createBookingPolicy: B,
|
887
|
+
isBookingPoliciesSuccessful: A,
|
888
|
+
isBookingPoliciesUnavailable: W,
|
889
|
+
isFetchingBookingPolicies: U
|
903
890
|
} = uo();
|
904
|
-
|
905
|
-
|
891
|
+
$(Q, (c) => {
|
892
|
+
c === Y.Unavailable && b("booking-policy-failed", n.id);
|
906
893
|
});
|
907
|
-
async function
|
908
|
-
const
|
894
|
+
async function nt() {
|
895
|
+
const c = {
|
909
896
|
...n,
|
910
897
|
currency: n.currency
|
911
898
|
};
|
912
|
-
r.$emit(be.HotelRoomOffersBtnClick,
|
899
|
+
r.$emit(be.HotelRoomOffersBtnClick, c), await B({
|
913
900
|
addBreakfast: d.value,
|
914
901
|
hotelId: n.hotelId,
|
915
902
|
hotelRoomOfferId: n.id
|
916
903
|
});
|
917
904
|
}
|
918
|
-
const
|
919
|
-
return
|
905
|
+
const ot = x(null);
|
906
|
+
return Ye(ot), (c, H) => (i(), m("div", {
|
920
907
|
class: "position-relative",
|
921
908
|
ref_key: "root",
|
922
|
-
ref:
|
909
|
+
ref: ot
|
923
910
|
}, [
|
924
|
-
o(
|
911
|
+
o(St, { key: "is-available" }, {
|
925
912
|
"room-details": a(() => [
|
926
913
|
o(Gt, {
|
927
|
-
"hotel-rooms":
|
914
|
+
"hotel-rooms": c.hotelRooms
|
928
915
|
}, null, 8, ["hotel-rooms"])
|
929
916
|
]),
|
930
917
|
"package-type": a(() => [
|
931
|
-
|
918
|
+
c.type === "PACKAGE" && c.packageType !== "REGULAR" ? (i(), R(ct, {
|
932
919
|
key: 0,
|
933
920
|
class: "mb-3",
|
934
|
-
color:
|
921
|
+
color: J.value,
|
935
922
|
variant: "outlined"
|
936
923
|
}, {
|
937
924
|
description: a(() => [
|
938
|
-
|
939
|
-
`HotelRoomOfferItem.packageTypes.${
|
940
|
-
{ n:
|
925
|
+
w(g(I(s)(
|
926
|
+
`HotelRoomOfferItem.packageTypes.${c.packageType}.description`,
|
927
|
+
{ n: S.value }
|
941
928
|
)), 1)
|
942
929
|
]),
|
943
930
|
default: a(() => [
|
944
|
-
|
945
|
-
n:
|
931
|
+
w(g(I(s)(`HotelRoomOfferItem.packageTypes.${c.packageType}.title`, {
|
932
|
+
n: S.value
|
946
933
|
})) + " ", 1)
|
947
934
|
]),
|
948
935
|
_: 1
|
949
|
-
}, 8, ["color"])) :
|
936
|
+
}, 8, ["color"])) : C("", !0)
|
950
937
|
]),
|
951
938
|
"cancellation-policies": a(() => [
|
952
939
|
o(we, {
|
953
940
|
class: "mt-2",
|
954
|
-
"cancellation-policies":
|
955
|
-
"check-in-date":
|
956
|
-
timezone:
|
941
|
+
"cancellation-policies": c.cancellationPolicies,
|
942
|
+
"check-in-date": T.value,
|
943
|
+
timezone: _.value
|
957
944
|
}, null, 8, ["cancellation-policies", "check-in-date", "timezone"])
|
958
945
|
]),
|
959
946
|
"breakfast-option-badge": a(() => [
|
960
947
|
o(Ft, {
|
961
|
-
"breakfast-option":
|
962
|
-
breakfastCount:
|
948
|
+
"breakfast-option": c.breakfastCount && c.breakfastCount > 0 ? "INCLUDED" : c.breakfastOption,
|
949
|
+
breakfastCount: c.breakfastCount ?? void 0
|
963
950
|
}, null, 8, ["breakfast-option", "breakfastCount"])
|
964
951
|
]),
|
965
952
|
"breakfast-option-switch": a(() => [
|
966
|
-
|
967
|
-
o(
|
953
|
+
c.type !== "HOTEL_ROOM" && c.breakfastOption === "OPTIONAL" ? (i(), m("div", To, [
|
954
|
+
o(Yt, {
|
968
955
|
modelValue: d.value,
|
969
|
-
"onUpdate:modelValue":
|
956
|
+
"onUpdate:modelValue": H[0] || (H[0] = (O) => d.value = O),
|
970
957
|
class: "mt-3 pl-1",
|
971
|
-
"is-loading":
|
972
|
-
price:
|
958
|
+
"is-loading": c.isLoading,
|
959
|
+
price: c.breakfastUnitPrice ?? 0
|
973
960
|
}, null, 8, ["modelValue", "is-loading", "price"])
|
974
|
-
])) :
|
961
|
+
])) : C("", !0)
|
975
962
|
]),
|
976
963
|
"big-tags": a(() => [
|
977
|
-
|
978
|
-
(i(!0),
|
964
|
+
k("div", Vo, [
|
965
|
+
(i(!0), m(y, null, K(G.value, (O, q) => (i(), R(ct, {
|
979
966
|
key: q,
|
980
|
-
color:
|
981
|
-
"pre-icon": `fa-${
|
982
|
-
"text-color":
|
983
|
-
"tooltip-content":
|
967
|
+
color: O.bg,
|
968
|
+
"pre-icon": `fa-${O.faIcon}`,
|
969
|
+
"text-color": O.color,
|
970
|
+
"tooltip-content": O.description
|
984
971
|
}, {
|
985
972
|
default: a(() => [
|
986
|
-
|
973
|
+
w(g(O.name), 1)
|
987
974
|
]),
|
988
975
|
_: 2
|
989
976
|
}, 1032, ["color", "pre-icon", "text-color", "tooltip-content"]))), 128))
|
990
977
|
])
|
991
978
|
]),
|
992
979
|
tags: a(() => [
|
993
|
-
|
994
|
-
(i(!0),
|
980
|
+
k("div", Eo, [
|
981
|
+
(i(!0), m(y, null, K(N.value, (O, q) => (i(), R(ct, {
|
995
982
|
key: q,
|
996
|
-
color:
|
997
|
-
"pre-icon": `fa-${
|
998
|
-
"text-color":
|
999
|
-
"tooltip-content":
|
983
|
+
color: O.bg,
|
984
|
+
"pre-icon": `fa-${O.faIcon}`,
|
985
|
+
"text-color": O.color,
|
986
|
+
"tooltip-content": O.description
|
1000
987
|
}, {
|
1001
988
|
default: a(() => [
|
1002
|
-
|
989
|
+
w(g(O.name), 1)
|
1003
990
|
]),
|
1004
991
|
_: 2
|
1005
992
|
}, 1032, ["color", "pre-icon", "text-color", "tooltip-content"]))), 128))
|
1006
993
|
])
|
1007
994
|
]),
|
1008
995
|
"price-summary": a(() => [
|
1009
|
-
|
1010
|
-
o(
|
996
|
+
c.type === "HOTEL_ROOM" ? (i(), m(y, { key: 0 }, [
|
997
|
+
o(P, {
|
1011
998
|
class: "mt-md-8",
|
1012
999
|
"no-gutters": ""
|
1013
1000
|
}, {
|
1014
1001
|
default: a(() => [
|
1015
|
-
o(
|
1002
|
+
o(h, null, {
|
1016
1003
|
default: a(() => [
|
1017
|
-
o(
|
1004
|
+
o(Rt, {
|
1018
1005
|
"adult-count": 1,
|
1019
1006
|
class: "text-right",
|
1020
1007
|
"is-tax-included": !1,
|
1021
1008
|
"night-count": 0,
|
1022
|
-
price:
|
1009
|
+
price: c.price,
|
1023
1010
|
"room-count": 0
|
1024
1011
|
}, null, 8, ["price"])
|
1025
1012
|
]),
|
@@ -1028,41 +1015,41 @@ const xt = /* @__PURE__ */ tt(Yt, [["render", _o], ["__scopeId", "data-v-9a8c934
|
|
1028
1015
|
]),
|
1029
1016
|
_: 1
|
1030
1017
|
}),
|
1031
|
-
o(
|
1018
|
+
o(P, {
|
1032
1019
|
align: "end",
|
1033
1020
|
"no-gutters": ""
|
1034
1021
|
}, {
|
1035
1022
|
default: a(() => [
|
1036
|
-
o(
|
1023
|
+
o(h, {
|
1037
1024
|
align: "end",
|
1038
1025
|
class: "d-flex justify-end"
|
1039
1026
|
}, {
|
1040
1027
|
default: a(() => [
|
1041
|
-
|
1028
|
+
k("div", null, [
|
1042
1029
|
o(Ke, {
|
1043
|
-
modelValue:
|
1044
|
-
"onUpdate:modelValue":
|
1030
|
+
modelValue: V.value,
|
1031
|
+
"onUpdate:modelValue": H[1] || (H[1] = (O) => V.value = O),
|
1045
1032
|
class: "item-count mt-2",
|
1046
1033
|
density: "compact",
|
1047
1034
|
"hide-details": "",
|
1048
|
-
items:
|
1035
|
+
items: v.value,
|
1049
1036
|
"menu-props": {
|
1050
1037
|
minWidth: "125px"
|
1051
1038
|
},
|
1052
1039
|
variant: "outlined"
|
1053
1040
|
}, {
|
1054
|
-
item: a(({ item:
|
1041
|
+
item: a(({ item: O, props: q }) => [
|
1055
1042
|
o(Ze, me(fe(q)), {
|
1056
1043
|
title: a(() => [
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
o(
|
1062
|
-
amount:
|
1044
|
+
k("span", Ao, [
|
1045
|
+
w(g(O.raw) + " ", 1),
|
1046
|
+
O.raw ? (i(), m(y, { key: 0 }, [
|
1047
|
+
H[2] || (H[2] = w(" (")),
|
1048
|
+
o(mt, {
|
1049
|
+
amount: O.raw * c.price
|
1063
1050
|
}, null, 8, ["amount"]),
|
1064
|
-
|
1065
|
-
], 64)) :
|
1051
|
+
H[3] || (H[3] = w(") "))
|
1052
|
+
], 64)) : C("", !0)
|
1066
1053
|
])
|
1067
1054
|
]),
|
1068
1055
|
_: 2
|
@@ -1077,47 +1064,47 @@ const xt = /* @__PURE__ */ tt(Yt, [["render", _o], ["__scopeId", "data-v-9a8c934
|
|
1077
1064
|
]),
|
1078
1065
|
_: 1
|
1079
1066
|
})
|
1080
|
-
], 64)) : (i(),
|
1067
|
+
], 64)) : (i(), R(Rt, {
|
1081
1068
|
key: 1,
|
1082
|
-
"adult-count":
|
1069
|
+
"adult-count": S.value,
|
1083
1070
|
class: "text-right",
|
1084
1071
|
"is-tax-included": "",
|
1085
|
-
"night-count":
|
1086
|
-
price:
|
1087
|
-
"room-count":
|
1072
|
+
"night-count": z.value ?? 0,
|
1073
|
+
price: c.price,
|
1074
|
+
"room-count": D.value,
|
1088
1075
|
"round-mode": "ceil",
|
1089
|
-
"tax-included-price":
|
1076
|
+
"tax-included-price": c.taxIncludedPrice
|
1090
1077
|
}, null, 8, ["adult-count", "night-count", "price", "room-count", "tax-included-price"]))
|
1091
1078
|
]),
|
1092
1079
|
action: a(() => [
|
1093
|
-
|
1080
|
+
c.type === "PACKAGE" ? (i(), R(st, {
|
1094
1081
|
key: 0,
|
1095
1082
|
class: "text-none font-weight-bold book-btn w-100 w-sm-auto",
|
1096
|
-
color:
|
1097
|
-
disabled:
|
1083
|
+
color: I(A) ? "success" : "primary",
|
1084
|
+
disabled: I(U) || I(W) || c.isLoading,
|
1098
1085
|
elevation: "0",
|
1099
|
-
loading:
|
1086
|
+
loading: I(U),
|
1100
1087
|
size: "small",
|
1101
|
-
onClick:
|
1088
|
+
onClick: nt
|
1102
1089
|
}, {
|
1103
1090
|
default: a(() => [
|
1104
|
-
|
1105
|
-
|
1106
|
-
default: a(() =>
|
1107
|
-
|
1091
|
+
I(A) ? C("", !0) : (i(), m("span", $o, g(I(s)("HotelRoomOfferItem.book")), 1)),
|
1092
|
+
vt(o(at, { class: "position-absolute" }, {
|
1093
|
+
default: a(() => H[4] || (H[4] = [
|
1094
|
+
w(" fas fa-check ")
|
1108
1095
|
])),
|
1109
1096
|
_: 1,
|
1110
1097
|
__: [4]
|
1111
1098
|
}, 512), [
|
1112
|
-
[
|
1099
|
+
[ht, I(A)]
|
1113
1100
|
])
|
1114
1101
|
]),
|
1115
1102
|
_: 1
|
1116
|
-
}, 8, ["color", "disabled", "loading"])) : (i(),
|
1103
|
+
}, 8, ["color", "disabled", "loading"])) : (i(), m("span", Lo))
|
1117
1104
|
]),
|
1118
1105
|
_: 1
|
1119
1106
|
}),
|
1120
|
-
|
1107
|
+
c.isLoading ? (i(), R(Ut, {
|
1121
1108
|
key: 0,
|
1122
1109
|
absolute: "",
|
1123
1110
|
class: "mx-n4",
|
@@ -1125,30 +1112,30 @@ const xt = /* @__PURE__ */ tt(Yt, [["render", _o], ["__scopeId", "data-v-9a8c934
|
|
1125
1112
|
opacity: "0.75"
|
1126
1113
|
}, {
|
1127
1114
|
default: a(() => [
|
1128
|
-
o(
|
1115
|
+
o(Bt, {
|
1129
1116
|
color: "primary",
|
1130
1117
|
indeterminate: "",
|
1131
1118
|
size: "64"
|
1132
1119
|
})
|
1133
1120
|
]),
|
1134
1121
|
_: 1
|
1135
|
-
})) :
|
1136
|
-
|
1122
|
+
})) : C("", !0),
|
1123
|
+
I(W) || c.gone ? (i(), R(jt, {
|
1137
1124
|
key: 1,
|
1138
1125
|
"margin-top": 16
|
1139
1126
|
}, {
|
1140
1127
|
title: a(() => [
|
1141
|
-
|
1128
|
+
w(g(I(s)("HotelRoomOfferItem.unavailable.title")), 1)
|
1142
1129
|
]),
|
1143
1130
|
description: a(() => [
|
1144
|
-
|
1131
|
+
w(g(I(s)("HotelRoomOfferItem.unavailable.description")), 1)
|
1145
1132
|
]),
|
1146
1133
|
_: 1
|
1147
|
-
})) :
|
1134
|
+
})) : C("", !0)
|
1148
1135
|
], 512));
|
1149
1136
|
}
|
1150
1137
|
});
|
1151
|
-
function
|
1138
|
+
function Lt(t) {
|
1152
1139
|
const e = t;
|
1153
1140
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
1154
1141
|
locale: "",
|
@@ -1317,33 +1304,33 @@ function Dt(t) {
|
|
1317
1304
|
}
|
1318
1305
|
});
|
1319
1306
|
}
|
1320
|
-
typeof
|
1321
|
-
const Zt = /* @__PURE__ */ tt(Kt, [["__scopeId", "data-v-3b7a3453"]]), Do =
|
1307
|
+
typeof Lt == "function" && Lt(Kt);
|
1308
|
+
const Zt = /* @__PURE__ */ tt(Kt, [["__scopeId", "data-v-3b7a3453"]]), Do = j({
|
1322
1309
|
components: {
|
1323
1310
|
BHotelRoomsDetailsSkeleton: Pe,
|
1324
|
-
BPriceSummarySkeleton:
|
1311
|
+
BPriceSummarySkeleton: Ct
|
1325
1312
|
},
|
1326
1313
|
name: "BBasketSummaryLayout",
|
1327
1314
|
setup() {
|
1328
|
-
const { t } =
|
1315
|
+
const { t } = F();
|
1329
1316
|
return {
|
1330
1317
|
t
|
1331
1318
|
};
|
1332
1319
|
}
|
1333
1320
|
}), qo = { class: "text-subtitle-1 font-weight-black text-primary d-flex justify-end" }, zo = { class: "text-caption d-flex justify-end py-2" }, Mo = { class: "mt-3 d-flex justify-start align-center" }, No = { class: "pt-4" };
|
1334
|
-
function Uo(t, e, n, s, r,
|
1321
|
+
function Uo(t, e, n, s, r, b) {
|
1335
1322
|
const d = L("BHotelRoomsDetailsSkeleton"), l = L("BPriceSummarySkeleton");
|
1336
|
-
return i(),
|
1323
|
+
return i(), R(P, { class: "px-2" }, {
|
1337
1324
|
default: a(() => [
|
1338
|
-
o(
|
1325
|
+
o(h, null, {
|
1339
1326
|
default: a(() => [
|
1340
|
-
o(
|
1327
|
+
o(P, null, {
|
1341
1328
|
default: a(() => [
|
1342
|
-
o(
|
1329
|
+
o(h, null, {
|
1343
1330
|
default: a(() => [
|
1344
|
-
|
1345
|
-
|
1346
|
-
o(
|
1331
|
+
k("div", qo, [
|
1332
|
+
E(t.$slots, "title", {}, () => [
|
1333
|
+
o(X, {
|
1347
1334
|
height: "18px",
|
1348
1335
|
tile: "",
|
1349
1336
|
type: "heading",
|
@@ -1357,22 +1344,22 @@ function Uo(t, e, n, s, r, k) {
|
|
1357
1344
|
]),
|
1358
1345
|
_: 3
|
1359
1346
|
}),
|
1360
|
-
o(
|
1347
|
+
o(P, null, {
|
1361
1348
|
default: a(() => [
|
1362
|
-
o(
|
1349
|
+
o(h, null, {
|
1363
1350
|
default: a(() => [
|
1364
|
-
|
1365
|
-
|
1366
|
-
o(
|
1351
|
+
k("div", zo, [
|
1352
|
+
E(t.$slots, "adult-count", {}, () => [
|
1353
|
+
o(X, {
|
1367
1354
|
tile: "",
|
1368
1355
|
type: "text",
|
1369
1356
|
width: "150px"
|
1370
1357
|
})
|
1371
1358
|
])
|
1372
1359
|
]),
|
1373
|
-
|
1374
|
-
|
1375
|
-
o(
|
1360
|
+
k("div", Mo, [
|
1361
|
+
E(t.$slots, "secondary-title", {}, () => [
|
1362
|
+
o(X, {
|
1376
1363
|
height: "18px",
|
1377
1364
|
tile: "",
|
1378
1365
|
type: "heading",
|
@@ -1386,15 +1373,15 @@ function Uo(t, e, n, s, r, k) {
|
|
1386
1373
|
]),
|
1387
1374
|
_: 3
|
1388
1375
|
}),
|
1389
|
-
|
1390
|
-
|
1391
|
-
(i(),
|
1392
|
-
key: `item-skeleton-${
|
1376
|
+
E(t.$slots, "hotel-rooms", {}, () => [
|
1377
|
+
k("div", No, [
|
1378
|
+
(i(), m(y, null, K(2, (f) => (i(), m(y, {
|
1379
|
+
key: `item-skeleton-${f}`
|
1393
1380
|
}, [
|
1394
|
-
|
1395
|
-
o(
|
1381
|
+
k("div", null, [
|
1382
|
+
o(P, { align: "center" }, {
|
1396
1383
|
default: a(() => [
|
1397
|
-
o(
|
1384
|
+
o(h, { cols: "auto" }, {
|
1398
1385
|
default: a(() => [
|
1399
1386
|
o(d)
|
1400
1387
|
]),
|
@@ -1404,37 +1391,37 @@ function Uo(t, e, n, s, r, k) {
|
|
1404
1391
|
_: 1
|
1405
1392
|
})
|
1406
1393
|
]),
|
1407
|
-
o(
|
1394
|
+
o(Z)
|
1408
1395
|
], 64))), 64))
|
1409
1396
|
])
|
1410
1397
|
]),
|
1411
|
-
o(
|
1398
|
+
o(P, null, {
|
1412
1399
|
default: a(() => [
|
1413
|
-
o(
|
1400
|
+
o(h, null, {
|
1414
1401
|
default: a(() => [
|
1415
|
-
|
1402
|
+
E(t.$slots, "breakfast-option")
|
1416
1403
|
]),
|
1417
1404
|
_: 3
|
1418
1405
|
})
|
1419
1406
|
]),
|
1420
1407
|
_: 3
|
1421
1408
|
}),
|
1422
|
-
o(
|
1409
|
+
o(P, { class: "mt-1" }, {
|
1423
1410
|
default: a(() => [
|
1424
|
-
o(
|
1411
|
+
o(h, null, {
|
1425
1412
|
default: a(() => [
|
1426
|
-
o(
|
1413
|
+
o(Z)
|
1427
1414
|
]),
|
1428
1415
|
_: 1
|
1429
1416
|
})
|
1430
1417
|
]),
|
1431
1418
|
_: 1
|
1432
1419
|
}),
|
1433
|
-
o(
|
1420
|
+
o(P, { "no-gutters": "" }, {
|
1434
1421
|
default: a(() => [
|
1435
|
-
o(
|
1422
|
+
o(h, null, {
|
1436
1423
|
default: a(() => [
|
1437
|
-
|
1424
|
+
E(t.$slots, "price-summary", {}, () => [
|
1438
1425
|
o(l)
|
1439
1426
|
])
|
1440
1427
|
]),
|
@@ -1443,23 +1430,23 @@ function Uo(t, e, n, s, r, k) {
|
|
1443
1430
|
]),
|
1444
1431
|
_: 3
|
1445
1432
|
}),
|
1446
|
-
o(
|
1433
|
+
o(P, null, {
|
1447
1434
|
default: a(() => [
|
1448
|
-
o(
|
1435
|
+
o(h, { class: "py-0" }, {
|
1449
1436
|
default: a(() => [
|
1450
|
-
|
1437
|
+
E(t.$slots, "errors")
|
1451
1438
|
]),
|
1452
1439
|
_: 3
|
1453
1440
|
})
|
1454
1441
|
]),
|
1455
1442
|
_: 3
|
1456
1443
|
}),
|
1457
|
-
o(
|
1444
|
+
o(P, null, {
|
1458
1445
|
default: a(() => [
|
1459
|
-
o(
|
1446
|
+
o(h, { class: "pb-0" }, {
|
1460
1447
|
default: a(() => [
|
1461
|
-
|
1462
|
-
o(
|
1448
|
+
E(t.$slots, "button", {}, () => [
|
1449
|
+
o(X, {
|
1463
1450
|
height: "38px",
|
1464
1451
|
tile: "",
|
1465
1452
|
type: "heading",
|
@@ -1472,12 +1459,12 @@ function Uo(t, e, n, s, r, k) {
|
|
1472
1459
|
]),
|
1473
1460
|
_: 3
|
1474
1461
|
}),
|
1475
|
-
o(
|
1462
|
+
o(P, null, {
|
1476
1463
|
default: a(() => [
|
1477
|
-
o(
|
1464
|
+
o(h, null, {
|
1478
1465
|
default: a(() => [
|
1479
|
-
|
1480
|
-
o(
|
1466
|
+
E(t.$slots, "cancellation-policies", {}, () => [
|
1467
|
+
o(X, {
|
1481
1468
|
tile: "",
|
1482
1469
|
type: "paragraph",
|
1483
1470
|
width: "100%"
|
@@ -1496,14 +1483,14 @@ function Uo(t, e, n, s, r, k) {
|
|
1496
1483
|
_: 3
|
1497
1484
|
});
|
1498
1485
|
}
|
1499
|
-
const jo = /* @__PURE__ */ tt(Do, [["render", Uo]]), Jt =
|
1486
|
+
const jo = /* @__PURE__ */ tt(Do, [["render", Uo]]), Jt = j({
|
1500
1487
|
components: {
|
1501
1488
|
BBasketSummaryLayout: jo,
|
1502
1489
|
BBreakfastOptionBadge: Ft,
|
1503
|
-
BBreakfastSwitch:
|
1504
|
-
BFormattedAmount:
|
1490
|
+
BBreakfastSwitch: Yt,
|
1491
|
+
BFormattedAmount: mt,
|
1505
1492
|
BHotelRoomsDetails: Gt,
|
1506
|
-
BPriceSummary:
|
1493
|
+
BPriceSummary: Rt,
|
1507
1494
|
CancellationPoliciesList: Je
|
1508
1495
|
},
|
1509
1496
|
emits: ["breakfast-change", "delete-room", "submit"],
|
@@ -1521,69 +1508,56 @@ const jo = /* @__PURE__ */ tt(Do, [["render", Uo]]), Jt = Q({
|
|
1521
1508
|
isSuccessful: { type: Boolean }
|
1522
1509
|
},
|
1523
1510
|
setup(t, { emit: e }) {
|
1524
|
-
var h, E;
|
1525
1511
|
const n = x(
|
1526
|
-
|
1512
|
+
t.hotelRoomOffer?.breakfastCount && t.hotelRoomOffer?.breakfastCount > 0 || !1
|
1527
1513
|
), s = p(
|
1528
|
-
() =>
|
1529
|
-
var g;
|
1530
|
-
return (g = t.hotelRoomOffer) == null ? void 0 : g.breakfastOption;
|
1531
|
-
}
|
1514
|
+
() => t.hotelRoomOffer?.breakfastOption
|
1532
1515
|
), r = p(
|
1533
1516
|
() => lo(t.adultCount, t.children)
|
1534
|
-
),
|
1535
|
-
() => t.hotelRoomOffer.breakfastOption ===
|
1517
|
+
), b = p(
|
1518
|
+
() => t.hotelRoomOffer.breakfastOption === wt.Included
|
1536
1519
|
), d = p(
|
1537
|
-
() => t.hotelRoomOffer.breakfastOption ===
|
1520
|
+
() => t.hotelRoomOffer.breakfastOption === wt.Optional
|
1538
1521
|
), l = p(
|
1539
1522
|
() => t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price > 0
|
1540
|
-
),
|
1541
|
-
() =>
|
1542
|
-
|
1543
|
-
|
1544
|
-
|
1545
|
-
|
1546
|
-
|
1547
|
-
|
1548
|
-
|
1549
|
-
|
1550
|
-
|
1551
|
-
|
1552
|
-
|
1553
|
-
|
1554
|
-
|
1555
|
-
|
1556
|
-
|
1557
|
-
}
|
1558
|
-
), A = p(
|
1559
|
-
() => {
|
1560
|
-
var g;
|
1561
|
-
return _t(
|
1562
|
-
(g = t.hotelRoomOffer) == null ? void 0 : g.hotelRooms,
|
1563
|
-
(j) => j.count * j.occupancy
|
1564
|
-
);
|
1565
|
-
}
|
1523
|
+
), f = p(() => !t.hotelRoomOffer || !t.checkOutDate || !t.checkInDate ? 0 : kt(t.checkOutDate).diff(kt(t.checkInDate), "day")), u = p(
|
1524
|
+
() => Pt(t.hotelRoomOffer?.hotelRooms, "count")
|
1525
|
+
), S = p(
|
1526
|
+
() => Qe(
|
1527
|
+
ke({
|
1528
|
+
bookingDatetime: kt().format(),
|
1529
|
+
cancellationPolicies: t.hotelRoomOffer?.cancellationPolicies,
|
1530
|
+
checkInDate: t.checkInDate,
|
1531
|
+
timezone: t.hotelTimezone
|
1532
|
+
}),
|
1533
|
+
Xe.Camel
|
1534
|
+
)
|
1535
|
+
), T = p(
|
1536
|
+
() => Pt(
|
1537
|
+
t.hotelRoomOffer?.hotelRooms,
|
1538
|
+
(_) => _.count * _.occupancy
|
1539
|
+
)
|
1566
1540
|
);
|
1567
|
-
|
1568
|
-
e("breakfast-change",
|
1541
|
+
$(n, (_) => {
|
1542
|
+
e("breakfast-change", _);
|
1569
1543
|
});
|
1570
|
-
const { t:
|
1544
|
+
const { t: v } = F();
|
1571
1545
|
return {
|
1572
1546
|
addBreakfast: n,
|
1573
1547
|
breakfastOption: s,
|
1574
1548
|
guestCount: r,
|
1575
|
-
isBreakfastIncluded:
|
1549
|
+
isBreakfastIncluded: b,
|
1576
1550
|
isBreakfastOptionnal: d,
|
1577
1551
|
isTaxIncluded: l,
|
1578
|
-
nightCount:
|
1579
|
-
roomCount:
|
1580
|
-
sanitizedCancellationPolicies:
|
1581
|
-
t:
|
1582
|
-
totalOccupancy:
|
1552
|
+
nightCount: f,
|
1553
|
+
roomCount: u,
|
1554
|
+
sanitizedCancellationPolicies: S,
|
1555
|
+
t: v,
|
1556
|
+
totalOccupancy: T
|
1583
1557
|
};
|
1584
1558
|
}
|
1585
1559
|
});
|
1586
|
-
function
|
1560
|
+
function Dt(t) {
|
1587
1561
|
const e = t;
|
1588
1562
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
1589
1563
|
locale: "",
|
@@ -1717,14 +1691,14 @@ function qt(t) {
|
|
1717
1691
|
}
|
1718
1692
|
});
|
1719
1693
|
}
|
1720
|
-
const Fo = { key: 0 }, Go = ["innerHTML"], Wo = { class: "font-weight-bold pb-2" },
|
1694
|
+
const Fo = { key: 0 }, Go = ["innerHTML"], Wo = { class: "font-weight-bold pb-2" }, xo = { class: "mt-4 font-weight-bold" }, Yo = { class: "text-caption mb-0 text-left font-weight-bold" }, Ko = { class: "text-caption" }, Zo = {
|
1721
1695
|
key: 0,
|
1722
1696
|
class: "text-caption pl-2"
|
1723
1697
|
}, Jo = { class: "text-caption" }, Qo = { class: "text-caption font-weight-bold text-center my-0 text-red rounded" }, Xo = { key: 0 }, ta = { key: 1 };
|
1724
|
-
function ea(t, e, n, s, r,
|
1725
|
-
const d = L("BBasketSummaryLayout"), l = L("BHotelRoomsDetails"),
|
1726
|
-
return i(),
|
1727
|
-
t.isLoading ? (i(),
|
1698
|
+
function ea(t, e, n, s, r, b) {
|
1699
|
+
const d = L("BBasketSummaryLayout"), l = L("BHotelRoomsDetails"), f = L("BBreakfastOptionBadge"), u = L("BBreakfastSwitch"), S = L("BFormattedAmount"), T = L("BPriceSummary"), v = L("CancellationPoliciesList");
|
1700
|
+
return i(), m("div", null, [
|
1701
|
+
t.isLoading ? (i(), R(Ut, {
|
1728
1702
|
key: 0,
|
1729
1703
|
absolute: "",
|
1730
1704
|
class: "mx-n3",
|
@@ -1732,57 +1706,57 @@ function ea(t, e, n, s, r, k) {
|
|
1732
1706
|
opacity: "0.75"
|
1733
1707
|
}, {
|
1734
1708
|
default: a(() => [
|
1735
|
-
o(
|
1709
|
+
o(Bt, {
|
1736
1710
|
color: "primary",
|
1737
1711
|
indeterminate: "",
|
1738
1712
|
size: "64"
|
1739
1713
|
})
|
1740
1714
|
]),
|
1741
1715
|
_: 1
|
1742
|
-
})) :
|
1743
|
-
t.hotelRoomOffer ? (i(),
|
1716
|
+
})) : C("", !0),
|
1717
|
+
t.hotelRoomOffer ? (i(), R(d, { key: "filled-up" }, {
|
1744
1718
|
title: a(() => [
|
1745
|
-
|
1719
|
+
k("span", null, g(t.t("BBasketSummary.title")), 1)
|
1746
1720
|
]),
|
1747
1721
|
"adult-count": a(() => [
|
1748
|
-
|
1722
|
+
k("span", {
|
1749
1723
|
innerHTML: t.t("BBasketSummary.totalOccupancy", { n: t.totalOccupancy })
|
1750
1724
|
}, null, 8, Go)
|
1751
1725
|
]),
|
1752
1726
|
"secondary-title": a(() => [
|
1753
|
-
|
1727
|
+
k("span", Wo, g(t.t("BBasketSummary.yourSelection")), 1)
|
1754
1728
|
]),
|
1755
1729
|
"hotel-rooms": a(() => [
|
1756
|
-
(i(!0),
|
1757
|
-
key: `room-${
|
1730
|
+
(i(!0), m(y, null, K(t.hotelRoomOffer.hotelRooms, (_, z) => (i(), m("div", {
|
1731
|
+
key: `room-${z}`
|
1758
1732
|
}, [
|
1759
|
-
o(
|
1733
|
+
o(P, null, {
|
1760
1734
|
default: a(() => [
|
1761
|
-
o(
|
1735
|
+
o(h, {
|
1762
1736
|
class: "d-flex justify-space-between",
|
1763
1737
|
cols: "12"
|
1764
1738
|
}, {
|
1765
1739
|
default: a(() => [
|
1766
1740
|
o(l, {
|
1767
|
-
class:
|
1768
|
-
"mt-n4":
|
1741
|
+
class: gt({
|
1742
|
+
"mt-n4": z >= 1
|
1769
1743
|
}),
|
1770
|
-
"hotel-rooms": [
|
1744
|
+
"hotel-rooms": [_]
|
1771
1745
|
}, null, 8, ["class", "hotel-rooms"]),
|
1772
|
-
o(
|
1773
|
-
class:
|
1774
|
-
"mt-n4":
|
1746
|
+
o(st, {
|
1747
|
+
class: gt({
|
1748
|
+
"mt-n4": z >= 1
|
1775
1749
|
}),
|
1776
1750
|
color: "red",
|
1777
1751
|
icon: "",
|
1778
1752
|
variant: "text",
|
1779
1753
|
size: "small",
|
1780
|
-
onClick: (
|
1754
|
+
onClick: (J) => t.$emit("delete-room", _)
|
1781
1755
|
}, {
|
1782
1756
|
default: a(() => [
|
1783
|
-
o(
|
1757
|
+
o(at, null, {
|
1784
1758
|
default: a(() => e[7] || (e[7] = [
|
1785
|
-
|
1759
|
+
w("fas fa-times")
|
1786
1760
|
])),
|
1787
1761
|
_: 1,
|
1788
1762
|
__: [7]
|
@@ -1799,12 +1773,12 @@ function ea(t, e, n, s, r, k) {
|
|
1799
1773
|
]))), 128))
|
1800
1774
|
]),
|
1801
1775
|
"breakfast-option": a(() => [
|
1802
|
-
t.breakfastOption ? (i(),
|
1803
|
-
o(
|
1776
|
+
t.breakfastOption ? (i(), m(y, { key: 0 }, [
|
1777
|
+
o(P, { "no-gutters": "" }, {
|
1804
1778
|
default: a(() => [
|
1805
|
-
o(
|
1779
|
+
o(h, null, {
|
1806
1780
|
default: a(() => [
|
1807
|
-
o(
|
1781
|
+
o(f, {
|
1808
1782
|
"breakfast-count": t.hotelRoomOffer.breakfastCount,
|
1809
1783
|
"breakfast-option": t.hotelRoomOffer.breakfastCount && t.hotelRoomOffer.breakfastCount > 0 ? "INCLUDED" : t.breakfastOption,
|
1810
1784
|
class: "mr-n1"
|
@@ -1815,17 +1789,17 @@ function ea(t, e, n, s, r, k) {
|
|
1815
1789
|
]),
|
1816
1790
|
_: 1
|
1817
1791
|
}),
|
1818
|
-
t.isBreakfastOptionnal ? (i(),
|
1792
|
+
t.isBreakfastOptionnal ? (i(), R(P, {
|
1819
1793
|
key: 0,
|
1820
1794
|
class: "mt-2",
|
1821
1795
|
"no-gutters": ""
|
1822
1796
|
}, {
|
1823
1797
|
default: a(() => [
|
1824
|
-
o(
|
1798
|
+
o(h, { class: "mb-2 mt-xl-0" }, {
|
1825
1799
|
default: a(() => [
|
1826
|
-
o(
|
1800
|
+
o(u, {
|
1827
1801
|
modelValue: t.addBreakfast,
|
1828
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
1802
|
+
"onUpdate:modelValue": e[0] || (e[0] = (_) => t.addBreakfast = _),
|
1829
1803
|
loading: t.isLoading && "success",
|
1830
1804
|
price: t.hotelRoomOffer.breakfastUnitPrice
|
1831
1805
|
}, null, 8, ["modelValue", "loading", "price"])
|
@@ -1834,32 +1808,32 @@ function ea(t, e, n, s, r, k) {
|
|
1834
1808
|
})
|
1835
1809
|
]),
|
1836
1810
|
_: 1
|
1837
|
-
})) :
|
1838
|
-
], 64)) :
|
1811
|
+
})) : C("", !0)
|
1812
|
+
], 64)) : C("", !0)
|
1839
1813
|
]),
|
1840
1814
|
"price-summary": a(() => [
|
1841
|
-
|
1842
|
-
o(
|
1815
|
+
k("p", xo, g(t.t("BBasketSummary.priceDetails")), 1),
|
1816
|
+
o(P, {
|
1843
1817
|
"no-gutters": "",
|
1844
1818
|
class: "mt-1"
|
1845
1819
|
}, {
|
1846
1820
|
default: a(() => [
|
1847
|
-
o(
|
1821
|
+
o(h, null, {
|
1848
1822
|
default: a(() => [
|
1849
|
-
|
1823
|
+
k("p", Yo, g(t.t("BBasketSummary.roomCount", {
|
1850
1824
|
n: t.roomCount,
|
1851
1825
|
value: t.roomCount
|
1852
|
-
})) + " x " +
|
1826
|
+
})) + " x " + g(t.t("BBasketSummary.nightCount", {
|
1853
1827
|
n: t.nightCount,
|
1854
1828
|
value: t.nightCount
|
1855
1829
|
})), 1)
|
1856
1830
|
]),
|
1857
1831
|
_: 1
|
1858
1832
|
}),
|
1859
|
-
o(
|
1833
|
+
o(h, { class: "text-right" }, {
|
1860
1834
|
default: a(() => [
|
1861
|
-
|
1862
|
-
o(
|
1835
|
+
k("span", Ko, [
|
1836
|
+
o(S, {
|
1863
1837
|
amount: t.hotelRoomOffer.price
|
1864
1838
|
}, null, 8, ["amount"])
|
1865
1839
|
])
|
@@ -1869,40 +1843,40 @@ function ea(t, e, n, s, r, k) {
|
|
1869
1843
|
]),
|
1870
1844
|
_: 1
|
1871
1845
|
}),
|
1872
|
-
o(
|
1846
|
+
o(P, {
|
1873
1847
|
"no-gutters": "",
|
1874
1848
|
class: "mt-n2"
|
1875
1849
|
}, {
|
1876
1850
|
default: a(() => [
|
1877
|
-
o(
|
1851
|
+
o(h, null, {
|
1878
1852
|
default: a(() => [
|
1879
|
-
t.hotelRoomOffer.breakfastCount ? (i(),
|
1853
|
+
t.hotelRoomOffer.breakfastCount ? (i(), m("small", Zo, g(t.t("BBasketSummary.breakfastIncluded", {
|
1880
1854
|
n: t.hotelRoomOffer.breakfastCount,
|
1881
1855
|
value: t.hotelRoomOffer.breakfastCount
|
1882
|
-
})), 1)) :
|
1856
|
+
})), 1)) : C("", !0)
|
1883
1857
|
]),
|
1884
1858
|
_: 1
|
1885
1859
|
})
|
1886
1860
|
]),
|
1887
1861
|
_: 1
|
1888
1862
|
}),
|
1889
|
-
t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price > 0 ? (i(),
|
1863
|
+
t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price > 0 ? (i(), R(P, {
|
1890
1864
|
key: 0,
|
1891
1865
|
"no-gutters": "",
|
1892
1866
|
class: "mt-2 color-black"
|
1893
1867
|
}, {
|
1894
1868
|
default: a(() => [
|
1895
|
-
o(
|
1869
|
+
o(h, null, {
|
1896
1870
|
default: a(() => e[8] || (e[8] = [
|
1897
|
-
|
1871
|
+
k("small", { class: "text-caption text-left font-weight-bold" }, " Taxes & fees ", -1)
|
1898
1872
|
])),
|
1899
1873
|
_: 1,
|
1900
1874
|
__: [8]
|
1901
1875
|
}),
|
1902
|
-
o(
|
1876
|
+
o(h, { class: "text-right" }, {
|
1903
1877
|
default: a(() => [
|
1904
|
-
|
1905
|
-
o(
|
1878
|
+
k("span", Jo, [
|
1879
|
+
o(S, {
|
1906
1880
|
amount: t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price
|
1907
1881
|
}, null, 8, ["amount"])
|
1908
1882
|
])
|
@@ -1911,19 +1885,19 @@ function ea(t, e, n, s, r, k) {
|
|
1911
1885
|
})
|
1912
1886
|
]),
|
1913
1887
|
_: 1
|
1914
|
-
})) :
|
1915
|
-
o(
|
1888
|
+
})) : C("", !0),
|
1889
|
+
o(P, { class: "mt-0" }, {
|
1916
1890
|
default: a(() => [
|
1917
|
-
o(
|
1891
|
+
o(h, null, {
|
1918
1892
|
default: a(() => e[9] || (e[9] = [
|
1919
|
-
|
1893
|
+
k("b", null, " Total ", -1)
|
1920
1894
|
])),
|
1921
1895
|
_: 1,
|
1922
1896
|
__: [9]
|
1923
1897
|
}),
|
1924
|
-
o(
|
1898
|
+
o(h, null, {
|
1925
1899
|
default: a(() => [
|
1926
|
-
o(
|
1900
|
+
o(T, {
|
1927
1901
|
"is-tax-included": t.isTaxIncluded,
|
1928
1902
|
"night-count": 0,
|
1929
1903
|
price: t.hotelRoomOffer.price,
|
@@ -1938,7 +1912,7 @@ function ea(t, e, n, s, r, k) {
|
|
1938
1912
|
})
|
1939
1913
|
]),
|
1940
1914
|
errors: a(() => [
|
1941
|
-
t.totalOccupancy && t.totalOccupancy < t.guestCount ? (i(),
|
1915
|
+
t.totalOccupancy && t.totalOccupancy < t.guestCount ? (i(), R(We, {
|
1942
1916
|
key: 0,
|
1943
1917
|
class: "mb-0",
|
1944
1918
|
color: "red",
|
@@ -1946,108 +1920,107 @@ function ea(t, e, n, s, r, k) {
|
|
1946
1920
|
variant: "outlined"
|
1947
1921
|
}, {
|
1948
1922
|
default: a(() => [
|
1949
|
-
|
1923
|
+
k("p", Qo, g(t.t("BBasketSummary.occupancyWarning", {
|
1950
1924
|
guestCount: t.guestCount
|
1951
1925
|
})), 1)
|
1952
1926
|
]),
|
1953
1927
|
_: 1
|
1954
|
-
})) :
|
1928
|
+
})) : C("", !0)
|
1955
1929
|
]),
|
1956
1930
|
button: a(() => [
|
1957
|
-
o(
|
1931
|
+
o(st, {
|
1958
1932
|
block: "",
|
1959
1933
|
class: "text-none font-weight-bold",
|
1960
1934
|
color: t.isSuccessful ? "success" : "primary",
|
1961
1935
|
disabled: !t.hotelRoomOffer,
|
1962
1936
|
loading: t.isSubmitting,
|
1963
|
-
onClick: e[1] || (e[1] = (
|
1937
|
+
onClick: e[1] || (e[1] = (_) => t.$emit("submit"))
|
1964
1938
|
}, {
|
1965
1939
|
default: a(() => [
|
1966
|
-
t.isSuccessful ?
|
1967
|
-
|
1940
|
+
t.isSuccessful ? C("", !0) : (i(), m("span", Xo, g(t.t("BBasketSummary.book")), 1)),
|
1941
|
+
vt(o(at, { class: "position-absolute" }, {
|
1968
1942
|
default: a(() => e[10] || (e[10] = [
|
1969
|
-
|
1943
|
+
w(" fas fa-check ")
|
1970
1944
|
])),
|
1971
1945
|
_: 1,
|
1972
1946
|
__: [10]
|
1973
1947
|
}, 512), [
|
1974
|
-
[
|
1948
|
+
[ht, t.isSuccessful]
|
1975
1949
|
])
|
1976
1950
|
]),
|
1977
1951
|
_: 1
|
1978
1952
|
}, 8, ["color", "disabled", "loading"])
|
1979
1953
|
]),
|
1980
1954
|
"cancellation-policies": a(() => [
|
1981
|
-
t.hotelRoomOffer && t.hotelRoomOffer.cancellationPolicies.length ? (i(),
|
1955
|
+
t.hotelRoomOffer && t.hotelRoomOffer.cancellationPolicies.length ? (i(), R(v, {
|
1982
1956
|
key: 0,
|
1983
1957
|
"cancellation-policies": t.sanitizedCancellationPolicies,
|
1984
1958
|
"check-in-date": t.checkInDate,
|
1985
1959
|
class: "text-caption",
|
1986
1960
|
timezone: t.hotelTimezone
|
1987
|
-
}, null, 8, ["cancellation-policies", "check-in-date", "timezone"])) : (i(),
|
1961
|
+
}, null, 8, ["cancellation-policies", "check-in-date", "timezone"])) : (i(), m("span", ta))
|
1988
1962
|
]),
|
1989
1963
|
_: 1
|
1990
|
-
})) : (i(),
|
1964
|
+
})) : (i(), R(d, { key: "empty" }, {
|
1991
1965
|
title: a(() => [
|
1992
|
-
|
1966
|
+
k("span", null, g(t.t("BBasketSummary.title")), 1)
|
1993
1967
|
]),
|
1994
1968
|
"adult-count": a(() => [
|
1995
|
-
|
1969
|
+
w(g(t.t("BBasketSummary.noSelection")), 1)
|
1996
1970
|
]),
|
1997
1971
|
"secondary-title": a(() => e[2] || (e[2] = [
|
1998
|
-
|
1972
|
+
k("span", null, null, -1)
|
1999
1973
|
])),
|
2000
1974
|
"hotel-rooms": a(() => e[3] || (e[3] = [
|
2001
|
-
|
1975
|
+
k("span", null, null, -1)
|
2002
1976
|
])),
|
2003
1977
|
"price-summary": a(() => e[4] || (e[4] = [
|
2004
|
-
|
1978
|
+
k("span", null, null, -1)
|
2005
1979
|
])),
|
2006
1980
|
button: a(() => [
|
2007
|
-
o(
|
1981
|
+
o(st, {
|
2008
1982
|
block: "",
|
2009
1983
|
class: "text-none font-weight-bold",
|
2010
1984
|
disabled: ""
|
2011
1985
|
}, {
|
2012
1986
|
default: a(() => [
|
2013
|
-
t.isSuccessful ?
|
2014
|
-
|
1987
|
+
t.isSuccessful ? C("", !0) : (i(), m("span", Fo, g(t.t("BBasketSummary.book")), 1)),
|
1988
|
+
vt(o(at, { class: "position-absolute" }, {
|
2015
1989
|
default: a(() => e[5] || (e[5] = [
|
2016
|
-
|
1990
|
+
w(" fas fa-check ")
|
2017
1991
|
])),
|
2018
1992
|
_: 1,
|
2019
1993
|
__: [5]
|
2020
1994
|
}, 512), [
|
2021
|
-
[
|
1995
|
+
[ht, t.isSuccessful]
|
2022
1996
|
])
|
2023
1997
|
]),
|
2024
1998
|
_: 1
|
2025
1999
|
})
|
2026
2000
|
]),
|
2027
2001
|
"cancellation-policies": a(() => e[6] || (e[6] = [
|
2028
|
-
|
2002
|
+
k("span", null, null, -1)
|
2029
2003
|
])),
|
2030
2004
|
_: 1
|
2031
2005
|
}))
|
2032
2006
|
]);
|
2033
2007
|
}
|
2034
|
-
typeof
|
2008
|
+
typeof Dt == "function" && Dt(Jt);
|
2035
2009
|
const oa = /* @__PURE__ */ tt(Jt, [["render", ea]]), aa = {
|
2036
2010
|
hotelId: {
|
2037
2011
|
required: !0,
|
2038
2012
|
type: String
|
2039
2013
|
}
|
2040
|
-
}, sa =
|
2014
|
+
}, sa = j({
|
2041
2015
|
components: {
|
2042
2016
|
BBasketSummary: oa,
|
2043
2017
|
HotelRoomOfferItem: Zt,
|
2044
|
-
HotelRoomOfferItemLayout:
|
2018
|
+
HotelRoomOfferItemLayout: St
|
2045
2019
|
},
|
2046
2020
|
computed: {
|
2047
|
-
...he(
|
2021
|
+
...he(pt, ft),
|
2048
2022
|
adultCount() {
|
2049
|
-
|
2050
|
-
return (t = this.hotelRoomOfferRequest) == null ? void 0 : t.adultCount;
|
2023
|
+
return this.hotelRoomOfferRequest?.adultCount;
|
2051
2024
|
},
|
2052
2025
|
currency() {
|
2053
2026
|
return window.RevolugoElements.config.currency;
|
@@ -2059,13 +2032,12 @@ const oa = /* @__PURE__ */ tt(Jt, [["render", ea]]), aa = {
|
|
2059
2032
|
);
|
2060
2033
|
},
|
2061
2034
|
hotelRoomOffers() {
|
2062
|
-
|
2063
|
-
return ((e = (t = this.$store.get(
|
2035
|
+
return this.$store.get(
|
2064
2036
|
"hotelRoomOffers/hotelRoomOffers",
|
2065
2037
|
this.hotelId
|
2066
|
-
)
|
2067
|
-
(
|
2068
|
-
)
|
2038
|
+
)?.offers?.filter(
|
2039
|
+
(t) => t.type === yt.HotelRoom
|
2040
|
+
) || null;
|
2069
2041
|
},
|
2070
2042
|
hotelTimezone() {
|
2071
2043
|
return this.$store.get("hotelRoomOffers/hotelTimezone", this.hotelId);
|
@@ -2081,22 +2053,21 @@ const oa = /* @__PURE__ */ tt(Jt, [["render", ea]]), aa = {
|
|
2081
2053
|
},
|
2082
2054
|
methods: {
|
2083
2055
|
async createHotelRoomOfferPackage() {
|
2084
|
-
var e;
|
2085
2056
|
this.isLoading = !0;
|
2086
|
-
const t = this.basketContent.map((
|
2087
|
-
count:
|
2088
|
-
hotelRoomOfferId:
|
2089
|
-
})).filter((
|
2057
|
+
const t = this.basketContent.map((e) => ({
|
2058
|
+
count: e.count,
|
2059
|
+
hotelRoomOfferId: e.hotelRoomOfferId
|
2060
|
+
})).filter((e) => e.count > 0);
|
2090
2061
|
try {
|
2091
|
-
this.newCreatedPackage = await
|
2062
|
+
this.newCreatedPackage = await this.bookingApiClient?.hotelRoomOffers.create({
|
2092
2063
|
hotelRoomOffersCreateApi: {
|
2093
2064
|
addBreakfast: this.addBreakfast,
|
2094
2065
|
currency: this.currency,
|
2095
2066
|
hotelRoomOffers: t
|
2096
2067
|
}
|
2097
|
-
})
|
2098
|
-
} catch (
|
2099
|
-
throw this.isLoading = !1,
|
2068
|
+
});
|
2069
|
+
} catch (e) {
|
2070
|
+
throw this.isLoading = !1, e;
|
2100
2071
|
}
|
2101
2072
|
this.isLoading = !1;
|
2102
2073
|
},
|
@@ -2123,8 +2094,7 @@ const oa = /* @__PURE__ */ tt(Jt, [["render", ea]]), aa = {
|
|
2123
2094
|
this.basketContent[e].count = 0;
|
2124
2095
|
},
|
2125
2096
|
async onSubmit() {
|
2126
|
-
|
2127
|
-
(t = this.newCreatedPackage) != null && t.hotelRoomOffer.id && (this.isLoading = !0, await this.createBookingPolicy({
|
2097
|
+
this.newCreatedPackage?.hotelRoomOffer.id && (this.isLoading = !0, await this.createBookingPolicy({
|
2128
2098
|
addBreakfast: this.addBreakfast,
|
2129
2099
|
hotelId: this.hotelId,
|
2130
2100
|
hotelRoomOfferId: this.newCreatedPackage.hotelRoomOffer.id
|
@@ -2135,7 +2105,7 @@ const oa = /* @__PURE__ */ tt(Jt, [["render", ea]]), aa = {
|
|
2135
2105
|
name: "HotelRoomOfferBasket",
|
2136
2106
|
props: aa,
|
2137
2107
|
setup() {
|
2138
|
-
const { t } =
|
2108
|
+
const { t } = F();
|
2139
2109
|
return {
|
2140
2110
|
t
|
2141
2111
|
};
|
@@ -2166,37 +2136,37 @@ const oa = /* @__PURE__ */ tt(Jt, [["render", ea]]), aa = {
|
|
2166
2136
|
}
|
2167
2137
|
}
|
2168
2138
|
});
|
2169
|
-
function na(t, e, n, s, r,
|
2139
|
+
function na(t, e, n, s, r, b) {
|
2170
2140
|
const d = L("HotelRoomOfferItem"), l = L("BBasketSummary");
|
2171
|
-
return i(),
|
2141
|
+
return i(), R(P, { "no-gutters": "" }, {
|
2172
2142
|
default: a(() => [
|
2173
|
-
o(
|
2143
|
+
o(h, {
|
2174
2144
|
cols: "12",
|
2175
2145
|
md: "8"
|
2176
2146
|
}, {
|
2177
2147
|
default: a(() => [
|
2178
|
-
t.hotelRoomOffers.length && t.basketContent.length ? (i(!0),
|
2179
|
-
|
2180
|
-
o(d,
|
2181
|
-
modelValue: t.basketContent[
|
2182
|
-
"onUpdate:modelValue": (
|
2183
|
-
}, { ref_for: !0 },
|
2184
|
-
], 64))), 256)) :
|
2148
|
+
t.hotelRoomOffers.length && t.basketContent.length ? (i(!0), m(y, { key: 0 }, K(t.hotelRoomOffers, (f, u) => (i(), m(y, null, [
|
2149
|
+
u > 0 ? (i(), R(Z, { key: 0 })) : C("", !0),
|
2150
|
+
o(d, M({
|
2151
|
+
modelValue: t.basketContent[u].count,
|
2152
|
+
"onUpdate:modelValue": (S) => t.basketContent[u].count = S
|
2153
|
+
}, { ref_for: !0 }, f), null, 16, ["modelValue", "onUpdate:modelValue"])
|
2154
|
+
], 64))), 256)) : C("", !0)
|
2185
2155
|
]),
|
2186
2156
|
_: 1
|
2187
2157
|
}),
|
2188
|
-
o(
|
2158
|
+
o(Z, {
|
2189
2159
|
class: "d-none d-md-block",
|
2190
2160
|
vertical: ""
|
2191
2161
|
}),
|
2192
|
-
o(
|
2162
|
+
o(h, {
|
2193
2163
|
class: "mt-3",
|
2194
2164
|
cols: "12",
|
2195
2165
|
md: "4"
|
2196
2166
|
}, {
|
2197
2167
|
default: a(() => [
|
2198
|
-
o(
|
2199
|
-
o(l,
|
2168
|
+
o(Z, { class: "d-block d-md-none my-2" }),
|
2169
|
+
o(l, M(t.newCreatedPackage, {
|
2200
2170
|
"adult-count": t.adultCount,
|
2201
2171
|
"hotel-timezone": t.hotelTimezone,
|
2202
2172
|
"is-loading": t.isLoading,
|
@@ -2213,32 +2183,71 @@ function na(t, e, n, s, r, k) {
|
|
2213
2183
|
_: 1
|
2214
2184
|
});
|
2215
2185
|
}
|
2216
|
-
const ia = /* @__PURE__ */ tt(sa, [["render", na], ["__scopeId", "data-v-ee0e3c98"]]), la = {
|
2217
|
-
|
2218
|
-
|
2219
|
-
|
2220
|
-
|
2221
|
-
|
2222
|
-
|
2186
|
+
const ia = /* @__PURE__ */ tt(sa, [["render", na], ["__scopeId", "data-v-ee0e3c98"]]), la = j({
|
2187
|
+
name: "BErrorOverlay",
|
2188
|
+
props: {
|
2189
|
+
marginTop: {
|
2190
|
+
default: 64,
|
2191
|
+
type: Number
|
2192
|
+
},
|
2193
|
+
minHeight: {
|
2194
|
+
type: String
|
2195
|
+
},
|
2196
|
+
zIndex: {
|
2197
|
+
type: Number
|
2198
|
+
}
|
2223
2199
|
},
|
2224
|
-
|
2225
|
-
|
2200
|
+
setup() {
|
2201
|
+
const { t } = F();
|
2202
|
+
return {
|
2203
|
+
t
|
2204
|
+
};
|
2226
2205
|
}
|
2227
|
-
},
|
2206
|
+
}), ra = j({
|
2228
2207
|
components: {
|
2229
|
-
|
2230
|
-
|
2208
|
+
BPriceSummarySkeleton: Ct
|
2209
|
+
},
|
2210
|
+
mixins: [Mt],
|
2211
|
+
name: "HotelRoomOfferLayout",
|
2212
|
+
props: {
|
2213
|
+
boilerplate: { type: Boolean }
|
2231
2214
|
},
|
2232
|
-
name: "HotelRoomOfferListEmpty",
|
2233
|
-
props: la,
|
2234
2215
|
setup() {
|
2235
|
-
const { t } =
|
2216
|
+
const { t } = F();
|
2236
2217
|
return {
|
2237
2218
|
t
|
2238
2219
|
};
|
2239
2220
|
}
|
2221
|
+
}), Qt = /* @__PURE__ */ j({
|
2222
|
+
__name: "HotelRoomOfferListEmpty",
|
2223
|
+
props: {
|
2224
|
+
boilerplateSkeleton: { type: Boolean },
|
2225
|
+
itemCount: { default: 3 },
|
2226
|
+
type: {}
|
2227
|
+
},
|
2228
|
+
setup(t) {
|
2229
|
+
const { t: e } = F();
|
2230
|
+
return (n, s) => (i(), m("div", null, [
|
2231
|
+
(i(!0), m(y, null, K(n.itemCount, (r) => (i(), m(y, { key: r }, [
|
2232
|
+
r > 1 ? (i(), R(Z, { key: 0 })) : C("", !0),
|
2233
|
+
o(I(ra), {
|
2234
|
+
boilerplate: n.boilerplateSkeleton,
|
2235
|
+
class: gt({ "mt-0": r === 1, "mb-0": r === 3 })
|
2236
|
+
}, null, 8, ["boilerplate", "class"])
|
2237
|
+
], 64))), 128)),
|
2238
|
+
n.type ? (i(), R(I(la), { key: 0 }, {
|
2239
|
+
title: a(() => [
|
2240
|
+
w(g(I(e)(`HotelRoomOfferListEmpty.${n.type}.title`)), 1)
|
2241
|
+
]),
|
2242
|
+
description: a(() => [
|
2243
|
+
w(g(I(e)(`HotelRoomOfferListEmpty.${n.type}.description`)), 1)
|
2244
|
+
]),
|
2245
|
+
_: 1
|
2246
|
+
})) : C("", !0)
|
2247
|
+
]));
|
2248
|
+
}
|
2240
2249
|
});
|
2241
|
-
function
|
2250
|
+
function qt(t) {
|
2242
2251
|
const e = t;
|
2243
2252
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
2244
2253
|
locale: "",
|
@@ -2358,31 +2367,10 @@ function zt(t) {
|
|
2358
2367
|
}
|
2359
2368
|
});
|
2360
2369
|
}
|
2361
|
-
|
2362
|
-
|
2363
|
-
return i(), f("div", null, [
|
2364
|
-
(i(!0), f(B, null, Z(t.itemCount, (m) => (i(), f(B, { key: m }, [
|
2365
|
-
m > 1 ? (i(), S(J, { key: 0 })) : I("", !0),
|
2366
|
-
o(d, {
|
2367
|
-
boilerplate: t.boilerplateSkeleton,
|
2368
|
-
class: Rt({ "mt-0": m === 1, "mb-0": m === 3 })
|
2369
|
-
}, null, 8, ["boilerplate", "class"])
|
2370
|
-
], 64))), 128)),
|
2371
|
-
t.type ? (i(), S(l, { key: 0 }, {
|
2372
|
-
title: a(() => [
|
2373
|
-
H(C(t.t(`HotelRoomOfferListEmpty.${t.type}.title`)), 1)
|
2374
|
-
]),
|
2375
|
-
description: a(() => [
|
2376
|
-
H(C(t.t(`HotelRoomOfferListEmpty.${t.type}.description`)), 1)
|
2377
|
-
]),
|
2378
|
-
_: 1
|
2379
|
-
})) : I("", !0)
|
2380
|
-
]);
|
2381
|
-
}
|
2382
|
-
typeof zt == "function" && zt(Qt);
|
2383
|
-
const ua = /* @__PURE__ */ tt(Qt, [["render", ra]]), Xt = {
|
2370
|
+
typeof qt == "function" && qt(Qt);
|
2371
|
+
const Xt = {
|
2384
2372
|
OnlyMatchingRoomCount: !1
|
2385
|
-
},
|
2373
|
+
}, ua = {
|
2386
2374
|
...Ie,
|
2387
2375
|
features: {
|
2388
2376
|
default: () => Xt,
|
@@ -2392,67 +2380,50 @@ const ua = /* @__PURE__ */ tt(Qt, [["render", ra]]), Xt = {
|
|
2392
2380
|
default: () => 0,
|
2393
2381
|
type: Number
|
2394
2382
|
}
|
2395
|
-
}, te =
|
2383
|
+
}, te = j({
|
2396
2384
|
components: {
|
2397
|
-
BErrorOverlay:
|
2385
|
+
BErrorOverlay: jt,
|
2398
2386
|
HotelRoomOfferBasket: ia,
|
2399
2387
|
HotelRoomOfferItem: Zt,
|
2400
|
-
HotelRoomOfferItemLayout:
|
2401
|
-
HotelRoomOfferListEmpty:
|
2388
|
+
HotelRoomOfferItemLayout: St,
|
2389
|
+
HotelRoomOfferListEmpty: Qt
|
2402
2390
|
},
|
2403
2391
|
name: "HotelRoomOfferList",
|
2404
|
-
props:
|
2392
|
+
props: ua,
|
2405
2393
|
// eslint-disable-next-line max-lines-per-function
|
2406
2394
|
setup(t) {
|
2407
|
-
const { t: e } =
|
2395
|
+
const { t: e } = F(), n = ft(), s = pt(), r = x(null), b = x(["packageHotelRoomOffers", "hotelRoomHotelRoomOffers"]), d = mo({
|
2408
2396
|
fallbackValue: Xt,
|
2409
2397
|
prop: p(() => t.features)
|
2410
|
-
}), l = (
|
2398
|
+
}), l = (B) => B.hotelRooms.reduce((A, W) => A + W.count, 0), f = p(() => s.hotelRoomOfferRequest(t.hotelId)), u = p(
|
2411
2399
|
() => n.hotelRoomOffers(t.hotelId)
|
2412
|
-
),
|
2413
|
-
() =>
|
2414
|
-
|
2415
|
-
|
2416
|
-
|
2417
|
-
|
2418
|
-
|
2419
|
-
|
2420
|
-
|
2421
|
-
|
2422
|
-
|
2423
|
-
|
2424
|
-
|
2425
|
-
|
2426
|
-
|
2427
|
-
|
2428
|
-
|
2429
|
-
|
2430
|
-
|
2431
|
-
});
|
2432
|
-
return (b == null ? void 0 : b.slice(0, t.limit || b.length)) || [];
|
2433
|
-
}), h = p(
|
2434
|
-
() => {
|
2435
|
-
var b, y;
|
2436
|
-
return !!((b = c.value) != null && b.isPolling) && !!((y = R.value) != null && y.length);
|
2437
|
-
}
|
2438
|
-
), E = p(
|
2439
|
-
() => {
|
2440
|
-
var b, y, _, F;
|
2441
|
-
return !((b = m.value) != null && b.id) || (!!((y = m.value) != null && y.isFetching) || !!((_ = c.value) != null && _.isPolling)) && !((F = R.value) != null && F.length);
|
2442
|
-
}
|
2443
|
-
), g = async ({
|
2444
|
-
addBreakfast: b,
|
2445
|
-
hotelId: y,
|
2446
|
-
id: _
|
2400
|
+
), S = p(
|
2401
|
+
() => !!(f.value?.hasError || u.value?.hasError)
|
2402
|
+
), T = p(
|
2403
|
+
() => u.value?.offers?.filter(
|
2404
|
+
(B) => B.type === yt.HotelRoom
|
2405
|
+
) || []
|
2406
|
+
), v = p(() => {
|
2407
|
+
const B = u.value?.offers?.filter(
|
2408
|
+
(A) => A.type === yt.Package
|
2409
|
+
).filter((A) => d.value?.OnlyMatchingRoomCount ? l(A) === f.value?.roomCount : !0);
|
2410
|
+
return B?.slice(0, t.limit || B.length) || [];
|
2411
|
+
}), _ = p(
|
2412
|
+
() => !!u.value?.isPolling && !!v.value?.length
|
2413
|
+
), z = p(
|
2414
|
+
() => !f.value?.id || (!!f.value?.isFetching || !!u.value?.isPolling) && !v.value?.length
|
2415
|
+
), J = async ({
|
2416
|
+
addBreakfast: B,
|
2417
|
+
hotelId: A,
|
2418
|
+
id: W
|
2447
2419
|
}) => {
|
2448
2420
|
await n.reifyHotelRoomOffer({
|
2449
|
-
addBreakfast:
|
2450
|
-
hotelId:
|
2451
|
-
id:
|
2421
|
+
addBreakfast: B,
|
2422
|
+
hotelId: A,
|
2423
|
+
id: W
|
2452
2424
|
});
|
2453
|
-
},
|
2454
|
-
|
2455
|
-
if (!((y = m.value) != null && y.id)) {
|
2425
|
+
}, D = async (B) => {
|
2426
|
+
if (!f.value?.id) {
|
2456
2427
|
n.resetHotelRoomOffers({
|
2457
2428
|
hotelId: t.hotelId
|
2458
2429
|
});
|
@@ -2460,32 +2431,29 @@ const ua = /* @__PURE__ */ tt(Qt, [["render", ra]]), Xt = {
|
|
2460
2431
|
}
|
2461
2432
|
await n.retrieveHotelRoomOffers({
|
2462
2433
|
hotelId: t.hotelId,
|
2463
|
-
hotelRoomOfferRequestId:
|
2464
|
-
inProgressHotelRoomOfferIds:
|
2434
|
+
hotelRoomOfferRequestId: f.value.id,
|
2435
|
+
inProgressHotelRoomOfferIds: B
|
2465
2436
|
});
|
2466
2437
|
};
|
2467
|
-
async function
|
2468
|
-
await
|
2438
|
+
async function V(B) {
|
2439
|
+
await D([B]);
|
2469
2440
|
}
|
2470
|
-
|
2471
|
-
() =>
|
2472
|
-
var b;
|
2473
|
-
return (b = m.value) == null ? void 0 : b.id;
|
2474
|
-
},
|
2441
|
+
$(
|
2442
|
+
() => f.value?.id,
|
2475
2443
|
async () => {
|
2476
|
-
await
|
2444
|
+
await D();
|
2477
2445
|
},
|
2478
2446
|
{ immediate: !0 }
|
2479
2447
|
);
|
2480
|
-
const { bookingApiClient:
|
2481
|
-
|
2482
|
-
() => [
|
2448
|
+
const { bookingApiClient: G, config: N } = ge();
|
2449
|
+
$(
|
2450
|
+
() => [G.value, N.value.currency, N.value.lang],
|
2483
2451
|
async () => {
|
2484
|
-
await
|
2452
|
+
await D();
|
2485
2453
|
},
|
2486
2454
|
{ immediate: !0 }
|
2487
2455
|
);
|
2488
|
-
const
|
2456
|
+
const Q = go({
|
2489
2457
|
adultCount: t.adultCount,
|
2490
2458
|
checkInDate: t.checkInDate,
|
2491
2459
|
checkOutDate: t.checkOutDate,
|
@@ -2495,21 +2463,21 @@ const ua = /* @__PURE__ */ tt(Qt, [["render", ra]]), Xt = {
|
|
2495
2463
|
sourceMarket: t.sourceMarket
|
2496
2464
|
});
|
2497
2465
|
return {
|
2498
|
-
hasError:
|
2499
|
-
hotelRoomHotelRoomOffers:
|
2500
|
-
isLoading:
|
2501
|
-
onBreakfastChange:
|
2502
|
-
packageHotelRoomOffers:
|
2503
|
-
showSkeleton:
|
2466
|
+
hasError: S,
|
2467
|
+
hotelRoomHotelRoomOffers: T,
|
2468
|
+
isLoading: _,
|
2469
|
+
onBreakfastChange: J,
|
2470
|
+
packageHotelRoomOffers: v,
|
2471
|
+
showSkeleton: z,
|
2504
2472
|
t: e,
|
2505
2473
|
tab: r,
|
2506
|
-
tabItems:
|
2507
|
-
...
|
2508
|
-
onBookingPolicyFailed:
|
2474
|
+
tabItems: b,
|
2475
|
+
...Q,
|
2476
|
+
onBookingPolicyFailed: V
|
2509
2477
|
};
|
2510
2478
|
}
|
2511
2479
|
});
|
2512
|
-
function
|
2480
|
+
function zt(t) {
|
2513
2481
|
const e = t;
|
2514
2482
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
2515
2483
|
locale: "",
|
@@ -2587,7 +2555,7 @@ function Mt(t) {
|
|
2587
2555
|
}
|
2588
2556
|
});
|
2589
2557
|
}
|
2590
|
-
const
|
2558
|
+
const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
2591
2559
|
fixed: Boolean,
|
2592
2560
|
sliderColor: String,
|
2593
2561
|
hideSlider: Boolean,
|
@@ -2595,13 +2563,13 @@ const wt = Symbol.for("vuetify:v-tabs"), da = lt({
|
|
2595
2563
|
type: String,
|
2596
2564
|
default: "horizontal"
|
2597
2565
|
},
|
2598
|
-
...Nt(
|
2566
|
+
...Nt(xe({
|
2599
2567
|
selectedClass: "v-tab--selected",
|
2600
2568
|
variant: "text"
|
2601
2569
|
}), ["active", "block", "flat", "location", "position", "symbol"])
|
2602
2570
|
}, "VTab"), ee = it()({
|
2603
2571
|
name: "VTab",
|
2604
|
-
props:
|
2572
|
+
props: ca(),
|
2605
2573
|
setup(t, e) {
|
2606
2574
|
let {
|
2607
2575
|
slots: n,
|
@@ -2609,63 +2577,56 @@ const wt = Symbol.for("vuetify:v-tabs"), da = lt({
|
|
2609
2577
|
} = e;
|
2610
2578
|
const {
|
2611
2579
|
textColorClasses: r,
|
2612
|
-
textColorStyles:
|
2613
|
-
} = _e(t, "sliderColor"), d = x(), l = x(),
|
2614
|
-
|
2615
|
-
return ((R = (A = d.value) == null ? void 0 : A.group) == null ? void 0 : R.isSelected.value) ?? !1;
|
2616
|
-
});
|
2617
|
-
function P(A) {
|
2618
|
-
var h, E;
|
2580
|
+
textColorStyles: b
|
2581
|
+
} = _e(t, "sliderColor"), d = x(), l = x(), f = p(() => t.direction === "horizontal"), u = p(() => d.value?.group?.isSelected.value ?? !1);
|
2582
|
+
function S(T) {
|
2619
2583
|
let {
|
2620
|
-
value:
|
2621
|
-
} =
|
2622
|
-
if (
|
2623
|
-
const
|
2624
|
-
if (!
|
2625
|
-
const
|
2626
|
-
|
2627
|
-
backgroundColor: [
|
2628
|
-
transform: [`translate${
|
2629
|
-
transformOrigin: Array(3).fill(
|
2584
|
+
value: v
|
2585
|
+
} = T;
|
2586
|
+
if (v) {
|
2587
|
+
const _ = d.value?.$el.parentElement?.querySelector(".v-tab--selected .v-tab__slider"), z = l.value;
|
2588
|
+
if (!_ || !z) return;
|
2589
|
+
const J = getComputedStyle(_).color, D = _.getBoundingClientRect(), V = z.getBoundingClientRect(), G = f.value ? "x" : "y", N = f.value ? "X" : "Y", Q = f.value ? "right" : "bottom", B = f.value ? "width" : "height", A = D[G], W = V[G], U = A > W ? D[Q] - V[Q] : D[G] - V[G], nt = Math.sign(U) > 0 ? f.value ? "right" : "bottom" : Math.sign(U) < 0 ? f.value ? "left" : "top" : "center", c = (Math.abs(U) + (Math.sign(U) < 0 ? D[B] : V[B])) / Math.max(D[B], V[B]) || 0, H = D[B] / V[B] || 0, O = 1.5;
|
2590
|
+
He(z, {
|
2591
|
+
backgroundColor: [J, "currentcolor"],
|
2592
|
+
transform: [`translate${N}(${U}px) scale${N}(${H})`, `translate${N}(${U / O}px) scale${N}(${(c - 1) / O + 1})`, "none"],
|
2593
|
+
transformOrigin: Array(3).fill(nt)
|
2630
2594
|
}, {
|
2631
2595
|
duration: 225,
|
2632
|
-
easing:
|
2596
|
+
easing: Te
|
2633
2597
|
});
|
2634
2598
|
}
|
2635
2599
|
}
|
2636
2600
|
return rt(() => {
|
2637
|
-
const
|
2638
|
-
return o(
|
2639
|
-
symbol:
|
2601
|
+
const T = st.filterProps(t);
|
2602
|
+
return o(st, M({
|
2603
|
+
symbol: It,
|
2640
2604
|
ref: d,
|
2641
2605
|
class: ["v-tab", t.class],
|
2642
2606
|
style: t.style,
|
2643
|
-
tabindex:
|
2607
|
+
tabindex: u.value ? 0 : -1,
|
2644
2608
|
role: "tab",
|
2645
|
-
"aria-selected": String(
|
2609
|
+
"aria-selected": String(u.value),
|
2646
2610
|
active: !1
|
2647
|
-
},
|
2611
|
+
}, T, s, {
|
2648
2612
|
block: t.fixed,
|
2649
2613
|
maxWidth: t.fixed ? 300 : void 0,
|
2650
|
-
"onGroup:selected":
|
2614
|
+
"onGroup:selected": S
|
2651
2615
|
}), {
|
2652
2616
|
...n,
|
2653
|
-
default: () => {
|
2654
|
-
|
2655
|
-
|
2656
|
-
|
2657
|
-
|
2658
|
-
style: k.value
|
2659
|
-
}, null)]);
|
2660
|
-
}
|
2617
|
+
default: () => o(y, null, [n.default?.() ?? t.text, !t.hideSlider && o("div", {
|
2618
|
+
ref: l,
|
2619
|
+
class: ["v-tab__slider", r.value],
|
2620
|
+
style: b.value
|
2621
|
+
}, null)])
|
2661
2622
|
});
|
2662
2623
|
}), eo({}, d);
|
2663
2624
|
}
|
2664
|
-
}),
|
2625
|
+
}), da = lt({
|
2665
2626
|
...Nt(oo(), ["continuous", "nextIcon", "prevIcon", "showArrows", "touch", "mandatory"])
|
2666
2627
|
}, "VTabsWindow"), oe = it()({
|
2667
2628
|
name: "VTabsWindow",
|
2668
|
-
props:
|
2629
|
+
props: da(),
|
2669
2630
|
emits: {
|
2670
2631
|
"update:modelValue": (t) => !0
|
2671
2632
|
},
|
@@ -2673,22 +2634,21 @@ const wt = Symbol.for("vuetify:v-tabs"), da = lt({
|
|
2673
2634
|
let {
|
2674
2635
|
slots: n
|
2675
2636
|
} = e;
|
2676
|
-
const s = ye(
|
2637
|
+
const s = ye(It, null), r = dt(t, "modelValue"), b = p({
|
2677
2638
|
get() {
|
2678
|
-
|
2679
|
-
return r.value != null || !s ? r.value : (d = s.items.value.find((l) => s.selected.value.includes(l.id))) == null ? void 0 : d.value;
|
2639
|
+
return r.value != null || !s ? r.value : s.items.value.find((d) => s.selected.value.includes(d.id))?.value;
|
2680
2640
|
},
|
2681
2641
|
set(d) {
|
2682
2642
|
r.value = d;
|
2683
2643
|
}
|
2684
2644
|
});
|
2685
2645
|
return rt(() => {
|
2686
|
-
const d =
|
2687
|
-
return o(
|
2646
|
+
const d = Tt.filterProps(t);
|
2647
|
+
return o(Tt, M({
|
2688
2648
|
_as: "VTabsWindow"
|
2689
2649
|
}, d, {
|
2690
|
-
modelValue:
|
2691
|
-
"onUpdate:modelValue": (l) =>
|
2650
|
+
modelValue: b.value,
|
2651
|
+
"onUpdate:modelValue": (l) => b.value = l,
|
2692
2652
|
class: ["v-tabs-window", t.class],
|
2693
2653
|
style: t.style,
|
2694
2654
|
mandatory: !1,
|
@@ -2696,18 +2656,18 @@ const wt = Symbol.for("vuetify:v-tabs"), da = lt({
|
|
2696
2656
|
}), n);
|
2697
2657
|
}), {};
|
2698
2658
|
}
|
2699
|
-
}),
|
2659
|
+
}), ma = lt({
|
2700
2660
|
...ao()
|
2701
|
-
}, "VTabsWindowItem"),
|
2661
|
+
}, "VTabsWindowItem"), Ot = it()({
|
2702
2662
|
name: "VTabsWindowItem",
|
2703
|
-
props:
|
2663
|
+
props: ma(),
|
2704
2664
|
setup(t, e) {
|
2705
2665
|
let {
|
2706
2666
|
slots: n
|
2707
2667
|
} = e;
|
2708
2668
|
return rt(() => {
|
2709
|
-
const s =
|
2710
|
-
return o(
|
2669
|
+
const s = Vt.filterProps(t);
|
2670
|
+
return o(Vt, M({
|
2711
2671
|
_as: "VTabsWindowItem"
|
2712
2672
|
}, s, {
|
2713
2673
|
class: ["v-tabs-window-item", t.class],
|
@@ -2716,13 +2676,13 @@ const wt = Symbol.for("vuetify:v-tabs"), da = lt({
|
|
2716
2676
|
}), {};
|
2717
2677
|
}
|
2718
2678
|
});
|
2719
|
-
function
|
2679
|
+
function fa(t) {
|
2720
2680
|
return t ? t.map((e) => Ce(e) ? e : {
|
2721
2681
|
text: e,
|
2722
2682
|
value: e
|
2723
2683
|
}) : [];
|
2724
2684
|
}
|
2725
|
-
const
|
2685
|
+
const pa = lt({
|
2726
2686
|
alignTabs: {
|
2727
2687
|
type: String,
|
2728
2688
|
default: "start"
|
@@ -2748,9 +2708,9 @@ const ba = lt({
|
|
2748
2708
|
}),
|
2749
2709
|
...Ne(),
|
2750
2710
|
...Ae()
|
2751
|
-
}, "VTabs"),
|
2711
|
+
}, "VTabs"), ba = it()({
|
2752
2712
|
name: "VTabs",
|
2753
|
-
props:
|
2713
|
+
props: pa(),
|
2754
2714
|
emits: {
|
2755
2715
|
"update:modelValue": (t) => !0
|
2756
2716
|
},
|
@@ -2759,28 +2719,28 @@ const ba = lt({
|
|
2759
2719
|
attrs: n,
|
2760
2720
|
slots: s
|
2761
2721
|
} = e;
|
2762
|
-
const r =
|
2722
|
+
const r = dt(t, "modelValue"), b = p(() => fa(t.items)), {
|
2763
2723
|
densityClasses: d
|
2764
2724
|
} = Me(t), {
|
2765
2725
|
backgroundColorClasses: l,
|
2766
|
-
backgroundColorStyles:
|
2767
|
-
} = Ve(
|
2768
|
-
scopeId:
|
2726
|
+
backgroundColorStyles: f
|
2727
|
+
} = Ve(et(t, "bgColor")), {
|
2728
|
+
scopeId: u
|
2769
2729
|
} = Ee();
|
2770
2730
|
return Re({
|
2771
2731
|
VTab: {
|
2772
|
-
color:
|
2773
|
-
direction:
|
2774
|
-
stacked:
|
2775
|
-
fixed:
|
2776
|
-
sliderColor:
|
2777
|
-
hideSlider:
|
2732
|
+
color: et(t, "color"),
|
2733
|
+
direction: et(t, "direction"),
|
2734
|
+
stacked: et(t, "stacked"),
|
2735
|
+
fixed: et(t, "fixedTabs"),
|
2736
|
+
sliderColor: et(t, "sliderColor"),
|
2737
|
+
hideSlider: et(t, "hideSlider")
|
2778
2738
|
}
|
2779
2739
|
}), rt(() => {
|
2780
|
-
const
|
2781
|
-
return o(
|
2740
|
+
const S = Et.filterProps(t), T = !!(s.window || t.items.length > 0);
|
2741
|
+
return o(y, null, [o(Et, M(S, {
|
2782
2742
|
modelValue: r.value,
|
2783
|
-
"onUpdate:modelValue": (
|
2743
|
+
"onUpdate:modelValue": (v) => r.value = v,
|
2784
2744
|
class: ["v-tabs", `v-tabs--${t.direction}`, `v-tabs--align-tabs-${t.alignTabs}`, {
|
2785
2745
|
"v-tabs--fixed-tabs": t.fixedTabs,
|
2786
2746
|
"v-tabs--grow": t.grow,
|
@@ -2788,106 +2748,88 @@ const ba = lt({
|
|
2788
2748
|
}, d.value, l.value, t.class],
|
2789
2749
|
style: [{
|
2790
2750
|
"--v-tabs-height": Oe(t.height)
|
2791
|
-
},
|
2751
|
+
}, f.value, t.style],
|
2792
2752
|
role: "tablist",
|
2793
|
-
symbol:
|
2794
|
-
},
|
2795
|
-
default: () => {
|
2796
|
-
|
2797
|
-
|
2798
|
-
|
2799
|
-
|
2800
|
-
|
2801
|
-
|
2802
|
-
|
2803
|
-
|
2804
|
-
|
2805
|
-
|
2806
|
-
var g;
|
2807
|
-
return (g = s[`tab.${h.value}`]) == null ? void 0 : g.call(s, {
|
2808
|
-
item: h
|
2809
|
-
});
|
2810
|
-
} : void 0
|
2811
|
-
});
|
2812
|
-
})];
|
2813
|
-
}
|
2814
|
-
}), A && o(oe, G({
|
2753
|
+
symbol: It
|
2754
|
+
}, u, n), {
|
2755
|
+
default: () => [s.default?.() ?? b.value.map((v) => s.tab?.({
|
2756
|
+
item: v
|
2757
|
+
}) ?? o(ee, M(v, {
|
2758
|
+
key: v.text,
|
2759
|
+
value: v.value
|
2760
|
+
}), {
|
2761
|
+
default: s[`tab.${v.value}`] ? () => s[`tab.${v.value}`]?.({
|
2762
|
+
item: v
|
2763
|
+
}) : void 0
|
2764
|
+
}))]
|
2765
|
+
}), T && o(oe, M({
|
2815
2766
|
modelValue: r.value,
|
2816
|
-
"onUpdate:modelValue": (
|
2767
|
+
"onUpdate:modelValue": (v) => r.value = v,
|
2817
2768
|
key: "tabs-window"
|
2818
|
-
},
|
2819
|
-
default: () => {
|
2820
|
-
|
2821
|
-
|
2822
|
-
|
2823
|
-
|
2824
|
-
|
2825
|
-
|
2826
|
-
|
2827
|
-
|
2828
|
-
default: () => {
|
2829
|
-
var g;
|
2830
|
-
return (g = s[`item.${h.value}`]) == null ? void 0 : g.call(s, {
|
2831
|
-
item: h
|
2832
|
-
});
|
2833
|
-
}
|
2834
|
-
});
|
2835
|
-
}), (R = s.window) == null ? void 0 : R.call(s)];
|
2836
|
-
}
|
2769
|
+
}, u), {
|
2770
|
+
default: () => [b.value.map((v) => s.item?.({
|
2771
|
+
item: v
|
2772
|
+
}) ?? o(Ot, {
|
2773
|
+
value: v.value
|
2774
|
+
}, {
|
2775
|
+
default: () => s[`item.${v.value}`]?.({
|
2776
|
+
item: v
|
2777
|
+
})
|
2778
|
+
})), s.window?.()]
|
2837
2779
|
})]);
|
2838
2780
|
}), {};
|
2839
2781
|
}
|
2840
|
-
}),
|
2841
|
-
function
|
2842
|
-
const d = L("HotelRoomOfferListEmpty"), l = L("HotelRoomOfferItem"),
|
2843
|
-
return i(),
|
2844
|
-
t.isBookingApiClientDefined ? (i(),
|
2845
|
-
t.hasError ? (i(),
|
2782
|
+
}), ka = { class: "bg-white" }, va = { key: 0 };
|
2783
|
+
function ha(t, e, n, s, r, b) {
|
2784
|
+
const d = L("HotelRoomOfferListEmpty"), l = L("HotelRoomOfferItem"), f = L("HotelRoomOfferBasket");
|
2785
|
+
return i(), m("div", ka, [
|
2786
|
+
t.isBookingApiClientDefined ? (i(), m(y, { key: 1 }, [
|
2787
|
+
t.hasError ? (i(), R(d, {
|
2846
2788
|
key: "error",
|
2847
2789
|
boilerplate: "",
|
2848
2790
|
type: "internalError"
|
2849
|
-
})) : t.showSkeleton ? (i(),
|
2850
|
-
t.hotelRoomHotelRoomOffers.length ?
|
2851
|
-
t.isLoading ? (i(),
|
2791
|
+
})) : t.showSkeleton ? (i(), R(d, { key: "skeleton" })) : t.packageHotelRoomOffers && t.packageHotelRoomOffers.length ? (i(), m(y, { key: 2 }, [
|
2792
|
+
t.hotelRoomHotelRoomOffers.length ? C("", !0) : (i(), m("div", va)),
|
2793
|
+
t.isLoading ? (i(), R(Ue, {
|
2852
2794
|
key: 1,
|
2853
2795
|
class: "loader position-absolute",
|
2854
2796
|
color: "secondary",
|
2855
2797
|
indeterminate: ""
|
2856
|
-
})) :
|
2857
|
-
t.hotelRoomHotelRoomOffers && t.hotelRoomHotelRoomOffers.length ? (i(),
|
2858
|
-
o(
|
2798
|
+
})) : C("", !0),
|
2799
|
+
t.hotelRoomHotelRoomOffers && t.hotelRoomHotelRoomOffers.length ? (i(), m(y, { key: 2 }, [
|
2800
|
+
o(ba, {
|
2859
2801
|
color: "primary",
|
2860
2802
|
density: "compact",
|
2861
2803
|
modelValue: t.tab,
|
2862
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
2804
|
+
"onUpdate:modelValue": e[0] || (e[0] = (u) => t.tab = u),
|
2863
2805
|
grow: ""
|
2864
2806
|
}, {
|
2865
2807
|
default: a(() => [
|
2866
|
-
(i(!0),
|
2808
|
+
(i(!0), m(y, null, K(t.tabItems, (u) => (i(), m(y, { key: u }, [
|
2867
2809
|
o(ee, null, {
|
2868
2810
|
default: a(() => [
|
2869
|
-
|
2811
|
+
w(g(t.t(`HotelRoomOfferList.${u}.title`)), 1)
|
2870
2812
|
]),
|
2871
2813
|
_: 2
|
2872
2814
|
}, 1024),
|
2873
|
-
o(
|
2815
|
+
o(Z, { vertical: "" })
|
2874
2816
|
], 64))), 128))
|
2875
2817
|
]),
|
2876
2818
|
_: 1
|
2877
2819
|
}, 8, ["modelValue"]),
|
2878
2820
|
o(oe, {
|
2879
2821
|
modelValue: t.tab,
|
2880
|
-
"onUpdate:modelValue": e[1] || (e[1] = (
|
2822
|
+
"onUpdate:modelValue": e[1] || (e[1] = (u) => t.tab = u),
|
2881
2823
|
class: "overflow-visible"
|
2882
2824
|
}, {
|
2883
2825
|
default: a(() => [
|
2884
|
-
o(
|
2826
|
+
o(Ot, { class: "pt-3" }, {
|
2885
2827
|
default: a(() => [
|
2886
|
-
(i(!0),
|
2887
|
-
key:
|
2828
|
+
(i(!0), m(y, null, K(t.packageHotelRoomOffers, (u, S) => (i(), m(y, {
|
2829
|
+
key: u.id
|
2888
2830
|
}, [
|
2889
|
-
|
2890
|
-
o(l,
|
2831
|
+
S > 0 ? (i(), R(Z, { key: 0 })) : C("", !0),
|
2832
|
+
o(l, M({ ref_for: !0 }, u, {
|
2891
2833
|
onBreakfastChange: t.onBreakfastChange,
|
2892
2834
|
onBookingPolicyFailed: t.onBookingPolicyFailed
|
2893
2835
|
}), null, 16, ["onBreakfastChange", "onBookingPolicyFailed"])
|
@@ -2895,41 +2837,41 @@ function ga(t, e, n, s, r, k) {
|
|
2895
2837
|
]),
|
2896
2838
|
_: 1
|
2897
2839
|
}),
|
2898
|
-
o(
|
2840
|
+
o(Ot, { class: "pt-3 pb-5" }, {
|
2899
2841
|
default: a(() => [
|
2900
|
-
o(
|
2842
|
+
o(f, { "hotel-id": t.hotelId }, null, 8, ["hotel-id"])
|
2901
2843
|
]),
|
2902
2844
|
_: 1
|
2903
2845
|
})
|
2904
2846
|
]),
|
2905
2847
|
_: 1
|
2906
2848
|
}, 8, ["modelValue"])
|
2907
|
-
], 64)) : (i(!0),
|
2908
|
-
key:
|
2849
|
+
], 64)) : (i(!0), m(y, { key: 3 }, K(t.packageHotelRoomOffers, (u, S) => (i(), m(y, {
|
2850
|
+
key: u.id
|
2909
2851
|
}, [
|
2910
|
-
|
2911
|
-
o(l,
|
2852
|
+
S > 0 ? (i(), R(Z, { key: 0 })) : C("", !0),
|
2853
|
+
o(l, M({ ref_for: !0 }, u, {
|
2912
2854
|
onBreakfastChange: t.onBreakfastChange,
|
2913
2855
|
onBookingPolicyFailed: t.onBookingPolicyFailed
|
2914
2856
|
}), null, 16, ["onBreakfastChange", "onBookingPolicyFailed"])
|
2915
2857
|
], 64))), 128))
|
2916
|
-
], 64)) : !t.packageHotelRoomOffers || !t.packageHotelRoomOffers.length ? (i(),
|
2858
|
+
], 64)) : !t.packageHotelRoomOffers || !t.packageHotelRoomOffers.length ? (i(), R(d, {
|
2917
2859
|
key: "skeleton",
|
2918
2860
|
boilerplate: "",
|
2919
2861
|
type: "noResults"
|
2920
|
-
})) :
|
2921
|
-
], 64)) : (i(),
|
2862
|
+
})) : C("", !0)
|
2863
|
+
], 64)) : (i(), m(y, { key: 0 }, [], 64))
|
2922
2864
|
]);
|
2923
2865
|
}
|
2924
|
-
typeof
|
2925
|
-
const
|
2926
|
-
|
2866
|
+
typeof zt == "function" && zt(te);
|
2867
|
+
const Ga = /* @__PURE__ */ tt(te, [["render", ha], ["__scopeId", "data-v-e71fbea6"]]);
|
2868
|
+
ne("css/revolugo.hotelroomofferlist.CCKyS5V3.css");
|
2927
2869
|
export {
|
2928
|
-
|
2929
|
-
|
2870
|
+
Rt as B,
|
2871
|
+
Ga as H,
|
2930
2872
|
Xt as a,
|
2931
|
-
|
2873
|
+
ua as h,
|
2932
2874
|
ro as r,
|
2933
2875
|
mo as u
|
2934
2876
|
};
|
2935
|
-
//# sourceMappingURL=revolugo.hotelroomofferlist.
|
2877
|
+
//# sourceMappingURL=revolugo.hotelroomofferlist.O0tRAgZS.min.js.map
|