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