@revolugo/elements 6.8.2-beta.30 → 6.8.2-beta.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/revolugo.bdaterangepicker.D1e8WHUE.css +1 -0
- package/dist/css/revolugo.bimagecarousel.DFlgQMzq.css +1 -0
- package/dist/css/{revolugo.btag.g-q3eChG.css → revolugo.btag.CYbY5J61.css} +1 -1
- package/dist/css/revolugo.index.DK7d_h6O.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.vlist.-Y4qkukF.css +1 -0
- package/dist/css/{revolugo.vsnackbar.Cj7AcupY.css → revolugo.vsnackbar.CCfuo3ao.css} +1 -1
- package/dist/css/{revolugo.webcomponentwrapper.DRCKFwuk.css → revolugo.webcomponentwrapper.BNxGrktU.css} +2 -2
- package/dist/index.es.min.js +1927 -2144
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +6 -6
- package/dist/index.min.js.map +1 -1
- package/dist/{revolugo._baseiteratee.CLhJGa_I.min.js → revolugo._baseiteratee.Bxmf2YBQ.min.js} +3 -3
- package/dist/{revolugo.banktransferdetails.Djs6mxU0.min.js → revolugo.banktransferdetails.SE8NErTw.min.js} +9 -9
- package/dist/revolugo.bdaterangepicker.Bs2pH95_.min.js +8328 -0
- package/dist/{revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.C3xbTcQN.min.js → revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DIWYLLE_.min.js} +30 -34
- package/dist/{revolugo.bhoteloffersfilterbar.CVh2pH-N.min.js → revolugo.bhoteloffersfilterbar.gHx-XQIq.min.js} +1672 -1766
- package/dist/{revolugo.bhotelroomsdetails.C4xdQLfe.min.js → revolugo.bhotelroomsdetails.ByB7GIQB.min.js} +72 -76
- package/dist/{revolugo.bhotelsearchbar.DR7UHkQo.min.js → revolugo.bhotelsearchbar.D4nP_Yeh.min.js} +119 -122
- package/dist/{revolugo.bimagecarousel.DhwrLMiX.min.js → revolugo.bimagecarousel.DhA7fKr_.min.js} +165 -174
- package/dist/{revolugo.bookingdetailssidebar.DwIul6C1.min.js → revolugo.bookingdetailssidebar.Dd56Wy_U.min.js} +207 -221
- package/dist/{revolugo.bookingdetailssidebar.DkBHaNwV.min.js → revolugo.bookingdetailssidebar.lwfVw3hd.min.js} +4 -4
- package/dist/{revolugo.bookingmanager.CmdsCQDi.min.js → revolugo.bookingmanager.CalvEAgz.min.js} +400 -419
- package/dist/{revolugo.bpricesummaryskeleton.BcgNLGYX.min.js → revolugo.bpricesummaryskeleton.C-X2i-r7.min.js} +4 -4
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.B4psJ9Sg.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.7yIt37GG.min.js} +148 -157
- package/dist/revolugo.btag.D9PcRagV.min.js +375 -0
- package/dist/{revolugo.cancellationpoliciesbadge.D7CMWTdG.min.js → revolugo.cancellationpoliciesbadge.BMTMxB84.min.js} +86 -95
- package/dist/{revolugo.cancellationpoliciesbadge.Bp43_l5_.min.js → revolugo.cancellationpoliciesbadge.BS3sdT0j.min.js} +4 -4
- package/dist/{revolugo.cancellationpolicieslist.D2idtSnK.min.js → revolugo.cancellationpolicieslist.BlIDNloM.min.js} +4 -4
- package/dist/{revolugo.cancellationpolicieslist.hSJAFEGT.min.js → revolugo.cancellationpolicieslist.CSKJ_RQf.min.js} +6 -6
- package/dist/revolugo.case-transformers.wj5dY-62.min.js +123 -0
- package/dist/{revolugo.creditcardform.CrwpUivQ.min.js → revolugo.creditcardform.58FDmjkc.min.js} +4 -4
- package/dist/{revolugo.creditcardform.SRz4ls19.min.js → revolugo.creditcardform.DjHXUGaT.min.js} +56 -69
- package/dist/{revolugo.creditcardpayment.bSs8I8av.min.js → revolugo.creditcardpayment.CXIZBeLQ.min.js} +4 -4
- package/dist/{revolugo.creditcardpayment.BcVHQlKJ.min.js → revolugo.creditcardpayment.eNRvC7VG.min.js} +152 -162
- package/dist/{revolugo.currencypicker.-B3knz6i.min.js → revolugo.currencypicker.mpJHETlw.min.js} +6 -6
- package/dist/{revolugo.currencypickerbtn.D38ZdlKW.min.js → revolugo.currencypickerbtn.BT4gJYck.min.js} +42 -45
- package/dist/{revolugo.currencypickerbtn.CyHWGHaW.min.js → revolugo.currencypickerbtn.DcaNmmTa.min.js} +4 -4
- package/dist/{revolugo.defaultsdeep.z9urzKAp.min.js → revolugo.defaultsdeep.B15U6I23.min.js} +2 -2
- package/dist/{revolugo.dialog-attach.D_OA19-E.min.js → revolugo.dialog-attach.Kn52rX5V.min.js} +5 -6
- package/dist/revolugo.dialog-transition.K64Up6o5.min.js +111 -0
- package/dist/{revolugo.fastbookingflow.CJP79XT7.min.js → revolugo.fastbookingflow.DSWy6Ys3.min.js} +4 -4
- package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
- package/dist/{revolugo.fullbookingflow.Cd2NIaQ2.min.js → revolugo.fullbookingflow.BLumv8em.min.js} +122 -128
- package/dist/{revolugo.hotel-offer-request.CgsVMCkE.min.js → revolugo.hotel-offer-request.08Q8GaoF.min.js} +18 -18
- package/dist/{revolugo.hoteldescriptionview.BSrnxJem.min.js → revolugo.hoteldescriptionview.BCrpDoH8.min.js} +588 -620
- package/dist/{revolugo.hoteldescriptionview.Cl2E63e2.min.js → revolugo.hoteldescriptionview.BOhmeT2B.min.js} +4 -4
- package/dist/{revolugo.hotelofferitemlayout.BMzCfYQ7.min.js → revolugo.hotelofferitemlayout.iXqLrvQm.min.js} +8 -8
- package/dist/{revolugo.hotelofferlist.B3yjbXlQ.min.js → revolugo.hotelofferlist.0NPXq55P.min.js} +1563 -1693
- package/dist/{revolugo.hotelofferlist.DhYBX5pF.min.js → revolugo.hotelofferlist.DjUTqa2K.min.js} +4 -4
- package/dist/{revolugo.hotelofferrequestcreator.CNbav2EO.min.js → revolugo.hotelofferrequestcreator.BURjSAMm.min.js} +5 -5
- package/dist/{revolugo.hoteloffersearchmenu.BZascblw.min.js → revolugo.hoteloffersearchmenu.Dgq9VEmx.min.js} +7 -7
- package/dist/{revolugo.hoteloffersmap.D6hRTrsf.min.js → revolugo.hoteloffersmap.BnqHPNt1.min.js} +563 -574
- package/dist/{revolugo.hoteloffersmap.DkNN0NQB.min.js → revolugo.hoteloffersmap.CeDXd2FY.min.js} +4 -4
- package/dist/{revolugo.hoteloffersview.DjAXSPOG.min.js → revolugo.hoteloffersview.Bih_7gfI.min.js} +125 -130
- package/dist/{revolugo.hoteloffersview.CPYXigVN.min.js → revolugo.hoteloffersview.D_H5aGBv.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.C_HCimvP.min.js → revolugo.hotelroomofferlist.CXald_sS.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.wD_JIpuK.min.js → revolugo.hotelroomofferlist.O0tRAgZS.min.js} +727 -785
- package/dist/{revolugo.hotelroomofferrequestcreator.props.DjBXUl-H.min.js → revolugo.hotelroomofferrequestcreator.props.CVwr05si.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersbookingflow.2E3AYERj.min.js → revolugo.hotelroomoffersbookingflow.DGKPam4L.min.js} +333 -358
- package/dist/{revolugo.hotelroomoffersearchmenu.B-C4YSFE.min.js → revolugo.hotelroomoffersearchmenu.DfCU58yl.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersearchmenu.DrW5uMfL.min.js → revolugo.hotelroomoffersearchmenu.ElcYfITq.min.js} +34 -36
- package/dist/{revolugo.hotelroomoffersview.CCmILEaO.min.js → revolugo.hotelroomoffersview.BDUFPxQD.min.js} +68 -71
- package/dist/{revolugo.hotelroomoffersview.DVsdh7Jz.min.js → revolugo.hotelroomoffersview.YYq7-L5h.min.js} +4 -4
- package/dist/{revolugo.index.Dyr1hnew.min.js → revolugo.index.bIefP9Di.min.js} +396 -419
- package/dist/{revolugo.index.wc.BaFPloEH.min.js → revolugo.index.wc.CVg-U7Gx.min.js} +6415 -6523
- package/dist/{revolugo.langpicker.CaQ17b6t.min.js → revolugo.langpicker.Ccsg-lEF.min.js} +24 -27
- package/dist/{revolugo.langpickerbtn.DTkV9PYE.min.js → revolugo.langpickerbtn.CM2mTy7Y.min.js} +4 -4
- package/dist/{revolugo.langpickerbtn.DmoEWum3.min.js → revolugo.langpickerbtn.DyJ4Olno.min.js} +31 -32
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.pathify.CKNqCKLR.min.js → revolugo.pathify.BlrRHScz.min.js} +4 -4
- package/dist/{revolugo.prebookform.p-M6zS08.min.js → revolugo.prebookform.B8gqQx-H.min.js} +4 -4
- package/dist/{revolugo.prebookform.CxKmwFK-.min.js → revolugo.prebookform.fhOF5rTL.min.js} +97 -101
- package/dist/{revolugo.roominglisteditor.5gfIA3r6.min.js → revolugo.roominglisteditor.CB2ZVVIX.min.js} +98 -104
- package/dist/{revolugo.roominglisteditor.Zz9TPhp6.min.js → revolugo.roominglisteditor.LxMxvTG6.min.js} +4 -4
- package/dist/{revolugo.rounded.CQuigzpH.min.js → revolugo.rounded.CdTdATPg.min.js} +2 -2
- package/dist/{revolugo.ssrboot.DfQY0r5E.min.js → revolugo.ssrboot.D-F25G2D.min.js} +2 -2
- package/dist/{revolugo.storybooktoolbar.DikXrkgz.min.js → revolugo.storybooktoolbar.BDi7kzis.min.js} +90 -94
- package/dist/{revolugo.termsandconditions.CiHuvfp6.min.js → revolugo.termsandconditions.DZ84e8oM.min.js} +52 -55
- package/dist/{revolugo.termsandconditions.Bbo5pbgR.min.js → revolugo.termsandconditions.ILptE4WJ.min.js} +4 -4
- package/dist/revolugo.use-breakpoint-service.DPvOP-XF.min.js +39 -0
- package/dist/revolugo.use-html-element.Dfl5QKN-.min.js +11 -0
- package/dist/revolugo.vautocomplete.DBPq0WdQ.min.js +445 -0
- package/dist/revolugo.vbadge.CU5xYZyW.min.js +112 -0
- package/dist/revolugo.vbtn.X3RP4Z34.min.js +398 -0
- package/dist/revolugo.vcard.DfYEYCIx.min.js +313 -0
- package/dist/revolugo.vcheckboxbtn.DLdpGWrK.min.js +478 -0
- package/dist/revolugo.vdialog.A3glfkAC.min.js +133 -0
- package/dist/{revolugo.vdivider.93Ehbd8W.min.js → revolugo.vdivider.C8Jprud4.min.js} +3 -3
- package/dist/revolugo.vexpansionpanels.xliCx-5-.min.js +262 -0
- package/dist/revolugo.vform.BYdqOlKN.min.js +46 -0
- package/dist/revolugo.vicon.DGbfBJIw.min.js +105 -0
- package/dist/revolugo.vinput.Bh9hEdMF.min.js +463 -0
- package/dist/revolugo.vlabel.Dx1aNiVc.min.js +48 -0
- package/dist/revolugo.vlist.BMwn1ihP.min.js +1299 -0
- package/dist/revolugo.vmenu.ByEEPO9y.min.js +145 -0
- package/dist/revolugo.vselect.Dzd6zNRa.min.js +660 -0
- package/dist/{revolugo.vsheet.H2Eli2di.min.js → revolugo.vsheet.C7bJI8gr.min.js} +5 -5
- package/dist/{revolugo.vskeletonloader.B-Qq0740.min.js → revolugo.vskeletonloader.DcVdfRoT.min.js} +57 -58
- package/dist/revolugo.vslidegroup.DrV2UvdN.min.js +325 -0
- package/dist/revolugo.vsnackbar.C_2qY4Nh.min.js +198 -0
- package/dist/revolugo.vspacer.CP17be9N.min.js +7 -0
- package/dist/{revolugo.vtextarea.BJaCwHl5.min.js → revolugo.vtextarea.CPnC6tk4.min.js} +353 -363
- package/dist/revolugo.vtextfield.CnjNadCm.min.js +501 -0
- package/dist/revolugo.vtoolbar.CpgasmNE.min.js +180 -0
- package/dist/revolugo.vtooltip.F6cVVKxe.min.js +89 -0
- package/dist/revolugo.vwindowitem.BZMm5BTu.min.js +317 -0
- package/dist/revolugo.watch-list.Bnuh1CzH.min.js +16 -0
- package/dist/{revolugo.webcomponentwrapper.Byzhja-M.min.js → revolugo.webcomponentwrapper.DY-mO-0c.min.js} +786 -832
- package/package.json +1 -1
- package/dist/css/revolugo.bdaterangepicker.BLYZnPjh.css +0 -1
- package/dist/css/revolugo.bimagecarousel.BvgD1yrr.css +0 -1
- package/dist/css/revolugo.index.4hIg6F8J.css +0 -1
- package/dist/css/revolugo.vbadge.BQrRJ9S0.css +0 -1
- package/dist/css/revolugo.vbtn.BU0YQ6en.css +0 -1
- package/dist/css/revolugo.vcard.B8jNYFn_.css +0 -1
- package/dist/css/revolugo.vcheckboxbtn.BQ05xI0T.css +0 -1
- package/dist/css/revolugo.vlist.BkGS0yqt.css +0 -1
- package/dist/revolugo.bdaterangepicker.D9a3kNuM.min.js +0 -8436
- package/dist/revolugo.btag.mY1ErEMj.min.js +0 -389
- package/dist/revolugo.case-transformers.VM7X_9Q1.min.js +0 -123
- package/dist/revolugo.dialog-transition.D9Rvu5kv.min.js +0 -114
- package/dist/revolugo.forwardrefs.-bfQnFea.min.js +0 -71
- package/dist/revolugo.use-breakpoint-service.BLlHYRIa.min.js +0 -45
- package/dist/revolugo.use-html-element.C-V3ql2M.min.js +0 -12
- package/dist/revolugo.vautocomplete.CimHObsW.min.js +0 -467
- package/dist/revolugo.vbadge.dOVHEqkO.min.js +0 -118
- package/dist/revolugo.vbtn.C5rBd2Qx.min.js +0 -417
- package/dist/revolugo.vcard.Dw6Qxohz.min.js +0 -329
- package/dist/revolugo.vcheckboxbtn.oJMjQhq7.min.js +0 -491
- package/dist/revolugo.vdialog.DBJFoM4O.min.js +0 -139
- package/dist/revolugo.vexpansionpanels.nGkPqsEk.min.js +0 -277
- package/dist/revolugo.vform.D7BJmMQ-.min.js +0 -50
- package/dist/revolugo.vicon.CuIGTijn.min.js +0 -106
- package/dist/revolugo.vinput.C6k3-74L.min.js +0 -478
- package/dist/revolugo.vlabel.BNLTPj0h.min.js +0 -51
- package/dist/revolugo.vlist.B56e-cT_.min.js +0 -1348
- package/dist/revolugo.vmenu.DhHohFn7.min.js +0 -152
- package/dist/revolugo.vselect.BHhGGQU3.min.js +0 -689
- package/dist/revolugo.vslidegroup.ChtHIkDN.min.js +0 -333
- package/dist/revolugo.vsnackbar.-lEdFT5G.min.js +0 -201
- package/dist/revolugo.vspacer.DaFDHuC9.min.js +0 -7
- package/dist/revolugo.vtextfield.CMQN6tSz.min.js +0 -508
- package/dist/revolugo.vtoolbar.CSyyGTVc.min.js +0 -188
- package/dist/revolugo.vtooltip.CvplYWvb.min.js +0 -90
- package/dist/revolugo.vwindowitem.bzpa5cVc.min.js +0 -329
- package/dist/revolugo.watch-list.Be1UUzWP.min.js +0 -16
@@ -1,45 +0,0 @@
|
|
1
|
-
import { C as k, cs as E, D as m, L as S, ct as B } from "./revolugo.index.wc.BaFPloEH.min.js";
|
2
|
-
import { u as w } from "./revolugo.use-html-element.C-V3ql2M.min.js";
|
3
|
-
function y(l) {
|
4
|
-
const n = k(null), a = k(null), d = E(), s = w(l), c = () => {
|
5
|
-
var e, t, r;
|
6
|
-
return ((e = s.value) == null ? void 0 : e.className) === B ? s.value : typeof ((t = s.value) == null ? void 0 : t.closest) != "function" ? null : ((r = s.value) == null ? void 0 : r.closest(`.${B}`)) ?? null;
|
7
|
-
}, v = m(
|
8
|
-
() => a.value && d.breakpointObservers[a.value] || {
|
9
|
-
ready: !1
|
10
|
-
}
|
11
|
-
), p = m(
|
12
|
-
() => {
|
13
|
-
var e;
|
14
|
-
return (e = Object.entries(v.value).find(
|
15
|
-
([t, r]) => t !== "ready" && r === !0
|
16
|
-
)) == null ? void 0 : e[0];
|
17
|
-
}
|
18
|
-
), o = (e, t, r = !0) => {
|
19
|
-
const f = ["xs", "sm", "md", "lg", "xl"], u = f.indexOf(
|
20
|
-
p.value
|
21
|
-
), i = f.indexOf(e);
|
22
|
-
return t === "above" ? r ? i < u : i <= u : r ? i > u : i >= u;
|
23
|
-
}, O = (e) => o(e, "above"), $ = (e) => o(e, "above", !1), x = (e) => o(e, "below"), C = (e) => o(e, "below", !1), b = () => {
|
24
|
-
n.value = n.value || c(), n.value && (a.value = n.value.getAttribute("observer-id"));
|
25
|
-
};
|
26
|
-
return S(l, () => {
|
27
|
-
b();
|
28
|
-
}), {
|
29
|
-
$breakpointService: v,
|
30
|
-
$isCurrentBreakpointAbove: O,
|
31
|
-
$isCurrentBreakpointAboveOrEqual: $,
|
32
|
-
$isCurrentBreakpointBelow: x,
|
33
|
-
$isCurrentBreakpointBelowOrEqual: C,
|
34
|
-
breakpointObserverEl: n,
|
35
|
-
breakpointServiceId: a,
|
36
|
-
breakpointServiceInit: b,
|
37
|
-
compareToCurrentBreakpoint: o,
|
38
|
-
currentBreakpoint: p,
|
39
|
-
getBreakpointObserverRootElement: c
|
40
|
-
};
|
41
|
-
}
|
42
|
-
export {
|
43
|
-
y as u
|
44
|
-
};
|
45
|
-
//# sourceMappingURL=revolugo.use-breakpoint-service.BLlHYRIa.min.js.map
|
@@ -1,12 +0,0 @@
|
|
1
|
-
import { D as u } from "./revolugo.index.wc.BaFPloEH.min.js";
|
2
|
-
function o(e) {
|
3
|
-
return u(() => {
|
4
|
-
var r;
|
5
|
-
const t = (r = e.value) == null ? void 0 : r.$el;
|
6
|
-
return t || e.value;
|
7
|
-
});
|
8
|
-
}
|
9
|
-
export {
|
10
|
-
o as u
|
11
|
-
};
|
12
|
-
//# sourceMappingURL=revolugo.use-html-element.C-V3ql2M.min.js.map
|
@@ -1,467 +0,0 @@
|
|
1
|
-
import { u as Ce, m as xe, a as Ee } from "./revolugo.vselect.BHhGGQU3.min.js";
|
2
|
-
import { c as Me, V as le } from "./revolugo.vtextfield.CMQN6tSz.min.js";
|
3
|
-
import { d as Ie, u as Le, p as _e } from "./revolugo.webcomponentwrapper.Byzhja-M.min.js";
|
4
|
-
import { Z as ie, a4 as A, D as F, J as Y, a7 as Ae, a2 as q, aX as Oe, Y as Pe, ab as Re, C as G, a1 as $, L as z, a5 as Te, a as s, y as P, bP as ae, bQ as ne, bR as De, Q as ue, bx as Ke, F as Q, bS as Ne, bT as Ue, f as je } from "./revolugo.index.wc.BaFPloEH.min.js";
|
5
|
-
import { b as Be } from "./revolugo.vinput.C6k3-74L.min.js";
|
6
|
-
import { f as Ye } from "./revolugo.forwardrefs.-bfQnFea.min.js";
|
7
|
-
import { u as Ge, a as ze, V as oe } from "./revolugo.vlist.B56e-cT_.min.js";
|
8
|
-
import { V as re } from "./revolugo.vicon.CuIGTijn.min.js";
|
9
|
-
import { V as Qe } from "./revolugo.vmenu.DhHohFn7.min.js";
|
10
|
-
import { a as He } from "./revolugo.vcheckboxbtn.oJMjQhq7.min.js";
|
11
|
-
import { h as Je, a as We } from "./revolugo.index.Dyr1hnew.min.js";
|
12
|
-
import { V as Xe } from "./revolugo.btag.mY1ErEMj.min.js";
|
13
|
-
function Fe(e) {
|
14
|
-
try {
|
15
|
-
if (typeof document < "u") {
|
16
|
-
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
17
|
-
sheets: [],
|
18
|
-
components: []
|
19
|
-
};
|
20
|
-
const r = import.meta.url, l = r.slice(0, r.lastIndexOf("/") + 1) + e;
|
21
|
-
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(l);
|
22
|
-
for (const g of REVOLUGO_ELEMENTS_STYLES.components)
|
23
|
-
g(l);
|
24
|
-
if (e.indexOf("fonts") >= 0) {
|
25
|
-
const g = document.createElement("link");
|
26
|
-
g.rel = "stylesheet", linK.href = l, document.head.appendChild(g);
|
27
|
-
}
|
28
|
-
}
|
29
|
-
} catch (r) {
|
30
|
-
console.error("[revolugo-elements] ", r);
|
31
|
-
}
|
32
|
-
}
|
33
|
-
const Ze = (e, r, l) => e == null || r == null ? -1 : e.toString().toLocaleLowerCase().indexOf(r.toString().toLocaleLowerCase()), $e = ie({
|
34
|
-
customFilter: Function,
|
35
|
-
customKeyFilter: Object,
|
36
|
-
filterKeys: [Array, String],
|
37
|
-
filterMode: {
|
38
|
-
type: String,
|
39
|
-
default: "intersection"
|
40
|
-
},
|
41
|
-
noFilter: Boolean
|
42
|
-
}, "filter");
|
43
|
-
function qe(e, r, l) {
|
44
|
-
var E;
|
45
|
-
const g = [], m = (l == null ? void 0 : l.default) ?? Ze, y = l != null && l.filterKeys ? q(l.filterKeys) : !1, V = Object.keys((l == null ? void 0 : l.customKeyFilter) ?? {}).length;
|
46
|
-
if (!(e != null && e.length)) return g;
|
47
|
-
e: for (let S = 0; S < e.length; S++) {
|
48
|
-
const [w, M = w] = q(e[S]), i = {}, u = {};
|
49
|
-
let p = -1;
|
50
|
-
if ((r || V > 0) && !(l != null && l.noFilter)) {
|
51
|
-
if (typeof w == "object") {
|
52
|
-
const R = y || Object.keys(M);
|
53
|
-
for (const C of R) {
|
54
|
-
const K = Oe(M, C), T = (E = l == null ? void 0 : l.customKeyFilter) == null ? void 0 : E[C];
|
55
|
-
if (p = T ? T(K, r, w) : m(K, r, w), p !== -1 && p !== !1)
|
56
|
-
T ? i[C] = p : u[C] = p;
|
57
|
-
else if ((l == null ? void 0 : l.filterMode) === "every")
|
58
|
-
continue e;
|
59
|
-
}
|
60
|
-
} else
|
61
|
-
p = m(w, r, w), p !== -1 && p !== !1 && (u.title = p);
|
62
|
-
const I = Object.keys(u).length, L = Object.keys(i).length;
|
63
|
-
if (!I && !L || (l == null ? void 0 : l.filterMode) === "union" && L !== V && !I || (l == null ? void 0 : l.filterMode) === "intersection" && (L !== V || !I)) continue;
|
64
|
-
}
|
65
|
-
g.push({
|
66
|
-
index: S,
|
67
|
-
matches: {
|
68
|
-
...u,
|
69
|
-
...i
|
70
|
-
}
|
71
|
-
});
|
72
|
-
}
|
73
|
-
return g;
|
74
|
-
}
|
75
|
-
function et(e, r, l, g) {
|
76
|
-
const m = A([]), y = A(/* @__PURE__ */ new Map()), V = F(() => Y(r));
|
77
|
-
Ae(() => {
|
78
|
-
const S = typeof l == "function" ? l() : Y(l), w = typeof S != "string" && typeof S != "number" ? "" : String(S), M = qe(V.value, w, {
|
79
|
-
customKeyFilter: {
|
80
|
-
...e.customKeyFilter,
|
81
|
-
...Y(g == null ? void 0 : g.customKeyFilter)
|
82
|
-
},
|
83
|
-
default: e.customFilter,
|
84
|
-
filterKeys: e.filterKeys,
|
85
|
-
filterMode: e.filterMode,
|
86
|
-
noFilter: e.noFilter
|
87
|
-
}), i = Y(r), u = [], p = /* @__PURE__ */ new Map();
|
88
|
-
M.forEach((I) => {
|
89
|
-
let {
|
90
|
-
index: L,
|
91
|
-
matches: R
|
92
|
-
} = I;
|
93
|
-
const C = i[L];
|
94
|
-
u.push(C), p.set(C.value, R);
|
95
|
-
}), m.value = u, y.value = p;
|
96
|
-
});
|
97
|
-
function E(S) {
|
98
|
-
return y.value.get(S.value);
|
99
|
-
}
|
100
|
-
return {
|
101
|
-
filteredItems: m,
|
102
|
-
filteredMatches: y,
|
103
|
-
getMatches: E
|
104
|
-
};
|
105
|
-
}
|
106
|
-
function tt(e, r, l) {
|
107
|
-
if (r == null) return e;
|
108
|
-
if (Array.isArray(r)) throw new Error("Multiple matches is not implemented");
|
109
|
-
return typeof r == "number" && ~r ? s(Q, null, [s("span", {
|
110
|
-
class: "v-autocomplete__unmask"
|
111
|
-
}, [e.substr(0, r)]), s("span", {
|
112
|
-
class: "v-autocomplete__mask"
|
113
|
-
}, [e.substr(r, l)]), s("span", {
|
114
|
-
class: "v-autocomplete__unmask"
|
115
|
-
}, [e.substr(r + l)])]) : e;
|
116
|
-
}
|
117
|
-
const lt = ie({
|
118
|
-
autoSelectFirst: {
|
119
|
-
type: [Boolean, String]
|
120
|
-
},
|
121
|
-
clearOnSelect: Boolean,
|
122
|
-
search: String,
|
123
|
-
...$e({
|
124
|
-
filterKeys: ["title"]
|
125
|
-
}),
|
126
|
-
...xe(),
|
127
|
-
...Te(Me({
|
128
|
-
modelValue: null,
|
129
|
-
role: "combobox"
|
130
|
-
}), ["validationValue", "dirty", "appendInnerIcon"]),
|
131
|
-
..._e({
|
132
|
-
transition: !1
|
133
|
-
})
|
134
|
-
}, "VAutocomplete"), ht = Pe()({
|
135
|
-
name: "VAutocomplete",
|
136
|
-
props: lt(),
|
137
|
-
emits: {
|
138
|
-
"update:focused": (e) => !0,
|
139
|
-
"update:search": (e) => !0,
|
140
|
-
"update:modelValue": (e) => !0,
|
141
|
-
"update:menu": (e) => !0
|
142
|
-
},
|
143
|
-
setup(e, r) {
|
144
|
-
let {
|
145
|
-
slots: l
|
146
|
-
} = r;
|
147
|
-
const {
|
148
|
-
t: g
|
149
|
-
} = Re(), m = G(), y = A(!1), V = A(!0), E = A(!1), S = G(), w = G(), M = $(e, "menu"), i = F({
|
150
|
-
get: () => M.value,
|
151
|
-
set: (t) => {
|
152
|
-
var a;
|
153
|
-
M.value && !t && ((a = S.value) != null && a.ΨopenChildren.size) || (M.value = t);
|
154
|
-
}
|
155
|
-
}), u = A(-1), p = F(() => {
|
156
|
-
var t;
|
157
|
-
return (t = m.value) == null ? void 0 : t.color;
|
158
|
-
}), I = F(() => i.value ? e.closeText : e.openText), {
|
159
|
-
items: L,
|
160
|
-
transformIn: R,
|
161
|
-
transformOut: C
|
162
|
-
} = Ge(e), {
|
163
|
-
textColorClasses: K,
|
164
|
-
textColorStyles: T
|
165
|
-
} = Ie(p), v = $(e, "search", ""), o = $(e, "modelValue", [], (t) => R(t === null ? [null] : q(t)), (t) => {
|
166
|
-
const a = C(t);
|
167
|
-
return e.multiple ? a : a[0] ?? null;
|
168
|
-
}), se = F(() => typeof e.counterValue == "function" ? e.counterValue(o.value) : typeof e.counterValue == "number" ? e.counterValue : o.value.length), N = Be(e), {
|
169
|
-
filteredItems: H,
|
170
|
-
getMatches: ce
|
171
|
-
} = et(e, L, () => V.value ? "" : v.value), x = F(() => e.hideSelected ? H.value.filter((t) => !o.value.some((a) => a.value === t.value)) : H.value), U = F(() => !!(e.chips || l.chip)), D = F(() => U.value || !!l.selection), fe = F(() => o.value.map((t) => t.props.value)), J = F(() => {
|
172
|
-
var a;
|
173
|
-
return (e.autoSelectFirst === !0 || e.autoSelectFirst === "exact" && v.value === ((a = x.value[0]) == null ? void 0 : a.title)) && x.value.length > 0 && !V.value && !E.value;
|
174
|
-
}), W = F(() => e.hideNoData && !x.value.length || N.isReadonly.value || N.isDisabled.value), X = G(), ve = Ce(X, m);
|
175
|
-
function de(t) {
|
176
|
-
e.openOnClear && (i.value = !0), v.value = "";
|
177
|
-
}
|
178
|
-
function me() {
|
179
|
-
W.value || (i.value = !0);
|
180
|
-
}
|
181
|
-
function he(t) {
|
182
|
-
W.value || (y.value && (t.preventDefault(), t.stopPropagation()), i.value = !i.value);
|
183
|
-
}
|
184
|
-
function ge(t) {
|
185
|
-
var a;
|
186
|
-
t.key !== " " && ae(t) && ((a = m.value) == null || a.focus());
|
187
|
-
}
|
188
|
-
function ye(t) {
|
189
|
-
var n, c, k;
|
190
|
-
if (N.isReadonly.value) return;
|
191
|
-
const a = m.value.selectionStart, f = o.value.length;
|
192
|
-
if (["Enter", "ArrowDown", "ArrowUp"].includes(t.key) && t.preventDefault(), ["Enter", "ArrowDown"].includes(t.key) && (i.value = !0), ["Escape"].includes(t.key) && (i.value = !1), J.value && ["Enter", "Tab"].includes(t.key) && !o.value.some((d) => {
|
193
|
-
let {
|
194
|
-
value: h
|
195
|
-
} = d;
|
196
|
-
return h === x.value[0].value;
|
197
|
-
}) && _(x.value[0]), t.key === "ArrowDown" && J.value && ((n = X.value) == null || n.focus("next")), ["Backspace", "Delete"].includes(t.key)) {
|
198
|
-
if (!e.multiple && D.value && o.value.length > 0 && !v.value) return _(o.value[0], !1);
|
199
|
-
if (~u.value) {
|
200
|
-
t.preventDefault();
|
201
|
-
const d = u.value;
|
202
|
-
_(o.value[u.value], !1), u.value = d >= f - 1 ? f - 2 : d;
|
203
|
-
} else t.key === "Backspace" && !v.value && (u.value = f - 1);
|
204
|
-
return;
|
205
|
-
}
|
206
|
-
if (e.multiple)
|
207
|
-
if (t.key === "ArrowLeft") {
|
208
|
-
if (u.value < 0 && a > 0) return;
|
209
|
-
const d = u.value > -1 ? u.value - 1 : f - 1;
|
210
|
-
o.value[d] ? u.value = d : (u.value = -1, m.value.setSelectionRange((c = v.value) == null ? void 0 : c.length, (k = v.value) == null ? void 0 : k.length));
|
211
|
-
} else if (t.key === "ArrowRight") {
|
212
|
-
if (u.value < 0) return;
|
213
|
-
const d = u.value + 1;
|
214
|
-
o.value[d] ? u.value = d : (u.value = -1, m.value.setSelectionRange(0, 0));
|
215
|
-
} else ~u.value && ae(t) && (u.value = -1);
|
216
|
-
}
|
217
|
-
function Ve(t) {
|
218
|
-
if (ne(m.value, ":autofill") || ne(m.value, ":-webkit-autofill")) {
|
219
|
-
const a = L.value.find((f) => f.title === t.target.value);
|
220
|
-
a && _(a);
|
221
|
-
}
|
222
|
-
}
|
223
|
-
function pe() {
|
224
|
-
var t;
|
225
|
-
e.eager && ((t = w.value) == null || t.calculateVisibleItems());
|
226
|
-
}
|
227
|
-
function Se() {
|
228
|
-
var t;
|
229
|
-
y.value && (V.value = !0, (t = m.value) == null || t.focus());
|
230
|
-
}
|
231
|
-
function ke(t) {
|
232
|
-
y.value = !0, setTimeout(() => {
|
233
|
-
E.value = !0;
|
234
|
-
});
|
235
|
-
}
|
236
|
-
function be(t) {
|
237
|
-
E.value = !1;
|
238
|
-
}
|
239
|
-
function we(t) {
|
240
|
-
(t == null || t === "" && !e.multiple && !D.value) && (o.value = []);
|
241
|
-
}
|
242
|
-
const Z = A(!1);
|
243
|
-
function _(t) {
|
244
|
-
let a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
245
|
-
if (!(!t || t.props.disabled))
|
246
|
-
if (e.multiple) {
|
247
|
-
const f = o.value.findIndex((c) => (e.valueComparator || De)(c.value, t.value)), n = a ?? !~f;
|
248
|
-
if (~f) {
|
249
|
-
const c = n ? [...o.value, t] : [...o.value];
|
250
|
-
c.splice(f, 1), o.value = c;
|
251
|
-
} else n && (o.value = [...o.value, t]);
|
252
|
-
e.clearOnSelect && (v.value = "");
|
253
|
-
} else {
|
254
|
-
const f = a !== !1;
|
255
|
-
o.value = f ? [t] : [], v.value = f && !D.value ? t.title : "", ue(() => {
|
256
|
-
i.value = !1, V.value = !0;
|
257
|
-
});
|
258
|
-
}
|
259
|
-
}
|
260
|
-
return z(y, (t, a) => {
|
261
|
-
var f;
|
262
|
-
t !== a && (t ? (Z.value = !0, v.value = e.multiple || D.value ? "" : String(((f = o.value.at(-1)) == null ? void 0 : f.props.title) ?? ""), V.value = !0, ue(() => Z.value = !1)) : (!e.multiple && v.value == null && (o.value = []), i.value = !1, o.value.some((n) => {
|
263
|
-
let {
|
264
|
-
title: c
|
265
|
-
} = n;
|
266
|
-
return c === v.value;
|
267
|
-
}) || (v.value = ""), u.value = -1));
|
268
|
-
}), z(v, (t) => {
|
269
|
-
!y.value || Z.value || (t && (i.value = !0), V.value = !t);
|
270
|
-
}), z(i, () => {
|
271
|
-
if (!e.hideSelected && i.value && o.value.length) {
|
272
|
-
const t = x.value.findIndex((a) => o.value.some((f) => a.value === f.value));
|
273
|
-
Ke && window.requestAnimationFrame(() => {
|
274
|
-
var a;
|
275
|
-
t >= 0 && ((a = w.value) == null || a.scrollToIndex(t));
|
276
|
-
});
|
277
|
-
}
|
278
|
-
}), z(() => e.items, (t, a) => {
|
279
|
-
i.value || y.value && !a.length && t.length && (i.value = !0);
|
280
|
-
}), Le(() => {
|
281
|
-
const t = !!(!e.hideNoData || x.value.length || l["prepend-item"] || l["append-item"] || l["no-data"]), a = o.value.length > 0, f = le.filterProps(e);
|
282
|
-
return s(le, P({
|
283
|
-
ref: m
|
284
|
-
}, f, {
|
285
|
-
modelValue: v.value,
|
286
|
-
"onUpdate:modelValue": [(n) => v.value = n, we],
|
287
|
-
focused: y.value,
|
288
|
-
"onUpdate:focused": (n) => y.value = n,
|
289
|
-
validationValue: o.externalValue,
|
290
|
-
counterValue: se.value,
|
291
|
-
dirty: a,
|
292
|
-
onChange: Ve,
|
293
|
-
class: ["v-autocomplete", `v-autocomplete--${e.multiple ? "multiple" : "single"}`, {
|
294
|
-
"v-autocomplete--active-menu": i.value,
|
295
|
-
"v-autocomplete--chips": !!e.chips,
|
296
|
-
"v-autocomplete--selection-slot": !!D.value,
|
297
|
-
"v-autocomplete--selecting-index": u.value > -1
|
298
|
-
}, e.class],
|
299
|
-
style: e.style,
|
300
|
-
readonly: N.isReadonly.value,
|
301
|
-
placeholder: a ? void 0 : e.placeholder,
|
302
|
-
"onClick:clear": de,
|
303
|
-
"onMousedown:control": me,
|
304
|
-
onKeydown: ye
|
305
|
-
}), {
|
306
|
-
...l,
|
307
|
-
default: () => s(Q, null, [s(Qe, P({
|
308
|
-
ref: S,
|
309
|
-
modelValue: i.value,
|
310
|
-
"onUpdate:modelValue": (n) => i.value = n,
|
311
|
-
activator: "parent",
|
312
|
-
contentClass: "v-autocomplete__content",
|
313
|
-
disabled: W.value,
|
314
|
-
eager: e.eager,
|
315
|
-
maxHeight: 310,
|
316
|
-
openOnClick: !1,
|
317
|
-
closeOnContentClick: !1,
|
318
|
-
transition: e.transition,
|
319
|
-
onAfterEnter: pe,
|
320
|
-
onAfterLeave: Se
|
321
|
-
}, e.menuProps), {
|
322
|
-
default: () => [t && s(ze, P({
|
323
|
-
ref: X,
|
324
|
-
selected: fe.value,
|
325
|
-
selectStrategy: e.multiple ? "independent" : "single-independent",
|
326
|
-
onMousedown: (n) => n.preventDefault(),
|
327
|
-
onKeydown: ge,
|
328
|
-
onFocusin: ke,
|
329
|
-
onFocusout: be,
|
330
|
-
tabindex: "-1",
|
331
|
-
"aria-live": "polite",
|
332
|
-
color: e.itemColor ?? e.color
|
333
|
-
}, ve, e.listProps), {
|
334
|
-
default: () => {
|
335
|
-
var n, c, k;
|
336
|
-
return [(n = l["prepend-item"]) == null ? void 0 : n.call(l), !x.value.length && !e.hideNoData && (((c = l["no-data"]) == null ? void 0 : c.call(l)) ?? s(oe, {
|
337
|
-
key: "no-data",
|
338
|
-
title: g(e.noDataText)
|
339
|
-
}, null)), s(Ee, {
|
340
|
-
ref: w,
|
341
|
-
renderless: !0,
|
342
|
-
items: x.value
|
343
|
-
}, {
|
344
|
-
default: (d) => {
|
345
|
-
var te;
|
346
|
-
let {
|
347
|
-
item: h,
|
348
|
-
index: O,
|
349
|
-
itemRef: b
|
350
|
-
} = d;
|
351
|
-
const ee = P(h.props, {
|
352
|
-
ref: b,
|
353
|
-
key: h.value,
|
354
|
-
active: J.value && O === 0 ? !0 : void 0,
|
355
|
-
onClick: () => _(h, null)
|
356
|
-
});
|
357
|
-
return ((te = l.item) == null ? void 0 : te.call(l, {
|
358
|
-
item: h,
|
359
|
-
index: O,
|
360
|
-
props: ee
|
361
|
-
})) ?? s(oe, P(ee, {
|
362
|
-
role: "option"
|
363
|
-
}), {
|
364
|
-
prepend: (j) => {
|
365
|
-
let {
|
366
|
-
isSelected: B
|
367
|
-
} = j;
|
368
|
-
return s(Q, null, [e.multiple && !e.hideSelected ? s(He, {
|
369
|
-
key: h.value,
|
370
|
-
modelValue: B,
|
371
|
-
ripple: !1,
|
372
|
-
tabindex: "-1"
|
373
|
-
}, null) : void 0, h.props.prependAvatar && s(Je, {
|
374
|
-
image: h.props.prependAvatar
|
375
|
-
}, null), h.props.prependIcon && s(re, {
|
376
|
-
icon: h.props.prependIcon
|
377
|
-
}, null)]);
|
378
|
-
},
|
379
|
-
title: () => {
|
380
|
-
var j, B;
|
381
|
-
return V.value ? h.title : tt(h.title, (j = ce(h)) == null ? void 0 : j.title, ((B = v.value) == null ? void 0 : B.length) ?? 0);
|
382
|
-
}
|
383
|
-
});
|
384
|
-
}
|
385
|
-
}), (k = l["append-item"]) == null ? void 0 : k.call(l)];
|
386
|
-
}
|
387
|
-
})]
|
388
|
-
}), o.value.map((n, c) => {
|
389
|
-
function k(b) {
|
390
|
-
b.stopPropagation(), b.preventDefault(), _(n, !1);
|
391
|
-
}
|
392
|
-
const d = {
|
393
|
-
"onClick:close": k,
|
394
|
-
onKeydown(b) {
|
395
|
-
b.key !== "Enter" && b.key !== " " || (b.preventDefault(), b.stopPropagation(), k(b));
|
396
|
-
},
|
397
|
-
onMousedown(b) {
|
398
|
-
b.preventDefault(), b.stopPropagation();
|
399
|
-
},
|
400
|
-
modelValue: !0,
|
401
|
-
"onUpdate:modelValue": void 0
|
402
|
-
}, h = U.value ? !!l.chip : !!l.selection, O = h ? Ue(U.value ? l.chip({
|
403
|
-
item: n,
|
404
|
-
index: c,
|
405
|
-
props: d
|
406
|
-
}) : l.selection({
|
407
|
-
item: n,
|
408
|
-
index: c
|
409
|
-
})) : void 0;
|
410
|
-
if (!(h && !O))
|
411
|
-
return s("div", {
|
412
|
-
key: n.value,
|
413
|
-
class: ["v-autocomplete__selection", c === u.value && ["v-autocomplete__selection--selected", K.value]],
|
414
|
-
style: c === u.value ? T.value : {}
|
415
|
-
}, [U.value ? l.chip ? s(We, {
|
416
|
-
key: "chip-defaults",
|
417
|
-
defaults: {
|
418
|
-
VChip: {
|
419
|
-
closable: e.closableChips,
|
420
|
-
size: "small",
|
421
|
-
text: n.title
|
422
|
-
}
|
423
|
-
}
|
424
|
-
}, {
|
425
|
-
default: () => [O]
|
426
|
-
}) : s(Xe, P({
|
427
|
-
key: "chip",
|
428
|
-
closable: e.closableChips,
|
429
|
-
size: "small",
|
430
|
-
text: n.title,
|
431
|
-
disabled: n.props.disabled
|
432
|
-
}, d), null) : O ?? s("span", {
|
433
|
-
class: "v-autocomplete__selection-text"
|
434
|
-
}, [n.title, e.multiple && c < o.value.length - 1 && s("span", {
|
435
|
-
class: "v-autocomplete__selection-comma"
|
436
|
-
}, [je(",")])])]);
|
437
|
-
})]),
|
438
|
-
"append-inner": function() {
|
439
|
-
var d;
|
440
|
-
for (var n = arguments.length, c = new Array(n), k = 0; k < n; k++)
|
441
|
-
c[k] = arguments[k];
|
442
|
-
return s(Q, null, [(d = l["append-inner"]) == null ? void 0 : d.call(l, ...c), e.menuIcon ? s(re, {
|
443
|
-
class: "v-autocomplete__menu-icon",
|
444
|
-
icon: e.menuIcon,
|
445
|
-
onMousedown: he,
|
446
|
-
onClick: Ne,
|
447
|
-
"aria-label": g(I.value),
|
448
|
-
title: g(I.value),
|
449
|
-
tabindex: "-1"
|
450
|
-
}, null) : void 0]);
|
451
|
-
}
|
452
|
-
});
|
453
|
-
}), Ye({
|
454
|
-
isFocused: y,
|
455
|
-
isPristine: V,
|
456
|
-
menu: i,
|
457
|
-
search: v,
|
458
|
-
filteredItems: H,
|
459
|
-
select: _
|
460
|
-
}, m);
|
461
|
-
}
|
462
|
-
});
|
463
|
-
Fe("css/revolugo.vautocomplete.CuVjyvcC.css");
|
464
|
-
export {
|
465
|
-
ht as V
|
466
|
-
};
|
467
|
-
//# sourceMappingURL=revolugo.vautocomplete.CimHObsW.min.js.map
|
@@ -1,118 +0,0 @@
|
|
1
|
-
import { Y as L, Z as N, aa as u, ab as V, bI as T, bJ as k, a as s, y as m, aK as _, _ as B, H as O, I as R } from "./revolugo.index.wc.BaFPloEH.min.js";
|
2
|
-
import { b as w, d as x, u as P, p as Y, e as M, m as I, M as U } from "./revolugo.webcomponentwrapper.Byzhja-M.min.js";
|
3
|
-
import { l as G, p as A } from "./revolugo.index.Dyr1hnew.min.js";
|
4
|
-
import { b as J, a as K } from "./revolugo.rounded.CQuigzpH.min.js";
|
5
|
-
import { V as X } from "./revolugo.vicon.CuIGTijn.min.js";
|
6
|
-
function C(e) {
|
7
|
-
try {
|
8
|
-
if (typeof document < "u") {
|
9
|
-
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
10
|
-
sheets: [],
|
11
|
-
components: []
|
12
|
-
};
|
13
|
-
const t = import.meta.url, n = t.slice(0, t.lastIndexOf("/") + 1) + e;
|
14
|
-
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(n);
|
15
|
-
for (const o of REVOLUGO_ELEMENTS_STYLES.components)
|
16
|
-
o(n);
|
17
|
-
if (e.indexOf("fonts") >= 0) {
|
18
|
-
const o = document.createElement("link");
|
19
|
-
o.rel = "stylesheet", linK.href = n, document.head.appendChild(o);
|
20
|
-
}
|
21
|
-
}
|
22
|
-
} catch (t) {
|
23
|
-
console.error("[revolugo-elements] ", t);
|
24
|
-
}
|
25
|
-
}
|
26
|
-
const $ = N({
|
27
|
-
bordered: Boolean,
|
28
|
-
color: String,
|
29
|
-
content: [Number, String],
|
30
|
-
dot: Boolean,
|
31
|
-
floating: Boolean,
|
32
|
-
icon: B,
|
33
|
-
inline: Boolean,
|
34
|
-
label: {
|
35
|
-
type: String,
|
36
|
-
default: "$vuetify.badge"
|
37
|
-
},
|
38
|
-
max: [Number, String],
|
39
|
-
modelValue: {
|
40
|
-
type: Boolean,
|
41
|
-
default: !0
|
42
|
-
},
|
43
|
-
offsetX: [Number, String],
|
44
|
-
offsetY: [Number, String],
|
45
|
-
textColor: String,
|
46
|
-
...I(),
|
47
|
-
...A({
|
48
|
-
location: "top end"
|
49
|
-
}),
|
50
|
-
...K(),
|
51
|
-
...M(),
|
52
|
-
..._(),
|
53
|
-
...Y({
|
54
|
-
transition: "scale-rotate-transition"
|
55
|
-
})
|
56
|
-
}, "VBadge"), W = L()({
|
57
|
-
name: "VBadge",
|
58
|
-
inheritAttrs: !1,
|
59
|
-
props: $(),
|
60
|
-
setup(e, t) {
|
61
|
-
const {
|
62
|
-
backgroundColorClasses: n,
|
63
|
-
backgroundColorStyles: o
|
64
|
-
} = w(u(e, "color")), {
|
65
|
-
roundedClasses: b
|
66
|
-
} = J(e), {
|
67
|
-
t: f
|
68
|
-
} = V(), {
|
69
|
-
textColorClasses: g,
|
70
|
-
textColorStyles: S
|
71
|
-
} = x(u(e, "textColor")), {
|
72
|
-
themeClasses: v
|
73
|
-
} = T(), {
|
74
|
-
locationStyles: E
|
75
|
-
} = G(e, !0, (a) => (e.floating ? e.dot ? 2 : 4 : e.dot ? 8 : 12) + (["top", "bottom"].includes(a) ? Number(e.offsetY ?? 0) : ["left", "right"].includes(a) ? Number(e.offsetX ?? 0) : 0));
|
76
|
-
return P(() => {
|
77
|
-
const a = Number(e.content), l = !e.max || isNaN(a) ? e.content : a <= Number(e.max) ? a : `${e.max}+`, [h, y] = k(t.attrs, ["aria-atomic", "aria-label", "aria-live", "role", "title"]);
|
78
|
-
return s(e.tag, m({
|
79
|
-
class: ["v-badge", {
|
80
|
-
"v-badge--bordered": e.bordered,
|
81
|
-
"v-badge--dot": e.dot,
|
82
|
-
"v-badge--floating": e.floating,
|
83
|
-
"v-badge--inline": e.inline
|
84
|
-
}, e.class]
|
85
|
-
}, y, {
|
86
|
-
style: e.style
|
87
|
-
}), {
|
88
|
-
default: () => {
|
89
|
-
var i, r;
|
90
|
-
return [s("div", {
|
91
|
-
class: "v-badge__wrapper"
|
92
|
-
}, [(r = (i = t.slots).default) == null ? void 0 : r.call(i), s(U, {
|
93
|
-
transition: e.transition
|
94
|
-
}, {
|
95
|
-
default: () => {
|
96
|
-
var d, c;
|
97
|
-
return [O(s("span", m({
|
98
|
-
class: ["v-badge__badge", v.value, n.value, b.value, g.value],
|
99
|
-
style: [o.value, S.value, e.inline ? {} : E.value],
|
100
|
-
"aria-atomic": "true",
|
101
|
-
"aria-label": f(e.label, a),
|
102
|
-
"aria-live": "polite",
|
103
|
-
role: "status"
|
104
|
-
}, h), [e.dot ? void 0 : t.slots.badge ? (c = (d = t.slots).badge) == null ? void 0 : c.call(d) : e.icon ? s(X, {
|
105
|
-
icon: e.icon
|
106
|
-
}, null) : l]), [[R, e.modelValue]])];
|
107
|
-
}
|
108
|
-
})])];
|
109
|
-
}
|
110
|
-
});
|
111
|
-
}), {};
|
112
|
-
}
|
113
|
-
});
|
114
|
-
C("css/revolugo.vbadge.BQrRJ9S0.css");
|
115
|
-
export {
|
116
|
-
W as V
|
117
|
-
};
|
118
|
-
//# sourceMappingURL=revolugo.vbadge.dOVHEqkO.min.js.map
|