@revolugo/elements 6.9.7 → 6.10.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/fonts.css +1 -1
- package/dist/css/revolugo.cancellationpoliciesbadge.goM3lza7.css +1 -0
- package/dist/css/revolugo.creditcardstripeform.C4-vMajR.css +1 -0
- package/dist/css/revolugo.index.BNlxBMG6.css +5 -0
- package/dist/css/revolugo.preferencesmenu.DQaHGrad.css +1 -0
- package/dist/css/{revolugo.webcomponentwrapper.cFJPP6Rp.css → revolugo.webcomponentwrapper.ViqP9D5c.css} +1 -1
- package/dist/index.es.min.js +23 -12530
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +1 -19
- package/dist/index.min.js.map +1 -1
- package/dist/revolugo.banktransferdetails.BZPF0eiL.min.js +47 -0
- package/dist/revolugo.bookingdetailssidebar.CWoXRXDR.min.js +43 -0
- package/dist/revolugo.bookingmanager.DmJpAxyM.min.js +26 -0
- package/dist/revolugo.cancellationpoliciesbadge.Co7XlO7n.min.js +26 -0
- package/dist/revolugo.cancellationpoliciesbadge.props.D6tSiX4u.min.js +28666 -0
- package/dist/revolugo.cancellationpolicieslist.D0rQjtFT.min.js +26 -0
- package/dist/revolugo.creditcardstripeform.DcbjAce6.min.js +50 -0
- package/dist/{revolugo.creditcardform.C1Y8cuiJ.min.js → revolugo.creditcardstripeform.aygVY4nC.min.js} +871 -854
- package/dist/revolugo.currencypickerbtn.CjoBj2wM.min.js +26 -0
- package/dist/{revolugo.dialog-attach.blanCM_U.min.js → revolugo.dialog-attach.lbgk2NFx.min.js} +2 -2
- package/dist/revolugo.fastbookingflow.CU_zG9Qc.min.js +36 -0
- package/dist/revolugo.fullbookingflow.ryUXC-zj.min.js +26 -0
- package/dist/revolugo.hoteldescriptionview.C-RryD4u.min.js +26 -0
- package/dist/revolugo.hotelofferlist.L7Syq2rw.min.js +26 -0
- package/dist/revolugo.hoteloffersearchmenu.DtaEfOpL.min.js +115 -0
- package/dist/revolugo.hoteloffersmap.B0GJkLuz.min.js +26 -0
- package/dist/revolugo.hoteloffersview.D5owMCJq.min.js +21 -0
- package/dist/revolugo.hotelroomofferlist.BCpg1HbD.min.js +26 -0
- package/dist/revolugo.hotelroomoffersbookingflow.DQigue2D.min.js +26 -0
- package/dist/revolugo.hotelroomoffersearchmenu.DMn_QpH3.min.js +26 -0
- package/dist/revolugo.hotelroomoffersview.CMRoSwIM.min.js +26 -0
- package/dist/revolugo.index.BuK8oecs.min.js +106 -0
- package/dist/revolugo.index.wc.CbOH1fRM.min.js +26618 -0
- package/dist/revolugo.langpickerbtn.BlrCjfAB.min.js +31 -0
- package/dist/{revolugo.leaflet-src.esm.DBQWLG1M.min.js → revolugo.leaflet-src.esm.BnEQV3J-.min.js} +16 -16
- package/dist/revolugo.min.js +1 -1
- package/dist/revolugo.prebookform.DlbgRiyC.min.js +26 -0
- package/dist/revolugo.preferencesmenu.BIBrL0t1.min.js +24 -0
- package/dist/revolugo.preferencesmenu.YVYIz97X.min.js +935 -0
- package/dist/revolugo.roominglisteditor.BksMgppR.min.js +26 -0
- package/dist/revolugo.storybooktoolbar.DGufIx5l.min.js +831 -0
- package/dist/revolugo.termsandconditions.CFR9-ujp.min.js +31 -0
- package/dist/revolugo.vtoolbar.6DuCFMJX.min.js +187 -0
- package/dist/revolugo.webcomponentwrapper.DkjE9Lk5.min.js +30961 -0
- package/package.json +6 -6
- package/dist/css/revolugo.bdaterangepicker.OLspTh_0.css +0 -1
- package/dist/css/revolugo.bhoteloffersfilterbar.BebBKpCh.css +0 -1
- package/dist/css/revolugo.bhotelroomsdetails.c1M8WEQ1.css +0 -1
- package/dist/css/revolugo.bimagecarousel.B2SxWMbZ.css +0 -1
- package/dist/css/revolugo.bookingdetailssidebar.Cp4sLBjD.css +0 -1
- package/dist/css/revolugo.bstarrating.CPHKEfup.css +0 -1
- package/dist/css/revolugo.btag.T7X_iIkW.css +0 -1
- package/dist/css/revolugo.cancellationpoliciesbadge.BLInUr3-.css +0 -1
- package/dist/css/revolugo.creditcardform.fTmPR0fS.css +0 -1
- package/dist/css/revolugo.creditcardpayment.D2PE5FCt.css +0 -1
- package/dist/css/revolugo.fullbookingflow.Bm8JAQF7.css +0 -1
- package/dist/css/revolugo.hoteldescriptionview.B-RiiuPY.css +0 -1
- package/dist/css/revolugo.hotelofferlist.BkctzTMI.css +0 -1
- package/dist/css/revolugo.hoteloffersearchmenuui.ZbUh8ba2.css +0 -1
- package/dist/css/revolugo.hoteloffersmap.Z5DFtK0_.css +0 -1
- package/dist/css/revolugo.hoteloffersview.CLbnSww6.css +0 -1
- package/dist/css/revolugo.hotelroomofferlist.D8JlZt_N.css +0 -1
- package/dist/css/revolugo.hotelroomoffersbookingflow.LHa5iHB7.css +0 -1
- package/dist/css/revolugo.index.DK7d_h6O.css +0 -1
- package/dist/css/revolugo.index.XNPQF1ia.css +0 -5
- package/dist/css/revolugo.langpickerbtn.BGnattUJ.css +0 -1
- package/dist/css/revolugo.prebookform.DmCR7hLv.css +0 -1
- package/dist/css/revolugo.preferencesmenu.fPv_7j-1.css +0 -1
- package/dist/css/revolugo.termsandconditions.D8IMR9da.css +0 -1
- package/dist/css/revolugo.vautocomplete.CuVjyvcC.css +0 -1
- package/dist/css/revolugo.vbadge.C45eZpxy.css +0 -1
- package/dist/css/revolugo.vbtn.DpMO1Ky2.css +0 -1
- package/dist/css/revolugo.vcard.TERzfknI.css +0 -1
- package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +0 -1
- package/dist/css/revolugo.vdialog.DwTSAOeg.css +0 -1
- package/dist/css/revolugo.vdivider.CTbbZwnv.css +0 -1
- package/dist/css/revolugo.vexpansionpanels.RsCANmDP.css +0 -1
- package/dist/css/revolugo.vicon.eIkh7vVK.css +0 -1
- package/dist/css/revolugo.vinput.BPiFMorL.css +0 -1
- package/dist/css/revolugo.vlabel.BvKaKg7Y.css +0 -1
- package/dist/css/revolugo.vlist.-Y4qkukF.css +0 -1
- package/dist/css/revolugo.vmenu.DvKwEp1j.css +0 -1
- package/dist/css/revolugo.vselect.C5CKHFYB.css +0 -1
- package/dist/css/revolugo.vsheet.Dmcoj8cr.css +0 -1
- package/dist/css/revolugo.vskeletonloader.BlK8uFkX.css +0 -1
- package/dist/css/revolugo.vslidegroup.ECiLCEE9.css +0 -1
- package/dist/css/revolugo.vsnackbar.CCfuo3ao.css +0 -1
- package/dist/css/revolugo.vtextarea.Dxy6uSvm.css +0 -1
- package/dist/css/revolugo.vtextfield.BIH_AWWP.css +0 -1
- package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +0 -1
- package/dist/css/revolugo.vwindowitem.CWBhiE_Y.css +0 -1
- package/dist/revolugo._baseiteratee.Zjxh5X1S.min.js +0 -247
- package/dist/revolugo.banktransferdetails.BMe84dqg.min.js +0 -380
- package/dist/revolugo.bdaterangepicker.DzOGjDv0.min.js +0 -8327
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DMP_pksf.min.js +0 -146
- package/dist/revolugo.bhoteloffersfilterbar.Duj0L2BC.min.js +0 -4901
- package/dist/revolugo.bhotelroomsdetails.A441NOYj.min.js +0 -965
- package/dist/revolugo.bimagecarousel.CeagkLxi.min.js +0 -566
- package/dist/revolugo.bookingdetailssidebar.BR9pOQ-A.min.js +0 -870
- package/dist/revolugo.bookingdetailssidebar.C_cVgvbV.min.js +0 -24
- package/dist/revolugo.bookingmanager.Tqklnltl.min.js +0 -1755
- package/dist/revolugo.bpricesummaryskeleton.vue_vue_type_script_setup_true_lang.N9x3mRNq.min.js +0 -66
- package/dist/revolugo.bstarrating.vue_vue_type_script_setup_true_lang.vPcVvCoJ.min.js +0 -570
- package/dist/revolugo.btag.6i9RpwY_.min.js +0 -375
- package/dist/revolugo.cancellationpoliciesbadge.CJhYlUuT.min.js +0 -198
- package/dist/revolugo.cancellationpoliciesbadge.Vi2j73X9.min.js +0 -28
- package/dist/revolugo.cancellationpolicieslist.BuNsG_i4.min.js +0 -25
- package/dist/revolugo.cancellationpolicieslist.CaiWZD9_.min.js +0 -148
- package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +0 -21
- package/dist/revolugo.case-transformers.BGpZ9qjt.min.js +0 -123
- package/dist/revolugo.common.D-l8b0V5.min.js +0 -10
- package/dist/revolugo.creditcardform.wbMwrte3.min.js +0 -24
- package/dist/revolugo.creditcardpayment.BsQwUNPu.min.js +0 -885
- package/dist/revolugo.creditcardpayment.v2TP6g1r.min.js +0 -24
- package/dist/revolugo.currencypicker.CCydQxvk.min.js +0 -328
- package/dist/revolugo.currencypickerbtn.54OJeTC0.min.js +0 -157
- package/dist/revolugo.currencypickerbtn.D0OyHd5Z.min.js +0 -24
- package/dist/revolugo.dates.Dma3i1u_.min.js +0 -31
- package/dist/revolugo.defaultsdeep.BlZWlkib.min.js +0 -104
- package/dist/revolugo.dialog-transition.JX-XGblk.min.js +0 -111
- package/dist/revolugo.fastbookingflow.kwlndDrp.min.js +0 -34
- package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +0 -70
- package/dist/revolugo.fullbookingflow.Cm0oV-cR.min.js +0 -429
- package/dist/revolugo.hotel-offer-request.aMUhw0jC.min.js +0 -98
- package/dist/revolugo.hoteldescriptionview.Dng4hMzd.min.js +0 -2738
- package/dist/revolugo.hoteldescriptionview.ojwTutv4.min.js +0 -24
- package/dist/revolugo.hotelofferitemlayout.vue_vue_type_script_setup_true_lang.olnYk_cF.min.js +0 -239
- package/dist/revolugo.hotelofferlist.BWC_k60T.min.js +0 -5640
- package/dist/revolugo.hotelofferlist.DacSdhyV.min.js +0 -24
- package/dist/revolugo.hotelofferrequestcreator.props.BeQuCTZy.min.js +0 -44
- package/dist/revolugo.hoteloffersearchmenu.BRYJjrI7.min.js +0 -202
- package/dist/revolugo.hoteloffersearchmenuui.CjFznky7.min.js +0 -829
- package/dist/revolugo.hoteloffersmap.B4YsCUhB.min.js +0 -8330
- package/dist/revolugo.hoteloffersmap.BjCpSBW5.min.js +0 -24
- package/dist/revolugo.hoteloffersview.Df1RPsE2.min.js +0 -19
- package/dist/revolugo.hoteloffersview.VHsBhOKb.min.js +0 -616
- package/dist/revolugo.hotelroomofferlist.kttmW_p0.min.js +0 -24
- package/dist/revolugo.hotelroomofferlist.t-3U4Nu4.min.js +0 -2799
- package/dist/revolugo.hotelroomofferrequestcreator.props.vFsZDl1K.min.js +0 -171
- package/dist/revolugo.hotelroomoffersbookingflow.CcnFaLm4.min.js +0 -1281
- package/dist/revolugo.hotelroomoffersearchmenu.FTQxJ_n5.min.js +0 -25
- package/dist/revolugo.hotelroomoffersearchmenu.WM6bLEz9.min.js +0 -231
- package/dist/revolugo.hotelroomoffersview.4GP75oBd.min.js +0 -24
- package/dist/revolugo.hotelroomoffersview.C64pbpV0.min.js +0 -290
- package/dist/revolugo.index.CmfloZTT.min.js +0 -67
- package/dist/revolugo.index.q2k-tLa2.min.js +0 -1232
- package/dist/revolugo.index.wc.BmAtoZjo.min.js +0 -31558
- package/dist/revolugo.langpicker.BDDm2CzN.min.js +0 -99
- package/dist/revolugo.langpickerbtn.BS-VKFY1.min.js +0 -131
- package/dist/revolugo.langpickerbtn.C_Z35YuF.min.js +0 -29
- package/dist/revolugo.parsed-props.z2aR0x9r.min.js +0 -40
- package/dist/revolugo.pathify.DOgJK7nI.min.js +0 -36
- package/dist/revolugo.prebookform.DT2QXZUm.min.js +0 -1527
- package/dist/revolugo.prebookform.Dk1v8qZ9.min.js +0 -24
- package/dist/revolugo.preferencesmenu.BhDjryBC.min.js +0 -24
- package/dist/revolugo.preferencesmenu.DsDw7iXm.min.js +0 -261
- package/dist/revolugo.roominglisteditor.ChZhBnZ3.min.js +0 -385
- package/dist/revolugo.roominglisteditor.DaPP1NPv.min.js +0 -24
- package/dist/revolugo.rounded.BmZawp2x.min.js +0 -68
- package/dist/revolugo.ssrboot.CMusFTC5.min.js +0 -18
- package/dist/revolugo.storybooktoolbar.CLAq0fXx.min.js +0 -881
- package/dist/revolugo.termsandconditions.B8TrVOz1.min.js +0 -404
- package/dist/revolugo.termsandconditions.CI0t3pno.min.js +0 -23
- package/dist/revolugo.use-breakpoint-service.BmTXBw-9.min.js +0 -39
- package/dist/revolugo.use-dialog-attach.ByNAI0vu.min.js +0 -16
- package/dist/revolugo.use-html-element.BbD1LjYc.min.js +0 -11
- package/dist/revolugo.vautocomplete.D1yqzzar.min.js +0 -445
- package/dist/revolugo.vbadge.B1q1ebM4.min.js +0 -112
- package/dist/revolugo.vbtn.D-1pZWJQ.min.js +0 -398
- package/dist/revolugo.vcard.BhFz1a7-.min.js +0 -313
- package/dist/revolugo.vcheckboxbtn.BtTJE9k_.min.js +0 -478
- package/dist/revolugo.vdialog.Q1vj1S2Y.min.js +0 -133
- package/dist/revolugo.vdivider.Cw22Dcuf.min.js +0 -77
- package/dist/revolugo.vexpansionpanels.B6laIhZ5.min.js +0 -262
- package/dist/revolugo.vform.DKrc0wCb.min.js +0 -46
- package/dist/revolugo.vicon.OZg4Im8p.min.js +0 -105
- package/dist/revolugo.vinput.Bo6I7bO4.min.js +0 -463
- package/dist/revolugo.vlabel.CK1EiiGY.min.js +0 -48
- package/dist/revolugo.vlist.C2mV3Sh6.min.js +0 -1299
- package/dist/revolugo.vmenu.C2Y9H_mH.min.js +0 -145
- package/dist/revolugo.vselect.ukHPs1U9.min.js +0 -660
- package/dist/revolugo.vsheet.COT4-g6w.min.js +0 -72
- package/dist/revolugo.vskeletonloader.BUWqKsWc.min.js +0 -136
- package/dist/revolugo.vslidegroup.vYhKvZC2.min.js +0 -325
- package/dist/revolugo.vsnackbar.DGEvcXxN.min.js +0 -198
- package/dist/revolugo.vspacer.DKw4LWvz.min.js +0 -7
- package/dist/revolugo.vtextarea.JwpV0Q9q.min.js +0 -2092
- package/dist/revolugo.vtextfield.CF6W_mmu.min.js +0 -501
- package/dist/revolugo.vtoolbar.8GW_wkyp.min.js +0 -180
- package/dist/revolugo.vtooltip.D-CqFjzD.min.js +0 -89
- package/dist/revolugo.vwindowitem.DdXQiNtJ.min.js +0 -317
- package/dist/revolugo.watch-list.CqLXeMQh.min.js +0 -16
- package/dist/revolugo.webcomponentwrapper.DipHFVeJ.min.js +0 -2088
@@ -1,1232 +0,0 @@
|
|
1
|
-
import { m as F, K as Ae, L as Fe, d as Me, b as U, u as G, e as ve, n as De, o as He, p as Ue, M as H } from "./revolugo.webcomponentwrapper.DipHFVeJ.min.js";
|
2
|
-
import { a1 as V, z as Ye, al as Z, cJ as ge, a2 as w, cI as W, H as h, p as K, a as u, F as he, c0 as ee, aL as Ge, ap as ye, an as We, af as te, Y as q, O as N, ao as qe, a6 as pe, X as Xe, cK as je, bY as Ke, a7 as Je, cL as Qe, aY as Ze, aV as et, k as be, a9 as O, cM as ne, aE as _e, aK as Se, aF as oe, bz as tt, ad as L, aM as Ce, aX as se, bF as nt, cN as le, b4 as st, W as at, J as ue, aH as it, D as rt, K as ot, a3 as lt, cO as we } from "./revolugo.index.wc.BmAtoZjo.min.js";
|
3
|
-
import { b as ae, a as ie, c as ut, d as ct } from "./revolugo.rounded.BmZawp2x.min.js";
|
4
|
-
import { u as dt, m as ft, V as mt } from "./revolugo.vicon.OZg4Im8p.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 s of REVOLUGO_ELEMENTS_STYLES.components)
|
15
|
-
s(n);
|
16
|
-
if (e.indexOf("fonts") >= 0) {
|
17
|
-
const s = document.createElement("link");
|
18
|
-
s.rel = "stylesheet", linK.href = n, document.head.appendChild(s);
|
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 V()({
|
28
|
-
name: n ?? Ye(ge(e.replace(/__/g, "-"))),
|
29
|
-
props: {
|
30
|
-
tag: {
|
31
|
-
type: String,
|
32
|
-
default: t
|
33
|
-
},
|
34
|
-
...F()
|
35
|
-
},
|
36
|
-
setup(s, i) {
|
37
|
-
let {
|
38
|
-
slots: a
|
39
|
-
} = i;
|
40
|
-
return () => Z(s.tag, {
|
41
|
-
class: [e, s.class],
|
42
|
-
style: s.style
|
43
|
-
}, a.default?.());
|
44
|
-
}
|
45
|
-
});
|
46
|
-
}
|
47
|
-
const vt = [null, "default", "comfortable", "compact"], gt = w({
|
48
|
-
density: {
|
49
|
-
type: String,
|
50
|
-
default: "default",
|
51
|
-
validator: (e) => vt.includes(e)
|
52
|
-
}
|
53
|
-
}, "density");
|
54
|
-
function ht(e) {
|
55
|
-
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : W();
|
56
|
-
return {
|
57
|
-
densityClasses: h(() => `${t}--density-${e.density}`)
|
58
|
-
};
|
59
|
-
}
|
60
|
-
const yt = ["elevated", "flat", "tonal", "outlined", "text", "plain"];
|
61
|
-
function pt(e, t) {
|
62
|
-
return u(he, null, [e && u("span", {
|
63
|
-
key: "overlay",
|
64
|
-
class: `${t}__overlay`
|
65
|
-
}, null), u("span", {
|
66
|
-
key: "underlay",
|
67
|
-
class: `${t}__underlay`
|
68
|
-
}, null)]);
|
69
|
-
}
|
70
|
-
const bt = w({
|
71
|
-
color: String,
|
72
|
-
variant: {
|
73
|
-
type: String,
|
74
|
-
default: "elevated",
|
75
|
-
validator: (e) => yt.includes(e)
|
76
|
-
}
|
77
|
-
}, "variant");
|
78
|
-
function _t(e) {
|
79
|
-
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : W();
|
80
|
-
const n = h(() => {
|
81
|
-
const {
|
82
|
-
variant: a
|
83
|
-
} = K(e);
|
84
|
-
return `${t}--variant-${a}`;
|
85
|
-
}), {
|
86
|
-
colorClasses: s,
|
87
|
-
colorStyles: i
|
88
|
-
} = Ae(h(() => {
|
89
|
-
const {
|
90
|
-
variant: a,
|
91
|
-
color: r
|
92
|
-
} = K(e);
|
93
|
-
return {
|
94
|
-
[["elevated", "flat"].includes(a) ? "background" : "text"]: r
|
95
|
-
};
|
96
|
-
}));
|
97
|
-
return {
|
98
|
-
colorClasses: s,
|
99
|
-
colorStyles: i,
|
100
|
-
variantClasses: n
|
101
|
-
};
|
102
|
-
}
|
103
|
-
const Xt = w({
|
104
|
-
modelValue: {
|
105
|
-
type: null,
|
106
|
-
default: void 0
|
107
|
-
},
|
108
|
-
multiple: Boolean,
|
109
|
-
mandatory: [Boolean, String],
|
110
|
-
max: Number,
|
111
|
-
selectedClass: String,
|
112
|
-
disabled: Boolean
|
113
|
-
}, "group"), jt = w({
|
114
|
-
value: null,
|
115
|
-
disabled: Boolean,
|
116
|
-
selectedClass: String
|
117
|
-
}, "group-item");
|
118
|
-
function Kt(e, t) {
|
119
|
-
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !0;
|
120
|
-
const s = ee("useGroupItem");
|
121
|
-
if (!s)
|
122
|
-
throw new Error("[Vuetify] useGroupItem composable must be used inside a component setup function");
|
123
|
-
const i = Ge();
|
124
|
-
ye(Symbol.for(`${t.description}:id`), i);
|
125
|
-
const a = We(t, null);
|
126
|
-
if (!a) {
|
127
|
-
if (!n) return a;
|
128
|
-
throw new Error(`[Vuetify] Could not find useGroup injection with symbol ${t.description}`);
|
129
|
-
}
|
130
|
-
const r = te(e, "value"), o = h(() => !!(a.disabled.value || e.disabled));
|
131
|
-
a.register({
|
132
|
-
id: i,
|
133
|
-
value: r,
|
134
|
-
disabled: o
|
135
|
-
}, s), q(() => {
|
136
|
-
a.unregister(i);
|
137
|
-
});
|
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", {
|
141
|
-
value: l
|
142
|
-
});
|
143
|
-
}, {
|
144
|
-
flush: "sync"
|
145
|
-
}), {
|
146
|
-
id: i,
|
147
|
-
isSelected: c,
|
148
|
-
isFirst: d,
|
149
|
-
isLast: f,
|
150
|
-
toggle: () => a.select(i, !c.value),
|
151
|
-
select: (l) => a.select(i, l),
|
152
|
-
selectedClass: g,
|
153
|
-
value: r,
|
154
|
-
disabled: o,
|
155
|
-
group: a
|
156
|
-
};
|
157
|
-
}
|
158
|
-
function Jt(e, t) {
|
159
|
-
let n = !1;
|
160
|
-
const s = qe([]), i = pe(e, "modelValue", [], (l) => l == null ? [] : Ee(s, Je(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
|
-
K(y.value) == null && (y.value = b, y.useIndexAsValue = !0), b > -1 ? s.splice(b, 0, y) : s.push(y);
|
167
|
-
}
|
168
|
-
function o(l) {
|
169
|
-
if (n) return;
|
170
|
-
c();
|
171
|
-
const m = s.findIndex((y) => y.id === l);
|
172
|
-
s.splice(m, 1);
|
173
|
-
}
|
174
|
-
function c() {
|
175
|
-
const l = s.find((m) => !m.disabled);
|
176
|
-
l && e.mandatory === "force" && !i.value.length && (i.value = [l.id]);
|
177
|
-
}
|
178
|
-
Xe(() => {
|
179
|
-
c();
|
180
|
-
}), q(() => {
|
181
|
-
n = !0;
|
182
|
-
}), je(() => {
|
183
|
-
for (let l = 0; l < s.length; l++)
|
184
|
-
s[l].useIndexAsValue && (s[l].value = l);
|
185
|
-
});
|
186
|
-
function d(l, m) {
|
187
|
-
const y = s.find((v) => v.id === l);
|
188
|
-
if (!(m && y?.disabled))
|
189
|
-
if (e.multiple) {
|
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;
|
193
|
-
} else {
|
194
|
-
const v = i.value.includes(l);
|
195
|
-
if (e.mandatory && v) return;
|
196
|
-
i.value = m ?? !v ? [l] : [];
|
197
|
-
}
|
198
|
-
}
|
199
|
-
function f(l) {
|
200
|
-
if (e.multiple, i.value.length) {
|
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];
|
207
|
-
} else {
|
208
|
-
const m = s.find((y) => !y.disabled);
|
209
|
-
m && (i.value = [m.id]);
|
210
|
-
}
|
211
|
-
}
|
212
|
-
const g = {
|
213
|
-
register: r,
|
214
|
-
unregister: o,
|
215
|
-
selected: i,
|
216
|
-
select: d,
|
217
|
-
disabled: te(e, "disabled"),
|
218
|
-
prev: () => f(s.length - 1),
|
219
|
-
next: () => f(1),
|
220
|
-
isSelected: (l) => i.value.includes(l),
|
221
|
-
selectedClass: h(() => e.selectedClass),
|
222
|
-
items: h(() => s),
|
223
|
-
getItemIndex: (l) => St(s, l)
|
224
|
-
};
|
225
|
-
return ye(t, g), g;
|
226
|
-
}
|
227
|
-
function St(e, t) {
|
228
|
-
const n = Ee(e, [t]);
|
229
|
-
return n.length ? e.findIndex((s) => s.id === n[0]) : -1;
|
230
|
-
}
|
231
|
-
function Ee(e, t) {
|
232
|
-
const n = [];
|
233
|
-
return t.forEach((s) => {
|
234
|
-
const i = e.find((r) => Ke(s, r.value)), a = e[s];
|
235
|
-
i?.value != null ? n.push(i.id) : a != null && n.push(a.id);
|
236
|
-
}), n;
|
237
|
-
}
|
238
|
-
function Ct(e, t) {
|
239
|
-
const n = [];
|
240
|
-
return t.forEach((s) => {
|
241
|
-
const i = e.findIndex((a) => a.id === s);
|
242
|
-
if (~i) {
|
243
|
-
const a = e[i];
|
244
|
-
n.push(a.value != null ? a.value : i);
|
245
|
-
}
|
246
|
-
}), n;
|
247
|
-
}
|
248
|
-
const wt = w({
|
249
|
-
defaults: Object,
|
250
|
-
disabled: Boolean,
|
251
|
-
reset: [Number, String],
|
252
|
-
root: [Boolean, String],
|
253
|
-
scoped: Boolean
|
254
|
-
}, "VDefaultsProvider"), Et = V(!1)({
|
255
|
-
name: "VDefaultsProvider",
|
256
|
-
props: wt(),
|
257
|
-
setup(e, t) {
|
258
|
-
let {
|
259
|
-
slots: n
|
260
|
-
} = t;
|
261
|
-
const {
|
262
|
-
defaults: s,
|
263
|
-
disabled: i,
|
264
|
-
reset: a,
|
265
|
-
root: r,
|
266
|
-
scoped: o
|
267
|
-
} = Ze(e);
|
268
|
-
return et(s, {
|
269
|
-
reset: a,
|
270
|
-
root: r,
|
271
|
-
scoped: o,
|
272
|
-
disabled: i
|
273
|
-
}), () => n.default?.();
|
274
|
-
}
|
275
|
-
});
|
276
|
-
function xt(e, t) {
|
277
|
-
const n = be(), s = O(!1);
|
278
|
-
if (ne) {
|
279
|
-
const i = new IntersectionObserver((a) => {
|
280
|
-
s.value = !!a.find((r) => r.isIntersecting);
|
281
|
-
}, t);
|
282
|
-
q(() => {
|
283
|
-
i.disconnect();
|
284
|
-
}), N(n, (a, r) => {
|
285
|
-
r && (i.unobserve(r), s.value = !1), a && i.observe(a);
|
286
|
-
}, {
|
287
|
-
flush: "post"
|
288
|
-
});
|
289
|
-
}
|
290
|
-
return {
|
291
|
-
intersectionRef: n,
|
292
|
-
isIntersecting: s
|
293
|
-
};
|
294
|
-
}
|
295
|
-
const ce = {
|
296
|
-
center: "center",
|
297
|
-
top: "bottom",
|
298
|
-
bottom: "top",
|
299
|
-
left: "right",
|
300
|
-
right: "left"
|
301
|
-
}, Lt = w({
|
302
|
-
location: String
|
303
|
-
}, "location");
|
304
|
-
function Tt(e) {
|
305
|
-
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, n = arguments.length > 2 ? arguments[2] : void 0;
|
306
|
-
const {
|
307
|
-
isRtl: s
|
308
|
-
} = _e();
|
309
|
-
return {
|
310
|
-
locationStyles: h(() => {
|
311
|
-
if (!e.location) return {};
|
312
|
-
const {
|
313
|
-
side: a,
|
314
|
-
align: r
|
315
|
-
} = Fe(e.location.split(" ").length > 1 ? e.location : `${e.location} center`, s.value);
|
316
|
-
function o(d) {
|
317
|
-
return n ? n(d) : 0;
|
318
|
-
}
|
319
|
-
const c = {};
|
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[{
|
321
|
-
top: "left",
|
322
|
-
bottom: "left",
|
323
|
-
left: "top",
|
324
|
-
right: "top"
|
325
|
-
}[a]] = "50%", c.transform = {
|
326
|
-
top: "translateX(-50%)",
|
327
|
-
bottom: "translateX(-50%)",
|
328
|
-
left: "translateY(-50%)",
|
329
|
-
right: "translateY(-50%)",
|
330
|
-
center: "translate(-50%, -50%)"
|
331
|
-
}[a]), c;
|
332
|
-
})
|
333
|
-
};
|
334
|
-
}
|
335
|
-
const kt = w({
|
336
|
-
absolute: Boolean,
|
337
|
-
active: {
|
338
|
-
type: Boolean,
|
339
|
-
default: !0
|
340
|
-
},
|
341
|
-
bgColor: String,
|
342
|
-
bgOpacity: [Number, String],
|
343
|
-
bufferValue: {
|
344
|
-
type: [Number, String],
|
345
|
-
default: 0
|
346
|
-
},
|
347
|
-
bufferColor: String,
|
348
|
-
bufferOpacity: [Number, String],
|
349
|
-
clickable: Boolean,
|
350
|
-
color: String,
|
351
|
-
height: {
|
352
|
-
type: [Number, String],
|
353
|
-
default: 4
|
354
|
-
},
|
355
|
-
indeterminate: Boolean,
|
356
|
-
max: {
|
357
|
-
type: [Number, String],
|
358
|
-
default: 100
|
359
|
-
},
|
360
|
-
modelValue: {
|
361
|
-
type: [Number, String],
|
362
|
-
default: 0
|
363
|
-
},
|
364
|
-
opacity: [Number, String],
|
365
|
-
reverse: Boolean,
|
366
|
-
stream: Boolean,
|
367
|
-
striped: Boolean,
|
368
|
-
roundedBar: Boolean,
|
369
|
-
...F(),
|
370
|
-
...Lt({
|
371
|
-
location: "top"
|
372
|
-
}),
|
373
|
-
...ie(),
|
374
|
-
...ve(),
|
375
|
-
...Ce()
|
376
|
-
}, "VProgressLinear"), Vt = V()({
|
377
|
-
name: "VProgressLinear",
|
378
|
-
props: kt(),
|
379
|
-
emits: {
|
380
|
-
"update:modelValue": (e) => !0
|
381
|
-
},
|
382
|
-
setup(e, t) {
|
383
|
-
let {
|
384
|
-
slots: n
|
385
|
-
} = t;
|
386
|
-
const s = pe(e, "modelValue"), {
|
387
|
-
isRtl: i,
|
388
|
-
rtlClasses: a
|
389
|
-
} = _e(), {
|
390
|
-
themeClasses: r
|
391
|
-
} = Se(e), {
|
392
|
-
locationStyles: o
|
393
|
-
} = Tt(e), {
|
394
|
-
textColorClasses: c,
|
395
|
-
textColorStyles: d
|
396
|
-
} = Me(e, "color"), {
|
397
|
-
backgroundColorClasses: f,
|
398
|
-
backgroundColorStyles: g
|
399
|
-
} = U(h(() => e.bgColor || e.color)), {
|
400
|
-
backgroundColorClasses: l,
|
401
|
-
backgroundColorStyles: m
|
402
|
-
} = U(h(() => e.bufferColor || e.bgColor || e.color)), {
|
403
|
-
backgroundColorClasses: y,
|
404
|
-
backgroundColorStyles: v
|
405
|
-
} = U(e, "color"), {
|
406
|
-
roundedClasses: _
|
407
|
-
} = ae(e), {
|
408
|
-
intersectionRef: b,
|
409
|
-
isIntersecting: I
|
410
|
-
} = xt(), T = h(() => parseFloat(e.max)), x = 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), X = h(() => e.indeterminate ? "fade-transition" : "slide-x-transition"), $ = tt && window.matchMedia?.("(forced-colors: active)").matches;
|
411
|
-
function j(k) {
|
412
|
-
if (!b.value) return;
|
413
|
-
const {
|
414
|
-
left: p,
|
415
|
-
right: S,
|
416
|
-
width: R
|
417
|
-
} = b.value.getBoundingClientRect(), D = B.value ? R - k.clientX + (S - R) : k.clientX - p;
|
418
|
-
s.value = Math.round(D / R * T.value);
|
419
|
-
}
|
420
|
-
return G(() => u(e.tag, {
|
421
|
-
ref: b,
|
422
|
-
class: ["v-progress-linear", {
|
423
|
-
"v-progress-linear--absolute": e.absolute,
|
424
|
-
"v-progress-linear--active": e.active && I.value,
|
425
|
-
"v-progress-linear--reverse": B.value,
|
426
|
-
"v-progress-linear--rounded": e.rounded,
|
427
|
-
"v-progress-linear--rounded-bar": e.roundedBar,
|
428
|
-
"v-progress-linear--striped": e.striped
|
429
|
-
}, _.value, r.value, a.value, e.class],
|
430
|
-
style: [{
|
431
|
-
bottom: e.location === "bottom" ? 0 : void 0,
|
432
|
-
top: e.location === "top" ? 0 : void 0,
|
433
|
-
height: e.active ? L(x.value) : 0,
|
434
|
-
"--v-progress-linear-height": L(x.value),
|
435
|
-
...e.absolute ? o.value : {}
|
436
|
-
}, e.style],
|
437
|
-
role: "progressbar",
|
438
|
-
"aria-hidden": e.active ? "false" : "true",
|
439
|
-
"aria-valuemin": "0",
|
440
|
-
"aria-valuemax": e.max,
|
441
|
-
"aria-valuenow": e.indeterminate ? void 0 : Math.min(parseFloat(s.value), T.value),
|
442
|
-
onClick: e.clickable && j
|
443
|
-
}, {
|
444
|
-
default: () => [e.stream && u("div", {
|
445
|
-
key: "stream",
|
446
|
-
class: ["v-progress-linear__stream", c.value],
|
447
|
-
style: {
|
448
|
-
...d.value,
|
449
|
-
[B.value ? "left" : "right"]: L(-x.value),
|
450
|
-
borderTop: `${L(x.value / 2)} dotted`,
|
451
|
-
opacity: parseFloat(e.bufferOpacity),
|
452
|
-
top: `calc(50% - ${L(x.value / 4)})`,
|
453
|
-
width: L(100 - P.value, "%"),
|
454
|
-
"--v-progress-linear-stream-to": L(x.value * (B.value ? 1 : -1))
|
455
|
-
}
|
456
|
-
}, null), u("div", {
|
457
|
-
class: ["v-progress-linear__background", $ ? void 0 : f.value],
|
458
|
-
style: [g.value, {
|
459
|
-
opacity: parseFloat(e.bgOpacity),
|
460
|
-
width: e.stream ? 0 : void 0
|
461
|
-
}]
|
462
|
-
}, null), u("div", {
|
463
|
-
class: ["v-progress-linear__buffer", $ ? void 0 : l.value],
|
464
|
-
style: [m.value, {
|
465
|
-
opacity: parseFloat(e.bufferOpacity),
|
466
|
-
width: L(P.value, "%")
|
467
|
-
}]
|
468
|
-
}, null), u(se, {
|
469
|
-
name: X.value
|
470
|
-
}, {
|
471
|
-
default: () => [e.indeterminate ? u("div", {
|
472
|
-
class: "v-progress-linear__indeterminate"
|
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", {
|
478
|
-
class: ["v-progress-linear__determinate", $ ? void 0 : y.value],
|
479
|
-
style: [v.value, {
|
480
|
-
width: L(M.value, "%")
|
481
|
-
}]
|
482
|
-
}, null)]
|
483
|
-
}), n.default && u("div", {
|
484
|
-
class: "v-progress-linear__content"
|
485
|
-
}, [n.default({
|
486
|
-
value: M.value,
|
487
|
-
buffer: P.value
|
488
|
-
})])]
|
489
|
-
})), {};
|
490
|
-
}
|
491
|
-
}), Qt = w({
|
492
|
-
loading: [Boolean, String]
|
493
|
-
}, "loader");
|
494
|
-
function Zt(e) {
|
495
|
-
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : W();
|
496
|
-
return {
|
497
|
-
loaderClasses: h(() => ({
|
498
|
-
[`${t}--loading`]: e.loading
|
499
|
-
}))
|
500
|
-
};
|
501
|
-
}
|
502
|
-
function en(e, t) {
|
503
|
-
let {
|
504
|
-
slots: n
|
505
|
-
} = t;
|
506
|
-
return u("div", {
|
507
|
-
class: `${e.name}__loader`
|
508
|
-
}, [n.default?.({
|
509
|
-
color: e.color,
|
510
|
-
isActive: e.active
|
511
|
-
}) || u(Vt, {
|
512
|
-
absolute: e.absolute,
|
513
|
-
active: e.active,
|
514
|
-
color: e.color,
|
515
|
-
height: "2",
|
516
|
-
indeterminate: !0
|
517
|
-
}, null)]);
|
518
|
-
}
|
519
|
-
const It = ["static", "relative", "fixed", "absolute", "sticky"], tn = w({
|
520
|
-
position: {
|
521
|
-
type: String,
|
522
|
-
validator: (
|
523
|
-
/* istanbul ignore next */
|
524
|
-
(e) => It.includes(e)
|
525
|
-
)
|
526
|
-
}
|
527
|
-
}, "position");
|
528
|
-
function nn(e) {
|
529
|
-
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : W();
|
530
|
-
return {
|
531
|
-
positionClasses: h(() => e.position ? `${t}--${e.position}` : void 0)
|
532
|
-
};
|
533
|
-
}
|
534
|
-
const J = Symbol("rippleStop"), Pt = 80;
|
535
|
-
function de(e, t) {
|
536
|
-
e.style.transform = t, e.style.webkitTransform = t;
|
537
|
-
}
|
538
|
-
function Q(e) {
|
539
|
-
return e.constructor.name === "TouchEvent";
|
540
|
-
}
|
541
|
-
function xe(e) {
|
542
|
-
return e.constructor.name === "KeyboardEvent";
|
543
|
-
}
|
544
|
-
const Bt = function(e, t) {
|
545
|
-
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, s = 0, i = 0;
|
546
|
-
if (!xe(e)) {
|
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;
|
549
|
-
}
|
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`;
|
553
|
-
return {
|
554
|
-
radius: a,
|
555
|
-
scale: r,
|
556
|
-
x: d,
|
557
|
-
y: f,
|
558
|
-
centerX: o,
|
559
|
-
centerY: c
|
560
|
-
};
|
561
|
-
}, Y = {
|
562
|
-
/* eslint-disable max-statements */
|
563
|
-
show(e, t) {
|
564
|
-
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
565
|
-
if (!t?._ripple?.enabled)
|
566
|
-
return;
|
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}`);
|
569
|
-
const {
|
570
|
-
radius: a,
|
571
|
-
scale: r,
|
572
|
-
x: o,
|
573
|
-
y: c,
|
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);
|
578
|
-
const l = window.getComputedStyle(t);
|
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(() => {
|
580
|
-
requestAnimationFrame(() => {
|
581
|
-
i.classList.remove("v-ripple__animation--enter"), i.classList.add("v-ripple__animation--in"), de(i, `translate(${d}, ${f}) scale3d(1,1,1)`);
|
582
|
-
});
|
583
|
-
});
|
584
|
-
},
|
585
|
-
hide(e) {
|
586
|
-
if (!e?._ripple?.enabled) return;
|
587
|
-
const t = e.getElementsByClassName("v-ripple__animation");
|
588
|
-
if (t.length === 0) return;
|
589
|
-
const n = t[t.length - 1];
|
590
|
-
if (n.dataset.isHiding) return;
|
591
|
-
n.dataset.isHiding = "true";
|
592
|
-
const s = performance.now() - Number(n.dataset.activated), i = Math.max(250 - s, 0);
|
593
|
-
setTimeout(() => {
|
594
|
-
n.classList.remove("v-ripple__animation--in"), n.classList.add("v-ripple__animation--out"), setTimeout(() => {
|
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);
|
596
|
-
}, 300);
|
597
|
-
}, i);
|
598
|
-
}
|
599
|
-
};
|
600
|
-
function Le(e) {
|
601
|
-
return typeof e > "u" || !!e;
|
602
|
-
}
|
603
|
-
function z(e) {
|
604
|
-
const t = {}, n = e.currentTarget;
|
605
|
-
if (!(!n?._ripple || n._ripple.touched || e[J])) {
|
606
|
-
if (e[J] = !0, Q(e))
|
607
|
-
n._ripple.touched = !0, n._ripple.isTouch = !0;
|
608
|
-
else if (n._ripple.isTouch) return;
|
609
|
-
if (t.center = n._ripple.centered || xe(e), n._ripple.class && (t.class = n._ripple.class), Q(e)) {
|
610
|
-
if (n._ripple.showTimerCommit) return;
|
611
|
-
n._ripple.showTimerCommit = () => {
|
612
|
-
Y.show(e, n, t);
|
613
|
-
}, n._ripple.showTimer = window.setTimeout(() => {
|
614
|
-
n?._ripple?.showTimerCommit && (n._ripple.showTimerCommit(), n._ripple.showTimerCommit = null);
|
615
|
-
}, Pt);
|
616
|
-
} else
|
617
|
-
Y.show(e, n, t);
|
618
|
-
}
|
619
|
-
}
|
620
|
-
function fe(e) {
|
621
|
-
e[J] = !0;
|
622
|
-
}
|
623
|
-
function C(e) {
|
624
|
-
const t = e.currentTarget;
|
625
|
-
if (t?._ripple) {
|
626
|
-
if (window.clearTimeout(t._ripple.showTimer), e.type === "touchend" && t._ripple.showTimerCommit) {
|
627
|
-
t._ripple.showTimerCommit(), t._ripple.showTimerCommit = null, t._ripple.showTimer = window.setTimeout(() => {
|
628
|
-
C(e);
|
629
|
-
});
|
630
|
-
return;
|
631
|
-
}
|
632
|
-
window.setTimeout(() => {
|
633
|
-
t._ripple && (t._ripple.touched = !1);
|
634
|
-
}), Y.hide(t);
|
635
|
-
}
|
636
|
-
}
|
637
|
-
function Te(e) {
|
638
|
-
const t = e.currentTarget;
|
639
|
-
t?._ripple && (t._ripple.showTimerCommit && (t._ripple.showTimerCommit = null), window.clearTimeout(t._ripple.showTimer));
|
640
|
-
}
|
641
|
-
let A = !1;
|
642
|
-
function ke(e) {
|
643
|
-
!A && (e.keyCode === le.enter || e.keyCode === le.space) && (A = !0, z(e));
|
644
|
-
}
|
645
|
-
function Ve(e) {
|
646
|
-
A = !1, C(e);
|
647
|
-
}
|
648
|
-
function Ie(e) {
|
649
|
-
A && (A = !1, C(e));
|
650
|
-
}
|
651
|
-
function Pe(e, t, n) {
|
652
|
-
const {
|
653
|
-
value: s,
|
654
|
-
modifiers: i
|
655
|
-
} = t, a = Le(s);
|
656
|
-
if (a || Y.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) {
|
657
|
-
if (i.stop) {
|
658
|
-
e.addEventListener("touchstart", fe, {
|
659
|
-
passive: !0
|
660
|
-
}), e.addEventListener("mousedown", fe);
|
661
|
-
return;
|
662
|
-
}
|
663
|
-
e.addEventListener("touchstart", z, {
|
664
|
-
passive: !0
|
665
|
-
}), e.addEventListener("touchend", C, {
|
666
|
-
passive: !0
|
667
|
-
}), e.addEventListener("touchmove", Te, {
|
668
|
-
passive: !0
|
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, {
|
670
|
-
passive: !0
|
671
|
-
});
|
672
|
-
} else !a && n && Be(e);
|
673
|
-
}
|
674
|
-
function Be(e) {
|
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);
|
676
|
-
}
|
677
|
-
function $t(e, t) {
|
678
|
-
Pe(e, t, !1);
|
679
|
-
}
|
680
|
-
function Rt(e) {
|
681
|
-
delete e._ripple, Be(e);
|
682
|
-
}
|
683
|
-
function Ot(e, t) {
|
684
|
-
if (t.value === t.oldValue)
|
685
|
-
return;
|
686
|
-
const n = Le(t.oldValue);
|
687
|
-
Pe(e, t, n);
|
688
|
-
}
|
689
|
-
const sn = {
|
690
|
-
mounted: $t,
|
691
|
-
unmounted: Rt,
|
692
|
-
updated: Ot
|
693
|
-
};
|
694
|
-
function Nt(e) {
|
695
|
-
return {
|
696
|
-
aspectStyles: h(() => {
|
697
|
-
const t = Number(e.aspectRatio);
|
698
|
-
return t ? {
|
699
|
-
paddingBottom: String(1 / t * 100) + "%"
|
700
|
-
} : void 0;
|
701
|
-
})
|
702
|
-
};
|
703
|
-
}
|
704
|
-
const $e = w({
|
705
|
-
aspectRatio: [String, Number],
|
706
|
-
contentClass: null,
|
707
|
-
inline: Boolean,
|
708
|
-
...F(),
|
709
|
-
...He()
|
710
|
-
}, "VResponsive"), me = V()({
|
711
|
-
name: "VResponsive",
|
712
|
-
props: $e(),
|
713
|
-
setup(e, t) {
|
714
|
-
let {
|
715
|
-
slots: n
|
716
|
-
} = t;
|
717
|
-
const {
|
718
|
-
aspectStyles: s
|
719
|
-
} = Nt(e), {
|
720
|
-
dimensionStyles: i
|
721
|
-
} = De(e);
|
722
|
-
return G(() => 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()])])), {};
|
733
|
-
}
|
734
|
-
});
|
735
|
-
function zt(e, t) {
|
736
|
-
if (!ne) return;
|
737
|
-
const n = t.modifiers || {}, s = t.value, {
|
738
|
-
handler: i,
|
739
|
-
options: a
|
740
|
-
} = typeof s == "object" ? s : {
|
741
|
-
handler: s,
|
742
|
-
options: {}
|
743
|
-
}, r = new IntersectionObserver(function() {
|
744
|
-
let o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], c = arguments.length > 1 ? arguments[1] : void 0;
|
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);
|
750
|
-
e._observe = Object(e._observe), e._observe[t.instance.$.uid] = {
|
751
|
-
init: !1,
|
752
|
-
observer: r
|
753
|
-
}, r.observe(e);
|
754
|
-
}
|
755
|
-
function Re(e, t) {
|
756
|
-
const n = e._observe?.[t.instance.$.uid];
|
757
|
-
n && (n.observer.unobserve(e), delete e._observe[t.instance.$.uid]);
|
758
|
-
}
|
759
|
-
const At = {
|
760
|
-
mounted: zt,
|
761
|
-
unmounted: Re
|
762
|
-
}, Ft = w({
|
763
|
-
absolute: Boolean,
|
764
|
-
alt: String,
|
765
|
-
cover: Boolean,
|
766
|
-
color: String,
|
767
|
-
draggable: {
|
768
|
-
type: [Boolean, String],
|
769
|
-
default: void 0
|
770
|
-
},
|
771
|
-
eager: Boolean,
|
772
|
-
gradient: String,
|
773
|
-
lazySrc: String,
|
774
|
-
options: {
|
775
|
-
type: Object,
|
776
|
-
// For more information on types, navigate to:
|
777
|
-
// https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API
|
778
|
-
default: () => ({
|
779
|
-
root: void 0,
|
780
|
-
rootMargin: void 0,
|
781
|
-
threshold: void 0
|
782
|
-
})
|
783
|
-
},
|
784
|
-
sizes: String,
|
785
|
-
src: {
|
786
|
-
type: [String, Object],
|
787
|
-
default: ""
|
788
|
-
},
|
789
|
-
crossorigin: String,
|
790
|
-
referrerpolicy: String,
|
791
|
-
srcset: String,
|
792
|
-
position: String,
|
793
|
-
...$e(),
|
794
|
-
...F(),
|
795
|
-
...ie(),
|
796
|
-
...Ue()
|
797
|
-
}, "VImg"), Mt = V()({
|
798
|
-
name: "VImg",
|
799
|
-
directives: {
|
800
|
-
intersect: At
|
801
|
-
},
|
802
|
-
props: Ft(),
|
803
|
-
emits: {
|
804
|
-
loadstart: (e) => !0,
|
805
|
-
load: (e) => !0,
|
806
|
-
error: (e) => !0
|
807
|
-
},
|
808
|
-
setup(e, t) {
|
809
|
-
let {
|
810
|
-
emit: n,
|
811
|
-
slots: s
|
812
|
-
} = t;
|
813
|
-
const {
|
814
|
-
backgroundColorClasses: i,
|
815
|
-
backgroundColorStyles: a
|
816
|
-
} = U(te(e, "color")), {
|
817
|
-
roundedClasses: r
|
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" ? {
|
819
|
-
src: e.src.src,
|
820
|
-
srcset: e.srcset || e.src.srcset,
|
821
|
-
lazySrc: e.lazySrc || e.src.lazySrc,
|
822
|
-
aspect: Number(e.aspectRatio || e.src.aspect || 0)
|
823
|
-
} : {
|
824
|
-
src: e.src,
|
825
|
-
srcset: e.srcset,
|
826
|
-
lazySrc: e.lazySrc,
|
827
|
-
aspect: Number(e.aspectRatio || 0)
|
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 && x(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, x(S, null);
|
839
|
-
}
|
840
|
-
m.value.src && at(() => {
|
841
|
-
n("loadstart", d.value?.currentSrc || m.value.src), setTimeout(() => {
|
842
|
-
if (!o.isUnmounted)
|
843
|
-
if (d.value?.complete) {
|
844
|
-
if (d.value.naturalWidth || b(), f.value === "error") return;
|
845
|
-
y.value || x(d.value, null), f.value === "loading" && _();
|
846
|
-
} else
|
847
|
-
y.value || x(d.value), I();
|
848
|
-
});
|
849
|
-
});
|
850
|
-
}
|
851
|
-
}
|
852
|
-
function _() {
|
853
|
-
o.isUnmounted || (I(), x(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));
|
857
|
-
}
|
858
|
-
function I() {
|
859
|
-
const p = d.value;
|
860
|
-
p && (c.value = p.currentSrc || p.src);
|
861
|
-
}
|
862
|
-
let T = -1;
|
863
|
-
q(() => {
|
864
|
-
clearTimeout(T);
|
865
|
-
});
|
866
|
-
function x(p) {
|
867
|
-
let S = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 100;
|
868
|
-
const R = () => {
|
869
|
-
if (clearTimeout(T), o.isUnmounted) return;
|
870
|
-
const {
|
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);
|
875
|
-
};
|
876
|
-
R();
|
877
|
-
}
|
878
|
-
const P = h(() => ({
|
879
|
-
"v-img__img--cover": e.cover,
|
880
|
-
"v-img__img--contain": !e.cover
|
881
|
-
})), M = () => {
|
882
|
-
if (!m.value.src || f.value === "idle") return null;
|
883
|
-
const p = u("img", {
|
884
|
-
class: ["v-img__img", P.value],
|
885
|
-
style: {
|
886
|
-
objectPosition: e.position
|
887
|
-
},
|
888
|
-
crossorigin: e.crossorigin,
|
889
|
-
src: m.value.src,
|
890
|
-
srcset: m.value.srcset,
|
891
|
-
alt: e.alt,
|
892
|
-
referrerpolicy: e.referrerpolicy,
|
893
|
-
draggable: e.draggable,
|
894
|
-
sizes: e.sizes,
|
895
|
-
ref: d,
|
896
|
-
onLoad: _,
|
897
|
-
onError: b
|
898
|
-
}, null), S = s.sources?.();
|
899
|
-
return u(H, {
|
900
|
-
transition: e.transition,
|
901
|
-
appear: !0
|
902
|
-
}, {
|
903
|
-
default: () => [ue(S ? u("picture", {
|
904
|
-
class: "v-img__picture"
|
905
|
-
}, [S, p]) : p, [[ot, f.value === "loaded"]])]
|
906
|
-
});
|
907
|
-
}, B = () => u(H, {
|
908
|
-
transition: e.transition
|
909
|
-
}, {
|
910
|
-
default: () => [m.value.lazySrc && f.value !== "loaded" && u("img", {
|
911
|
-
class: ["v-img__img", "v-img__img--preload", P.value],
|
912
|
-
style: {
|
913
|
-
objectPosition: e.position
|
914
|
-
},
|
915
|
-
crossorigin: e.crossorigin,
|
916
|
-
src: m.value.lazySrc,
|
917
|
-
alt: e.alt,
|
918
|
-
referrerpolicy: e.referrerpolicy,
|
919
|
-
draggable: e.draggable
|
920
|
-
}, null)]
|
921
|
-
}), X = () => s.placeholder ? u(H, {
|
922
|
-
transition: e.transition,
|
923
|
-
appear: !0
|
924
|
-
}, {
|
925
|
-
default: () => [(f.value === "loading" || f.value === "error" && !s.error) && u("div", {
|
926
|
-
class: "v-img__placeholder"
|
927
|
-
}, [s.placeholder()])]
|
928
|
-
}) : null, $ = () => s.error ? u(H, {
|
929
|
-
transition: e.transition,
|
930
|
-
appear: !0
|
931
|
-
}, {
|
932
|
-
default: () => [f.value === "error" && u("div", {
|
933
|
-
class: "v-img__error"
|
934
|
-
}, [s.error()])]
|
935
|
-
}) : null, j = () => e.gradient ? u("div", {
|
936
|
-
class: "v-img__gradient",
|
937
|
-
style: {
|
938
|
-
backgroundImage: `linear-gradient(${e.gradient})`
|
939
|
-
}
|
940
|
-
}, null) : null, k = O(!1);
|
941
|
-
{
|
942
|
-
const p = N(y, (S) => {
|
943
|
-
S && (requestAnimationFrame(() => {
|
944
|
-
requestAnimationFrame(() => {
|
945
|
-
k.value = !0;
|
946
|
-
});
|
947
|
-
}), p());
|
948
|
-
});
|
949
|
-
}
|
950
|
-
return G(() => {
|
951
|
-
const p = me.filterProps(e);
|
952
|
-
return ue(u(me, rt({
|
953
|
-
class: ["v-img", {
|
954
|
-
"v-img--absolute": e.absolute,
|
955
|
-
"v-img--booting": !k.value
|
956
|
-
}, i.value, r.value, e.class],
|
957
|
-
style: [{
|
958
|
-
width: L(e.width === "auto" ? g.value : e.width)
|
959
|
-
}, a.value, e.style]
|
960
|
-
}, p, {
|
961
|
-
aspectRatio: y.value,
|
962
|
-
"aria-label": e.alt,
|
963
|
-
role: e.alt ? "img" : void 0
|
964
|
-
}), {
|
965
|
-
additional: () => u(he, null, [u(M, null, null), u(B, null, null), u(j, null, null), u(X, null, null), u($, null, null)]),
|
966
|
-
default: s.default
|
967
|
-
}), [[it("intersect"), {
|
968
|
-
handler: v,
|
969
|
-
options: e.options
|
970
|
-
}, null, {
|
971
|
-
once: !0
|
972
|
-
}]]);
|
973
|
-
}), {
|
974
|
-
currentSrc: c,
|
975
|
-
image: d,
|
976
|
-
state: f,
|
977
|
-
naturalWidth: g,
|
978
|
-
naturalHeight: l
|
979
|
-
};
|
980
|
-
}
|
981
|
-
}), Dt = w({
|
982
|
-
start: Boolean,
|
983
|
-
end: Boolean,
|
984
|
-
icon: lt,
|
985
|
-
image: String,
|
986
|
-
text: String,
|
987
|
-
...ct(),
|
988
|
-
...F(),
|
989
|
-
...gt(),
|
990
|
-
...ie(),
|
991
|
-
...ft(),
|
992
|
-
...ve(),
|
993
|
-
...Ce(),
|
994
|
-
...bt({
|
995
|
-
variant: "flat"
|
996
|
-
})
|
997
|
-
}, "VAvatar"), an = V()({
|
998
|
-
name: "VAvatar",
|
999
|
-
props: Dt(),
|
1000
|
-
setup(e, t) {
|
1001
|
-
let {
|
1002
|
-
slots: n
|
1003
|
-
} = t;
|
1004
|
-
const {
|
1005
|
-
themeClasses: s
|
1006
|
-
} = Se(e), {
|
1007
|
-
borderClasses: i
|
1008
|
-
} = ut(e), {
|
1009
|
-
colorClasses: a,
|
1010
|
-
colorStyles: r,
|
1011
|
-
variantClasses: o
|
1012
|
-
} = _t(e), {
|
1013
|
-
densityClasses: c
|
1014
|
-
} = ht(e), {
|
1015
|
-
roundedClasses: d
|
1016
|
-
} = ae(e), {
|
1017
|
-
sizeClasses: f,
|
1018
|
-
sizeStyles: g
|
1019
|
-
} = dt(e);
|
1020
|
-
return G(() => u(e.tag, {
|
1021
|
-
class: ["v-avatar", {
|
1022
|
-
"v-avatar--start": e.start,
|
1023
|
-
"v-avatar--end": e.end
|
1024
|
-
}, s.value, i.value, a.value, c.value, d.value, f.value, o.value, e.class],
|
1025
|
-
style: [r.value, g.value, e.style]
|
1026
|
-
}, {
|
1027
|
-
default: () => [n.default ? u(Et, {
|
1028
|
-
key: "content-defaults",
|
1029
|
-
defaults: {
|
1030
|
-
VImg: {
|
1031
|
-
cover: !0,
|
1032
|
-
src: e.image
|
1033
|
-
},
|
1034
|
-
VIcon: {
|
1035
|
-
icon: e.icon
|
1036
|
-
}
|
1037
|
-
}
|
1038
|
-
}, {
|
1039
|
-
default: () => [n.default()]
|
1040
|
-
}) : e.image ? u(Mt, {
|
1041
|
-
key: "image",
|
1042
|
-
src: e.image,
|
1043
|
-
alt: "",
|
1044
|
-
cover: !0
|
1045
|
-
}, null) : e.icon ? u(mt, {
|
1046
|
-
key: "icon",
|
1047
|
-
icon: e.icon
|
1048
|
-
}, null) : e.text, pt(!1, "v-avatar")]
|
1049
|
-
})), {};
|
1050
|
-
}
|
1051
|
-
}), Ht = w({
|
1052
|
-
disabled: Boolean,
|
1053
|
-
group: Boolean,
|
1054
|
-
hideOnLeave: Boolean,
|
1055
|
-
leaveAbsolute: Boolean,
|
1056
|
-
mode: String,
|
1057
|
-
origin: String
|
1058
|
-
}, "transition");
|
1059
|
-
function E(e, t, n) {
|
1060
|
-
return V()({
|
1061
|
-
name: e,
|
1062
|
-
props: Ht({
|
1063
|
-
mode: n,
|
1064
|
-
origin: t
|
1065
|
-
}),
|
1066
|
-
setup(s, i) {
|
1067
|
-
let {
|
1068
|
-
slots: a
|
1069
|
-
} = i;
|
1070
|
-
const r = {
|
1071
|
-
onBeforeEnter(o) {
|
1072
|
-
s.origin && (o.style.transformOrigin = s.origin);
|
1073
|
-
},
|
1074
|
-
onLeave(o) {
|
1075
|
-
if (s.leaveAbsolute) {
|
1076
|
-
const {
|
1077
|
-
offsetTop: c,
|
1078
|
-
offsetLeft: d,
|
1079
|
-
offsetWidth: f,
|
1080
|
-
offsetHeight: g
|
1081
|
-
} = o;
|
1082
|
-
o._transitionInitialStyles = {
|
1083
|
-
position: o.style.position,
|
1084
|
-
top: o.style.top,
|
1085
|
-
left: o.style.left,
|
1086
|
-
width: o.style.width,
|
1087
|
-
height: o.style.height
|
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`;
|
1089
|
-
}
|
1090
|
-
s.hideOnLeave && o.style.setProperty("display", "none", "important");
|
1091
|
-
},
|
1092
|
-
onAfterLeave(o) {
|
1093
|
-
if (s.leaveAbsolute && o?._transitionInitialStyles) {
|
1094
|
-
const {
|
1095
|
-
position: c,
|
1096
|
-
top: d,
|
1097
|
-
left: f,
|
1098
|
-
width: g,
|
1099
|
-
height: l
|
1100
|
-
} = o._transitionInitialStyles;
|
1101
|
-
delete o._transitionInitialStyles, o.style.position = c || "", o.style.top = d || "", o.style.left = f || "", o.style.width = g || "", o.style.height = l || "";
|
1102
|
-
}
|
1103
|
-
}
|
1104
|
-
};
|
1105
|
-
return () => {
|
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
|
1112
|
-
},
|
1113
|
-
...s.disabled ? {} : r
|
1114
|
-
}, a.default);
|
1115
|
-
};
|
1116
|
-
}
|
1117
|
-
});
|
1118
|
-
}
|
1119
|
-
function Oe(e, t) {
|
1120
|
-
let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "in-out";
|
1121
|
-
return V()({
|
1122
|
-
name: e,
|
1123
|
-
props: {
|
1124
|
-
mode: {
|
1125
|
-
type: String,
|
1126
|
-
default: n
|
1127
|
-
},
|
1128
|
-
disabled: Boolean,
|
1129
|
-
group: Boolean
|
1130
|
-
},
|
1131
|
-
setup(s, i) {
|
1132
|
-
let {
|
1133
|
-
slots: a
|
1134
|
-
} = i;
|
1135
|
-
const r = s.group ? we : se;
|
1136
|
-
return () => Z(r, {
|
1137
|
-
name: s.disabled ? "" : e,
|
1138
|
-
css: !s.disabled,
|
1139
|
-
// mode: props.mode, // TODO: vuejs/vue-next#3104
|
1140
|
-
...s.disabled ? {} : t
|
1141
|
-
}, a.default);
|
1142
|
-
}
|
1143
|
-
});
|
1144
|
-
}
|
1145
|
-
function Ne() {
|
1146
|
-
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
|
1147
|
-
const n = (arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1) ? "width" : "height", s = ge(`offset-${n}`);
|
1148
|
-
return {
|
1149
|
-
onBeforeEnter(r) {
|
1150
|
-
r._parent = r.parentNode, r._initialStyle = {
|
1151
|
-
transition: r.style.transition,
|
1152
|
-
overflow: r.style.overflow,
|
1153
|
-
[n]: r.style[n]
|
1154
|
-
};
|
1155
|
-
},
|
1156
|
-
onEnter(r) {
|
1157
|
-
const o = r._initialStyle;
|
1158
|
-
if (!o) return;
|
1159
|
-
r.style.setProperty("transition", "none", "important"), r.style.overflow = "hidden";
|
1160
|
-
const c = `${r[s]}px`;
|
1161
|
-
r.style[n] = "0", r.offsetHeight, r.style.transition = o.transition, e && r._parent && r._parent.classList.add(e), requestAnimationFrame(() => {
|
1162
|
-
r.style[n] = c;
|
1163
|
-
});
|
1164
|
-
},
|
1165
|
-
onAfterEnter: a,
|
1166
|
-
onEnterCancelled: a,
|
1167
|
-
onLeave(r) {
|
1168
|
-
r._initialStyle = {
|
1169
|
-
transition: "",
|
1170
|
-
overflow: r.style.overflow,
|
1171
|
-
[n]: r.style[n]
|
1172
|
-
}, r.style.overflow = "hidden", r.style[n] = `${r[s]}px`, r.offsetHeight, requestAnimationFrame(() => r.style[n] = "0");
|
1173
|
-
},
|
1174
|
-
onAfterLeave: i,
|
1175
|
-
onLeaveCancelled: i
|
1176
|
-
};
|
1177
|
-
function i(r) {
|
1178
|
-
e && r._parent && r._parent.classList.remove(e), a(r);
|
1179
|
-
}
|
1180
|
-
function a(r) {
|
1181
|
-
if (!r._initialStyle) return;
|
1182
|
-
const o = r._initialStyle[n];
|
1183
|
-
r.style.overflow = r._initialStyle.overflow, o != null && (r.style[n] = o), delete r._initialStyle;
|
1184
|
-
}
|
1185
|
-
}
|
1186
|
-
E("fab-transition", "center center", "out-in");
|
1187
|
-
E("dialog-bottom-transition");
|
1188
|
-
E("dialog-top-transition");
|
1189
|
-
const rn = E("fade-transition"), on = E("scale-transition");
|
1190
|
-
E("scroll-x-transition");
|
1191
|
-
E("scroll-x-reverse-transition");
|
1192
|
-
E("scroll-y-transition");
|
1193
|
-
E("scroll-y-reverse-transition");
|
1194
|
-
E("slide-x-transition");
|
1195
|
-
E("slide-x-reverse-transition");
|
1196
|
-
const ln = E("slide-y-transition");
|
1197
|
-
E("slide-y-reverse-transition");
|
1198
|
-
const un = Oe("expand-transition", Ne()), cn = Oe("expand-x-transition", Ne("", !0));
|
1199
|
-
ze("css/revolugo.index.DK7d_h6O.css");
|
1200
|
-
export {
|
1201
|
-
At as I,
|
1202
|
-
en as L,
|
1203
|
-
sn as R,
|
1204
|
-
Vt as V,
|
1205
|
-
Et as a,
|
1206
|
-
rn as b,
|
1207
|
-
qt as c,
|
1208
|
-
un as d,
|
1209
|
-
on as e,
|
1210
|
-
Mt as f,
|
1211
|
-
pt as g,
|
1212
|
-
an as h,
|
1213
|
-
jt as i,
|
1214
|
-
Jt as j,
|
1215
|
-
Xt as k,
|
1216
|
-
Tt as l,
|
1217
|
-
gt as m,
|
1218
|
-
nn as n,
|
1219
|
-
tn as o,
|
1220
|
-
Lt as p,
|
1221
|
-
Ft as q,
|
1222
|
-
Zt as r,
|
1223
|
-
ht as s,
|
1224
|
-
_t as t,
|
1225
|
-
Kt as u,
|
1226
|
-
bt as v,
|
1227
|
-
cn as w,
|
1228
|
-
xt as x,
|
1229
|
-
Qt as y,
|
1230
|
-
ln as z
|
1231
|
-
};
|
1232
|
-
//# sourceMappingURL=revolugo.index.q2k-tLa2.min.js.map
|