@revolugo/elements 6.8.2-beta.30 → 6.8.2-beta.32
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.hotelroomofferlist.Dh1OAA7W.css +1 -0
- 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.6H9boq3g.min.js} +3 -3
- package/dist/{revolugo.banktransferdetails.Djs6mxU0.min.js → revolugo.banktransferdetails.BLIe136S.min.js} +9 -9
- package/dist/revolugo.bdaterangepicker.Hf5naLtO.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.DhvK2mdJ.min.js} +32 -36
- package/dist/{revolugo.bhoteloffersfilterbar.CVh2pH-N.min.js → revolugo.bhoteloffersfilterbar.DicKWcI_.min.js} +1672 -1766
- package/dist/{revolugo.bhotelroomsdetails.C4xdQLfe.min.js → revolugo.bhotelroomsdetails.BZUH-ZM3.min.js} +79 -83
- package/dist/{revolugo.bhotelsearchbar.DR7UHkQo.min.js → revolugo.bhotelsearchbar.C0QSx8nR.min.js} +116 -119
- package/dist/{revolugo.bimagecarousel.DhwrLMiX.min.js → revolugo.bimagecarousel.i3XKJie3.min.js} +165 -174
- package/dist/{revolugo.bookingdetailssidebar.DkBHaNwV.min.js → revolugo.bookingdetailssidebar.La43Csfa.min.js} +4 -4
- package/dist/{revolugo.bookingdetailssidebar.DwIul6C1.min.js → revolugo.bookingdetailssidebar.pzLkF0dO.min.js} +207 -221
- package/dist/{revolugo.bookingmanager.CmdsCQDi.min.js → revolugo.bookingmanager.Sx2krZHP.min.js} +429 -463
- package/dist/{revolugo.bpricesummaryskeleton.BcgNLGYX.min.js → revolugo.bpricesummaryskeleton.DoLktkiO.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.DkRSrr6-.min.js} +148 -157
- package/dist/revolugo.btag.DqKCcO64.min.js +375 -0
- package/dist/{revolugo.cancellationpoliciesbadge.D7CMWTdG.min.js → revolugo.cancellationpoliciesbadge.CDsOorfl.min.js} +86 -95
- package/dist/{revolugo.cancellationpoliciesbadge.Bp43_l5_.min.js → revolugo.cancellationpoliciesbadge.DNXgKhv6.min.js} +4 -4
- package/dist/{revolugo.cancellationpolicieslist.hSJAFEGT.min.js → revolugo.cancellationpolicieslist.M5d1D5ot.min.js} +9 -9
- package/dist/{revolugo.cancellationpolicieslist.D2idtSnK.min.js → revolugo.cancellationpolicieslist.v9YSV-JD.min.js} +4 -4
- package/dist/revolugo.case-transformers.CZexLFCC.min.js +123 -0
- package/dist/{revolugo.creditcardform.CrwpUivQ.min.js → revolugo.creditcardform.BwNdpOYa.min.js} +4 -4
- package/dist/{revolugo.creditcardform.SRz4ls19.min.js → revolugo.creditcardform.DIm8PFZB.min.js} +38 -51
- package/dist/{revolugo.creditcardpayment.bSs8I8av.min.js → revolugo.creditcardpayment.B-Pu0q9P.min.js} +4 -4
- package/dist/{revolugo.creditcardpayment.BcVHQlKJ.min.js → revolugo.creditcardpayment.CXpVfsjF.min.js} +152 -162
- package/dist/{revolugo.currencypicker.-B3knz6i.min.js → revolugo.currencypicker.CYlyvR4X.min.js} +7 -7
- package/dist/{revolugo.currencypickerbtn.CyHWGHaW.min.js → revolugo.currencypickerbtn.BT6jQ33A.min.js} +4 -4
- package/dist/{revolugo.currencypickerbtn.D38ZdlKW.min.js → revolugo.currencypickerbtn.D-qAsHj-.min.js} +42 -45
- package/dist/{revolugo.defaultsdeep.z9urzKAp.min.js → revolugo.defaultsdeep.xStfx1ax.min.js} +2 -2
- package/dist/{revolugo.dialog-attach.D_OA19-E.min.js → revolugo.dialog-attach.DhGjpV86.min.js} +5 -6
- package/dist/revolugo.dialog-transition.Bcw3NUGf.min.js +111 -0
- package/dist/{revolugo.fastbookingflow.CJP79XT7.min.js → revolugo.fastbookingflow.BvOeLD5-.min.js} +6 -6
- package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
- package/dist/{revolugo.fullbookingflow.Cd2NIaQ2.min.js → revolugo.fullbookingflow.CXY4HX1N.min.js} +122 -128
- package/dist/{revolugo.hotel-offer-request.CgsVMCkE.min.js → revolugo.hotel-offer-request.Ckk1mKtM.min.js} +18 -18
- package/dist/{revolugo.hoteldescriptionview.BSrnxJem.min.js → revolugo.hoteldescriptionview.BEjBGuX8.min.js} +591 -623
- package/dist/{revolugo.hoteldescriptionview.Cl2E63e2.min.js → revolugo.hoteldescriptionview.Dup60cXR.min.js} +4 -4
- package/dist/{revolugo.hotelofferitemlayout.BMzCfYQ7.min.js → revolugo.hotelofferitemlayout.BHmFEPSg.min.js} +12 -12
- package/dist/{revolugo.hotelofferlist.B3yjbXlQ.min.js → revolugo.hotelofferlist.Bx4nX-96.min.js} +1563 -1693
- package/dist/{revolugo.hotelofferlist.DhYBX5pF.min.js → revolugo.hotelofferlist.C6LDBssl.min.js} +4 -4
- package/dist/{revolugo.hotelofferrequestcreator.CNbav2EO.min.js → revolugo.hotelofferrequestcreator.Dh7iqMnT.min.js} +5 -5
- package/dist/{revolugo.hoteloffersearchmenu.BZascblw.min.js → revolugo.hoteloffersearchmenu.CCwN9-vq.min.js} +9 -9
- package/dist/{revolugo.hoteloffersmap.DkNN0NQB.min.js → revolugo.hoteloffersmap.CIKwD_xJ.min.js} +4 -4
- package/dist/{revolugo.hoteloffersmap.D6hRTrsf.min.js → revolugo.hoteloffersmap.m4FlKwmK.min.js} +563 -574
- package/dist/{revolugo.hoteloffersview.DjAXSPOG.min.js → revolugo.hoteloffersview.B173js2k.min.js} +123 -128
- package/dist/{revolugo.hoteloffersview.CPYXigVN.min.js → revolugo.hoteloffersview.BqnmWsMz.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.C_HCimvP.min.js → revolugo.hotelroomofferlist.BZXX-P21.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.wD_JIpuK.min.js → revolugo.hotelroomofferlist.DRs28YA0.min.js} +879 -958
- package/dist/{revolugo.hotelroomofferrequestcreator.props.DjBXUl-H.min.js → revolugo.hotelroomofferrequestcreator.props.DYl1bNk3.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersbookingflow.2E3AYERj.min.js → revolugo.hotelroomoffersbookingflow.BcLRNLjr.min.js} +333 -358
- package/dist/{revolugo.hotelroomoffersearchmenu.B-C4YSFE.min.js → revolugo.hotelroomoffersearchmenu.CNesdHU7.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersearchmenu.DrW5uMfL.min.js → revolugo.hotelroomoffersearchmenu.Wp752y1o.min.js} +34 -36
- package/dist/{revolugo.hotelroomoffersview.DVsdh7Jz.min.js → revolugo.hotelroomoffersview.DLI5HjEV.min.js} +4 -4
- package/dist/{revolugo.hotelroomoffersview.CCmILEaO.min.js → revolugo.hotelroomoffersview.DjawPPhb.min.js} +67 -70
- package/dist/{revolugo.index.Dyr1hnew.min.js → revolugo.index.DmlGotxY.min.js} +406 -429
- package/dist/{revolugo.index.wc.BaFPloEH.min.js → revolugo.index.wc.WVpKRxMB.min.js} +6421 -6529
- package/dist/{revolugo.langpicker.CaQ17b6t.min.js → revolugo.langpicker.DH2bznjc.min.js} +24 -27
- package/dist/{revolugo.langpickerbtn.DTkV9PYE.min.js → revolugo.langpickerbtn.DZv8SOmQ.min.js} +4 -4
- package/dist/revolugo.langpickerbtn._diECV_y.min.js +114 -0
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.pathify.CKNqCKLR.min.js → revolugo.pathify.BuwB3BVA.min.js} +4 -4
- package/dist/{revolugo.prebookform.p-M6zS08.min.js → revolugo.prebookform.Bcz1mlsa.min.js} +4 -4
- package/dist/{revolugo.prebookform.CxKmwFK-.min.js → revolugo.prebookform.Bj_b0HkS.min.js} +98 -102
- package/dist/{revolugo.roominglisteditor.5gfIA3r6.min.js → revolugo.roominglisteditor.C0Rz5zK-.min.js} +98 -104
- package/dist/{revolugo.roominglisteditor.Zz9TPhp6.min.js → revolugo.roominglisteditor.C2Q0WwI8.min.js} +4 -4
- package/dist/{revolugo.rounded.CQuigzpH.min.js → revolugo.rounded.9zOj37mK.min.js} +2 -2
- package/dist/{revolugo.ssrboot.DfQY0r5E.min.js → revolugo.ssrboot.Dobig8z2.min.js} +2 -2
- package/dist/{revolugo.storybooktoolbar.DikXrkgz.min.js → revolugo.storybooktoolbar.mGWlvD2d.min.js} +98 -102
- package/dist/{revolugo.termsandconditions.Bbo5pbgR.min.js → revolugo.termsandconditions.TXeTt1Nc.min.js} +4 -4
- package/dist/{revolugo.termsandconditions.CiHuvfp6.min.js → revolugo.termsandconditions.X_g9eXJQ.min.js} +52 -55
- package/dist/revolugo.use-breakpoint-service.B4fTuJ-m.min.js +39 -0
- package/dist/revolugo.use-dialog-attach.Clv6_XDd.min.js +16 -0
- package/dist/revolugo.use-html-element.BeuzybMb.min.js +11 -0
- package/dist/revolugo.vautocomplete.Ct5J0tRD.min.js +445 -0
- package/dist/revolugo.vbadge.QbwE0z0S.min.js +112 -0
- package/dist/revolugo.vbtn.wY8QdelT.min.js +398 -0
- package/dist/revolugo.vcard.B-jDhizq.min.js +313 -0
- package/dist/revolugo.vcheckboxbtn.DOldzxr3.min.js +478 -0
- package/dist/revolugo.vdialog.TOtJcCR5.min.js +133 -0
- package/dist/{revolugo.vdivider.93Ehbd8W.min.js → revolugo.vdivider.C5hf52x9.min.js} +3 -3
- package/dist/revolugo.vexpansionpanels.rpkSdxyn.min.js +262 -0
- package/dist/revolugo.vform.D9o42qf6.min.js +46 -0
- package/dist/revolugo.vicon.DNDpBQSo.min.js +105 -0
- package/dist/revolugo.vinput.Z7Yl1GBk.min.js +463 -0
- package/dist/revolugo.vlabel.Bv07dXLJ.min.js +48 -0
- package/dist/revolugo.vlist.Dc4CBbyk.min.js +1299 -0
- package/dist/revolugo.vmenu.M77T6yV3.min.js +145 -0
- package/dist/revolugo.vselect.ho1sqVZQ.min.js +660 -0
- package/dist/{revolugo.vsheet.H2Eli2di.min.js → revolugo.vsheet.gTN06v3j.min.js} +11 -11
- package/dist/{revolugo.vskeletonloader.B-Qq0740.min.js → revolugo.vskeletonloader.CiGvw4Fx.min.js} +57 -58
- package/dist/revolugo.vslidegroup.BmHjyRja.min.js +325 -0
- package/dist/revolugo.vsnackbar.j4tc9aCn.min.js +198 -0
- package/dist/revolugo.vspacer.B5ih922c.min.js +7 -0
- package/dist/{revolugo.vtextarea.BJaCwHl5.min.js → revolugo.vtextarea.V23aCbtI.min.js} +361 -371
- package/dist/revolugo.vtextfield.BKLBPM7L.min.js +501 -0
- package/dist/revolugo.vtoolbar.Csrzhb69.min.js +180 -0
- package/dist/revolugo.vtooltip.D5h38LhM.min.js +89 -0
- package/dist/revolugo.vwindowitem.DwV9VIGY.min.js +317 -0
- package/dist/revolugo.watch-list.dDO5YYYm.min.js +16 -0
- package/dist/{revolugo.webcomponentwrapper.Byzhja-M.min.js → revolugo.webcomponentwrapper.Ggu2FW__.min.js} +779 -825
- 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.hotelroomofferlist.CCKyS5V3.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.langpickerbtn.DmoEWum3.min.js +0 -126
- 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 {
|
2
|
-
import { s as
|
3
|
-
import { u as
|
4
|
-
import { C as
|
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 {
|
11
|
-
import { V as
|
12
|
-
import {
|
13
|
-
import {
|
14
|
-
import {
|
15
|
-
import {
|
16
|
-
import { u as
|
17
|
-
import { V as
|
18
|
-
import { V as
|
19
|
-
import { _ as
|
20
|
-
import { V as
|
21
|
-
import { k as
|
1
|
+
import { af as mt, k as x, bv as Y, J as f, bw as ie, d as j, u as F, i as m, g as C, e as k, t as g, p as S, a as o, f as w, F as y, o as i, P as le, O as $, as as re, b as Mt, c as R, w as a, j as V, r as L, _ as it, $ as lt, a3 as ct, bx as ue, aJ as ce, b3 as de, D as M, m as me, l as fe, by as ut, L as vt, M as ht, n as be, h as pe, B as K, K as ke, E as ve, bz as wt, q as pt, v as Pt, s as he, C as gt, bA as ge, N as ye, bB as yt, bC as Re, a7 as Nt, aj as Oe, ac as et, aT as Ce, aa as Be, bD as Se } from "./revolugo.index.wc.WVpKRxMB.min.js";
|
2
|
+
import { s as Ie, p as we } from "./revolugo.pathify.BuwB3BVA.min.js";
|
3
|
+
import { u as ft, h as Pe } from "./revolugo.hotelroomofferrequestcreator.props.DYl1bNk3.min.js";
|
4
|
+
import { C as _e } from "./revolugo.cancellationpoliciesbadge.CDsOorfl.min.js";
|
5
|
+
import { B as Ct, a as He } from "./revolugo.bpricesummaryskeleton.DoLktkiO.min.js";
|
6
|
+
import { _ as tt, V as P, a as h, u as rt, l as Ut, B as jt, d as Te, q as Ee, s as Ve, b as Ae, g as $e, e as Le } from "./revolugo.webcomponentwrapper.Ggu2FW__.min.js";
|
7
|
+
import { V as X } from "./revolugo.vskeletonloader.CiGvw4Fx.min.js";
|
8
|
+
import { a as Ft, B as Gt } from "./revolugo.bhotelroomsdetails.BZUH-ZM3.min.js";
|
9
|
+
import { _ as dt, a as De } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DhvK2mdJ.min.js";
|
10
|
+
import { r as qe, a as ze, e as Me, L as Ne, s as Ue, m as je, V as Fe } from "./revolugo.index.DmlGotxY.min.js";
|
11
|
+
import { u as Ge, m as We, V as _t } from "./revolugo.vinput.Z7Yl1GBk.min.js";
|
12
|
+
import { b as xe, c as Ht, V as Ye } from "./revolugo.vcheckboxbtn.DOldzxr3.min.js";
|
13
|
+
import { V as at } from "./revolugo.vicon.DNDpBQSo.min.js";
|
14
|
+
import { V as Bt, a as st, m as Ke } from "./revolugo.vbtn.wY8QdelT.min.js";
|
15
|
+
import { B as kt } from "./revolugo.btag.DqKCcO64.min.js";
|
16
|
+
import { u as Ze } from "./revolugo.use-breakpoint-service.B4fTuJ-m.min.js";
|
17
|
+
import { V as Je } from "./revolugo.vselect.ho1sqVZQ.min.js";
|
18
|
+
import { V as Qe } from "./revolugo.vlist.Dc4CBbyk.min.js";
|
19
|
+
import { _ as Xe } from "./revolugo.cancellationpolicieslist.M5d1D5ot.min.js";
|
20
|
+
import { V as Z } from "./revolugo.vdivider.C5hf52x9.min.js";
|
21
|
+
import { k as to, C as eo } from "./revolugo.case-transformers.CZexLFCC.min.js";
|
22
22
|
/* empty css */
|
23
|
-
import { d as
|
24
|
-
import { f as
|
25
|
-
import { V as
|
26
|
-
import { a as
|
27
|
-
function
|
23
|
+
import { d as oo } from "./revolugo.defaultsdeep.xStfx1ax.min.js";
|
24
|
+
import { f as ao } from "./revolugo.forwardrefs.VVhh1qV3.min.js";
|
25
|
+
import { V as Tt, m as so, a as Et, b as no } from "./revolugo.vwindowitem.DwV9VIGY.min.js";
|
26
|
+
import { a as Vt, m as io } from "./revolugo.vslidegroup.BmHjyRja.min.js";
|
27
|
+
function ne(t) {
|
28
28
|
try {
|
29
29
|
if (typeof document < "u") {
|
30
30
|
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
@@ -44,53 +44,53 @@ function se(t) {
|
|
44
44
|
console.error("[revolugo-elements] ", e);
|
45
45
|
}
|
46
46
|
}
|
47
|
-
function
|
47
|
+
function lo(t) {
|
48
48
|
return (t && t.split(",") || []).map(
|
49
49
|
(e) => Number.parseInt(e)
|
50
50
|
);
|
51
51
|
}
|
52
|
-
const
|
53
|
-
function
|
54
|
-
return t +
|
52
|
+
const ro = 4;
|
53
|
+
function uo(t, e) {
|
54
|
+
return t + lo(e).reduce((n, s) => s >= ro ? n + 1 : n, 0);
|
55
55
|
}
|
56
|
-
function
|
56
|
+
function co(t, e) {
|
57
57
|
return e === void 0 ? Array.from({ length: t }, (n, s) => s) : Array.from({ length: e - t }, (n, s) => t + s);
|
58
58
|
}
|
59
|
-
function
|
60
|
-
const t =
|
61
|
-
() => e.value ===
|
62
|
-
), s =
|
63
|
-
() => e.value ===
|
64
|
-
), r =
|
65
|
-
() => e.value ===
|
59
|
+
function mo() {
|
60
|
+
const t = mt(), e = x(Y.Idle), n = f(
|
61
|
+
() => e.value === Y.BookingPoliciesFetched
|
62
|
+
), s = f(
|
63
|
+
() => e.value === Y.Unavailable
|
64
|
+
), r = f(
|
65
|
+
() => e.value === Y.FetchingBookingPolicies
|
66
66
|
);
|
67
|
-
async function
|
68
|
-
addBreakfast:
|
67
|
+
async function p({
|
68
|
+
addBreakfast: u,
|
69
69
|
hotelId: l,
|
70
|
-
hotelRoomOfferId:
|
70
|
+
hotelRoomOfferId: b
|
71
71
|
}) {
|
72
|
-
e.value =
|
72
|
+
e.value = Y.FetchingBookingPolicies;
|
73
73
|
try {
|
74
74
|
await t.createBookingPolicies({
|
75
|
-
addBreakfast:
|
75
|
+
addBreakfast: u,
|
76
76
|
hotelId: l,
|
77
|
-
hotelRoomOfferId:
|
78
|
-
}), e.value =
|
79
|
-
e.value =
|
77
|
+
hotelRoomOfferId: b
|
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: p,
|
88
88
|
isBookingPoliciesSuccessful: n,
|
89
89
|
isBookingPoliciesUnavailable: s,
|
90
90
|
isFetchingBookingPolicies: r
|
91
91
|
};
|
92
92
|
}
|
93
|
-
function
|
93
|
+
function fo(t, e, n) {
|
94
94
|
if (!t)
|
95
95
|
return e;
|
96
96
|
const s = n || ((r) => r);
|
@@ -102,23 +102,23 @@ function co(t, e, n) {
|
|
102
102
|
}
|
103
103
|
return s(t);
|
104
104
|
}
|
105
|
-
function
|
105
|
+
function bo({
|
106
106
|
cb: t,
|
107
107
|
fallbackValue: e,
|
108
108
|
prop: n
|
109
109
|
}) {
|
110
|
-
return
|
111
|
-
const r =
|
112
|
-
return r &&
|
110
|
+
return f(() => {
|
111
|
+
const r = fo(ie(n.value), e, t);
|
112
|
+
return r && oo(structuredClone(r), e || {});
|
113
113
|
});
|
114
114
|
}
|
115
|
-
const
|
115
|
+
const po = { class: "text-right" }, ko = {
|
116
116
|
key: 0,
|
117
117
|
class: "text-grey-darken-3"
|
118
|
-
},
|
118
|
+
}, vo = { class: "text-h6 text-grey-darken-3 font-weight-black" }, ho = {
|
119
119
|
key: 1,
|
120
120
|
class: "my-0 text-caption text-grey-darken-3 d-block"
|
121
|
-
},
|
121
|
+
}, go = { class: "text-caption d-block" }, Wt = /* @__PURE__ */ j({
|
122
122
|
__name: "BPriceSummary",
|
123
123
|
props: {
|
124
124
|
adultCount: { default: 0 },
|
@@ -132,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 = f(() => e.nightCount <= 0 || e.roomCount <= 0 ? e.price : e.price / e.roomCount / e.nightCount);
|
136
|
+
return (r, p) => (i(), m("div", po, [
|
137
|
+
r.isStartingPrice ? (i(), m("small", ko, g(S(n)("BPriceSummary.from")) + " ", 1)) : C("", !0),
|
138
|
+
k("b", vo, [
|
139
|
+
o(dt, {
|
140
140
|
amount: s.value,
|
141
141
|
"round-mode": r.roundMode
|
142
142
|
}, null, 8, ["amount", "round-mode"])
|
143
143
|
]),
|
144
|
-
(r.roomCount > 1 || r.nightCount > 1 || r.taxIncludedPrice !== r.price) && r.isTaxIncluded ? (i(),
|
145
|
-
|
146
|
-
o(
|
144
|
+
(r.roomCount > 1 || r.nightCount > 1 || r.taxIncludedPrice !== r.price) && r.isTaxIncluded ? (i(), m("span", ho, [
|
145
|
+
k("b", null, [
|
146
|
+
o(dt, {
|
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(S(n)("BPriceSummary.total")) + " " + g(S(n)("BPriceSummary.summary", {
|
152
|
+
rooms: S(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", go, [
|
156
|
+
r.taxIncludedPrice || r.price ? (i(), m(y, { key: 0 }, [
|
157
|
+
r.isTaxIncluded ? (i(), m(y, { key: 0 }, [
|
158
|
+
w(g(S(n)("BPriceSummary.taxIncluded")), 1)
|
159
|
+
], 64)) : (i(), m(y, { key: 1 }, [
|
160
|
+
w(g(S(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
|
275
|
-
function
|
273
|
+
typeof At == "function" && At(Wt);
|
274
|
+
const Rt = /* @__PURE__ */ tt(Wt, [["__scopeId", "data-v-9728292a"]]);
|
275
|
+
function yo(t, e) {
|
276
276
|
return e ? t.adultCount === e.adultCount && t.checkInDate === e.checkInDate && t.checkOutDate === e.checkOutDate && t.children === e.children && t.hotelId === e.hotelId && t.roomCount === e.roomCount && t.sourceMarket === e.sourceMarket : !1;
|
277
277
|
}
|
278
|
-
function
|
279
|
-
const e =
|
278
|
+
function Ro(t) {
|
279
|
+
const e = ft(), n = Ie(
|
280
280
|
t.checkInDate,
|
281
281
|
t.checkOutDate
|
282
282
|
), s = x({
|
@@ -287,19 +287,19 @@ function go(t) {
|
|
287
287
|
hotelId: t.hotelId,
|
288
288
|
roomCount: t.roomCount,
|
289
289
|
sourceMarket: t.sourceMarket
|
290
|
-
}), r =
|
290
|
+
}), r = f(
|
291
291
|
() => e.hotelRoomOfferRequest(t.hotelId)
|
292
|
-
),
|
292
|
+
), p = le(
|
293
293
|
async function() {
|
294
|
-
const
|
295
|
-
t.hotelRoomOfferRequestId && t.hotelRoomOfferRequestId !==
|
296
|
-
hotelId:
|
294
|
+
const b = s.value, c = r.value;
|
295
|
+
t.hotelRoomOfferRequestId && t.hotelRoomOfferRequestId !== c?.id ? (await e.retrieveHotelRoomOfferRequest({
|
296
|
+
hotelId: b.hotelId,
|
297
297
|
hotelRoomOfferRequestId: t.hotelRoomOfferRequestId
|
298
|
-
}), (!c || c.hasError) && await e.createHotelRoomOfferRequest(
|
298
|
+
}), (!c || c.hasError) && await e.createHotelRoomOfferRequest(b)) : (!c || !c.id || c.hasError || !yo(b, c)) && await e.createHotelRoomOfferRequest(b);
|
299
299
|
},
|
300
300
|
300
|
301
301
|
);
|
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, b) => {
|
361
|
+
b && e.deleteHotelRoomOfferRequest(b), s.value = {
|
362
362
|
...s.value,
|
363
363
|
hotelId: l
|
364
|
-
},
|
364
|
+
}, p();
|
365
365
|
}
|
366
|
-
),
|
366
|
+
), $(
|
367
367
|
() => t.roomCount,
|
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 = {
|
@@ -380,19 +380,19 @@ function go(t) {
|
|
380
380
|
};
|
381
381
|
}
|
382
382
|
);
|
383
|
-
const
|
384
|
-
e.resetHotelRoomOfferRequest(t.hotelId),
|
383
|
+
const u = () => {
|
384
|
+
e.resetHotelRoomOfferRequest(t.hotelId), p();
|
385
385
|
};
|
386
|
-
return
|
386
|
+
return $(
|
387
387
|
() => s.value,
|
388
388
|
() => {
|
389
|
-
|
389
|
+
p();
|
390
390
|
},
|
391
391
|
{ deep: !0, immediate: !0 }
|
392
|
-
),
|
393
|
-
() =>
|
392
|
+
), $(
|
393
|
+
() => re(),
|
394
394
|
() => {
|
395
|
-
|
395
|
+
u();
|
396
396
|
},
|
397
397
|
{ immediate: !0 }
|
398
398
|
), {
|
@@ -400,30 +400,30 @@ function go(t) {
|
|
400
400
|
hotelRoomOfferRequestInternal: s
|
401
401
|
};
|
402
402
|
}
|
403
|
-
const
|
403
|
+
const Oo = 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
|
-
}),
|
419
|
-
function
|
420
|
-
const
|
421
|
-
return i(),
|
418
|
+
}), Co = { class: "d-flex justify-end" };
|
419
|
+
function Bo(t, e, n, s, r, p) {
|
420
|
+
const u = L("BPriceSummarySkeleton");
|
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
|
+
V(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
|
+
V(t.$slots, "breakfast-option-badge"),
|
466
|
+
V(t.$slots, "cancellation-policies")
|
467
467
|
]),
|
468
468
|
_: 3
|
469
469
|
}),
|
470
|
-
o(
|
470
|
+
o(h, { cols: "12" }, {
|
471
471
|
default: a(() => [
|
472
|
-
|
472
|
+
V(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
|
-
|
492
|
-
o(
|
490
|
+
V(t.$slots, "package-type"),
|
491
|
+
V(t.$slots, "price-summary", {}, () => [
|
492
|
+
o(u, {
|
493
493
|
boilerplate: t.boilerplate,
|
494
494
|
class: "mt-2"
|
495
495
|
}, null, 8, ["boilerplate"])
|
496
496
|
]),
|
497
|
-
|
498
|
-
|
499
|
-
o(
|
497
|
+
k("div", Co, [
|
498
|
+
V(t.$slots, "action", {}, () => [
|
499
|
+
o(X, {
|
500
500
|
class: "mt-2",
|
501
501
|
boilerplate: t.boilerplate,
|
502
502
|
height: "28px",
|
@@ -513,98 +513,7 @@ function Oo(t, e, n, s, r, k) {
|
|
513
513
|
_: 3
|
514
514
|
});
|
515
515
|
}
|
516
|
-
const
|
517
|
-
isLoading: { type: Boolean },
|
518
|
-
modelValue: {
|
519
|
-
type: Boolean
|
520
|
-
},
|
521
|
-
price: {
|
522
|
-
required: !0,
|
523
|
-
type: Number
|
524
|
-
}
|
525
|
-
}, Yt = Q({
|
526
|
-
components: {
|
527
|
-
BTag: dt
|
528
|
-
},
|
529
|
-
computed: {
|
530
|
-
formattedPrice() {
|
531
|
-
return $e({
|
532
|
-
amount: this.price,
|
533
|
-
currency: this.config.currency,
|
534
|
-
locale: this.$i18n.locale
|
535
|
-
});
|
536
|
-
}
|
537
|
-
},
|
538
|
-
data() {
|
539
|
-
return {
|
540
|
-
valueLocal: this.modelValue
|
541
|
-
};
|
542
|
-
},
|
543
|
-
name: "BBreakfastSwitch",
|
544
|
-
props: Co,
|
545
|
-
setup() {
|
546
|
-
const { t } = X();
|
547
|
-
return {
|
548
|
-
t
|
549
|
-
};
|
550
|
-
},
|
551
|
-
watch: {
|
552
|
-
valueLocal(t) {
|
553
|
-
this.$emit("update:modelValue", t);
|
554
|
-
}
|
555
|
-
}
|
556
|
-
});
|
557
|
-
function Lt(t) {
|
558
|
-
const e = t;
|
559
|
-
e.__i18n = e.__i18n || [], e.__i18n.push({
|
560
|
-
locale: "",
|
561
|
-
resource: {
|
562
|
-
"en-US": {
|
563
|
-
BBreakfastSwitch: {
|
564
|
-
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Breakfast" } },
|
565
|
-
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / guest / night" }] } }
|
566
|
-
}
|
567
|
-
},
|
568
|
-
"fr-FR": {
|
569
|
-
BBreakfastSwitch: {
|
570
|
-
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Petit-déjeuner" } },
|
571
|
-
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / client / nuit" }] } }
|
572
|
-
}
|
573
|
-
},
|
574
|
-
"de-DE": {
|
575
|
-
BBreakfastSwitch: {
|
576
|
-
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Frühstück" } },
|
577
|
-
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / Gast / Nacht" }] } }
|
578
|
-
}
|
579
|
-
},
|
580
|
-
"es-ES": {
|
581
|
-
BBreakfastSwitch: {
|
582
|
-
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Desayuno" } },
|
583
|
-
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / huésped / noche" }] } }
|
584
|
-
}
|
585
|
-
},
|
586
|
-
"it-IT": {
|
587
|
-
BBreakfastSwitch: {
|
588
|
-
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Colazione" } },
|
589
|
-
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / ospite / notte" }] } }
|
590
|
-
}
|
591
|
-
},
|
592
|
-
"nl-NL": {
|
593
|
-
BBreakfastSwitch: {
|
594
|
-
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ontbijt" } },
|
595
|
-
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / gast / nacht" }] } }
|
596
|
-
}
|
597
|
-
},
|
598
|
-
"pt-PT": {
|
599
|
-
BBreakfastSwitch: {
|
600
|
-
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pequeno-almoço" } },
|
601
|
-
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / hóspede / noite" }] } }
|
602
|
-
}
|
603
|
-
}
|
604
|
-
}
|
605
|
-
});
|
606
|
-
}
|
607
|
-
const Bo = lt({
|
516
|
+
const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
608
517
|
indeterminate: Boolean,
|
609
518
|
inset: Boolean,
|
610
519
|
flat: Boolean,
|
@@ -612,12 +521,12 @@ const Bo = lt({
|
|
612
521
|
type: [Boolean, String],
|
613
522
|
default: !1
|
614
523
|
},
|
615
|
-
...
|
616
|
-
...
|
617
|
-
}, "VSwitch"),
|
524
|
+
...We(),
|
525
|
+
...xe()
|
526
|
+
}, "VSwitch"), Io = it()({
|
618
527
|
name: "VSwitch",
|
619
528
|
inheritAttrs: !1,
|
620
|
-
props:
|
529
|
+
props: So(),
|
621
530
|
emits: {
|
622
531
|
"update:focused": (t) => !0,
|
623
532
|
"update:modelValue": (t) => !0,
|
@@ -628,95 +537,94 @@ const Bo = lt({
|
|
628
537
|
attrs: n,
|
629
538
|
slots: s
|
630
539
|
} = e;
|
631
|
-
const r =
|
632
|
-
loaderClasses:
|
633
|
-
} =
|
540
|
+
const r = ct(t, "indeterminate"), p = ct(t, "modelValue"), {
|
541
|
+
loaderClasses: u
|
542
|
+
} = qe(t), {
|
634
543
|
isFocused: l,
|
635
|
-
focus:
|
544
|
+
focus: b,
|
636
545
|
blur: c
|
637
|
-
} =
|
638
|
-
function
|
546
|
+
} = Ge(t), I = x(), T = ue && window.matchMedia("(forced-colors: active)").matches, v = f(() => typeof t.loading == "string" && t.loading !== "" ? t.loading : t.color), _ = ce(), z = f(() => t.id || `switch-${_}`);
|
547
|
+
function J() {
|
639
548
|
r.value && (r.value = !1);
|
640
549
|
}
|
641
|
-
function
|
642
|
-
|
643
|
-
W.stopPropagation(), W.preventDefault(), (D = (M = P.value) == null ? void 0 : M.input) == null || D.click();
|
550
|
+
function D(E) {
|
551
|
+
E.stopPropagation(), E.preventDefault(), I.value?.input?.click();
|
644
552
|
}
|
645
553
|
return rt(() => {
|
646
|
-
const [
|
647
|
-
return o(
|
554
|
+
const [E, G] = de(n), N = _t.filterProps(t), Q = Ht.filterProps(t);
|
555
|
+
return o(_t, M({
|
648
556
|
class: ["v-switch", {
|
649
557
|
"v-switch--flat": t.flat
|
650
558
|
}, {
|
651
559
|
"v-switch--inset": t.inset
|
652
560
|
}, {
|
653
561
|
"v-switch--indeterminate": r.value
|
654
|
-
},
|
655
|
-
},
|
656
|
-
modelValue:
|
657
|
-
"onUpdate:modelValue": (
|
658
|
-
id:
|
562
|
+
}, u.value, t.class]
|
563
|
+
}, E, N, {
|
564
|
+
modelValue: p.value,
|
565
|
+
"onUpdate:modelValue": (B) => p.value = B,
|
566
|
+
id: z.value,
|
659
567
|
focused: l.value,
|
660
568
|
style: t.style
|
661
569
|
}), {
|
662
570
|
...s,
|
663
|
-
default: (
|
571
|
+
default: (B) => {
|
664
572
|
let {
|
665
|
-
id:
|
666
|
-
messagesId:
|
667
|
-
isDisabled:
|
668
|
-
isReadonly:
|
669
|
-
isValid:
|
670
|
-
} =
|
671
|
-
const
|
672
|
-
model:
|
673
|
-
isValid:
|
573
|
+
id: A,
|
574
|
+
messagesId: W,
|
575
|
+
isDisabled: U,
|
576
|
+
isReadonly: nt,
|
577
|
+
isValid: ot
|
578
|
+
} = B;
|
579
|
+
const d = {
|
580
|
+
model: p,
|
581
|
+
isValid: ot
|
674
582
|
};
|
675
|
-
return o(Ht,
|
676
|
-
ref:
|
677
|
-
},
|
678
|
-
modelValue:
|
679
|
-
"onUpdate:modelValue": [(
|
680
|
-
id:
|
681
|
-
"aria-describedby":
|
583
|
+
return o(Ht, M({
|
584
|
+
ref: I
|
585
|
+
}, Q, {
|
586
|
+
modelValue: p.value,
|
587
|
+
"onUpdate:modelValue": [(H) => p.value = H, J],
|
588
|
+
id: A.value,
|
589
|
+
"aria-describedby": W.value,
|
682
590
|
type: "checkbox",
|
683
591
|
"aria-checked": r.value ? "mixed" : void 0,
|
684
|
-
disabled:
|
685
|
-
readonly:
|
686
|
-
onFocus:
|
592
|
+
disabled: U.value,
|
593
|
+
readonly: nt.value,
|
594
|
+
onFocus: b,
|
687
595
|
onBlur: c
|
688
|
-
},
|
596
|
+
}, G), {
|
689
597
|
...s,
|
690
|
-
default: (
|
598
|
+
default: (H) => {
|
691
599
|
let {
|
692
|
-
backgroundColorClasses:
|
600
|
+
backgroundColorClasses: O,
|
693
601
|
backgroundColorStyles: q
|
694
|
-
} =
|
602
|
+
} = H;
|
695
603
|
return o("div", {
|
696
|
-
class: ["v-switch__track",
|
604
|
+
class: ["v-switch__track", T ? void 0 : O.value],
|
697
605
|
style: q.value,
|
698
|
-
onClick:
|
606
|
+
onClick: D
|
699
607
|
}, [s["track-true"] && o("div", {
|
700
608
|
key: "prepend",
|
701
609
|
class: "v-switch__track-true"
|
702
|
-
}, [s["track-true"](
|
610
|
+
}, [s["track-true"](d)]), s["track-false"] && o("div", {
|
703
611
|
key: "append",
|
704
612
|
class: "v-switch__track-false"
|
705
|
-
}, [s["track-false"](
|
613
|
+
}, [s["track-false"](d)])]);
|
706
614
|
},
|
707
|
-
input: (
|
615
|
+
input: (H) => {
|
708
616
|
let {
|
709
|
-
inputNode:
|
617
|
+
inputNode: O,
|
710
618
|
icon: q,
|
711
|
-
backgroundColorClasses:
|
712
|
-
backgroundColorStyles:
|
713
|
-
} =
|
714
|
-
return o(
|
619
|
+
backgroundColorClasses: ae,
|
620
|
+
backgroundColorStyles: se
|
621
|
+
} = H;
|
622
|
+
return o(y, null, [O, o("div", {
|
715
623
|
class: ["v-switch__thumb", {
|
716
624
|
"v-switch__thumb--filled": q || t.loading
|
717
|
-
}, t.inset ||
|
718
|
-
style: t.inset ? void 0 :
|
719
|
-
}, [s.thumb ? o(
|
625
|
+
}, t.inset || T ? void 0 : ae.value],
|
626
|
+
style: t.inset ? void 0 : se.value
|
627
|
+
}, [s.thumb ? o(ze, {
|
720
628
|
defaults: {
|
721
629
|
VIcon: {
|
722
630
|
icon: q,
|
@@ -725,23 +633,23 @@ const Bo = lt({
|
|
725
633
|
}
|
726
634
|
}, {
|
727
635
|
default: () => [s.thumb({
|
728
|
-
...
|
636
|
+
...d,
|
729
637
|
icon: q
|
730
638
|
})]
|
731
|
-
}) : o(
|
732
|
-
default: () => [t.loading ? o(
|
639
|
+
}) : o(Me, null, {
|
640
|
+
default: () => [t.loading ? o(Ne, {
|
733
641
|
name: "v-switch",
|
734
642
|
active: !0,
|
735
|
-
color:
|
643
|
+
color: ot.value === !1 ? void 0 : v.value
|
736
644
|
}, {
|
737
|
-
default: (
|
738
|
-
active:
|
739
|
-
color:
|
645
|
+
default: (bt) => s.loader ? s.loader(bt) : o(Bt, {
|
646
|
+
active: bt.isActive,
|
647
|
+
color: bt.color,
|
740
648
|
indeterminate: !0,
|
741
649
|
size: "16",
|
742
650
|
width: "2"
|
743
651
|
}, null)
|
744
|
-
}) : q && o(
|
652
|
+
}) : q && o(at, {
|
745
653
|
key: String(q),
|
746
654
|
icon: q,
|
747
655
|
size: "x-small"
|
@@ -753,44 +661,112 @@ const Bo = lt({
|
|
753
661
|
});
|
754
662
|
}), {};
|
755
663
|
}
|
756
|
-
}),
|
757
|
-
|
758
|
-
|
759
|
-
|
760
|
-
|
761
|
-
|
762
|
-
density: "compact",
|
763
|
-
size: "small",
|
764
|
-
color: "primary",
|
765
|
-
loading: t.isLoading && "success"
|
664
|
+
}), wo = { class: "text-caption ml-n3" }, Po = { class: "mr-2" }, _o = ["innerHTML"], xt = /* @__PURE__ */ j({
|
665
|
+
__name: "BBreakfastSwitch",
|
666
|
+
props: /* @__PURE__ */ me({
|
667
|
+
isLoading: { type: Boolean },
|
668
|
+
price: {},
|
669
|
+
currency: {}
|
766
670
|
}, {
|
767
|
-
|
768
|
-
|
769
|
-
|
770
|
-
|
771
|
-
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
780
|
-
|
781
|
-
|
782
|
-
|
783
|
-
|
784
|
-
|
785
|
-
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
|
671
|
+
modelValue: { type: Boolean },
|
672
|
+
modelModifiers: {}
|
673
|
+
}),
|
674
|
+
emits: ["update:modelValue"],
|
675
|
+
setup(t) {
|
676
|
+
const { locale: e, t: n } = F(), s = fe(t, "modelValue"), r = f(
|
677
|
+
() => De({
|
678
|
+
amount: t.price,
|
679
|
+
currency: t.currency,
|
680
|
+
locale: e.value
|
681
|
+
})
|
682
|
+
);
|
683
|
+
return (p, u) => (i(), R(Io, {
|
684
|
+
modelValue: s.value,
|
685
|
+
"onUpdate:modelValue": u[0] || (u[0] = (l) => s.value = l),
|
686
|
+
class: "ma-0 pa-0 breakfast-switch d-inline-block",
|
687
|
+
density: "compact",
|
688
|
+
size: "small",
|
689
|
+
color: "primary",
|
690
|
+
loading: p.isLoading && "success"
|
691
|
+
}, {
|
692
|
+
label: a(() => [
|
693
|
+
k("div", wo, [
|
694
|
+
o(at, {
|
695
|
+
size: "12",
|
696
|
+
class: "ml-4 mr-2"
|
697
|
+
}, {
|
698
|
+
default: a(() => u[1] || (u[1] = [
|
699
|
+
w(" fas fa-coffee ")
|
700
|
+
])),
|
701
|
+
_: 1,
|
702
|
+
__: [1]
|
703
|
+
}),
|
704
|
+
u[2] || (u[2] = w(" ")),
|
705
|
+
k("span", Po, g(S(n)("BBreakfastSwitch.title")), 1),
|
706
|
+
k("span", {
|
707
|
+
innerHTML: S(n)("BBreakfastSwitch.price", { n: r.value }).replace(
|
708
|
+
/\s/gu,
|
709
|
+
" "
|
710
|
+
)
|
711
|
+
}, null, 8, _o)
|
712
|
+
])
|
713
|
+
]),
|
714
|
+
_: 1
|
715
|
+
}, 8, ["modelValue", "loading"]));
|
716
|
+
}
|
717
|
+
});
|
718
|
+
function $t(t) {
|
719
|
+
const e = t;
|
720
|
+
e.__i18n = e.__i18n || [], e.__i18n.push({
|
721
|
+
locale: "",
|
722
|
+
resource: {
|
723
|
+
"en-US": {
|
724
|
+
BBreakfastSwitch: {
|
725
|
+
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Breakfast" } },
|
726
|
+
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / guest / night" }] } }
|
727
|
+
}
|
728
|
+
},
|
729
|
+
"fr-FR": {
|
730
|
+
BBreakfastSwitch: {
|
731
|
+
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Petit-déjeuner" } },
|
732
|
+
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / client / nuit" }] } }
|
733
|
+
}
|
734
|
+
},
|
735
|
+
"de-DE": {
|
736
|
+
BBreakfastSwitch: {
|
737
|
+
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Frühstück" } },
|
738
|
+
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / Gast / Nacht" }] } }
|
739
|
+
}
|
740
|
+
},
|
741
|
+
"es-ES": {
|
742
|
+
BBreakfastSwitch: {
|
743
|
+
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Desayuno" } },
|
744
|
+
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / huésped / noche" }] } }
|
745
|
+
}
|
746
|
+
},
|
747
|
+
"it-IT": {
|
748
|
+
BBreakfastSwitch: {
|
749
|
+
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Colazione" } },
|
750
|
+
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / ospite / notte" }] } }
|
751
|
+
}
|
752
|
+
},
|
753
|
+
"nl-NL": {
|
754
|
+
BBreakfastSwitch: {
|
755
|
+
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Ontbijt" } },
|
756
|
+
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / gast / nacht" }] } }
|
757
|
+
}
|
758
|
+
},
|
759
|
+
"pt-PT": {
|
760
|
+
BBreakfastSwitch: {
|
761
|
+
title: { t: 0, b: { t: 2, i: [{ t: 3 }], s: "Pequeno-almoço" } },
|
762
|
+
price: { t: 0, b: { t: 2, i: [{ t: 4, k: "n" }, { t: 3, v: " / hóspede / noite" }] } }
|
763
|
+
}
|
764
|
+
}
|
765
|
+
}
|
766
|
+
});
|
791
767
|
}
|
792
|
-
typeof
|
793
|
-
const
|
768
|
+
typeof $t == "function" && $t(xt);
|
769
|
+
const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
794
770
|
breakfastCount: {
|
795
771
|
type: Number
|
796
772
|
},
|
@@ -828,198 +804,187 @@ const xt = /* @__PURE__ */ tt(Yt, [["render", _o], ["__scopeId", "data-v-9a8c934
|
|
828
804
|
tags: { type: Array },
|
829
805
|
taxIncludedPrice: { required: !0, type: Number },
|
830
806
|
type: { type: String }
|
831
|
-
},
|
807
|
+
}, To = { key: 0 }, Eo = {
|
832
808
|
class: "align-self-center d-flex flex-wrap",
|
833
809
|
style: { gap: "0.3em" }
|
834
|
-
},
|
810
|
+
}, Vo = {
|
835
811
|
class: "align-self-center d-inline-flex flex-wrap",
|
836
812
|
style: { gap: "0.3em" }
|
837
|
-
}, Ao = { class: "text-caption" }, $o = { key: 0 }, Lo = { key: 1 }, Kt = /* @__PURE__ */
|
813
|
+
}, Ao = { class: "text-caption" }, $o = { key: 0 }, Lo = { key: 1 }, Kt = /* @__PURE__ */ j({
|
838
814
|
__name: "HotelRoomOfferItem",
|
839
|
-
props:
|
815
|
+
props: Ho,
|
840
816
|
emits: ["breakfast-change", "update:modelValue", "booking-policy-failed"],
|
841
817
|
setup(t, { emit: e }) {
|
842
|
-
const n = t, { t: s } =
|
818
|
+
const n = t, { t: s } = F(), { eventBus: r } = ke(), p = e, u = x(
|
843
819
|
n.breakfastCount && n.breakfastCount > 0 || !1
|
844
820
|
);
|
845
|
-
|
846
|
-
|
847
|
-
addBreakfast:
|
821
|
+
$(u, (d) => {
|
822
|
+
p("breakfast-change", {
|
823
|
+
addBreakfast: d,
|
848
824
|
hotelId: n.hotelId,
|
849
825
|
id: n.id
|
850
826
|
});
|
851
827
|
});
|
852
|
-
const l =
|
828
|
+
const l = ft(), b = mt(), c = f(
|
853
829
|
() => l.hotelRoomOfferRequest(n.hotelId)
|
854
|
-
),
|
855
|
-
|
856
|
-
|
857
|
-
|
858
|
-
|
859
|
-
return (u = c.value) == null ? void 0 : u.checkInDate;
|
860
|
-
}), R = p(
|
861
|
-
() => n.count ? ro(n.count + 1) : []
|
862
|
-
), h = p(
|
863
|
-
() => m.hotelTimezone(n.hotelId)
|
864
|
-
), E = p(
|
830
|
+
), I = f(() => c.value?.adultCount), T = f(() => c.value?.checkInDate), v = f(
|
831
|
+
() => n.count ? co(n.count + 1) : []
|
832
|
+
), _ = f(
|
833
|
+
() => b.hotelTimezone(n.hotelId)
|
834
|
+
), z = f(
|
865
835
|
() => l.nightCount(n.hotelId)
|
866
|
-
),
|
836
|
+
), J = f(() => {
|
867
837
|
switch (n.packageType) {
|
868
|
-
case
|
838
|
+
case ut.Cheapest:
|
869
839
|
return "red";
|
870
|
-
case
|
871
|
-
case
|
840
|
+
case ut.BestMatch:
|
841
|
+
case ut.MatchingRoomCount:
|
872
842
|
return "purple";
|
873
|
-
case
|
843
|
+
case ut.Regular:
|
874
844
|
case void 0:
|
875
845
|
default:
|
876
846
|
return "";
|
877
847
|
}
|
878
|
-
}),
|
879
|
-
() => n.hotelRooms.reduce((
|
880
|
-
),
|
848
|
+
}), D = f(
|
849
|
+
() => n.hotelRooms.reduce((d, H) => d + (H.count || 0), 0)
|
850
|
+
), E = f({
|
881
851
|
get() {
|
882
852
|
return n.modelValue;
|
883
853
|
},
|
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)) || [];
|
854
|
+
set(d) {
|
855
|
+
p("update:modelValue", d);
|
896
856
|
}
|
857
|
+
}), G = f(
|
858
|
+
() => n.tags?.filter((d) => d.name.length > 30) || []
|
859
|
+
), N = f(
|
860
|
+
() => n.tags?.filter((d) => d.name.length < 30) || []
|
897
861
|
), {
|
898
|
-
bookingState:
|
899
|
-
createBookingPolicy:
|
900
|
-
isBookingPoliciesSuccessful:
|
901
|
-
isBookingPoliciesUnavailable:
|
902
|
-
isFetchingBookingPolicies:
|
903
|
-
} =
|
904
|
-
|
905
|
-
|
862
|
+
bookingState: Q,
|
863
|
+
createBookingPolicy: B,
|
864
|
+
isBookingPoliciesSuccessful: A,
|
865
|
+
isBookingPoliciesUnavailable: W,
|
866
|
+
isFetchingBookingPolicies: U
|
867
|
+
} = mo();
|
868
|
+
$(Q, (d) => {
|
869
|
+
d === Y.Unavailable && p("booking-policy-failed", n.id);
|
906
870
|
});
|
907
|
-
async function
|
908
|
-
const
|
871
|
+
async function nt() {
|
872
|
+
const d = {
|
909
873
|
...n,
|
910
874
|
currency: n.currency
|
911
875
|
};
|
912
|
-
r.$emit(
|
913
|
-
addBreakfast:
|
876
|
+
r.$emit(ve.HotelRoomOffersBtnClick, d), await B({
|
877
|
+
addBreakfast: u.value,
|
914
878
|
hotelId: n.hotelId,
|
915
879
|
hotelRoomOfferId: n.id
|
916
880
|
});
|
917
881
|
}
|
918
|
-
const
|
919
|
-
return
|
882
|
+
const ot = x(null);
|
883
|
+
return Ze(ot), (d, H) => (i(), m("div", {
|
920
884
|
class: "position-relative",
|
921
885
|
ref_key: "root",
|
922
|
-
ref:
|
886
|
+
ref: ot
|
923
887
|
}, [
|
924
|
-
o(
|
888
|
+
o(St, { key: "is-available" }, {
|
925
889
|
"room-details": a(() => [
|
926
890
|
o(Gt, {
|
927
|
-
"hotel-rooms":
|
891
|
+
"hotel-rooms": d.hotelRooms
|
928
892
|
}, null, 8, ["hotel-rooms"])
|
929
893
|
]),
|
930
894
|
"package-type": a(() => [
|
931
|
-
|
895
|
+
d.type === "PACKAGE" && d.packageType !== "REGULAR" ? (i(), R(kt, {
|
932
896
|
key: 0,
|
933
897
|
class: "mb-3",
|
934
|
-
color:
|
898
|
+
color: J.value,
|
935
899
|
variant: "outlined"
|
936
900
|
}, {
|
937
901
|
description: a(() => [
|
938
|
-
|
939
|
-
`HotelRoomOfferItem.packageTypes.${
|
940
|
-
{ n:
|
902
|
+
w(g(S(s)(
|
903
|
+
`HotelRoomOfferItem.packageTypes.${d.packageType}.description`,
|
904
|
+
{ n: I.value }
|
941
905
|
)), 1)
|
942
906
|
]),
|
943
907
|
default: a(() => [
|
944
|
-
|
945
|
-
n:
|
908
|
+
w(g(S(s)(`HotelRoomOfferItem.packageTypes.${d.packageType}.title`, {
|
909
|
+
n: I.value
|
946
910
|
})) + " ", 1)
|
947
911
|
]),
|
948
912
|
_: 1
|
949
|
-
}, 8, ["color"])) :
|
913
|
+
}, 8, ["color"])) : C("", !0)
|
950
914
|
]),
|
951
915
|
"cancellation-policies": a(() => [
|
952
|
-
o(
|
916
|
+
o(_e, {
|
953
917
|
class: "mt-2",
|
954
|
-
"cancellation-policies":
|
955
|
-
"check-in-date":
|
956
|
-
timezone:
|
918
|
+
"cancellation-policies": d.cancellationPolicies,
|
919
|
+
"check-in-date": T.value,
|
920
|
+
timezone: _.value
|
957
921
|
}, null, 8, ["cancellation-policies", "check-in-date", "timezone"])
|
958
922
|
]),
|
959
923
|
"breakfast-option-badge": a(() => [
|
960
924
|
o(Ft, {
|
961
|
-
"breakfast-option":
|
962
|
-
breakfastCount:
|
925
|
+
"breakfast-option": d.breakfastCount && d.breakfastCount > 0 ? "INCLUDED" : d.breakfastOption,
|
926
|
+
breakfastCount: d.breakfastCount ?? void 0
|
963
927
|
}, null, 8, ["breakfast-option", "breakfastCount"])
|
964
928
|
]),
|
965
929
|
"breakfast-option-switch": a(() => [
|
966
|
-
|
967
|
-
o(
|
968
|
-
modelValue:
|
969
|
-
"onUpdate:modelValue":
|
930
|
+
d.type !== "HOTEL_ROOM" && d.breakfastOption === "OPTIONAL" ? (i(), m("div", To, [
|
931
|
+
o(Yt, {
|
932
|
+
modelValue: u.value,
|
933
|
+
"onUpdate:modelValue": H[0] || (H[0] = (O) => u.value = O),
|
970
934
|
class: "mt-3 pl-1",
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
|
935
|
+
currency: d.currency,
|
936
|
+
"is-loading": d.isLoading,
|
937
|
+
price: d.breakfastUnitPrice ?? 0
|
938
|
+
}, null, 8, ["modelValue", "currency", "is-loading", "price"])
|
939
|
+
])) : C("", !0)
|
975
940
|
]),
|
976
941
|
"big-tags": a(() => [
|
977
|
-
|
978
|
-
(i(!0),
|
942
|
+
k("div", Eo, [
|
943
|
+
(i(!0), m(y, null, K(G.value, (O, q) => (i(), R(kt, {
|
979
944
|
key: q,
|
980
|
-
color:
|
981
|
-
"pre-icon": `fa-${
|
982
|
-
"text-color":
|
983
|
-
"tooltip-content":
|
945
|
+
color: O.bg,
|
946
|
+
"pre-icon": `fa-${O.faIcon}`,
|
947
|
+
"text-color": O.color,
|
948
|
+
"tooltip-content": O.description
|
984
949
|
}, {
|
985
950
|
default: a(() => [
|
986
|
-
|
951
|
+
w(g(O.name), 1)
|
987
952
|
]),
|
988
953
|
_: 2
|
989
954
|
}, 1032, ["color", "pre-icon", "text-color", "tooltip-content"]))), 128))
|
990
955
|
])
|
991
956
|
]),
|
992
957
|
tags: a(() => [
|
993
|
-
|
994
|
-
(i(!0),
|
958
|
+
k("div", Vo, [
|
959
|
+
(i(!0), m(y, null, K(N.value, (O, q) => (i(), R(kt, {
|
995
960
|
key: q,
|
996
|
-
color:
|
997
|
-
"pre-icon": `fa-${
|
998
|
-
"text-color":
|
999
|
-
"tooltip-content":
|
961
|
+
color: O.bg,
|
962
|
+
"pre-icon": `fa-${O.faIcon}`,
|
963
|
+
"text-color": O.color,
|
964
|
+
"tooltip-content": O.description
|
1000
965
|
}, {
|
1001
966
|
default: a(() => [
|
1002
|
-
|
967
|
+
w(g(O.name), 1)
|
1003
968
|
]),
|
1004
969
|
_: 2
|
1005
970
|
}, 1032, ["color", "pre-icon", "text-color", "tooltip-content"]))), 128))
|
1006
971
|
])
|
1007
972
|
]),
|
1008
973
|
"price-summary": a(() => [
|
1009
|
-
|
1010
|
-
o(
|
974
|
+
d.type === "HOTEL_ROOM" ? (i(), m(y, { key: 0 }, [
|
975
|
+
o(P, {
|
1011
976
|
class: "mt-md-8",
|
1012
977
|
"no-gutters": ""
|
1013
978
|
}, {
|
1014
979
|
default: a(() => [
|
1015
|
-
o(
|
980
|
+
o(h, null, {
|
1016
981
|
default: a(() => [
|
1017
|
-
o(
|
982
|
+
o(Rt, {
|
1018
983
|
"adult-count": 1,
|
1019
984
|
class: "text-right",
|
1020
985
|
"is-tax-included": !1,
|
1021
986
|
"night-count": 0,
|
1022
|
-
price:
|
987
|
+
price: d.price,
|
1023
988
|
"room-count": 0
|
1024
989
|
}, null, 8, ["price"])
|
1025
990
|
]),
|
@@ -1028,41 +993,41 @@ const xt = /* @__PURE__ */ tt(Yt, [["render", _o], ["__scopeId", "data-v-9a8c934
|
|
1028
993
|
]),
|
1029
994
|
_: 1
|
1030
995
|
}),
|
1031
|
-
o(
|
996
|
+
o(P, {
|
1032
997
|
align: "end",
|
1033
998
|
"no-gutters": ""
|
1034
999
|
}, {
|
1035
1000
|
default: a(() => [
|
1036
|
-
o(
|
1001
|
+
o(h, {
|
1037
1002
|
align: "end",
|
1038
1003
|
class: "d-flex justify-end"
|
1039
1004
|
}, {
|
1040
1005
|
default: a(() => [
|
1041
|
-
|
1042
|
-
o(
|
1043
|
-
modelValue:
|
1044
|
-
"onUpdate:modelValue":
|
1006
|
+
k("div", null, [
|
1007
|
+
o(Je, {
|
1008
|
+
modelValue: E.value,
|
1009
|
+
"onUpdate:modelValue": H[1] || (H[1] = (O) => E.value = O),
|
1045
1010
|
class: "item-count mt-2",
|
1046
1011
|
density: "compact",
|
1047
1012
|
"hide-details": "",
|
1048
|
-
items:
|
1013
|
+
items: v.value,
|
1049
1014
|
"menu-props": {
|
1050
1015
|
minWidth: "125px"
|
1051
1016
|
},
|
1052
1017
|
variant: "outlined"
|
1053
1018
|
}, {
|
1054
|
-
item: a(({ item:
|
1055
|
-
o(
|
1019
|
+
item: a(({ item: O, props: q }) => [
|
1020
|
+
o(Qe, be(pe(q)), {
|
1056
1021
|
title: a(() => [
|
1057
|
-
|
1058
|
-
|
1059
|
-
|
1060
|
-
|
1061
|
-
o(
|
1062
|
-
amount:
|
1022
|
+
k("span", Ao, [
|
1023
|
+
w(g(O.raw) + " ", 1),
|
1024
|
+
O.raw ? (i(), m(y, { key: 0 }, [
|
1025
|
+
H[2] || (H[2] = w(" (")),
|
1026
|
+
o(dt, {
|
1027
|
+
amount: O.raw * d.price
|
1063
1028
|
}, null, 8, ["amount"]),
|
1064
|
-
|
1065
|
-
], 64)) :
|
1029
|
+
H[3] || (H[3] = w(") "))
|
1030
|
+
], 64)) : C("", !0)
|
1066
1031
|
])
|
1067
1032
|
]),
|
1068
1033
|
_: 2
|
@@ -1077,47 +1042,47 @@ const xt = /* @__PURE__ */ tt(Yt, [["render", _o], ["__scopeId", "data-v-9a8c934
|
|
1077
1042
|
]),
|
1078
1043
|
_: 1
|
1079
1044
|
})
|
1080
|
-
], 64)) : (i(),
|
1045
|
+
], 64)) : (i(), R(Rt, {
|
1081
1046
|
key: 1,
|
1082
|
-
"adult-count":
|
1047
|
+
"adult-count": I.value,
|
1083
1048
|
class: "text-right",
|
1084
1049
|
"is-tax-included": "",
|
1085
|
-
"night-count":
|
1086
|
-
price:
|
1087
|
-
"room-count":
|
1050
|
+
"night-count": z.value ?? 0,
|
1051
|
+
price: d.price,
|
1052
|
+
"room-count": D.value,
|
1088
1053
|
"round-mode": "ceil",
|
1089
|
-
"tax-included-price":
|
1054
|
+
"tax-included-price": d.taxIncludedPrice
|
1090
1055
|
}, null, 8, ["adult-count", "night-count", "price", "room-count", "tax-included-price"]))
|
1091
1056
|
]),
|
1092
1057
|
action: a(() => [
|
1093
|
-
|
1058
|
+
d.type === "PACKAGE" ? (i(), R(st, {
|
1094
1059
|
key: 0,
|
1095
1060
|
class: "text-none font-weight-bold book-btn w-100 w-sm-auto",
|
1096
|
-
color:
|
1097
|
-
disabled:
|
1061
|
+
color: S(A) ? "success" : "primary",
|
1062
|
+
disabled: S(U) || S(W) || d.isLoading,
|
1098
1063
|
elevation: "0",
|
1099
|
-
loading:
|
1064
|
+
loading: S(U),
|
1100
1065
|
size: "small",
|
1101
|
-
onClick:
|
1066
|
+
onClick: nt
|
1102
1067
|
}, {
|
1103
1068
|
default: a(() => [
|
1104
|
-
|
1105
|
-
|
1106
|
-
default: a(() =>
|
1107
|
-
|
1069
|
+
S(A) ? C("", !0) : (i(), m("span", $o, g(S(s)("HotelRoomOfferItem.book")), 1)),
|
1070
|
+
vt(o(at, { class: "position-absolute" }, {
|
1071
|
+
default: a(() => H[4] || (H[4] = [
|
1072
|
+
w(" fas fa-check ")
|
1108
1073
|
])),
|
1109
1074
|
_: 1,
|
1110
1075
|
__: [4]
|
1111
1076
|
}, 512), [
|
1112
|
-
[
|
1077
|
+
[ht, S(A)]
|
1113
1078
|
])
|
1114
1079
|
]),
|
1115
1080
|
_: 1
|
1116
|
-
}, 8, ["color", "disabled", "loading"])) : (i(),
|
1081
|
+
}, 8, ["color", "disabled", "loading"])) : (i(), m("span", Lo))
|
1117
1082
|
]),
|
1118
1083
|
_: 1
|
1119
1084
|
}),
|
1120
|
-
|
1085
|
+
d.isLoading ? (i(), R(Ut, {
|
1121
1086
|
key: 0,
|
1122
1087
|
absolute: "",
|
1123
1088
|
class: "mx-n4",
|
@@ -1125,30 +1090,30 @@ const xt = /* @__PURE__ */ tt(Yt, [["render", _o], ["__scopeId", "data-v-9a8c934
|
|
1125
1090
|
opacity: "0.75"
|
1126
1091
|
}, {
|
1127
1092
|
default: a(() => [
|
1128
|
-
o(
|
1093
|
+
o(Bt, {
|
1129
1094
|
color: "primary",
|
1130
1095
|
indeterminate: "",
|
1131
1096
|
size: "64"
|
1132
1097
|
})
|
1133
1098
|
]),
|
1134
1099
|
_: 1
|
1135
|
-
})) :
|
1136
|
-
|
1100
|
+
})) : C("", !0),
|
1101
|
+
S(W) || d.gone ? (i(), R(jt, {
|
1137
1102
|
key: 1,
|
1138
1103
|
"margin-top": 16
|
1139
1104
|
}, {
|
1140
1105
|
title: a(() => [
|
1141
|
-
|
1106
|
+
w(g(S(s)("HotelRoomOfferItem.unavailable.title")), 1)
|
1142
1107
|
]),
|
1143
1108
|
description: a(() => [
|
1144
|
-
|
1109
|
+
w(g(S(s)("HotelRoomOfferItem.unavailable.description")), 1)
|
1145
1110
|
]),
|
1146
1111
|
_: 1
|
1147
|
-
})) :
|
1112
|
+
})) : C("", !0)
|
1148
1113
|
], 512));
|
1149
1114
|
}
|
1150
1115
|
});
|
1151
|
-
function
|
1116
|
+
function Lt(t) {
|
1152
1117
|
const e = t;
|
1153
1118
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
1154
1119
|
locale: "",
|
@@ -1317,33 +1282,33 @@ function Dt(t) {
|
|
1317
1282
|
}
|
1318
1283
|
});
|
1319
1284
|
}
|
1320
|
-
typeof
|
1321
|
-
const Zt = /* @__PURE__ */ tt(Kt, [["__scopeId", "data-v-
|
1285
|
+
typeof Lt == "function" && Lt(Kt);
|
1286
|
+
const Zt = /* @__PURE__ */ tt(Kt, [["__scopeId", "data-v-2eaf1597"]]), Do = j({
|
1322
1287
|
components: {
|
1323
|
-
BHotelRoomsDetailsSkeleton:
|
1324
|
-
BPriceSummarySkeleton:
|
1288
|
+
BHotelRoomsDetailsSkeleton: He,
|
1289
|
+
BPriceSummarySkeleton: Ct
|
1325
1290
|
},
|
1326
1291
|
name: "BBasketSummaryLayout",
|
1327
1292
|
setup() {
|
1328
|
-
const { t } =
|
1293
|
+
const { t } = F();
|
1329
1294
|
return {
|
1330
1295
|
t
|
1331
1296
|
};
|
1332
1297
|
}
|
1333
1298
|
}), qo = { class: "text-subtitle-1 font-weight-black text-primary d-flex justify-end" }, zo = { class: "text-caption d-flex justify-end py-2" }, Mo = { class: "mt-3 d-flex justify-start align-center" }, No = { class: "pt-4" };
|
1334
|
-
function Uo(t, e, n, s, r,
|
1335
|
-
const
|
1336
|
-
return i(),
|
1299
|
+
function Uo(t, e, n, s, r, p) {
|
1300
|
+
const u = L("BHotelRoomsDetailsSkeleton"), l = L("BPriceSummarySkeleton");
|
1301
|
+
return i(), R(P, { class: "px-2" }, {
|
1337
1302
|
default: a(() => [
|
1338
|
-
o(
|
1303
|
+
o(h, null, {
|
1339
1304
|
default: a(() => [
|
1340
|
-
o(
|
1305
|
+
o(P, null, {
|
1341
1306
|
default: a(() => [
|
1342
|
-
o(
|
1307
|
+
o(h, null, {
|
1343
1308
|
default: a(() => [
|
1344
|
-
|
1345
|
-
|
1346
|
-
o(
|
1309
|
+
k("div", qo, [
|
1310
|
+
V(t.$slots, "title", {}, () => [
|
1311
|
+
o(X, {
|
1347
1312
|
height: "18px",
|
1348
1313
|
tile: "",
|
1349
1314
|
type: "heading",
|
@@ -1357,22 +1322,22 @@ function Uo(t, e, n, s, r, k) {
|
|
1357
1322
|
]),
|
1358
1323
|
_: 3
|
1359
1324
|
}),
|
1360
|
-
o(
|
1325
|
+
o(P, null, {
|
1361
1326
|
default: a(() => [
|
1362
|
-
o(
|
1327
|
+
o(h, null, {
|
1363
1328
|
default: a(() => [
|
1364
|
-
|
1365
|
-
|
1366
|
-
o(
|
1329
|
+
k("div", zo, [
|
1330
|
+
V(t.$slots, "adult-count", {}, () => [
|
1331
|
+
o(X, {
|
1367
1332
|
tile: "",
|
1368
1333
|
type: "text",
|
1369
1334
|
width: "150px"
|
1370
1335
|
})
|
1371
1336
|
])
|
1372
1337
|
]),
|
1373
|
-
|
1374
|
-
|
1375
|
-
o(
|
1338
|
+
k("div", Mo, [
|
1339
|
+
V(t.$slots, "secondary-title", {}, () => [
|
1340
|
+
o(X, {
|
1376
1341
|
height: "18px",
|
1377
1342
|
tile: "",
|
1378
1343
|
type: "heading",
|
@@ -1386,17 +1351,17 @@ function Uo(t, e, n, s, r, k) {
|
|
1386
1351
|
]),
|
1387
1352
|
_: 3
|
1388
1353
|
}),
|
1389
|
-
|
1390
|
-
|
1391
|
-
(i(),
|
1392
|
-
key: `item-skeleton-${
|
1354
|
+
V(t.$slots, "hotel-rooms", {}, () => [
|
1355
|
+
k("div", No, [
|
1356
|
+
(i(), m(y, null, K(2, (b) => (i(), m(y, {
|
1357
|
+
key: `item-skeleton-${b}`
|
1393
1358
|
}, [
|
1394
|
-
|
1395
|
-
o(
|
1359
|
+
k("div", null, [
|
1360
|
+
o(P, { align: "center" }, {
|
1396
1361
|
default: a(() => [
|
1397
|
-
o(
|
1362
|
+
o(h, { cols: "auto" }, {
|
1398
1363
|
default: a(() => [
|
1399
|
-
o(
|
1364
|
+
o(u)
|
1400
1365
|
]),
|
1401
1366
|
_: 1
|
1402
1367
|
})
|
@@ -1404,37 +1369,37 @@ function Uo(t, e, n, s, r, k) {
|
|
1404
1369
|
_: 1
|
1405
1370
|
})
|
1406
1371
|
]),
|
1407
|
-
o(
|
1372
|
+
o(Z)
|
1408
1373
|
], 64))), 64))
|
1409
1374
|
])
|
1410
1375
|
]),
|
1411
|
-
o(
|
1376
|
+
o(P, null, {
|
1412
1377
|
default: a(() => [
|
1413
|
-
o(
|
1378
|
+
o(h, null, {
|
1414
1379
|
default: a(() => [
|
1415
|
-
|
1380
|
+
V(t.$slots, "breakfast-option")
|
1416
1381
|
]),
|
1417
1382
|
_: 3
|
1418
1383
|
})
|
1419
1384
|
]),
|
1420
1385
|
_: 3
|
1421
1386
|
}),
|
1422
|
-
o(
|
1387
|
+
o(P, { class: "mt-1" }, {
|
1423
1388
|
default: a(() => [
|
1424
|
-
o(
|
1389
|
+
o(h, null, {
|
1425
1390
|
default: a(() => [
|
1426
|
-
o(
|
1391
|
+
o(Z)
|
1427
1392
|
]),
|
1428
1393
|
_: 1
|
1429
1394
|
})
|
1430
1395
|
]),
|
1431
1396
|
_: 1
|
1432
1397
|
}),
|
1433
|
-
o(
|
1398
|
+
o(P, { "no-gutters": "" }, {
|
1434
1399
|
default: a(() => [
|
1435
|
-
o(
|
1400
|
+
o(h, null, {
|
1436
1401
|
default: a(() => [
|
1437
|
-
|
1402
|
+
V(t.$slots, "price-summary", {}, () => [
|
1438
1403
|
o(l)
|
1439
1404
|
])
|
1440
1405
|
]),
|
@@ -1443,23 +1408,23 @@ function Uo(t, e, n, s, r, k) {
|
|
1443
1408
|
]),
|
1444
1409
|
_: 3
|
1445
1410
|
}),
|
1446
|
-
o(
|
1411
|
+
o(P, null, {
|
1447
1412
|
default: a(() => [
|
1448
|
-
o(
|
1413
|
+
o(h, { class: "py-0" }, {
|
1449
1414
|
default: a(() => [
|
1450
|
-
|
1415
|
+
V(t.$slots, "errors")
|
1451
1416
|
]),
|
1452
1417
|
_: 3
|
1453
1418
|
})
|
1454
1419
|
]),
|
1455
1420
|
_: 3
|
1456
1421
|
}),
|
1457
|
-
o(
|
1422
|
+
o(P, null, {
|
1458
1423
|
default: a(() => [
|
1459
|
-
o(
|
1424
|
+
o(h, { class: "pb-0" }, {
|
1460
1425
|
default: a(() => [
|
1461
|
-
|
1462
|
-
o(
|
1426
|
+
V(t.$slots, "button", {}, () => [
|
1427
|
+
o(X, {
|
1463
1428
|
height: "38px",
|
1464
1429
|
tile: "",
|
1465
1430
|
type: "heading",
|
@@ -1472,12 +1437,12 @@ function Uo(t, e, n, s, r, k) {
|
|
1472
1437
|
]),
|
1473
1438
|
_: 3
|
1474
1439
|
}),
|
1475
|
-
o(
|
1440
|
+
o(P, null, {
|
1476
1441
|
default: a(() => [
|
1477
|
-
o(
|
1442
|
+
o(h, null, {
|
1478
1443
|
default: a(() => [
|
1479
|
-
|
1480
|
-
o(
|
1444
|
+
V(t.$slots, "cancellation-policies", {}, () => [
|
1445
|
+
o(X, {
|
1481
1446
|
tile: "",
|
1482
1447
|
type: "paragraph",
|
1483
1448
|
width: "100%"
|
@@ -1496,15 +1461,15 @@ function Uo(t, e, n, s, r, k) {
|
|
1496
1461
|
_: 3
|
1497
1462
|
});
|
1498
1463
|
}
|
1499
|
-
const jo = /* @__PURE__ */ tt(Do, [["render", Uo]]), Jt =
|
1464
|
+
const jo = /* @__PURE__ */ tt(Do, [["render", Uo]]), Jt = j({
|
1500
1465
|
components: {
|
1501
1466
|
BBasketSummaryLayout: jo,
|
1502
1467
|
BBreakfastOptionBadge: Ft,
|
1503
|
-
BBreakfastSwitch:
|
1504
|
-
BFormattedAmount:
|
1468
|
+
BBreakfastSwitch: Yt,
|
1469
|
+
BFormattedAmount: dt,
|
1505
1470
|
BHotelRoomsDetails: Gt,
|
1506
|
-
BPriceSummary:
|
1507
|
-
CancellationPoliciesList:
|
1471
|
+
BPriceSummary: Rt,
|
1472
|
+
CancellationPoliciesList: Xe
|
1508
1473
|
},
|
1509
1474
|
emits: ["breakfast-change", "delete-room", "submit"],
|
1510
1475
|
name: "BBasketSummary",
|
@@ -1521,69 +1486,56 @@ const jo = /* @__PURE__ */ tt(Do, [["render", Uo]]), Jt = Q({
|
|
1521
1486
|
isSuccessful: { type: Boolean }
|
1522
1487
|
},
|
1523
1488
|
setup(t, { emit: e }) {
|
1524
|
-
var h, E;
|
1525
1489
|
const n = x(
|
1526
|
-
|
1527
|
-
), s =
|
1528
|
-
() =>
|
1529
|
-
|
1530
|
-
|
1531
|
-
|
1532
|
-
|
1533
|
-
|
1534
|
-
|
1535
|
-
|
1536
|
-
), d = p(
|
1537
|
-
() => t.hotelRoomOffer.breakfastOption === Pt.Optional
|
1538
|
-
), l = p(
|
1490
|
+
t.hotelRoomOffer?.breakfastCount && t.hotelRoomOffer?.breakfastCount > 0 || !1
|
1491
|
+
), s = f(
|
1492
|
+
() => t.hotelRoomOffer?.breakfastOption
|
1493
|
+
), r = f(
|
1494
|
+
() => uo(t.adultCount, t.children)
|
1495
|
+
), p = f(
|
1496
|
+
() => t.hotelRoomOffer.breakfastOption === wt.Included
|
1497
|
+
), u = f(
|
1498
|
+
() => t.hotelRoomOffer.breakfastOption === wt.Optional
|
1499
|
+
), l = f(
|
1539
1500
|
() => 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
|
-
}
|
1501
|
+
), b = f(() => !t.hotelRoomOffer || !t.checkOutDate || !t.checkInDate ? 0 : pt(t.checkOutDate).diff(pt(t.checkInDate), "day")), c = f(
|
1502
|
+
() => Pt(t.hotelRoomOffer?.hotelRooms, "count")
|
1503
|
+
), I = f(
|
1504
|
+
() => to(
|
1505
|
+
he({
|
1506
|
+
bookingDatetime: pt().format(),
|
1507
|
+
cancellationPolicies: t.hotelRoomOffer?.cancellationPolicies,
|
1508
|
+
checkInDate: t.checkInDate,
|
1509
|
+
timezone: t.hotelTimezone
|
1510
|
+
}),
|
1511
|
+
eo.Camel
|
1512
|
+
)
|
1513
|
+
), T = f(
|
1514
|
+
() => Pt(
|
1515
|
+
t.hotelRoomOffer?.hotelRooms,
|
1516
|
+
(_) => _.count * _.occupancy
|
1517
|
+
)
|
1566
1518
|
);
|
1567
|
-
|
1568
|
-
e("breakfast-change",
|
1519
|
+
$(n, (_) => {
|
1520
|
+
e("breakfast-change", _);
|
1569
1521
|
});
|
1570
|
-
const { t:
|
1522
|
+
const { t: v } = F();
|
1571
1523
|
return {
|
1572
1524
|
addBreakfast: n,
|
1573
1525
|
breakfastOption: s,
|
1574
1526
|
guestCount: r,
|
1575
|
-
isBreakfastIncluded:
|
1576
|
-
isBreakfastOptionnal:
|
1527
|
+
isBreakfastIncluded: p,
|
1528
|
+
isBreakfastOptionnal: u,
|
1577
1529
|
isTaxIncluded: l,
|
1578
|
-
nightCount:
|
1530
|
+
nightCount: b,
|
1579
1531
|
roomCount: c,
|
1580
|
-
sanitizedCancellationPolicies:
|
1581
|
-
t:
|
1582
|
-
totalOccupancy:
|
1532
|
+
sanitizedCancellationPolicies: I,
|
1533
|
+
t: v,
|
1534
|
+
totalOccupancy: T
|
1583
1535
|
};
|
1584
1536
|
}
|
1585
1537
|
});
|
1586
|
-
function
|
1538
|
+
function Dt(t) {
|
1587
1539
|
const e = t;
|
1588
1540
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
1589
1541
|
locale: "",
|
@@ -1717,14 +1669,14 @@ function qt(t) {
|
|
1717
1669
|
}
|
1718
1670
|
});
|
1719
1671
|
}
|
1720
|
-
const Fo = { key: 0 }, Go = ["innerHTML"], Wo = { class: "font-weight-bold pb-2" },
|
1672
|
+
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
1673
|
key: 0,
|
1722
1674
|
class: "text-caption pl-2"
|
1723
1675
|
}, Jo = { class: "text-caption" }, Qo = { class: "text-caption font-weight-bold text-center my-0 text-red rounded" }, Xo = { key: 0 }, ta = { key: 1 };
|
1724
|
-
function ea(t, e, n, s, r,
|
1725
|
-
const
|
1726
|
-
return i(),
|
1727
|
-
t.isLoading ? (i(),
|
1676
|
+
function ea(t, e, n, s, r, p) {
|
1677
|
+
const u = L("BBasketSummaryLayout"), l = L("BHotelRoomsDetails"), b = L("BBreakfastOptionBadge"), c = L("BBreakfastSwitch"), I = L("BFormattedAmount"), T = L("BPriceSummary"), v = L("CancellationPoliciesList");
|
1678
|
+
return i(), m("div", null, [
|
1679
|
+
t.isLoading ? (i(), R(Ut, {
|
1728
1680
|
key: 0,
|
1729
1681
|
absolute: "",
|
1730
1682
|
class: "mx-n3",
|
@@ -1732,57 +1684,57 @@ function ea(t, e, n, s, r, k) {
|
|
1732
1684
|
opacity: "0.75"
|
1733
1685
|
}, {
|
1734
1686
|
default: a(() => [
|
1735
|
-
o(
|
1687
|
+
o(Bt, {
|
1736
1688
|
color: "primary",
|
1737
1689
|
indeterminate: "",
|
1738
1690
|
size: "64"
|
1739
1691
|
})
|
1740
1692
|
]),
|
1741
1693
|
_: 1
|
1742
|
-
})) :
|
1743
|
-
t.hotelRoomOffer ? (i(),
|
1694
|
+
})) : C("", !0),
|
1695
|
+
t.hotelRoomOffer ? (i(), R(u, { key: "filled-up" }, {
|
1744
1696
|
title: a(() => [
|
1745
|
-
|
1697
|
+
k("span", null, g(t.t("BBasketSummary.title")), 1)
|
1746
1698
|
]),
|
1747
1699
|
"adult-count": a(() => [
|
1748
|
-
|
1700
|
+
k("span", {
|
1749
1701
|
innerHTML: t.t("BBasketSummary.totalOccupancy", { n: t.totalOccupancy })
|
1750
1702
|
}, null, 8, Go)
|
1751
1703
|
]),
|
1752
1704
|
"secondary-title": a(() => [
|
1753
|
-
|
1705
|
+
k("span", Wo, g(t.t("BBasketSummary.yourSelection")), 1)
|
1754
1706
|
]),
|
1755
1707
|
"hotel-rooms": a(() => [
|
1756
|
-
(i(!0),
|
1757
|
-
key: `room-${
|
1708
|
+
(i(!0), m(y, null, K(t.hotelRoomOffer.hotelRooms, (_, z) => (i(), m("div", {
|
1709
|
+
key: `room-${z}`
|
1758
1710
|
}, [
|
1759
|
-
o(
|
1711
|
+
o(P, null, {
|
1760
1712
|
default: a(() => [
|
1761
|
-
o(
|
1713
|
+
o(h, {
|
1762
1714
|
class: "d-flex justify-space-between",
|
1763
1715
|
cols: "12"
|
1764
1716
|
}, {
|
1765
1717
|
default: a(() => [
|
1766
1718
|
o(l, {
|
1767
|
-
class:
|
1768
|
-
"mt-n4":
|
1719
|
+
class: gt({
|
1720
|
+
"mt-n4": z >= 1
|
1769
1721
|
}),
|
1770
|
-
"hotel-rooms": [
|
1722
|
+
"hotel-rooms": [_]
|
1771
1723
|
}, null, 8, ["class", "hotel-rooms"]),
|
1772
|
-
o(
|
1773
|
-
class:
|
1774
|
-
"mt-n4":
|
1724
|
+
o(st, {
|
1725
|
+
class: gt({
|
1726
|
+
"mt-n4": z >= 1
|
1775
1727
|
}),
|
1776
1728
|
color: "red",
|
1777
1729
|
icon: "",
|
1778
1730
|
variant: "text",
|
1779
1731
|
size: "small",
|
1780
|
-
onClick: (
|
1732
|
+
onClick: (J) => t.$emit("delete-room", _)
|
1781
1733
|
}, {
|
1782
1734
|
default: a(() => [
|
1783
|
-
o(
|
1735
|
+
o(at, null, {
|
1784
1736
|
default: a(() => e[7] || (e[7] = [
|
1785
|
-
|
1737
|
+
w("fas fa-times")
|
1786
1738
|
])),
|
1787
1739
|
_: 1,
|
1788
1740
|
__: [7]
|
@@ -1799,12 +1751,12 @@ function ea(t, e, n, s, r, k) {
|
|
1799
1751
|
]))), 128))
|
1800
1752
|
]),
|
1801
1753
|
"breakfast-option": a(() => [
|
1802
|
-
t.breakfastOption ? (i(),
|
1803
|
-
o(
|
1754
|
+
t.breakfastOption ? (i(), m(y, { key: 0 }, [
|
1755
|
+
o(P, { "no-gutters": "" }, {
|
1804
1756
|
default: a(() => [
|
1805
|
-
o(
|
1757
|
+
o(h, null, {
|
1806
1758
|
default: a(() => [
|
1807
|
-
o(
|
1759
|
+
o(b, {
|
1808
1760
|
"breakfast-count": t.hotelRoomOffer.breakfastCount,
|
1809
1761
|
"breakfast-option": t.hotelRoomOffer.breakfastCount && t.hotelRoomOffer.breakfastCount > 0 ? "INCLUDED" : t.breakfastOption,
|
1810
1762
|
class: "mr-n1"
|
@@ -1815,51 +1767,52 @@ function ea(t, e, n, s, r, k) {
|
|
1815
1767
|
]),
|
1816
1768
|
_: 1
|
1817
1769
|
}),
|
1818
|
-
t.isBreakfastOptionnal ? (i(),
|
1770
|
+
t.isBreakfastOptionnal ? (i(), R(P, {
|
1819
1771
|
key: 0,
|
1820
1772
|
class: "mt-2",
|
1821
1773
|
"no-gutters": ""
|
1822
1774
|
}, {
|
1823
1775
|
default: a(() => [
|
1824
|
-
o(
|
1776
|
+
o(h, { class: "mb-2 mt-xl-0" }, {
|
1825
1777
|
default: a(() => [
|
1826
1778
|
o(c, {
|
1827
1779
|
modelValue: t.addBreakfast,
|
1828
|
-
"onUpdate:modelValue": e[0] || (e[0] = (
|
1780
|
+
"onUpdate:modelValue": e[0] || (e[0] = (_) => t.addBreakfast = _),
|
1781
|
+
currency: t.currency,
|
1829
1782
|
loading: t.isLoading && "success",
|
1830
1783
|
price: t.hotelRoomOffer.breakfastUnitPrice
|
1831
|
-
}, null, 8, ["modelValue", "loading", "price"])
|
1784
|
+
}, null, 8, ["modelValue", "currency", "loading", "price"])
|
1832
1785
|
]),
|
1833
1786
|
_: 1
|
1834
1787
|
})
|
1835
1788
|
]),
|
1836
1789
|
_: 1
|
1837
|
-
})) :
|
1838
|
-
], 64)) :
|
1790
|
+
})) : C("", !0)
|
1791
|
+
], 64)) : C("", !0)
|
1839
1792
|
]),
|
1840
1793
|
"price-summary": a(() => [
|
1841
|
-
|
1842
|
-
o(
|
1794
|
+
k("p", xo, g(t.t("BBasketSummary.priceDetails")), 1),
|
1795
|
+
o(P, {
|
1843
1796
|
"no-gutters": "",
|
1844
1797
|
class: "mt-1"
|
1845
1798
|
}, {
|
1846
1799
|
default: a(() => [
|
1847
|
-
o(
|
1800
|
+
o(h, null, {
|
1848
1801
|
default: a(() => [
|
1849
|
-
|
1802
|
+
k("p", Yo, g(t.t("BBasketSummary.roomCount", {
|
1850
1803
|
n: t.roomCount,
|
1851
1804
|
value: t.roomCount
|
1852
|
-
})) + " x " +
|
1805
|
+
})) + " x " + g(t.t("BBasketSummary.nightCount", {
|
1853
1806
|
n: t.nightCount,
|
1854
1807
|
value: t.nightCount
|
1855
1808
|
})), 1)
|
1856
1809
|
]),
|
1857
1810
|
_: 1
|
1858
1811
|
}),
|
1859
|
-
o(
|
1812
|
+
o(h, { class: "text-right" }, {
|
1860
1813
|
default: a(() => [
|
1861
|
-
|
1862
|
-
o(
|
1814
|
+
k("span", Ko, [
|
1815
|
+
o(I, {
|
1863
1816
|
amount: t.hotelRoomOffer.price
|
1864
1817
|
}, null, 8, ["amount"])
|
1865
1818
|
])
|
@@ -1869,40 +1822,40 @@ function ea(t, e, n, s, r, k) {
|
|
1869
1822
|
]),
|
1870
1823
|
_: 1
|
1871
1824
|
}),
|
1872
|
-
o(
|
1825
|
+
o(P, {
|
1873
1826
|
"no-gutters": "",
|
1874
1827
|
class: "mt-n2"
|
1875
1828
|
}, {
|
1876
1829
|
default: a(() => [
|
1877
|
-
o(
|
1830
|
+
o(h, null, {
|
1878
1831
|
default: a(() => [
|
1879
|
-
t.hotelRoomOffer.breakfastCount ? (i(),
|
1832
|
+
t.hotelRoomOffer.breakfastCount ? (i(), m("small", Zo, g(t.t("BBasketSummary.breakfastIncluded", {
|
1880
1833
|
n: t.hotelRoomOffer.breakfastCount,
|
1881
1834
|
value: t.hotelRoomOffer.breakfastCount
|
1882
|
-
})), 1)) :
|
1835
|
+
})), 1)) : C("", !0)
|
1883
1836
|
]),
|
1884
1837
|
_: 1
|
1885
1838
|
})
|
1886
1839
|
]),
|
1887
1840
|
_: 1
|
1888
1841
|
}),
|
1889
|
-
t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price > 0 ? (i(),
|
1842
|
+
t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price > 0 ? (i(), R(P, {
|
1890
1843
|
key: 0,
|
1891
1844
|
"no-gutters": "",
|
1892
1845
|
class: "mt-2 color-black"
|
1893
1846
|
}, {
|
1894
1847
|
default: a(() => [
|
1895
|
-
o(
|
1848
|
+
o(h, null, {
|
1896
1849
|
default: a(() => e[8] || (e[8] = [
|
1897
|
-
|
1850
|
+
k("small", { class: "text-caption text-left font-weight-bold" }, " Taxes & fees ", -1)
|
1898
1851
|
])),
|
1899
1852
|
_: 1,
|
1900
1853
|
__: [8]
|
1901
1854
|
}),
|
1902
|
-
o(
|
1855
|
+
o(h, { class: "text-right" }, {
|
1903
1856
|
default: a(() => [
|
1904
|
-
|
1905
|
-
o(
|
1857
|
+
k("span", Jo, [
|
1858
|
+
o(I, {
|
1906
1859
|
amount: t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price
|
1907
1860
|
}, null, 8, ["amount"])
|
1908
1861
|
])
|
@@ -1911,19 +1864,19 @@ function ea(t, e, n, s, r, k) {
|
|
1911
1864
|
})
|
1912
1865
|
]),
|
1913
1866
|
_: 1
|
1914
|
-
})) :
|
1915
|
-
o(
|
1867
|
+
})) : C("", !0),
|
1868
|
+
o(P, { class: "mt-0" }, {
|
1916
1869
|
default: a(() => [
|
1917
|
-
o(
|
1870
|
+
o(h, null, {
|
1918
1871
|
default: a(() => e[9] || (e[9] = [
|
1919
|
-
|
1872
|
+
k("b", null, " Total ", -1)
|
1920
1873
|
])),
|
1921
1874
|
_: 1,
|
1922
1875
|
__: [9]
|
1923
1876
|
}),
|
1924
|
-
o(
|
1877
|
+
o(h, null, {
|
1925
1878
|
default: a(() => [
|
1926
|
-
o(
|
1879
|
+
o(T, {
|
1927
1880
|
"is-tax-included": t.isTaxIncluded,
|
1928
1881
|
"night-count": 0,
|
1929
1882
|
price: t.hotelRoomOffer.price,
|
@@ -1938,7 +1891,7 @@ function ea(t, e, n, s, r, k) {
|
|
1938
1891
|
})
|
1939
1892
|
]),
|
1940
1893
|
errors: a(() => [
|
1941
|
-
t.totalOccupancy && t.totalOccupancy < t.guestCount ? (i(),
|
1894
|
+
t.totalOccupancy && t.totalOccupancy < t.guestCount ? (i(), R(Ye, {
|
1942
1895
|
key: 0,
|
1943
1896
|
class: "mb-0",
|
1944
1897
|
color: "red",
|
@@ -1946,108 +1899,107 @@ function ea(t, e, n, s, r, k) {
|
|
1946
1899
|
variant: "outlined"
|
1947
1900
|
}, {
|
1948
1901
|
default: a(() => [
|
1949
|
-
|
1902
|
+
k("p", Qo, g(t.t("BBasketSummary.occupancyWarning", {
|
1950
1903
|
guestCount: t.guestCount
|
1951
1904
|
})), 1)
|
1952
1905
|
]),
|
1953
1906
|
_: 1
|
1954
|
-
})) :
|
1907
|
+
})) : C("", !0)
|
1955
1908
|
]),
|
1956
1909
|
button: a(() => [
|
1957
|
-
o(
|
1910
|
+
o(st, {
|
1958
1911
|
block: "",
|
1959
1912
|
class: "text-none font-weight-bold",
|
1960
1913
|
color: t.isSuccessful ? "success" : "primary",
|
1961
1914
|
disabled: !t.hotelRoomOffer,
|
1962
1915
|
loading: t.isSubmitting,
|
1963
|
-
onClick: e[1] || (e[1] = (
|
1916
|
+
onClick: e[1] || (e[1] = (_) => t.$emit("submit"))
|
1964
1917
|
}, {
|
1965
1918
|
default: a(() => [
|
1966
|
-
t.isSuccessful ?
|
1967
|
-
|
1919
|
+
t.isSuccessful ? C("", !0) : (i(), m("span", Xo, g(t.t("BBasketSummary.book")), 1)),
|
1920
|
+
vt(o(at, { class: "position-absolute" }, {
|
1968
1921
|
default: a(() => e[10] || (e[10] = [
|
1969
|
-
|
1922
|
+
w(" fas fa-check ")
|
1970
1923
|
])),
|
1971
1924
|
_: 1,
|
1972
1925
|
__: [10]
|
1973
1926
|
}, 512), [
|
1974
|
-
[
|
1927
|
+
[ht, t.isSuccessful]
|
1975
1928
|
])
|
1976
1929
|
]),
|
1977
1930
|
_: 1
|
1978
1931
|
}, 8, ["color", "disabled", "loading"])
|
1979
1932
|
]),
|
1980
1933
|
"cancellation-policies": a(() => [
|
1981
|
-
t.hotelRoomOffer && t.hotelRoomOffer.cancellationPolicies.length ? (i(),
|
1934
|
+
t.hotelRoomOffer && t.hotelRoomOffer.cancellationPolicies.length ? (i(), R(v, {
|
1982
1935
|
key: 0,
|
1983
1936
|
"cancellation-policies": t.sanitizedCancellationPolicies,
|
1984
1937
|
"check-in-date": t.checkInDate,
|
1985
1938
|
class: "text-caption",
|
1986
1939
|
timezone: t.hotelTimezone
|
1987
|
-
}, null, 8, ["cancellation-policies", "check-in-date", "timezone"])) : (i(),
|
1940
|
+
}, null, 8, ["cancellation-policies", "check-in-date", "timezone"])) : (i(), m("span", ta))
|
1988
1941
|
]),
|
1989
1942
|
_: 1
|
1990
|
-
})) : (i(),
|
1943
|
+
})) : (i(), R(u, { key: "empty" }, {
|
1991
1944
|
title: a(() => [
|
1992
|
-
|
1945
|
+
k("span", null, g(t.t("BBasketSummary.title")), 1)
|
1993
1946
|
]),
|
1994
1947
|
"adult-count": a(() => [
|
1995
|
-
|
1948
|
+
w(g(t.t("BBasketSummary.noSelection")), 1)
|
1996
1949
|
]),
|
1997
1950
|
"secondary-title": a(() => e[2] || (e[2] = [
|
1998
|
-
|
1951
|
+
k("span", null, null, -1)
|
1999
1952
|
])),
|
2000
1953
|
"hotel-rooms": a(() => e[3] || (e[3] = [
|
2001
|
-
|
1954
|
+
k("span", null, null, -1)
|
2002
1955
|
])),
|
2003
1956
|
"price-summary": a(() => e[4] || (e[4] = [
|
2004
|
-
|
1957
|
+
k("span", null, null, -1)
|
2005
1958
|
])),
|
2006
1959
|
button: a(() => [
|
2007
|
-
o(
|
1960
|
+
o(st, {
|
2008
1961
|
block: "",
|
2009
1962
|
class: "text-none font-weight-bold",
|
2010
1963
|
disabled: ""
|
2011
1964
|
}, {
|
2012
1965
|
default: a(() => [
|
2013
|
-
t.isSuccessful ?
|
2014
|
-
|
1966
|
+
t.isSuccessful ? C("", !0) : (i(), m("span", Fo, g(t.t("BBasketSummary.book")), 1)),
|
1967
|
+
vt(o(at, { class: "position-absolute" }, {
|
2015
1968
|
default: a(() => e[5] || (e[5] = [
|
2016
|
-
|
1969
|
+
w(" fas fa-check ")
|
2017
1970
|
])),
|
2018
1971
|
_: 1,
|
2019
1972
|
__: [5]
|
2020
1973
|
}, 512), [
|
2021
|
-
[
|
1974
|
+
[ht, t.isSuccessful]
|
2022
1975
|
])
|
2023
1976
|
]),
|
2024
1977
|
_: 1
|
2025
1978
|
})
|
2026
1979
|
]),
|
2027
1980
|
"cancellation-policies": a(() => e[6] || (e[6] = [
|
2028
|
-
|
1981
|
+
k("span", null, null, -1)
|
2029
1982
|
])),
|
2030
1983
|
_: 1
|
2031
1984
|
}))
|
2032
1985
|
]);
|
2033
1986
|
}
|
2034
|
-
typeof
|
1987
|
+
typeof Dt == "function" && Dt(Jt);
|
2035
1988
|
const oa = /* @__PURE__ */ tt(Jt, [["render", ea]]), aa = {
|
2036
1989
|
hotelId: {
|
2037
1990
|
required: !0,
|
2038
1991
|
type: String
|
2039
1992
|
}
|
2040
|
-
}, sa =
|
1993
|
+
}, sa = j({
|
2041
1994
|
components: {
|
2042
1995
|
BBasketSummary: oa,
|
2043
1996
|
HotelRoomOfferItem: Zt,
|
2044
|
-
HotelRoomOfferItemLayout:
|
1997
|
+
HotelRoomOfferItemLayout: St
|
2045
1998
|
},
|
2046
1999
|
computed: {
|
2047
|
-
...
|
2000
|
+
...ye(ft, mt),
|
2048
2001
|
adultCount() {
|
2049
|
-
|
2050
|
-
return (t = this.hotelRoomOfferRequest) == null ? void 0 : t.adultCount;
|
2002
|
+
return this.hotelRoomOfferRequest?.adultCount;
|
2051
2003
|
},
|
2052
2004
|
currency() {
|
2053
2005
|
return window.RevolugoElements.config.currency;
|
@@ -2059,13 +2011,12 @@ const oa = /* @__PURE__ */ tt(Jt, [["render", ea]]), aa = {
|
|
2059
2011
|
);
|
2060
2012
|
},
|
2061
2013
|
hotelRoomOffers() {
|
2062
|
-
|
2063
|
-
return ((e = (t = this.$store.get(
|
2014
|
+
return this.$store.get(
|
2064
2015
|
"hotelRoomOffers/hotelRoomOffers",
|
2065
2016
|
this.hotelId
|
2066
|
-
)
|
2067
|
-
(
|
2068
|
-
)
|
2017
|
+
)?.offers?.filter(
|
2018
|
+
(t) => t.type === yt.HotelRoom
|
2019
|
+
) || null;
|
2069
2020
|
},
|
2070
2021
|
hotelTimezone() {
|
2071
2022
|
return this.$store.get("hotelRoomOffers/hotelTimezone", this.hotelId);
|
@@ -2081,22 +2032,21 @@ const oa = /* @__PURE__ */ tt(Jt, [["render", ea]]), aa = {
|
|
2081
2032
|
},
|
2082
2033
|
methods: {
|
2083
2034
|
async createHotelRoomOfferPackage() {
|
2084
|
-
var e;
|
2085
2035
|
this.isLoading = !0;
|
2086
|
-
const t = this.basketContent.map((
|
2087
|
-
count:
|
2088
|
-
hotelRoomOfferId:
|
2089
|
-
})).filter((
|
2036
|
+
const t = this.basketContent.map((e) => ({
|
2037
|
+
count: e.count,
|
2038
|
+
hotelRoomOfferId: e.hotelRoomOfferId
|
2039
|
+
})).filter((e) => e.count > 0);
|
2090
2040
|
try {
|
2091
|
-
this.newCreatedPackage = await
|
2041
|
+
this.newCreatedPackage = await this.bookingApiClient?.hotelRoomOffers.create({
|
2092
2042
|
hotelRoomOffersCreateApi: {
|
2093
2043
|
addBreakfast: this.addBreakfast,
|
2094
2044
|
currency: this.currency,
|
2095
2045
|
hotelRoomOffers: t
|
2096
2046
|
}
|
2097
|
-
})
|
2098
|
-
} catch (
|
2099
|
-
throw this.isLoading = !1,
|
2047
|
+
});
|
2048
|
+
} catch (e) {
|
2049
|
+
throw this.isLoading = !1, e;
|
2100
2050
|
}
|
2101
2051
|
this.isLoading = !1;
|
2102
2052
|
},
|
@@ -2123,19 +2073,18 @@ const oa = /* @__PURE__ */ tt(Jt, [["render", ea]]), aa = {
|
|
2123
2073
|
this.basketContent[e].count = 0;
|
2124
2074
|
},
|
2125
2075
|
async onSubmit() {
|
2126
|
-
|
2127
|
-
(t = this.newCreatedPackage) != null && t.hotelRoomOffer.id && (this.isLoading = !0, await this.createBookingPolicy({
|
2076
|
+
this.newCreatedPackage?.hotelRoomOffer.id && (this.isLoading = !0, await this.createBookingPolicy({
|
2128
2077
|
addBreakfast: this.addBreakfast,
|
2129
2078
|
hotelId: this.hotelId,
|
2130
2079
|
hotelRoomOfferId: this.newCreatedPackage.hotelRoomOffer.id
|
2131
2080
|
}), await this.createHotelRoomOfferPackage(), this.isLoading = !1);
|
2132
2081
|
}
|
2133
2082
|
},
|
2134
|
-
mixins: [
|
2083
|
+
mixins: [ge, we()],
|
2135
2084
|
name: "HotelRoomOfferBasket",
|
2136
2085
|
props: aa,
|
2137
2086
|
setup() {
|
2138
|
-
const { t } =
|
2087
|
+
const { t } = F();
|
2139
2088
|
return {
|
2140
2089
|
t
|
2141
2090
|
};
|
@@ -2166,37 +2115,37 @@ const oa = /* @__PURE__ */ tt(Jt, [["render", ea]]), aa = {
|
|
2166
2115
|
}
|
2167
2116
|
}
|
2168
2117
|
});
|
2169
|
-
function na(t, e, n, s, r,
|
2170
|
-
const
|
2171
|
-
return i(),
|
2118
|
+
function na(t, e, n, s, r, p) {
|
2119
|
+
const u = L("HotelRoomOfferItem"), l = L("BBasketSummary");
|
2120
|
+
return i(), R(P, { "no-gutters": "" }, {
|
2172
2121
|
default: a(() => [
|
2173
|
-
o(
|
2122
|
+
o(h, {
|
2174
2123
|
cols: "12",
|
2175
2124
|
md: "8"
|
2176
2125
|
}, {
|
2177
2126
|
default: a(() => [
|
2178
|
-
t.hotelRoomOffers.length && t.basketContent.length ? (i(!0),
|
2179
|
-
c > 0 ? (i(),
|
2180
|
-
o(
|
2127
|
+
t.hotelRoomOffers.length && t.basketContent.length ? (i(!0), m(y, { key: 0 }, K(t.hotelRoomOffers, (b, c) => (i(), m(y, null, [
|
2128
|
+
c > 0 ? (i(), R(Z, { key: 0 })) : C("", !0),
|
2129
|
+
o(u, M({
|
2181
2130
|
modelValue: t.basketContent[c].count,
|
2182
|
-
"onUpdate:modelValue": (
|
2183
|
-
}, { ref_for: !0 },
|
2184
|
-
], 64))), 256)) :
|
2131
|
+
"onUpdate:modelValue": (I) => t.basketContent[c].count = I
|
2132
|
+
}, { ref_for: !0 }, b), null, 16, ["modelValue", "onUpdate:modelValue"])
|
2133
|
+
], 64))), 256)) : C("", !0)
|
2185
2134
|
]),
|
2186
2135
|
_: 1
|
2187
2136
|
}),
|
2188
|
-
o(
|
2137
|
+
o(Z, {
|
2189
2138
|
class: "d-none d-md-block",
|
2190
2139
|
vertical: ""
|
2191
2140
|
}),
|
2192
|
-
o(
|
2141
|
+
o(h, {
|
2193
2142
|
class: "mt-3",
|
2194
2143
|
cols: "12",
|
2195
2144
|
md: "4"
|
2196
2145
|
}, {
|
2197
2146
|
default: a(() => [
|
2198
|
-
o(
|
2199
|
-
o(l,
|
2147
|
+
o(Z, { class: "d-block d-md-none my-2" }),
|
2148
|
+
o(l, M(t.newCreatedPackage, {
|
2200
2149
|
"adult-count": t.adultCount,
|
2201
2150
|
"hotel-timezone": t.hotelTimezone,
|
2202
2151
|
"is-loading": t.isLoading,
|
@@ -2213,32 +2162,71 @@ function na(t, e, n, s, r, k) {
|
|
2213
2162
|
_: 1
|
2214
2163
|
});
|
2215
2164
|
}
|
2216
|
-
const ia = /* @__PURE__ */ tt(sa, [["render", na], ["__scopeId", "data-v-ee0e3c98"]]), la = {
|
2217
|
-
|
2218
|
-
|
2219
|
-
|
2220
|
-
|
2221
|
-
|
2222
|
-
|
2165
|
+
const ia = /* @__PURE__ */ tt(sa, [["render", na], ["__scopeId", "data-v-ee0e3c98"]]), la = j({
|
2166
|
+
name: "BErrorOverlay",
|
2167
|
+
props: {
|
2168
|
+
marginTop: {
|
2169
|
+
default: 64,
|
2170
|
+
type: Number
|
2171
|
+
},
|
2172
|
+
minHeight: {
|
2173
|
+
type: String
|
2174
|
+
},
|
2175
|
+
zIndex: {
|
2176
|
+
type: Number
|
2177
|
+
}
|
2223
2178
|
},
|
2224
|
-
|
2225
|
-
|
2179
|
+
setup() {
|
2180
|
+
const { t } = F();
|
2181
|
+
return {
|
2182
|
+
t
|
2183
|
+
};
|
2226
2184
|
}
|
2227
|
-
},
|
2185
|
+
}), ra = j({
|
2228
2186
|
components: {
|
2229
|
-
|
2230
|
-
|
2187
|
+
BPriceSummarySkeleton: Ct
|
2188
|
+
},
|
2189
|
+
mixins: [Mt],
|
2190
|
+
name: "HotelRoomOfferLayout",
|
2191
|
+
props: {
|
2192
|
+
boilerplate: { type: Boolean }
|
2231
2193
|
},
|
2232
|
-
name: "HotelRoomOfferListEmpty",
|
2233
|
-
props: la,
|
2234
2194
|
setup() {
|
2235
|
-
const { t } =
|
2195
|
+
const { t } = F();
|
2236
2196
|
return {
|
2237
2197
|
t
|
2238
2198
|
};
|
2239
2199
|
}
|
2200
|
+
}), Qt = /* @__PURE__ */ j({
|
2201
|
+
__name: "HotelRoomOfferListEmpty",
|
2202
|
+
props: {
|
2203
|
+
boilerplateSkeleton: { type: Boolean },
|
2204
|
+
itemCount: { default: 3 },
|
2205
|
+
type: {}
|
2206
|
+
},
|
2207
|
+
setup(t) {
|
2208
|
+
const { t: e } = F();
|
2209
|
+
return (n, s) => (i(), m("div", null, [
|
2210
|
+
(i(!0), m(y, null, K(n.itemCount, (r) => (i(), m(y, { key: r }, [
|
2211
|
+
r > 1 ? (i(), R(Z, { key: 0 })) : C("", !0),
|
2212
|
+
o(S(ra), {
|
2213
|
+
boilerplate: n.boilerplateSkeleton,
|
2214
|
+
class: gt({ "mt-0": r === 1, "mb-0": r === 3 })
|
2215
|
+
}, null, 8, ["boilerplate", "class"])
|
2216
|
+
], 64))), 128)),
|
2217
|
+
n.type ? (i(), R(S(la), { key: 0 }, {
|
2218
|
+
title: a(() => [
|
2219
|
+
w(g(S(e)(`HotelRoomOfferListEmpty.${n.type}.title`)), 1)
|
2220
|
+
]),
|
2221
|
+
description: a(() => [
|
2222
|
+
w(g(S(e)(`HotelRoomOfferListEmpty.${n.type}.description`)), 1)
|
2223
|
+
]),
|
2224
|
+
_: 1
|
2225
|
+
})) : C("", !0)
|
2226
|
+
]));
|
2227
|
+
}
|
2240
2228
|
});
|
2241
|
-
function
|
2229
|
+
function qt(t) {
|
2242
2230
|
const e = t;
|
2243
2231
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
2244
2232
|
locale: "",
|
@@ -2358,32 +2346,11 @@ function zt(t) {
|
|
2358
2346
|
}
|
2359
2347
|
});
|
2360
2348
|
}
|
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 = {
|
2349
|
+
typeof qt == "function" && qt(Qt);
|
2350
|
+
const Xt = {
|
2384
2351
|
OnlyMatchingRoomCount: !1
|
2385
|
-
},
|
2386
|
-
...
|
2352
|
+
}, ua = {
|
2353
|
+
...Pe,
|
2387
2354
|
features: {
|
2388
2355
|
default: () => Xt,
|
2389
2356
|
type: [Object, String]
|
@@ -2392,67 +2359,50 @@ const ua = /* @__PURE__ */ tt(Qt, [["render", ra]]), Xt = {
|
|
2392
2359
|
default: () => 0,
|
2393
2360
|
type: Number
|
2394
2361
|
}
|
2395
|
-
}, te =
|
2362
|
+
}, te = j({
|
2396
2363
|
components: {
|
2397
|
-
BErrorOverlay:
|
2364
|
+
BErrorOverlay: jt,
|
2398
2365
|
HotelRoomOfferBasket: ia,
|
2399
2366
|
HotelRoomOfferItem: Zt,
|
2400
|
-
HotelRoomOfferItemLayout:
|
2401
|
-
HotelRoomOfferListEmpty:
|
2367
|
+
HotelRoomOfferItemLayout: St,
|
2368
|
+
HotelRoomOfferListEmpty: Qt
|
2402
2369
|
},
|
2403
2370
|
name: "HotelRoomOfferList",
|
2404
|
-
props:
|
2371
|
+
props: ua,
|
2405
2372
|
// eslint-disable-next-line max-lines-per-function
|
2406
2373
|
setup(t) {
|
2407
|
-
const { t: e } =
|
2374
|
+
const { t: e } = F(), n = mt(), s = ft(), r = x(null), p = x(["packageHotelRoomOffers", "hotelRoomHotelRoomOffers"]), u = bo({
|
2408
2375
|
fallbackValue: Xt,
|
2409
|
-
prop:
|
2410
|
-
}), l = (
|
2376
|
+
prop: f(() => t.features)
|
2377
|
+
}), l = (B) => B.hotelRooms.reduce((A, W) => A + W.count, 0), b = f(() => s.hotelRoomOfferRequest(t.hotelId)), c = f(
|
2411
2378
|
() => 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: _
|
2379
|
+
), I = f(
|
2380
|
+
() => !!(b.value?.hasError || c.value?.hasError)
|
2381
|
+
), T = f(
|
2382
|
+
() => c.value?.offers?.filter(
|
2383
|
+
(B) => B.type === yt.HotelRoom
|
2384
|
+
) || []
|
2385
|
+
), v = f(() => {
|
2386
|
+
const B = c.value?.offers?.filter(
|
2387
|
+
(A) => A.type === yt.Package
|
2388
|
+
).filter((A) => u.value?.OnlyMatchingRoomCount ? l(A) === b.value?.roomCount : !0);
|
2389
|
+
return B?.slice(0, t.limit || B.length) || [];
|
2390
|
+
}), _ = f(
|
2391
|
+
() => !!c.value?.isPolling && !!v.value?.length
|
2392
|
+
), z = f(
|
2393
|
+
() => !b.value?.id || (!!b.value?.isFetching || !!c.value?.isPolling) && !v.value?.length
|
2394
|
+
), J = async ({
|
2395
|
+
addBreakfast: B,
|
2396
|
+
hotelId: A,
|
2397
|
+
id: W
|
2447
2398
|
}) => {
|
2448
2399
|
await n.reifyHotelRoomOffer({
|
2449
|
-
addBreakfast:
|
2450
|
-
hotelId:
|
2451
|
-
id:
|
2400
|
+
addBreakfast: B,
|
2401
|
+
hotelId: A,
|
2402
|
+
id: W
|
2452
2403
|
});
|
2453
|
-
},
|
2454
|
-
|
2455
|
-
if (!((y = m.value) != null && y.id)) {
|
2404
|
+
}, D = async (B) => {
|
2405
|
+
if (!b.value?.id) {
|
2456
2406
|
n.resetHotelRoomOffers({
|
2457
2407
|
hotelId: t.hotelId
|
2458
2408
|
});
|
@@ -2460,32 +2410,29 @@ const ua = /* @__PURE__ */ tt(Qt, [["render", ra]]), Xt = {
|
|
2460
2410
|
}
|
2461
2411
|
await n.retrieveHotelRoomOffers({
|
2462
2412
|
hotelId: t.hotelId,
|
2463
|
-
hotelRoomOfferRequestId:
|
2464
|
-
inProgressHotelRoomOfferIds:
|
2413
|
+
hotelRoomOfferRequestId: b.value.id,
|
2414
|
+
inProgressHotelRoomOfferIds: B
|
2465
2415
|
});
|
2466
2416
|
};
|
2467
|
-
async function
|
2468
|
-
await
|
2417
|
+
async function E(B) {
|
2418
|
+
await D([B]);
|
2469
2419
|
}
|
2470
|
-
|
2471
|
-
() =>
|
2472
|
-
var b;
|
2473
|
-
return (b = m.value) == null ? void 0 : b.id;
|
2474
|
-
},
|
2420
|
+
$(
|
2421
|
+
() => b.value?.id,
|
2475
2422
|
async () => {
|
2476
|
-
await
|
2423
|
+
await D();
|
2477
2424
|
},
|
2478
2425
|
{ immediate: !0 }
|
2479
2426
|
);
|
2480
|
-
const { bookingApiClient:
|
2481
|
-
|
2482
|
-
() => [
|
2427
|
+
const { bookingApiClient: G, config: N } = Re();
|
2428
|
+
$(
|
2429
|
+
() => [G.value, N.value.currency, N.value.lang],
|
2483
2430
|
async () => {
|
2484
|
-
await
|
2431
|
+
await D();
|
2485
2432
|
},
|
2486
2433
|
{ immediate: !0 }
|
2487
2434
|
);
|
2488
|
-
const
|
2435
|
+
const Q = Ro({
|
2489
2436
|
adultCount: t.adultCount,
|
2490
2437
|
checkInDate: t.checkInDate,
|
2491
2438
|
checkOutDate: t.checkOutDate,
|
@@ -2495,21 +2442,21 @@ const ua = /* @__PURE__ */ tt(Qt, [["render", ra]]), Xt = {
|
|
2495
2442
|
sourceMarket: t.sourceMarket
|
2496
2443
|
});
|
2497
2444
|
return {
|
2498
|
-
hasError:
|
2499
|
-
hotelRoomHotelRoomOffers:
|
2500
|
-
isLoading:
|
2501
|
-
onBreakfastChange:
|
2502
|
-
packageHotelRoomOffers:
|
2503
|
-
showSkeleton:
|
2445
|
+
hasError: I,
|
2446
|
+
hotelRoomHotelRoomOffers: T,
|
2447
|
+
isLoading: _,
|
2448
|
+
onBreakfastChange: J,
|
2449
|
+
packageHotelRoomOffers: v,
|
2450
|
+
showSkeleton: z,
|
2504
2451
|
t: e,
|
2505
2452
|
tab: r,
|
2506
|
-
tabItems:
|
2507
|
-
...
|
2508
|
-
onBookingPolicyFailed:
|
2453
|
+
tabItems: p,
|
2454
|
+
...Q,
|
2455
|
+
onBookingPolicyFailed: E
|
2509
2456
|
};
|
2510
2457
|
}
|
2511
2458
|
});
|
2512
|
-
function
|
2459
|
+
function zt(t) {
|
2513
2460
|
const e = t;
|
2514
2461
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
2515
2462
|
locale: "",
|
@@ -2587,7 +2534,7 @@ function Mt(t) {
|
|
2587
2534
|
}
|
2588
2535
|
});
|
2589
2536
|
}
|
2590
|
-
const
|
2537
|
+
const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
2591
2538
|
fixed: Boolean,
|
2592
2539
|
sliderColor: String,
|
2593
2540
|
hideSlider: Boolean,
|
@@ -2595,13 +2542,13 @@ const wt = Symbol.for("vuetify:v-tabs"), da = lt({
|
|
2595
2542
|
type: String,
|
2596
2543
|
default: "horizontal"
|
2597
2544
|
},
|
2598
|
-
...Nt(
|
2545
|
+
...Nt(Ke({
|
2599
2546
|
selectedClass: "v-tab--selected",
|
2600
2547
|
variant: "text"
|
2601
2548
|
}), ["active", "block", "flat", "location", "position", "symbol"])
|
2602
2549
|
}, "VTab"), ee = it()({
|
2603
2550
|
name: "VTab",
|
2604
|
-
props:
|
2551
|
+
props: ca(),
|
2605
2552
|
setup(t, e) {
|
2606
2553
|
let {
|
2607
2554
|
slots: n,
|
@@ -2609,63 +2556,56 @@ const wt = Symbol.for("vuetify:v-tabs"), da = lt({
|
|
2609
2556
|
} = e;
|
2610
2557
|
const {
|
2611
2558
|
textColorClasses: r,
|
2612
|
-
textColorStyles:
|
2613
|
-
} =
|
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;
|
2559
|
+
textColorStyles: p
|
2560
|
+
} = Te(t, "sliderColor"), u = x(), l = x(), b = f(() => t.direction === "horizontal"), c = f(() => u.value?.group?.isSelected.value ?? !1);
|
2561
|
+
function I(T) {
|
2619
2562
|
let {
|
2620
|
-
value:
|
2621
|
-
} =
|
2622
|
-
if (
|
2623
|
-
const
|
2624
|
-
if (!
|
2625
|
-
const
|
2626
|
-
|
2627
|
-
backgroundColor: [
|
2628
|
-
transform: [`translate${
|
2629
|
-
transformOrigin: Array(3).fill(
|
2563
|
+
value: v
|
2564
|
+
} = T;
|
2565
|
+
if (v) {
|
2566
|
+
const _ = u.value?.$el.parentElement?.querySelector(".v-tab--selected .v-tab__slider"), z = l.value;
|
2567
|
+
if (!_ || !z) return;
|
2568
|
+
const J = getComputedStyle(_).color, D = _.getBoundingClientRect(), E = z.getBoundingClientRect(), G = b.value ? "x" : "y", N = b.value ? "X" : "Y", Q = b.value ? "right" : "bottom", B = b.value ? "width" : "height", A = D[G], W = E[G], U = A > W ? D[Q] - E[Q] : D[G] - E[G], nt = Math.sign(U) > 0 ? b.value ? "right" : "bottom" : Math.sign(U) < 0 ? b.value ? "left" : "top" : "center", d = (Math.abs(U) + (Math.sign(U) < 0 ? D[B] : E[B])) / Math.max(D[B], E[B]) || 0, H = D[B] / E[B] || 0, O = 1.5;
|
2569
|
+
Ee(z, {
|
2570
|
+
backgroundColor: [J, "currentcolor"],
|
2571
|
+
transform: [`translate${N}(${U}px) scale${N}(${H})`, `translate${N}(${U / O}px) scale${N}(${(d - 1) / O + 1})`, "none"],
|
2572
|
+
transformOrigin: Array(3).fill(nt)
|
2630
2573
|
}, {
|
2631
2574
|
duration: 225,
|
2632
|
-
easing:
|
2575
|
+
easing: Ve
|
2633
2576
|
});
|
2634
2577
|
}
|
2635
2578
|
}
|
2636
2579
|
return rt(() => {
|
2637
|
-
const
|
2638
|
-
return o(
|
2639
|
-
symbol:
|
2640
|
-
ref:
|
2580
|
+
const T = st.filterProps(t);
|
2581
|
+
return o(st, M({
|
2582
|
+
symbol: It,
|
2583
|
+
ref: u,
|
2641
2584
|
class: ["v-tab", t.class],
|
2642
2585
|
style: t.style,
|
2643
2586
|
tabindex: c.value ? 0 : -1,
|
2644
2587
|
role: "tab",
|
2645
2588
|
"aria-selected": String(c.value),
|
2646
2589
|
active: !1
|
2647
|
-
},
|
2590
|
+
}, T, s, {
|
2648
2591
|
block: t.fixed,
|
2649
2592
|
maxWidth: t.fixed ? 300 : void 0,
|
2650
|
-
"onGroup:selected":
|
2593
|
+
"onGroup:selected": I
|
2651
2594
|
}), {
|
2652
2595
|
...n,
|
2653
|
-
default: () => {
|
2654
|
-
|
2655
|
-
|
2656
|
-
|
2657
|
-
|
2658
|
-
style: k.value
|
2659
|
-
}, null)]);
|
2660
|
-
}
|
2596
|
+
default: () => o(y, null, [n.default?.() ?? t.text, !t.hideSlider && o("div", {
|
2597
|
+
ref: l,
|
2598
|
+
class: ["v-tab__slider", r.value],
|
2599
|
+
style: p.value
|
2600
|
+
}, null)])
|
2661
2601
|
});
|
2662
|
-
}),
|
2602
|
+
}), ao({}, u);
|
2663
2603
|
}
|
2664
|
-
}),
|
2665
|
-
...Nt(
|
2604
|
+
}), da = lt({
|
2605
|
+
...Nt(so(), ["continuous", "nextIcon", "prevIcon", "showArrows", "touch", "mandatory"])
|
2666
2606
|
}, "VTabsWindow"), oe = it()({
|
2667
2607
|
name: "VTabsWindow",
|
2668
|
-
props:
|
2608
|
+
props: da(),
|
2669
2609
|
emits: {
|
2670
2610
|
"update:modelValue": (t) => !0
|
2671
2611
|
},
|
@@ -2673,22 +2613,21 @@ const wt = Symbol.for("vuetify:v-tabs"), da = lt({
|
|
2673
2613
|
let {
|
2674
2614
|
slots: n
|
2675
2615
|
} = e;
|
2676
|
-
const s =
|
2616
|
+
const s = Oe(It, null), r = ct(t, "modelValue"), p = f({
|
2677
2617
|
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;
|
2618
|
+
return r.value != null || !s ? r.value : s.items.value.find((u) => s.selected.value.includes(u.id))?.value;
|
2680
2619
|
},
|
2681
|
-
set(
|
2682
|
-
r.value =
|
2620
|
+
set(u) {
|
2621
|
+
r.value = u;
|
2683
2622
|
}
|
2684
2623
|
});
|
2685
2624
|
return rt(() => {
|
2686
|
-
const
|
2687
|
-
return o(
|
2625
|
+
const u = Tt.filterProps(t);
|
2626
|
+
return o(Tt, M({
|
2688
2627
|
_as: "VTabsWindow"
|
2689
|
-
},
|
2690
|
-
modelValue:
|
2691
|
-
"onUpdate:modelValue": (l) =>
|
2628
|
+
}, u, {
|
2629
|
+
modelValue: p.value,
|
2630
|
+
"onUpdate:modelValue": (l) => p.value = l,
|
2692
2631
|
class: ["v-tabs-window", t.class],
|
2693
2632
|
style: t.style,
|
2694
2633
|
mandatory: !1,
|
@@ -2696,18 +2635,18 @@ const wt = Symbol.for("vuetify:v-tabs"), da = lt({
|
|
2696
2635
|
}), n);
|
2697
2636
|
}), {};
|
2698
2637
|
}
|
2699
|
-
}),
|
2700
|
-
...
|
2701
|
-
}, "VTabsWindowItem"),
|
2638
|
+
}), ma = lt({
|
2639
|
+
...no()
|
2640
|
+
}, "VTabsWindowItem"), Ot = it()({
|
2702
2641
|
name: "VTabsWindowItem",
|
2703
|
-
props:
|
2642
|
+
props: ma(),
|
2704
2643
|
setup(t, e) {
|
2705
2644
|
let {
|
2706
2645
|
slots: n
|
2707
2646
|
} = e;
|
2708
2647
|
return rt(() => {
|
2709
2648
|
const s = Et.filterProps(t);
|
2710
|
-
return o(Et,
|
2649
|
+
return o(Et, M({
|
2711
2650
|
_as: "VTabsWindowItem"
|
2712
2651
|
}, s, {
|
2713
2652
|
class: ["v-tabs-window-item", t.class],
|
@@ -2716,8 +2655,8 @@ const wt = Symbol.for("vuetify:v-tabs"), da = lt({
|
|
2716
2655
|
}), {};
|
2717
2656
|
}
|
2718
2657
|
});
|
2719
|
-
function
|
2720
|
-
return t ? t.map((e) =>
|
2658
|
+
function fa(t) {
|
2659
|
+
return t ? t.map((e) => Se(e) ? e : {
|
2721
2660
|
text: e,
|
2722
2661
|
value: e
|
2723
2662
|
}) : [];
|
@@ -2742,13 +2681,13 @@ const ba = lt({
|
|
2742
2681
|
},
|
2743
2682
|
hideSlider: Boolean,
|
2744
2683
|
sliderColor: String,
|
2745
|
-
...
|
2684
|
+
...io({
|
2746
2685
|
mandatory: "force",
|
2747
2686
|
selectedClass: "v-tab-item--selected"
|
2748
2687
|
}),
|
2749
|
-
...
|
2750
|
-
...
|
2751
|
-
}, "VTabs"),
|
2688
|
+
...je(),
|
2689
|
+
...Le()
|
2690
|
+
}, "VTabs"), pa = it()({
|
2752
2691
|
name: "VTabs",
|
2753
2692
|
props: ba(),
|
2754
2693
|
emits: {
|
@@ -2759,103 +2698,85 @@ const ba = lt({
|
|
2759
2698
|
attrs: n,
|
2760
2699
|
slots: s
|
2761
2700
|
} = e;
|
2762
|
-
const r =
|
2763
|
-
densityClasses:
|
2764
|
-
} =
|
2701
|
+
const r = ct(t, "modelValue"), p = f(() => fa(t.items)), {
|
2702
|
+
densityClasses: u
|
2703
|
+
} = Ue(t), {
|
2765
2704
|
backgroundColorClasses: l,
|
2766
|
-
backgroundColorStyles:
|
2767
|
-
} =
|
2705
|
+
backgroundColorStyles: b
|
2706
|
+
} = Ae(et(t, "bgColor")), {
|
2768
2707
|
scopeId: c
|
2769
|
-
} =
|
2770
|
-
return
|
2708
|
+
} = $e();
|
2709
|
+
return Ce({
|
2771
2710
|
VTab: {
|
2772
|
-
color:
|
2773
|
-
direction:
|
2774
|
-
stacked:
|
2775
|
-
fixed:
|
2776
|
-
sliderColor:
|
2777
|
-
hideSlider:
|
2711
|
+
color: et(t, "color"),
|
2712
|
+
direction: et(t, "direction"),
|
2713
|
+
stacked: et(t, "stacked"),
|
2714
|
+
fixed: et(t, "fixedTabs"),
|
2715
|
+
sliderColor: et(t, "sliderColor"),
|
2716
|
+
hideSlider: et(t, "hideSlider")
|
2778
2717
|
}
|
2779
2718
|
}), rt(() => {
|
2780
|
-
const
|
2781
|
-
return o(
|
2719
|
+
const I = Vt.filterProps(t), T = !!(s.window || t.items.length > 0);
|
2720
|
+
return o(y, null, [o(Vt, M(I, {
|
2782
2721
|
modelValue: r.value,
|
2783
|
-
"onUpdate:modelValue": (
|
2722
|
+
"onUpdate:modelValue": (v) => r.value = v,
|
2784
2723
|
class: ["v-tabs", `v-tabs--${t.direction}`, `v-tabs--align-tabs-${t.alignTabs}`, {
|
2785
2724
|
"v-tabs--fixed-tabs": t.fixedTabs,
|
2786
2725
|
"v-tabs--grow": t.grow,
|
2787
2726
|
"v-tabs--stacked": t.stacked
|
2788
|
-
},
|
2727
|
+
}, u.value, l.value, t.class],
|
2789
2728
|
style: [{
|
2790
|
-
"--v-tabs-height":
|
2791
|
-
},
|
2729
|
+
"--v-tabs-height": Be(t.height)
|
2730
|
+
}, b.value, t.style],
|
2792
2731
|
role: "tablist",
|
2793
|
-
symbol:
|
2732
|
+
symbol: It
|
2794
2733
|
}, c, n), {
|
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({
|
2734
|
+
default: () => [s.default?.() ?? p.value.map((v) => s.tab?.({
|
2735
|
+
item: v
|
2736
|
+
}) ?? o(ee, M(v, {
|
2737
|
+
key: v.text,
|
2738
|
+
value: v.value
|
2739
|
+
}), {
|
2740
|
+
default: s[`tab.${v.value}`] ? () => s[`tab.${v.value}`]?.({
|
2741
|
+
item: v
|
2742
|
+
}) : void 0
|
2743
|
+
}))]
|
2744
|
+
}), T && o(oe, M({
|
2815
2745
|
modelValue: r.value,
|
2816
|
-
"onUpdate:modelValue": (
|
2746
|
+
"onUpdate:modelValue": (v) => r.value = v,
|
2817
2747
|
key: "tabs-window"
|
2818
2748
|
}, c), {
|
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
|
-
}
|
2749
|
+
default: () => [p.value.map((v) => s.item?.({
|
2750
|
+
item: v
|
2751
|
+
}) ?? o(Ot, {
|
2752
|
+
value: v.value
|
2753
|
+
}, {
|
2754
|
+
default: () => s[`item.${v.value}`]?.({
|
2755
|
+
item: v
|
2756
|
+
})
|
2757
|
+
})), s.window?.()]
|
2837
2758
|
})]);
|
2838
2759
|
}), {};
|
2839
2760
|
}
|
2840
|
-
}),
|
2841
|
-
function
|
2842
|
-
const
|
2843
|
-
return i(),
|
2844
|
-
t.isBookingApiClientDefined ? (i(),
|
2845
|
-
t.hasError ? (i(),
|
2761
|
+
}), ka = { class: "bg-white" }, va = { key: 0 };
|
2762
|
+
function ha(t, e, n, s, r, p) {
|
2763
|
+
const u = L("HotelRoomOfferListEmpty"), l = L("HotelRoomOfferItem"), b = L("HotelRoomOfferBasket");
|
2764
|
+
return i(), m("div", ka, [
|
2765
|
+
t.isBookingApiClientDefined ? (i(), m(y, { key: 1 }, [
|
2766
|
+
t.hasError ? (i(), R(u, {
|
2846
2767
|
key: "error",
|
2847
2768
|
boilerplate: "",
|
2848
2769
|
type: "internalError"
|
2849
|
-
})) : t.showSkeleton ? (i(),
|
2850
|
-
t.hotelRoomHotelRoomOffers.length ?
|
2851
|
-
t.isLoading ? (i(),
|
2770
|
+
})) : t.showSkeleton ? (i(), R(u, { key: "skeleton" })) : t.packageHotelRoomOffers && t.packageHotelRoomOffers.length ? (i(), m(y, { key: 2 }, [
|
2771
|
+
t.hotelRoomHotelRoomOffers.length ? C("", !0) : (i(), m("div", va)),
|
2772
|
+
t.isLoading ? (i(), R(Fe, {
|
2852
2773
|
key: 1,
|
2853
2774
|
class: "loader position-absolute",
|
2854
2775
|
color: "secondary",
|
2855
2776
|
indeterminate: ""
|
2856
|
-
})) :
|
2857
|
-
t.hotelRoomHotelRoomOffers && t.hotelRoomHotelRoomOffers.length ? (i(),
|
2858
|
-
o(
|
2777
|
+
})) : C("", !0),
|
2778
|
+
t.hotelRoomHotelRoomOffers && t.hotelRoomHotelRoomOffers.length ? (i(), m(y, { key: 2 }, [
|
2779
|
+
o(pa, {
|
2859
2780
|
color: "primary",
|
2860
2781
|
density: "compact",
|
2861
2782
|
modelValue: t.tab,
|
@@ -2863,14 +2784,14 @@ function ga(t, e, n, s, r, k) {
|
|
2863
2784
|
grow: ""
|
2864
2785
|
}, {
|
2865
2786
|
default: a(() => [
|
2866
|
-
(i(!0),
|
2787
|
+
(i(!0), m(y, null, K(t.tabItems, (c) => (i(), m(y, { key: c }, [
|
2867
2788
|
o(ee, null, {
|
2868
2789
|
default: a(() => [
|
2869
|
-
|
2790
|
+
w(g(t.t(`HotelRoomOfferList.${c}.title`)), 1)
|
2870
2791
|
]),
|
2871
2792
|
_: 2
|
2872
2793
|
}, 1024),
|
2873
|
-
o(
|
2794
|
+
o(Z, { vertical: "" })
|
2874
2795
|
], 64))), 128))
|
2875
2796
|
]),
|
2876
2797
|
_: 1
|
@@ -2881,13 +2802,13 @@ function ga(t, e, n, s, r, k) {
|
|
2881
2802
|
class: "overflow-visible"
|
2882
2803
|
}, {
|
2883
2804
|
default: a(() => [
|
2884
|
-
o(
|
2805
|
+
o(Ot, { class: "pt-3" }, {
|
2885
2806
|
default: a(() => [
|
2886
|
-
(i(!0),
|
2807
|
+
(i(!0), m(y, null, K(t.packageHotelRoomOffers, (c, I) => (i(), m(y, {
|
2887
2808
|
key: c.id
|
2888
2809
|
}, [
|
2889
|
-
|
2890
|
-
o(l,
|
2810
|
+
I > 0 ? (i(), R(Z, { key: 0 })) : C("", !0),
|
2811
|
+
o(l, M({ ref_for: !0 }, c, {
|
2891
2812
|
onBreakfastChange: t.onBreakfastChange,
|
2892
2813
|
onBookingPolicyFailed: t.onBookingPolicyFailed
|
2893
2814
|
}), null, 16, ["onBreakfastChange", "onBookingPolicyFailed"])
|
@@ -2895,41 +2816,41 @@ function ga(t, e, n, s, r, k) {
|
|
2895
2816
|
]),
|
2896
2817
|
_: 1
|
2897
2818
|
}),
|
2898
|
-
o(
|
2819
|
+
o(Ot, { class: "pt-3 pb-5" }, {
|
2899
2820
|
default: a(() => [
|
2900
|
-
o(
|
2821
|
+
o(b, { "hotel-id": t.hotelId }, null, 8, ["hotel-id"])
|
2901
2822
|
]),
|
2902
2823
|
_: 1
|
2903
2824
|
})
|
2904
2825
|
]),
|
2905
2826
|
_: 1
|
2906
2827
|
}, 8, ["modelValue"])
|
2907
|
-
], 64)) : (i(!0),
|
2828
|
+
], 64)) : (i(!0), m(y, { key: 3 }, K(t.packageHotelRoomOffers, (c, I) => (i(), m(y, {
|
2908
2829
|
key: c.id
|
2909
2830
|
}, [
|
2910
|
-
|
2911
|
-
o(l,
|
2831
|
+
I > 0 ? (i(), R(Z, { key: 0 })) : C("", !0),
|
2832
|
+
o(l, M({ ref_for: !0 }, c, {
|
2912
2833
|
onBreakfastChange: t.onBreakfastChange,
|
2913
2834
|
onBookingPolicyFailed: t.onBookingPolicyFailed
|
2914
2835
|
}), null, 16, ["onBreakfastChange", "onBookingPolicyFailed"])
|
2915
2836
|
], 64))), 128))
|
2916
|
-
], 64)) : !t.packageHotelRoomOffers || !t.packageHotelRoomOffers.length ? (i(),
|
2837
|
+
], 64)) : !t.packageHotelRoomOffers || !t.packageHotelRoomOffers.length ? (i(), R(u, {
|
2917
2838
|
key: "skeleton",
|
2918
2839
|
boilerplate: "",
|
2919
2840
|
type: "noResults"
|
2920
|
-
})) :
|
2921
|
-
], 64)) : (i(),
|
2841
|
+
})) : C("", !0)
|
2842
|
+
], 64)) : (i(), m(y, { key: 0 }, [], 64))
|
2922
2843
|
]);
|
2923
2844
|
}
|
2924
|
-
typeof
|
2925
|
-
const
|
2926
|
-
|
2845
|
+
typeof zt == "function" && zt(te);
|
2846
|
+
const Ga = /* @__PURE__ */ tt(te, [["render", ha], ["__scopeId", "data-v-e71fbea6"]]);
|
2847
|
+
ne("css/revolugo.hotelroomofferlist.Dh1OAA7W.css");
|
2927
2848
|
export {
|
2928
|
-
|
2929
|
-
|
2849
|
+
Rt as B,
|
2850
|
+
Ga as H,
|
2930
2851
|
Xt as a,
|
2931
|
-
|
2932
|
-
|
2933
|
-
|
2852
|
+
ua as h,
|
2853
|
+
co as r,
|
2854
|
+
bo as u
|
2934
2855
|
};
|
2935
|
-
//# sourceMappingURL=revolugo.hotelroomofferlist.
|
2856
|
+
//# sourceMappingURL=revolugo.hotelroomofferlist.DRs28YA0.min.js.map
|