@revolugo/elements 6.8.3-beta.11 → 6.8.3-beta.13
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.bhoteloffersfilterbar.BP8bd417.css +1 -0
- package/dist/css/revolugo.bimagecarousel.BxIL_xDV.css +1 -0
- package/dist/css/revolugo.creditcardform.BXv0c3zQ.css +1 -0
- package/dist/css/revolugo.hoteloffersmap.CdDZxzE3.css +1 -0
- package/dist/css/revolugo.hotelroomofferlist.C1uw1vfC.css +1 -0
- package/dist/css/revolugo.hotelroomoffersbookingflow.nFiRmYyk.css +1 -0
- package/dist/css/revolugo.prebookform.BqSw27Yj.css +1 -0
- package/dist/css/revolugo.vtextarea.BTR7f0gW.css +1 -0
- package/dist/{revolugo._baseiteratee.DP92zxle.min.js → revolugo._baseiteratee.cBR9c7y0.min.js} +2 -2
- package/dist/{revolugo.banktransferdetails.Clt6zoWY.min.js → revolugo.banktransferdetails.COKZxUgl.min.js} +10 -10
- package/dist/{revolugo.bdaterangepicker.DIZJ8RP6.min.js → revolugo.bdaterangepicker.DTHAdEo_.min.js} +5 -5
- package/dist/{revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.CDRQwrv7.min.js → revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.CSkPq_d5.min.js} +2 -2
- package/dist/{revolugo.bhoteloffersfilterbar.B_jLAORy.min.js → revolugo.bhoteloffersfilterbar.WV1ViyRw.min.js} +2391 -3078
- package/dist/{revolugo.bhotelroomsdetails.CNHF038L.min.js → revolugo.bhotelroomsdetails.Du1N0UAf.min.js} +11 -11
- package/dist/revolugo.bimagecarousel.CBxDqlvz.min.js +480 -0
- package/dist/{revolugo.bookingdetailssidebar.BvjQVRA_.min.js → revolugo.bookingdetailssidebar.DPhWTa8q.min.js} +4 -4
- package/dist/{revolugo.bookingdetailssidebar.vue_vue_type_script_setup_true_lang.B4RC_YAC.min.js → revolugo.bookingdetailssidebar.vue_vue_type_script_setup_true_lang.CFy72I3H.min.js} +213 -243
- package/dist/{revolugo.bookingmanager.CghMJdqz.min.js → revolugo.bookingmanager.DU11HnFM.min.js} +20 -20
- package/dist/{revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.Db_ACG1H.min.js → revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.O_acR9ze.min.js} +3 -3
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CT_6nJxo.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.CsJ-qnww.min.js} +7 -7
- package/dist/{revolugo.btag.7A6HnkUR.min.js → revolugo.btag.C62gPpXY.min.js} +20 -20
- package/dist/{revolugo.cancellationpoliciesbadge.RmBkzruq.min.js → revolugo.cancellationpoliciesbadge.2POZ-HT5.min.js} +7 -7
- package/dist/{revolugo.cancellationpoliciesbadge.D6FHfa0I.min.js → revolugo.cancellationpoliciesbadge.Ct0ngoDp.min.js} +4 -4
- package/dist/{revolugo.cancellationpolicieslist._M2P5eAM.min.js → revolugo.cancellationpolicieslist.B3anYVoy.min.js} +3 -3
- package/dist/{revolugo.cancellationpolicieslist.DfOXzNMU.min.js → revolugo.cancellationpolicieslist.CXfbgIoX.min.js} +4 -4
- package/dist/{revolugo.case-transformers.1_jOatQm.min.js → revolugo.case-transformers.BwQ_6ytS.min.js} +2 -2
- package/dist/{revolugo.creditcardform.BBaq6YmN.min.js → revolugo.creditcardform.Bk7yeZle.min.js} +196 -196
- package/dist/{revolugo.creditcardform.CTFNLH8J.min.js → revolugo.creditcardform.CLPMa22X.min.js} +4 -4
- package/dist/{revolugo.creditcardpayment.D4RSffRi.min.js → revolugo.creditcardpayment.16l0_Jf7.min.js} +16 -16
- package/dist/{revolugo.creditcardpayment.BxrVjLuU.min.js → revolugo.creditcardpayment.8uLeCSFY.min.js} +4 -4
- package/dist/{revolugo.currencypicker.CMJz4vqd.min.js → revolugo.currencypicker.C2vrmj29.min.js} +14 -14
- package/dist/{revolugo.currencypickerbtn.cUc7CL2Y.min.js → revolugo.currencypickerbtn.D-_ebAdx.min.js} +9 -9
- package/dist/{revolugo.currencypickerbtn.BY9oouTZ.min.js → revolugo.currencypickerbtn.oOaJl4xV.min.js} +4 -4
- package/dist/{revolugo.dates.DPQNmLzk.min.js → revolugo.dates.CjcXQ0GW.min.js} +2 -2
- package/dist/{revolugo.defaultsdeep.BVE67mfz.min.js → revolugo.defaultsdeep.BeZIlIB3.min.js} +2 -2
- package/dist/{revolugo.dialog-attach.YVQZM1DK.min.js → revolugo.dialog-attach.BhhnSZUl.min.js} +2 -2
- package/dist/{revolugo.dialog-transition.oQAo2-et.min.js → revolugo.dialog-transition.FTaI_Ytg.min.js} +3 -3
- package/dist/{revolugo.fastbookingflow.CENJomA1.min.js → revolugo.fastbookingflow.BEvuz8TE.min.js} +4 -4
- package/dist/{revolugo.fullbookingflow.CbLd9Lyf.min.js → revolugo.fullbookingflow.Cqc7o02c.min.js} +17 -17
- package/dist/{revolugo.hotel-offer-request.C1AKWroC.min.js → revolugo.hotel-offer-request.aeZsBIhG.min.js} +2 -2
- package/dist/{revolugo.hoteldescriptionview.BMdDyGVt.min.js → revolugo.hoteldescriptionview.Cc34IdcB.min.js} +22 -22
- package/dist/{revolugo.hoteldescriptionview._OO7w9zd.min.js → revolugo.hoteldescriptionview.bwCbJ_Lc.min.js} +4 -4
- package/dist/{revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.DLrZACAp.min.js → revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.CmUguFEO.min.js} +7 -7
- package/dist/{revolugo.hotelofferlist.Dh5vDJMe.min.js → revolugo.hotelofferlist.BjxZDBqQ.min.js} +4 -4
- package/dist/{revolugo.hotelofferlist.CFoAnyrB.min.js → revolugo.hotelofferlist.BvbLSbsN.min.js} +2855 -2870
- package/dist/{revolugo.hoteloffersearchmenu.CiJQ2M0P.min.js → revolugo.hoteloffersearchmenu.BJ-JtltU.min.js} +6 -6
- package/dist/{revolugo.hoteloffersearchmenuui.BgvuHVW2.min.js → revolugo.hoteloffersearchmenuui.EO_TtRM1.min.js} +31 -31
- package/dist/{revolugo.hoteloffersmap.BZKdMCGn.min.js → revolugo.hoteloffersmap.CXSkWGLL.min.js} +4 -4
- package/dist/{revolugo.hoteloffersmap.COupnZUn.min.js → revolugo.hoteloffersmap.CwRdoBFO.min.js} +2532 -1845
- package/dist/{revolugo.hoteloffersview.CqRz5ApR.min.js → revolugo.hoteloffersview.Bldot7ii.min.js} +4 -4
- package/dist/{revolugo.hoteloffersview.CuZN1LQf.min.js → revolugo.hoteloffersview.DmZBFwbi.min.js} +16 -16
- package/dist/{revolugo.hotelroomofferlist.CgSm4Pl8.min.js → revolugo.hotelroomofferlist.BMzSnIk0.min.js} +566 -566
- package/dist/{revolugo.hotelroomofferlist.BYsGBpdF.min.js → revolugo.hotelroomofferlist.BfIOXkSe.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferrequestcreator.props.C_C-Y_h9.min.js → revolugo.hotelroomofferrequestcreator.props.C6XfAEF1.min.js} +2 -2
- package/dist/{revolugo.hotelroomoffersbookingflow.DFwr-egM.min.js → revolugo.hotelroomoffersbookingflow.NFAeeps4.min.js} +923 -923
- package/dist/{revolugo.hotelroomoffersearchmenu.X_iQ8R5P.min.js → revolugo.hotelroomoffersearchmenu.6fvMlU9I.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersearchmenu.BrzWEHwB.min.js → revolugo.hotelroomoffersearchmenu.DdtWQl8T.min.js} +8 -8
- package/dist/{revolugo.hotelroomoffersview.DQ2GcKPC.min.js → revolugo.hotelroomoffersview.BYJ5V84k.min.js} +12 -12
- package/dist/{revolugo.hotelroomoffersview.Cxe-LHyu.min.js → revolugo.hotelroomoffersview.CvL5egT6.min.js} +4 -4
- package/dist/{revolugo.index.28pb9NJA.min.js → revolugo.index.BEuxTkkV.min.js} +74 -74
- package/dist/{revolugo.index.BehZHE-w.min.js → revolugo.index.DW0gTseB.min.js} +6 -6
- package/dist/{revolugo.index.wc.BHVSqGrC.min.js → revolugo.index.wc.ChJWkzSz.min.js} +97 -97
- package/dist/{revolugo.langpicker.Ddak_l7M.min.js → revolugo.langpicker.C3WkV6vL.min.js} +5 -5
- package/dist/{revolugo.langpickerbtn.CNBIiZHd.min.js → revolugo.langpickerbtn.Big2FR0-.min.js} +10 -10
- package/dist/{revolugo.langpickerbtn.BzcFSIDj.min.js → revolugo.langpickerbtn.BtNmwMy5.min.js} +4 -4
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.parsed-props.CC-0bCLh.min.js → revolugo.parsed-props.CKrOq6vN.min.js} +4 -4
- package/dist/{revolugo.pathify.MnSO6lNi.min.js → revolugo.pathify.BXdI-Fp4.min.js} +2 -2
- package/dist/{revolugo.prebookform.Db-cKSs4.min.js → revolugo.prebookform.Bt4-Cptm.min.js} +4 -4
- package/dist/{revolugo.vtextarea.CpyjIdYe.min.js → revolugo.prebookform.DLNVSLoS.min.js} +2334 -1053
- package/dist/{revolugo.roominglisteditor.BQP7XwJk.min.js → revolugo.roominglisteditor.CQzIDZtG.min.js} +4 -4
- package/dist/{revolugo.roominglisteditor.CPYUR_4D.min.js → revolugo.roominglisteditor.w3dcygO-.min.js} +95 -103
- package/dist/{revolugo.rounded.BQUpkgY5.min.js → revolugo.rounded.TLykrsW-.min.js} +2 -2
- package/dist/{revolugo.ssrboot.oiwB_u4B.min.js → revolugo.ssrboot.B7Rop2QP.min.js} +2 -2
- package/dist/{revolugo.storybooktoolbar.pzZNLsbl.min.js → revolugo.storybooktoolbar.C-phKw4Y.min.js} +18 -18
- package/dist/{revolugo.termsandconditions.CVoc4wCL.min.js → revolugo.termsandconditions.BT6qdQad.min.js} +4 -4
- package/dist/revolugo.termsandconditions.Bo6ToP4B.min.js +405 -0
- package/dist/{revolugo.use-breakpoint-service.DCoxta_9.min.js → revolugo.use-breakpoint-service.CgKRPcVE.min.js} +3 -3
- package/dist/{revolugo.use-dialog-attach.B2t5QnKl.min.js → revolugo.use-dialog-attach.EGF5pKTl.min.js} +3 -3
- package/dist/revolugo.use-html-element.Bvmaeg1E.min.js +11 -0
- package/dist/{revolugo.use-parsed-props.DhDLqZ_E.min.js → revolugo.use-parsed-props.DL26tjRL.min.js} +3 -3
- package/dist/{revolugo.vautocomplete.DbuVpE77.min.js → revolugo.vautocomplete.C1ryjPoI.min.js} +31 -31
- package/dist/{revolugo.vbadge.BIU8KaMW.min.js → revolugo.vbadge.BFTNHKkx.min.js} +15 -15
- package/dist/{revolugo.vbtn.IUxF2ME5.min.js → revolugo.vbtn.Cw5eo1Xx.min.js} +17 -17
- package/dist/{revolugo.vcard.DAHM1t48.min.js → revolugo.vcard.DlI6Moiv.min.js} +23 -23
- package/dist/{revolugo.vcheckboxbtn.D5F58CoS.min.js → revolugo.vcheckboxbtn.Bc0xhmo2.min.js} +39 -39
- package/dist/{revolugo.vdialog.BQTEd3ge.min.js → revolugo.vdialog.up-Y8p7U.min.js} +7 -7
- package/dist/{revolugo.vdivider.BQ1hnmkI.min.js → revolugo.vdivider.CaptbTLL.min.js} +8 -8
- package/dist/{revolugo.vexpansionpanels.Dq2DJxg3.min.js → revolugo.vexpansionpanels.DeQCpMrB.min.js} +19 -19
- package/dist/{revolugo.vform.Dh0L7FRS.min.js → revolugo.vform.Cix7vOUg.min.js} +4 -4
- package/dist/{revolugo.vicon.9kLwN_wf.min.js → revolugo.vicon.BebzkIu9.min.js} +9 -9
- package/dist/{revolugo.vinput.VG8tTs4n.min.js → revolugo.vinput.BP0DAwB4.min.js} +38 -38
- package/dist/{revolugo.vlabel.KHqsrczG.min.js → revolugo.vlabel.BLwMEYcT.min.js} +3 -3
- package/dist/{revolugo.vlist.BR2uF_Ge.min.js → revolugo.vlist.BQB5ovkZ.min.js} +63 -63
- package/dist/{revolugo.vmenu.BnCJVuKZ.min.js → revolugo.vmenu.Bkfr0AZ8.min.js} +18 -18
- package/dist/{revolugo.vselect.gYsgWdrC.min.js → revolugo.vselect.CnEh8cV1.min.js} +87 -87
- package/dist/{revolugo.vsheet.B_wHziRR.min.js → revolugo.vsheet.3Q2yGw6P.min.js} +14 -14
- package/dist/{revolugo.vskeletonloader.CSovekwH.min.js → revolugo.vskeletonloader.Duv2gHal.min.js} +13 -13
- package/dist/{revolugo.vslidegroup.B4lxpAeu.min.js → revolugo.vslidegroup.DRWO8Opf.min.js} +21 -21
- package/dist/{revolugo.vsnackbar.Cg_I8qLG.min.js → revolugo.vsnackbar.IdM-bZTD.min.js} +29 -29
- package/dist/revolugo.vspacer.C-OarNi7.min.js +7 -0
- package/dist/revolugo.vtextarea.Dm9Cp0hC.min.js +240 -0
- package/dist/{revolugo.vtextfield.BFV9zA-d.min.js → revolugo.vtextfield.CJVqkfB9.min.js} +49 -49
- package/dist/{revolugo.vtoolbar.BUusfthT.min.js → revolugo.vtoolbar.DvuDs2yB.min.js} +17 -17
- package/dist/{revolugo.vtooltip.TpoT-GCL.min.js → revolugo.vtooltip.64CgkEK4.min.js} +6 -6
- package/dist/{revolugo.vwindowitem.ADlNaenF.min.js → revolugo.vwindowitem.qKodFAHS.min.js} +25 -25
- package/dist/{revolugo.watch-list.7eKmD-Cq.min.js → revolugo.watch-list.0WSknWRu.min.js} +2 -2
- package/dist/{revolugo.webcomponentwrapper.D9BPl-Pm.min.js → revolugo.webcomponentwrapper.BXqP9KYd.min.js} +67 -67
- package/package.json +1 -1
- package/dist/css/revolugo.bhoteloffersfilterbar.CekxoJmW.css +0 -1
- package/dist/css/revolugo.bimagecarousel.B2SxWMbZ.css +0 -1
- package/dist/css/revolugo.creditcardform.DWne0Lnv.css +0 -1
- package/dist/css/revolugo.hoteloffersmap.Cp2vN-VQ.css +0 -1
- package/dist/css/revolugo.hotelroomofferlist.BYvQZ5P2.css +0 -1
- package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +0 -1
- package/dist/css/revolugo.prebookform.BAOv_-Iq.css +0 -1
- package/dist/css/revolugo.vtextarea.Dxy6uSvm.css +0 -1
- package/dist/revolugo.bimagecarousel.BgFg06KV.min.js +0 -566
- package/dist/revolugo.prebookform.Y0RZLTMq.min.js +0 -1527
- package/dist/revolugo.termsandconditions.B3BUBkTZ.min.js +0 -405
- package/dist/revolugo.use-html-element.3dud1iQV.min.js +0 -11
- package/dist/revolugo.vspacer.WeQ8VCNg.min.js +0 -7
@@ -1,566 +0,0 @@
|
|
1
|
-
import { d as I, H as R, k as B, D as y, o as l, u as z, a1 as V, c as u, w as d, B as D, b as v, C as w, F as L, a2 as T, a6 as O, ag as H, r 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, i as K } from "./revolugo.index.wc.BHVSqGrC.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.D9BPl-Pm.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.28pb9NJA.min.js";
|
4
|
-
import { V as ue, a as de } from "./revolugo.vslidegroup.B4lxpAeu.min.js";
|
5
|
-
import { V as P, m as me, a as N, b as ce } from "./revolugo.vwindowitem.ADlNaenF.min.js";
|
6
|
-
import { a as he } from "./revolugo.vbtn.IUxF2ME5.min.js";
|
7
|
-
import { V as ge } from "./revolugo.vskeletonloader.CSovekwH.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.BgFg06KV.min.js.map
|