@revolugo/elements 6.8.2-beta.30 → 6.8.2-beta.32
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.hotelroomofferlist.Dh1OAA7W.css +1 -0
- 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.6H9boq3g.min.js} +3 -3
- package/dist/{revolugo.banktransferdetails.Djs6mxU0.min.js → revolugo.banktransferdetails.BLIe136S.min.js} +9 -9
- package/dist/revolugo.bdaterangepicker.Hf5naLtO.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.DhvK2mdJ.min.js} +32 -36
- package/dist/{revolugo.bhoteloffersfilterbar.CVh2pH-N.min.js → revolugo.bhoteloffersfilterbar.DicKWcI_.min.js} +1672 -1766
- package/dist/{revolugo.bhotelroomsdetails.C4xdQLfe.min.js → revolugo.bhotelroomsdetails.BZUH-ZM3.min.js} +79 -83
- package/dist/{revolugo.bhotelsearchbar.DR7UHkQo.min.js → revolugo.bhotelsearchbar.C0QSx8nR.min.js} +116 -119
- package/dist/{revolugo.bimagecarousel.DhwrLMiX.min.js → revolugo.bimagecarousel.i3XKJie3.min.js} +165 -174
- package/dist/{revolugo.bookingdetailssidebar.DkBHaNwV.min.js → revolugo.bookingdetailssidebar.La43Csfa.min.js} +4 -4
- package/dist/{revolugo.bookingdetailssidebar.DwIul6C1.min.js → revolugo.bookingdetailssidebar.pzLkF0dO.min.js} +207 -221
- package/dist/{revolugo.bookingmanager.CmdsCQDi.min.js → revolugo.bookingmanager.Sx2krZHP.min.js} +429 -463
- package/dist/{revolugo.bpricesummaryskeleton.BcgNLGYX.min.js → revolugo.bpricesummaryskeleton.DoLktkiO.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.DkRSrr6-.min.js} +148 -157
- package/dist/revolugo.btag.DqKCcO64.min.js +375 -0
- package/dist/{revolugo.cancellationpoliciesbadge.D7CMWTdG.min.js → revolugo.cancellationpoliciesbadge.CDsOorfl.min.js} +86 -95
- package/dist/{revolugo.cancellationpoliciesbadge.Bp43_l5_.min.js → revolugo.cancellationpoliciesbadge.DNXgKhv6.min.js} +4 -4
- package/dist/{revolugo.cancellationpolicieslist.hSJAFEGT.min.js → revolugo.cancellationpolicieslist.M5d1D5ot.min.js} +9 -9
- package/dist/{revolugo.cancellationpolicieslist.D2idtSnK.min.js → revolugo.cancellationpolicieslist.v9YSV-JD.min.js} +4 -4
- package/dist/revolugo.case-transformers.CZexLFCC.min.js +123 -0
- package/dist/{revolugo.creditcardform.CrwpUivQ.min.js → revolugo.creditcardform.BwNdpOYa.min.js} +4 -4
- package/dist/{revolugo.creditcardform.SRz4ls19.min.js → revolugo.creditcardform.DIm8PFZB.min.js} +38 -51
- package/dist/{revolugo.creditcardpayment.bSs8I8av.min.js → revolugo.creditcardpayment.B-Pu0q9P.min.js} +4 -4
- package/dist/{revolugo.creditcardpayment.BcVHQlKJ.min.js → revolugo.creditcardpayment.CXpVfsjF.min.js} +152 -162
- package/dist/{revolugo.currencypicker.-B3knz6i.min.js → revolugo.currencypicker.CYlyvR4X.min.js} +7 -7
- package/dist/{revolugo.currencypickerbtn.CyHWGHaW.min.js → revolugo.currencypickerbtn.BT6jQ33A.min.js} +4 -4
- package/dist/{revolugo.currencypickerbtn.D38ZdlKW.min.js → revolugo.currencypickerbtn.D-qAsHj-.min.js} +42 -45
- package/dist/{revolugo.defaultsdeep.z9urzKAp.min.js → revolugo.defaultsdeep.xStfx1ax.min.js} +2 -2
- package/dist/{revolugo.dialog-attach.D_OA19-E.min.js → revolugo.dialog-attach.DhGjpV86.min.js} +5 -6
- package/dist/revolugo.dialog-transition.Bcw3NUGf.min.js +111 -0
- package/dist/{revolugo.fastbookingflow.CJP79XT7.min.js → revolugo.fastbookingflow.BvOeLD5-.min.js} +6 -6
- package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
- package/dist/{revolugo.fullbookingflow.Cd2NIaQ2.min.js → revolugo.fullbookingflow.CXY4HX1N.min.js} +122 -128
- package/dist/{revolugo.hotel-offer-request.CgsVMCkE.min.js → revolugo.hotel-offer-request.Ckk1mKtM.min.js} +18 -18
- package/dist/{revolugo.hoteldescriptionview.BSrnxJem.min.js → revolugo.hoteldescriptionview.BEjBGuX8.min.js} +591 -623
- package/dist/{revolugo.hoteldescriptionview.Cl2E63e2.min.js → revolugo.hoteldescriptionview.Dup60cXR.min.js} +4 -4
- package/dist/{revolugo.hotelofferitemlayout.BMzCfYQ7.min.js → revolugo.hotelofferitemlayout.BHmFEPSg.min.js} +12 -12
- package/dist/{revolugo.hotelofferlist.B3yjbXlQ.min.js → revolugo.hotelofferlist.Bx4nX-96.min.js} +1563 -1693
- package/dist/{revolugo.hotelofferlist.DhYBX5pF.min.js → revolugo.hotelofferlist.C6LDBssl.min.js} +4 -4
- package/dist/{revolugo.hotelofferrequestcreator.CNbav2EO.min.js → revolugo.hotelofferrequestcreator.Dh7iqMnT.min.js} +5 -5
- package/dist/{revolugo.hoteloffersearchmenu.BZascblw.min.js → revolugo.hoteloffersearchmenu.CCwN9-vq.min.js} +9 -9
- package/dist/{revolugo.hoteloffersmap.DkNN0NQB.min.js → revolugo.hoteloffersmap.CIKwD_xJ.min.js} +4 -4
- package/dist/{revolugo.hoteloffersmap.D6hRTrsf.min.js → revolugo.hoteloffersmap.m4FlKwmK.min.js} +563 -574
- package/dist/{revolugo.hoteloffersview.DjAXSPOG.min.js → revolugo.hoteloffersview.B173js2k.min.js} +123 -128
- package/dist/{revolugo.hoteloffersview.CPYXigVN.min.js → revolugo.hoteloffersview.BqnmWsMz.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.C_HCimvP.min.js → revolugo.hotelroomofferlist.BZXX-P21.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.wD_JIpuK.min.js → revolugo.hotelroomofferlist.DRs28YA0.min.js} +879 -958
- package/dist/{revolugo.hotelroomofferrequestcreator.props.DjBXUl-H.min.js → revolugo.hotelroomofferrequestcreator.props.DYl1bNk3.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersbookingflow.2E3AYERj.min.js → revolugo.hotelroomoffersbookingflow.BcLRNLjr.min.js} +333 -358
- package/dist/{revolugo.hotelroomoffersearchmenu.B-C4YSFE.min.js → revolugo.hotelroomoffersearchmenu.CNesdHU7.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersearchmenu.DrW5uMfL.min.js → revolugo.hotelroomoffersearchmenu.Wp752y1o.min.js} +34 -36
- package/dist/{revolugo.hotelroomoffersview.DVsdh7Jz.min.js → revolugo.hotelroomoffersview.DLI5HjEV.min.js} +4 -4
- package/dist/{revolugo.hotelroomoffersview.CCmILEaO.min.js → revolugo.hotelroomoffersview.DjawPPhb.min.js} +67 -70
- package/dist/{revolugo.index.Dyr1hnew.min.js → revolugo.index.DmlGotxY.min.js} +406 -429
- package/dist/{revolugo.index.wc.BaFPloEH.min.js → revolugo.index.wc.WVpKRxMB.min.js} +6421 -6529
- package/dist/{revolugo.langpicker.CaQ17b6t.min.js → revolugo.langpicker.DH2bznjc.min.js} +24 -27
- package/dist/{revolugo.langpickerbtn.DTkV9PYE.min.js → revolugo.langpickerbtn.DZv8SOmQ.min.js} +4 -4
- package/dist/revolugo.langpickerbtn._diECV_y.min.js +114 -0
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.pathify.CKNqCKLR.min.js → revolugo.pathify.BuwB3BVA.min.js} +4 -4
- package/dist/{revolugo.prebookform.p-M6zS08.min.js → revolugo.prebookform.Bcz1mlsa.min.js} +4 -4
- package/dist/{revolugo.prebookform.CxKmwFK-.min.js → revolugo.prebookform.Bj_b0HkS.min.js} +98 -102
- package/dist/{revolugo.roominglisteditor.5gfIA3r6.min.js → revolugo.roominglisteditor.C0Rz5zK-.min.js} +98 -104
- package/dist/{revolugo.roominglisteditor.Zz9TPhp6.min.js → revolugo.roominglisteditor.C2Q0WwI8.min.js} +4 -4
- package/dist/{revolugo.rounded.CQuigzpH.min.js → revolugo.rounded.9zOj37mK.min.js} +2 -2
- package/dist/{revolugo.ssrboot.DfQY0r5E.min.js → revolugo.ssrboot.Dobig8z2.min.js} +2 -2
- package/dist/{revolugo.storybooktoolbar.DikXrkgz.min.js → revolugo.storybooktoolbar.mGWlvD2d.min.js} +98 -102
- package/dist/{revolugo.termsandconditions.Bbo5pbgR.min.js → revolugo.termsandconditions.TXeTt1Nc.min.js} +4 -4
- package/dist/{revolugo.termsandconditions.CiHuvfp6.min.js → revolugo.termsandconditions.X_g9eXJQ.min.js} +52 -55
- package/dist/revolugo.use-breakpoint-service.B4fTuJ-m.min.js +39 -0
- package/dist/revolugo.use-dialog-attach.Clv6_XDd.min.js +16 -0
- package/dist/revolugo.use-html-element.BeuzybMb.min.js +11 -0
- package/dist/revolugo.vautocomplete.Ct5J0tRD.min.js +445 -0
- package/dist/revolugo.vbadge.QbwE0z0S.min.js +112 -0
- package/dist/revolugo.vbtn.wY8QdelT.min.js +398 -0
- package/dist/revolugo.vcard.B-jDhizq.min.js +313 -0
- package/dist/revolugo.vcheckboxbtn.DOldzxr3.min.js +478 -0
- package/dist/revolugo.vdialog.TOtJcCR5.min.js +133 -0
- package/dist/{revolugo.vdivider.93Ehbd8W.min.js → revolugo.vdivider.C5hf52x9.min.js} +3 -3
- package/dist/revolugo.vexpansionpanels.rpkSdxyn.min.js +262 -0
- package/dist/revolugo.vform.D9o42qf6.min.js +46 -0
- package/dist/revolugo.vicon.DNDpBQSo.min.js +105 -0
- package/dist/revolugo.vinput.Z7Yl1GBk.min.js +463 -0
- package/dist/revolugo.vlabel.Bv07dXLJ.min.js +48 -0
- package/dist/revolugo.vlist.Dc4CBbyk.min.js +1299 -0
- package/dist/revolugo.vmenu.M77T6yV3.min.js +145 -0
- package/dist/revolugo.vselect.ho1sqVZQ.min.js +660 -0
- package/dist/{revolugo.vsheet.H2Eli2di.min.js → revolugo.vsheet.gTN06v3j.min.js} +11 -11
- package/dist/{revolugo.vskeletonloader.B-Qq0740.min.js → revolugo.vskeletonloader.CiGvw4Fx.min.js} +57 -58
- package/dist/revolugo.vslidegroup.BmHjyRja.min.js +325 -0
- package/dist/revolugo.vsnackbar.j4tc9aCn.min.js +198 -0
- package/dist/revolugo.vspacer.B5ih922c.min.js +7 -0
- package/dist/{revolugo.vtextarea.BJaCwHl5.min.js → revolugo.vtextarea.V23aCbtI.min.js} +361 -371
- package/dist/revolugo.vtextfield.BKLBPM7L.min.js +501 -0
- package/dist/revolugo.vtoolbar.Csrzhb69.min.js +180 -0
- package/dist/revolugo.vtooltip.D5h38LhM.min.js +89 -0
- package/dist/revolugo.vwindowitem.DwV9VIGY.min.js +317 -0
- package/dist/revolugo.watch-list.dDO5YYYm.min.js +16 -0
- package/dist/{revolugo.webcomponentwrapper.Byzhja-M.min.js → revolugo.webcomponentwrapper.Ggu2FW__.min.js} +779 -825
- 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.hotelroomofferlist.CCKyS5V3.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.langpickerbtn.DmoEWum3.min.js +0 -126
- 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,7 +1,7 @@
|
|
1
|
-
import { m as
|
2
|
-
import {
|
3
|
-
import { b as
|
4
|
-
import { u as dt, m as ft, V as
|
1
|
+
import { m as F, K as Ae, L as Fe, d as Me, b as W, u as H, e as ve, n as De, o as Ue, p as We, M as U } from "./revolugo.webcomponentwrapper.Ggu2FW__.min.js";
|
2
|
+
import { _ as V, z as Ge, ah as Z, cx as ge, $ as w, cw as q, J as h, p as J, a as u, F as he, bW as ee, aJ as He, al as ye, aj as qe, ac as te, W as Y, O as N, ak as Ye, a3 as pe, V as je, cy as Xe, bR as Je, a4 as Ke, cz as Qe, aW as Ze, aT as et, k as be, a6 as O, cA as ne, aC as _e, aI as Se, aD as oe, bx as tt, aa as L, aK as Ce, aV as se, bD as nt, cB as le, b2 as st, T as at, L as ue, aF as it, D as rt, M as ot, a0 as lt, cC as we } from "./revolugo.index.wc.WVpKRxMB.min.js";
|
3
|
+
import { b as ae, a as ie, c as ut, d as ct } from "./revolugo.rounded.9zOj37mK.min.js";
|
4
|
+
import { u as dt, m as ft, V as mt } from "./revolugo.vicon.DNDpBQSo.min.js";
|
5
5
|
function ze(e) {
|
6
6
|
try {
|
7
7
|
if (typeof document < "u") {
|
@@ -11,61 +11,58 @@ function ze(e) {
|
|
11
11
|
};
|
12
12
|
const t = import.meta.url, n = t.slice(0, t.lastIndexOf("/") + 1) + e;
|
13
13
|
window.REVOLUGO_ELEMENTS_STYLES.sheets.push(n);
|
14
|
-
for (const
|
15
|
-
|
14
|
+
for (const s of REVOLUGO_ELEMENTS_STYLES.components)
|
15
|
+
s(n);
|
16
16
|
if (e.indexOf("fonts") >= 0) {
|
17
|
-
const
|
18
|
-
|
17
|
+
const s = document.createElement("link");
|
18
|
+
s.rel = "stylesheet", linK.href = n, document.head.appendChild(s);
|
19
19
|
}
|
20
20
|
}
|
21
21
|
} catch (t) {
|
22
22
|
console.error("[revolugo-elements] ", t);
|
23
23
|
}
|
24
24
|
}
|
25
|
-
function
|
25
|
+
function Yt(e) {
|
26
26
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "div", n = arguments.length > 2 ? arguments[2] : void 0;
|
27
|
-
return
|
28
|
-
name: n ??
|
27
|
+
return V()({
|
28
|
+
name: n ?? Ge(ge(e.replace(/__/g, "-"))),
|
29
29
|
props: {
|
30
30
|
tag: {
|
31
31
|
type: String,
|
32
32
|
default: t
|
33
33
|
},
|
34
|
-
...
|
34
|
+
...F()
|
35
35
|
},
|
36
|
-
setup(
|
36
|
+
setup(s, i) {
|
37
37
|
let {
|
38
|
-
slots:
|
38
|
+
slots: a
|
39
39
|
} = i;
|
40
|
-
return () => {
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
style: a.style
|
45
|
-
}, (r = s.default) == null ? void 0 : r.call(s));
|
46
|
-
};
|
40
|
+
return () => Z(s.tag, {
|
41
|
+
class: [e, s.class],
|
42
|
+
style: s.style
|
43
|
+
}, a.default?.());
|
47
44
|
}
|
48
45
|
});
|
49
46
|
}
|
50
|
-
const
|
47
|
+
const vt = [null, "default", "comfortable", "compact"], gt = w({
|
51
48
|
density: {
|
52
49
|
type: String,
|
53
50
|
default: "default",
|
54
|
-
validator: (e) =>
|
51
|
+
validator: (e) => vt.includes(e)
|
55
52
|
}
|
56
53
|
}, "density");
|
57
54
|
function ht(e) {
|
58
55
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : q();
|
59
56
|
return {
|
60
|
-
densityClasses:
|
57
|
+
densityClasses: h(() => `${t}--density-${e.density}`)
|
61
58
|
};
|
62
59
|
}
|
63
60
|
const yt = ["elevated", "flat", "tonal", "outlined", "text", "plain"];
|
64
61
|
function pt(e, t) {
|
65
|
-
return
|
62
|
+
return u(he, null, [e && u("span", {
|
66
63
|
key: "overlay",
|
67
64
|
class: `${t}__overlay`
|
68
|
-
}, null),
|
65
|
+
}, null), u("span", {
|
69
66
|
key: "underlay",
|
70
67
|
class: `${t}__underlay`
|
71
68
|
}, null)]);
|
@@ -80,25 +77,25 @@ const bt = w({
|
|
80
77
|
}, "variant");
|
81
78
|
function _t(e) {
|
82
79
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : q();
|
83
|
-
const n =
|
80
|
+
const n = h(() => {
|
84
81
|
const {
|
85
|
-
variant:
|
86
|
-
} =
|
87
|
-
return `${t}--variant-${
|
82
|
+
variant: a
|
83
|
+
} = J(e);
|
84
|
+
return `${t}--variant-${a}`;
|
88
85
|
}), {
|
89
|
-
colorClasses:
|
86
|
+
colorClasses: s,
|
90
87
|
colorStyles: i
|
91
|
-
} = Ae(
|
88
|
+
} = Ae(h(() => {
|
92
89
|
const {
|
93
|
-
variant:
|
90
|
+
variant: a,
|
94
91
|
color: r
|
95
|
-
} =
|
92
|
+
} = J(e);
|
96
93
|
return {
|
97
|
-
[["elevated", "flat"].includes(
|
94
|
+
[["elevated", "flat"].includes(a) ? "background" : "text"]: r
|
98
95
|
};
|
99
96
|
}));
|
100
97
|
return {
|
101
|
-
colorClasses:
|
98
|
+
colorClasses: s,
|
102
99
|
colorStyles: i,
|
103
100
|
variantClasses: n
|
104
101
|
};
|
@@ -120,27 +117,27 @@ const jt = w({
|
|
120
117
|
}, "group-item");
|
121
118
|
function Jt(e, t) {
|
122
119
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
|
123
|
-
const
|
124
|
-
if (!
|
120
|
+
const s = ee("useGroupItem");
|
121
|
+
if (!s)
|
125
122
|
throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");
|
126
|
-
const i =
|
123
|
+
const i = He();
|
127
124
|
ye(Symbol.for(`${t.description}:id`), i);
|
128
|
-
const
|
129
|
-
if (!
|
130
|
-
if (!n) return
|
125
|
+
const a = qe(t, null);
|
126
|
+
if (!a) {
|
127
|
+
if (!n) return a;
|
131
128
|
throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`);
|
132
129
|
}
|
133
|
-
const r =
|
134
|
-
|
130
|
+
const r = te(e, "value"), o = h(() => !!(a.disabled.value || e.disabled));
|
131
|
+
a.register({
|
135
132
|
id: i,
|
136
133
|
value: r,
|
137
134
|
disabled: o
|
138
|
-
},
|
139
|
-
|
135
|
+
}, s), Y(() => {
|
136
|
+
a.unregister(i);
|
140
137
|
});
|
141
|
-
const c =
|
142
|
-
return
|
143
|
-
|
138
|
+
const c = h(() => a.isSelected(i)), d = h(() => a.items.value[0].id === i), f = h(() => a.items.value[a.items.value.length - 1].id === i), g = h(() => c.value && [a.selectedClass.value, e.selectedClass]);
|
139
|
+
return N(c, (l) => {
|
140
|
+
s.emit("group:selected", {
|
144
141
|
value: l
|
145
142
|
});
|
146
143
|
}, {
|
@@ -148,103 +145,103 @@ function Jt(e, t) {
|
|
148
145
|
}), {
|
149
146
|
id: i,
|
150
147
|
isSelected: c,
|
151
|
-
isFirst:
|
152
|
-
isLast:
|
153
|
-
toggle: () =>
|
154
|
-
select: (l) =>
|
148
|
+
isFirst: d,
|
149
|
+
isLast: f,
|
150
|
+
toggle: () => a.select(i, !c.value),
|
151
|
+
select: (l) => a.select(i, l),
|
155
152
|
selectedClass: g,
|
156
153
|
value: r,
|
157
154
|
disabled: o,
|
158
|
-
group:
|
155
|
+
group: a
|
159
156
|
};
|
160
157
|
}
|
161
158
|
function Kt(e, t) {
|
162
159
|
let n = !1;
|
163
|
-
const
|
164
|
-
const
|
165
|
-
return e.multiple ?
|
166
|
-
}),
|
167
|
-
function r(l,
|
168
|
-
const y = l,
|
169
|
-
|
160
|
+
const s = Ye([]), i = pe(e, "modelValue", [], (l) => l == null ? [] : xe(s, Ke(l)), (l) => {
|
161
|
+
const m = Ct(s, l);
|
162
|
+
return e.multiple ? m : m[0];
|
163
|
+
}), a = ee("useGroup");
|
164
|
+
function r(l, m) {
|
165
|
+
const y = l, v = Symbol.for(`${t.description}:id`), b = Qe(v, a?.vnode).indexOf(m);
|
166
|
+
J(y.value) == null && (y.value = b, y.useIndexAsValue = !0), b > -1 ? s.splice(b, 0, y) : s.push(y);
|
170
167
|
}
|
171
168
|
function o(l) {
|
172
169
|
if (n) return;
|
173
170
|
c();
|
174
|
-
const
|
175
|
-
|
171
|
+
const m = s.findIndex((y) => y.id === l);
|
172
|
+
s.splice(m, 1);
|
176
173
|
}
|
177
174
|
function c() {
|
178
|
-
const l =
|
175
|
+
const l = s.find((m) => !m.disabled);
|
179
176
|
l && e.mandatory === "force" && !i.value.length && (i.value = [l.id]);
|
180
177
|
}
|
181
178
|
je(() => {
|
182
179
|
c();
|
183
|
-
}),
|
180
|
+
}), Y(() => {
|
184
181
|
n = !0;
|
185
182
|
}), Xe(() => {
|
186
|
-
for (let l = 0; l <
|
187
|
-
|
183
|
+
for (let l = 0; l < s.length; l++)
|
184
|
+
s[l].useIndexAsValue && (s[l].value = l);
|
188
185
|
});
|
189
|
-
function
|
190
|
-
const y =
|
191
|
-
if (!(
|
186
|
+
function d(l, m) {
|
187
|
+
const y = s.find((v) => v.id === l);
|
188
|
+
if (!(m && y?.disabled))
|
192
189
|
if (e.multiple) {
|
193
|
-
const
|
194
|
-
if (
|
195
|
-
|
190
|
+
const v = i.value.slice(), _ = v.findIndex((I) => I === l), b = ~_;
|
191
|
+
if (m = m ?? !b, b && e.mandatory && v.length <= 1 || !b && e.max != null && v.length + 1 > e.max) return;
|
192
|
+
_ < 0 && m ? v.push(l) : _ >= 0 && !m && v.splice(_, 1), i.value = v;
|
196
193
|
} else {
|
197
|
-
const
|
198
|
-
if (e.mandatory &&
|
199
|
-
i.value =
|
194
|
+
const v = i.value.includes(l);
|
195
|
+
if (e.mandatory && v) return;
|
196
|
+
i.value = m ?? !v ? [l] : [];
|
200
197
|
}
|
201
198
|
}
|
202
|
-
function
|
199
|
+
function f(l) {
|
203
200
|
if (e.multiple, i.value.length) {
|
204
|
-
const
|
205
|
-
let
|
206
|
-
for (;
|
207
|
-
|
208
|
-
if (
|
209
|
-
i.value = [
|
201
|
+
const m = i.value[0], y = s.findIndex((b) => b.id === m);
|
202
|
+
let v = (y + l) % s.length, _ = s[v];
|
203
|
+
for (; _.disabled && v !== y; )
|
204
|
+
v = (v + l) % s.length, _ = s[v];
|
205
|
+
if (_.disabled) return;
|
206
|
+
i.value = [s[v].id];
|
210
207
|
} else {
|
211
|
-
const
|
212
|
-
|
208
|
+
const m = s.find((y) => !y.disabled);
|
209
|
+
m && (i.value = [m.id]);
|
213
210
|
}
|
214
211
|
}
|
215
212
|
const g = {
|
216
213
|
register: r,
|
217
214
|
unregister: o,
|
218
215
|
selected: i,
|
219
|
-
select:
|
220
|
-
disabled:
|
221
|
-
prev: () =>
|
222
|
-
next: () =>
|
216
|
+
select: d,
|
217
|
+
disabled: te(e, "disabled"),
|
218
|
+
prev: () => f(s.length - 1),
|
219
|
+
next: () => f(1),
|
223
220
|
isSelected: (l) => i.value.includes(l),
|
224
|
-
selectedClass:
|
225
|
-
items:
|
226
|
-
getItemIndex: (l) => St(
|
221
|
+
selectedClass: h(() => e.selectedClass),
|
222
|
+
items: h(() => s),
|
223
|
+
getItemIndex: (l) => St(s, l)
|
227
224
|
};
|
228
225
|
return ye(t, g), g;
|
229
226
|
}
|
230
227
|
function St(e, t) {
|
231
228
|
const n = xe(e, [t]);
|
232
|
-
return n.length ? e.findIndex((
|
229
|
+
return n.length ? e.findIndex((s) => s.id === n[0]) : -1;
|
233
230
|
}
|
234
231
|
function xe(e, t) {
|
235
232
|
const n = [];
|
236
|
-
return t.forEach((
|
237
|
-
const i = e.find((r) => Je(
|
238
|
-
|
233
|
+
return t.forEach((s) => {
|
234
|
+
const i = e.find((r) => Je(s, r.value)), a = e[s];
|
235
|
+
i?.value != null ? n.push(i.id) : a != null && n.push(a.id);
|
239
236
|
}), n;
|
240
237
|
}
|
241
238
|
function Ct(e, t) {
|
242
239
|
const n = [];
|
243
|
-
return t.forEach((
|
244
|
-
const i = e.findIndex((
|
240
|
+
return t.forEach((s) => {
|
241
|
+
const i = e.findIndex((a) => a.id === s);
|
245
242
|
if (~i) {
|
246
|
-
const
|
247
|
-
n.push(
|
243
|
+
const a = e[i];
|
244
|
+
n.push(a.value != null ? a.value : i);
|
248
245
|
}
|
249
246
|
}), n;
|
250
247
|
}
|
@@ -254,7 +251,7 @@ const wt = w({
|
|
254
251
|
reset: [Number, String],
|
255
252
|
root: [Boolean, String],
|
256
253
|
scoped: Boolean
|
257
|
-
}, "VDefaultsProvider"), xt =
|
254
|
+
}, "VDefaultsProvider"), xt = V(!1)({
|
258
255
|
name: "VDefaultsProvider",
|
259
256
|
props: wt(),
|
260
257
|
setup(e, t) {
|
@@ -262,40 +259,37 @@ const wt = w({
|
|
262
259
|
slots: n
|
263
260
|
} = t;
|
264
261
|
const {
|
265
|
-
defaults:
|
262
|
+
defaults: s,
|
266
263
|
disabled: i,
|
267
|
-
reset:
|
264
|
+
reset: a,
|
268
265
|
root: r,
|
269
266
|
scoped: o
|
270
267
|
} = Ze(e);
|
271
|
-
return et(
|
272
|
-
reset:
|
268
|
+
return et(s, {
|
269
|
+
reset: a,
|
273
270
|
root: r,
|
274
271
|
scoped: o,
|
275
272
|
disabled: i
|
276
|
-
}), () =>
|
277
|
-
var c;
|
278
|
-
return (c = n.default) == null ? void 0 : c.call(n);
|
279
|
-
};
|
273
|
+
}), () => n.default?.();
|
280
274
|
}
|
281
275
|
});
|
282
276
|
function Et(e, t) {
|
283
|
-
const n = be(),
|
284
|
-
if (
|
285
|
-
const i = new IntersectionObserver((
|
286
|
-
|
277
|
+
const n = be(), s = O(!1);
|
278
|
+
if (ne) {
|
279
|
+
const i = new IntersectionObserver((a) => {
|
280
|
+
s.value = !!a.find((r) => r.isIntersecting);
|
287
281
|
}, t);
|
288
|
-
|
282
|
+
Y(() => {
|
289
283
|
i.disconnect();
|
290
|
-
}),
|
291
|
-
r && (i.unobserve(r),
|
284
|
+
}), N(n, (a, r) => {
|
285
|
+
r && (i.unobserve(r), s.value = !1), a && i.observe(a);
|
292
286
|
}, {
|
293
287
|
flush: "post"
|
294
288
|
});
|
295
289
|
}
|
296
290
|
return {
|
297
291
|
intersectionRef: n,
|
298
|
-
isIntersecting:
|
292
|
+
isIntersecting: s
|
299
293
|
};
|
300
294
|
}
|
301
295
|
const ce = {
|
@@ -310,31 +304,31 @@ const ce = {
|
|
310
304
|
function Tt(e) {
|
311
305
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, n = arguments.length > 2 ? arguments[2] : void 0;
|
312
306
|
const {
|
313
|
-
isRtl:
|
307
|
+
isRtl: s
|
314
308
|
} = _e();
|
315
309
|
return {
|
316
|
-
locationStyles:
|
310
|
+
locationStyles: h(() => {
|
317
311
|
if (!e.location) return {};
|
318
312
|
const {
|
319
|
-
side:
|
313
|
+
side: a,
|
320
314
|
align: r
|
321
|
-
} = Fe(e.location.split(" ").length > 1 ? e.location : `${e.location} center`,
|
322
|
-
function o(
|
323
|
-
return n ? n(
|
315
|
+
} = Fe(e.location.split(" ").length > 1 ? e.location : `${e.location} center`, s.value);
|
316
|
+
function o(d) {
|
317
|
+
return n ? n(d) : 0;
|
324
318
|
}
|
325
319
|
const c = {};
|
326
|
-
return
|
320
|
+
return a !== "center" && (t ? c[ce[a]] = `calc(100% - ${o(a)}px)` : c[a] = 0), r !== "center" ? t ? c[ce[r]] = `calc(100% - ${o(r)}px)` : c[r] = 0 : (a === "center" ? c.top = c.left = "50%" : c[{
|
327
321
|
top: "left",
|
328
322
|
bottom: "left",
|
329
323
|
left: "top",
|
330
324
|
right: "top"
|
331
|
-
}[
|
325
|
+
}[a]] = "50%", c.transform = {
|
332
326
|
top: "translateX(-50%)",
|
333
327
|
bottom: "translateX(-50%)",
|
334
328
|
left: "translateY(-50%)",
|
335
329
|
right: "translateY(-50%)",
|
336
330
|
center: "translate(-50%, -50%)"
|
337
|
-
}[
|
331
|
+
}[a]), c;
|
338
332
|
})
|
339
333
|
};
|
340
334
|
}
|
@@ -372,125 +366,124 @@ const kt = w({
|
|
372
366
|
stream: Boolean,
|
373
367
|
striped: Boolean,
|
374
368
|
roundedBar: Boolean,
|
375
|
-
...
|
369
|
+
...F(),
|
376
370
|
...Lt({
|
377
371
|
location: "top"
|
378
372
|
}),
|
379
|
-
...
|
380
|
-
...
|
373
|
+
...ie(),
|
374
|
+
...ve(),
|
381
375
|
...Ce()
|
382
|
-
}, "VProgressLinear"),
|
376
|
+
}, "VProgressLinear"), Vt = V()({
|
383
377
|
name: "VProgressLinear",
|
384
378
|
props: kt(),
|
385
379
|
emits: {
|
386
380
|
"update:modelValue": (e) => !0
|
387
381
|
},
|
388
382
|
setup(e, t) {
|
389
|
-
var O;
|
390
383
|
let {
|
391
384
|
slots: n
|
392
385
|
} = t;
|
393
|
-
const
|
386
|
+
const s = pe(e, "modelValue"), {
|
394
387
|
isRtl: i,
|
395
|
-
rtlClasses:
|
388
|
+
rtlClasses: a
|
396
389
|
} = _e(), {
|
397
390
|
themeClasses: r
|
398
391
|
} = Se(e), {
|
399
392
|
locationStyles: o
|
400
393
|
} = Tt(e), {
|
401
394
|
textColorClasses: c,
|
402
|
-
textColorStyles:
|
395
|
+
textColorStyles: d
|
403
396
|
} = Me(e, "color"), {
|
404
|
-
backgroundColorClasses:
|
397
|
+
backgroundColorClasses: f,
|
405
398
|
backgroundColorStyles: g
|
406
|
-
} =
|
399
|
+
} = W(h(() => e.bgColor || e.color)), {
|
407
400
|
backgroundColorClasses: l,
|
408
|
-
backgroundColorStyles:
|
409
|
-
} =
|
401
|
+
backgroundColorStyles: m
|
402
|
+
} = W(h(() => e.bufferColor || e.bgColor || e.color)), {
|
410
403
|
backgroundColorClasses: y,
|
411
|
-
backgroundColorStyles:
|
412
|
-
} =
|
413
|
-
roundedClasses:
|
414
|
-
} =
|
415
|
-
intersectionRef:
|
416
|
-
isIntersecting:
|
417
|
-
} = Et(),
|
418
|
-
function
|
419
|
-
if (!
|
404
|
+
backgroundColorStyles: v
|
405
|
+
} = W(e, "color"), {
|
406
|
+
roundedClasses: _
|
407
|
+
} = ae(e), {
|
408
|
+
intersectionRef: b,
|
409
|
+
isIntersecting: I
|
410
|
+
} = Et(), T = h(() => parseFloat(e.max)), E = h(() => parseFloat(e.height)), P = h(() => oe(parseFloat(e.bufferValue) / T.value * 100, 0, 100)), M = h(() => oe(parseFloat(s.value) / T.value * 100, 0, 100)), B = h(() => i.value !== e.reverse), j = h(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), $ = tt && window.matchMedia?.("(forced-colors: active)").matches;
|
411
|
+
function X(k) {
|
412
|
+
if (!b.value) return;
|
420
413
|
const {
|
421
|
-
left:
|
422
|
-
right:
|
414
|
+
left: p,
|
415
|
+
right: S,
|
423
416
|
width: R
|
424
|
-
} =
|
425
|
-
|
417
|
+
} = b.value.getBoundingClientRect(), D = B.value ? R - k.clientX + (S - R) : k.clientX - p;
|
418
|
+
s.value = Math.round(D / R * T.value);
|
426
419
|
}
|
427
|
-
return
|
428
|
-
ref:
|
420
|
+
return H(() => u(e.tag, {
|
421
|
+
ref: b,
|
429
422
|
class: ["v-progress-linear", {
|
430
423
|
"v-progress-linear--absolute": e.absolute,
|
431
|
-
"v-progress-linear--active": e.active &&
|
424
|
+
"v-progress-linear--active": e.active && I.value,
|
432
425
|
"v-progress-linear--reverse": B.value,
|
433
426
|
"v-progress-linear--rounded": e.rounded,
|
434
427
|
"v-progress-linear--rounded-bar": e.roundedBar,
|
435
428
|
"v-progress-linear--striped": e.striped
|
436
|
-
},
|
429
|
+
}, _.value, r.value, a.value, e.class],
|
437
430
|
style: [{
|
438
431
|
bottom: e.location === "bottom" ? 0 : void 0,
|
439
432
|
top: e.location === "top" ? 0 : void 0,
|
440
|
-
height: e.active ?
|
441
|
-
"--v-progress-linear-height":
|
433
|
+
height: e.active ? L(E.value) : 0,
|
434
|
+
"--v-progress-linear-height": L(E.value),
|
442
435
|
...e.absolute ? o.value : {}
|
443
436
|
}, e.style],
|
444
437
|
role: "progressbar",
|
445
438
|
"aria-hidden": e.active ? "false" : "true",
|
446
439
|
"aria-valuemin": "0",
|
447
440
|
"aria-valuemax": e.max,
|
448
|
-
"aria-valuenow": e.indeterminate ? void 0 : Math.min(parseFloat(
|
449
|
-
onClick: e.clickable &&
|
441
|
+
"aria-valuenow": e.indeterminate ? void 0 : Math.min(parseFloat(s.value), T.value),
|
442
|
+
onClick: e.clickable && X
|
450
443
|
}, {
|
451
|
-
default: () => [e.stream &&
|
444
|
+
default: () => [e.stream && u("div", {
|
452
445
|
key: "stream",
|
453
446
|
class: ["v-progress-linear__stream", c.value],
|
454
447
|
style: {
|
455
|
-
...
|
456
|
-
[B.value ? "left" : "right"]:
|
457
|
-
borderTop: `${
|
448
|
+
...d.value,
|
449
|
+
[B.value ? "left" : "right"]: L(-E.value),
|
450
|
+
borderTop: `${L(E.value / 2)} dotted`,
|
458
451
|
opacity: parseFloat(e.bufferOpacity),
|
459
|
-
top: `calc(50% - ${
|
460
|
-
width:
|
461
|
-
"--v-progress-linear-stream-to":
|
452
|
+
top: `calc(50% - ${L(E.value / 4)})`,
|
453
|
+
width: L(100 - P.value, "%"),
|
454
|
+
"--v-progress-linear-stream-to": L(E.value * (B.value ? 1 : -1))
|
462
455
|
}
|
463
|
-
}, null),
|
464
|
-
class: ["v-progress-linear__background", $ ? void 0 :
|
456
|
+
}, null), u("div", {
|
457
|
+
class: ["v-progress-linear__background", $ ? void 0 : f.value],
|
465
458
|
style: [g.value, {
|
466
459
|
opacity: parseFloat(e.bgOpacity),
|
467
460
|
width: e.stream ? 0 : void 0
|
468
461
|
}]
|
469
|
-
}, null),
|
462
|
+
}, null), u("div", {
|
470
463
|
class: ["v-progress-linear__buffer", $ ? void 0 : l.value],
|
471
|
-
style: [
|
464
|
+
style: [m.value, {
|
472
465
|
opacity: parseFloat(e.bufferOpacity),
|
473
|
-
width:
|
466
|
+
width: L(P.value, "%")
|
474
467
|
}]
|
475
|
-
}, null),
|
476
|
-
name:
|
468
|
+
}, null), u(se, {
|
469
|
+
name: j.value
|
477
470
|
}, {
|
478
|
-
default: () => [e.indeterminate ?
|
471
|
+
default: () => [e.indeterminate ? u("div", {
|
479
472
|
class: "v-progress-linear__indeterminate"
|
480
|
-
}, [["long", "short"].map((
|
481
|
-
key:
|
482
|
-
class: ["v-progress-linear__indeterminate",
|
483
|
-
style:
|
484
|
-
}, null))]) :
|
473
|
+
}, [["long", "short"].map((k) => u("div", {
|
474
|
+
key: k,
|
475
|
+
class: ["v-progress-linear__indeterminate", k, $ ? void 0 : y.value],
|
476
|
+
style: v.value
|
477
|
+
}, null))]) : u("div", {
|
485
478
|
class: ["v-progress-linear__determinate", $ ? void 0 : y.value],
|
486
|
-
style: [
|
487
|
-
width:
|
479
|
+
style: [v.value, {
|
480
|
+
width: L(M.value, "%")
|
488
481
|
}]
|
489
482
|
}, null)]
|
490
|
-
}), n.default &&
|
483
|
+
}), n.default && u("div", {
|
491
484
|
class: "v-progress-linear__content"
|
492
485
|
}, [n.default({
|
493
|
-
value:
|
486
|
+
value: M.value,
|
494
487
|
buffer: P.value
|
495
488
|
})])]
|
496
489
|
})), {};
|
@@ -501,22 +494,21 @@ const kt = w({
|
|
501
494
|
function Zt(e) {
|
502
495
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : q();
|
503
496
|
return {
|
504
|
-
loaderClasses:
|
497
|
+
loaderClasses: h(() => ({
|
505
498
|
[`${t}--loading`]: e.loading
|
506
499
|
}))
|
507
500
|
};
|
508
501
|
}
|
509
502
|
function en(e, t) {
|
510
|
-
var a;
|
511
503
|
let {
|
512
504
|
slots: n
|
513
505
|
} = t;
|
514
|
-
return
|
506
|
+
return u("div", {
|
515
507
|
class: `${e.name}__loader`
|
516
|
-
}, [
|
508
|
+
}, [n.default?.({
|
517
509
|
color: e.color,
|
518
510
|
isActive: e.active
|
519
|
-
})
|
511
|
+
}) || u(Vt, {
|
520
512
|
absolute: e.absolute,
|
521
513
|
active: e.active,
|
522
514
|
color: e.color,
|
@@ -524,87 +516,83 @@ function en(e, t) {
|
|
524
516
|
indeterminate: !0
|
525
517
|
}, null)]);
|
526
518
|
}
|
527
|
-
const
|
519
|
+
const It = ["static", "relative", "fixed", "absolute", "sticky"], tn = w({
|
528
520
|
position: {
|
529
521
|
type: String,
|
530
522
|
validator: (
|
531
523
|
/* istanbul ignore next */
|
532
|
-
(e) =>
|
524
|
+
(e) => It.includes(e)
|
533
525
|
)
|
534
526
|
}
|
535
527
|
}, "position");
|
536
528
|
function nn(e) {
|
537
529
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : q();
|
538
530
|
return {
|
539
|
-
positionClasses:
|
531
|
+
positionClasses: h(() => e.position ? `${t}--${e.position}` : void 0)
|
540
532
|
};
|
541
533
|
}
|
542
|
-
const
|
534
|
+
const K = Symbol("rippleStop"), Pt = 80;
|
543
535
|
function de(e, t) {
|
544
536
|
e.style.transform = t, e.style.webkitTransform = t;
|
545
537
|
}
|
546
|
-
function
|
538
|
+
function Q(e) {
|
547
539
|
return e.constructor.name === "TouchEvent";
|
548
540
|
}
|
549
541
|
function Ee(e) {
|
550
542
|
return e.constructor.name === "KeyboardEvent";
|
551
543
|
}
|
552
544
|
const Bt = function(e, t) {
|
553
|
-
|
554
|
-
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = 0, i = 0;
|
545
|
+
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, s = 0, i = 0;
|
555
546
|
if (!Ee(e)) {
|
556
|
-
const
|
557
|
-
|
547
|
+
const g = t.getBoundingClientRect(), l = Q(e) ? e.touches[e.touches.length - 1] : e;
|
548
|
+
s = l.clientX - g.left, i = l.clientY - g.top;
|
558
549
|
}
|
559
|
-
let
|
560
|
-
|
561
|
-
const o = `${(t.clientWidth -
|
550
|
+
let a = 0, r = 0.3;
|
551
|
+
t._ripple?.circle ? (r = 0.15, a = t.clientWidth / 2, a = n.center ? a : a + Math.sqrt((s - a) ** 2 + (i - a) ** 2) / 4) : a = Math.sqrt(t.clientWidth ** 2 + t.clientHeight ** 2) / 2;
|
552
|
+
const o = `${(t.clientWidth - a * 2) / 2}px`, c = `${(t.clientHeight - a * 2) / 2}px`, d = n.center ? o : `${s - a}px`, f = n.center ? c : `${i - a}px`;
|
562
553
|
return {
|
563
|
-
radius:
|
554
|
+
radius: a,
|
564
555
|
scale: r,
|
565
|
-
x:
|
566
|
-
y:
|
556
|
+
x: d,
|
557
|
+
y: f,
|
567
558
|
centerX: o,
|
568
559
|
centerY: c
|
569
560
|
};
|
570
|
-
},
|
561
|
+
}, G = {
|
571
562
|
/* eslint-disable max-statements */
|
572
563
|
show(e, t) {
|
573
|
-
var u;
|
574
564
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
575
|
-
if (!
|
565
|
+
if (!t?._ripple?.enabled)
|
576
566
|
return;
|
577
|
-
const
|
578
|
-
|
567
|
+
const s = document.createElement("span"), i = document.createElement("span");
|
568
|
+
s.appendChild(i), s.className = "v-ripple__container", n.class && (s.className += ` ${n.class}`);
|
579
569
|
const {
|
580
|
-
radius:
|
570
|
+
radius: a,
|
581
571
|
scale: r,
|
582
572
|
x: o,
|
583
573
|
y: c,
|
584
|
-
centerX:
|
585
|
-
centerY:
|
586
|
-
} = Bt(e, t, n), g = `${
|
587
|
-
i.className = "v-ripple__animation", i.style.width = g, i.style.height = g, t.appendChild(
|
574
|
+
centerX: d,
|
575
|
+
centerY: f
|
576
|
+
} = Bt(e, t, n), g = `${a * 2}px`;
|
577
|
+
i.className = "v-ripple__animation", i.style.width = g, i.style.height = g, t.appendChild(s);
|
588
578
|
const l = window.getComputedStyle(t);
|
589
579
|
l && l.position === "static" && (t.style.position = "relative", t.dataset.previousPosition = "static"), i.classList.add("v-ripple__animation--enter"), i.classList.add("v-ripple__animation--visible"), de(i, `translate(${o}, ${c}) scale3d(${r},${r},${r})`), i.dataset.activated = String(performance.now()), requestAnimationFrame(() => {
|
590
580
|
requestAnimationFrame(() => {
|
591
|
-
i.classList.remove("v-ripple__animation--enter"), i.classList.add("v-ripple__animation--in"), de(i, `translate(${
|
581
|
+
i.classList.remove("v-ripple__animation--enter"), i.classList.add("v-ripple__animation--in"), de(i, `translate(${d}, ${f}) scale3d(1,1,1)`);
|
592
582
|
});
|
593
583
|
});
|
594
584
|
},
|
595
585
|
hide(e) {
|
596
|
-
|
597
|
-
if (!((s = e == null ? void 0 : e._ripple) != null && s.enabled)) return;
|
586
|
+
if (!e?._ripple?.enabled) return;
|
598
587
|
const t = e.getElementsByClassName("v-ripple__animation");
|
599
588
|
if (t.length === 0) return;
|
600
589
|
const n = t[t.length - 1];
|
601
590
|
if (n.dataset.isHiding) return;
|
602
591
|
n.dataset.isHiding = "true";
|
603
|
-
const
|
592
|
+
const s = performance.now() - Number(n.dataset.activated), i = Math.max(250 - s, 0);
|
604
593
|
setTimeout(() => {
|
605
594
|
n.classList.remove("v-ripple__animation--in"), n.classList.add("v-ripple__animation--out"), setTimeout(() => {
|
606
|
-
|
607
|
-
e.getElementsByClassName("v-ripple__animation").length === 1 && e.dataset.previousPosition && (e.style.position = e.dataset.previousPosition, delete e.dataset.previousPosition), ((o = n.parentNode) == null ? void 0 : o.parentNode) === e && e.removeChild(n.parentNode);
|
595
|
+
e.getElementsByClassName("v-ripple__animation").length === 1 && e.dataset.previousPosition && (e.style.position = e.dataset.previousPosition, delete e.dataset.previousPosition), n.parentNode?.parentNode === e && e.removeChild(n.parentNode);
|
608
596
|
}, 300);
|
609
597
|
}, i);
|
610
598
|
}
|
@@ -612,30 +600,29 @@ const Bt = function(e, t) {
|
|
612
600
|
function Le(e) {
|
613
601
|
return typeof e > "u" || !!e;
|
614
602
|
}
|
615
|
-
function
|
603
|
+
function z(e) {
|
616
604
|
const t = {}, n = e.currentTarget;
|
617
|
-
if (!(!
|
618
|
-
if (e[
|
605
|
+
if (!(!n?._ripple || n._ripple.touched || e[K])) {
|
606
|
+
if (e[K] = !0, Q(e))
|
619
607
|
n._ripple.touched = !0, n._ripple.isTouch = !0;
|
620
608
|
else if (n._ripple.isTouch) return;
|
621
|
-
if (t.center = n._ripple.centered || Ee(e), n._ripple.class && (t.class = n._ripple.class),
|
609
|
+
if (t.center = n._ripple.centered || Ee(e), n._ripple.class && (t.class = n._ripple.class), Q(e)) {
|
622
610
|
if (n._ripple.showTimerCommit) return;
|
623
611
|
n._ripple.showTimerCommit = () => {
|
624
|
-
|
612
|
+
G.show(e, n, t);
|
625
613
|
}, n._ripple.showTimer = window.setTimeout(() => {
|
626
|
-
|
627
|
-
(a = n == null ? void 0 : n._ripple) != null && a.showTimerCommit && (n._ripple.showTimerCommit(), n._ripple.showTimerCommit = null);
|
614
|
+
n?._ripple?.showTimerCommit && (n._ripple.showTimerCommit(), n._ripple.showTimerCommit = null);
|
628
615
|
}, Pt);
|
629
616
|
} else
|
630
|
-
|
617
|
+
G.show(e, n, t);
|
631
618
|
}
|
632
619
|
}
|
633
620
|
function fe(e) {
|
634
|
-
e[
|
621
|
+
e[K] = !0;
|
635
622
|
}
|
636
623
|
function C(e) {
|
637
624
|
const t = e.currentTarget;
|
638
|
-
if (t
|
625
|
+
if (t?._ripple) {
|
639
626
|
if (window.clearTimeout(t._ripple.showTimer), e.type === "touchend" && t._ripple.showTimerCommit) {
|
640
627
|
t._ripple.showTimerCommit(), t._ripple.showTimerCommit = null, t._ripple.showTimer = window.setTimeout(() => {
|
641
628
|
C(e);
|
@@ -644,48 +631,48 @@ function C(e) {
|
|
644
631
|
}
|
645
632
|
window.setTimeout(() => {
|
646
633
|
t._ripple && (t._ripple.touched = !1);
|
647
|
-
}),
|
634
|
+
}), G.hide(t);
|
648
635
|
}
|
649
636
|
}
|
650
637
|
function Te(e) {
|
651
638
|
const t = e.currentTarget;
|
652
|
-
t
|
639
|
+
t?._ripple && (t._ripple.showTimerCommit && (t._ripple.showTimerCommit = null), window.clearTimeout(t._ripple.showTimer));
|
653
640
|
}
|
654
|
-
let
|
641
|
+
let A = !1;
|
655
642
|
function ke(e) {
|
656
|
-
!
|
657
|
-
}
|
658
|
-
function Ie(e) {
|
659
|
-
F = !1, C(e);
|
643
|
+
!A && (e.keyCode === le.enter || e.keyCode === le.space) && (A = !0, z(e));
|
660
644
|
}
|
661
645
|
function Ve(e) {
|
662
|
-
|
646
|
+
A = !1, C(e);
|
647
|
+
}
|
648
|
+
function Ie(e) {
|
649
|
+
A && (A = !1, C(e));
|
663
650
|
}
|
664
651
|
function Pe(e, t, n) {
|
665
652
|
const {
|
666
|
-
value:
|
653
|
+
value: s,
|
667
654
|
modifiers: i
|
668
|
-
} = t,
|
669
|
-
if (
|
655
|
+
} = t, a = Le(s);
|
656
|
+
if (a || G.hide(e), e._ripple = e._ripple ?? {}, e._ripple.enabled = a, e._ripple.centered = i.center, e._ripple.circle = i.circle, nt(s) && s.class && (e._ripple.class = s.class), a && !n) {
|
670
657
|
if (i.stop) {
|
671
658
|
e.addEventListener("touchstart", fe, {
|
672
659
|
passive: !0
|
673
660
|
}), e.addEventListener("mousedown", fe);
|
674
661
|
return;
|
675
662
|
}
|
676
|
-
e.addEventListener("touchstart",
|
663
|
+
e.addEventListener("touchstart", z, {
|
677
664
|
passive: !0
|
678
665
|
}), e.addEventListener("touchend", C, {
|
679
666
|
passive: !0
|
680
667
|
}), e.addEventListener("touchmove", Te, {
|
681
668
|
passive: !0
|
682
|
-
}), e.addEventListener("touchcancel", C), e.addEventListener("mousedown",
|
669
|
+
}), e.addEventListener("touchcancel", C), e.addEventListener("mousedown", z), e.addEventListener("mouseup", C), e.addEventListener("mouseleave", C), e.addEventListener("keydown", ke), e.addEventListener("keyup", Ve), e.addEventListener("blur", Ie), e.addEventListener("dragstart", C, {
|
683
670
|
passive: !0
|
684
671
|
});
|
685
|
-
} else !
|
672
|
+
} else !a && n && Be(e);
|
686
673
|
}
|
687
674
|
function Be(e) {
|
688
|
-
e.removeEventListener("mousedown",
|
675
|
+
e.removeEventListener("mousedown", z), e.removeEventListener("touchstart", z), e.removeEventListener("touchend", C), e.removeEventListener("touchmove", Te), e.removeEventListener("touchcancel", C), e.removeEventListener("mouseup", C), e.removeEventListener("mouseleave", C), e.removeEventListener("keydown", ke), e.removeEventListener("keyup", Ve), e.removeEventListener("dragstart", C), e.removeEventListener("blur", Ie);
|
689
676
|
}
|
690
677
|
function $t(e, t) {
|
691
678
|
Pe(e, t, !1);
|
@@ -693,20 +680,20 @@ function $t(e, t) {
|
|
693
680
|
function Rt(e) {
|
694
681
|
delete e._ripple, Be(e);
|
695
682
|
}
|
696
|
-
function
|
683
|
+
function Ot(e, t) {
|
697
684
|
if (t.value === t.oldValue)
|
698
685
|
return;
|
699
686
|
const n = Le(t.oldValue);
|
700
687
|
Pe(e, t, n);
|
701
688
|
}
|
702
|
-
const
|
689
|
+
const sn = {
|
703
690
|
mounted: $t,
|
704
691
|
unmounted: Rt,
|
705
|
-
updated:
|
692
|
+
updated: Ot
|
706
693
|
};
|
707
|
-
function
|
694
|
+
function Nt(e) {
|
708
695
|
return {
|
709
|
-
aspectStyles:
|
696
|
+
aspectStyles: h(() => {
|
710
697
|
const t = Number(e.aspectRatio);
|
711
698
|
return t ? {
|
712
699
|
paddingBottom: String(1 / t * 100) + "%"
|
@@ -718,9 +705,9 @@ const $e = w({
|
|
718
705
|
aspectRatio: [String, Number],
|
719
706
|
contentClass: null,
|
720
707
|
inline: Boolean,
|
721
|
-
...
|
708
|
+
...F(),
|
722
709
|
...Ue()
|
723
|
-
}, "VResponsive"),
|
710
|
+
}, "VResponsive"), me = V()({
|
724
711
|
name: "VResponsive",
|
725
712
|
props: $e(),
|
726
713
|
setup(e, t) {
|
@@ -728,50 +715,45 @@ const $e = w({
|
|
728
715
|
slots: n
|
729
716
|
} = t;
|
730
717
|
const {
|
731
|
-
aspectStyles:
|
732
|
-
} =
|
718
|
+
aspectStyles: s
|
719
|
+
} = Nt(e), {
|
733
720
|
dimensionStyles: i
|
734
721
|
} = De(e);
|
735
|
-
return
|
736
|
-
|
737
|
-
|
738
|
-
|
739
|
-
|
740
|
-
|
741
|
-
|
742
|
-
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
class: ["v-responsive__content", e.contentClass]
|
747
|
-
}, [n.default()])]);
|
748
|
-
}), {};
|
722
|
+
return H(() => u("div", {
|
723
|
+
class: ["v-responsive", {
|
724
|
+
"v-responsive--inline": e.inline
|
725
|
+
}, e.class],
|
726
|
+
style: [i.value, e.style]
|
727
|
+
}, [u("div", {
|
728
|
+
class: "v-responsive__sizer",
|
729
|
+
style: s.value
|
730
|
+
}, null), n.additional?.(), n.default && u("div", {
|
731
|
+
class: ["v-responsive__content", e.contentClass]
|
732
|
+
}, [n.default()])])), {};
|
749
733
|
}
|
750
734
|
});
|
751
735
|
function zt(e, t) {
|
752
|
-
if (!
|
753
|
-
const n = t.modifiers || {},
|
736
|
+
if (!ne) return;
|
737
|
+
const n = t.modifiers || {}, s = t.value, {
|
754
738
|
handler: i,
|
755
|
-
options:
|
756
|
-
} = typeof
|
757
|
-
handler:
|
739
|
+
options: a
|
740
|
+
} = typeof s == "object" ? s : {
|
741
|
+
handler: s,
|
758
742
|
options: {}
|
759
743
|
}, r = new IntersectionObserver(function() {
|
760
|
-
var g;
|
761
744
|
let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], c = arguments.length > 1 ? arguments[1] : void 0;
|
762
|
-
const
|
763
|
-
if (!
|
764
|
-
const
|
765
|
-
i && (!n.quiet ||
|
766
|
-
},
|
745
|
+
const d = e._observe?.[t.instance.$.uid];
|
746
|
+
if (!d) return;
|
747
|
+
const f = o.some((g) => g.isIntersecting);
|
748
|
+
i && (!n.quiet || d.init) && (!n.once || f || d.init) && i(f, o, c), f && n.once ? Re(e, t) : d.init = !0;
|
749
|
+
}, a);
|
767
750
|
e._observe = Object(e._observe), e._observe[t.instance.$.uid] = {
|
768
751
|
init: !1,
|
769
752
|
observer: r
|
770
753
|
}, r.observe(e);
|
771
754
|
}
|
772
755
|
function Re(e, t) {
|
773
|
-
|
774
|
-
const n = (a = e._observe) == null ? void 0 : a[t.instance.$.uid];
|
756
|
+
const n = e._observe?.[t.instance.$.uid];
|
775
757
|
n && (n.observer.unobserve(e), delete e._observe[t.instance.$.uid]);
|
776
758
|
}
|
777
759
|
const At = {
|
@@ -809,10 +791,10 @@ const At = {
|
|
809
791
|
srcset: String,
|
810
792
|
position: String,
|
811
793
|
...$e(),
|
812
|
-
...
|
813
|
-
...
|
814
|
-
...
|
815
|
-
}, "VImg"), Mt =
|
794
|
+
...F(),
|
795
|
+
...ie(),
|
796
|
+
...We()
|
797
|
+
}, "VImg"), Mt = V()({
|
816
798
|
name: "VImg",
|
817
799
|
directives: {
|
818
800
|
intersect: At
|
@@ -826,14 +808,14 @@ const At = {
|
|
826
808
|
setup(e, t) {
|
827
809
|
let {
|
828
810
|
emit: n,
|
829
|
-
slots:
|
811
|
+
slots: s
|
830
812
|
} = t;
|
831
813
|
const {
|
832
814
|
backgroundColorClasses: i,
|
833
|
-
backgroundColorStyles:
|
834
|
-
} =
|
815
|
+
backgroundColorStyles: a
|
816
|
+
} = W(te(e, "color")), {
|
835
817
|
roundedClasses: r
|
836
|
-
} =
|
818
|
+
} = ae(e), o = ee("VImg"), c = O(""), d = be(), f = O(e.eager ? "loading" : "idle"), g = O(), l = O(), m = h(() => e.src && typeof e.src == "object" ? {
|
837
819
|
src: e.src.src,
|
838
820
|
srcset: e.srcset || e.src.srcset,
|
839
821
|
lazySrc: e.lazySrc || e.src.lazySrc,
|
@@ -843,160 +825,155 @@ const At = {
|
|
843
825
|
srcset: e.srcset,
|
844
826
|
lazySrc: e.lazySrc,
|
845
827
|
aspect: Number(e.aspectRatio || 0)
|
846
|
-
}), y =
|
847
|
-
|
848
|
-
|
849
|
-
}),
|
850
|
-
!
|
851
|
-
}),
|
852
|
-
function
|
853
|
-
if (!(e.eager &&
|
854
|
-
if (
|
855
|
-
const
|
856
|
-
|
828
|
+
}), y = h(() => m.value.aspect || g.value / l.value || 0);
|
829
|
+
N(() => e.src, () => {
|
830
|
+
v(f.value !== "idle");
|
831
|
+
}), N(y, (p, S) => {
|
832
|
+
!p && S && d.value && E(d.value);
|
833
|
+
}), st(() => v());
|
834
|
+
function v(p) {
|
835
|
+
if (!(e.eager && p) && !(ne && !p && !e.eager)) {
|
836
|
+
if (f.value = "loading", m.value.lazySrc) {
|
837
|
+
const S = new Image();
|
838
|
+
S.src = m.value.lazySrc, E(S, null);
|
857
839
|
}
|
858
|
-
|
859
|
-
|
860
|
-
n("loadstart", ((b = f.value) == null ? void 0 : b.currentSrc) || u.value.src), setTimeout(() => {
|
861
|
-
var L;
|
840
|
+
m.value.src && at(() => {
|
841
|
+
n("loadstart", d.value?.currentSrc || m.value.src), setTimeout(() => {
|
862
842
|
if (!o.isUnmounted)
|
863
|
-
if (
|
864
|
-
if (
|
865
|
-
y.value || E(
|
843
|
+
if (d.value?.complete) {
|
844
|
+
if (d.value.naturalWidth || b(), f.value === "error") return;
|
845
|
+
y.value || E(d.value, null), f.value === "loading" && _();
|
866
846
|
} else
|
867
|
-
y.value || E(
|
847
|
+
y.value || E(d.value), I();
|
868
848
|
});
|
869
849
|
});
|
870
850
|
}
|
871
851
|
}
|
872
|
-
function S() {
|
873
|
-
var m;
|
874
|
-
o.isUnmounted || (V(), E(f.value), v.value = "loaded", n("load", ((m = f.value) == null ? void 0 : m.currentSrc) || u.value.src));
|
875
|
-
}
|
876
852
|
function _() {
|
877
|
-
|
878
|
-
|
853
|
+
o.isUnmounted || (I(), E(d.value), f.value = "loaded", n("load", d.value?.currentSrc || m.value.src));
|
854
|
+
}
|
855
|
+
function b() {
|
856
|
+
o.isUnmounted || (f.value = "error", n("error", d.value?.currentSrc || m.value.src));
|
879
857
|
}
|
880
|
-
function
|
881
|
-
const
|
882
|
-
|
858
|
+
function I() {
|
859
|
+
const p = d.value;
|
860
|
+
p && (c.value = p.currentSrc || p.src);
|
883
861
|
}
|
884
|
-
let
|
885
|
-
|
886
|
-
clearTimeout(
|
862
|
+
let T = -1;
|
863
|
+
Y(() => {
|
864
|
+
clearTimeout(T);
|
887
865
|
});
|
888
|
-
function E(
|
889
|
-
let
|
890
|
-
const
|
891
|
-
if (clearTimeout(
|
866
|
+
function E(p) {
|
867
|
+
let S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100;
|
868
|
+
const R = () => {
|
869
|
+
if (clearTimeout(T), o.isUnmounted) return;
|
892
870
|
const {
|
893
|
-
naturalHeight:
|
894
|
-
naturalWidth:
|
895
|
-
} =
|
896
|
-
|
871
|
+
naturalHeight: D,
|
872
|
+
naturalWidth: re
|
873
|
+
} = p;
|
874
|
+
D || re ? (g.value = re, l.value = D) : !p.complete && f.value === "loading" && S != null ? T = window.setTimeout(R, S) : (p.currentSrc.endsWith(".svg") || p.currentSrc.startsWith("data:image/svg+xml")) && (g.value = 1, l.value = 1);
|
897
875
|
};
|
898
|
-
|
876
|
+
R();
|
899
877
|
}
|
900
|
-
const P =
|
878
|
+
const P = h(() => ({
|
901
879
|
"v-img__img--cover": e.cover,
|
902
880
|
"v-img__img--contain": !e.cover
|
903
|
-
})),
|
904
|
-
|
905
|
-
|
906
|
-
const m = d("img", {
|
881
|
+
})), M = () => {
|
882
|
+
if (!m.value.src || f.value === "idle") return null;
|
883
|
+
const p = u("img", {
|
907
884
|
class: ["v-img__img", P.value],
|
908
885
|
style: {
|
909
886
|
objectPosition: e.position
|
910
887
|
},
|
911
888
|
crossorigin: e.crossorigin,
|
912
|
-
src:
|
913
|
-
srcset:
|
889
|
+
src: m.value.src,
|
890
|
+
srcset: m.value.srcset,
|
914
891
|
alt: e.alt,
|
915
892
|
referrerpolicy: e.referrerpolicy,
|
916
893
|
draggable: e.draggable,
|
917
894
|
sizes: e.sizes,
|
918
|
-
ref:
|
919
|
-
onLoad:
|
920
|
-
onError:
|
921
|
-
}, null),
|
922
|
-
return
|
895
|
+
ref: d,
|
896
|
+
onLoad: _,
|
897
|
+
onError: b
|
898
|
+
}, null), S = s.sources?.();
|
899
|
+
return u(U, {
|
923
900
|
transition: e.transition,
|
924
901
|
appear: !0
|
925
902
|
}, {
|
926
|
-
default: () => [ue(
|
903
|
+
default: () => [ue(S ? u("picture", {
|
927
904
|
class: "v-img__picture"
|
928
|
-
}, [
|
905
|
+
}, [S, p]) : p, [[ot, f.value === "loaded"]])]
|
929
906
|
});
|
930
|
-
}, B = () =>
|
907
|
+
}, B = () => u(U, {
|
931
908
|
transition: e.transition
|
932
909
|
}, {
|
933
|
-
default: () => [
|
910
|
+
default: () => [m.value.lazySrc && f.value !== "loaded" && u("img", {
|
934
911
|
class: ["v-img__img", "v-img__img--preload", P.value],
|
935
912
|
style: {
|
936
913
|
objectPosition: e.position
|
937
914
|
},
|
938
915
|
crossorigin: e.crossorigin,
|
939
|
-
src:
|
916
|
+
src: m.value.lazySrc,
|
940
917
|
alt: e.alt,
|
941
918
|
referrerpolicy: e.referrerpolicy,
|
942
919
|
draggable: e.draggable
|
943
920
|
}, null)]
|
944
|
-
}),
|
921
|
+
}), j = () => s.placeholder ? u(U, {
|
945
922
|
transition: e.transition,
|
946
923
|
appear: !0
|
947
924
|
}, {
|
948
|
-
default: () => [(
|
925
|
+
default: () => [(f.value === "loading" || f.value === "error" && !s.error) && u("div", {
|
949
926
|
class: "v-img__placeholder"
|
950
|
-
}, [
|
951
|
-
}) : null, $ = () =>
|
927
|
+
}, [s.placeholder()])]
|
928
|
+
}) : null, $ = () => s.error ? u(U, {
|
952
929
|
transition: e.transition,
|
953
930
|
appear: !0
|
954
931
|
}, {
|
955
|
-
default: () => [
|
932
|
+
default: () => [f.value === "error" && u("div", {
|
956
933
|
class: "v-img__error"
|
957
|
-
}, [
|
958
|
-
}) : null,
|
934
|
+
}, [s.error()])]
|
935
|
+
}) : null, X = () => e.gradient ? u("div", {
|
959
936
|
class: "v-img__gradient",
|
960
937
|
style: {
|
961
938
|
backgroundImage: `linear-gradient(${e.gradient})`
|
962
939
|
}
|
963
|
-
}, null) : null,
|
940
|
+
}, null) : null, k = O(!1);
|
964
941
|
{
|
965
|
-
const
|
966
|
-
|
942
|
+
const p = N(y, (S) => {
|
943
|
+
S && (requestAnimationFrame(() => {
|
967
944
|
requestAnimationFrame(() => {
|
968
|
-
|
945
|
+
k.value = !0;
|
969
946
|
});
|
970
|
-
}),
|
947
|
+
}), p());
|
971
948
|
});
|
972
949
|
}
|
973
|
-
return
|
974
|
-
const
|
975
|
-
return ue(
|
950
|
+
return H(() => {
|
951
|
+
const p = me.filterProps(e);
|
952
|
+
return ue(u(me, rt({
|
976
953
|
class: ["v-img", {
|
977
954
|
"v-img--absolute": e.absolute,
|
978
|
-
"v-img--booting": !
|
955
|
+
"v-img--booting": !k.value
|
979
956
|
}, i.value, r.value, e.class],
|
980
957
|
style: [{
|
981
|
-
width:
|
982
|
-
},
|
983
|
-
},
|
958
|
+
width: L(e.width === "auto" ? g.value : e.width)
|
959
|
+
}, a.value, e.style]
|
960
|
+
}, p, {
|
984
961
|
aspectRatio: y.value,
|
985
962
|
"aria-label": e.alt,
|
986
963
|
role: e.alt ? "img" : void 0
|
987
964
|
}), {
|
988
|
-
additional: () =>
|
989
|
-
default:
|
965
|
+
additional: () => u(he, null, [u(M, null, null), u(B, null, null), u(X, null, null), u(j, null, null), u($, null, null)]),
|
966
|
+
default: s.default
|
990
967
|
}), [[it("intersect"), {
|
991
|
-
handler:
|
968
|
+
handler: v,
|
992
969
|
options: e.options
|
993
970
|
}, null, {
|
994
971
|
once: !0
|
995
972
|
}]]);
|
996
973
|
}), {
|
997
974
|
currentSrc: c,
|
998
|
-
image:
|
999
|
-
state:
|
975
|
+
image: d,
|
976
|
+
state: f,
|
1000
977
|
naturalWidth: g,
|
1001
978
|
naturalHeight: l
|
1002
979
|
};
|
@@ -1008,16 +985,16 @@ const At = {
|
|
1008
985
|
image: String,
|
1009
986
|
text: String,
|
1010
987
|
...ct(),
|
1011
|
-
...
|
988
|
+
...F(),
|
1012
989
|
...gt(),
|
1013
|
-
...
|
990
|
+
...ie(),
|
1014
991
|
...ft(),
|
1015
|
-
...
|
992
|
+
...ve(),
|
1016
993
|
...Ce(),
|
1017
994
|
...bt({
|
1018
995
|
variant: "flat"
|
1019
996
|
})
|
1020
|
-
}, "VAvatar"),
|
997
|
+
}, "VAvatar"), an = V()({
|
1021
998
|
name: "VAvatar",
|
1022
999
|
props: Dt(),
|
1023
1000
|
setup(e, t) {
|
@@ -1025,29 +1002,29 @@ const At = {
|
|
1025
1002
|
slots: n
|
1026
1003
|
} = t;
|
1027
1004
|
const {
|
1028
|
-
themeClasses:
|
1005
|
+
themeClasses: s
|
1029
1006
|
} = Se(e), {
|
1030
1007
|
borderClasses: i
|
1031
1008
|
} = ut(e), {
|
1032
|
-
colorClasses:
|
1009
|
+
colorClasses: a,
|
1033
1010
|
colorStyles: r,
|
1034
1011
|
variantClasses: o
|
1035
1012
|
} = _t(e), {
|
1036
1013
|
densityClasses: c
|
1037
1014
|
} = ht(e), {
|
1038
|
-
roundedClasses:
|
1039
|
-
} =
|
1040
|
-
sizeClasses:
|
1015
|
+
roundedClasses: d
|
1016
|
+
} = ae(e), {
|
1017
|
+
sizeClasses: f,
|
1041
1018
|
sizeStyles: g
|
1042
1019
|
} = dt(e);
|
1043
|
-
return
|
1020
|
+
return H(() => u(e.tag, {
|
1044
1021
|
class: ["v-avatar", {
|
1045
1022
|
"v-avatar--start": e.start,
|
1046
1023
|
"v-avatar--end": e.end
|
1047
|
-
},
|
1024
|
+
}, s.value, i.value, a.value, c.value, d.value, f.value, o.value, e.class],
|
1048
1025
|
style: [r.value, g.value, e.style]
|
1049
1026
|
}, {
|
1050
|
-
default: () => [n.default ?
|
1027
|
+
default: () => [n.default ? u(xt, {
|
1051
1028
|
key: "content-defaults",
|
1052
1029
|
defaults: {
|
1053
1030
|
VImg: {
|
@@ -1060,12 +1037,12 @@ const At = {
|
|
1060
1037
|
}
|
1061
1038
|
}, {
|
1062
1039
|
default: () => [n.default()]
|
1063
|
-
}) : e.image ?
|
1040
|
+
}) : e.image ? u(Mt, {
|
1064
1041
|
key: "image",
|
1065
1042
|
src: e.image,
|
1066
1043
|
alt: "",
|
1067
1044
|
cover: !0
|
1068
|
-
}, null) : e.icon ?
|
1045
|
+
}, null) : e.icon ? u(mt, {
|
1069
1046
|
key: "icon",
|
1070
1047
|
icon: e.icon
|
1071
1048
|
}, null) : e.text, pt(!1, "v-avatar")]
|
@@ -1080,26 +1057,26 @@ const At = {
|
|
1080
1057
|
origin: String
|
1081
1058
|
}, "transition");
|
1082
1059
|
function x(e, t, n) {
|
1083
|
-
return
|
1060
|
+
return V()({
|
1084
1061
|
name: e,
|
1085
1062
|
props: Ut({
|
1086
1063
|
mode: n,
|
1087
1064
|
origin: t
|
1088
1065
|
}),
|
1089
|
-
setup(
|
1066
|
+
setup(s, i) {
|
1090
1067
|
let {
|
1091
|
-
slots:
|
1068
|
+
slots: a
|
1092
1069
|
} = i;
|
1093
1070
|
const r = {
|
1094
1071
|
onBeforeEnter(o) {
|
1095
|
-
|
1072
|
+
s.origin && (o.style.transformOrigin = s.origin);
|
1096
1073
|
},
|
1097
1074
|
onLeave(o) {
|
1098
|
-
if (
|
1075
|
+
if (s.leaveAbsolute) {
|
1099
1076
|
const {
|
1100
1077
|
offsetTop: c,
|
1101
|
-
offsetLeft:
|
1102
|
-
offsetWidth:
|
1078
|
+
offsetLeft: d,
|
1079
|
+
offsetWidth: f,
|
1103
1080
|
offsetHeight: g
|
1104
1081
|
} = o;
|
1105
1082
|
o._transitionInitialStyles = {
|
@@ -1108,40 +1085,40 @@ function x(e, t, n) {
|
|
1108
1085
|
left: o.style.left,
|
1109
1086
|
width: o.style.width,
|
1110
1087
|
height: o.style.height
|
1111
|
-
}, o.style.position = "absolute", o.style.top = `${c}px`, o.style.left = `${
|
1088
|
+
}, o.style.position = "absolute", o.style.top = `${c}px`, o.style.left = `${d}px`, o.style.width = `${f}px`, o.style.height = `${g}px`;
|
1112
1089
|
}
|
1113
|
-
|
1090
|
+
s.hideOnLeave && o.style.setProperty("display", "none", "important");
|
1114
1091
|
},
|
1115
1092
|
onAfterLeave(o) {
|
1116
|
-
if (
|
1093
|
+
if (s.leaveAbsolute && o?._transitionInitialStyles) {
|
1117
1094
|
const {
|
1118
1095
|
position: c,
|
1119
|
-
top:
|
1120
|
-
left:
|
1096
|
+
top: d,
|
1097
|
+
left: f,
|
1121
1098
|
width: g,
|
1122
1099
|
height: l
|
1123
1100
|
} = o._transitionInitialStyles;
|
1124
|
-
delete o._transitionInitialStyles, o.style.position = c || "", o.style.top =
|
1101
|
+
delete o._transitionInitialStyles, o.style.position = c || "", o.style.top = d || "", o.style.left = f || "", o.style.width = g || "", o.style.height = l || "";
|
1125
1102
|
}
|
1126
1103
|
}
|
1127
1104
|
};
|
1128
1105
|
return () => {
|
1129
|
-
const o =
|
1130
|
-
return
|
1131
|
-
name:
|
1132
|
-
css: !
|
1133
|
-
...
|
1134
|
-
mode:
|
1106
|
+
const o = s.group ? we : se;
|
1107
|
+
return Z(o, {
|
1108
|
+
name: s.disabled ? "" : e,
|
1109
|
+
css: !s.disabled,
|
1110
|
+
...s.group ? void 0 : {
|
1111
|
+
mode: s.mode
|
1135
1112
|
},
|
1136
|
-
...
|
1137
|
-
},
|
1113
|
+
...s.disabled ? {} : r
|
1114
|
+
}, a.default);
|
1138
1115
|
};
|
1139
1116
|
}
|
1140
1117
|
});
|
1141
1118
|
}
|
1142
|
-
function
|
1119
|
+
function Oe(e, t) {
|
1143
1120
|
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "in-out";
|
1144
|
-
return
|
1121
|
+
return V()({
|
1145
1122
|
name: e,
|
1146
1123
|
props: {
|
1147
1124
|
mode: {
|
@@ -1151,23 +1128,23 @@ function Ne(e, t) {
|
|
1151
1128
|
disabled: Boolean,
|
1152
1129
|
group: Boolean
|
1153
1130
|
},
|
1154
|
-
setup(
|
1131
|
+
setup(s, i) {
|
1155
1132
|
let {
|
1156
|
-
slots:
|
1133
|
+
slots: a
|
1157
1134
|
} = i;
|
1158
|
-
const r =
|
1159
|
-
return () =>
|
1160
|
-
name:
|
1161
|
-
css: !
|
1135
|
+
const r = s.group ? we : se;
|
1136
|
+
return () => Z(r, {
|
1137
|
+
name: s.disabled ? "" : e,
|
1138
|
+
css: !s.disabled,
|
1162
1139
|
// mode: props.mode, // TODO: vuejs/vue-next#3104
|
1163
|
-
...
|
1164
|
-
},
|
1140
|
+
...s.disabled ? {} : t
|
1141
|
+
}, a.default);
|
1165
1142
|
}
|
1166
1143
|
});
|
1167
1144
|
}
|
1168
|
-
function
|
1145
|
+
function Ne() {
|
1169
1146
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
|
1170
|
-
const n = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1) ? "width" : "height",
|
1147
|
+
const n = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1) ? "width" : "height", s = ge(`offset-${n}`);
|
1171
1148
|
return {
|
1172
1149
|
onBeforeEnter(r) {
|
1173
1150
|
r._parent = r.parentNode, r._initialStyle = {
|
@@ -1180,27 +1157,27 @@ function Oe() {
|
|
1180
1157
|
const o = r._initialStyle;
|
1181
1158
|
if (!o) return;
|
1182
1159
|
r.style.setProperty("transition", "none", "important"), r.style.overflow = "hidden";
|
1183
|
-
const c = `${r[
|
1160
|
+
const c = `${r[s]}px`;
|
1184
1161
|
r.style[n] = "0", r.offsetHeight, r.style.transition = o.transition, e && r._parent && r._parent.classList.add(e), requestAnimationFrame(() => {
|
1185
1162
|
r.style[n] = c;
|
1186
1163
|
});
|
1187
1164
|
},
|
1188
|
-
onAfterEnter:
|
1189
|
-
onEnterCancelled:
|
1165
|
+
onAfterEnter: a,
|
1166
|
+
onEnterCancelled: a,
|
1190
1167
|
onLeave(r) {
|
1191
1168
|
r._initialStyle = {
|
1192
1169
|
transition: "",
|
1193
1170
|
overflow: r.style.overflow,
|
1194
1171
|
[n]: r.style[n]
|
1195
|
-
}, r.style.overflow = "hidden", r.style[n] = `${r[
|
1172
|
+
}, r.style.overflow = "hidden", r.style[n] = `${r[s]}px`, r.offsetHeight, requestAnimationFrame(() => r.style[n] = "0");
|
1196
1173
|
},
|
1197
1174
|
onAfterLeave: i,
|
1198
1175
|
onLeaveCancelled: i
|
1199
1176
|
};
|
1200
1177
|
function i(r) {
|
1201
|
-
e && r._parent && r._parent.classList.remove(e),
|
1178
|
+
e && r._parent && r._parent.classList.remove(e), a(r);
|
1202
1179
|
}
|
1203
|
-
function
|
1180
|
+
function a(r) {
|
1204
1181
|
if (!r._initialStyle) return;
|
1205
1182
|
const o = r._initialStyle[n];
|
1206
1183
|
r.style.overflow = r._initialStyle.overflow, o != null && (r.style[n] = o), delete r._initialStyle;
|
@@ -1218,21 +1195,21 @@ x("slide-x-transition");
|
|
1218
1195
|
x("slide-x-reverse-transition");
|
1219
1196
|
const ln = x("slide-y-transition");
|
1220
1197
|
x("slide-y-reverse-transition");
|
1221
|
-
const un =
|
1222
|
-
ze("css/revolugo.index.
|
1198
|
+
const un = Oe("expand-transition", Ne()), cn = Oe("expand-x-transition", Ne("", !0));
|
1199
|
+
ze("css/revolugo.index.DK7d_h6O.css");
|
1223
1200
|
export {
|
1224
1201
|
At as I,
|
1225
1202
|
en as L,
|
1226
|
-
|
1227
|
-
|
1203
|
+
sn as R,
|
1204
|
+
Vt as V,
|
1228
1205
|
xt as a,
|
1229
1206
|
rn as b,
|
1230
|
-
|
1207
|
+
Yt as c,
|
1231
1208
|
un as d,
|
1232
1209
|
on as e,
|
1233
1210
|
Mt as f,
|
1234
1211
|
pt as g,
|
1235
|
-
|
1212
|
+
an as h,
|
1236
1213
|
Xt as i,
|
1237
1214
|
Kt as j,
|
1238
1215
|
jt as k,
|
@@ -1252,4 +1229,4 @@ export {
|
|
1252
1229
|
Qt as y,
|
1253
1230
|
ln as z
|
1254
1231
|
};
|
1255
|
-
//# sourceMappingURL=revolugo.index.
|
1232
|
+
//# sourceMappingURL=revolugo.index.DmlGotxY.min.js.map
|