@revolugo/elements 6.8.2-beta.34 → 6.8.2-beta.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/{revolugo.bdaterangepicker.D1e8WHUE.css → revolugo.bdaterangepicker.B6KA5TYs.css} +1 -1
- package/dist/css/{revolugo.bimagecarousel.DFlgQMzq.css → revolugo.bimagecarousel.B2SxWMbZ.css} +1 -1
- package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +1 -0
- package/dist/css/{revolugo.hoteloffersmap.DZ9zVlMs.css → revolugo.hoteloffersmap.Cp2vN-VQ.css} +1 -1
- package/dist/css/revolugo.hoteloffersview.CNI6b2S9.css +1 -0
- package/dist/css/revolugo.termsandconditions.D8IMR9da.css +1 -0
- package/dist/css/{revolugo.webcomponentwrapper.BNxGrktU.css → revolugo.webcomponentwrapper.cFJPP6Rp.css} +1 -1
- package/dist/index.es.min.js +422 -420
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +5 -5
- package/dist/index.min.js.map +1 -1
- package/dist/{revolugo._baseiteratee.BEP1-p3y.min.js → revolugo._baseiteratee.DqpAWb6T.min.js} +35 -35
- package/dist/{revolugo.banktransferdetails.CjbztzfC.min.js → revolugo.banktransferdetails.HIONuL-w.min.js} +9 -9
- package/dist/{revolugo.bdaterangepicker.CFyhGruk.min.js → revolugo.bdaterangepicker.CYqs79KF.min.js} +2179 -2183
- package/dist/{revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.B2bk2KpX.min.js → revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.C2bQrTH9.min.js} +4 -4
- package/dist/{revolugo.bhoteloffersfilterbar.CFOOtTvL.min.js → revolugo.bhoteloffersfilterbar.C99qFZXQ.min.js} +958 -772
- package/dist/{revolugo.bhotelroomsdetails.Be5zxifu.min.js → revolugo.bhotelroomsdetails.BspNbZ48.min.js} +188 -213
- package/dist/{revolugo.bimagecarousel.CxOf9dZ6.min.js → revolugo.bimagecarousel.Csl8A8eS.min.js} +145 -167
- package/dist/{revolugo.bookingdetailssidebar.CSH8m1C4.min.js → revolugo.bookingdetailssidebar.CpDzjKTp.min.js} +4 -4
- package/dist/{revolugo.bookingdetailssidebar.B5Pj0On4.min.js → revolugo.bookingdetailssidebar.DGJW157-.min.js} +19 -19
- package/dist/{revolugo.bookingmanager.csPvGATG.min.js → revolugo.bookingmanager.kjJFCsaj.min.js} +20 -20
- package/dist/{revolugo.bpricesummaryskeleton.CHX7Jssj.min.js → revolugo.bpricesummaryskeleton.8c6X82Hn.min.js} +4 -4
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.VA13CkuK.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.KQ12c6Ip.min.js} +8 -8
- package/dist/{revolugo.btag.Dv4uxsYv.min.js → revolugo.btag.BE3Ri1CO.min.js} +28 -28
- package/dist/{revolugo.cancellationpoliciesbadge.CRBkLci9.min.js → revolugo.cancellationpoliciesbadge.W8Gvstjs.min.js} +4 -4
- package/dist/{revolugo.cancellationpoliciesbadge._2J26Hqf.min.js → revolugo.cancellationpoliciesbadge.mxkumI4i.min.js} +12 -12
- package/dist/{revolugo.cancellationpolicieslist.DQNG2iB8.min.js → revolugo.cancellationpolicieslist.DEiFUBfm.min.js} +3 -3
- package/dist/{revolugo.cancellationpolicieslist.pqHwlUuQ.min.js → revolugo.cancellationpolicieslist.EqDKfH1M.min.js} +4 -4
- package/dist/{revolugo.case-transformers.DP17jA4x.min.js → revolugo.case-transformers.BZKgm7X9.min.js} +5 -5
- package/dist/{revolugo.creditcardform.BZRrbM7V.min.js → revolugo.creditcardform.D84lJYLN.min.js} +4 -4
- package/dist/{revolugo.creditcardform.BxjCDGvO.min.js → revolugo.creditcardform.Dv8WVVQs.min.js} +58 -58
- package/dist/{revolugo.creditcardpayment.BT1kN8zt.min.js → revolugo.creditcardpayment.BQEG147C.min.js} +4 -4
- package/dist/{revolugo.creditcardpayment.DoY6phPa.min.js → revolugo.creditcardpayment.BcHJkQmY.min.js} +18 -18
- package/dist/{revolugo.currencypicker.B2tV48Y5.min.js → revolugo.currencypicker.DEJ2kZKc.min.js} +9 -9
- package/dist/{revolugo.currencypickerbtn.DMU3GWjB.min.js → revolugo.currencypickerbtn.1V06vG7i.min.js} +14 -14
- package/dist/{revolugo.currencypickerbtn.DE8oV1V1.min.js → revolugo.currencypickerbtn.BO15T4Og.min.js} +4 -4
- package/dist/revolugo.dates.DQToc-Zu.min.js +31 -0
- package/dist/revolugo.defaultsdeep.D6A9dZfK.min.js +104 -0
- package/dist/{revolugo.dialog-attach.DpGIwuG0.min.js → revolugo.dialog-attach.8RGGMLvt.min.js} +2 -2
- package/dist/{revolugo.dialog-transition.Ckkqh-sq.min.js → revolugo.dialog-transition.CK9FmR7q.min.js} +3 -3
- package/dist/{revolugo.fastbookingflow.CuXq-6GN.min.js → revolugo.fastbookingflow.mx9nZ44p.min.js} +4 -4
- package/dist/{revolugo.fullbookingflow.D4ACgY8T.min.js → revolugo.fullbookingflow.ByWT9-fz.min.js} +17 -17
- package/dist/{revolugo.hotel-offer-request.DcAw3ks9.min.js → revolugo.hotel-offer-request.AQUc7QpR.min.js} +2 -2
- package/dist/{revolugo.hoteldescriptionview.OsbnClid.min.js → revolugo.hoteldescriptionview.DCr66NFf.min.js} +4 -4
- package/dist/{revolugo.hoteldescriptionview.CnCdP9SI.min.js → revolugo.hoteldescriptionview.DjCj4aYP.min.js} +32 -32
- package/dist/{revolugo.hotelofferitemlayout.Dpe1_FMy.min.js → revolugo.hotelofferitemlayout.DSbBWikv.min.js} +9 -9
- package/dist/{revolugo.hotelofferlist.BJycC4Of.min.js → revolugo.hotelofferlist.BpQDR4Wh.min.js} +4 -4
- package/dist/{revolugo.hotelofferlist.DYq8K7Ct.min.js → revolugo.hotelofferlist.Cj2C7Zi4.min.js} +460 -454
- package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +44 -0
- package/dist/revolugo.hoteloffersearchmenu.DIMPtwG2.min.js +202 -0
- package/dist/revolugo.hoteloffersearchmenuui.BblFbDpa.min.js +829 -0
- package/dist/{revolugo.hoteloffersmap.DSsq4XP-.min.js → revolugo.hoteloffersmap.4IJuz8Kr.min.js} +4 -4
- package/dist/{revolugo.hoteloffersmap.BL2dyzha.min.js → revolugo.hoteloffersmap.DLxrzp7A.min.js} +33 -33
- package/dist/{revolugo.hoteloffersview.BGrm1eOU.min.js → revolugo.hoteloffersview.BsL_RfVC.min.js} +4 -4
- package/dist/{revolugo.hoteloffersview.gV8BZDE8.min.js → revolugo.hoteloffersview.DMDKMCye.min.js} +48 -49
- package/dist/{revolugo.hotelroomofferlist.D4fuEiKU.min.js → revolugo.hotelroomofferlist.CqoX8wAD.min.js} +570 -597
- package/dist/{revolugo.hotelroomofferlist.BCUPuDy5.min.js → revolugo.hotelroomofferlist.CrMiA0E5.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferrequestcreator.props.Dv34pWYy.min.js → revolugo.hotelroomofferrequestcreator.props.CV1b3F15.min.js} +2 -2
- package/dist/{revolugo.hotelroomoffersbookingflow.MX7B4HS4.min.js → revolugo.hotelroomoffersbookingflow.EoUemNqv.min.js} +33 -33
- package/dist/{revolugo.hotelroomoffersearchmenu.D4ClroPA.min.js → revolugo.hotelroomoffersearchmenu.Dj7xOa4W.min.js} +21 -20
- package/dist/{revolugo.hotelroomoffersearchmenu.D08ut6Wr.min.js → revolugo.hotelroomoffersearchmenu.ngvURW1c.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersview.Cw2QLEZr.min.js → revolugo.hotelroomoffersview.CwyVwZR_.min.js} +4 -4
- package/dist/{revolugo.hotelroomoffersview.B-v9bQrO.min.js → revolugo.hotelroomoffersview.DRv2agnW.min.js} +12 -12
- package/dist/revolugo.index.DDAUBYBh.min.js +67 -0
- package/dist/{revolugo.index.Bv92K2Ye.min.js → revolugo.index.qisZC-QI.min.js} +71 -71
- package/dist/{revolugo.index.wc.B0qizvXE.min.js → revolugo.index.wc.BzjxKm9K.min.js} +5172 -5082
- package/dist/{revolugo.langpicker.BdYeJHS7.min.js → revolugo.langpicker.C-S6u3-u.min.js} +12 -12
- package/dist/{revolugo.langpickerbtn.DkfWevjb.min.js → revolugo.langpickerbtn.D3uECmJK.min.js} +4 -4
- package/dist/{revolugo.langpickerbtn.B8zEJnmF.min.js → revolugo.langpickerbtn.D9CD4Bj3.min.js} +10 -10
- package/dist/revolugo.min.js +1 -1
- package/dist/revolugo.pathify.CIND4Lom.min.js +36 -0
- package/dist/{revolugo.prebookform.Dt8Xq1UF.min.js → revolugo.prebookform.aGjJhr1R.min.js} +4 -4
- package/dist/{revolugo.prebookform.BhwJWvTS.min.js → revolugo.prebookform.rbCZlvHH.min.js} +21 -21
- package/dist/{revolugo.roominglisteditor.D5FNAQom.min.js → revolugo.roominglisteditor.B6-iMCHL.min.js} +4 -4
- package/dist/{revolugo.roominglisteditor.uWkpBxvd.min.js → revolugo.roominglisteditor.Ccuu1hR2.min.js} +9 -9
- package/dist/{revolugo.rounded.D6QsXHPb.min.js → revolugo.rounded.4lPQ9kFX.min.js} +2 -2
- package/dist/{revolugo.ssrboot._seCU8hc.min.js → revolugo.ssrboot.DHJaJ8JS.min.js} +4 -4
- package/dist/{revolugo.storybooktoolbar.Dr0gID6q.min.js → revolugo.storybooktoolbar.BQCF7Nnh.min.js} +107 -108
- package/dist/{revolugo.termsandconditions.DWwdFEEM.min.js → revolugo.termsandconditions.CQXI2fBL.min.js} +4 -4
- package/dist/revolugo.termsandconditions.D0ZQsUY6.min.js +405 -0
- package/dist/{revolugo.use-breakpoint-service.DcFKehRh.min.js → revolugo.use-breakpoint-service.C-hjHtUg.min.js} +3 -3
- package/dist/{revolugo.use-dialog-attach.Cu1mmZwk.min.js → revolugo.use-dialog-attach.Czzi-3RI.min.js} +3 -3
- package/dist/revolugo.use-html-element.D6v1nK-L.min.js +11 -0
- package/dist/{revolugo.vautocomplete.BQCHxH2B.min.js → revolugo.vautocomplete.CurwGarB.min.js} +68 -68
- package/dist/{revolugo.vbadge.rFVXHHsE.min.js → revolugo.vbadge.CAoYMMWm.min.js} +21 -21
- package/dist/{revolugo.vbtn.z2Nv2s_A.min.js → revolugo.vbtn.CsZeeN8o.min.js} +44 -44
- package/dist/{revolugo.vcard.CqvpQb0V.min.js → revolugo.vcard._oiwzPZq.min.js} +30 -30
- package/dist/{revolugo.vcheckboxbtn.CIrc7Wp1.min.js → revolugo.vcheckboxbtn.DtbO_191.min.js} +62 -62
- package/dist/{revolugo.vdialog.Ct2ri8RU.min.js → revolugo.vdialog.B8w3JtNs.min.js} +15 -15
- package/dist/{revolugo.vdivider.DswPwlPP.min.js → revolugo.vdivider.BMaXASD1.min.js} +8 -8
- package/dist/{revolugo.vexpansionpanels.YyEBCJNN.min.js → revolugo.vexpansionpanels.tj0xf8uQ.min.js} +33 -33
- package/dist/{revolugo.vform.B4SOVz4C.min.js → revolugo.vform.CK0ZMifM.min.js} +10 -10
- package/dist/{revolugo.vicon.DxyPKaIP.min.js → revolugo.vicon.ChjALOWz.min.js} +21 -21
- package/dist/{revolugo.vinput.JVdEYSkJ.min.js → revolugo.vinput.Be9TwErW.min.js} +57 -57
- package/dist/{revolugo.vlabel.9R__MfVL.min.js → revolugo.vlabel.kUTWOnRf.min.js} +3 -3
- package/dist/{revolugo.vlist.Cys3PIO8.min.js → revolugo.vlist.CwdXG8X4.min.js} +36 -36
- package/dist/{revolugo.vmenu.BdoJ6DB5.min.js → revolugo.vmenu.Do9o54LY.min.js} +26 -26
- package/dist/{revolugo.vselect.CZ2KGl2h.min.js → revolugo.vselect.FSeFjW01.min.js} +50 -50
- package/dist/{revolugo.vsheet.CtMgmHlk.min.js → revolugo.vsheet.RQ8g0IIb.min.js} +16 -16
- package/dist/{revolugo.vskeletonloader.C7hmbjSV.min.js → revolugo.vskeletonloader.BTBm47P-.min.js} +9 -9
- package/dist/{revolugo.vslidegroup.dHznmG62.min.js → revolugo.vslidegroup.CxPt62zw.min.js} +52 -52
- package/dist/{revolugo.vsnackbar.DLo2YKIP.min.js → revolugo.vsnackbar.DKhErJRq.min.js} +19 -19
- package/dist/revolugo.vspacer.D8mMBxcQ.min.js +7 -0
- package/dist/{revolugo.vtextarea.CQJ0M6wH.min.js → revolugo.vtextarea.D8AZqjfK.min.js} +28 -28
- package/dist/{revolugo.vtextfield.UPzgmfaI.min.js → revolugo.vtextfield.CGEo7_cB.min.js} +63 -63
- package/dist/{revolugo.vtoolbar.B5MVJuVl.min.js → revolugo.vtoolbar.DXfaICLs.min.js} +22 -22
- package/dist/{revolugo.vtooltip.C5jWcj_9.min.js → revolugo.vtooltip.DzcL8CbM.min.js} +9 -9
- package/dist/{revolugo.vwindowitem.QqHY3FYk.min.js → revolugo.vwindowitem.C3s82jNI.min.js} +32 -32
- package/dist/{revolugo.watch-list.Z34YwPPD.min.js → revolugo.watch-list.DrNheBPf.min.js} +2 -2
- package/dist/{revolugo.webcomponentwrapper.r7aHwfWr.min.js → revolugo.webcomponentwrapper.XqvBRD6a.min.js} +319 -333
- package/package.json +1 -1
- package/dist/css/revolugo.bhotelsearchbar.Bl5_UFe8.css +0 -1
- package/dist/css/revolugo.hoteloffersview.CL1wiz4I.css +0 -1
- package/dist/css/revolugo.termsandconditions.DCvNJQQL.css +0 -1
- package/dist/revolugo.bhotelsearchbar.kzKlxvh9.min.js +0 -944
- package/dist/revolugo.defaultsdeep.D8dmkJFl.min.js +0 -104
- package/dist/revolugo.hotelofferrequestcreator.CG7emkhL.min.js +0 -231
- package/dist/revolugo.hoteloffersearchmenu.DgYbtckm.min.js +0 -47
- package/dist/revolugo.pathify.CF3DF_XP.min.js +0 -58
- package/dist/revolugo.termsandconditions.BWJftZCJ.min.js +0 -420
- package/dist/revolugo.use-html-element.DgyiCLuP.min.js +0 -11
- package/dist/revolugo.vspacer.DxNikbPN.min.js +0 -7
@@ -1,43 +1,44 @@
|
|
1
|
-
import {
|
2
|
-
import { s as Ie
|
3
|
-
import { u as ft, h as
|
4
|
-
import { C as
|
5
|
-
import { B as Ct, _ as
|
6
|
-
import { _ as
|
7
|
-
import { V as X } from "./revolugo.vskeletonloader.
|
8
|
-
import {
|
9
|
-
import { _ as dt, a as
|
10
|
-
import { r as
|
11
|
-
import { u as
|
12
|
-
import { b as
|
13
|
-
import { V as at } from "./revolugo.vicon.
|
14
|
-
import { V as
|
15
|
-
import { B as kt } from "./revolugo.btag.
|
16
|
-
import { u as
|
17
|
-
import { V as
|
18
|
-
import { V as
|
19
|
-
import { _ as
|
20
|
-
import { V as
|
21
|
-
import { k as
|
1
|
+
import { aj as mt, k as G, by as x, H as f, bz as ne, d as W, u as Z, i as m, g as C, e as k, t as g, p as I, a as o, f as w, F as y, o as n, S as le, O as L, M as re, b as Nt, c as R, w as a, j as E, r as z, a1 as nt, a2 as lt, a6 as ct, bA as ue, aL as ce, b5 as de, D as M, m as me, l as fe, bB as ut, J as vt, K as ht, n as be, h as pe, B as Y, I as ke, E as ve, bC as Pt, q as pt, v as _t, s as he, C as gt, bD as ge, ah as ye, bE as yt, bF as Re, aa as Ut, an as Oe, af as tt, aV as Ce, ad as Be, bG as Se } from "./revolugo.index.wc.BzjxKm9K.min.js";
|
2
|
+
import { s as Ie } from "./revolugo.dates.DQToc-Zu.min.js";
|
3
|
+
import { u as ft, h as we } from "./revolugo.hotelroomofferrequestcreator.props.CV1b3F15.min.js";
|
4
|
+
import { C as Pe } from "./revolugo.cancellationpoliciesbadge.mxkumI4i.min.js";
|
5
|
+
import { B as Ct, _ as _e } from "./revolugo.bpricesummaryskeleton.8c6X82Hn.min.js";
|
6
|
+
import { _ as et, V as P, a as h, u as rt, l as jt, B as Bt, d as Te, q as He, s as Ve, b as Ee, g as Ae, e as Le } from "./revolugo.webcomponentwrapper.XqvBRD6a.min.js";
|
7
|
+
import { V as X } from "./revolugo.vskeletonloader.BTBm47P-.min.js";
|
8
|
+
import { _ as Ft, B as Gt } from "./revolugo.bhotelroomsdetails.BspNbZ48.min.js";
|
9
|
+
import { _ as dt, a as $e } from "./revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.C2bQrTH9.min.js";
|
10
|
+
import { r as De, a as qe, e as ze, L as Me, s as Ne, m as Ue, V as je } from "./revolugo.index.qisZC-QI.min.js";
|
11
|
+
import { u as Fe, m as Ge, V as Tt } from "./revolugo.vinput.Be9TwErW.min.js";
|
12
|
+
import { b as We, c as Ht, V as xe } from "./revolugo.vcheckboxbtn.DtbO_191.min.js";
|
13
|
+
import { V as at } from "./revolugo.vicon.ChjALOWz.min.js";
|
14
|
+
import { V as St, a as st, m as Ye } from "./revolugo.vbtn.CsZeeN8o.min.js";
|
15
|
+
import { B as kt } from "./revolugo.btag.BE3Ri1CO.min.js";
|
16
|
+
import { u as Ke } from "./revolugo.use-breakpoint-service.C-hjHtUg.min.js";
|
17
|
+
import { V as Ze } from "./revolugo.vselect.FSeFjW01.min.js";
|
18
|
+
import { V as Qe } from "./revolugo.vlist.CwdXG8X4.min.js";
|
19
|
+
import { _ as Je } from "./revolugo.cancellationpolicieslist.DEiFUBfm.min.js";
|
20
|
+
import { V as K } from "./revolugo.vdivider.BMaXASD1.min.js";
|
21
|
+
import { k as Xe, C as to } from "./revolugo.case-transformers.BZKgm7X9.min.js";
|
22
22
|
/* empty css */
|
23
|
-
import {
|
23
|
+
import { p as eo } from "./revolugo.pathify.CIND4Lom.min.js";
|
24
|
+
import { d as oo } from "./revolugo.defaultsdeep.D6A9dZfK.min.js";
|
24
25
|
import { f as ao } from "./revolugo.forwardrefs.VVhh1qV3.min.js";
|
25
|
-
import { V as
|
26
|
-
import { a as
|
27
|
-
function
|
26
|
+
import { V as Vt, m as so, a as Et, b as io } from "./revolugo.vwindowitem.C3s82jNI.min.js";
|
27
|
+
import { a as At, m as no } from "./revolugo.vslidegroup.CxPt62zw.min.js";
|
28
|
+
function ie(t) {
|
28
29
|
try {
|
29
30
|
if (typeof document < "u") {
|
30
31
|
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
31
32
|
sheets: [],
|
32
33
|
components: []
|
33
34
|
};
|
34
|
-
const e = import.meta.url,
|
35
|
-
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(
|
35
|
+
const e = import.meta.url, i = e.slice(0, e.lastIndexOf("/") + 1) + t;
|
36
|
+
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(i);
|
36
37
|
for (const s of REVOLUGO_ELEMENTS_STYLES.components)
|
37
|
-
s(
|
38
|
+
s(i);
|
38
39
|
if (t.indexOf("fonts") >= 0) {
|
39
40
|
const s = document.createElement("link");
|
40
|
-
s.rel = "stylesheet", linK.href =
|
41
|
+
s.rel = "stylesheet", linK.href = i, document.head.appendChild(s);
|
41
42
|
}
|
42
43
|
}
|
43
44
|
} catch (e) {
|
@@ -51,49 +52,49 @@ function lo(t) {
|
|
51
52
|
}
|
52
53
|
const ro = 4;
|
53
54
|
function uo(t, e) {
|
54
|
-
return t + lo(e).reduce((
|
55
|
+
return t + lo(e).reduce((i, s) => s >= ro ? i + 1 : i, 0);
|
55
56
|
}
|
56
57
|
function co(t, e) {
|
57
|
-
return e === void 0 ? Array.from({ length: t }, (
|
58
|
+
return e === void 0 ? Array.from({ length: t }, (i, s) => s) : Array.from({ length: e - t }, (i, s) => t + s);
|
58
59
|
}
|
59
60
|
function mo() {
|
60
|
-
const t = mt(), e = x
|
61
|
-
() => e.value ===
|
61
|
+
const t = mt(), e = G(x.Idle), i = f(
|
62
|
+
() => e.value === x.BookingPoliciesFetched
|
62
63
|
), s = f(
|
63
|
-
() => e.value ===
|
64
|
+
() => e.value === x.Unavailable
|
64
65
|
), r = f(
|
65
|
-
() => e.value ===
|
66
|
+
() => e.value === x.FetchingBookingPolicies
|
66
67
|
);
|
67
68
|
async function p({
|
68
69
|
addBreakfast: u,
|
69
70
|
hotelId: l,
|
70
71
|
hotelRoomOfferId: b
|
71
72
|
}) {
|
72
|
-
e.value =
|
73
|
+
e.value = x.FetchingBookingPolicies;
|
73
74
|
try {
|
74
75
|
await t.createBookingPolicies({
|
75
76
|
addBreakfast: u,
|
76
77
|
hotelId: l,
|
77
78
|
hotelRoomOfferId: b
|
78
|
-
}), e.value =
|
79
|
-
e.value =
|
79
|
+
}), e.value = x.Unavailable, setTimeout(() => {
|
80
|
+
e.value = x.Idle;
|
80
81
|
}, 1.5 * 1e3);
|
81
82
|
} catch {
|
82
|
-
e.value =
|
83
|
+
e.value = x.Unavailable;
|
83
84
|
}
|
84
85
|
}
|
85
86
|
return {
|
86
87
|
bookingState: e,
|
87
88
|
createBookingPolicy: p,
|
88
|
-
isBookingPoliciesSuccessful:
|
89
|
+
isBookingPoliciesSuccessful: i,
|
89
90
|
isBookingPoliciesUnavailable: s,
|
90
91
|
isFetchingBookingPolicies: r
|
91
92
|
};
|
92
93
|
}
|
93
|
-
function fo(t, e,
|
94
|
+
function fo(t, e, i) {
|
94
95
|
if (!t)
|
95
96
|
return e;
|
96
|
-
const s =
|
97
|
+
const s = i || ((r) => r);
|
97
98
|
if (typeof t == "string")
|
98
99
|
try {
|
99
100
|
return s(JSON.parse(t));
|
@@ -105,10 +106,10 @@ function fo(t, e, n) {
|
|
105
106
|
function bo({
|
106
107
|
cb: t,
|
107
108
|
fallbackValue: e,
|
108
|
-
prop:
|
109
|
+
prop: i
|
109
110
|
}) {
|
110
111
|
return f(() => {
|
111
|
-
const r = fo(
|
112
|
+
const r = fo(ne(i.value), e, t);
|
112
113
|
return r && oo(structuredClone(r), e || {});
|
113
114
|
});
|
114
115
|
}
|
@@ -118,7 +119,7 @@ const po = { class: "text-right" }, ko = {
|
|
118
119
|
}, vo = { class: "text-h6 text-grey-darken-3 font-weight-black" }, ho = {
|
119
120
|
key: 1,
|
120
121
|
class: "my-0 text-caption text-grey-darken-3 d-block"
|
121
|
-
}, go = { class: "text-caption d-block" }, Wt = /* @__PURE__ */
|
122
|
+
}, go = { class: "text-caption d-block" }, Wt = /* @__PURE__ */ W({
|
122
123
|
__name: "BPriceSummary",
|
123
124
|
props: {
|
124
125
|
adultCount: { default: 0 },
|
@@ -132,39 +133,39 @@ const po = { class: "text-right" }, ko = {
|
|
132
133
|
taxIncludedPrice: { default: void 0 }
|
133
134
|
},
|
134
135
|
setup(t) {
|
135
|
-
const e = t, { t:
|
136
|
-
return (r, p) => (
|
137
|
-
r.isStartingPrice ? (
|
136
|
+
const e = t, { t: i } = Z(), s = f(() => e.nightCount <= 0 || e.roomCount <= 0 ? e.price : e.price / e.roomCount / e.nightCount);
|
137
|
+
return (r, p) => (n(), m("div", po, [
|
138
|
+
r.isStartingPrice ? (n(), m("small", ko, g(I(i)("BPriceSummary.from")) + " ", 1)) : C("", !0),
|
138
139
|
k("b", vo, [
|
139
140
|
o(dt, {
|
140
141
|
amount: s.value,
|
141
142
|
"round-mode": r.roundMode
|
142
143
|
}, null, 8, ["amount", "round-mode"])
|
143
144
|
]),
|
144
|
-
(r.roomCount > 1 || r.nightCount > 1 || r.taxIncludedPrice !== r.price) && r.isTaxIncluded ? (
|
145
|
+
(r.roomCount > 1 || r.nightCount > 1 || r.taxIncludedPrice !== r.price) && r.isTaxIncluded ? (n(), m("span", ho, [
|
145
146
|
k("b", null, [
|
146
147
|
o(dt, {
|
147
148
|
amount: r.taxIncludedPrice,
|
148
149
|
"round-mode": r.roundMode
|
149
150
|
}, null, 8, ["amount", "round-mode"])
|
150
151
|
]),
|
151
|
-
w(" " + g(
|
152
|
-
rooms:
|
152
|
+
w(" " + g(I(i)("BPriceSummary.total")) + " " + g(I(i)("BPriceSummary.summary", {
|
153
|
+
rooms: I(i)("BPriceSummary.rooms", { n: r.roomCount })
|
153
154
|
})), 1)
|
154
155
|
])) : C("", !0),
|
155
156
|
k("span", go, [
|
156
|
-
r.taxIncludedPrice || r.price ? (
|
157
|
-
r.isTaxIncluded ? (
|
158
|
-
w(g(
|
159
|
-
], 64)) : (
|
160
|
-
w(g(
|
157
|
+
r.taxIncludedPrice || r.price ? (n(), m(y, { key: 0 }, [
|
158
|
+
r.isTaxIncluded ? (n(), m(y, { key: 0 }, [
|
159
|
+
w(g(I(i)("BPriceSummary.taxIncluded")), 1)
|
160
|
+
], 64)) : (n(), m(y, { key: 1 }, [
|
161
|
+
w(g(I(i)("BPriceSummary.taxNotIncluded")), 1)
|
161
162
|
], 64))
|
162
163
|
], 64)) : C("", !0)
|
163
164
|
])
|
164
165
|
]));
|
165
166
|
}
|
166
167
|
});
|
167
|
-
function
|
168
|
+
function Lt(t) {
|
168
169
|
const e = t;
|
169
170
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
170
171
|
locale: "",
|
@@ -270,19 +271,19 @@ function At(t) {
|
|
270
271
|
}
|
271
272
|
});
|
272
273
|
}
|
273
|
-
typeof
|
274
|
-
const Rt = /* @__PURE__ */
|
274
|
+
typeof Lt == "function" && Lt(Wt);
|
275
|
+
const Rt = /* @__PURE__ */ et(Wt, [["__scopeId", "data-v-9728292a"]]);
|
275
276
|
function yo(t, e) {
|
276
277
|
return e ? t.adultCount === e.adultCount && t.checkInDate === e.checkInDate && t.checkOutDate === e.checkOutDate && t.children === e.children && t.hotelId === e.hotelId && t.roomCount === e.roomCount && t.sourceMarket === e.sourceMarket : !1;
|
277
278
|
}
|
278
279
|
function Ro(t) {
|
279
|
-
const e = ft(),
|
280
|
+
const e = ft(), i = Ie(
|
280
281
|
t.checkInDate,
|
281
282
|
t.checkOutDate
|
282
|
-
), s =
|
283
|
+
), s = G({
|
283
284
|
adultCount: t.adultCount,
|
284
|
-
checkInDate:
|
285
|
-
checkOutDate:
|
285
|
+
checkInDate: i[0],
|
286
|
+
checkOutDate: i[1],
|
286
287
|
children: t.children ?? null,
|
287
288
|
hotelId: t.hotelId,
|
288
289
|
roomCount: t.roomCount,
|
@@ -299,7 +300,7 @@ function Ro(t) {
|
|
299
300
|
},
|
300
301
|
300
|
301
302
|
);
|
302
|
-
|
303
|
+
L(
|
303
304
|
() => {
|
304
305
|
const l = r.value;
|
305
306
|
return l ? [
|
@@ -323,7 +324,7 @@ function Ro(t) {
|
|
323
324
|
sourceMarket: l.sourceMarket
|
324
325
|
});
|
325
326
|
}
|
326
|
-
),
|
327
|
+
), L(
|
327
328
|
() => t.adultCount,
|
328
329
|
(l) => {
|
329
330
|
s.value = {
|
@@ -331,7 +332,7 @@ function Ro(t) {
|
|
331
332
|
adultCount: l
|
332
333
|
};
|
333
334
|
}
|
334
|
-
),
|
335
|
+
), L(
|
335
336
|
() => t.checkInDate,
|
336
337
|
(l) => {
|
337
338
|
s.value = {
|
@@ -339,7 +340,7 @@ function Ro(t) {
|
|
339
340
|
checkInDate: l
|
340
341
|
};
|
341
342
|
}
|
342
|
-
),
|
343
|
+
), L(
|
343
344
|
() => t.checkOutDate,
|
344
345
|
(l) => {
|
345
346
|
s.value = {
|
@@ -347,7 +348,7 @@ function Ro(t) {
|
|
347
348
|
checkOutDate: l
|
348
349
|
};
|
349
350
|
}
|
350
|
-
),
|
351
|
+
), L(
|
351
352
|
() => t.children,
|
352
353
|
(l) => {
|
353
354
|
s.value = {
|
@@ -355,7 +356,7 @@ function Ro(t) {
|
|
355
356
|
children: l ?? null
|
356
357
|
};
|
357
358
|
}
|
358
|
-
),
|
359
|
+
), L(
|
359
360
|
() => t.hotelId,
|
360
361
|
(l, b) => {
|
361
362
|
b && e.deleteHotelRoomOfferRequest(b), s.value = {
|
@@ -363,7 +364,7 @@ function Ro(t) {
|
|
363
364
|
hotelId: l
|
364
365
|
}, p();
|
365
366
|
}
|
366
|
-
),
|
367
|
+
), L(
|
367
368
|
() => t.roomCount,
|
368
369
|
(l) => {
|
369
370
|
s.value = {
|
@@ -371,7 +372,7 @@ function Ro(t) {
|
|
371
372
|
roomCount: l
|
372
373
|
};
|
373
374
|
}
|
374
|
-
),
|
375
|
+
), L(
|
375
376
|
() => t.sourceMarket,
|
376
377
|
(l) => {
|
377
378
|
s.value = {
|
@@ -383,13 +384,13 @@ function Ro(t) {
|
|
383
384
|
const u = () => {
|
384
385
|
e.resetHotelRoomOfferRequest(t.hotelId), p();
|
385
386
|
};
|
386
|
-
return
|
387
|
+
return L(
|
387
388
|
() => s.value,
|
388
389
|
() => {
|
389
390
|
p();
|
390
391
|
},
|
391
392
|
{ deep: !0, immediate: !0 }
|
392
|
-
),
|
393
|
+
), L(
|
393
394
|
() => re(),
|
394
395
|
() => {
|
395
396
|
u();
|
@@ -400,25 +401,25 @@ function Ro(t) {
|
|
400
401
|
hotelRoomOfferRequestInternal: s
|
401
402
|
};
|
402
403
|
}
|
403
|
-
const Oo =
|
404
|
+
const Oo = W({
|
404
405
|
components: {
|
405
406
|
BPriceSummarySkeleton: Ct
|
406
407
|
},
|
407
|
-
mixins: [
|
408
|
+
mixins: [Nt],
|
408
409
|
name: "HotelRoomOfferLayout",
|
409
410
|
props: {
|
410
411
|
boilerplate: { type: Boolean }
|
411
412
|
},
|
412
413
|
setup() {
|
413
|
-
const { t } =
|
414
|
+
const { t } = Z();
|
414
415
|
return {
|
415
416
|
t
|
416
417
|
};
|
417
418
|
}
|
418
419
|
}), Co = { class: "d-flex justify-end" };
|
419
|
-
function Bo(t, e,
|
420
|
-
const u =
|
421
|
-
return
|
420
|
+
function Bo(t, e, i, s, r, p) {
|
421
|
+
const u = z("BPriceSummarySkeleton");
|
422
|
+
return n(), R(P, {
|
422
423
|
class: "px-2 py-3 pa-sm-4 px-md-3",
|
423
424
|
"no-gutters": ""
|
424
425
|
}, {
|
@@ -435,7 +436,7 @@ function Bo(t, e, n, s, r, p) {
|
|
435
436
|
default: a(() => [
|
436
437
|
o(h, { cols: "12" }, {
|
437
438
|
default: a(() => [
|
438
|
-
|
439
|
+
E(t.$slots, "room-details", {}, () => [
|
439
440
|
o(X, {
|
440
441
|
boilerplate: t.boilerplate,
|
441
442
|
class: "mt-1",
|
@@ -462,14 +463,14 @@ function Bo(t, e, n, s, r, p) {
|
|
462
463
|
style: { gap: "0.3em" }
|
463
464
|
}, {
|
464
465
|
default: a(() => [
|
465
|
-
|
466
|
-
|
466
|
+
E(t.$slots, "breakfast-option-badge"),
|
467
|
+
E(t.$slots, "cancellation-policies")
|
467
468
|
]),
|
468
469
|
_: 3
|
469
470
|
}),
|
470
471
|
o(h, { cols: "12" }, {
|
471
472
|
default: a(() => [
|
472
|
-
|
473
|
+
E(t.$slots, "breakfast-option-switch")
|
473
474
|
]),
|
474
475
|
_: 3
|
475
476
|
})
|
@@ -487,15 +488,15 @@ function Bo(t, e, n, s, r, p) {
|
|
487
488
|
sm: "5"
|
488
489
|
}, {
|
489
490
|
default: a(() => [
|
490
|
-
|
491
|
-
|
491
|
+
E(t.$slots, "package-type"),
|
492
|
+
E(t.$slots, "price-summary", {}, () => [
|
492
493
|
o(u, {
|
493
494
|
boilerplate: t.boilerplate,
|
494
495
|
class: "mt-2"
|
495
496
|
}, null, 8, ["boilerplate"])
|
496
497
|
]),
|
497
498
|
k("div", Co, [
|
498
|
-
|
499
|
+
E(t.$slots, "action", {}, () => [
|
499
500
|
o(X, {
|
500
501
|
class: "mt-2",
|
501
502
|
boilerplate: t.boilerplate,
|
@@ -513,7 +514,7 @@ function Bo(t, e, n, s, r, p) {
|
|
513
514
|
_: 3
|
514
515
|
});
|
515
516
|
}
|
516
|
-
const
|
517
|
+
const It = /* @__PURE__ */ et(Oo, [["render", Bo]]), So = lt({
|
517
518
|
indeterminate: Boolean,
|
518
519
|
inset: Boolean,
|
519
520
|
flat: Boolean,
|
@@ -521,9 +522,9 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
521
522
|
type: [Boolean, String],
|
522
523
|
default: !1
|
523
524
|
},
|
524
|
-
...
|
525
|
-
...
|
526
|
-
}, "VSwitch"), Io =
|
525
|
+
...Ge(),
|
526
|
+
...We()
|
527
|
+
}, "VSwitch"), Io = nt()({
|
527
528
|
name: "VSwitch",
|
528
529
|
inheritAttrs: !1,
|
529
530
|
props: So(),
|
@@ -534,25 +535,25 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
534
535
|
},
|
535
536
|
setup(t, e) {
|
536
537
|
let {
|
537
|
-
attrs:
|
538
|
+
attrs: i,
|
538
539
|
slots: s
|
539
540
|
} = e;
|
540
541
|
const r = ct(t, "indeterminate"), p = ct(t, "modelValue"), {
|
541
542
|
loaderClasses: u
|
542
|
-
} =
|
543
|
+
} = De(t), {
|
543
544
|
isFocused: l,
|
544
545
|
focus: b,
|
545
546
|
blur: c
|
546
|
-
} =
|
547
|
+
} = Fe(t), S = G(), H = ue && window.matchMedia("(forced-colors: active)").matches, v = f(() => typeof t.loading == "string" && t.loading !== "" ? t.loading : t.color), _ = ce(), q = f(() => t.id || `switch-${_}`);
|
547
548
|
function Q() {
|
548
549
|
r.value && (r.value = !1);
|
549
550
|
}
|
550
|
-
function
|
551
|
-
|
551
|
+
function $(V) {
|
552
|
+
V.stopPropagation(), V.preventDefault(), S.value?.input?.click();
|
552
553
|
}
|
553
554
|
return rt(() => {
|
554
|
-
const [
|
555
|
-
return o(
|
555
|
+
const [V, j] = de(i), N = Tt.filterProps(t), J = Ht.filterProps(t);
|
556
|
+
return o(Tt, M({
|
556
557
|
class: ["v-switch", {
|
557
558
|
"v-switch--flat": t.flat
|
558
559
|
}, {
|
@@ -560,10 +561,10 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
560
561
|
}, {
|
561
562
|
"v-switch--indeterminate": r.value
|
562
563
|
}, u.value, t.class]
|
563
|
-
},
|
564
|
+
}, V, N, {
|
564
565
|
modelValue: p.value,
|
565
566
|
"onUpdate:modelValue": (B) => p.value = B,
|
566
|
-
id:
|
567
|
+
id: q.value,
|
567
568
|
focused: l.value,
|
568
569
|
style: t.style
|
569
570
|
}), {
|
@@ -571,9 +572,9 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
571
572
|
default: (B) => {
|
572
573
|
let {
|
573
574
|
id: A,
|
574
|
-
messagesId:
|
575
|
+
messagesId: F,
|
575
576
|
isDisabled: U,
|
576
|
-
isReadonly:
|
577
|
+
isReadonly: it,
|
577
578
|
isValid: ot
|
578
579
|
} = B;
|
579
580
|
const d = {
|
@@ -581,29 +582,29 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
581
582
|
isValid: ot
|
582
583
|
};
|
583
584
|
return o(Ht, M({
|
584
|
-
ref:
|
585
|
+
ref: S
|
585
586
|
}, J, {
|
586
587
|
modelValue: p.value,
|
587
|
-
"onUpdate:modelValue": [(
|
588
|
+
"onUpdate:modelValue": [(T) => p.value = T, Q],
|
588
589
|
id: A.value,
|
589
|
-
"aria-describedby":
|
590
|
+
"aria-describedby": F.value,
|
590
591
|
type: "checkbox",
|
591
592
|
"aria-checked": r.value ? "mixed" : void 0,
|
592
593
|
disabled: U.value,
|
593
|
-
readonly:
|
594
|
+
readonly: it.value,
|
594
595
|
onFocus: b,
|
595
596
|
onBlur: c
|
596
|
-
},
|
597
|
+
}, j), {
|
597
598
|
...s,
|
598
|
-
default: (
|
599
|
+
default: (T) => {
|
599
600
|
let {
|
600
601
|
backgroundColorClasses: O,
|
601
|
-
backgroundColorStyles:
|
602
|
-
} =
|
602
|
+
backgroundColorStyles: D
|
603
|
+
} = T;
|
603
604
|
return o("div", {
|
604
|
-
class: ["v-switch__track",
|
605
|
-
style:
|
606
|
-
onClick:
|
605
|
+
class: ["v-switch__track", H ? void 0 : O.value],
|
606
|
+
style: D.value,
|
607
|
+
onClick: $
|
607
608
|
}, [s["track-true"] && o("div", {
|
608
609
|
key: "prepend",
|
609
610
|
class: "v-switch__track-true"
|
@@ -612,46 +613,46 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
612
613
|
class: "v-switch__track-false"
|
613
614
|
}, [s["track-false"](d)])]);
|
614
615
|
},
|
615
|
-
input: (
|
616
|
+
input: (T) => {
|
616
617
|
let {
|
617
618
|
inputNode: O,
|
618
|
-
icon:
|
619
|
+
icon: D,
|
619
620
|
backgroundColorClasses: ae,
|
620
621
|
backgroundColorStyles: se
|
621
|
-
} =
|
622
|
+
} = T;
|
622
623
|
return o(y, null, [O, o("div", {
|
623
624
|
class: ["v-switch__thumb", {
|
624
|
-
"v-switch__thumb--filled":
|
625
|
-
}, t.inset ||
|
625
|
+
"v-switch__thumb--filled": D || t.loading
|
626
|
+
}, t.inset || H ? void 0 : ae.value],
|
626
627
|
style: t.inset ? void 0 : se.value
|
627
|
-
}, [s.thumb ? o(
|
628
|
+
}, [s.thumb ? o(qe, {
|
628
629
|
defaults: {
|
629
630
|
VIcon: {
|
630
|
-
icon:
|
631
|
+
icon: D,
|
631
632
|
size: "x-small"
|
632
633
|
}
|
633
634
|
}
|
634
635
|
}, {
|
635
636
|
default: () => [s.thumb({
|
636
637
|
...d,
|
637
|
-
icon:
|
638
|
+
icon: D
|
638
639
|
})]
|
639
|
-
}) : o(
|
640
|
-
default: () => [t.loading ? o(
|
640
|
+
}) : o(ze, null, {
|
641
|
+
default: () => [t.loading ? o(Me, {
|
641
642
|
name: "v-switch",
|
642
643
|
active: !0,
|
643
644
|
color: ot.value === !1 ? void 0 : v.value
|
644
645
|
}, {
|
645
|
-
default: (bt) => s.loader ? s.loader(bt) : o(
|
646
|
+
default: (bt) => s.loader ? s.loader(bt) : o(St, {
|
646
647
|
active: bt.isActive,
|
647
648
|
color: bt.color,
|
648
649
|
indeterminate: !0,
|
649
650
|
size: "16",
|
650
651
|
width: "2"
|
651
652
|
}, null)
|
652
|
-
}) :
|
653
|
-
key: String(
|
654
|
-
icon:
|
653
|
+
}) : D && o(at, {
|
654
|
+
key: String(D),
|
655
|
+
icon: D,
|
655
656
|
size: "x-small"
|
656
657
|
}, null)]
|
657
658
|
})])]);
|
@@ -661,7 +662,7 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
661
662
|
});
|
662
663
|
}), {};
|
663
664
|
}
|
664
|
-
}), wo = { class: "text-caption ml-n3" }, Po = { class: "mr-2" }, _o = ["innerHTML"], xt = /* @__PURE__ */
|
665
|
+
}), wo = { class: "text-caption ml-n3" }, Po = { class: "mr-2" }, _o = ["innerHTML"], xt = /* @__PURE__ */ W({
|
665
666
|
__name: "BBreakfastSwitch",
|
666
667
|
props: /* @__PURE__ */ me({
|
667
668
|
isLoading: { type: Boolean },
|
@@ -673,14 +674,14 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
673
674
|
}),
|
674
675
|
emits: ["update:modelValue"],
|
675
676
|
setup(t) {
|
676
|
-
const { locale: e, t:
|
677
|
-
() =>
|
677
|
+
const { locale: e, t: i } = Z(), s = fe(t, "modelValue"), r = f(
|
678
|
+
() => $e({
|
678
679
|
amount: t.price,
|
679
680
|
currency: t.currency,
|
680
681
|
locale: e.value
|
681
682
|
})
|
682
683
|
);
|
683
|
-
return (p, u) => (
|
684
|
+
return (p, u) => (n(), R(Io, {
|
684
685
|
modelValue: s.value,
|
685
686
|
"onUpdate:modelValue": u[0] || (u[0] = (l) => s.value = l),
|
686
687
|
class: "ma-0 pa-0 breakfast-switch d-inline-block",
|
@@ -702,9 +703,9 @@ const St = /* @__PURE__ */ tt(Oo, [["render", Bo]]), So = lt({
|
|
702
703
|
__: [1]
|
703
704
|
}),
|
704
705
|
u[2] || (u[2] = w(" ")),
|
705
|
-
k("span", Po, g(
|
706
|
+
k("span", Po, g(I(i)("BBreakfastSwitch.title")), 1),
|
706
707
|
k("span", {
|
707
|
-
innerHTML:
|
708
|
+
innerHTML: I(i)("BBreakfastSwitch.price", { n: r.value }).replace(
|
708
709
|
/\s/gu,
|
709
710
|
" "
|
710
711
|
)
|
@@ -766,7 +767,7 @@ function $t(t) {
|
|
766
767
|
});
|
767
768
|
}
|
768
769
|
typeof $t == "function" && $t(xt);
|
769
|
-
const Yt = /* @__PURE__ */
|
770
|
+
const Yt = /* @__PURE__ */ et(xt, [["__scopeId", "data-v-1e4b5568"]]), To = {
|
770
771
|
breakfastCount: {
|
771
772
|
type: Number
|
772
773
|
},
|
@@ -804,37 +805,37 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
804
805
|
tags: { type: Array },
|
805
806
|
taxIncludedPrice: { required: !0, type: Number },
|
806
807
|
type: { type: String }
|
807
|
-
},
|
808
|
+
}, Ho = { key: 0 }, Vo = {
|
808
809
|
class: "align-self-center d-flex flex-wrap",
|
809
810
|
style: { gap: "0.3em" }
|
810
|
-
},
|
811
|
+
}, Eo = {
|
811
812
|
class: "align-self-center d-inline-flex flex-wrap",
|
812
813
|
style: { gap: "0.3em" }
|
813
|
-
}, Ao = { class: "text-caption" },
|
814
|
+
}, Ao = { class: "text-caption" }, Lo = { key: 0 }, $o = { key: 1 }, Kt = /* @__PURE__ */ W({
|
814
815
|
__name: "HotelRoomOfferItem",
|
815
|
-
props:
|
816
|
+
props: To,
|
816
817
|
emits: ["breakfast-change", "update:modelValue", "booking-policy-failed"],
|
817
818
|
setup(t, { emit: e }) {
|
818
|
-
const
|
819
|
-
|
819
|
+
const i = t, { t: s } = Z(), { eventBus: r } = ke(), p = e, u = G(
|
820
|
+
i.breakfastCount && i.breakfastCount > 0 || !1
|
820
821
|
);
|
821
|
-
|
822
|
+
L(u, (d) => {
|
822
823
|
p("breakfast-change", {
|
823
824
|
addBreakfast: d,
|
824
|
-
hotelId:
|
825
|
-
id:
|
825
|
+
hotelId: i.hotelId,
|
826
|
+
id: i.id
|
826
827
|
});
|
827
828
|
});
|
828
829
|
const l = ft(), b = mt(), c = f(
|
829
|
-
() => l.hotelRoomOfferRequest(
|
830
|
-
),
|
831
|
-
() =>
|
830
|
+
() => l.hotelRoomOfferRequest(i.hotelId)
|
831
|
+
), S = f(() => c.value?.adultCount), H = f(() => c.value?.checkInDate), v = f(
|
832
|
+
() => i.count ? co(i.count + 1) : []
|
832
833
|
), _ = f(
|
833
|
-
() => b.hotelTimezone(
|
834
|
-
),
|
835
|
-
() => l.nightCount(
|
834
|
+
() => b.hotelTimezone(i.hotelId)
|
835
|
+
), q = f(
|
836
|
+
() => l.nightCount(i.hotelId)
|
836
837
|
), Q = f(() => {
|
837
|
-
switch (
|
838
|
+
switch (i.packageType) {
|
838
839
|
case ut.Cheapest:
|
839
840
|
return "red";
|
840
841
|
case ut.BestMatch:
|
@@ -845,78 +846,78 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
845
846
|
default:
|
846
847
|
return "";
|
847
848
|
}
|
848
|
-
}),
|
849
|
-
() =>
|
850
|
-
),
|
849
|
+
}), $ = f(
|
850
|
+
() => i.hotelRooms.reduce((d, T) => d + (T.count || 0), 0)
|
851
|
+
), V = f({
|
851
852
|
get() {
|
852
|
-
return
|
853
|
+
return i.modelValue;
|
853
854
|
},
|
854
855
|
set(d) {
|
855
856
|
p("update:modelValue", d);
|
856
857
|
}
|
857
|
-
}),
|
858
|
-
() =>
|
858
|
+
}), j = f(
|
859
|
+
() => i.tags?.filter((d) => d.name.length > 30) || []
|
859
860
|
), N = f(
|
860
|
-
() =>
|
861
|
+
() => i.tags?.filter((d) => d.name.length < 30) || []
|
861
862
|
), {
|
862
863
|
bookingState: J,
|
863
864
|
createBookingPolicy: B,
|
864
865
|
isBookingPoliciesSuccessful: A,
|
865
|
-
isBookingPoliciesUnavailable:
|
866
|
+
isBookingPoliciesUnavailable: F,
|
866
867
|
isFetchingBookingPolicies: U
|
867
868
|
} = mo();
|
868
|
-
|
869
|
-
d ===
|
869
|
+
L(J, (d) => {
|
870
|
+
d === x.Unavailable && p("booking-policy-failed", i.id);
|
870
871
|
});
|
871
|
-
async function
|
872
|
+
async function it() {
|
872
873
|
const d = {
|
873
|
-
...
|
874
|
-
currency:
|
874
|
+
...i,
|
875
|
+
currency: i.currency
|
875
876
|
};
|
876
877
|
r.$emit(ve.HotelRoomOffersBtnClick, d), await B({
|
877
878
|
addBreakfast: u.value,
|
878
|
-
hotelId:
|
879
|
-
hotelRoomOfferId:
|
879
|
+
hotelId: i.hotelId,
|
880
|
+
hotelRoomOfferId: i.id
|
880
881
|
});
|
881
882
|
}
|
882
|
-
const ot =
|
883
|
-
return
|
883
|
+
const ot = G(null);
|
884
|
+
return Ke(ot), (d, T) => (n(), m("div", {
|
884
885
|
class: "position-relative",
|
885
886
|
ref_key: "root",
|
886
887
|
ref: ot
|
887
888
|
}, [
|
888
|
-
o(
|
889
|
+
o(It, { key: "is-available" }, {
|
889
890
|
"room-details": a(() => [
|
890
891
|
o(Gt, {
|
891
892
|
"hotel-rooms": d.hotelRooms
|
892
893
|
}, null, 8, ["hotel-rooms"])
|
893
894
|
]),
|
894
895
|
"package-type": a(() => [
|
895
|
-
d.type === "PACKAGE" && d.packageType !== "REGULAR" ? (
|
896
|
+
d.type === "PACKAGE" && d.packageType !== "REGULAR" ? (n(), R(kt, {
|
896
897
|
key: 0,
|
897
898
|
class: "mb-3",
|
898
899
|
color: Q.value,
|
899
900
|
variant: "outlined"
|
900
901
|
}, {
|
901
902
|
description: a(() => [
|
902
|
-
w(g(
|
903
|
+
w(g(I(s)(
|
903
904
|
`HotelRoomOfferItem.packageTypes.${d.packageType}.description`,
|
904
|
-
{ n:
|
905
|
+
{ n: S.value }
|
905
906
|
)), 1)
|
906
907
|
]),
|
907
908
|
default: a(() => [
|
908
|
-
w(g(
|
909
|
-
n:
|
909
|
+
w(g(I(s)(`HotelRoomOfferItem.packageTypes.${d.packageType}.title`, {
|
910
|
+
n: S.value
|
910
911
|
})) + " ", 1)
|
911
912
|
]),
|
912
913
|
_: 1
|
913
914
|
}, 8, ["color"])) : C("", !0)
|
914
915
|
]),
|
915
916
|
"cancellation-policies": a(() => [
|
916
|
-
o(
|
917
|
+
o(Pe, {
|
917
918
|
class: "mt-2",
|
918
919
|
"cancellation-policies": d.cancellationPolicies,
|
919
|
-
"check-in-date":
|
920
|
+
"check-in-date": H.value,
|
920
921
|
timezone: _.value
|
921
922
|
}, null, 8, ["cancellation-policies", "check-in-date", "timezone"])
|
922
923
|
]),
|
@@ -927,10 +928,10 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
927
928
|
}, null, 8, ["breakfast-option", "breakfastCount"])
|
928
929
|
]),
|
929
930
|
"breakfast-option-switch": a(() => [
|
930
|
-
d.type !== "HOTEL_ROOM" && d.breakfastOption === "OPTIONAL" ? (
|
931
|
+
d.type !== "HOTEL_ROOM" && d.breakfastOption === "OPTIONAL" ? (n(), m("div", Ho, [
|
931
932
|
o(Yt, {
|
932
933
|
modelValue: u.value,
|
933
|
-
"onUpdate:modelValue":
|
934
|
+
"onUpdate:modelValue": T[0] || (T[0] = (O) => u.value = O),
|
934
935
|
class: "mt-3 pl-1",
|
935
936
|
currency: d.currency,
|
936
937
|
"is-loading": d.isLoading,
|
@@ -939,9 +940,9 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
939
940
|
])) : C("", !0)
|
940
941
|
]),
|
941
942
|
"big-tags": a(() => [
|
942
|
-
k("div",
|
943
|
-
(
|
944
|
-
key:
|
943
|
+
k("div", Vo, [
|
944
|
+
(n(!0), m(y, null, Y(j.value, (O, D) => (n(), R(kt, {
|
945
|
+
key: D,
|
945
946
|
color: O.bg,
|
946
947
|
"pre-icon": `fa-${O.faIcon}`,
|
947
948
|
"text-color": O.color,
|
@@ -955,9 +956,9 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
955
956
|
])
|
956
957
|
]),
|
957
958
|
tags: a(() => [
|
958
|
-
k("div",
|
959
|
-
(
|
960
|
-
key:
|
959
|
+
k("div", Eo, [
|
960
|
+
(n(!0), m(y, null, Y(N.value, (O, D) => (n(), R(kt, {
|
961
|
+
key: D,
|
961
962
|
color: O.bg,
|
962
963
|
"pre-icon": `fa-${O.faIcon}`,
|
963
964
|
"text-color": O.color,
|
@@ -971,7 +972,7 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
971
972
|
])
|
972
973
|
]),
|
973
974
|
"price-summary": a(() => [
|
974
|
-
d.type === "HOTEL_ROOM" ? (
|
975
|
+
d.type === "HOTEL_ROOM" ? (n(), m(y, { key: 0 }, [
|
975
976
|
o(P, {
|
976
977
|
class: "mt-md-8",
|
977
978
|
"no-gutters": ""
|
@@ -1004,9 +1005,9 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
1004
1005
|
}, {
|
1005
1006
|
default: a(() => [
|
1006
1007
|
k("div", null, [
|
1007
|
-
o(
|
1008
|
-
modelValue:
|
1009
|
-
"onUpdate:modelValue":
|
1008
|
+
o(Ze, {
|
1009
|
+
modelValue: V.value,
|
1010
|
+
"onUpdate:modelValue": T[1] || (T[1] = (O) => V.value = O),
|
1010
1011
|
class: "item-count mt-2",
|
1011
1012
|
density: "compact",
|
1012
1013
|
"hide-details": "",
|
@@ -1016,17 +1017,17 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
1016
1017
|
},
|
1017
1018
|
variant: "outlined"
|
1018
1019
|
}, {
|
1019
|
-
item: a(({ item: O, props:
|
1020
|
-
o(
|
1020
|
+
item: a(({ item: O, props: D }) => [
|
1021
|
+
o(Qe, be(pe(D)), {
|
1021
1022
|
title: a(() => [
|
1022
1023
|
k("span", Ao, [
|
1023
1024
|
w(g(O.raw) + " ", 1),
|
1024
|
-
O.raw ? (
|
1025
|
-
|
1025
|
+
O.raw ? (n(), m(y, { key: 0 }, [
|
1026
|
+
T[2] || (T[2] = w(" (")),
|
1026
1027
|
o(dt, {
|
1027
1028
|
amount: O.raw * d.price
|
1028
1029
|
}, null, 8, ["amount"]),
|
1029
|
-
|
1030
|
+
T[3] || (T[3] = w(") "))
|
1030
1031
|
], 64)) : C("", !0)
|
1031
1032
|
])
|
1032
1033
|
]),
|
@@ -1042,47 +1043,47 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
1042
1043
|
]),
|
1043
1044
|
_: 1
|
1044
1045
|
})
|
1045
|
-
], 64)) : (
|
1046
|
+
], 64)) : (n(), R(Rt, {
|
1046
1047
|
key: 1,
|
1047
|
-
"adult-count":
|
1048
|
+
"adult-count": S.value,
|
1048
1049
|
class: "text-right",
|
1049
1050
|
"is-tax-included": "",
|
1050
|
-
"night-count":
|
1051
|
+
"night-count": q.value ?? 0,
|
1051
1052
|
price: d.price,
|
1052
|
-
"room-count":
|
1053
|
+
"room-count": $.value,
|
1053
1054
|
"round-mode": "ceil",
|
1054
1055
|
"tax-included-price": d.taxIncludedPrice
|
1055
1056
|
}, null, 8, ["adult-count", "night-count", "price", "room-count", "tax-included-price"]))
|
1056
1057
|
]),
|
1057
1058
|
action: a(() => [
|
1058
|
-
d.type === "PACKAGE" ? (
|
1059
|
+
d.type === "PACKAGE" ? (n(), R(st, {
|
1059
1060
|
key: 0,
|
1060
1061
|
class: "text-none font-weight-bold book-btn w-100 w-sm-auto",
|
1061
|
-
color:
|
1062
|
-
disabled:
|
1062
|
+
color: I(A) ? "success" : "primary",
|
1063
|
+
disabled: I(U) || I(F) || d.isLoading,
|
1063
1064
|
elevation: "0",
|
1064
|
-
loading:
|
1065
|
+
loading: I(U),
|
1065
1066
|
size: "small",
|
1066
|
-
onClick:
|
1067
|
+
onClick: it
|
1067
1068
|
}, {
|
1068
1069
|
default: a(() => [
|
1069
|
-
|
1070
|
+
I(A) ? C("", !0) : (n(), m("span", Lo, g(I(s)("HotelRoomOfferItem.book")), 1)),
|
1070
1071
|
vt(o(at, { class: "position-absolute" }, {
|
1071
|
-
default: a(() =>
|
1072
|
+
default: a(() => T[4] || (T[4] = [
|
1072
1073
|
w(" fas fa-check ")
|
1073
1074
|
])),
|
1074
1075
|
_: 1,
|
1075
1076
|
__: [4]
|
1076
1077
|
}, 512), [
|
1077
|
-
[ht,
|
1078
|
+
[ht, I(A)]
|
1078
1079
|
])
|
1079
1080
|
]),
|
1080
1081
|
_: 1
|
1081
|
-
}, 8, ["color", "disabled", "loading"])) : (
|
1082
|
+
}, 8, ["color", "disabled", "loading"])) : (n(), m("span", $o))
|
1082
1083
|
]),
|
1083
1084
|
_: 1
|
1084
1085
|
}),
|
1085
|
-
d.isLoading ? (
|
1086
|
+
d.isLoading ? (n(), R(jt, {
|
1086
1087
|
key: 0,
|
1087
1088
|
absolute: "",
|
1088
1089
|
class: "mx-n4",
|
@@ -1090,7 +1091,7 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
1090
1091
|
opacity: "0.75"
|
1091
1092
|
}, {
|
1092
1093
|
default: a(() => [
|
1093
|
-
o(
|
1094
|
+
o(St, {
|
1094
1095
|
color: "primary",
|
1095
1096
|
indeterminate: "",
|
1096
1097
|
size: "64"
|
@@ -1098,22 +1099,22 @@ const Yt = /* @__PURE__ */ tt(xt, [["__scopeId", "data-v-1e4b5568"]]), Ho = {
|
|
1098
1099
|
]),
|
1099
1100
|
_: 1
|
1100
1101
|
})) : C("", !0),
|
1101
|
-
|
1102
|
+
I(F) || d.gone ? (n(), R(Bt, {
|
1102
1103
|
key: 1,
|
1103
1104
|
"margin-top": 16
|
1104
1105
|
}, {
|
1105
1106
|
title: a(() => [
|
1106
|
-
w(g(
|
1107
|
+
w(g(I(s)("HotelRoomOfferItem.unavailable.title")), 1)
|
1107
1108
|
]),
|
1108
1109
|
description: a(() => [
|
1109
|
-
w(g(
|
1110
|
+
w(g(I(s)("HotelRoomOfferItem.unavailable.description")), 1)
|
1110
1111
|
]),
|
1111
1112
|
_: 1
|
1112
1113
|
})) : C("", !0)
|
1113
1114
|
], 512));
|
1114
1115
|
}
|
1115
1116
|
});
|
1116
|
-
function
|
1117
|
+
function Dt(t) {
|
1117
1118
|
const e = t;
|
1118
1119
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
1119
1120
|
locale: "",
|
@@ -1282,194 +1283,182 @@ function Lt(t) {
|
|
1282
1283
|
}
|
1283
1284
|
});
|
1284
1285
|
}
|
1285
|
-
typeof
|
1286
|
-
const Zt = /* @__PURE__ */
|
1287
|
-
|
1288
|
-
|
1289
|
-
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1293
|
-
|
1294
|
-
|
1295
|
-
|
1296
|
-
|
1297
|
-
|
1298
|
-
|
1299
|
-
|
1300
|
-
|
1301
|
-
|
1302
|
-
|
1303
|
-
|
1304
|
-
|
1305
|
-
|
1306
|
-
default: a(() => [
|
1307
|
-
o(h, null, {
|
1308
|
-
default: a(() => [
|
1309
|
-
k("div", qo, [
|
1310
|
-
V(t.$slots, "title", {}, () => [
|
1311
|
-
o(X, {
|
1312
|
-
height: "18px",
|
1313
|
-
tile: "",
|
1314
|
-
type: "heading",
|
1315
|
-
width: "200px"
|
1316
|
-
})
|
1286
|
+
typeof Dt == "function" && Dt(Kt);
|
1287
|
+
const Zt = /* @__PURE__ */ et(Kt, [["__scopeId", "data-v-58661fe0"]]), Do = { class: "text-subtitle-1 font-weight-black text-primary d-flex justify-end" }, qo = { class: "text-caption d-flex justify-end py-2" }, zo = { class: "mt-3 d-flex justify-start align-center" }, Mo = { class: "pt-4" }, No = /* @__PURE__ */ W({
|
1288
|
+
__name: "BBasketSummaryLayout",
|
1289
|
+
setup(t) {
|
1290
|
+
return (e, i) => (n(), R(P, { class: "px-2" }, {
|
1291
|
+
default: a(() => [
|
1292
|
+
o(h, null, {
|
1293
|
+
default: a(() => [
|
1294
|
+
o(P, null, {
|
1295
|
+
default: a(() => [
|
1296
|
+
o(h, null, {
|
1297
|
+
default: a(() => [
|
1298
|
+
k("div", Do, [
|
1299
|
+
E(e.$slots, "title", {}, () => [
|
1300
|
+
o(X, {
|
1301
|
+
height: "18px",
|
1302
|
+
tile: "",
|
1303
|
+
type: "heading",
|
1304
|
+
width: "200px"
|
1305
|
+
})
|
1306
|
+
])
|
1317
1307
|
])
|
1318
|
-
])
|
1319
|
-
|
1320
|
-
|
1321
|
-
|
1308
|
+
]),
|
1309
|
+
_: 3
|
1310
|
+
})
|
1311
|
+
]),
|
1312
|
+
_: 3
|
1313
|
+
}),
|
1314
|
+
o(P, null, {
|
1315
|
+
default: a(() => [
|
1316
|
+
o(h, null, {
|
1317
|
+
default: a(() => [
|
1318
|
+
k("div", qo, [
|
1319
|
+
E(e.$slots, "adult-count", {}, () => [
|
1320
|
+
o(X, {
|
1321
|
+
tile: "",
|
1322
|
+
type: "text",
|
1323
|
+
width: "150px"
|
1324
|
+
})
|
1325
|
+
])
|
1326
|
+
]),
|
1327
|
+
k("div", zo, [
|
1328
|
+
E(e.$slots, "secondary-title", {}, () => [
|
1329
|
+
o(X, {
|
1330
|
+
height: "18px",
|
1331
|
+
tile: "",
|
1332
|
+
type: "heading",
|
1333
|
+
width: "150px"
|
1334
|
+
})
|
1335
|
+
])
|
1336
|
+
])
|
1337
|
+
]),
|
1338
|
+
_: 3
|
1339
|
+
})
|
1340
|
+
]),
|
1341
|
+
_: 3
|
1342
|
+
}),
|
1343
|
+
E(e.$slots, "hotel-rooms", {}, () => [
|
1344
|
+
k("div", Mo, [
|
1345
|
+
(n(), m(y, null, Y(2, (s) => (n(), m(y, {
|
1346
|
+
key: `item-skeleton-${s}`
|
1347
|
+
}, [
|
1348
|
+
k("div", null, [
|
1349
|
+
o(P, { align: "center" }, {
|
1350
|
+
default: a(() => [
|
1351
|
+
o(h, { cols: "auto" }, {
|
1352
|
+
default: a(() => [
|
1353
|
+
o(_e, { boilerplate: "" })
|
1354
|
+
]),
|
1355
|
+
_: 1
|
1356
|
+
})
|
1357
|
+
]),
|
1358
|
+
_: 1
|
1359
|
+
})
|
1360
|
+
]),
|
1361
|
+
o(K)
|
1362
|
+
], 64))), 64))
|
1363
|
+
])
|
1322
1364
|
]),
|
1323
|
-
|
1324
|
-
|
1325
|
-
|
1326
|
-
|
1327
|
-
|
1328
|
-
|
1329
|
-
|
1330
|
-
|
1365
|
+
o(P, null, {
|
1366
|
+
default: a(() => [
|
1367
|
+
o(h, null, {
|
1368
|
+
default: a(() => [
|
1369
|
+
E(e.$slots, "breakfast-option")
|
1370
|
+
]),
|
1371
|
+
_: 3
|
1372
|
+
})
|
1373
|
+
]),
|
1374
|
+
_: 3
|
1375
|
+
}),
|
1376
|
+
o(P, { class: "mt-1" }, {
|
1377
|
+
default: a(() => [
|
1378
|
+
o(h, null, {
|
1379
|
+
default: a(() => [
|
1380
|
+
o(K)
|
1381
|
+
]),
|
1382
|
+
_: 1
|
1383
|
+
})
|
1384
|
+
]),
|
1385
|
+
_: 1
|
1386
|
+
}),
|
1387
|
+
o(P, { "no-gutters": "" }, {
|
1388
|
+
default: a(() => [
|
1389
|
+
o(h, null, {
|
1390
|
+
default: a(() => [
|
1391
|
+
E(e.$slots, "price-summary", {}, () => [
|
1392
|
+
o(Ct)
|
1393
|
+
])
|
1394
|
+
]),
|
1395
|
+
_: 3
|
1396
|
+
})
|
1397
|
+
]),
|
1398
|
+
_: 3
|
1399
|
+
}),
|
1400
|
+
o(P, null, {
|
1401
|
+
default: a(() => [
|
1402
|
+
o(h, { class: "py-0" }, {
|
1403
|
+
default: a(() => [
|
1404
|
+
E(e.$slots, "errors")
|
1405
|
+
]),
|
1406
|
+
_: 3
|
1407
|
+
})
|
1408
|
+
]),
|
1409
|
+
_: 3
|
1410
|
+
}),
|
1411
|
+
o(P, null, {
|
1412
|
+
default: a(() => [
|
1413
|
+
o(h, { class: "pb-0" }, {
|
1414
|
+
default: a(() => [
|
1415
|
+
E(e.$slots, "button", {}, () => [
|
1331
1416
|
o(X, {
|
1417
|
+
height: "38px",
|
1332
1418
|
tile: "",
|
1333
|
-
type: "
|
1334
|
-
width: "
|
1419
|
+
type: "heading",
|
1420
|
+
width: "100%"
|
1335
1421
|
})
|
1336
1422
|
])
|
1337
1423
|
]),
|
1338
|
-
|
1339
|
-
|
1424
|
+
_: 3
|
1425
|
+
})
|
1426
|
+
]),
|
1427
|
+
_: 3
|
1428
|
+
}),
|
1429
|
+
o(P, null, {
|
1430
|
+
default: a(() => [
|
1431
|
+
o(h, null, {
|
1432
|
+
default: a(() => [
|
1433
|
+
E(e.$slots, "cancellation-policies", {}, () => [
|
1340
1434
|
o(X, {
|
1341
|
-
height: "18px",
|
1342
1435
|
tile: "",
|
1343
|
-
type: "
|
1344
|
-
width: "
|
1436
|
+
type: "paragraph",
|
1437
|
+
width: "100%"
|
1345
1438
|
})
|
1346
1439
|
])
|
1347
|
-
])
|
1348
|
-
|
1349
|
-
|
1350
|
-
|
1351
|
-
|
1352
|
-
|
1353
|
-
}),
|
1354
|
-
V(t.$slots, "hotel-rooms", {}, () => [
|
1355
|
-
k("div", No, [
|
1356
|
-
(i(), m(y, null, K(2, (b) => (i(), m(y, {
|
1357
|
-
key: `item-skeleton-${b}`
|
1358
|
-
}, [
|
1359
|
-
k("div", null, [
|
1360
|
-
o(P, { align: "center" }, {
|
1361
|
-
default: a(() => [
|
1362
|
-
o(h, { cols: "auto" }, {
|
1363
|
-
default: a(() => [
|
1364
|
-
o(u)
|
1365
|
-
]),
|
1366
|
-
_: 1
|
1367
|
-
})
|
1368
|
-
]),
|
1369
|
-
_: 1
|
1370
|
-
})
|
1371
|
-
]),
|
1372
|
-
o(Z)
|
1373
|
-
], 64))), 64))
|
1374
|
-
])
|
1440
|
+
]),
|
1441
|
+
_: 3
|
1442
|
+
})
|
1443
|
+
]),
|
1444
|
+
_: 3
|
1445
|
+
})
|
1375
1446
|
]),
|
1376
|
-
|
1377
|
-
|
1378
|
-
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1382
|
-
|
1383
|
-
})
|
1384
|
-
]),
|
1385
|
-
_: 3
|
1386
|
-
}),
|
1387
|
-
o(P, { class: "mt-1" }, {
|
1388
|
-
default: a(() => [
|
1389
|
-
o(h, null, {
|
1390
|
-
default: a(() => [
|
1391
|
-
o(Z)
|
1392
|
-
]),
|
1393
|
-
_: 1
|
1394
|
-
})
|
1395
|
-
]),
|
1396
|
-
_: 1
|
1397
|
-
}),
|
1398
|
-
o(P, { "no-gutters": "" }, {
|
1399
|
-
default: a(() => [
|
1400
|
-
o(h, null, {
|
1401
|
-
default: a(() => [
|
1402
|
-
V(t.$slots, "price-summary", {}, () => [
|
1403
|
-
o(l)
|
1404
|
-
])
|
1405
|
-
]),
|
1406
|
-
_: 3
|
1407
|
-
})
|
1408
|
-
]),
|
1409
|
-
_: 3
|
1410
|
-
}),
|
1411
|
-
o(P, null, {
|
1412
|
-
default: a(() => [
|
1413
|
-
o(h, { class: "py-0" }, {
|
1414
|
-
default: a(() => [
|
1415
|
-
V(t.$slots, "errors")
|
1416
|
-
]),
|
1417
|
-
_: 3
|
1418
|
-
})
|
1419
|
-
]),
|
1420
|
-
_: 3
|
1421
|
-
}),
|
1422
|
-
o(P, null, {
|
1423
|
-
default: a(() => [
|
1424
|
-
o(h, { class: "pb-0" }, {
|
1425
|
-
default: a(() => [
|
1426
|
-
V(t.$slots, "button", {}, () => [
|
1427
|
-
o(X, {
|
1428
|
-
height: "38px",
|
1429
|
-
tile: "",
|
1430
|
-
type: "heading",
|
1431
|
-
width: "100%"
|
1432
|
-
})
|
1433
|
-
])
|
1434
|
-
]),
|
1435
|
-
_: 3
|
1436
|
-
})
|
1437
|
-
]),
|
1438
|
-
_: 3
|
1439
|
-
}),
|
1440
|
-
o(P, null, {
|
1441
|
-
default: a(() => [
|
1442
|
-
o(h, null, {
|
1443
|
-
default: a(() => [
|
1444
|
-
V(t.$slots, "cancellation-policies", {}, () => [
|
1445
|
-
o(X, {
|
1446
|
-
tile: "",
|
1447
|
-
type: "paragraph",
|
1448
|
-
width: "100%"
|
1449
|
-
})
|
1450
|
-
])
|
1451
|
-
]),
|
1452
|
-
_: 3
|
1453
|
-
})
|
1454
|
-
]),
|
1455
|
-
_: 3
|
1456
|
-
})
|
1457
|
-
]),
|
1458
|
-
_: 3
|
1459
|
-
})
|
1460
|
-
]),
|
1461
|
-
_: 3
|
1462
|
-
});
|
1463
|
-
}
|
1464
|
-
const jo = /* @__PURE__ */ tt(Do, [["render", Uo]]), Qt = j({
|
1447
|
+
_: 3
|
1448
|
+
})
|
1449
|
+
]),
|
1450
|
+
_: 3
|
1451
|
+
}));
|
1452
|
+
}
|
1453
|
+
}), Qt = W({
|
1465
1454
|
components: {
|
1466
|
-
BBasketSummaryLayout:
|
1455
|
+
BBasketSummaryLayout: No,
|
1467
1456
|
BBreakfastOptionBadge: Ft,
|
1468
1457
|
BBreakfastSwitch: Yt,
|
1469
1458
|
BFormattedAmount: dt,
|
1470
1459
|
BHotelRoomsDetails: Gt,
|
1471
1460
|
BPriceSummary: Rt,
|
1472
|
-
CancellationPoliciesList:
|
1461
|
+
CancellationPoliciesList: Je
|
1473
1462
|
},
|
1474
1463
|
emits: ["breakfast-change", "delete-room", "submit"],
|
1475
1464
|
name: "BBasketSummary",
|
@@ -1486,42 +1475,42 @@ const jo = /* @__PURE__ */ tt(Do, [["render", Uo]]), Qt = j({
|
|
1486
1475
|
isSuccessful: { type: Boolean }
|
1487
1476
|
},
|
1488
1477
|
setup(t, { emit: e }) {
|
1489
|
-
const
|
1478
|
+
const i = G(
|
1490
1479
|
t.hotelRoomOffer?.breakfastCount && t.hotelRoomOffer?.breakfastCount > 0 || !1
|
1491
1480
|
), s = f(
|
1492
1481
|
() => t.hotelRoomOffer?.breakfastOption
|
1493
1482
|
), r = f(
|
1494
1483
|
() => uo(t.adultCount, t.children)
|
1495
1484
|
), p = f(
|
1496
|
-
() => t.hotelRoomOffer.breakfastOption ===
|
1485
|
+
() => t.hotelRoomOffer.breakfastOption === Pt.Included
|
1497
1486
|
), u = f(
|
1498
|
-
() => t.hotelRoomOffer.breakfastOption ===
|
1487
|
+
() => t.hotelRoomOffer.breakfastOption === Pt.Optional
|
1499
1488
|
), l = f(
|
1500
1489
|
() => t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price > 0
|
1501
1490
|
), b = f(() => !t.hotelRoomOffer || !t.checkOutDate || !t.checkInDate ? 0 : pt(t.checkOutDate).diff(pt(t.checkInDate), "day")), c = f(
|
1502
|
-
() =>
|
1503
|
-
),
|
1504
|
-
() =>
|
1491
|
+
() => _t(t.hotelRoomOffer?.hotelRooms, "count")
|
1492
|
+
), S = f(
|
1493
|
+
() => Xe(
|
1505
1494
|
he({
|
1506
1495
|
bookingDatetime: pt().format(),
|
1507
1496
|
cancellationPolicies: t.hotelRoomOffer?.cancellationPolicies,
|
1508
1497
|
checkInDate: t.checkInDate,
|
1509
1498
|
timezone: t.hotelTimezone
|
1510
1499
|
}),
|
1511
|
-
|
1500
|
+
to.Camel
|
1512
1501
|
)
|
1513
|
-
),
|
1514
|
-
() =>
|
1502
|
+
), H = f(
|
1503
|
+
() => _t(
|
1515
1504
|
t.hotelRoomOffer?.hotelRooms,
|
1516
1505
|
(_) => _.count * _.occupancy
|
1517
1506
|
)
|
1518
1507
|
);
|
1519
|
-
|
1508
|
+
L(i, (_) => {
|
1520
1509
|
e("breakfast-change", _);
|
1521
1510
|
});
|
1522
|
-
const { t: v } =
|
1511
|
+
const { t: v } = Z();
|
1523
1512
|
return {
|
1524
|
-
addBreakfast:
|
1513
|
+
addBreakfast: i,
|
1525
1514
|
breakfastOption: s,
|
1526
1515
|
guestCount: r,
|
1527
1516
|
isBreakfastIncluded: p,
|
@@ -1529,13 +1518,13 @@ const jo = /* @__PURE__ */ tt(Do, [["render", Uo]]), Qt = j({
|
|
1529
1518
|
isTaxIncluded: l,
|
1530
1519
|
nightCount: b,
|
1531
1520
|
roomCount: c,
|
1532
|
-
sanitizedCancellationPolicies:
|
1521
|
+
sanitizedCancellationPolicies: S,
|
1533
1522
|
t: v,
|
1534
|
-
totalOccupancy:
|
1523
|
+
totalOccupancy: H
|
1535
1524
|
};
|
1536
1525
|
}
|
1537
1526
|
});
|
1538
|
-
function
|
1527
|
+
function qt(t) {
|
1539
1528
|
const e = t;
|
1540
1529
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
1541
1530
|
locale: "",
|
@@ -1669,14 +1658,14 @@ function Dt(t) {
|
|
1669
1658
|
}
|
1670
1659
|
});
|
1671
1660
|
}
|
1672
|
-
const
|
1661
|
+
const Uo = { key: 0 }, jo = ["innerHTML"], Fo = { class: "font-weight-bold pb-2" }, Go = { class: "mt-4 font-weight-bold" }, Wo = { class: "text-caption mb-0 text-left font-weight-bold" }, xo = { class: "text-caption" }, Yo = {
|
1673
1662
|
key: 0,
|
1674
1663
|
class: "text-caption pl-2"
|
1675
|
-
},
|
1676
|
-
function
|
1677
|
-
const u =
|
1678
|
-
return
|
1679
|
-
t.isLoading ? (
|
1664
|
+
}, Ko = { class: "text-caption" }, Zo = { class: "text-caption font-weight-bold text-center my-0 text-red rounded" }, Qo = { key: 0 }, Jo = { key: 1 };
|
1665
|
+
function Xo(t, e, i, s, r, p) {
|
1666
|
+
const u = z("BBasketSummaryLayout"), l = z("BHotelRoomsDetails"), b = z("BBreakfastOptionBadge"), c = z("BBreakfastSwitch"), S = z("BFormattedAmount"), H = z("BPriceSummary"), v = z("CancellationPoliciesList");
|
1667
|
+
return n(), m("div", null, [
|
1668
|
+
t.isLoading ? (n(), R(jt, {
|
1680
1669
|
key: 0,
|
1681
1670
|
absolute: "",
|
1682
1671
|
class: "mx-n3",
|
@@ -1684,7 +1673,7 @@ function ea(t, e, n, s, r, p) {
|
|
1684
1673
|
opacity: "0.75"
|
1685
1674
|
}, {
|
1686
1675
|
default: a(() => [
|
1687
|
-
o(
|
1676
|
+
o(St, {
|
1688
1677
|
color: "primary",
|
1689
1678
|
indeterminate: "",
|
1690
1679
|
size: "64"
|
@@ -1692,21 +1681,21 @@ function ea(t, e, n, s, r, p) {
|
|
1692
1681
|
]),
|
1693
1682
|
_: 1
|
1694
1683
|
})) : C("", !0),
|
1695
|
-
t.hotelRoomOffer ? (
|
1684
|
+
t.hotelRoomOffer ? (n(), R(u, { key: "filled-up" }, {
|
1696
1685
|
title: a(() => [
|
1697
1686
|
k("span", null, g(t.t("BBasketSummary.title")), 1)
|
1698
1687
|
]),
|
1699
1688
|
"adult-count": a(() => [
|
1700
1689
|
k("span", {
|
1701
1690
|
innerHTML: t.t("BBasketSummary.totalOccupancy", { n: t.totalOccupancy })
|
1702
|
-
}, null, 8,
|
1691
|
+
}, null, 8, jo)
|
1703
1692
|
]),
|
1704
1693
|
"secondary-title": a(() => [
|
1705
|
-
k("span",
|
1694
|
+
k("span", Fo, g(t.t("BBasketSummary.yourSelection")), 1)
|
1706
1695
|
]),
|
1707
1696
|
"hotel-rooms": a(() => [
|
1708
|
-
(
|
1709
|
-
key: `room-${
|
1697
|
+
(n(!0), m(y, null, Y(t.hotelRoomOffer.hotelRooms, (_, q) => (n(), m("div", {
|
1698
|
+
key: `room-${q}`
|
1710
1699
|
}, [
|
1711
1700
|
o(P, null, {
|
1712
1701
|
default: a(() => [
|
@@ -1717,13 +1706,13 @@ function ea(t, e, n, s, r, p) {
|
|
1717
1706
|
default: a(() => [
|
1718
1707
|
o(l, {
|
1719
1708
|
class: gt({
|
1720
|
-
"mt-n4":
|
1709
|
+
"mt-n4": q >= 1
|
1721
1710
|
}),
|
1722
1711
|
"hotel-rooms": [_]
|
1723
1712
|
}, null, 8, ["class", "hotel-rooms"]),
|
1724
1713
|
o(st, {
|
1725
1714
|
class: gt({
|
1726
|
-
"mt-n4":
|
1715
|
+
"mt-n4": q >= 1
|
1727
1716
|
}),
|
1728
1717
|
color: "red",
|
1729
1718
|
icon: "",
|
@@ -1751,7 +1740,7 @@ function ea(t, e, n, s, r, p) {
|
|
1751
1740
|
]))), 128))
|
1752
1741
|
]),
|
1753
1742
|
"breakfast-option": a(() => [
|
1754
|
-
t.breakfastOption ? (
|
1743
|
+
t.breakfastOption ? (n(), m(y, { key: 0 }, [
|
1755
1744
|
o(P, { "no-gutters": "" }, {
|
1756
1745
|
default: a(() => [
|
1757
1746
|
o(h, null, {
|
@@ -1767,7 +1756,7 @@ function ea(t, e, n, s, r, p) {
|
|
1767
1756
|
]),
|
1768
1757
|
_: 1
|
1769
1758
|
}),
|
1770
|
-
t.isBreakfastOptionnal ? (
|
1759
|
+
t.isBreakfastOptionnal ? (n(), R(P, {
|
1771
1760
|
key: 0,
|
1772
1761
|
class: "mt-2",
|
1773
1762
|
"no-gutters": ""
|
@@ -1791,7 +1780,7 @@ function ea(t, e, n, s, r, p) {
|
|
1791
1780
|
], 64)) : C("", !0)
|
1792
1781
|
]),
|
1793
1782
|
"price-summary": a(() => [
|
1794
|
-
k("p",
|
1783
|
+
k("p", Go, g(t.t("BBasketSummary.priceDetails")), 1),
|
1795
1784
|
o(P, {
|
1796
1785
|
"no-gutters": "",
|
1797
1786
|
class: "mt-1"
|
@@ -1799,7 +1788,7 @@ function ea(t, e, n, s, r, p) {
|
|
1799
1788
|
default: a(() => [
|
1800
1789
|
o(h, null, {
|
1801
1790
|
default: a(() => [
|
1802
|
-
k("p",
|
1791
|
+
k("p", Wo, g(t.t("BBasketSummary.roomCount", {
|
1803
1792
|
n: t.roomCount,
|
1804
1793
|
value: t.roomCount
|
1805
1794
|
})) + " x " + g(t.t("BBasketSummary.nightCount", {
|
@@ -1811,8 +1800,8 @@ function ea(t, e, n, s, r, p) {
|
|
1811
1800
|
}),
|
1812
1801
|
o(h, { class: "text-right" }, {
|
1813
1802
|
default: a(() => [
|
1814
|
-
k("span",
|
1815
|
-
o(
|
1803
|
+
k("span", xo, [
|
1804
|
+
o(S, {
|
1816
1805
|
amount: t.hotelRoomOffer.price
|
1817
1806
|
}, null, 8, ["amount"])
|
1818
1807
|
])
|
@@ -1829,7 +1818,7 @@ function ea(t, e, n, s, r, p) {
|
|
1829
1818
|
default: a(() => [
|
1830
1819
|
o(h, null, {
|
1831
1820
|
default: a(() => [
|
1832
|
-
t.hotelRoomOffer.breakfastCount ? (
|
1821
|
+
t.hotelRoomOffer.breakfastCount ? (n(), m("small", Yo, g(t.t("BBasketSummary.breakfastIncluded", {
|
1833
1822
|
n: t.hotelRoomOffer.breakfastCount,
|
1834
1823
|
value: t.hotelRoomOffer.breakfastCount
|
1835
1824
|
})), 1)) : C("", !0)
|
@@ -1839,7 +1828,7 @@ function ea(t, e, n, s, r, p) {
|
|
1839
1828
|
]),
|
1840
1829
|
_: 1
|
1841
1830
|
}),
|
1842
|
-
t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price > 0 ? (
|
1831
|
+
t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price > 0 ? (n(), R(P, {
|
1843
1832
|
key: 0,
|
1844
1833
|
"no-gutters": "",
|
1845
1834
|
class: "mt-2 color-black"
|
@@ -1854,8 +1843,8 @@ function ea(t, e, n, s, r, p) {
|
|
1854
1843
|
}),
|
1855
1844
|
o(h, { class: "text-right" }, {
|
1856
1845
|
default: a(() => [
|
1857
|
-
k("span",
|
1858
|
-
o(
|
1846
|
+
k("span", Ko, [
|
1847
|
+
o(S, {
|
1859
1848
|
amount: t.hotelRoomOffer.taxIncludedPrice - t.hotelRoomOffer.price
|
1860
1849
|
}, null, 8, ["amount"])
|
1861
1850
|
])
|
@@ -1876,7 +1865,7 @@ function ea(t, e, n, s, r, p) {
|
|
1876
1865
|
}),
|
1877
1866
|
o(h, null, {
|
1878
1867
|
default: a(() => [
|
1879
|
-
o(
|
1868
|
+
o(H, {
|
1880
1869
|
"is-tax-included": t.isTaxIncluded,
|
1881
1870
|
"night-count": 0,
|
1882
1871
|
price: t.hotelRoomOffer.price,
|
@@ -1891,7 +1880,7 @@ function ea(t, e, n, s, r, p) {
|
|
1891
1880
|
})
|
1892
1881
|
]),
|
1893
1882
|
errors: a(() => [
|
1894
|
-
t.totalOccupancy && t.totalOccupancy < t.guestCount ? (
|
1883
|
+
t.totalOccupancy && t.totalOccupancy < t.guestCount ? (n(), R(xe, {
|
1895
1884
|
key: 0,
|
1896
1885
|
class: "mb-0",
|
1897
1886
|
color: "red",
|
@@ -1899,7 +1888,7 @@ function ea(t, e, n, s, r, p) {
|
|
1899
1888
|
variant: "outlined"
|
1900
1889
|
}, {
|
1901
1890
|
default: a(() => [
|
1902
|
-
k("p",
|
1891
|
+
k("p", Zo, g(t.t("BBasketSummary.occupancyWarning", {
|
1903
1892
|
guestCount: t.guestCount
|
1904
1893
|
})), 1)
|
1905
1894
|
]),
|
@@ -1916,7 +1905,7 @@ function ea(t, e, n, s, r, p) {
|
|
1916
1905
|
onClick: e[1] || (e[1] = (_) => t.$emit("submit"))
|
1917
1906
|
}, {
|
1918
1907
|
default: a(() => [
|
1919
|
-
t.isSuccessful ? C("", !0) : (
|
1908
|
+
t.isSuccessful ? C("", !0) : (n(), m("span", Qo, g(t.t("BBasketSummary.book")), 1)),
|
1920
1909
|
vt(o(at, { class: "position-absolute" }, {
|
1921
1910
|
default: a(() => e[10] || (e[10] = [
|
1922
1911
|
w(" fas fa-check ")
|
@@ -1931,16 +1920,16 @@ function ea(t, e, n, s, r, p) {
|
|
1931
1920
|
}, 8, ["color", "disabled", "loading"])
|
1932
1921
|
]),
|
1933
1922
|
"cancellation-policies": a(() => [
|
1934
|
-
t.hotelRoomOffer && t.hotelRoomOffer.cancellationPolicies.length ? (
|
1923
|
+
t.hotelRoomOffer && t.hotelRoomOffer.cancellationPolicies.length ? (n(), R(v, {
|
1935
1924
|
key: 0,
|
1936
1925
|
"cancellation-policies": t.sanitizedCancellationPolicies,
|
1937
1926
|
"check-in-date": t.checkInDate,
|
1938
1927
|
class: "text-caption",
|
1939
1928
|
timezone: t.hotelTimezone
|
1940
|
-
}, null, 8, ["cancellation-policies", "check-in-date", "timezone"])) : (
|
1929
|
+
}, null, 8, ["cancellation-policies", "check-in-date", "timezone"])) : (n(), m("span", Jo))
|
1941
1930
|
]),
|
1942
1931
|
_: 1
|
1943
|
-
})) : (
|
1932
|
+
})) : (n(), R(u, { key: "empty" }, {
|
1944
1933
|
title: a(() => [
|
1945
1934
|
k("span", null, g(t.t("BBasketSummary.title")), 1)
|
1946
1935
|
]),
|
@@ -1963,7 +1952,7 @@ function ea(t, e, n, s, r, p) {
|
|
1963
1952
|
disabled: ""
|
1964
1953
|
}, {
|
1965
1954
|
default: a(() => [
|
1966
|
-
t.isSuccessful ? C("", !0) : (
|
1955
|
+
t.isSuccessful ? C("", !0) : (n(), m("span", Uo, g(t.t("BBasketSummary.book")), 1)),
|
1967
1956
|
vt(o(at, { class: "position-absolute" }, {
|
1968
1957
|
default: a(() => e[5] || (e[5] = [
|
1969
1958
|
w(" fas fa-check ")
|
@@ -1984,17 +1973,17 @@ function ea(t, e, n, s, r, p) {
|
|
1984
1973
|
}))
|
1985
1974
|
]);
|
1986
1975
|
}
|
1987
|
-
typeof
|
1988
|
-
const
|
1976
|
+
typeof qt == "function" && qt(Qt);
|
1977
|
+
const ta = /* @__PURE__ */ et(Qt, [["render", Xo]]), ea = {
|
1989
1978
|
hotelId: {
|
1990
1979
|
required: !0,
|
1991
1980
|
type: String
|
1992
1981
|
}
|
1993
|
-
},
|
1982
|
+
}, oa = W({
|
1994
1983
|
components: {
|
1995
|
-
BBasketSummary:
|
1984
|
+
BBasketSummary: ta,
|
1996
1985
|
HotelRoomOfferItem: Zt,
|
1997
|
-
HotelRoomOfferItemLayout:
|
1986
|
+
HotelRoomOfferItemLayout: It
|
1998
1987
|
},
|
1999
1988
|
computed: {
|
2000
1989
|
...ye(ft, mt),
|
@@ -2051,24 +2040,24 @@ const oa = /* @__PURE__ */ tt(Qt, [["render", ea]]), aa = {
|
|
2051
2040
|
this.isLoading = !1;
|
2052
2041
|
},
|
2053
2042
|
onBasketUpdate(t, e) {
|
2054
|
-
const
|
2043
|
+
const i = {
|
2055
2044
|
count: e,
|
2056
2045
|
hotelRoomId: t.hotelRooms[0].id,
|
2057
2046
|
hotelRoomOfferId: t.id
|
2058
2047
|
}, s = this.basketContent.findIndex(
|
2059
|
-
(r) => r.hotelRoomOfferId ===
|
2048
|
+
(r) => r.hotelRoomOfferId === i.hotelRoomOfferId
|
2060
2049
|
);
|
2061
2050
|
s === -1 ? e === 0 ? [
|
2062
2051
|
...this.basketContent.slice(0, s),
|
2063
2052
|
...this.basketContent.slice(s + 1)
|
2064
|
-
] : this.basketContent.splice(s, 1) : this.basketContent.push(
|
2053
|
+
] : this.basketContent.splice(s, 1) : this.basketContent.push(i);
|
2065
2054
|
},
|
2066
2055
|
onBreakfastChange(t) {
|
2067
2056
|
this.addBreakfast = t;
|
2068
2057
|
},
|
2069
2058
|
onDeleteRoom(t) {
|
2070
2059
|
const e = this.basketContent.findIndex(
|
2071
|
-
(
|
2060
|
+
(i) => i.hotelRoomId === t.id
|
2072
2061
|
);
|
2073
2062
|
this.basketContent[e].count = 0;
|
2074
2063
|
},
|
@@ -2080,11 +2069,11 @@ const oa = /* @__PURE__ */ tt(Qt, [["render", ea]]), aa = {
|
|
2080
2069
|
}), await this.createHotelRoomOfferPackage(), this.isLoading = !1);
|
2081
2070
|
}
|
2082
2071
|
},
|
2083
|
-
mixins: [ge,
|
2072
|
+
mixins: [ge, eo()],
|
2084
2073
|
name: "HotelRoomOfferBasket",
|
2085
|
-
props:
|
2074
|
+
props: ea,
|
2086
2075
|
setup() {
|
2087
|
-
const { t } =
|
2076
|
+
const { t } = Z();
|
2088
2077
|
return {
|
2089
2078
|
t
|
2090
2079
|
};
|
@@ -2097,7 +2086,7 @@ const oa = /* @__PURE__ */ tt(Qt, [["render", ea]]), aa = {
|
|
2097
2086
|
deep: !0,
|
2098
2087
|
handler(t) {
|
2099
2088
|
t.reduce(
|
2100
|
-
(
|
2089
|
+
(i, s) => i + s.count,
|
2101
2090
|
0
|
2102
2091
|
) === 0 ? this.newCreatedPackage = void 0 : this.createHotelRoomOfferPackage();
|
2103
2092
|
},
|
@@ -2115,26 +2104,26 @@ const oa = /* @__PURE__ */ tt(Qt, [["render", ea]]), aa = {
|
|
2115
2104
|
}
|
2116
2105
|
}
|
2117
2106
|
});
|
2118
|
-
function
|
2119
|
-
const u =
|
2120
|
-
return
|
2107
|
+
function aa(t, e, i, s, r, p) {
|
2108
|
+
const u = z("HotelRoomOfferItem"), l = z("BBasketSummary");
|
2109
|
+
return n(), R(P, { "no-gutters": "" }, {
|
2121
2110
|
default: a(() => [
|
2122
2111
|
o(h, {
|
2123
2112
|
cols: "12",
|
2124
2113
|
md: "8"
|
2125
2114
|
}, {
|
2126
2115
|
default: a(() => [
|
2127
|
-
t.hotelRoomOffers.length && t.basketContent.length ? (
|
2128
|
-
c > 0 ? (
|
2116
|
+
t.hotelRoomOffers.length && t.basketContent.length ? (n(!0), m(y, { key: 0 }, Y(t.hotelRoomOffers, (b, c) => (n(), m(y, null, [
|
2117
|
+
c > 0 ? (n(), R(K, { key: 0 })) : C("", !0),
|
2129
2118
|
o(u, M({
|
2130
2119
|
modelValue: t.basketContent[c].count,
|
2131
|
-
"onUpdate:modelValue": (
|
2120
|
+
"onUpdate:modelValue": (S) => t.basketContent[c].count = S
|
2132
2121
|
}, { ref_for: !0 }, b), null, 16, ["modelValue", "onUpdate:modelValue"])
|
2133
2122
|
], 64))), 256)) : C("", !0)
|
2134
2123
|
]),
|
2135
2124
|
_: 1
|
2136
2125
|
}),
|
2137
|
-
o(
|
2126
|
+
o(K, {
|
2138
2127
|
class: "d-none d-md-block",
|
2139
2128
|
vertical: ""
|
2140
2129
|
}),
|
@@ -2144,7 +2133,7 @@ function na(t, e, n, s, r, p) {
|
|
2144
2133
|
md: "4"
|
2145
2134
|
}, {
|
2146
2135
|
default: a(() => [
|
2147
|
-
o(
|
2136
|
+
o(K, { class: "d-block d-md-none my-2" }),
|
2148
2137
|
o(l, M(t.newCreatedPackage, {
|
2149
2138
|
"adult-count": t.adultCount,
|
2150
2139
|
"hotel-timezone": t.hotelTimezone,
|
@@ -2162,42 +2151,22 @@ function na(t, e, n, s, r, p) {
|
|
2162
2151
|
_: 1
|
2163
2152
|
});
|
2164
2153
|
}
|
2165
|
-
const
|
2166
|
-
name: "BErrorOverlay",
|
2167
|
-
props: {
|
2168
|
-
marginTop: {
|
2169
|
-
default: 64,
|
2170
|
-
type: Number
|
2171
|
-
},
|
2172
|
-
minHeight: {
|
2173
|
-
type: String
|
2174
|
-
},
|
2175
|
-
zIndex: {
|
2176
|
-
type: Number
|
2177
|
-
}
|
2178
|
-
},
|
2179
|
-
setup() {
|
2180
|
-
const { t } = F();
|
2181
|
-
return {
|
2182
|
-
t
|
2183
|
-
};
|
2184
|
-
}
|
2185
|
-
}), ra = j({
|
2154
|
+
const sa = /* @__PURE__ */ et(oa, [["render", aa], ["__scopeId", "data-v-ee0e3c98"]]), ia = W({
|
2186
2155
|
components: {
|
2187
2156
|
BPriceSummarySkeleton: Ct
|
2188
2157
|
},
|
2189
|
-
mixins: [
|
2158
|
+
mixins: [Nt],
|
2190
2159
|
name: "HotelRoomOfferLayout",
|
2191
2160
|
props: {
|
2192
2161
|
boilerplate: { type: Boolean }
|
2193
2162
|
},
|
2194
2163
|
setup() {
|
2195
|
-
const { t } =
|
2164
|
+
const { t } = Z();
|
2196
2165
|
return {
|
2197
2166
|
t
|
2198
2167
|
};
|
2199
2168
|
}
|
2200
|
-
}), Jt = /* @__PURE__ */
|
2169
|
+
}), Jt = /* @__PURE__ */ W({
|
2201
2170
|
__name: "HotelRoomOfferListEmpty",
|
2202
2171
|
props: {
|
2203
2172
|
boilerplateSkeleton: { type: Boolean },
|
@@ -2205,28 +2174,32 @@ const ia = /* @__PURE__ */ tt(sa, [["render", na], ["__scopeId", "data-v-ee0e3c9
|
|
2205
2174
|
type: {}
|
2206
2175
|
},
|
2207
2176
|
setup(t) {
|
2208
|
-
const { t: e } =
|
2209
|
-
return (
|
2210
|
-
(
|
2211
|
-
r > 1 ? (
|
2212
|
-
o(
|
2213
|
-
boilerplate:
|
2177
|
+
const { t: e } = Z();
|
2178
|
+
return (i, s) => (n(), m("div", null, [
|
2179
|
+
(n(!0), m(y, null, Y(i.itemCount, (r) => (n(), m(y, { key: r }, [
|
2180
|
+
r > 1 ? (n(), R(K, { key: 0 })) : C("", !0),
|
2181
|
+
o(I(ia), {
|
2182
|
+
boilerplate: i.boilerplateSkeleton,
|
2214
2183
|
class: gt({ "mt-0": r === 1, "mb-0": r === 3 })
|
2215
2184
|
}, null, 8, ["boilerplate", "class"])
|
2216
2185
|
], 64))), 128)),
|
2217
|
-
|
2186
|
+
i.type ? (n(), R(Bt, {
|
2187
|
+
key: 0,
|
2188
|
+
"min-height": "300px",
|
2189
|
+
"z-index": 50
|
2190
|
+
}, {
|
2218
2191
|
title: a(() => [
|
2219
|
-
w(g(
|
2192
|
+
w(g(I(e)(`HotelRoomOfferListEmpty.${i.type}.title`)), 1)
|
2220
2193
|
]),
|
2221
2194
|
description: a(() => [
|
2222
|
-
w(g(
|
2195
|
+
w(g(I(e)(`HotelRoomOfferListEmpty.${i.type}.description`)), 1)
|
2223
2196
|
]),
|
2224
2197
|
_: 1
|
2225
2198
|
})) : C("", !0)
|
2226
2199
|
]));
|
2227
2200
|
}
|
2228
2201
|
});
|
2229
|
-
function
|
2202
|
+
function zt(t) {
|
2230
2203
|
const e = t;
|
2231
2204
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
2232
2205
|
locale: "",
|
@@ -2346,11 +2319,11 @@ function qt(t) {
|
|
2346
2319
|
}
|
2347
2320
|
});
|
2348
2321
|
}
|
2349
|
-
typeof
|
2322
|
+
typeof zt == "function" && zt(Jt);
|
2350
2323
|
const Xt = {
|
2351
2324
|
OnlyMatchingRoomCount: !1
|
2352
|
-
},
|
2353
|
-
...
|
2325
|
+
}, na = {
|
2326
|
+
...we,
|
2354
2327
|
features: {
|
2355
2328
|
default: () => Xt,
|
2356
2329
|
type: [Object, String]
|
@@ -2359,26 +2332,26 @@ const Xt = {
|
|
2359
2332
|
default: () => 0,
|
2360
2333
|
type: Number
|
2361
2334
|
}
|
2362
|
-
}, te =
|
2335
|
+
}, te = W({
|
2363
2336
|
components: {
|
2364
|
-
BErrorOverlay:
|
2365
|
-
HotelRoomOfferBasket:
|
2337
|
+
BErrorOverlay: Bt,
|
2338
|
+
HotelRoomOfferBasket: sa,
|
2366
2339
|
HotelRoomOfferItem: Zt,
|
2367
|
-
HotelRoomOfferItemLayout:
|
2340
|
+
HotelRoomOfferItemLayout: It,
|
2368
2341
|
HotelRoomOfferListEmpty: Jt
|
2369
2342
|
},
|
2370
2343
|
name: "HotelRoomOfferList",
|
2371
|
-
props:
|
2344
|
+
props: na,
|
2372
2345
|
// eslint-disable-next-line max-lines-per-function
|
2373
2346
|
setup(t) {
|
2374
|
-
const { t: e } =
|
2347
|
+
const { t: e } = Z(), i = mt(), s = ft(), r = G(null), p = G(["packageHotelRoomOffers", "hotelRoomHotelRoomOffers"]), u = bo({
|
2375
2348
|
fallbackValue: Xt,
|
2376
2349
|
prop: f(() => t.features)
|
2377
|
-
}), l = (B) => B.hotelRooms.reduce((A,
|
2378
|
-
() =>
|
2379
|
-
),
|
2350
|
+
}), l = (B) => B.hotelRooms.reduce((A, F) => A + F.count, 0), b = f(() => s.hotelRoomOfferRequest(t.hotelId)), c = f(
|
2351
|
+
() => i.hotelRoomOffers(t.hotelId)
|
2352
|
+
), S = f(
|
2380
2353
|
() => !!(b.value?.hasError || c.value?.hasError)
|
2381
|
-
),
|
2354
|
+
), H = f(
|
2382
2355
|
() => c.value?.offers?.filter(
|
2383
2356
|
(B) => B.type === yt.HotelRoom
|
2384
2357
|
) || []
|
@@ -2389,46 +2362,46 @@ const Xt = {
|
|
2389
2362
|
return B?.slice(0, t.limit || B.length) || [];
|
2390
2363
|
}), _ = f(
|
2391
2364
|
() => !!c.value?.isPolling && !!v.value?.length
|
2392
|
-
),
|
2365
|
+
), q = f(
|
2393
2366
|
() => !b.value?.id || (!!b.value?.isFetching || !!c.value?.isPolling) && !v.value?.length
|
2394
2367
|
), Q = async ({
|
2395
2368
|
addBreakfast: B,
|
2396
2369
|
hotelId: A,
|
2397
|
-
id:
|
2370
|
+
id: F
|
2398
2371
|
}) => {
|
2399
|
-
await
|
2372
|
+
await i.reifyHotelRoomOffer({
|
2400
2373
|
addBreakfast: B,
|
2401
2374
|
hotelId: A,
|
2402
|
-
id:
|
2375
|
+
id: F
|
2403
2376
|
});
|
2404
|
-
},
|
2377
|
+
}, $ = async (B) => {
|
2405
2378
|
if (!b.value?.id) {
|
2406
|
-
|
2379
|
+
i.resetHotelRoomOffers({
|
2407
2380
|
hotelId: t.hotelId
|
2408
2381
|
});
|
2409
2382
|
return;
|
2410
2383
|
}
|
2411
|
-
await
|
2384
|
+
await i.retrieveHotelRoomOffers({
|
2412
2385
|
hotelId: t.hotelId,
|
2413
2386
|
hotelRoomOfferRequestId: b.value.id,
|
2414
2387
|
inProgressHotelRoomOfferIds: B
|
2415
2388
|
});
|
2416
2389
|
};
|
2417
|
-
async function
|
2418
|
-
await
|
2390
|
+
async function V(B) {
|
2391
|
+
await $([B]);
|
2419
2392
|
}
|
2420
|
-
|
2393
|
+
L(
|
2421
2394
|
() => b.value?.id,
|
2422
2395
|
async () => {
|
2423
|
-
await
|
2396
|
+
await $();
|
2424
2397
|
},
|
2425
2398
|
{ immediate: !0 }
|
2426
2399
|
);
|
2427
|
-
const { bookingApiClient:
|
2428
|
-
|
2429
|
-
() => [
|
2400
|
+
const { bookingApiClient: j, config: N } = Re();
|
2401
|
+
L(
|
2402
|
+
() => [j.value, N.value.currency, N.value.lang],
|
2430
2403
|
async () => {
|
2431
|
-
await
|
2404
|
+
await $();
|
2432
2405
|
},
|
2433
2406
|
{ immediate: !0 }
|
2434
2407
|
);
|
@@ -2442,21 +2415,21 @@ const Xt = {
|
|
2442
2415
|
sourceMarket: t.sourceMarket
|
2443
2416
|
});
|
2444
2417
|
return {
|
2445
|
-
hasError:
|
2446
|
-
hotelRoomHotelRoomOffers:
|
2418
|
+
hasError: S,
|
2419
|
+
hotelRoomHotelRoomOffers: H,
|
2447
2420
|
isLoading: _,
|
2448
2421
|
onBreakfastChange: Q,
|
2449
2422
|
packageHotelRoomOffers: v,
|
2450
|
-
showSkeleton:
|
2423
|
+
showSkeleton: q,
|
2451
2424
|
t: e,
|
2452
2425
|
tab: r,
|
2453
2426
|
tabItems: p,
|
2454
2427
|
...J,
|
2455
|
-
onBookingPolicyFailed:
|
2428
|
+
onBookingPolicyFailed: V
|
2456
2429
|
};
|
2457
2430
|
}
|
2458
2431
|
});
|
2459
|
-
function
|
2432
|
+
function Mt(t) {
|
2460
2433
|
const e = t;
|
2461
2434
|
e.__i18n = e.__i18n || [], e.__i18n.push({
|
2462
2435
|
locale: "",
|
@@ -2534,7 +2507,7 @@ function zt(t) {
|
|
2534
2507
|
}
|
2535
2508
|
});
|
2536
2509
|
}
|
2537
|
-
const
|
2510
|
+
const wt = Symbol.for("vuetify:v-tabs"), la = lt({
|
2538
2511
|
fixed: Boolean,
|
2539
2512
|
sliderColor: String,
|
2540
2513
|
hideSlider: Boolean,
|
@@ -2542,34 +2515,34 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2542
2515
|
type: String,
|
2543
2516
|
default: "horizontal"
|
2544
2517
|
},
|
2545
|
-
...
|
2518
|
+
...Ut(Ye({
|
2546
2519
|
selectedClass: "v-tab--selected",
|
2547
2520
|
variant: "text"
|
2548
2521
|
}), ["active", "block", "flat", "location", "position", "symbol"])
|
2549
|
-
}, "VTab"), ee =
|
2522
|
+
}, "VTab"), ee = nt()({
|
2550
2523
|
name: "VTab",
|
2551
|
-
props:
|
2524
|
+
props: la(),
|
2552
2525
|
setup(t, e) {
|
2553
2526
|
let {
|
2554
|
-
slots:
|
2527
|
+
slots: i,
|
2555
2528
|
attrs: s
|
2556
2529
|
} = e;
|
2557
2530
|
const {
|
2558
2531
|
textColorClasses: r,
|
2559
2532
|
textColorStyles: p
|
2560
|
-
} = Te(t, "sliderColor"), u =
|
2561
|
-
function
|
2533
|
+
} = Te(t, "sliderColor"), u = G(), l = G(), b = f(() => t.direction === "horizontal"), c = f(() => u.value?.group?.isSelected.value ?? !1);
|
2534
|
+
function S(H) {
|
2562
2535
|
let {
|
2563
2536
|
value: v
|
2564
|
-
} =
|
2537
|
+
} = H;
|
2565
2538
|
if (v) {
|
2566
|
-
const _ = u.value?.$el.parentElement?.querySelector(".v-tab--selected .v-tab__slider"),
|
2567
|
-
if (!_ || !
|
2568
|
-
const Q = getComputedStyle(_).color,
|
2569
|
-
|
2539
|
+
const _ = u.value?.$el.parentElement?.querySelector(".v-tab--selected .v-tab__slider"), q = l.value;
|
2540
|
+
if (!_ || !q) return;
|
2541
|
+
const Q = getComputedStyle(_).color, $ = _.getBoundingClientRect(), V = q.getBoundingClientRect(), j = b.value ? "x" : "y", N = b.value ? "X" : "Y", J = b.value ? "right" : "bottom", B = b.value ? "width" : "height", A = $[j], F = V[j], U = A > F ? $[J] - V[J] : $[j] - V[j], it = Math.sign(U) > 0 ? b.value ? "right" : "bottom" : Math.sign(U) < 0 ? b.value ? "left" : "top" : "center", d = (Math.abs(U) + (Math.sign(U) < 0 ? $[B] : V[B])) / Math.max($[B], V[B]) || 0, T = $[B] / V[B] || 0, O = 1.5;
|
2542
|
+
He(q, {
|
2570
2543
|
backgroundColor: [Q, "currentcolor"],
|
2571
|
-
transform: [`translate${N}(${U}px) scale${N}(${
|
2572
|
-
transformOrigin: Array(3).fill(
|
2544
|
+
transform: [`translate${N}(${U}px) scale${N}(${T})`, `translate${N}(${U / O}px) scale${N}(${(d - 1) / O + 1})`, "none"],
|
2545
|
+
transformOrigin: Array(3).fill(it)
|
2573
2546
|
}, {
|
2574
2547
|
duration: 225,
|
2575
2548
|
easing: Ve
|
@@ -2577,9 +2550,9 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2577
2550
|
}
|
2578
2551
|
}
|
2579
2552
|
return rt(() => {
|
2580
|
-
const
|
2553
|
+
const H = st.filterProps(t);
|
2581
2554
|
return o(st, M({
|
2582
|
-
symbol:
|
2555
|
+
symbol: wt,
|
2583
2556
|
ref: u,
|
2584
2557
|
class: ["v-tab", t.class],
|
2585
2558
|
style: t.style,
|
@@ -2587,13 +2560,13 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2587
2560
|
role: "tab",
|
2588
2561
|
"aria-selected": String(c.value),
|
2589
2562
|
active: !1
|
2590
|
-
},
|
2563
|
+
}, H, s, {
|
2591
2564
|
block: t.fixed,
|
2592
2565
|
maxWidth: t.fixed ? 300 : void 0,
|
2593
|
-
"onGroup:selected":
|
2566
|
+
"onGroup:selected": S
|
2594
2567
|
}), {
|
2595
|
-
...
|
2596
|
-
default: () => o(y, null, [
|
2568
|
+
...i,
|
2569
|
+
default: () => o(y, null, [i.default?.() ?? t.text, !t.hideSlider && o("div", {
|
2597
2570
|
ref: l,
|
2598
2571
|
class: ["v-tab__slider", r.value],
|
2599
2572
|
style: p.value
|
@@ -2601,19 +2574,19 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2601
2574
|
});
|
2602
2575
|
}), ao({}, u);
|
2603
2576
|
}
|
2604
|
-
}),
|
2605
|
-
...
|
2606
|
-
}, "VTabsWindow"), oe =
|
2577
|
+
}), ra = lt({
|
2578
|
+
...Ut(so(), ["continuous", "nextIcon", "prevIcon", "showArrows", "touch", "mandatory"])
|
2579
|
+
}, "VTabsWindow"), oe = nt()({
|
2607
2580
|
name: "VTabsWindow",
|
2608
|
-
props:
|
2581
|
+
props: ra(),
|
2609
2582
|
emits: {
|
2610
2583
|
"update:modelValue": (t) => !0
|
2611
2584
|
},
|
2612
2585
|
setup(t, e) {
|
2613
2586
|
let {
|
2614
|
-
slots:
|
2587
|
+
slots: i
|
2615
2588
|
} = e;
|
2616
|
-
const s = Oe(
|
2589
|
+
const s = Oe(wt, null), r = ct(t, "modelValue"), p = f({
|
2617
2590
|
get() {
|
2618
2591
|
return r.value != null || !s ? r.value : s.items.value.find((u) => s.selected.value.includes(u.id))?.value;
|
2619
2592
|
},
|
@@ -2622,8 +2595,8 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2622
2595
|
}
|
2623
2596
|
});
|
2624
2597
|
return rt(() => {
|
2625
|
-
const u =
|
2626
|
-
return o(
|
2598
|
+
const u = Vt.filterProps(t);
|
2599
|
+
return o(Vt, M({
|
2627
2600
|
_as: "VTabsWindow"
|
2628
2601
|
}, u, {
|
2629
2602
|
modelValue: p.value,
|
@@ -2632,17 +2605,17 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2632
2605
|
style: t.style,
|
2633
2606
|
mandatory: !1,
|
2634
2607
|
touch: !1
|
2635
|
-
}),
|
2608
|
+
}), i);
|
2636
2609
|
}), {};
|
2637
2610
|
}
|
2638
|
-
}),
|
2639
|
-
...
|
2640
|
-
}, "VTabsWindowItem"), Ot =
|
2611
|
+
}), ua = lt({
|
2612
|
+
...io()
|
2613
|
+
}, "VTabsWindowItem"), Ot = nt()({
|
2641
2614
|
name: "VTabsWindowItem",
|
2642
|
-
props:
|
2615
|
+
props: ua(),
|
2643
2616
|
setup(t, e) {
|
2644
2617
|
let {
|
2645
|
-
slots:
|
2618
|
+
slots: i
|
2646
2619
|
} = e;
|
2647
2620
|
return rt(() => {
|
2648
2621
|
const s = Et.filterProps(t);
|
@@ -2651,17 +2624,17 @@ const It = Symbol.for("vuetify:v-tabs"), ca = lt({
|
|
2651
2624
|
}, s, {
|
2652
2625
|
class: ["v-tabs-window-item", t.class],
|
2653
2626
|
style: t.style
|
2654
|
-
}),
|
2627
|
+
}), i);
|
2655
2628
|
}), {};
|
2656
2629
|
}
|
2657
2630
|
});
|
2658
|
-
function
|
2631
|
+
function ca(t) {
|
2659
2632
|
return t ? t.map((e) => Se(e) ? e : {
|
2660
2633
|
text: e,
|
2661
2634
|
value: e
|
2662
2635
|
}) : [];
|
2663
2636
|
}
|
2664
|
-
const
|
2637
|
+
const da = lt({
|
2665
2638
|
alignTabs: {
|
2666
2639
|
type: String,
|
2667
2640
|
default: "start"
|
@@ -2681,43 +2654,43 @@ const ba = lt({
|
|
2681
2654
|
},
|
2682
2655
|
hideSlider: Boolean,
|
2683
2656
|
sliderColor: String,
|
2684
|
-
...
|
2657
|
+
...no({
|
2685
2658
|
mandatory: "force",
|
2686
2659
|
selectedClass: "v-tab-item--selected"
|
2687
2660
|
}),
|
2688
|
-
...
|
2661
|
+
...Ue(),
|
2689
2662
|
...Le()
|
2690
|
-
}, "VTabs"),
|
2663
|
+
}, "VTabs"), ma = nt()({
|
2691
2664
|
name: "VTabs",
|
2692
|
-
props:
|
2665
|
+
props: da(),
|
2693
2666
|
emits: {
|
2694
2667
|
"update:modelValue": (t) => !0
|
2695
2668
|
},
|
2696
2669
|
setup(t, e) {
|
2697
2670
|
let {
|
2698
|
-
attrs:
|
2671
|
+
attrs: i,
|
2699
2672
|
slots: s
|
2700
2673
|
} = e;
|
2701
|
-
const r = ct(t, "modelValue"), p = f(() =>
|
2674
|
+
const r = ct(t, "modelValue"), p = f(() => ca(t.items)), {
|
2702
2675
|
densityClasses: u
|
2703
|
-
} =
|
2676
|
+
} = Ne(t), {
|
2704
2677
|
backgroundColorClasses: l,
|
2705
2678
|
backgroundColorStyles: b
|
2706
|
-
} =
|
2679
|
+
} = Ee(tt(t, "bgColor")), {
|
2707
2680
|
scopeId: c
|
2708
|
-
} =
|
2681
|
+
} = Ae();
|
2709
2682
|
return Ce({
|
2710
2683
|
VTab: {
|
2711
|
-
color:
|
2712
|
-
direction:
|
2713
|
-
stacked:
|
2714
|
-
fixed:
|
2715
|
-
sliderColor:
|
2716
|
-
hideSlider:
|
2684
|
+
color: tt(t, "color"),
|
2685
|
+
direction: tt(t, "direction"),
|
2686
|
+
stacked: tt(t, "stacked"),
|
2687
|
+
fixed: tt(t, "fixedTabs"),
|
2688
|
+
sliderColor: tt(t, "sliderColor"),
|
2689
|
+
hideSlider: tt(t, "hideSlider")
|
2717
2690
|
}
|
2718
2691
|
}), rt(() => {
|
2719
|
-
const
|
2720
|
-
return o(y, null, [o(
|
2692
|
+
const S = At.filterProps(t), H = !!(s.window || t.items.length > 0);
|
2693
|
+
return o(y, null, [o(At, M(S, {
|
2721
2694
|
modelValue: r.value,
|
2722
2695
|
"onUpdate:modelValue": (v) => r.value = v,
|
2723
2696
|
class: ["v-tabs", `v-tabs--${t.direction}`, `v-tabs--align-tabs-${t.alignTabs}`, {
|
@@ -2729,8 +2702,8 @@ const ba = lt({
|
|
2729
2702
|
"--v-tabs-height": Be(t.height)
|
2730
2703
|
}, b.value, t.style],
|
2731
2704
|
role: "tablist",
|
2732
|
-
symbol:
|
2733
|
-
}, c,
|
2705
|
+
symbol: wt
|
2706
|
+
}, c, i), {
|
2734
2707
|
default: () => [s.default?.() ?? p.value.map((v) => s.tab?.({
|
2735
2708
|
item: v
|
2736
2709
|
}) ?? o(ee, M(v, {
|
@@ -2741,7 +2714,7 @@ const ba = lt({
|
|
2741
2714
|
item: v
|
2742
2715
|
}) : void 0
|
2743
2716
|
}))]
|
2744
|
-
}),
|
2717
|
+
}), H && o(oe, M({
|
2745
2718
|
modelValue: r.value,
|
2746
2719
|
"onUpdate:modelValue": (v) => r.value = v,
|
2747
2720
|
key: "tabs-window"
|
@@ -2758,25 +2731,25 @@ const ba = lt({
|
|
2758
2731
|
})]);
|
2759
2732
|
}), {};
|
2760
2733
|
}
|
2761
|
-
}),
|
2762
|
-
function
|
2763
|
-
const u =
|
2764
|
-
return
|
2765
|
-
t.isBookingApiClientDefined ? (
|
2766
|
-
t.hasError ? (
|
2734
|
+
}), fa = { class: "bg-white" }, ba = { key: 0 };
|
2735
|
+
function pa(t, e, i, s, r, p) {
|
2736
|
+
const u = z("HotelRoomOfferListEmpty"), l = z("HotelRoomOfferItem"), b = z("HotelRoomOfferBasket");
|
2737
|
+
return n(), m("div", fa, [
|
2738
|
+
t.isBookingApiClientDefined ? (n(), m(y, { key: 1 }, [
|
2739
|
+
t.hasError ? (n(), R(u, {
|
2767
2740
|
key: "error",
|
2768
2741
|
boilerplate: "",
|
2769
2742
|
type: "internalError"
|
2770
|
-
})) : t.showSkeleton ? (
|
2771
|
-
t.hotelRoomHotelRoomOffers.length ? C("", !0) : (
|
2772
|
-
t.isLoading ? (
|
2743
|
+
})) : t.showSkeleton ? (n(), R(u, { key: "skeleton" })) : t.packageHotelRoomOffers && t.packageHotelRoomOffers.length ? (n(), m(y, { key: 2 }, [
|
2744
|
+
t.hotelRoomHotelRoomOffers.length ? C("", !0) : (n(), m("div", ba)),
|
2745
|
+
t.isLoading ? (n(), R(je, {
|
2773
2746
|
key: 1,
|
2774
2747
|
class: "loader position-absolute",
|
2775
2748
|
color: "secondary",
|
2776
2749
|
indeterminate: ""
|
2777
2750
|
})) : C("", !0),
|
2778
|
-
t.hotelRoomHotelRoomOffers && t.hotelRoomHotelRoomOffers.length ? (
|
2779
|
-
o(
|
2751
|
+
t.hotelRoomHotelRoomOffers && t.hotelRoomHotelRoomOffers.length ? (n(), m(y, { key: 2 }, [
|
2752
|
+
o(ma, {
|
2780
2753
|
color: "primary",
|
2781
2754
|
density: "compact",
|
2782
2755
|
modelValue: t.tab,
|
@@ -2784,14 +2757,14 @@ function ha(t, e, n, s, r, p) {
|
|
2784
2757
|
grow: ""
|
2785
2758
|
}, {
|
2786
2759
|
default: a(() => [
|
2787
|
-
(
|
2760
|
+
(n(!0), m(y, null, Y(t.tabItems, (c) => (n(), m(y, { key: c }, [
|
2788
2761
|
o(ee, null, {
|
2789
2762
|
default: a(() => [
|
2790
2763
|
w(g(t.t(`HotelRoomOfferList.${c}.title`)), 1)
|
2791
2764
|
]),
|
2792
2765
|
_: 2
|
2793
2766
|
}, 1024),
|
2794
|
-
o(
|
2767
|
+
o(K, { vertical: "" })
|
2795
2768
|
], 64))), 128))
|
2796
2769
|
]),
|
2797
2770
|
_: 1
|
@@ -2804,10 +2777,10 @@ function ha(t, e, n, s, r, p) {
|
|
2804
2777
|
default: a(() => [
|
2805
2778
|
o(Ot, { class: "pt-3" }, {
|
2806
2779
|
default: a(() => [
|
2807
|
-
(
|
2780
|
+
(n(!0), m(y, null, Y(t.packageHotelRoomOffers, (c, S) => (n(), m(y, {
|
2808
2781
|
key: c.id
|
2809
2782
|
}, [
|
2810
|
-
|
2783
|
+
S > 0 ? (n(), R(K, { key: 0 })) : C("", !0),
|
2811
2784
|
o(l, M({ ref_for: !0 }, c, {
|
2812
2785
|
onBreakfastChange: t.onBreakfastChange,
|
2813
2786
|
onBookingPolicyFailed: t.onBookingPolicyFailed
|
@@ -2825,32 +2798,32 @@ function ha(t, e, n, s, r, p) {
|
|
2825
2798
|
]),
|
2826
2799
|
_: 1
|
2827
2800
|
}, 8, ["modelValue"])
|
2828
|
-
], 64)) : (
|
2801
|
+
], 64)) : (n(!0), m(y, { key: 3 }, Y(t.packageHotelRoomOffers, (c, S) => (n(), m(y, {
|
2829
2802
|
key: c.id
|
2830
2803
|
}, [
|
2831
|
-
|
2804
|
+
S > 0 ? (n(), R(K, { key: 0 })) : C("", !0),
|
2832
2805
|
o(l, M({ ref_for: !0 }, c, {
|
2833
2806
|
onBreakfastChange: t.onBreakfastChange,
|
2834
2807
|
onBookingPolicyFailed: t.onBookingPolicyFailed
|
2835
2808
|
}), null, 16, ["onBreakfastChange", "onBookingPolicyFailed"])
|
2836
2809
|
], 64))), 128))
|
2837
|
-
], 64)) : !t.packageHotelRoomOffers || !t.packageHotelRoomOffers.length ? (
|
2810
|
+
], 64)) : !t.packageHotelRoomOffers || !t.packageHotelRoomOffers.length ? (n(), R(u, {
|
2838
2811
|
key: "skeleton",
|
2839
2812
|
boilerplate: "",
|
2840
2813
|
type: "noResults"
|
2841
2814
|
})) : C("", !0)
|
2842
|
-
], 64)) : (
|
2815
|
+
], 64)) : (n(), m(y, { key: 0 }, [], 64))
|
2843
2816
|
]);
|
2844
2817
|
}
|
2845
|
-
typeof
|
2846
|
-
const
|
2847
|
-
|
2818
|
+
typeof Mt == "function" && Mt(te);
|
2819
|
+
const ja = /* @__PURE__ */ et(te, [["render", pa], ["__scopeId", "data-v-e71fbea6"]]);
|
2820
|
+
ie("css/revolugo.hotelroomofferlist.E-On0KSt.css");
|
2848
2821
|
export {
|
2849
2822
|
Rt as B,
|
2850
|
-
|
2823
|
+
ja as H,
|
2851
2824
|
Xt as a,
|
2852
|
-
|
2825
|
+
na as h,
|
2853
2826
|
co as r,
|
2854
2827
|
bo as u
|
2855
2828
|
};
|
2856
|
-
//# sourceMappingURL=revolugo.hotelroomofferlist.
|
2829
|
+
//# sourceMappingURL=revolugo.hotelroomofferlist.CqoX8wAD.min.js.map
|