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