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