@revolugo/elements 6.9.3-beta.9 → 6.9.4-rc.0
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/fonts.css +1 -1
- package/dist/css/revolugo.bdaterangepicker.OLspTh_0.css +1 -0
- package/dist/css/revolugo.bhoteloffersfilterbar.BebBKpCh.css +1 -0
- package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +1 -0
- package/dist/css/revolugo.bimagecarousel.B2SxWMbZ.css +1 -0
- package/dist/css/revolugo.bookingdetailssidebar.Cp4sLBjD.css +1 -0
- package/dist/css/revolugo.bstarrating.CPHKEfup.css +1 -0
- package/dist/css/revolugo.btag.T7X_iIkW.css +1 -0
- package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +1 -0
- package/dist/css/revolugo.creditcardform.DWne0Lnv.css +1 -0
- package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +1 -0
- package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +1 -0
- package/dist/css/revolugo.hoteldescriptionview.B-RiiuPY.css +1 -0
- package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +1 -0
- package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +1 -0
- package/dist/css/revolugo.hoteloffersmap.Z5DFtK0_.css +1 -0
- package/dist/css/revolugo.hoteloffersview.CLbnSww6.css +1 -0
- package/dist/css/revolugo.hotelroomofferlist.D8JlZt_N.css +1 -0
- package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +1 -0
- package/dist/css/revolugo.index.DK7d_h6O.css +1 -0
- package/dist/css/revolugo.index.XNPQF1ia.css +5 -0
- package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +1 -0
- package/dist/css/revolugo.prebookform.DmCR7hLv.css +1 -0
- package/dist/css/revolugo.preferencesmenu.fPv_7j-1.css +1 -0
- package/dist/css/revolugo.termsandconditions.D8IMR9da.css +1 -0
- package/dist/css/revolugo.vautocomplete.CuVjyvcC.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.vdialog.DwTSAOeg.css +1 -0
- package/dist/css/revolugo.vdivider.CTbbZwnv.css +1 -0
- package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +1 -0
- package/dist/css/revolugo.vicon.eIkh7vVK.css +1 -0
- package/dist/css/revolugo.vinput.BPiFMorL.css +1 -0
- package/dist/css/revolugo.vlabel.BvKaKg7Y.css +1 -0
- package/dist/css/revolugo.vlist.-Y4qkukF.css +1 -0
- package/dist/css/revolugo.vmenu.DvKwEp1j.css +1 -0
- package/dist/css/revolugo.vselect.C5CKHFYB.css +1 -0
- package/dist/css/revolugo.vsheet.Dmcoj8cr.css +1 -0
- package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +1 -0
- package/dist/css/revolugo.vslidegroup.ECiLCEE9.css +1 -0
- package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +1 -0
- package/dist/css/revolugo.vtextarea.Dxy6uSvm.css +1 -0
- package/dist/css/revolugo.vtextfield.BIH_AWWP.css +1 -0
- package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +1 -0
- package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +1 -0
- package/dist/css/{revolugo.webcomponentwrapper.BQSUxe3K.css → revolugo.webcomponentwrapper.cFJPP6Rp.css} +1 -1
- package/dist/index.es.min.js +1518 -1275
- 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.C9fSfygW.min.js +247 -0
- package/dist/revolugo.banktransferdetails.HF-5whLi.min.js +373 -0
- package/dist/revolugo.bdaterangepicker.Dztdr7of.min.js +8327 -0
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.WRP6nh8U.min.js +146 -0
- package/dist/revolugo.bhoteloffersfilterbar.riRikxpD.min.js +4901 -0
- package/dist/revolugo.bhotelroomsdetails.DSVvK0I7.min.js +965 -0
- package/dist/revolugo.bimagecarousel.0DDXWSsX.min.js +566 -0
- package/dist/revolugo.bookingdetailssidebar.B3nJVjzT.min.js +24 -0
- package/dist/revolugo.bookingdetailssidebar.HR95sw2v.min.js +870 -0
- package/dist/revolugo.bookingmanager.CHhySvbL.min.js +1755 -0
- package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.DCBOxir-.min.js +66 -0
- package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.D7d1JNOc.min.js +570 -0
- package/dist/revolugo.btag.C27GlEZ3.min.js +375 -0
- package/dist/revolugo.cancellationpoliciesbadge.CQ9NQZ7F.min.js +28 -0
- package/dist/revolugo.cancellationpoliciesbadge.D7VDRPmO.min.js +198 -0
- package/dist/revolugo.cancellationpolicieslist.DUrr7Myp.min.js +25 -0
- package/dist/revolugo.cancellationpolicieslist.IKkTYxdE.min.js +148 -0
- package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +21 -0
- package/dist/revolugo.case-transformers.Blb5hegY.min.js +123 -0
- package/dist/revolugo.common.D-l8b0V5.min.js +10 -0
- package/dist/{revolugo.creditcardstripeform.B8KtVBUI.min.js → revolugo.creditcardform.CejFX150.min.js} +886 -888
- package/dist/revolugo.creditcardform.Dx00l01z.min.js +24 -0
- package/dist/revolugo.creditcardpayment.CkfC2xTo.min.js +885 -0
- package/dist/revolugo.creditcardpayment.DZf0q5_n.min.js +24 -0
- package/dist/revolugo.currencypicker.B9c-AV8V.min.js +328 -0
- package/dist/revolugo.currencypickerbtn.B_lw6N3Y.min.js +24 -0
- package/dist/revolugo.currencypickerbtn.edi3iO6h.min.js +157 -0
- package/dist/revolugo.dates.DiE5ynTe.min.js +31 -0
- package/dist/revolugo.defaultsdeep.EmfuGqBQ.min.js +104 -0
- package/dist/{revolugo.dialog-attach.e4eWyf04.min.js → revolugo.dialog-attach.C4Yvk6WJ.min.js} +2 -2
- package/dist/revolugo.dialog-transition.Dly9KKqO.min.js +111 -0
- package/dist/revolugo.fastbookingflow.DPOX_gos.min.js +34 -0
- package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
- package/dist/revolugo.fullbookingflow.DSJE_kaM.min.js +429 -0
- package/dist/revolugo.hotel-offer-request.C9zwgVPt.min.js +98 -0
- package/dist/revolugo.hoteldescriptionview.Dtd-_3_8.min.js +24 -0
- package/dist/revolugo.hoteldescriptionview.kERJQPWm.min.js +2738 -0
- package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.CiHBAV7m.min.js +239 -0
- package/dist/revolugo.hotelofferlist.BC-TSjS6.min.js +24 -0
- package/dist/revolugo.hotelofferlist.D2AXSf4v.min.js +5640 -0
- package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +44 -0
- package/dist/revolugo.hoteloffersearchmenu.BODV4ZIe.min.js +202 -0
- package/dist/revolugo.hoteloffersearchmenuui.DqWHAurZ.min.js +829 -0
- package/dist/revolugo.hoteloffersmap.C6nn7LXn.min.js +8330 -0
- package/dist/revolugo.hoteloffersmap.Db9NNgcN.min.js +24 -0
- package/dist/revolugo.hoteloffersview.BAwQcocI.min.js +19 -0
- package/dist/revolugo.hoteloffersview.CIVNGmGO.min.js +616 -0
- package/dist/revolugo.hotelroomofferlist.C9y91Ya3.min.js +2799 -0
- package/dist/revolugo.hotelroomofferlist.CiBIB0Pb.min.js +24 -0
- package/dist/revolugo.hotelroomofferrequestcreator.props.2Sq_iptZ.min.js +171 -0
- package/dist/revolugo.hotelroomoffersbookingflow.BS4Fa2EH.min.js +1281 -0
- package/dist/revolugo.hotelroomoffersearchmenu.CXgExPhR.min.js +25 -0
- package/dist/revolugo.hotelroomoffersearchmenu.x_--4RXV.min.js +231 -0
- package/dist/revolugo.hotelroomoffersview.BzmRXy0a.min.js +290 -0
- package/dist/revolugo.hotelroomoffersview.CFo6k7zm.min.js +24 -0
- package/dist/revolugo.index.CDNx7Tg4.min.js +67 -0
- package/dist/revolugo.index.DZEISB0K.min.js +1232 -0
- package/dist/{revolugo.index.wc.CiJw1SpW.min.js → revolugo.index.wc.DLkeXtka.min.js} +4659 -4637
- package/dist/revolugo.langpicker.D7zIuy78.min.js +99 -0
- package/dist/revolugo.langpickerbtn.BF7sml8K.min.js +29 -0
- package/dist/revolugo.langpickerbtn.DMcy_gHZ.min.js +131 -0
- package/dist/revolugo.min.js +1 -1
- package/dist/revolugo.parsed-props.B5g9_9k5.min.js +40 -0
- package/dist/revolugo.pathify.DL0POvNz.min.js +36 -0
- package/dist/revolugo.prebookform.BMEaruyl.min.js +1527 -0
- package/dist/revolugo.prebookform.BVyTAnc9.min.js +24 -0
- package/dist/revolugo.preferencesmenu.5pUjkA0F.min.js +24 -0
- package/dist/revolugo.preferencesmenu.CfUC3L6C.min.js +261 -0
- package/dist/revolugo.roominglisteditor.DLWeU6Ct.min.js +385 -0
- package/dist/revolugo.roominglisteditor.L6CmotRz.min.js +24 -0
- package/dist/revolugo.rounded.C-2ilaaW.min.js +68 -0
- package/dist/revolugo.ssrboot.D7k4-YG4.min.js +18 -0
- package/dist/revolugo.storybooktoolbar.CTe_QwGW.min.js +881 -0
- package/dist/revolugo.termsandconditions.Cue6Dsm7.min.js +404 -0
- package/dist/revolugo.termsandconditions.DBq-dEuI.min.js +23 -0
- package/dist/revolugo.use-breakpoint-service.DsQuZJRM.min.js +39 -0
- package/dist/revolugo.use-dialog-attach.DLdl8iIG.min.js +16 -0
- package/dist/revolugo.use-html-element.c9F9oVPw.min.js +11 -0
- package/dist/revolugo.vautocomplete.Q2U5ECgn.min.js +445 -0
- package/dist/revolugo.vbadge.D-lbOD0r.min.js +112 -0
- package/dist/revolugo.vbtn.B-LYC8rJ.min.js +398 -0
- package/dist/revolugo.vcard.ZlYB5HOk.min.js +313 -0
- package/dist/revolugo.vcheckboxbtn.BGpOwRWV.min.js +478 -0
- package/dist/revolugo.vdialog.DlAgRbIv.min.js +133 -0
- package/dist/revolugo.vdivider.D1ITKKuu.min.js +77 -0
- package/dist/revolugo.vexpansionpanels.D8TtnQrF.min.js +262 -0
- package/dist/revolugo.vform.gu3frP5W.min.js +46 -0
- package/dist/revolugo.vicon.mrg8OisO.min.js +105 -0
- package/dist/revolugo.vinput.BowTI8jK.min.js +463 -0
- package/dist/revolugo.vlabel.BjtrjyZZ.min.js +48 -0
- package/dist/revolugo.vlist.BwlPoH0e.min.js +1299 -0
- package/dist/revolugo.vmenu.Dasw1a1s.min.js +145 -0
- package/dist/revolugo.vselect.B4IzM260.min.js +660 -0
- package/dist/revolugo.vsheet.CDgBUxHk.min.js +72 -0
- package/dist/revolugo.vskeletonloader.DgIjR-8k.min.js +136 -0
- package/dist/revolugo.vslidegroup.BV7NJuLN.min.js +325 -0
- package/dist/revolugo.vsnackbar.DFnMGJQg.min.js +198 -0
- package/dist/revolugo.vspacer.DqnVrVYg.min.js +7 -0
- package/dist/revolugo.vtextarea.CgekaBze.min.js +2092 -0
- package/dist/revolugo.vtextfield.BhmuZsP7.min.js +501 -0
- package/dist/{revolugo.vtoolbar.Ctwu8OKs.min.js → revolugo.vtoolbar.CMwcpp3v.min.js} +44 -42
- package/dist/revolugo.vtooltip.a-r5BxqW.min.js +89 -0
- package/dist/revolugo.vwindowitem.BHzrfo73.min.js +317 -0
- package/dist/revolugo.watch-list.BSqnQNdl.min.js +16 -0
- package/dist/revolugo.webcomponentwrapper.BNmjcBmh.min.js +2088 -0
- package/package.json +5 -5
- package/dist/css/revolugo.cancellationpoliciesbadge.DM3Cgr8A.css +0 -1
- package/dist/css/revolugo.creditcardstripeform.DN5YJSMj.css +0 -1
- package/dist/css/revolugo.index.ClC0OVqq.css +0 -5
- package/dist/css/revolugo.preferencesmenu.D2263Vn6.css +0 -1
- package/dist/revolugo.banktransferdetails.DFskPIBN.min.js +0 -47
- package/dist/revolugo.bookingdetailssidebar.BOs76Qod.min.js +0 -43
- package/dist/revolugo.bookingmanager.DzzQLMr9.min.js +0 -26
- package/dist/revolugo.cancellationpoliciesbadge.BRcM9UUl.min.js +0 -26
- package/dist/revolugo.cancellationpoliciesbadge.props.YZrc252e.min.js +0 -28756
- package/dist/revolugo.cancellationpolicieslist.B7Mf5bmE.min.js +0 -26
- package/dist/revolugo.creditcardstripeform.DkNqhTcH.min.js +0 -50
- package/dist/revolugo.currencypickerbtn.C1B6gpLV.min.js +0 -26
- package/dist/revolugo.fastbookingflow.VfdAOD-j.min.js +0 -36
- package/dist/revolugo.fullbookingflow.CFl16ykj.min.js +0 -26
- package/dist/revolugo.hoteldescriptionview.DTByBiNZ.min.js +0 -26
- package/dist/revolugo.hotelofferlist.HS8rTNwv.min.js +0 -26
- package/dist/revolugo.hoteloffersearchmenu.DLC5yEDD.min.js +0 -115
- package/dist/revolugo.hoteloffersmap.l4UaNpun.min.js +0 -26
- package/dist/revolugo.hoteloffersview.DxUc5TlW.min.js +0 -21
- package/dist/revolugo.hotelroomofferlist.ryYBtMFY.min.js +0 -26
- package/dist/revolugo.hotelroomoffersbookingflow.BWIa87mZ.min.js +0 -26
- package/dist/revolugo.hotelroomoffersearchmenu.4-HSRz_y.min.js +0 -26
- package/dist/revolugo.hotelroomoffersview.Df2SYo4D.min.js +0 -26
- package/dist/revolugo.index.Qn3FvgFh.min.js +0 -106
- package/dist/revolugo.langpickerbtn.rFwls9XZ.min.js +0 -31
- package/dist/revolugo.prebookform.D33OnpHn.min.js +0 -26
- package/dist/revolugo.preferencesmenu.BOWFkVY9.min.js +0 -24
- package/dist/revolugo.preferencesmenu.PVSL2fWE.min.js +0 -949
- package/dist/revolugo.roominglisteditor.gLjgOdGD.min.js +0 -26
- package/dist/revolugo.storybooktoolbar.DZrgGX1X.min.js +0 -838
- package/dist/revolugo.termsandconditions.3W9GTrVc.min.js +0 -31
- package/dist/revolugo.webcomponentwrapper.PTHIHE3G.min.js +0 -28624
@@ -0,0 +1,566 @@
|
|
1
|
+
import { d as I, H as R, i as B, D as y, o as l, u as z, a1 as V, c as u, w as d, B as D, e as v, C as w, F as L, a2 as T, a6 as O, ag as H, k as j, O as S, X as q, a as n, ad as W, a3 as F, J as _, aH as Y, g as J, r as K } from "./revolugo.index.wc.DLkeXtka.min.js";
|
2
|
+
import { _ as U, u as E, n as X, p as Z, e as Q, o as x, m as ee, M as te, C as se, V as b } from "./revolugo.webcomponentwrapper.BNmjcBmh.min.js";
|
3
|
+
import { i as ie, u as re, a as le, V as ae, f as C, q as oe, I as ne } from "./revolugo.index.DZEISB0K.min.js";
|
4
|
+
import { V as ue, a as de } from "./revolugo.vslidegroup.BV7NJuLN.min.js";
|
5
|
+
import { V as P, m as me, a as N, b as ce } from "./revolugo.vwindowitem.BHzrfo73.min.js";
|
6
|
+
import { a as he } from "./revolugo.vbtn.B-LYC8rJ.min.js";
|
7
|
+
import { V as ge } from "./revolugo.vskeletonloader.DgIjR-8k.min.js";
|
8
|
+
function M(e) {
|
9
|
+
try {
|
10
|
+
if (typeof document < "u") {
|
11
|
+
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
12
|
+
sheets: [],
|
13
|
+
components: []
|
14
|
+
};
|
15
|
+
const t = import.meta.url, s = t.slice(0, t.lastIndexOf("/") + 1) + e;
|
16
|
+
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(s);
|
17
|
+
for (const i of REVOLUGO_ELEMENTS_STYLES.components)
|
18
|
+
i(s);
|
19
|
+
if (e.indexOf("fonts") >= 0) {
|
20
|
+
const i = document.createElement("link");
|
21
|
+
i.rel = "stylesheet", linK.href = s, document.head.appendChild(i);
|
22
|
+
}
|
23
|
+
}
|
24
|
+
} catch (t) {
|
25
|
+
console.error("[revolugo-elements] ", t);
|
26
|
+
}
|
27
|
+
}
|
28
|
+
function k(e, t) {
|
29
|
+
return t.map((s) => e[s]).find(Boolean);
|
30
|
+
}
|
31
|
+
const Me = (e) => e ? {
|
32
|
+
highres: e.map(
|
33
|
+
(t) => k(t, ["xl", "l", "m"])
|
34
|
+
),
|
35
|
+
lowres: e.map(
|
36
|
+
(t) => k(t, ["l", "xl", "m"])
|
37
|
+
),
|
38
|
+
thumbnails: e.map(
|
39
|
+
(t) => k(t, ["m", "l", "xl"])
|
40
|
+
)
|
41
|
+
} : null, fe = ["src"], pe = /* @__PURE__ */ I({
|
42
|
+
__name: "BGoogleMapIframe",
|
43
|
+
props: {
|
44
|
+
address: {},
|
45
|
+
city: {},
|
46
|
+
height: {},
|
47
|
+
width: { default: "100%" }
|
48
|
+
},
|
49
|
+
setup(e) {
|
50
|
+
const t = e, s = R(() => {
|
51
|
+
if (!t.address || !t.city)
|
52
|
+
return "";
|
53
|
+
const i = t.address.toLowerCase().replace(/ /gu, "+"), a = t.city.toLowerCase().replace(/[ "'.1-9_]/gu, "");
|
54
|
+
return `https://maps.google.com/maps?q=${i},+${a}&output=embed`;
|
55
|
+
});
|
56
|
+
return (i, a) => (l(), B("iframe", y({ frameborder: "0" }, i.$props, {
|
57
|
+
src: s.value,
|
58
|
+
style: { "margin-bottom": "-6px" }
|
59
|
+
}), null, 16, fe));
|
60
|
+
}
|
61
|
+
}), Re = /* @__PURE__ */ U(pe, [["__scopeId", "data-v-142233e1"]]), ve = {
|
62
|
+
height: {
|
63
|
+
default: "70px",
|
64
|
+
type: [String, Number]
|
65
|
+
},
|
66
|
+
imageUrls: { required: !0, type: Array },
|
67
|
+
rounded: { type: Boolean },
|
68
|
+
slide: { type: Number }
|
69
|
+
}, ye = I({
|
70
|
+
data() {
|
71
|
+
return {
|
72
|
+
currentSlide: this.slide || 0
|
73
|
+
};
|
74
|
+
},
|
75
|
+
model: {
|
76
|
+
event: "change",
|
77
|
+
prop: "slide"
|
78
|
+
},
|
79
|
+
name: "BImageCarouselThumbnails",
|
80
|
+
props: ve,
|
81
|
+
setup() {
|
82
|
+
const { t: e } = z();
|
83
|
+
return {
|
84
|
+
t: e
|
85
|
+
};
|
86
|
+
},
|
87
|
+
watch: {
|
88
|
+
slide(e) {
|
89
|
+
this.currentSlide = e;
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}), we = V()({
|
93
|
+
name: "VSlideGroupItem",
|
94
|
+
props: ie(),
|
95
|
+
emits: {
|
96
|
+
"group:selected": (e) => !0
|
97
|
+
},
|
98
|
+
setup(e, t) {
|
99
|
+
let {
|
100
|
+
slots: s
|
101
|
+
} = t;
|
102
|
+
const i = re(e, ue);
|
103
|
+
return () => s.default?.({
|
104
|
+
isSelected: i.isSelected.value,
|
105
|
+
select: i.select,
|
106
|
+
toggle: i.toggle,
|
107
|
+
selectedClass: i.selectedClass.value
|
108
|
+
});
|
109
|
+
}
|
110
|
+
}), Ve = ["data-index", "onClick"], Se = ["height", "src"];
|
111
|
+
function be(e, t, s, i, a, m) {
|
112
|
+
return l(), u(de, {
|
113
|
+
ref: "slide-group",
|
114
|
+
modelValue: e.currentSlide,
|
115
|
+
"onUpdate:modelValue": t[0] || (t[0] = (o) => e.currentSlide = o),
|
116
|
+
"center-active": "",
|
117
|
+
mandatory: "",
|
118
|
+
"show-arrows": !1
|
119
|
+
}, {
|
120
|
+
default: d(() => [
|
121
|
+
(l(!0), B(L, null, D(e.imageUrls, (o, r) => (l(), u(we, { key: r }, {
|
122
|
+
default: d(({ isSelected: c, toggle: h }) => [
|
123
|
+
v("div", {
|
124
|
+
class: w(["thumb cursor-pointer", { active: c, "mr-1": r < e.imageUrls.length - 1 }]),
|
125
|
+
"data-index": r,
|
126
|
+
onClick: (f) => {
|
127
|
+
h(), e.$emit("change", r);
|
128
|
+
}
|
129
|
+
}, [
|
130
|
+
v("img", {
|
131
|
+
class: w({ rounded: e.rounded }),
|
132
|
+
height: e.height,
|
133
|
+
"max-width": "105",
|
134
|
+
src: o
|
135
|
+
}, null, 10, Se)
|
136
|
+
], 10, Ve)
|
137
|
+
]),
|
138
|
+
_: 2
|
139
|
+
}, 1024))), 128))
|
140
|
+
]),
|
141
|
+
_: 1
|
142
|
+
}, 8, ["modelValue"]);
|
143
|
+
}
|
144
|
+
const ke = /* @__PURE__ */ U(ye, [["render", be], ["__scopeId", "data-v-80ffae56"]]), Ce = {
|
145
|
+
clickable: {
|
146
|
+
default: !1,
|
147
|
+
type: Boolean
|
148
|
+
},
|
149
|
+
height: { type: String },
|
150
|
+
imageUrls: { required: !0, type: Array },
|
151
|
+
isLoading: { default: !1, type: Boolean },
|
152
|
+
lazy: {
|
153
|
+
default: 0,
|
154
|
+
type: Number
|
155
|
+
},
|
156
|
+
limit: {
|
157
|
+
default: 80,
|
158
|
+
type: Number
|
159
|
+
},
|
160
|
+
rounded: { type: Boolean },
|
161
|
+
showThumbnails: { type: Boolean },
|
162
|
+
slide: { type: Number },
|
163
|
+
thumbnailUrls: { type: Array },
|
164
|
+
thumbnailsHeight: {
|
165
|
+
type: [String, Number]
|
166
|
+
},
|
167
|
+
width: { type: String }
|
168
|
+
}, A = (e) => {
|
169
|
+
if (!e)
|
170
|
+
return {
|
171
|
+
val: 0
|
172
|
+
};
|
173
|
+
const t = /(-?[\d.]+)([%a-z]*)/u.exec(e.toString());
|
174
|
+
return !t || !t[1] ? {
|
175
|
+
val: 0
|
176
|
+
} : {
|
177
|
+
unit: t[2],
|
178
|
+
val: Number.parseInt(t[1])
|
179
|
+
};
|
180
|
+
}, Ie = I({
|
181
|
+
components: {
|
182
|
+
BImageCarouselThumbnails: ke
|
183
|
+
},
|
184
|
+
computed: {
|
185
|
+
carouselImages() {
|
186
|
+
return this.isLoading ? [
|
187
|
+
{
|
188
|
+
type: "loading",
|
189
|
+
url: void 0
|
190
|
+
}
|
191
|
+
] : !this.imageUrls || this.imageUrls.length === 0 ? [
|
192
|
+
{
|
193
|
+
type: "placeholder",
|
194
|
+
url: void 0
|
195
|
+
}
|
196
|
+
] : this.imageUrls.slice(0, this.limit).map((e) => ({
|
197
|
+
type: "image",
|
198
|
+
url: e
|
199
|
+
}));
|
200
|
+
},
|
201
|
+
imagesToLoad() {
|
202
|
+
if (!this.isVisible)
|
203
|
+
return [];
|
204
|
+
if (this.lazy === 0)
|
205
|
+
return [this.currentSlide];
|
206
|
+
const e = this.imageUrls.length;
|
207
|
+
return this.lazy < 0 ? Array.from({ length: e }, (t, s) => s) : Array.from(
|
208
|
+
{ length: 2 * this.lazy + 1 },
|
209
|
+
(t, s) => (this.currentSlide + s + e - this.lazy) % e
|
210
|
+
);
|
211
|
+
},
|
212
|
+
totalHeight() {
|
213
|
+
const e = A(this.height);
|
214
|
+
if (!e)
|
215
|
+
return "0px";
|
216
|
+
const t = A(
|
217
|
+
this.showThumbnails && this.imageUrls.length > 1 && this.thumbnailsHeight || void 0
|
218
|
+
);
|
219
|
+
if (!t)
|
220
|
+
return e.val + (e.unit || "px");
|
221
|
+
const s = e.unit || t.unit || "px";
|
222
|
+
return e.val + t.val + (s === "px" ? 4 : 0) + s;
|
223
|
+
}
|
224
|
+
},
|
225
|
+
data() {
|
226
|
+
return {
|
227
|
+
currentSlide: this.slide || 0,
|
228
|
+
isActive: !1,
|
229
|
+
isVisible: !1
|
230
|
+
};
|
231
|
+
},
|
232
|
+
methods: {
|
233
|
+
moveSlide(e) {
|
234
|
+
const t = this.imageUrls.length;
|
235
|
+
this.currentSlide = (t + this.currentSlide + e) % t, this.onCarouselChange();
|
236
|
+
},
|
237
|
+
onCarouselChange() {
|
238
|
+
this.$emit("change", this.currentSlide), this.isActive = !0;
|
239
|
+
},
|
240
|
+
onClick() {
|
241
|
+
this.$emit("click", this.currentSlide), this.clickable && (this.isActive = !1);
|
242
|
+
},
|
243
|
+
onClickOutside() {
|
244
|
+
this.isActive = !1;
|
245
|
+
},
|
246
|
+
onIntersect(e) {
|
247
|
+
this.isVisible = e[0].isIntersecting;
|
248
|
+
}
|
249
|
+
},
|
250
|
+
model: {
|
251
|
+
event: "change",
|
252
|
+
prop: "slide"
|
253
|
+
},
|
254
|
+
mounted() {
|
255
|
+
document.addEventListener("keyup", (e) => {
|
256
|
+
this.isActive && (e.key === "ArrowLeft" ? this.moveSlide(-1) : e.key === "ArrowRight" && this.moveSlide(1));
|
257
|
+
});
|
258
|
+
},
|
259
|
+
name: "BImageCarousel",
|
260
|
+
props: Ce,
|
261
|
+
setup() {
|
262
|
+
const { t: e } = z();
|
263
|
+
return {
|
264
|
+
t: e
|
265
|
+
};
|
266
|
+
},
|
267
|
+
watch: {
|
268
|
+
slide(e) {
|
269
|
+
this.currentSlide = e;
|
270
|
+
}
|
271
|
+
}
|
272
|
+
}), Be = T({
|
273
|
+
color: String,
|
274
|
+
cycle: Boolean,
|
275
|
+
delimiterIcon: {
|
276
|
+
type: F,
|
277
|
+
default: "$delimiter"
|
278
|
+
},
|
279
|
+
height: {
|
280
|
+
type: [Number, String],
|
281
|
+
default: 500
|
282
|
+
},
|
283
|
+
hideDelimiters: Boolean,
|
284
|
+
hideDelimiterBackground: Boolean,
|
285
|
+
interval: {
|
286
|
+
type: [Number, String],
|
287
|
+
default: 6e3,
|
288
|
+
validator: (e) => Number(e) > 0
|
289
|
+
},
|
290
|
+
progress: [Boolean, String],
|
291
|
+
verticalDelimiters: [Boolean, String],
|
292
|
+
...me({
|
293
|
+
continuous: !0,
|
294
|
+
mandatory: "force",
|
295
|
+
showArrows: !0
|
296
|
+
})
|
297
|
+
}, "VCarousel"), Le = V()({
|
298
|
+
name: "VCarousel",
|
299
|
+
props: Be(),
|
300
|
+
emits: {
|
301
|
+
"update:modelValue": (e) => !0
|
302
|
+
},
|
303
|
+
setup(e, t) {
|
304
|
+
let {
|
305
|
+
slots: s
|
306
|
+
} = t;
|
307
|
+
const i = O(e, "modelValue"), {
|
308
|
+
t: a
|
309
|
+
} = H(), m = j();
|
310
|
+
let o = -1;
|
311
|
+
S(i, c), S(() => e.interval, c), S(() => e.cycle, (h) => {
|
312
|
+
h ? c() : window.clearTimeout(o);
|
313
|
+
}), q(r);
|
314
|
+
function r() {
|
315
|
+
!e.cycle || !m.value || (o = window.setTimeout(m.value.group.next, Number(e.interval) > 0 ? Number(e.interval) : 6e3));
|
316
|
+
}
|
317
|
+
function c() {
|
318
|
+
window.clearTimeout(o), window.requestAnimationFrame(r);
|
319
|
+
}
|
320
|
+
return E(() => {
|
321
|
+
const h = P.filterProps(e);
|
322
|
+
return n(P, y({
|
323
|
+
ref: m
|
324
|
+
}, h, {
|
325
|
+
modelValue: i.value,
|
326
|
+
"onUpdate:modelValue": (f) => i.value = f,
|
327
|
+
class: ["v-carousel", {
|
328
|
+
"v-carousel--hide-delimiter-background": e.hideDelimiterBackground,
|
329
|
+
"v-carousel--vertical-delimiters": e.verticalDelimiters
|
330
|
+
}, e.class],
|
331
|
+
style: [{
|
332
|
+
height: W(e.height)
|
333
|
+
}, e.style]
|
334
|
+
}), {
|
335
|
+
default: s.default,
|
336
|
+
additional: (f) => {
|
337
|
+
let {
|
338
|
+
group: g
|
339
|
+
} = f;
|
340
|
+
return n(L, null, [!e.hideDelimiters && n("div", {
|
341
|
+
class: "v-carousel__controls",
|
342
|
+
style: {
|
343
|
+
left: e.verticalDelimiters === "left" && e.verticalDelimiters ? 0 : "auto",
|
344
|
+
right: e.verticalDelimiters === "right" ? 0 : "auto"
|
345
|
+
}
|
346
|
+
}, [g.items.value.length > 0 && n(le, {
|
347
|
+
defaults: {
|
348
|
+
VBtn: {
|
349
|
+
color: e.color,
|
350
|
+
icon: e.delimiterIcon,
|
351
|
+
size: "x-small",
|
352
|
+
variant: "text"
|
353
|
+
}
|
354
|
+
},
|
355
|
+
scoped: !0
|
356
|
+
}, {
|
357
|
+
default: () => [g.items.value.map((p, G) => {
|
358
|
+
const $ = {
|
359
|
+
id: `carousel-item-${p.id}`,
|
360
|
+
"aria-label": a("$vuetify.carousel.ariaLabel.delimiter", G + 1, g.items.value.length),
|
361
|
+
class: ["v-carousel__controls__item", g.isSelected(p.id) && "v-btn--active"],
|
362
|
+
onClick: () => g.select(p.id, !0)
|
363
|
+
};
|
364
|
+
return s.item ? s.item({
|
365
|
+
props: $,
|
366
|
+
item: p
|
367
|
+
}) : n(he, y(p, $), null);
|
368
|
+
})]
|
369
|
+
})]), e.progress && n(ae, {
|
370
|
+
class: "v-carousel__progress",
|
371
|
+
color: typeof e.progress == "string" ? e.progress : void 0,
|
372
|
+
modelValue: (g.getItemIndex(i.value) + 1) / g.items.value.length * 100
|
373
|
+
}, null)]);
|
374
|
+
},
|
375
|
+
prev: s.prev,
|
376
|
+
next: s.next
|
377
|
+
});
|
378
|
+
}), {};
|
379
|
+
}
|
380
|
+
}), Te = T({
|
381
|
+
...oe(),
|
382
|
+
...ce()
|
383
|
+
}, "VCarouselItem"), Ue = V()({
|
384
|
+
name: "VCarouselItem",
|
385
|
+
inheritAttrs: !1,
|
386
|
+
props: Te(),
|
387
|
+
setup(e, t) {
|
388
|
+
let {
|
389
|
+
slots: s,
|
390
|
+
attrs: i
|
391
|
+
} = t;
|
392
|
+
E(() => {
|
393
|
+
const a = C.filterProps(e), m = N.filterProps(e);
|
394
|
+
return n(N, y({
|
395
|
+
class: ["v-carousel-item", e.class]
|
396
|
+
}, m), {
|
397
|
+
default: () => [n(C, y(i, a), s)]
|
398
|
+
});
|
399
|
+
});
|
400
|
+
}
|
401
|
+
}), Ee = T({
|
402
|
+
modelValue: Boolean,
|
403
|
+
options: {
|
404
|
+
type: Object,
|
405
|
+
// For more information on types, navigate to:
|
406
|
+
// https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API
|
407
|
+
default: () => ({
|
408
|
+
root: void 0,
|
409
|
+
rootMargin: void 0,
|
410
|
+
threshold: void 0
|
411
|
+
})
|
412
|
+
},
|
413
|
+
...ee(),
|
414
|
+
...x(),
|
415
|
+
...Q(),
|
416
|
+
...Z({
|
417
|
+
transition: "fade-transition"
|
418
|
+
})
|
419
|
+
}, "VLazy"), $e = V()({
|
420
|
+
name: "VLazy",
|
421
|
+
directives: {
|
422
|
+
intersect: ne
|
423
|
+
},
|
424
|
+
props: Ee(),
|
425
|
+
emits: {
|
426
|
+
"update:modelValue": (e) => !0
|
427
|
+
},
|
428
|
+
setup(e, t) {
|
429
|
+
let {
|
430
|
+
slots: s
|
431
|
+
} = t;
|
432
|
+
const {
|
433
|
+
dimensionStyles: i
|
434
|
+
} = X(e), a = O(e, "modelValue");
|
435
|
+
function m(o) {
|
436
|
+
a.value || (a.value = o);
|
437
|
+
}
|
438
|
+
return E(() => _(n(e.tag, {
|
439
|
+
class: ["v-lazy", e.class],
|
440
|
+
style: [i.value, e.style]
|
441
|
+
}, {
|
442
|
+
default: () => [a.value && n(te, {
|
443
|
+
transition: e.transition,
|
444
|
+
appear: !0
|
445
|
+
}, {
|
446
|
+
default: () => [s.default?.()]
|
447
|
+
})]
|
448
|
+
}), [[Y("intersect"), {
|
449
|
+
handler: m,
|
450
|
+
options: e.options
|
451
|
+
}, null]])), {};
|
452
|
+
}
|
453
|
+
});
|
454
|
+
function Pe(e, t, s, i, a, m) {
|
455
|
+
const o = K("BImageCarouselThumbnails");
|
456
|
+
return l(), u($e, {
|
457
|
+
height: e.height === "100%" ? "100%" : void 0,
|
458
|
+
"min-height": e.height,
|
459
|
+
width: e.width
|
460
|
+
}, {
|
461
|
+
default: d(() => [
|
462
|
+
_((l(), u(Le, {
|
463
|
+
modelValue: e.currentSlide,
|
464
|
+
"onUpdate:modelValue": [
|
465
|
+
t[1] || (t[1] = (r) => e.currentSlide = r),
|
466
|
+
e.onCarouselChange
|
467
|
+
],
|
468
|
+
class: w(["carousel", { rounded: e.rounded }]),
|
469
|
+
height: e.height || "100%",
|
470
|
+
"hide-delimiters": "",
|
471
|
+
"show-arrows": e.imageUrls.length > 1 ? "hover" : !1,
|
472
|
+
width: e.width
|
473
|
+
}, {
|
474
|
+
default: d(() => [
|
475
|
+
(l(!0), B(L, null, D(e.carouselImages, ({ url: r, type: c }, h) => (l(), u(Ue, {
|
476
|
+
key: h,
|
477
|
+
eager: e.imagesToLoad.includes(h),
|
478
|
+
onClick: t[0] || (t[0] = (f) => e.isActive = !0)
|
479
|
+
}, {
|
480
|
+
default: d(() => [
|
481
|
+
c === "placeholder" ? (l(), u(b, {
|
482
|
+
key: 0,
|
483
|
+
align: "center",
|
484
|
+
class: "fill-height ma-0 bg-grey-lighten-2",
|
485
|
+
justify: "center"
|
486
|
+
}, {
|
487
|
+
default: d(() => t[3] || (t[3] = [
|
488
|
+
v("div", { class: "text-grey-lighten-5 text-h1 font-weight-black" }, "R", -1)
|
489
|
+
])),
|
490
|
+
_: 1,
|
491
|
+
__: [3]
|
492
|
+
})) : (l(), u(C, {
|
493
|
+
key: 1,
|
494
|
+
class: w({ "cursor-pointer": e.clickable }),
|
495
|
+
eager: "",
|
496
|
+
cover: "",
|
497
|
+
height: e.height || "100%",
|
498
|
+
src: r,
|
499
|
+
width: e.width || "100%",
|
500
|
+
onClick: e.onClick
|
501
|
+
}, {
|
502
|
+
error: d(() => [
|
503
|
+
n(b, {
|
504
|
+
align: "center",
|
505
|
+
class: "fill-height ma-0 bg-grey-lighten-2",
|
506
|
+
justify: "center"
|
507
|
+
}, {
|
508
|
+
default: d(() => t[4] || (t[4] = [
|
509
|
+
v("div", { class: "text-grey-lighten-5 text-h1 font-weight-black" }, "R", -1)
|
510
|
+
])),
|
511
|
+
_: 1,
|
512
|
+
__: [4]
|
513
|
+
})
|
514
|
+
]),
|
515
|
+
placeholder: d(() => [
|
516
|
+
c === "loading" || c === "image" ? (l(), u(ge, {
|
517
|
+
key: 0,
|
518
|
+
class: "rounded",
|
519
|
+
height: e.height,
|
520
|
+
width: e.width,
|
521
|
+
type: "image"
|
522
|
+
}, null, 8, ["height", "width"])) : (l(), u(b, {
|
523
|
+
key: 1,
|
524
|
+
align: "center",
|
525
|
+
class: "fill-height ma-0 bg-grey-lighten-2",
|
526
|
+
justify: "center"
|
527
|
+
}, {
|
528
|
+
default: d(() => t[5] || (t[5] = [
|
529
|
+
v("div", { class: "text-grey-lighten-5 text-h1 font-weight-black" }, "R", -1)
|
530
|
+
])),
|
531
|
+
_: 1,
|
532
|
+
__: [5]
|
533
|
+
}))
|
534
|
+
]),
|
535
|
+
_: 2
|
536
|
+
}, 1032, ["class", "height", "src", "width", "onClick"]))
|
537
|
+
]),
|
538
|
+
_: 2
|
539
|
+
}, 1032, ["eager"]))), 128))
|
540
|
+
]),
|
541
|
+
_: 1
|
542
|
+
}, 8, ["modelValue", "class", "height", "show-arrows", "width", "onUpdate:modelValue"])), [
|
543
|
+
[se, e.onClickOutside]
|
544
|
+
]),
|
545
|
+
e.showThumbnails && e.imageUrls.length > 1 ? (l(), u(o, {
|
546
|
+
key: 0,
|
547
|
+
modelValue: e.currentSlide,
|
548
|
+
"onUpdate:modelValue": t[2] || (t[2] = (r) => e.currentSlide = r),
|
549
|
+
class: "mt-1",
|
550
|
+
height: e.thumbnailsHeight,
|
551
|
+
"image-urls": e.thumbnailUrls?.slice(0, e.limit) || e.imageUrls.slice(0, e.limit),
|
552
|
+
rounded: e.rounded
|
553
|
+
}, null, 8, ["modelValue", "height", "image-urls", "rounded"])) : J("", !0)
|
554
|
+
]),
|
555
|
+
_: 1
|
556
|
+
}, 8, ["height", "min-height", "width"]);
|
557
|
+
}
|
558
|
+
const He = /* @__PURE__ */ U(Ie, [["render", Pe], ["__scopeId", "data-v-e9cc62c5"]]);
|
559
|
+
M("css/revolugo.bimagecarousel.B2SxWMbZ.css");
|
560
|
+
export {
|
561
|
+
He as B,
|
562
|
+
$e as V,
|
563
|
+
Re as a,
|
564
|
+
Me as m
|
565
|
+
};
|
566
|
+
//# sourceMappingURL=revolugo.bimagecarousel.0DDXWSsX.min.js.map
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { b as r, B as s } from "./revolugo.bookingdetailssidebar.HR95sw2v.min.js";
|
2
|
+
import { W as t, _ as p } from "./revolugo.webcomponentwrapper.BNmjcBmh.min.js";
|
3
|
+
import { d as i, c, w as l, a as m, n as d, h as _, r as o, o as b } from "./revolugo.index.wc.DLkeXtka.min.js";
|
4
|
+
const f = i({
|
5
|
+
components: {
|
6
|
+
BookingDetailsSidebar: s,
|
7
|
+
WebComponentWrapper: t
|
8
|
+
},
|
9
|
+
props: r
|
10
|
+
});
|
11
|
+
function u(e, k, B, g, W, C) {
|
12
|
+
const a = o("BookingDetailsSidebar", !0), n = o("WebComponentWrapper");
|
13
|
+
return b(), c(n, null, {
|
14
|
+
default: l(() => [
|
15
|
+
m(a, d(_(e.$props)), null, 16)
|
16
|
+
]),
|
17
|
+
_: 1
|
18
|
+
});
|
19
|
+
}
|
20
|
+
const h = /* @__PURE__ */ p(f, [["render", u]]);
|
21
|
+
export {
|
22
|
+
h as default
|
23
|
+
};
|
24
|
+
//# sourceMappingURL=revolugo.bookingdetailssidebar.B3nJVjzT.min.js.map
|