@revolugo/elements 6.8.2-beta.3 → 6.8.2-beta.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/revolugo.bdaterangepicker.D1e8WHUE.css +1 -0
- package/dist/css/revolugo.bhoteloffersfilterbar.C1Hvm7FH.css +1 -0
- package/dist/css/revolugo.bimagecarousel.DFlgQMzq.css +1 -0
- package/dist/css/{revolugo.btag.g-q3eChG.css → revolugo.btag.CYbY5J61.css} +1 -1
- package/dist/css/revolugo.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.DK7d_h6O.css +1 -0
- package/dist/css/revolugo.langpickerbtn.DTsRMVL8.css +1 -0
- package/dist/css/revolugo.vbadge.C45eZpxy.css +1 -0
- package/dist/css/revolugo.vbtn.DpMO1Ky2.css +1 -0
- package/dist/css/revolugo.vcard.TERzfknI.css +1 -0
- package/dist/css/revolugo.vcheckboxbtn.Bp_BNQWb.css +1 -0
- package/dist/css/revolugo.vicon.eIkh7vVK.css +1 -0
- package/dist/css/revolugo.vlist.-Y4qkukF.css +1 -0
- package/dist/css/{revolugo.vtooltip.O8QDYs1J.css → revolugo.vslidegroup.ECiLCEE9.css} +1 -1
- package/dist/css/{revolugo.vsnackbar.Cj7AcupY.css → revolugo.vsnackbar.CCfuo3ao.css} +1 -1
- package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +1 -0
- package/dist/css/{revolugo.webcomponentwrapper.DRCKFwuk.css → revolugo.webcomponentwrapper.BNxGrktU.css} +2 -2
- package/dist/index.es.min.js +1954 -2161
- 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.Bxmf2YBQ.min.js +247 -0
- package/dist/{revolugo.banktransferdetails.B2ekby51.min.js → revolugo.banktransferdetails.SE8NErTw.min.js} +9 -9
- package/dist/revolugo.bdaterangepicker.Bs2pH95_.min.js +8328 -0
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DIWYLLE_.min.js +145 -0
- package/dist/revolugo.bhoteloffersfilterbar.gHx-XQIq.min.js +4724 -0
- package/dist/{revolugo.bhotelroomsdetails.B_oUGHlu.min.js → revolugo.bhotelroomsdetails.ByB7GIQB.min.js} +87 -90
- package/dist/{revolugo.bhotelsearchbar.CZZ7nrV4.min.js → revolugo.bhotelsearchbar.D4nP_Yeh.min.js} +119 -122
- package/dist/{revolugo.bimagecarousel.B0c13uQA.min.js → revolugo.bimagecarousel.DhA7fKr_.min.js} +178 -188
- package/dist/{revolugo.bookingdetailssidebar.Bs3FC4cg.min.js → revolugo.bookingdetailssidebar.Dd56Wy_U.min.js} +207 -221
- package/dist/{revolugo.bookingdetailssidebar.BGsPcF2v.min.js → revolugo.bookingdetailssidebar.lwfVw3hd.min.js} +4 -4
- package/dist/{revolugo.bookingmanager.CrXALVnI.min.js → revolugo.bookingmanager.CalvEAgz.min.js} +400 -419
- package/dist/{revolugo.bpricesummaryskeleton.8052AuK3.min.js → revolugo.bpricesummaryskeleton.C-X2i-r7.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.7yIt37GG.min.js} +148 -157
- package/dist/revolugo.btag.D9PcRagV.min.js +375 -0
- package/dist/revolugo.cancellationpoliciesbadge.BMTMxB84.min.js +198 -0
- package/dist/revolugo.cancellationpoliciesbadge.BS3sdT0j.min.js +28 -0
- package/dist/revolugo.cancellationpolicieslist.BlIDNloM.min.js +25 -0
- package/dist/{revolugo.cancellationpolicieslist.CurBz21i.min.js → revolugo.cancellationpolicieslist.CSKJ_RQf.min.js} +70 -98
- package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +21 -0
- package/dist/revolugo.case-transformers.wj5dY-62.min.js +123 -0
- package/dist/{revolugo.creditcardform.D35ZslX6.min.js → revolugo.creditcardform.58FDmjkc.min.js} +4 -4
- package/dist/{revolugo.creditcardform.Zgq-wqLH.min.js → revolugo.creditcardform.DjHXUGaT.min.js} +53 -66
- package/dist/{revolugo.creditcardpayment.BpY-gafO.min.js → revolugo.creditcardpayment.CXIZBeLQ.min.js} +4 -4
- package/dist/{revolugo.creditcardpayment.B3gGpWtL.min.js → revolugo.creditcardpayment.eNRvC7VG.min.js} +152 -160
- package/dist/{revolugo.currencypicker.BgqkzwCT.min.js → revolugo.currencypicker.mpJHETlw.min.js} +8 -8
- package/dist/{revolugo.currencypickerbtn.0iqvXHCJ.min.js → revolugo.currencypickerbtn.BT4gJYck.min.js} +42 -45
- package/dist/{revolugo.currencypickerbtn.CL_hu26M.min.js → revolugo.currencypickerbtn.DcaNmmTa.min.js} +4 -4
- package/dist/{revolugo.defaultsdeep.CCR2LAoW.min.js → revolugo.defaultsdeep.B15U6I23.min.js} +32 -32
- package/dist/{revolugo.dialog-attach.t7JTHXax.min.js → revolugo.dialog-attach.Kn52rX5V.min.js} +5 -6
- package/dist/revolugo.dialog-transition.K64Up6o5.min.js +111 -0
- package/dist/{revolugo.fastbookingflow.D5i5QakB.min.js → revolugo.fastbookingflow.DSWy6Ys3.min.js} +4 -4
- package/dist/revolugo.forwardrefs.VVhh1qV3.min.js +70 -0
- package/dist/{revolugo.fullbookingflow.B3R9Mi6f.min.js → revolugo.fullbookingflow.BLumv8em.min.js} +122 -128
- package/dist/revolugo.hotel-offer-request.08Q8GaoF.min.js +98 -0
- package/dist/{revolugo.hoteldescriptionview.mr1BBzFi.min.js → revolugo.hoteldescriptionview.BCrpDoH8.min.js} +595 -645
- package/dist/{revolugo.hoteldescriptionview.0om5ATP0.min.js → revolugo.hoteldescriptionview.BOhmeT2B.min.js} +4 -4
- package/dist/{revolugo.hotelofferitemlayout.CpMoPSRH.min.js → revolugo.hotelofferitemlayout.iXqLrvQm.min.js} +8 -8
- package/dist/{revolugo.hotelofferlist.DRdkrfqu.min.js → revolugo.hotelofferlist.0NPXq55P.min.js} +1566 -1703
- package/dist/{revolugo.hotelofferlist.Bb-RsXSl.min.js → revolugo.hotelofferlist.DjUTqa2K.min.js} +4 -4
- package/dist/{revolugo.hotelofferrequestcreator.f8olJbDW.min.js → revolugo.hotelofferrequestcreator.BURjSAMm.min.js} +16 -15
- package/dist/revolugo.hoteloffersearchmenu.Dgq9VEmx.min.js +47 -0
- package/dist/{revolugo.hoteloffersmap.BjjBIhE9.min.js → revolugo.hoteloffersmap.BnqHPNt1.min.js} +570 -582
- package/dist/{revolugo.hoteloffersmap.BleGDfiI.min.js → revolugo.hoteloffersmap.CeDXd2FY.min.js} +4 -4
- package/dist/{revolugo.hoteloffersview.DyWUZJ-a.min.js → revolugo.hoteloffersview.Bih_7gfI.min.js} +121 -124
- package/dist/{revolugo.hoteloffersview.M1WJegEH.min.js → revolugo.hoteloffersview.D_H5aGBv.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.7bwYQgtE.min.js → revolugo.hotelroomofferlist.CXald_sS.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.Dr11epuR.min.js → revolugo.hotelroomofferlist.O0tRAgZS.min.js} +742 -799
- package/dist/{revolugo.hotelroomofferrequestcreator.props.DUhujwnh.min.js → revolugo.hotelroomofferrequestcreator.props.CVwr05si.min.js} +6 -6
- package/dist/{revolugo.hotelroomoffersbookingflow.CKjKX7Kc.min.js → revolugo.hotelroomoffersbookingflow.DGKPam4L.min.js} +332 -357
- package/dist/{revolugo.hotelroomoffersearchmenu.CT-i5FLW.min.js → revolugo.hotelroomoffersearchmenu.DfCU58yl.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersearchmenu.9fzTS1um.min.js → revolugo.hotelroomoffersearchmenu.ElcYfITq.min.js} +34 -36
- package/dist/{revolugo.hotelroomoffersview.D2XUHzuN.min.js → revolugo.hotelroomoffersview.BDUFPxQD.min.js} +68 -71
- package/dist/{revolugo.hotelroomoffersview.iTt3yxQK.min.js → revolugo.hotelroomoffersview.YYq7-L5h.min.js} +4 -4
- package/dist/revolugo.index.bIefP9Di.min.js +1232 -0
- package/dist/{revolugo.index.wc.CNPB8R3P.min.js → revolugo.index.wc.CVg-U7Gx.min.js} +11067 -11546
- package/dist/revolugo.langpicker.Ccsg-lEF.min.js +96 -0
- package/dist/revolugo.langpickerbtn.CM2mTy7Y.min.js +29 -0
- package/dist/revolugo.langpickerbtn.DyJ4Olno.min.js +125 -0
- package/dist/revolugo.min.js +1 -1
- package/dist/revolugo.pathify.BlrRHScz.min.js +58 -0
- package/dist/{revolugo.prebookform.CDoJAivN.min.js → revolugo.prebookform.B8gqQx-H.min.js} +4 -4
- package/dist/{revolugo.prebookform.DhCYUQX2.min.js → revolugo.prebookform.fhOF5rTL.min.js} +98 -102
- package/dist/{revolugo.roominglisteditor.Dgtcs_-O.min.js → revolugo.roominglisteditor.CB2ZVVIX.min.js} +98 -104
- package/dist/{revolugo.roominglisteditor.DvUmxfal.min.js → revolugo.roominglisteditor.LxMxvTG6.min.js} +4 -4
- package/dist/{revolugo.rounded.Dulx85qq.min.js → revolugo.rounded.CdTdATPg.min.js} +2 -2
- package/dist/{revolugo.ssrboot.CTe1vadS.min.js → revolugo.ssrboot.D-F25G2D.min.js} +4 -4
- package/dist/{revolugo.storybooktoolbar.D182Uwjq.min.js → revolugo.storybooktoolbar.BDi7kzis.min.js} +144 -144
- package/dist/{revolugo.termsandconditions.BSpX2Wim.min.js → revolugo.termsandconditions.DZ84e8oM.min.js} +52 -55
- package/dist/{revolugo.termsandconditions.DvldqW3w.min.js → revolugo.termsandconditions.ILptE4WJ.min.js} +4 -4
- package/dist/revolugo.use-breakpoint-service.DPvOP-XF.min.js +39 -0
- package/dist/revolugo.use-html-element.Dfl5QKN-.min.js +11 -0
- package/dist/revolugo.vautocomplete.DBPq0WdQ.min.js +445 -0
- package/dist/revolugo.vbadge.CU5xYZyW.min.js +112 -0
- package/dist/revolugo.vbtn.X3RP4Z34.min.js +398 -0
- package/dist/revolugo.vcard.DfYEYCIx.min.js +313 -0
- package/dist/revolugo.vcheckboxbtn.DLdpGWrK.min.js +478 -0
- package/dist/revolugo.vdialog.A3glfkAC.min.js +133 -0
- package/dist/{revolugo.vdivider.Cq5RMY7t.min.js → revolugo.vdivider.C8Jprud4.min.js} +3 -3
- package/dist/revolugo.vexpansionpanels.xliCx-5-.min.js +262 -0
- package/dist/revolugo.vform.BYdqOlKN.min.js +46 -0
- package/dist/revolugo.vicon.DGbfBJIw.min.js +105 -0
- package/dist/revolugo.vinput.Bh9hEdMF.min.js +463 -0
- package/dist/revolugo.vlabel.Dx1aNiVc.min.js +48 -0
- package/dist/revolugo.vlist.BMwn1ihP.min.js +1299 -0
- package/dist/revolugo.vmenu.ByEEPO9y.min.js +145 -0
- package/dist/revolugo.vselect.Dzd6zNRa.min.js +660 -0
- package/dist/{revolugo.vsheet.AqixfoVv.min.js → revolugo.vsheet.C7bJI8gr.min.js} +10 -10
- package/dist/{revolugo.vskeletonloader.BUxAIEgD.min.js → revolugo.vskeletonloader.DcVdfRoT.min.js} +57 -58
- package/dist/revolugo.vslidegroup.DrV2UvdN.min.js +325 -0
- package/dist/revolugo.vsnackbar.C_2qY4Nh.min.js +198 -0
- package/dist/revolugo.vspacer.CP17be9N.min.js +7 -0
- package/dist/{revolugo.vtextarea.ByrL6SoY.min.js → revolugo.vtextarea.CPnC6tk4.min.js} +361 -371
- package/dist/revolugo.vtextfield.CnjNadCm.min.js +501 -0
- package/dist/revolugo.vtoolbar.CpgasmNE.min.js +180 -0
- package/dist/revolugo.vtooltip.F6cVVKxe.min.js +89 -0
- package/dist/revolugo.vwindowitem.BZMm5BTu.min.js +317 -0
- package/dist/revolugo.watch-list.Bnuh1CzH.min.js +16 -0
- package/dist/{revolugo.webcomponentwrapper.Ci87Oown.min.js → revolugo.webcomponentwrapper.DY-mO-0c.min.js} +775 -821
- package/package.json +1 -1
- package/dist/css/revolugo.bdaterangepicker.BLYZnPjh.css +0 -1
- package/dist/css/revolugo.bhoteloffersfilterbar.1tLwDxXe.css +0 -1
- package/dist/css/revolugo.bimagecarousel.BvgD1yrr.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/css/revolugo.vbadge.BQrRJ9S0.css +0 -1
- package/dist/css/revolugo.vbtn.BU0YQ6en.css +0 -1
- package/dist/css/revolugo.vcard.B8jNYFn_.css +0 -1
- package/dist/css/revolugo.vcheckboxbtn.BQ05xI0T.css +0 -1
- package/dist/css/revolugo.vlist.BkGS0yqt.css +0 -1
- package/dist/revolugo.bdaterangepicker.CTD21Xkh.min.js +0 -8435
- 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.btag.BWSoB2pK.min.js +0 -387
- 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.case-transformers.Oo4YCZeL.min.js +0 -123
- package/dist/revolugo.dialog-transition.Cot8jmLN.min.js +0 -114
- package/dist/revolugo.forwardrefs.-bfQnFea.min.js +0 -71
- 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.vautocomplete.DNxDeH8S.min.js +0 -466
- package/dist/revolugo.vbadge.DqpIeIfj.min.js +0 -118
- package/dist/revolugo.vbtn.DsvUpshD.min.js +0 -417
- package/dist/revolugo.vcard.D1VwO30r.min.js +0 -329
- package/dist/revolugo.vcheckboxbtn.BnbOlneq.min.js +0 -491
- package/dist/revolugo.vdialog.rsw4VlQE.min.js +0 -139
- package/dist/revolugo.vexpansionpanels.Cy-T-RLA.min.js +0 -276
- package/dist/revolugo.vform.CO-9AfdO.min.js +0 -50
- package/dist/revolugo.vinput.DEbpex7C.min.js +0 -477
- package/dist/revolugo.vlabel.CBGmCU1C.min.js +0 -51
- package/dist/revolugo.vlist.BzvP4Aad.min.js +0 -1348
- package/dist/revolugo.vmenu.CIfiL0Ib.min.js +0 -152
- package/dist/revolugo.vselect.CDieig82.min.js +0 -688
- package/dist/revolugo.vsnackbar.D5nwTNfd.min.js +0 -202
- package/dist/revolugo.vspacer.Dv72HR_2.min.js +0 -7
- package/dist/revolugo.vtextfield.Br_yyf1t.min.js +0 -509
- package/dist/revolugo.vtoolbar.VPqzB-yU.min.js +0 -188
- package/dist/revolugo.vtooltip.CI_oDjbQ.min.js +0 -395
- package/dist/revolugo.vwindowitem.IF1zLcjR.min.js +0 -329
- package/dist/revolugo.watch-list.BD0XoO1O.min.js +0 -16
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
function
|
1
|
+
import { cn as Gt, cE as Ce, cI as it, cJ as lt, Z as B, bW as U, a9 as Oe, D as j, bx as K, U as Te, M as I, ce as ut, ah as le, aJ as Kt, a4 as Z, c6 as Ut, cK as qt, G as d, ai as G, a8 as L, T as ct, aj as _e, cz as Yt, V as ft, cD as dt, cL as je, cM as Jt, cN as Zt, cO as Xt, cl as Qt, cP as He, aa as Le, bR as en, R as me, aR as H, cC as tn, aV as vt, af as Ne, z as J, Y as ye, cQ as ge, q as Be, aQ as Ie, aD as De, a7 as $e, cR as mt, cS as nn, bQ as on, aS as an, bw as rn, a1 as sn, aI as yt, aC as gt, aK as ht, a as V, cm as ln, I as un, J as cn, aF as fn, F as pt, d as Me, u as bt, i as ce, w as oe, B as Ge, o as Q, e as se, j as ie, cT as dn, ct as vn, O as mn, bI as St, c as Pe, y as yn, r as Ke, x as gn, f as hn, t as pn } from "./revolugo.index.wc.CVg-U7Gx.min.js";
|
2
|
+
function Dt(e) {
|
3
3
|
try {
|
4
4
|
if (typeof document < "u") {
|
5
5
|
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
@@ -19,30 +19,27 @@ function Gt(e) {
|
|
19
19
|
console.error("[revolugo-elements] ", t);
|
20
20
|
}
|
21
21
|
}
|
22
|
+
function bn() {
|
23
|
+
return Gt()?.root;
|
24
|
+
}
|
22
25
|
function Sn() {
|
23
|
-
|
24
|
-
return (e = Ut()) == null ? void 0 : e.root;
|
26
|
+
return bn()?.ce || null;
|
25
27
|
}
|
26
28
|
function En() {
|
27
|
-
|
28
|
-
return (e == null ? void 0 : e.ce) || null;
|
29
|
-
}
|
30
|
-
function xn() {
|
31
|
-
var e;
|
32
|
-
return ((e = En()) == null ? void 0 : e.shadowRoot) || null;
|
29
|
+
return Sn()?.shadowRoot || null;
|
33
30
|
}
|
34
|
-
const
|
35
|
-
function
|
31
|
+
const Et = ["top", "bottom"], wn = ["start", "end", "left", "right"];
|
32
|
+
function Ue(e, t) {
|
36
33
|
let [n, o] = e.split(" ");
|
37
|
-
return o || (o =
|
38
|
-
side:
|
39
|
-
align:
|
34
|
+
return o || (o = Ce(Et, n) ? "start" : Ce(wn, n) ? "top" : "center"), {
|
35
|
+
side: qe(n, t),
|
36
|
+
align: qe(o, t)
|
40
37
|
};
|
41
38
|
}
|
42
|
-
function
|
39
|
+
function qe(e, t) {
|
43
40
|
return e === "start" ? t ? "right" : "left" : e === "end" ? t ? "left" : "right" : e;
|
44
41
|
}
|
45
|
-
function
|
42
|
+
function Se(e) {
|
46
43
|
return {
|
47
44
|
side: {
|
48
45
|
center: "center",
|
@@ -54,7 +51,7 @@ function Ee(e) {
|
|
54
51
|
align: e.align
|
55
52
|
};
|
56
53
|
}
|
57
|
-
function
|
54
|
+
function Ee(e) {
|
58
55
|
return {
|
59
56
|
side: e.side,
|
60
57
|
align: {
|
@@ -66,16 +63,16 @@ function xe(e) {
|
|
66
63
|
}[e.align]
|
67
64
|
};
|
68
65
|
}
|
69
|
-
function
|
66
|
+
function Ye(e) {
|
70
67
|
return {
|
71
68
|
side: e.align,
|
72
69
|
align: e.side
|
73
70
|
};
|
74
71
|
}
|
75
|
-
function
|
76
|
-
return
|
72
|
+
function Je(e) {
|
73
|
+
return Ce(Et, e.side) ? "y" : "x";
|
77
74
|
}
|
78
|
-
class
|
75
|
+
class ee {
|
79
76
|
constructor(t) {
|
80
77
|
let {
|
81
78
|
x: n,
|
@@ -98,7 +95,7 @@ class te {
|
|
98
95
|
return this.x + this.width;
|
99
96
|
}
|
100
97
|
}
|
101
|
-
function
|
98
|
+
function Ze(e, t) {
|
102
99
|
return {
|
103
100
|
x: {
|
104
101
|
before: Math.max(0, t.left - e.left),
|
@@ -110,35 +107,35 @@ function et(e, t) {
|
|
110
107
|
}
|
111
108
|
};
|
112
109
|
}
|
113
|
-
function
|
114
|
-
return Array.isArray(e) ? new
|
110
|
+
function kn(e) {
|
111
|
+
return Array.isArray(e) ? new ee({
|
115
112
|
x: e[0],
|
116
113
|
y: e[1],
|
117
114
|
width: 0,
|
118
115
|
height: 0
|
119
116
|
}) : e.getBoundingClientRect();
|
120
117
|
}
|
121
|
-
function
|
118
|
+
function xn(e) {
|
122
119
|
const t = e.getBoundingClientRect(), n = getComputedStyle(e), o = n.transform;
|
123
120
|
if (o) {
|
124
|
-
let a, r,
|
121
|
+
let a, r, s, i, l;
|
125
122
|
if (o.startsWith("matrix3d("))
|
126
|
-
a = o.slice(9, -1).split(/, /), r = Number(a[0]),
|
123
|
+
a = o.slice(9, -1).split(/, /), r = Number(a[0]), s = Number(a[5]), i = Number(a[12]), l = Number(a[13]);
|
127
124
|
else if (o.startsWith("matrix("))
|
128
|
-
a = o.slice(7, -1).split(/, /), r = Number(a[0]),
|
125
|
+
a = o.slice(7, -1).split(/, /), r = Number(a[0]), s = Number(a[3]), i = Number(a[4]), l = Number(a[5]);
|
129
126
|
else
|
130
|
-
return new
|
131
|
-
const f = n.transformOrigin, c = t.x -
|
132
|
-
return new
|
127
|
+
return new ee(t);
|
128
|
+
const f = n.transformOrigin, c = t.x - i - (1 - r) * parseFloat(f), A = t.y - l - (1 - s) * parseFloat(f.slice(f.indexOf(" ") + 1)), w = r ? t.width / r : e.offsetWidth + 1, P = s ? t.height / s : e.offsetHeight + 1;
|
129
|
+
return new ee({
|
133
130
|
x: c,
|
134
|
-
y:
|
135
|
-
width:
|
136
|
-
height:
|
131
|
+
y: A,
|
132
|
+
width: w,
|
133
|
+
height: P
|
137
134
|
});
|
138
135
|
} else
|
139
|
-
return new
|
136
|
+
return new ee(t);
|
140
137
|
}
|
141
|
-
function
|
138
|
+
function Cn(e, t, n) {
|
142
139
|
if (typeof e.animate > "u") return {
|
143
140
|
finished: Promise.resolve()
|
144
141
|
};
|
@@ -156,45 +153,45 @@ function Ln(e, t, n) {
|
|
156
153
|
};
|
157
154
|
})), o;
|
158
155
|
}
|
159
|
-
const
|
160
|
-
function
|
156
|
+
const ue = /* @__PURE__ */ new WeakMap();
|
157
|
+
function On(e, t) {
|
161
158
|
Object.keys(t).forEach((n) => {
|
162
|
-
if (
|
163
|
-
const o =
|
159
|
+
if (it(n)) {
|
160
|
+
const o = lt(n), a = ue.get(e);
|
164
161
|
if (t[n] == null)
|
165
|
-
a
|
166
|
-
const [
|
167
|
-
|
162
|
+
a?.forEach((r) => {
|
163
|
+
const [s, i] = r;
|
164
|
+
s === o && (e.removeEventListener(o, i), a.delete(r));
|
168
165
|
});
|
169
166
|
else if (!a || ![...a].some((r) => r[0] === o && r[1] === t[n])) {
|
170
167
|
e.addEventListener(o, t[n]);
|
171
168
|
const r = a || /* @__PURE__ */ new Set();
|
172
|
-
r.add([o, t[n]]),
|
169
|
+
r.add([o, t[n]]), ue.has(e) || ue.set(e, r);
|
173
170
|
}
|
174
171
|
} else
|
175
172
|
t[n] == null ? e.removeAttribute(n) : e.setAttribute(n, t[n]);
|
176
173
|
});
|
177
174
|
}
|
178
|
-
function
|
175
|
+
function Ln(e, t) {
|
179
176
|
Object.keys(t).forEach((n) => {
|
180
|
-
if (
|
181
|
-
const o =
|
182
|
-
a
|
183
|
-
const [
|
184
|
-
|
177
|
+
if (it(n)) {
|
178
|
+
const o = lt(n), a = ue.get(e);
|
179
|
+
a?.forEach((r) => {
|
180
|
+
const [s, i] = r;
|
181
|
+
s === o && (e.removeEventListener(o, i), a.delete(r));
|
185
182
|
});
|
186
183
|
} else
|
187
184
|
e.removeAttribute(n);
|
188
185
|
});
|
189
186
|
}
|
190
|
-
const
|
187
|
+
const he = B({
|
191
188
|
class: [String, Array, Object],
|
192
189
|
style: {
|
193
190
|
type: [String, Array, Object],
|
194
191
|
default: null
|
195
192
|
}
|
196
193
|
}, "component");
|
197
|
-
function
|
194
|
+
function wt(e) {
|
198
195
|
if (typeof e.getRootNode != "function") {
|
199
196
|
for (; e.parentNode; ) e = e.parentNode;
|
200
197
|
return e !== document ? null : document;
|
@@ -204,33 +201,33 @@ function Ct(e) {
|
|
204
201
|
composed: !0
|
205
202
|
}) !== document ? null : t;
|
206
203
|
}
|
207
|
-
const
|
208
|
-
function
|
204
|
+
const Pn = "cubic-bezier(0.4, 0, 0.2, 1)", Ko = "cubic-bezier(0.0, 0, 0.2, 1)", Uo = "cubic-bezier(0.4, 0, 1, 1)";
|
205
|
+
function Rn(e) {
|
209
206
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
210
207
|
for (; e; ) {
|
211
|
-
if (t ?
|
208
|
+
if (t ? An(e) : Ve(e)) return e;
|
212
209
|
e = e.parentElement;
|
213
210
|
}
|
214
211
|
return document.scrollingElement;
|
215
212
|
}
|
216
|
-
function
|
213
|
+
function fe(e, t) {
|
217
214
|
const n = [];
|
218
215
|
if (t && e && !t.contains(e)) return n;
|
219
|
-
for (; e && (
|
216
|
+
for (; e && (Ve(e) && n.push(e), e !== t); )
|
220
217
|
e = e.parentElement;
|
221
218
|
return n;
|
222
219
|
}
|
223
|
-
function
|
220
|
+
function Ve(e) {
|
224
221
|
if (!e || e.nodeType !== Node.ELEMENT_NODE) return !1;
|
225
222
|
const t = window.getComputedStyle(e);
|
226
223
|
return t.overflowY === "scroll" || t.overflowY === "auto" && e.scrollHeight > e.clientHeight;
|
227
224
|
}
|
228
|
-
function
|
225
|
+
function An(e) {
|
229
226
|
if (!e || e.nodeType !== Node.ELEMENT_NODE) return !1;
|
230
227
|
const t = window.getComputedStyle(e);
|
231
228
|
return ["scroll", "auto"].includes(t.overflowY);
|
232
229
|
}
|
233
|
-
function
|
230
|
+
function Tn(e) {
|
234
231
|
for (; e; ) {
|
235
232
|
if (window.getComputedStyle(e).position === "fixed")
|
236
233
|
return !0;
|
@@ -238,37 +235,37 @@ function Nn(e) {
|
|
238
235
|
}
|
239
236
|
return !1;
|
240
237
|
}
|
241
|
-
function
|
242
|
-
const t =
|
238
|
+
function kt(e) {
|
239
|
+
const t = U("useRender");
|
243
240
|
t.render = e;
|
244
241
|
}
|
245
|
-
function
|
242
|
+
function _n(e) {
|
246
243
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "content";
|
247
|
-
const n =
|
248
|
-
if (
|
244
|
+
const n = Oe(), o = j();
|
245
|
+
if (K) {
|
249
246
|
const a = new ResizeObserver((r) => {
|
250
|
-
e
|
247
|
+
e?.(r, a), r.length && (t === "content" ? o.value = r[0].contentRect : o.value = r[0].target.getBoundingClientRect());
|
251
248
|
});
|
252
|
-
|
249
|
+
Te(() => {
|
253
250
|
a.disconnect();
|
254
|
-
}),
|
255
|
-
|
251
|
+
}), I(() => n.el, (r, s) => {
|
252
|
+
s && (a.unobserve(s), o.value = void 0), r && a.observe(r);
|
256
253
|
}, {
|
257
254
|
flush: "post"
|
258
255
|
});
|
259
256
|
}
|
260
257
|
return {
|
261
258
|
resizeRef: n,
|
262
|
-
contentRect:
|
259
|
+
contentRect: ut(o)
|
263
260
|
};
|
264
261
|
}
|
265
|
-
const
|
262
|
+
const de = Symbol.for("vuetify:layout"), xt = Symbol.for("vuetify:layout-item"), Xe = 1e3, Nn = B({
|
266
263
|
overlaps: {
|
267
264
|
type: Array,
|
268
265
|
default: () => []
|
269
266
|
},
|
270
267
|
fullHeight: Boolean
|
271
|
-
}, "layout"),
|
268
|
+
}, "layout"), qo = B({
|
272
269
|
name: {
|
273
270
|
type: String
|
274
271
|
},
|
@@ -278,8 +275,8 @@ const ye = Symbol.for("vuetify:layout"), Lt = Symbol.for("vuetify:layout-item"),
|
|
278
275
|
},
|
279
276
|
absolute: Boolean
|
280
277
|
}, "layout-item");
|
281
|
-
function
|
282
|
-
const e =
|
278
|
+
function Yo() {
|
279
|
+
const e = le(de);
|
283
280
|
if (!e) throw new Error("[Vuetify] Could not find injected layout");
|
284
281
|
return {
|
285
282
|
getLayoutItem: e.getLayoutItem,
|
@@ -288,29 +285,29 @@ function Zo() {
|
|
288
285
|
};
|
289
286
|
}
|
290
287
|
function Jo(e) {
|
291
|
-
const t =
|
288
|
+
const t = le(de);
|
292
289
|
if (!t) throw new Error("[Vuetify] Could not find injected layout");
|
293
|
-
const n = e.id ?? `layout-item-${
|
294
|
-
|
290
|
+
const n = e.id ?? `layout-item-${Kt()}`, o = U("useLayoutItem");
|
291
|
+
_e(xt, {
|
295
292
|
id: n
|
296
293
|
});
|
297
|
-
const a =
|
298
|
-
|
294
|
+
const a = Z(!1);
|
295
|
+
Ut(() => a.value = !0), qt(() => a.value = !1);
|
299
296
|
const {
|
300
297
|
layoutItemStyles: r,
|
301
|
-
layoutItemScrimStyles:
|
298
|
+
layoutItemScrimStyles: s
|
302
299
|
} = t.register(o, {
|
303
300
|
...e,
|
304
301
|
active: d(() => a.value ? !1 : e.active.value),
|
305
302
|
id: n
|
306
303
|
});
|
307
|
-
return
|
304
|
+
return Te(() => t.unregister(n)), {
|
308
305
|
layoutItemStyles: r,
|
309
306
|
layoutRect: t.layoutRect,
|
310
|
-
layoutItemScrimStyles:
|
307
|
+
layoutItemScrimStyles: s
|
311
308
|
};
|
312
309
|
}
|
313
|
-
const
|
310
|
+
const Bn = (e, t, n, o) => {
|
314
311
|
let a = {
|
315
312
|
top: 0,
|
316
313
|
left: 0,
|
@@ -323,202 +320,199 @@ const $n = (e, t, n, o) => {
|
|
323
320
|
...a
|
324
321
|
}
|
325
322
|
}];
|
326
|
-
for (const
|
327
|
-
const
|
328
|
-
if (!
|
323
|
+
for (const s of e) {
|
324
|
+
const i = t.get(s), l = n.get(s), f = o.get(s);
|
325
|
+
if (!i || !l || !f) continue;
|
329
326
|
const c = {
|
330
327
|
...a,
|
331
|
-
[
|
328
|
+
[i.value]: parseInt(a[i.value], 10) + (f.value ? parseInt(l.value, 10) : 0)
|
332
329
|
};
|
333
330
|
r.push({
|
334
|
-
id:
|
331
|
+
id: s,
|
335
332
|
layer: c
|
336
333
|
}), a = c;
|
337
334
|
}
|
338
335
|
return r;
|
339
336
|
};
|
340
|
-
function
|
341
|
-
const t =
|
337
|
+
function In(e) {
|
338
|
+
const t = le(de, null), n = d(() => t ? t.rootZIndex.value - 100 : Xe), o = j([]), a = G(/* @__PURE__ */ new Map()), r = G(/* @__PURE__ */ new Map()), s = G(/* @__PURE__ */ new Map()), i = G(/* @__PURE__ */ new Map()), l = G(/* @__PURE__ */ new Map()), {
|
342
339
|
resizeRef: f,
|
343
340
|
contentRect: c
|
344
|
-
} =
|
341
|
+
} = _n(), A = d(() => {
|
345
342
|
const g = /* @__PURE__ */ new Map(), S = e.overlaps ?? [];
|
346
|
-
for (const u of S.filter((
|
347
|
-
const [
|
348
|
-
if (!o.value.includes(
|
349
|
-
const
|
350
|
-
!
|
351
|
-
position:
|
343
|
+
for (const u of S.filter((O) => O.includes(":"))) {
|
344
|
+
const [O, x] = u.split(":");
|
345
|
+
if (!o.value.includes(O) || !o.value.includes(x)) continue;
|
346
|
+
const E = a.get(O), h = a.get(x), y = r.get(O), p = r.get(x);
|
347
|
+
!E || !h || !y || !p || (g.set(x, {
|
348
|
+
position: E.value,
|
352
349
|
amount: parseInt(y.value, 10)
|
353
|
-
}), g.set(
|
354
|
-
position:
|
355
|
-
amount: -parseInt(
|
350
|
+
}), g.set(O, {
|
351
|
+
position: h.value,
|
352
|
+
amount: -parseInt(p.value, 10)
|
356
353
|
}));
|
357
354
|
}
|
358
355
|
return g;
|
359
|
-
}),
|
360
|
-
const g = [...new Set([...
|
356
|
+
}), w = d(() => {
|
357
|
+
const g = [...new Set([...s.values()].map((u) => u.value))].sort((u, O) => u - O), S = [];
|
361
358
|
for (const u of g) {
|
362
|
-
const
|
363
|
-
|
364
|
-
return ((x = i.get(A)) == null ? void 0 : x.value) === u;
|
365
|
-
});
|
366
|
-
S.push(...E);
|
359
|
+
const O = o.value.filter((x) => s.get(x)?.value === u);
|
360
|
+
S.push(...O);
|
367
361
|
}
|
368
|
-
return
|
369
|
-
}),
|
370
|
-
"--v-layout-left":
|
371
|
-
"--v-layout-right":
|
372
|
-
"--v-layout-top":
|
373
|
-
"--v-layout-bottom":
|
374
|
-
...
|
362
|
+
return Bn(S, a, r, i);
|
363
|
+
}), P = d(() => !Array.from(l.values()).some((g) => g.value)), m = d(() => w.value[w.value.length - 1].layer), v = d(() => ({
|
364
|
+
"--v-layout-left": L(m.value.left),
|
365
|
+
"--v-layout-right": L(m.value.right),
|
366
|
+
"--v-layout-top": L(m.value.top),
|
367
|
+
"--v-layout-bottom": L(m.value.bottom),
|
368
|
+
...P.value ? void 0 : {
|
375
369
|
transition: "none"
|
376
370
|
}
|
377
|
-
})),
|
371
|
+
})), C = d(() => w.value.slice(1).map((g, S) => {
|
378
372
|
let {
|
379
373
|
id: u
|
380
374
|
} = g;
|
381
375
|
const {
|
382
|
-
layer:
|
383
|
-
} =
|
376
|
+
layer: O
|
377
|
+
} = w.value[S], x = r.get(u), E = a.get(u);
|
384
378
|
return {
|
385
379
|
id: u,
|
386
|
-
...
|
387
|
-
size: Number(
|
388
|
-
position:
|
380
|
+
...O,
|
381
|
+
size: Number(x.value),
|
382
|
+
position: E.value
|
389
383
|
};
|
390
|
-
})), T = (g) =>
|
391
|
-
|
392
|
-
|
393
|
-
}),
|
384
|
+
})), T = (g) => C.value.find((S) => S.id === g), R = U("createLayout"), k = Z(!1);
|
385
|
+
ct(() => {
|
386
|
+
k.value = !0;
|
387
|
+
}), _e(de, {
|
394
388
|
register: (g, S) => {
|
395
389
|
let {
|
396
390
|
id: u,
|
397
|
-
order:
|
398
|
-
position:
|
399
|
-
layoutSize:
|
400
|
-
elementSize:
|
391
|
+
order: O,
|
392
|
+
position: x,
|
393
|
+
layoutSize: E,
|
394
|
+
elementSize: h,
|
401
395
|
active: y,
|
402
|
-
disableTransitions:
|
396
|
+
disableTransitions: p,
|
403
397
|
absolute: W
|
404
398
|
} = S;
|
405
|
-
|
406
|
-
const D =
|
399
|
+
s.set(u, O), a.set(u, x), r.set(u, E), i.set(u, y), p && l.set(u, p);
|
400
|
+
const D = Yt(xt, R?.vnode).indexOf(g);
|
407
401
|
D > -1 ? o.value.splice(D, 0, u) : o.value.push(u);
|
408
|
-
const
|
409
|
-
const
|
410
|
-
[
|
402
|
+
const _ = d(() => C.value.findIndex((X) => X.id === u)), F = d(() => n.value + w.value.length * 2 - _.value * 2), q = d(() => {
|
403
|
+
const X = x.value === "left" || x.value === "right", te = x.value === "right", ne = x.value === "bottom", ae = h.value ?? E.value, pe = ae === 0 ? "%" : "px", b = {
|
404
|
+
[x.value]: 0,
|
411
405
|
zIndex: F.value,
|
412
|
-
transform: `translate${
|
413
|
-
position: W.value || n.value !==
|
414
|
-
...
|
406
|
+
transform: `translate${X ? "X" : "Y"}(${(y.value ? 0 : -(ae === 0 ? 100 : ae)) * (te || ne ? -1 : 1)}${pe})`,
|
407
|
+
position: W.value || n.value !== Xe ? "absolute" : "fixed",
|
408
|
+
...P.value ? void 0 : {
|
415
409
|
transition: "none"
|
416
410
|
}
|
417
411
|
};
|
418
|
-
if (!
|
419
|
-
const
|
420
|
-
if (!
|
421
|
-
const
|
422
|
-
return
|
423
|
-
...
|
424
|
-
height:
|
425
|
-
left:
|
426
|
-
right:
|
427
|
-
top:
|
428
|
-
bottom:
|
429
|
-
width:
|
412
|
+
if (!k.value) return b;
|
413
|
+
const N = C.value[_.value];
|
414
|
+
if (!N) throw new Error(`[Vuetify] Could not find layout item "${u}"`);
|
415
|
+
const be = A.value.get(u);
|
416
|
+
return be && (N[be.position] += be.amount), {
|
417
|
+
...b,
|
418
|
+
height: X ? `calc(100% - ${N.top}px - ${N.bottom}px)` : h.value ? `${h.value}px` : void 0,
|
419
|
+
left: te ? void 0 : `${N.left}px`,
|
420
|
+
right: te ? `${N.right}px` : void 0,
|
421
|
+
top: x.value !== "bottom" ? `${N.top}px` : void 0,
|
422
|
+
bottom: x.value !== "top" ? `${N.bottom}px` : void 0,
|
423
|
+
width: X ? h.value ? `${h.value}px` : void 0 : `calc(100% - ${N.left}px - ${N.right}px)`
|
430
424
|
};
|
431
|
-
}),
|
425
|
+
}), Y = d(() => ({
|
432
426
|
zIndex: F.value - 1
|
433
427
|
}));
|
434
428
|
return {
|
435
|
-
layoutItemStyles:
|
436
|
-
layoutItemScrimStyles:
|
429
|
+
layoutItemStyles: q,
|
430
|
+
layoutItemScrimStyles: Y,
|
437
431
|
zIndex: F
|
438
432
|
};
|
439
433
|
},
|
440
434
|
unregister: (g) => {
|
441
|
-
|
435
|
+
s.delete(g), a.delete(g), r.delete(g), i.delete(g), l.delete(g), o.value = o.value.filter((S) => S !== g);
|
442
436
|
},
|
443
437
|
mainRect: m,
|
444
438
|
mainStyles: v,
|
445
439
|
getLayoutItem: T,
|
446
|
-
items:
|
440
|
+
items: C,
|
447
441
|
layoutRect: c,
|
448
442
|
rootZIndex: n
|
449
443
|
});
|
450
|
-
const
|
444
|
+
const M = d(() => ["v-layout", {
|
451
445
|
"v-layout--full-height": e.fullHeight
|
452
|
-
}]),
|
446
|
+
}]), $ = d(() => ({
|
453
447
|
zIndex: t ? n.value : void 0,
|
454
448
|
position: t ? "relative" : void 0,
|
455
449
|
overflow: t ? "hidden" : void 0
|
456
450
|
}));
|
457
451
|
return {
|
458
|
-
layoutClasses:
|
459
|
-
layoutStyles:
|
452
|
+
layoutClasses: M,
|
453
|
+
layoutStyles: $,
|
460
454
|
getLayoutItem: T,
|
461
|
-
items:
|
455
|
+
items: C,
|
462
456
|
layoutRect: c,
|
463
457
|
layoutRef: f
|
464
458
|
};
|
465
459
|
}
|
466
|
-
const
|
460
|
+
const We = (e, t) => {
|
467
461
|
const n = e.__vccOpts || e;
|
468
462
|
for (const [o, a] of t)
|
469
463
|
n[o] = a;
|
470
464
|
return n;
|
471
|
-
},
|
465
|
+
}, Ct = B({
|
472
466
|
tag: {
|
473
467
|
type: String,
|
474
468
|
default: "div"
|
475
469
|
}
|
476
470
|
}, "tag");
|
477
|
-
function
|
478
|
-
return
|
471
|
+
function Ot(e) {
|
472
|
+
return dt(() => {
|
479
473
|
const t = [], n = {};
|
480
474
|
if (e.value.background)
|
481
|
-
if (
|
475
|
+
if (je(e.value.background)) {
|
482
476
|
if (n.backgroundColor = e.value.background, !e.value.text && Jt(e.value.background)) {
|
483
|
-
const o =
|
477
|
+
const o = Zt(e.value.background);
|
484
478
|
if (o.a == null || o.a === 1) {
|
485
|
-
const a =
|
479
|
+
const a = Xt(o);
|
486
480
|
n.color = a, n.caretColor = a;
|
487
481
|
}
|
488
482
|
}
|
489
483
|
} else
|
490
484
|
t.push(`bg-${e.value.background}`);
|
491
|
-
return e.value.text && (
|
485
|
+
return e.value.text && (je(e.value.text) ? (n.color = e.value.text, n.caretColor = e.value.text) : t.push(`text-${e.value.text}`)), {
|
492
486
|
colorClasses: t,
|
493
487
|
colorStyles: n
|
494
488
|
};
|
495
489
|
});
|
496
490
|
}
|
497
|
-
function
|
491
|
+
function Zo(e, t) {
|
498
492
|
const n = d(() => ({
|
499
|
-
text:
|
493
|
+
text: ft(e) ? e.value : t ? e[t] : null
|
500
494
|
})), {
|
501
495
|
colorClasses: o,
|
502
496
|
colorStyles: a
|
503
|
-
} =
|
497
|
+
} = Ot(n);
|
504
498
|
return {
|
505
499
|
textColorClasses: o,
|
506
500
|
textColorStyles: a
|
507
501
|
};
|
508
502
|
}
|
509
|
-
function
|
503
|
+
function $n(e, t) {
|
510
504
|
const n = d(() => ({
|
511
|
-
background:
|
505
|
+
background: ft(e) ? e.value : t ? e[t] : null
|
512
506
|
})), {
|
513
507
|
colorClasses: o,
|
514
508
|
colorStyles: a
|
515
|
-
} =
|
509
|
+
} = Ot(n);
|
516
510
|
return {
|
517
511
|
backgroundColorClasses: o,
|
518
512
|
backgroundColorStyles: a
|
519
513
|
};
|
520
514
|
}
|
521
|
-
const
|
515
|
+
const Mn = B({
|
522
516
|
height: [Number, String],
|
523
517
|
maxHeight: [Number, String],
|
524
518
|
maxWidth: [Number, String],
|
@@ -526,55 +520,44 @@ const Wn = B({
|
|
526
520
|
minWidth: [Number, String],
|
527
521
|
width: [Number, String]
|
528
522
|
}, "dimension");
|
529
|
-
function
|
523
|
+
function Vn(e) {
|
530
524
|
return {
|
531
525
|
dimensionStyles: d(() => {
|
532
|
-
const n = {}, o =
|
533
|
-
return o != null && (n.height = o), a != null && (n.maxHeight = a), r != null && (n.maxWidth = r),
|
526
|
+
const n = {}, o = L(e.height), a = L(e.maxHeight), r = L(e.maxWidth), s = L(e.minHeight), i = L(e.minWidth), l = L(e.width);
|
527
|
+
return o != null && (n.height = o), a != null && (n.maxHeight = a), r != null && (n.maxWidth = r), s != null && (n.minHeight = s), i != null && (n.minWidth = i), l != null && (n.width = l), n;
|
534
528
|
})
|
535
529
|
};
|
536
530
|
}
|
537
|
-
function
|
538
|
-
const e =
|
539
|
-
return d(() =>
|
540
|
-
var t;
|
541
|
-
return (t = e == null ? void 0 : e.proxy) == null ? void 0 : t.$route;
|
542
|
-
});
|
531
|
+
function Wn() {
|
532
|
+
const e = U("useRoute");
|
533
|
+
return d(() => e?.proxy?.$route);
|
543
534
|
}
|
544
|
-
function
|
545
|
-
|
546
|
-
return (t = (e = q("useRouter")) == null ? void 0 : e.proxy) == null ? void 0 : t.$router;
|
535
|
+
function Fn() {
|
536
|
+
return U("useRouter")?.proxy?.$router;
|
547
537
|
}
|
548
|
-
function
|
549
|
-
|
550
|
-
const n = tn("RouterLink"), o = d(() => !!(e.href || e.to)), a = d(() => (o == null ? void 0 : o.value) || Ge(t, "click") || Ge(e, "click"));
|
538
|
+
function Xo(e, t) {
|
539
|
+
const n = Qt("RouterLink"), o = d(() => !!(e.href || e.to)), a = d(() => o?.value || He(t, "click") || He(e, "click"));
|
551
540
|
if (typeof n == "string" || !("useLink" in n)) {
|
552
|
-
const
|
541
|
+
const A = Le(e, "href");
|
553
542
|
return {
|
554
543
|
isLink: o,
|
555
544
|
isClickable: a,
|
556
|
-
href:
|
545
|
+
href: A,
|
557
546
|
linkProps: G({
|
558
|
-
href:
|
547
|
+
href: A
|
559
548
|
})
|
560
549
|
};
|
561
550
|
}
|
562
551
|
const r = d(() => ({
|
563
552
|
...e,
|
564
|
-
to:
|
565
|
-
})),
|
566
|
-
var p, m, v;
|
567
|
-
return s.value ? e.exact ? l.value ? ((v = s.value.isExactActive) == null ? void 0 : v.value) && nn(s.value.route.value.query, l.value.query) : ((m = s.value.isExactActive) == null ? void 0 : m.value) ?? !1 : ((p = s.value.isActive) == null ? void 0 : p.value) ?? !1 : !1;
|
568
|
-
}), c = d(() => {
|
569
|
-
var p;
|
570
|
-
return e.to ? (p = s.value) == null ? void 0 : p.route.value.href : e.href;
|
571
|
-
});
|
553
|
+
to: Le(() => e.to || "")
|
554
|
+
})), s = n.useLink(r.value), i = d(() => e.to ? s : void 0), l = Wn(), f = d(() => i.value ? e.exact ? l.value ? i.value.isExactActive?.value && en(i.value.route.value.query, l.value.query) : i.value.isExactActive?.value ?? !1 : i.value.isActive?.value ?? !1 : !1), c = d(() => e.to ? i.value?.route.value.href : e.href);
|
572
555
|
return {
|
573
556
|
isLink: o,
|
574
557
|
isClickable: a,
|
575
558
|
isActive: f,
|
576
|
-
route:
|
577
|
-
navigate:
|
559
|
+
route: i.value?.route,
|
560
|
+
navigate: i.value?.navigate,
|
578
561
|
href: c,
|
579
562
|
linkProps: G({
|
580
563
|
href: c,
|
@@ -582,36 +565,35 @@ function ea(e, t) {
|
|
582
565
|
})
|
583
566
|
};
|
584
567
|
}
|
585
|
-
const
|
568
|
+
const Qo = B({
|
586
569
|
href: String,
|
587
570
|
replace: Boolean,
|
588
571
|
to: [String, Object],
|
589
572
|
exact: Boolean
|
590
573
|
}, "router");
|
591
|
-
let
|
592
|
-
function
|
574
|
+
let we = !1;
|
575
|
+
function zn(e, t) {
|
593
576
|
let n = !1, o, a;
|
594
|
-
|
595
|
-
window.addEventListener("popstate", r), o = e.beforeEach((
|
596
|
-
|
597
|
-
}), a = e
|
598
|
-
|
577
|
+
K && e?.beforeEach && (me(() => {
|
578
|
+
window.addEventListener("popstate", r), o = e.beforeEach((s, i, l) => {
|
579
|
+
we ? n ? t(l) : l() : setTimeout(() => n ? t(l) : l()), we = !0;
|
580
|
+
}), a = e?.afterEach(() => {
|
581
|
+
we = !1;
|
599
582
|
});
|
600
583
|
}), H(() => {
|
601
|
-
window.removeEventListener("popstate", r), o
|
584
|
+
window.removeEventListener("popstate", r), o?.(), a?.();
|
602
585
|
}));
|
603
|
-
function r(
|
604
|
-
|
605
|
-
(s = i.state) != null && s.replaced || (n = !0, setTimeout(() => n = !1));
|
586
|
+
function r(s) {
|
587
|
+
s.state?.replaced || (n = !0, setTimeout(() => n = !1));
|
606
588
|
}
|
607
589
|
}
|
608
|
-
const
|
590
|
+
const jn = B({
|
609
591
|
transition: {
|
610
592
|
type: [Boolean, String, Object],
|
611
593
|
default: "fade-transition",
|
612
594
|
validator: (e) => e !== !0
|
613
595
|
}
|
614
|
-
}, "transition"),
|
596
|
+
}, "transition"), Hn = (e, t) => {
|
615
597
|
let {
|
616
598
|
slots: n
|
617
599
|
} = t;
|
@@ -619,41 +601,41 @@ const Dn = B({
|
|
619
601
|
transition: o,
|
620
602
|
disabled: a,
|
621
603
|
group: r,
|
622
|
-
...
|
604
|
+
...s
|
623
605
|
} = e, {
|
624
|
-
component:
|
606
|
+
component: i = r ? tn : vt,
|
625
607
|
...l
|
626
608
|
} = typeof o == "object" ? o : {};
|
627
|
-
return
|
609
|
+
return Ne(i, J(typeof o == "string" ? {
|
628
610
|
name: a ? "" : o
|
629
611
|
} : l, typeof o == "string" ? {} : Object.fromEntries(Object.entries({
|
630
612
|
disabled: a,
|
631
613
|
group: r
|
632
614
|
}).filter((f) => {
|
633
|
-
let [c,
|
634
|
-
return
|
635
|
-
})),
|
636
|
-
},
|
615
|
+
let [c, A] = f;
|
616
|
+
return A !== void 0;
|
617
|
+
})), s), n);
|
618
|
+
}, Lt = ge.reduce((e, t) => (e[t] = {
|
637
619
|
type: [Boolean, String, Number],
|
638
620
|
default: !1
|
639
|
-
}, e), {}),
|
640
|
-
const n = "offset" +
|
621
|
+
}, e), {}), Pt = ge.reduce((e, t) => {
|
622
|
+
const n = "offset" + Be(t);
|
641
623
|
return e[n] = {
|
642
624
|
type: [String, Number],
|
643
625
|
default: null
|
644
626
|
}, e;
|
645
|
-
}, {}),
|
646
|
-
const n = "order" +
|
627
|
+
}, {}), Rt = ge.reduce((e, t) => {
|
628
|
+
const n = "order" + Be(t);
|
647
629
|
return e[n] = {
|
648
630
|
type: [String, Number],
|
649
631
|
default: null
|
650
632
|
}, e;
|
651
|
-
}, {}),
|
652
|
-
col: Object.keys(
|
653
|
-
offset: Object.keys(
|
654
|
-
order: Object.keys(
|
633
|
+
}, {}), Qe = {
|
634
|
+
col: Object.keys(Lt),
|
635
|
+
offset: Object.keys(Pt),
|
636
|
+
order: Object.keys(Rt)
|
655
637
|
};
|
656
|
-
function
|
638
|
+
function Dn(e, t, n) {
|
657
639
|
let o = e;
|
658
640
|
if (!(n == null || n === !1)) {
|
659
641
|
if (t) {
|
@@ -663,32 +645,32 @@ function Gn(e, t, n) {
|
|
663
645
|
return e === "col" && (o = "v-" + o), e === "col" && (n === "" || n === !0) || (o += `-${n}`), o.toLowerCase();
|
664
646
|
}
|
665
647
|
}
|
666
|
-
const
|
648
|
+
const Gn = ["auto", "start", "end", "center", "baseline", "stretch"], Kn = B({
|
667
649
|
cols: {
|
668
650
|
type: [Boolean, String, Number],
|
669
651
|
default: !1
|
670
652
|
},
|
671
|
-
...
|
653
|
+
...Lt,
|
672
654
|
offset: {
|
673
655
|
type: [String, Number],
|
674
656
|
default: null
|
675
657
|
},
|
676
|
-
...
|
658
|
+
...Pt,
|
677
659
|
order: {
|
678
660
|
type: [String, Number],
|
679
661
|
default: null
|
680
662
|
},
|
681
|
-
...
|
663
|
+
...Rt,
|
682
664
|
alignSelf: {
|
683
665
|
type: String,
|
684
666
|
default: null,
|
685
|
-
validator: (e) =>
|
667
|
+
validator: (e) => Gn.includes(e)
|
686
668
|
},
|
687
|
-
...
|
688
|
-
...
|
689
|
-
}, "VCol"),
|
669
|
+
...he(),
|
670
|
+
...Ct()
|
671
|
+
}, "VCol"), Un = ye()({
|
690
672
|
name: "VCol",
|
691
|
-
props:
|
673
|
+
props: Kn(),
|
692
674
|
setup(e, t) {
|
693
675
|
let {
|
694
676
|
slots: n
|
@@ -696,59 +678,56 @@ const Un = ["auto", "start", "end", "center", "baseline", "stretch"], qn = B({
|
|
696
678
|
const o = d(() => {
|
697
679
|
const a = [];
|
698
680
|
let r;
|
699
|
-
for (r in
|
700
|
-
|
701
|
-
const l = e[
|
681
|
+
for (r in Qe)
|
682
|
+
Qe[r].forEach((i) => {
|
683
|
+
const l = e[i], f = Dn(r, i, l);
|
702
684
|
f && a.push(f);
|
703
685
|
});
|
704
|
-
const
|
686
|
+
const s = a.some((i) => i.startsWith("v-col-"));
|
705
687
|
return a.push({
|
706
688
|
// Default to .v-col if no other col-{bp}-* classes generated nor `cols` specified.
|
707
|
-
"v-col": !
|
689
|
+
"v-col": !s || !e.cols,
|
708
690
|
[`v-col-${e.cols}`]: e.cols,
|
709
691
|
[`offset-${e.offset}`]: e.offset,
|
710
692
|
[`order-${e.order}`]: e.order,
|
711
693
|
[`align-self-${e.alignSelf}`]: e.alignSelf
|
712
694
|
}), a;
|
713
695
|
});
|
714
|
-
return () => {
|
715
|
-
|
716
|
-
|
717
|
-
|
718
|
-
style: e.style
|
719
|
-
}, (a = n.default) == null ? void 0 : a.call(n));
|
720
|
-
};
|
696
|
+
return () => Ne(e.tag, {
|
697
|
+
class: [o.value, e.class],
|
698
|
+
style: e.style
|
699
|
+
}, n.default?.());
|
721
700
|
}
|
722
|
-
}),
|
723
|
-
function
|
724
|
-
return
|
725
|
-
const a = e +
|
701
|
+
}), Fe = ["start", "end", "center"], At = ["space-between", "space-around", "space-evenly"];
|
702
|
+
function ze(e, t) {
|
703
|
+
return ge.reduce((n, o) => {
|
704
|
+
const a = e + Be(o);
|
726
705
|
return n[a] = t(), n;
|
727
706
|
}, {});
|
728
707
|
}
|
729
|
-
const
|
708
|
+
const qn = [...Fe, "baseline", "stretch"], Tt = (e) => qn.includes(e), _t = ze("align", () => ({
|
730
709
|
type: String,
|
731
710
|
default: null,
|
732
|
-
validator:
|
733
|
-
})),
|
711
|
+
validator: Tt
|
712
|
+
})), Yn = [...Fe, ...At], Nt = (e) => Yn.includes(e), Bt = ze("justify", () => ({
|
734
713
|
type: String,
|
735
714
|
default: null,
|
736
|
-
validator:
|
737
|
-
})), Jn = [...
|
715
|
+
validator: Nt
|
716
|
+
})), Jn = [...Fe, ...At, "stretch"], It = (e) => Jn.includes(e), $t = ze("alignContent", () => ({
|
738
717
|
type: String,
|
739
718
|
default: null,
|
740
|
-
validator:
|
741
|
-
})),
|
742
|
-
align: Object.keys(
|
743
|
-
justify: Object.keys(
|
744
|
-
alignContent: Object.keys(
|
745
|
-
},
|
719
|
+
validator: It
|
720
|
+
})), et = {
|
721
|
+
align: Object.keys(_t),
|
722
|
+
justify: Object.keys(Bt),
|
723
|
+
alignContent: Object.keys($t)
|
724
|
+
}, Zn = {
|
746
725
|
align: "align",
|
747
726
|
justify: "justify",
|
748
727
|
alignContent: "align-content"
|
749
728
|
};
|
750
|
-
function
|
751
|
-
let o =
|
729
|
+
function Xn(e, t, n) {
|
730
|
+
let o = Zn[e];
|
752
731
|
if (n != null) {
|
753
732
|
if (t) {
|
754
733
|
const a = t.replace(e, "");
|
@@ -757,32 +736,32 @@ function eo(e, t, n) {
|
|
757
736
|
return o += `-${n}`, o.toLowerCase();
|
758
737
|
}
|
759
738
|
}
|
760
|
-
const
|
739
|
+
const Qn = B({
|
761
740
|
dense: Boolean,
|
762
741
|
noGutters: Boolean,
|
763
742
|
align: {
|
764
743
|
type: String,
|
765
744
|
default: null,
|
766
|
-
validator:
|
745
|
+
validator: Tt
|
767
746
|
},
|
768
|
-
...
|
747
|
+
..._t,
|
769
748
|
justify: {
|
770
749
|
type: String,
|
771
750
|
default: null,
|
772
|
-
validator:
|
751
|
+
validator: Nt
|
773
752
|
},
|
774
|
-
...
|
753
|
+
...Bt,
|
775
754
|
alignContent: {
|
776
755
|
type: String,
|
777
756
|
default: null,
|
778
|
-
validator:
|
757
|
+
validator: It
|
779
758
|
},
|
780
|
-
|
781
|
-
...
|
782
|
-
...
|
783
|
-
}, "VRow"),
|
759
|
+
...$t,
|
760
|
+
...he(),
|
761
|
+
...Ct()
|
762
|
+
}, "VRow"), eo = ye()({
|
784
763
|
name: "VRow",
|
785
|
-
props:
|
764
|
+
props: Qn(),
|
786
765
|
setup(e, t) {
|
787
766
|
let {
|
788
767
|
slots: n
|
@@ -790,9 +769,9 @@ const to = B({
|
|
790
769
|
const o = d(() => {
|
791
770
|
const a = [];
|
792
771
|
let r;
|
793
|
-
for (r in
|
794
|
-
|
795
|
-
const
|
772
|
+
for (r in et)
|
773
|
+
et[r].forEach((s) => {
|
774
|
+
const i = e[s], l = Xn(r, s, i);
|
796
775
|
l && a.push(l);
|
797
776
|
});
|
798
777
|
return a.push({
|
@@ -803,34 +782,31 @@ const to = B({
|
|
803
782
|
[`align-content-${e.alignContent}`]: e.alignContent
|
804
783
|
}), a;
|
805
784
|
});
|
806
|
-
return () => {
|
807
|
-
|
808
|
-
|
809
|
-
|
810
|
-
style: e.style
|
811
|
-
}, (a = n.default) == null ? void 0 : a.call(n));
|
812
|
-
};
|
785
|
+
return () => Ne(e.tag, {
|
786
|
+
class: ["v-row", o.value, e.class],
|
787
|
+
style: e.style
|
788
|
+
}, n.default?.());
|
813
789
|
}
|
814
790
|
});
|
815
|
-
function
|
791
|
+
function ke(e, t) {
|
816
792
|
return {
|
817
793
|
x: e.x + t.x,
|
818
794
|
y: e.y + t.y
|
819
795
|
};
|
820
796
|
}
|
821
|
-
function
|
797
|
+
function to(e, t) {
|
822
798
|
return {
|
823
799
|
x: e.x - t.x,
|
824
800
|
y: e.y - t.y
|
825
801
|
};
|
826
802
|
}
|
827
|
-
function
|
803
|
+
function tt(e, t) {
|
828
804
|
if (e.side === "top" || e.side === "bottom") {
|
829
805
|
const {
|
830
806
|
side: n,
|
831
807
|
align: o
|
832
808
|
} = e, a = o === "left" ? 0 : o === "center" ? t.width / 2 : o === "right" ? t.width : o, r = n === "top" ? 0 : n === "bottom" ? t.height : n;
|
833
|
-
return
|
809
|
+
return ke({
|
834
810
|
x: a,
|
835
811
|
y: r
|
836
812
|
}, t);
|
@@ -839,26 +815,26 @@ function at(e, t) {
|
|
839
815
|
side: n,
|
840
816
|
align: o
|
841
817
|
} = e, a = n === "left" ? 0 : n === "right" ? t.width : n, r = o === "top" ? 0 : o === "center" ? t.height / 2 : o === "bottom" ? t.height : o;
|
842
|
-
return
|
818
|
+
return ke({
|
843
819
|
x: a,
|
844
820
|
y: r
|
845
821
|
}, t);
|
846
822
|
}
|
847
|
-
return
|
823
|
+
return ke({
|
848
824
|
x: t.width / 2,
|
849
825
|
y: t.height / 2
|
850
826
|
}, t);
|
851
827
|
}
|
852
|
-
const
|
853
|
-
static:
|
828
|
+
const Mt = {
|
829
|
+
static: ao,
|
854
830
|
// specific viewport position, usually centered
|
855
|
-
connected:
|
831
|
+
connected: so
|
856
832
|
// connected to a certain element
|
857
|
-
},
|
833
|
+
}, no = B({
|
858
834
|
locationStrategy: {
|
859
835
|
type: [String, Function],
|
860
836
|
default: "static",
|
861
|
-
validator: (e) => typeof e == "function" || e in
|
837
|
+
validator: (e) => typeof e == "function" || e in Mt
|
862
838
|
},
|
863
839
|
location: {
|
864
840
|
type: String,
|
@@ -870,33 +846,31 @@ const Ft = {
|
|
870
846
|
},
|
871
847
|
offset: [Number, String, Array]
|
872
848
|
}, "VOverlay-location-strategies");
|
873
|
-
function
|
874
|
-
const n =
|
875
|
-
|
876
|
-
|
877
|
-
$(() => e.locationStrategy, r), H(() => {
|
849
|
+
function oo(e, t) {
|
850
|
+
const n = j({}), o = j();
|
851
|
+
K && Ie(() => !!(t.isActive.value && e.locationStrategy), (r) => {
|
852
|
+
I(() => e.locationStrategy, r), H(() => {
|
878
853
|
window.removeEventListener("resize", a), o.value = void 0;
|
879
854
|
}), window.addEventListener("resize", a, {
|
880
855
|
passive: !0
|
881
|
-
}), typeof e.locationStrategy == "function" ? o.value =
|
856
|
+
}), typeof e.locationStrategy == "function" ? o.value = e.locationStrategy(t, e, n)?.updateLocation : o.value = Mt[e.locationStrategy](t, e, n)?.updateLocation;
|
882
857
|
});
|
883
858
|
function a(r) {
|
884
|
-
|
885
|
-
(i = o.value) == null || i.call(o, r);
|
859
|
+
o.value?.(r);
|
886
860
|
}
|
887
861
|
return {
|
888
862
|
contentStyles: n,
|
889
863
|
updateLocation: o
|
890
864
|
};
|
891
865
|
}
|
892
|
-
function
|
866
|
+
function ao() {
|
893
867
|
}
|
894
|
-
function
|
895
|
-
const n =
|
868
|
+
function ro(e, t) {
|
869
|
+
const n = xn(e);
|
896
870
|
return t ? n.x += parseFloat(e.style.right || 0) : n.x -= parseFloat(e.style.left || 0), n.y -= parseFloat(e.style.top || 0), n;
|
897
871
|
}
|
898
|
-
function
|
899
|
-
(Array.isArray(e.target.value) ||
|
872
|
+
function so(e, t, n) {
|
873
|
+
(Array.isArray(e.target.value) || Tn(e.target.value)) && Object.assign(n.value, {
|
900
874
|
position: "fixed",
|
901
875
|
top: 0,
|
902
876
|
[e.isRtl.value ? "right" : "left"]: 0
|
@@ -904,16 +878,16 @@ function lo(e, t, n) {
|
|
904
878
|
const {
|
905
879
|
preferredAnchor: a,
|
906
880
|
preferredOrigin: r
|
907
|
-
} =
|
908
|
-
const m =
|
909
|
-
return m.side === v.side && m.align ===
|
910
|
-
preferredAnchor:
|
911
|
-
preferredOrigin:
|
881
|
+
} = dt(() => {
|
882
|
+
const m = Ue(t.location, e.isRtl.value), v = t.origin === "overlap" ? m : t.origin === "auto" ? Se(m) : Ue(t.origin, e.isRtl.value);
|
883
|
+
return m.side === v.side && m.align === Ee(v).align ? {
|
884
|
+
preferredAnchor: Ye(m),
|
885
|
+
preferredOrigin: Ye(v)
|
912
886
|
} : {
|
913
887
|
preferredAnchor: m,
|
914
888
|
preferredOrigin: v
|
915
889
|
};
|
916
|
-
}), [
|
890
|
+
}), [s, i, l, f] = ["minWidth", "minHeight", "maxWidth", "maxHeight"].map((m) => d(() => {
|
917
891
|
const v = parseFloat(t[m]);
|
918
892
|
return isNaN(v) ? 1 / 0 : v;
|
919
893
|
})), c = d(() => {
|
@@ -925,53 +899,53 @@ function lo(e, t, n) {
|
|
925
899
|
}
|
926
900
|
return typeof t.offset == "number" ? [t.offset, 0] : [0, 0];
|
927
901
|
});
|
928
|
-
let
|
929
|
-
const
|
930
|
-
|
902
|
+
let A = !1;
|
903
|
+
const w = new ResizeObserver(() => {
|
904
|
+
A && P();
|
931
905
|
});
|
932
|
-
|
933
|
-
let [
|
934
|
-
|
906
|
+
I([e.target, e.contentEl], (m, v) => {
|
907
|
+
let [C, T] = m, [R, k] = v;
|
908
|
+
R && !Array.isArray(R) && w.unobserve(R), C && !Array.isArray(C) && w.observe(C), k && w.unobserve(k), T && w.observe(T);
|
935
909
|
}, {
|
936
910
|
immediate: !0
|
937
911
|
}), H(() => {
|
938
|
-
|
912
|
+
w.disconnect();
|
939
913
|
});
|
940
|
-
function
|
941
|
-
if (
|
942
|
-
const m =
|
943
|
-
|
944
|
-
const
|
945
|
-
const y =
|
946
|
-
x:
|
947
|
-
y:
|
948
|
-
width:
|
949
|
-
height:
|
914
|
+
function P() {
|
915
|
+
if (A = !1, requestAnimationFrame(() => A = !0), !e.target.value || !e.contentEl.value) return;
|
916
|
+
const m = kn(e.target.value), v = ro(e.contentEl.value, e.isRtl.value), C = fe(e.contentEl.value), T = 12;
|
917
|
+
C.length || (C.push(document.documentElement), e.contentEl.value.style.top && e.contentEl.value.style.left || (v.x -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-x") || 0), v.y -= parseFloat(document.documentElement.style.getPropertyValue("--v-body-scroll-y") || 0)));
|
918
|
+
const R = C.reduce((E, h) => {
|
919
|
+
const y = h.getBoundingClientRect(), p = new ee({
|
920
|
+
x: h === document.documentElement ? 0 : y.x,
|
921
|
+
y: h === document.documentElement ? 0 : y.y,
|
922
|
+
width: h.clientWidth,
|
923
|
+
height: h.clientHeight
|
950
924
|
});
|
951
|
-
return
|
952
|
-
x: Math.max(
|
953
|
-
y: Math.max(
|
954
|
-
width: Math.min(
|
955
|
-
height: Math.min(
|
956
|
-
}) :
|
925
|
+
return E ? new ee({
|
926
|
+
x: Math.max(E.left, p.left),
|
927
|
+
y: Math.max(E.top, p.top),
|
928
|
+
width: Math.min(E.right, p.right) - Math.max(E.left, p.left),
|
929
|
+
height: Math.min(E.bottom, p.bottom) - Math.max(E.top, p.top)
|
930
|
+
}) : p;
|
957
931
|
}, void 0);
|
958
|
-
|
959
|
-
let
|
932
|
+
R.x += T, R.y += T, R.width -= T * 2, R.height -= T * 2;
|
933
|
+
let k = {
|
960
934
|
anchor: a.value,
|
961
935
|
origin: r.value
|
962
936
|
};
|
963
|
-
function
|
964
|
-
const
|
937
|
+
function M(E) {
|
938
|
+
const h = new ee(v), y = tt(E.anchor, m), p = tt(E.origin, h);
|
965
939
|
let {
|
966
940
|
x: W,
|
967
|
-
y:
|
968
|
-
} =
|
969
|
-
switch (
|
941
|
+
y: z
|
942
|
+
} = to(y, p);
|
943
|
+
switch (E.anchor.side) {
|
970
944
|
case "top":
|
971
|
-
|
945
|
+
z -= c.value[0];
|
972
946
|
break;
|
973
947
|
case "bottom":
|
974
|
-
|
948
|
+
z += c.value[0];
|
975
949
|
break;
|
976
950
|
case "left":
|
977
951
|
W -= c.value[0];
|
@@ -980,12 +954,12 @@ function lo(e, t, n) {
|
|
980
954
|
W += c.value[0];
|
981
955
|
break;
|
982
956
|
}
|
983
|
-
switch (
|
957
|
+
switch (E.anchor.align) {
|
984
958
|
case "top":
|
985
|
-
|
959
|
+
z -= c.value[1];
|
986
960
|
break;
|
987
961
|
case "bottom":
|
988
|
-
|
962
|
+
z += c.value[1];
|
989
963
|
break;
|
990
964
|
case "left":
|
991
965
|
W -= c.value[1];
|
@@ -994,13 +968,13 @@ function lo(e, t, n) {
|
|
994
968
|
W += c.value[1];
|
995
969
|
break;
|
996
970
|
}
|
997
|
-
return
|
998
|
-
overflows:
|
971
|
+
return h.x += W, h.y += z, h.width = Math.min(h.width, l.value), h.height = Math.min(h.height, f.value), {
|
972
|
+
overflows: Ze(h, R),
|
999
973
|
x: W,
|
1000
|
-
y:
|
974
|
+
y: z
|
1001
975
|
};
|
1002
976
|
}
|
1003
|
-
let
|
977
|
+
let $ = 0, g = 0;
|
1004
978
|
const S = {
|
1005
979
|
x: 0,
|
1006
980
|
y: 0
|
@@ -1008,159 +982,156 @@ function lo(e, t, n) {
|
|
1008
982
|
x: !1,
|
1009
983
|
y: !1
|
1010
984
|
};
|
1011
|
-
let
|
1012
|
-
for (; !(
|
985
|
+
let O = -1;
|
986
|
+
for (; !(O++ > 10); ) {
|
1013
987
|
const {
|
1014
|
-
x,
|
1015
|
-
y:
|
988
|
+
x: E,
|
989
|
+
y: h,
|
1016
990
|
overflows: y
|
1017
|
-
} =
|
1018
|
-
|
991
|
+
} = M(k);
|
992
|
+
$ += E, g += h, v.x += E, v.y += h;
|
1019
993
|
{
|
1020
|
-
const
|
994
|
+
const p = Je(k.anchor), W = y.x.before || y.x.after, z = y.y.before || y.y.after;
|
1021
995
|
let D = !1;
|
1022
|
-
if (["x", "y"].forEach((
|
1023
|
-
if (
|
996
|
+
if (["x", "y"].forEach((_) => {
|
997
|
+
if (_ === "x" && W && !u.x || _ === "y" && z && !u.y) {
|
1024
998
|
const F = {
|
1025
999
|
anchor: {
|
1026
|
-
...
|
1000
|
+
...k.anchor
|
1027
1001
|
},
|
1028
1002
|
origin: {
|
1029
|
-
...
|
1003
|
+
...k.origin
|
1030
1004
|
}
|
1031
|
-
},
|
1032
|
-
F.anchor =
|
1005
|
+
}, q = _ === "x" ? p === "y" ? Ee : Se : p === "y" ? Se : Ee;
|
1006
|
+
F.anchor = q(F.anchor), F.origin = q(F.origin);
|
1033
1007
|
const {
|
1034
|
-
overflows:
|
1035
|
-
} =
|
1036
|
-
(
|
1008
|
+
overflows: Y
|
1009
|
+
} = M(F);
|
1010
|
+
(Y[_].before <= y[_].before && Y[_].after <= y[_].after || Y[_].before + Y[_].after < (y[_].before + y[_].after) / 2) && (k = F, D = u[_] = !0);
|
1037
1011
|
}
|
1038
1012
|
}), D) continue;
|
1039
1013
|
}
|
1040
|
-
y.x.before && (
|
1014
|
+
y.x.before && ($ += y.x.before, v.x += y.x.before), y.x.after && ($ -= y.x.after, v.x -= y.x.after), y.y.before && (g += y.y.before, v.y += y.y.before), y.y.after && (g -= y.y.after, v.y -= y.y.after);
|
1041
1015
|
{
|
1042
|
-
const
|
1043
|
-
S.x =
|
1016
|
+
const p = Ze(v, R);
|
1017
|
+
S.x = R.width - p.x.before - p.x.after, S.y = R.height - p.y.before - p.y.after, $ += p.x.before, v.x += p.x.before, g += p.y.before, v.y += p.y.before;
|
1044
1018
|
}
|
1045
1019
|
break;
|
1046
1020
|
}
|
1047
|
-
const
|
1021
|
+
const x = Je(k.anchor);
|
1048
1022
|
return Object.assign(n.value, {
|
1049
|
-
"--v-overlay-anchor-origin": `${
|
1050
|
-
transformOrigin: `${
|
1023
|
+
"--v-overlay-anchor-origin": `${k.anchor.side} ${k.anchor.align}`,
|
1024
|
+
transformOrigin: `${k.origin.side} ${k.origin.align}`,
|
1051
1025
|
// transform: `translate(${pixelRound(x)}px, ${pixelRound(y)}px)`,
|
1052
|
-
top:
|
1053
|
-
left: e.isRtl.value ? void 0 :
|
1054
|
-
right: e.isRtl.value ?
|
1055
|
-
minWidth:
|
1056
|
-
maxWidth:
|
1057
|
-
maxHeight:
|
1026
|
+
top: L(xe(g)),
|
1027
|
+
left: e.isRtl.value ? void 0 : L(xe($)),
|
1028
|
+
right: e.isRtl.value ? L(xe(-$)) : void 0,
|
1029
|
+
minWidth: L(x === "y" ? Math.min(s.value, m.width) : s.value),
|
1030
|
+
maxWidth: L(nt(De(S.x, s.value === 1 / 0 ? 0 : s.value, l.value))),
|
1031
|
+
maxHeight: L(nt(De(S.y, i.value === 1 / 0 ? 0 : i.value, f.value)))
|
1058
1032
|
}), {
|
1059
1033
|
available: S,
|
1060
1034
|
contentBox: v
|
1061
1035
|
};
|
1062
1036
|
}
|
1063
|
-
return
|
1064
|
-
const m =
|
1037
|
+
return I(() => [a.value, r.value, t.offset, t.minWidth, t.minHeight, t.maxWidth, t.maxHeight], () => P()), me(() => {
|
1038
|
+
const m = P();
|
1065
1039
|
if (!m) return;
|
1066
1040
|
const {
|
1067
1041
|
available: v,
|
1068
|
-
contentBox:
|
1042
|
+
contentBox: C
|
1069
1043
|
} = m;
|
1070
|
-
|
1071
|
-
|
1072
|
-
|
1044
|
+
C.height > v.y && requestAnimationFrame(() => {
|
1045
|
+
P(), requestAnimationFrame(() => {
|
1046
|
+
P();
|
1073
1047
|
});
|
1074
1048
|
});
|
1075
1049
|
}), {
|
1076
|
-
updateLocation:
|
1050
|
+
updateLocation: P
|
1077
1051
|
};
|
1078
1052
|
}
|
1079
|
-
function
|
1053
|
+
function xe(e) {
|
1080
1054
|
return Math.round(e * devicePixelRatio) / devicePixelRatio;
|
1081
1055
|
}
|
1082
|
-
function
|
1056
|
+
function nt(e) {
|
1083
1057
|
return Math.ceil(e * devicePixelRatio) / devicePixelRatio;
|
1084
1058
|
}
|
1085
|
-
let
|
1086
|
-
const
|
1087
|
-
function
|
1088
|
-
!
|
1059
|
+
let Re = !0;
|
1060
|
+
const ve = [];
|
1061
|
+
function io(e) {
|
1062
|
+
!Re || ve.length ? (ve.push(e), Ae()) : (Re = !1, e(), Ae());
|
1089
1063
|
}
|
1090
|
-
let
|
1091
|
-
function
|
1092
|
-
cancelAnimationFrame(
|
1093
|
-
const e =
|
1094
|
-
e && e(),
|
1064
|
+
let ot = -1;
|
1065
|
+
function Ae() {
|
1066
|
+
cancelAnimationFrame(ot), ot = requestAnimationFrame(() => {
|
1067
|
+
const e = ve.shift();
|
1068
|
+
e && e(), ve.length ? Ae() : Re = !0;
|
1095
1069
|
});
|
1096
1070
|
}
|
1097
|
-
const
|
1071
|
+
const Vt = {
|
1098
1072
|
none: null,
|
1099
|
-
close:
|
1100
|
-
block:
|
1101
|
-
reposition:
|
1102
|
-
},
|
1073
|
+
close: co,
|
1074
|
+
block: fo,
|
1075
|
+
reposition: vo
|
1076
|
+
}, lo = B({
|
1103
1077
|
scrollStrategy: {
|
1104
1078
|
type: [String, Function],
|
1105
1079
|
default: "block",
|
1106
|
-
validator: (e) => typeof e == "function" || e in
|
1080
|
+
validator: (e) => typeof e == "function" || e in Vt
|
1107
1081
|
}
|
1108
1082
|
}, "VOverlay-scroll-strategies");
|
1109
|
-
function
|
1110
|
-
if (!
|
1083
|
+
function uo(e, t) {
|
1084
|
+
if (!K) return;
|
1111
1085
|
let n;
|
1112
|
-
|
1113
|
-
n
|
1114
|
-
|
1115
|
-
typeof e.scrollStrategy == "function" ? e.scrollStrategy(t, e, n) : (o = de[e.scrollStrategy]) == null || o.call(de, t, e, n);
|
1086
|
+
$e(async () => {
|
1087
|
+
n?.stop(), t.isActive.value && e.scrollStrategy && (n = mt(), await new Promise((o) => setTimeout(o)), n.active && n.run(() => {
|
1088
|
+
typeof e.scrollStrategy == "function" ? e.scrollStrategy(t, e, n) : Vt[e.scrollStrategy]?.(t, e, n);
|
1116
1089
|
}));
|
1117
1090
|
}), H(() => {
|
1118
|
-
n
|
1091
|
+
n?.stop();
|
1119
1092
|
});
|
1120
1093
|
}
|
1121
|
-
function
|
1094
|
+
function co(e) {
|
1122
1095
|
function t(n) {
|
1123
1096
|
e.isActive.value = !1;
|
1124
1097
|
}
|
1125
|
-
|
1098
|
+
Wt(e.targetEl.value ?? e.contentEl.value, t);
|
1126
1099
|
}
|
1127
|
-
function
|
1128
|
-
|
1129
|
-
|
1130
|
-
|
1131
|
-
s.style.setProperty("--v-body-scroll-x", _(-s.scrollLeft)), s.style.setProperty("--v-body-scroll-y", _(-s.scrollTop)), s !== document.documentElement && s.style.setProperty("--v-scrollbar-offset", _(a)), s.classList.add("v-overlay-scroll-blocked");
|
1100
|
+
function fo(e, t) {
|
1101
|
+
const n = e.root.value?.offsetParent, o = [.../* @__PURE__ */ new Set([...fe(e.targetEl.value, t.contained ? n : void 0), ...fe(e.contentEl.value, t.contained ? n : void 0)])].filter((s) => !s.classList.contains("v-overlay-scroll-blocked")), a = window.innerWidth - document.documentElement.offsetWidth, r = ((s) => Ve(s) && s)(n || document.documentElement);
|
1102
|
+
r && e.root.value.classList.add("v-overlay--scroll-blocked"), o.forEach((s, i) => {
|
1103
|
+
s.style.setProperty("--v-body-scroll-x", L(-s.scrollLeft)), s.style.setProperty("--v-body-scroll-y", L(-s.scrollTop)), s !== document.documentElement && s.style.setProperty("--v-scrollbar-offset", L(a)), s.classList.add("v-overlay-scroll-blocked");
|
1132
1104
|
}), H(() => {
|
1133
|
-
o.forEach((s,
|
1134
|
-
const
|
1135
|
-
s.style.scrollBehavior = "auto", s.style.removeProperty("--v-body-scroll-x"), s.style.removeProperty("--v-body-scroll-y"), s.style.removeProperty("--v-scrollbar-offset"), s.classList.remove("v-overlay-scroll-blocked"), s.scrollLeft = -
|
1105
|
+
o.forEach((s, i) => {
|
1106
|
+
const l = parseFloat(s.style.getPropertyValue("--v-body-scroll-x")), f = parseFloat(s.style.getPropertyValue("--v-body-scroll-y")), c = s.style.scrollBehavior;
|
1107
|
+
s.style.scrollBehavior = "auto", s.style.removeProperty("--v-body-scroll-x"), s.style.removeProperty("--v-body-scroll-y"), s.style.removeProperty("--v-scrollbar-offset"), s.classList.remove("v-overlay-scroll-blocked"), s.scrollLeft = -l, s.scrollTop = -f, s.style.scrollBehavior = c;
|
1136
1108
|
}), r && e.root.value.classList.remove("v-overlay--scroll-blocked");
|
1137
1109
|
});
|
1138
1110
|
}
|
1139
|
-
function
|
1111
|
+
function vo(e, t, n) {
|
1140
1112
|
let o = !1, a = -1, r = -1;
|
1141
|
-
function i
|
1142
|
-
|
1143
|
-
var c, k;
|
1113
|
+
function s(i) {
|
1114
|
+
io(() => {
|
1144
1115
|
const l = performance.now();
|
1145
|
-
|
1116
|
+
e.updateLocation.value?.(i), o = (performance.now() - l) / (1e3 / 60) > 2;
|
1146
1117
|
});
|
1147
1118
|
}
|
1148
|
-
r = (typeof requestIdleCallback > "u" ? (
|
1119
|
+
r = (typeof requestIdleCallback > "u" ? (i) => i() : requestIdleCallback)(() => {
|
1149
1120
|
n.run(() => {
|
1150
|
-
|
1121
|
+
Wt(e.targetEl.value ?? e.contentEl.value, (i) => {
|
1151
1122
|
o ? (cancelAnimationFrame(a), a = requestAnimationFrame(() => {
|
1152
1123
|
a = requestAnimationFrame(() => {
|
1153
|
-
i
|
1124
|
+
s(i);
|
1154
1125
|
});
|
1155
|
-
})) : i
|
1126
|
+
})) : s(i);
|
1156
1127
|
});
|
1157
1128
|
});
|
1158
1129
|
}), H(() => {
|
1159
1130
|
typeof cancelIdleCallback < "u" && cancelIdleCallback(r), cancelAnimationFrame(a);
|
1160
1131
|
});
|
1161
1132
|
}
|
1162
|
-
function
|
1163
|
-
const n = [document, ...
|
1133
|
+
function Wt(e, t) {
|
1134
|
+
const n = [document, ...fe(e)];
|
1164
1135
|
n.forEach((o) => {
|
1165
1136
|
o.addEventListener("scroll", t, {
|
1166
1137
|
passive: !0
|
@@ -1171,19 +1142,19 @@ function jt(e, t) {
|
|
1171
1142
|
});
|
1172
1143
|
});
|
1173
1144
|
}
|
1174
|
-
const
|
1145
|
+
const mo = Symbol.for("vuetify:v-menu"), yo = B({
|
1175
1146
|
closeDelay: [Number, String],
|
1176
1147
|
openDelay: [Number, String]
|
1177
1148
|
}, "delay");
|
1178
|
-
function
|
1149
|
+
function go(e, t) {
|
1179
1150
|
let n = () => {
|
1180
1151
|
};
|
1181
|
-
function o(
|
1182
|
-
n
|
1183
|
-
const
|
1152
|
+
function o(s) {
|
1153
|
+
n?.();
|
1154
|
+
const i = Number(s ? e.openDelay : e.closeDelay);
|
1184
1155
|
return new Promise((l) => {
|
1185
|
-
n =
|
1186
|
-
t
|
1156
|
+
n = nn(i, () => {
|
1157
|
+
t?.(s), l(s);
|
1187
1158
|
});
|
1188
1159
|
});
|
1189
1160
|
}
|
@@ -1199,7 +1170,7 @@ function po(e, t) {
|
|
1199
1170
|
runCloseDelay: r
|
1200
1171
|
};
|
1201
1172
|
}
|
1202
|
-
const
|
1173
|
+
const ho = B({
|
1203
1174
|
target: [String, Object],
|
1204
1175
|
activator: [String, Object],
|
1205
1176
|
activatorProps: {
|
@@ -1216,170 +1187,167 @@ const bo = B({
|
|
1216
1187
|
default: void 0
|
1217
1188
|
},
|
1218
1189
|
closeOnContentClick: Boolean,
|
1219
|
-
...
|
1190
|
+
...yo()
|
1220
1191
|
}, "VOverlay-activator");
|
1221
|
-
function
|
1192
|
+
function po(e, t) {
|
1222
1193
|
let {
|
1223
1194
|
isActive: n,
|
1224
1195
|
isTop: o,
|
1225
1196
|
contentEl: a
|
1226
1197
|
} = t;
|
1227
|
-
const r =
|
1228
|
-
let
|
1229
|
-
const c = d(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover),
|
1230
|
-
runOpenDelay:
|
1231
|
-
runCloseDelay:
|
1232
|
-
} =
|
1233
|
-
u === (e.openOnHover &&
|
1234
|
-
}), m =
|
1198
|
+
const r = U("useActivator"), s = j();
|
1199
|
+
let i = !1, l = !1, f = !0;
|
1200
|
+
const c = d(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover), A = d(() => e.openOnClick || e.openOnClick == null && !e.openOnHover && !c.value), {
|
1201
|
+
runOpenDelay: w,
|
1202
|
+
runCloseDelay: P
|
1203
|
+
} = go(e, (u) => {
|
1204
|
+
u === (e.openOnHover && i || c.value && l) && !(e.openOnHover && n.value && !o.value) && (n.value !== u && (f = !0), n.value = u);
|
1205
|
+
}), m = j(), v = {
|
1235
1206
|
onClick: (u) => {
|
1236
|
-
u.stopPropagation(),
|
1207
|
+
u.stopPropagation(), s.value = u.currentTarget || u.target, n.value || (m.value = [u.clientX, u.clientY]), n.value = !n.value;
|
1237
1208
|
},
|
1238
1209
|
onMouseenter: (u) => {
|
1239
|
-
|
1240
|
-
(E = u.sourceCapabilities) != null && E.firesTouchEvents || (s = !0, i.value = u.currentTarget || u.target, C());
|
1210
|
+
u.sourceCapabilities?.firesTouchEvents || (i = !0, s.value = u.currentTarget || u.target, w());
|
1241
1211
|
},
|
1242
1212
|
onMouseleave: (u) => {
|
1243
|
-
|
1213
|
+
i = !1, P();
|
1244
1214
|
},
|
1245
1215
|
onFocus: (u) => {
|
1246
|
-
|
1216
|
+
on(u.target, ":focus-visible") !== !1 && (l = !0, u.stopPropagation(), s.value = u.currentTarget || u.target, w());
|
1247
1217
|
},
|
1248
1218
|
onBlur: (u) => {
|
1249
|
-
l = !1, u.stopPropagation(),
|
1219
|
+
l = !1, u.stopPropagation(), P();
|
1250
1220
|
}
|
1251
|
-
},
|
1221
|
+
}, C = d(() => {
|
1252
1222
|
const u = {};
|
1253
|
-
return
|
1223
|
+
return A.value && (u.onClick = v.onClick), e.openOnHover && (u.onMouseenter = v.onMouseenter, u.onMouseleave = v.onMouseleave), c.value && (u.onFocus = v.onFocus, u.onBlur = v.onBlur), u;
|
1254
1224
|
}), T = d(() => {
|
1255
1225
|
const u = {};
|
1256
1226
|
if (e.openOnHover && (u.onMouseenter = () => {
|
1257
|
-
|
1227
|
+
i = !0, w();
|
1258
1228
|
}, u.onMouseleave = () => {
|
1259
|
-
|
1229
|
+
i = !1, P();
|
1260
1230
|
}), c.value && (u.onFocusin = () => {
|
1261
|
-
l = !0,
|
1231
|
+
l = !0, w();
|
1262
1232
|
}, u.onFocusout = () => {
|
1263
|
-
l = !1,
|
1233
|
+
l = !1, P();
|
1264
1234
|
}), e.closeOnContentClick) {
|
1265
|
-
const
|
1235
|
+
const O = le(mo, null);
|
1266
1236
|
u.onClick = () => {
|
1267
|
-
n.value = !1,
|
1237
|
+
n.value = !1, O?.closeParents();
|
1268
1238
|
};
|
1269
1239
|
}
|
1270
1240
|
return u;
|
1271
|
-
}),
|
1241
|
+
}), R = d(() => {
|
1272
1242
|
const u = {};
|
1273
1243
|
return e.openOnHover && (u.onMouseenter = () => {
|
1274
|
-
f && (
|
1244
|
+
f && (i = !0, f = !1, w());
|
1275
1245
|
}, u.onMouseleave = () => {
|
1276
|
-
|
1246
|
+
i = !1, P();
|
1277
1247
|
}), u;
|
1278
1248
|
});
|
1279
|
-
|
1280
|
-
|
1281
|
-
|
1282
|
-
}), $(n, (u) => {
|
1249
|
+
I(o, (u) => {
|
1250
|
+
u && (e.openOnHover && !i && (!c.value || !l) || c.value && !l && (!e.openOnHover || !i)) && !a.value?.contains(document.activeElement) && (n.value = !1);
|
1251
|
+
}), I(n, (u) => {
|
1283
1252
|
u || setTimeout(() => {
|
1284
1253
|
m.value = void 0;
|
1285
1254
|
});
|
1286
1255
|
}, {
|
1287
1256
|
flush: "post"
|
1288
1257
|
});
|
1289
|
-
const
|
1290
|
-
|
1291
|
-
|
1292
|
-
|
1258
|
+
const k = Oe();
|
1259
|
+
$e(() => {
|
1260
|
+
k.value && me(() => {
|
1261
|
+
s.value = k.el;
|
1293
1262
|
});
|
1294
1263
|
});
|
1295
|
-
const
|
1264
|
+
const M = Oe(), $ = d(() => e.target === "cursor" && m.value ? m.value : M.value ? M.el : Ft(e.target, r) || s.value), g = d(() => Array.isArray($.value) ? void 0 : $.value);
|
1296
1265
|
let S;
|
1297
|
-
return
|
1298
|
-
u &&
|
1299
|
-
|
1300
|
-
activatorEl:
|
1301
|
-
activatorEvents:
|
1266
|
+
return I(() => !!e.activator, (u) => {
|
1267
|
+
u && K ? (S = mt(), S.run(() => {
|
1268
|
+
bo(e, r, {
|
1269
|
+
activatorEl: s,
|
1270
|
+
activatorEvents: C
|
1302
1271
|
});
|
1303
1272
|
})) : S && S.stop();
|
1304
1273
|
}, {
|
1305
1274
|
flush: "post",
|
1306
1275
|
immediate: !0
|
1307
1276
|
}), H(() => {
|
1308
|
-
S
|
1277
|
+
S?.stop();
|
1309
1278
|
}), {
|
1310
|
-
activatorEl:
|
1311
|
-
activatorRef:
|
1312
|
-
target:
|
1279
|
+
activatorEl: s,
|
1280
|
+
activatorRef: k,
|
1281
|
+
target: $,
|
1313
1282
|
targetEl: g,
|
1314
|
-
targetRef:
|
1315
|
-
activatorEvents:
|
1283
|
+
targetRef: M,
|
1284
|
+
activatorEvents: C,
|
1316
1285
|
contentEvents: T,
|
1317
|
-
scrimEvents:
|
1286
|
+
scrimEvents: R
|
1318
1287
|
};
|
1319
1288
|
}
|
1320
|
-
function
|
1289
|
+
function bo(e, t, n) {
|
1321
1290
|
let {
|
1322
1291
|
activatorEl: o,
|
1323
1292
|
activatorEvents: a
|
1324
1293
|
} = n;
|
1325
|
-
|
1294
|
+
I(() => e.activator, (l, f) => {
|
1326
1295
|
if (f && l !== f) {
|
1327
|
-
const c =
|
1328
|
-
c &&
|
1296
|
+
const c = i(f);
|
1297
|
+
c && s(c);
|
1329
1298
|
}
|
1330
|
-
l &&
|
1299
|
+
l && me(() => r());
|
1331
1300
|
}, {
|
1332
1301
|
immediate: !0
|
1333
|
-
}),
|
1302
|
+
}), I(() => e.activatorProps, () => {
|
1334
1303
|
r();
|
1335
1304
|
}), H(() => {
|
1336
|
-
|
1305
|
+
s();
|
1337
1306
|
});
|
1338
1307
|
function r() {
|
1339
|
-
let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] :
|
1340
|
-
l &&
|
1341
|
-
}
|
1342
|
-
function i() {
|
1343
|
-
let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : s(), f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.activatorProps;
|
1344
|
-
l && An(l, Z(a.value, f));
|
1308
|
+
let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : i(), f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.activatorProps;
|
1309
|
+
l && On(l, J(a.value, f));
|
1345
1310
|
}
|
1346
1311
|
function s() {
|
1312
|
+
let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : i(), f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.activatorProps;
|
1313
|
+
l && Ln(l, J(a.value, f));
|
1314
|
+
}
|
1315
|
+
function i() {
|
1347
1316
|
let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : e.activator;
|
1348
|
-
const f =
|
1349
|
-
return o.value =
|
1317
|
+
const f = Ft(l, t);
|
1318
|
+
return o.value = f?.nodeType === Node.ELEMENT_NODE ? f : void 0, o.value;
|
1350
1319
|
}
|
1351
1320
|
}
|
1352
|
-
function
|
1353
|
-
var o, a;
|
1321
|
+
function Ft(e, t) {
|
1354
1322
|
if (!e) return;
|
1355
1323
|
let n;
|
1356
1324
|
if (e === "parent") {
|
1357
|
-
let
|
1358
|
-
for (;
|
1359
|
-
|
1360
|
-
n =
|
1325
|
+
let o = t?.proxy?.$el?.parentNode;
|
1326
|
+
for (; o?.hasAttribute("data-no-activator"); )
|
1327
|
+
o = o.parentNode;
|
1328
|
+
n = o;
|
1361
1329
|
} else typeof e == "string" ? n = document.querySelector(e) : "$el" in e ? n = e.$el : n = e;
|
1362
1330
|
return n;
|
1363
1331
|
}
|
1364
|
-
function
|
1365
|
-
if (!
|
1332
|
+
function So() {
|
1333
|
+
if (!K) return Z(!1);
|
1366
1334
|
const {
|
1367
1335
|
ssr: e
|
1368
|
-
} =
|
1336
|
+
} = an();
|
1369
1337
|
if (e) {
|
1370
|
-
const t =
|
1371
|
-
return
|
1338
|
+
const t = Z(!1);
|
1339
|
+
return ct(() => {
|
1372
1340
|
t.value = !0;
|
1373
1341
|
}), t;
|
1374
1342
|
} else
|
1375
|
-
return
|
1343
|
+
return Z(!0);
|
1376
1344
|
}
|
1377
|
-
const
|
1345
|
+
const Eo = B({
|
1378
1346
|
eager: Boolean
|
1379
1347
|
}, "lazy");
|
1380
|
-
function
|
1381
|
-
const n =
|
1382
|
-
|
1348
|
+
function wo(e, t) {
|
1349
|
+
const n = Z(!1), o = d(() => n.value || e.eager || t.value);
|
1350
|
+
I(t, () => n.value = !0);
|
1383
1351
|
function a() {
|
1384
1352
|
e.eager || (n.value = !1);
|
1385
1353
|
}
|
@@ -1389,52 +1357,50 @@ function ko(e, t) {
|
|
1389
1357
|
onAfterLeave: a
|
1390
1358
|
};
|
1391
1359
|
}
|
1392
|
-
function
|
1393
|
-
const t =
|
1360
|
+
function ko() {
|
1361
|
+
const t = U("useScopeId").vnode.scopeId;
|
1394
1362
|
return {
|
1395
1363
|
scopeId: t ? {
|
1396
1364
|
[t]: ""
|
1397
1365
|
} : void 0
|
1398
1366
|
};
|
1399
1367
|
}
|
1400
|
-
const
|
1401
|
-
function
|
1402
|
-
const o =
|
1368
|
+
const at = Symbol.for("vuetify:stack"), re = G([]);
|
1369
|
+
function xo(e, t, n) {
|
1370
|
+
const o = U("useStack"), a = !n, r = le(at, void 0), s = G({
|
1403
1371
|
activeChildren: /* @__PURE__ */ new Set()
|
1404
1372
|
});
|
1405
|
-
|
1406
|
-
const
|
1407
|
-
|
1408
|
-
|
1409
|
-
|
1410
|
-
s.value = c ? c + 10 : Number(t.value), a && ie.push([o.uid, s.value]), r == null || r.activeChildren.add(o.uid), H(() => {
|
1373
|
+
_e(at, s);
|
1374
|
+
const i = Z(Number(t.value));
|
1375
|
+
Ie(e, () => {
|
1376
|
+
const c = re.at(-1)?.[1];
|
1377
|
+
i.value = c ? c + 10 : Number(t.value), a && re.push([o.uid, i.value]), r?.activeChildren.add(o.uid), H(() => {
|
1411
1378
|
if (a) {
|
1412
|
-
const
|
1413
|
-
|
1379
|
+
const A = rn(re).findIndex((w) => w[0] === o.uid);
|
1380
|
+
re.splice(A, 1);
|
1414
1381
|
}
|
1415
|
-
r
|
1382
|
+
r?.activeChildren.delete(o.uid);
|
1416
1383
|
});
|
1417
1384
|
});
|
1418
|
-
const l =
|
1419
|
-
a &&
|
1420
|
-
|
1421
|
-
const c = ((k = ie.at(-1)) == null ? void 0 : k[0]) === o.uid;
|
1385
|
+
const l = Z(!0);
|
1386
|
+
a && $e(() => {
|
1387
|
+
const c = re.at(-1)?.[0] === o.uid;
|
1422
1388
|
setTimeout(() => l.value = c);
|
1423
1389
|
});
|
1424
|
-
const f = d(() => !
|
1390
|
+
const f = d(() => !s.activeChildren.size);
|
1425
1391
|
return {
|
1426
|
-
globalTop:
|
1392
|
+
globalTop: ut(l),
|
1427
1393
|
localTop: f,
|
1428
1394
|
stackStyles: d(() => ({
|
1429
|
-
zIndex:
|
1395
|
+
zIndex: i.value
|
1430
1396
|
}))
|
1431
1397
|
};
|
1432
1398
|
}
|
1433
|
-
function
|
1399
|
+
function Co(e) {
|
1434
1400
|
return {
|
1435
1401
|
teleportTarget: d(() => {
|
1436
1402
|
const n = e();
|
1437
|
-
if (n === !0 || !
|
1403
|
+
if (n === !0 || !K) return;
|
1438
1404
|
const o = n === !1 ? document.body : typeof n == "string" ? document.querySelector(n) : n;
|
1439
1405
|
if (o == null)
|
1440
1406
|
return;
|
@@ -1443,40 +1409,40 @@ function Lo(e) {
|
|
1443
1409
|
})
|
1444
1410
|
};
|
1445
1411
|
}
|
1446
|
-
function
|
1412
|
+
function Oo() {
|
1447
1413
|
return !0;
|
1448
1414
|
}
|
1449
|
-
function
|
1450
|
-
if (!e ||
|
1451
|
-
const o =
|
1415
|
+
function zt(e, t, n) {
|
1416
|
+
if (!e || jt(e, n) === !1) return !1;
|
1417
|
+
const o = wt(t);
|
1452
1418
|
if (typeof ShadowRoot < "u" && o instanceof ShadowRoot && o.host === e.target) return !1;
|
1453
1419
|
const a = (typeof n.value == "object" && n.value.include || (() => []))();
|
1454
|
-
return a.push(t), !a.some((r) => r
|
1420
|
+
return a.push(t), !a.some((r) => r?.contains(e.target));
|
1455
1421
|
}
|
1456
|
-
function
|
1457
|
-
return (typeof t.value == "object" && t.value.closeConditional ||
|
1422
|
+
function jt(e, t) {
|
1423
|
+
return (typeof t.value == "object" && t.value.closeConditional || Oo)(e);
|
1458
1424
|
}
|
1459
|
-
function
|
1425
|
+
function Lo(e, t, n) {
|
1460
1426
|
const o = typeof n.value == "function" ? n.value : n.value.handler;
|
1461
|
-
e.shadowTarget = e.target, t._clickOutside.lastMousedownWasOutside &&
|
1462
|
-
|
1427
|
+
e.shadowTarget = e.target, t._clickOutside.lastMousedownWasOutside && zt(e, t, n) && setTimeout(() => {
|
1428
|
+
jt(e, n) && o && o(e);
|
1463
1429
|
}, 0);
|
1464
1430
|
}
|
1465
|
-
function
|
1466
|
-
const n =
|
1431
|
+
function rt(e, t) {
|
1432
|
+
const n = wt(e);
|
1467
1433
|
t(document), typeof ShadowRoot < "u" && n instanceof ShadowRoot && t(n);
|
1468
1434
|
}
|
1469
|
-
const
|
1435
|
+
const Po = {
|
1470
1436
|
// [data-app] may not be found
|
1471
1437
|
// if using bind, inserted makes
|
1472
1438
|
// sure that the root element is
|
1473
1439
|
// available, iOS does not support
|
1474
1440
|
// clicks on body
|
1475
1441
|
mounted(e, t) {
|
1476
|
-
const n = (a) =>
|
1477
|
-
e._clickOutside.lastMousedownWasOutside =
|
1442
|
+
const n = (a) => Lo(a, e, t), o = (a) => {
|
1443
|
+
e._clickOutside.lastMousedownWasOutside = zt(a, e, t);
|
1478
1444
|
};
|
1479
|
-
|
1445
|
+
rt(e, (a) => {
|
1480
1446
|
a.addEventListener("click", n, !0), a.addEventListener("mousedown", o, !0);
|
1481
1447
|
}), e._clickOutside || (e._clickOutside = {
|
1482
1448
|
lastMousedownWasOutside: !1
|
@@ -1486,9 +1452,8 @@ const Ro = {
|
|
1486
1452
|
};
|
1487
1453
|
},
|
1488
1454
|
beforeUnmount(e, t) {
|
1489
|
-
e._clickOutside && (
|
1490
|
-
|
1491
|
-
if (!n || !((r = e._clickOutside) != null && r[t.instance.$.uid])) return;
|
1455
|
+
e._clickOutside && (rt(e, (n) => {
|
1456
|
+
if (!n || !e._clickOutside?.[t.instance.$.uid]) return;
|
1492
1457
|
const {
|
1493
1458
|
onClick: o,
|
1494
1459
|
onMousedown: a
|
@@ -1497,23 +1462,23 @@ const Ro = {
|
|
1497
1462
|
}), delete e._clickOutside[t.instance.$.uid]);
|
1498
1463
|
}
|
1499
1464
|
};
|
1500
|
-
function
|
1465
|
+
function Ro(e) {
|
1501
1466
|
const {
|
1502
1467
|
modelValue: t,
|
1503
1468
|
color: n,
|
1504
1469
|
...o
|
1505
1470
|
} = e;
|
1506
|
-
return V(
|
1471
|
+
return V(vt, {
|
1507
1472
|
name: "fade-transition",
|
1508
1473
|
appear: !0
|
1509
1474
|
}, {
|
1510
|
-
default: () => [e.modelValue && V("div",
|
1475
|
+
default: () => [e.modelValue && V("div", J({
|
1511
1476
|
class: ["v-overlay__scrim", e.color.backgroundColorClasses.value],
|
1512
1477
|
style: e.color.backgroundColorStyles.value
|
1513
1478
|
}, o), null)]
|
1514
1479
|
});
|
1515
1480
|
}
|
1516
|
-
const
|
1481
|
+
const Ao = B({
|
1517
1482
|
absolute: Boolean,
|
1518
1483
|
attach: [Boolean, String, Object],
|
1519
1484
|
closeOnBack: {
|
@@ -1536,23 +1501,23 @@ const To = B({
|
|
1536
1501
|
type: [Number, String],
|
1537
1502
|
default: 2e3
|
1538
1503
|
},
|
1539
|
-
...
|
1540
|
-
...
|
1541
|
-
...
|
1542
|
-
...
|
1543
|
-
...
|
1544
|
-
...
|
1545
|
-
...
|
1546
|
-
...
|
1547
|
-
}, "VOverlay"),
|
1504
|
+
...ho(),
|
1505
|
+
...he(),
|
1506
|
+
...Mn(),
|
1507
|
+
...Eo(),
|
1508
|
+
...no(),
|
1509
|
+
...lo(),
|
1510
|
+
...ht(),
|
1511
|
+
...jn()
|
1512
|
+
}, "VOverlay"), To = ye()({
|
1548
1513
|
name: "VOverlay",
|
1549
1514
|
directives: {
|
1550
|
-
ClickOutside:
|
1515
|
+
ClickOutside: Po
|
1551
1516
|
},
|
1552
1517
|
inheritAttrs: !1,
|
1553
1518
|
props: {
|
1554
1519
|
_disableGlobalStack: Boolean,
|
1555
|
-
...
|
1520
|
+
...Ao()
|
1556
1521
|
},
|
1557
1522
|
emits: {
|
1558
1523
|
"click:outside": (e) => !0,
|
@@ -1567,104 +1532,102 @@ const To = B({
|
|
1567
1532
|
attrs: o,
|
1568
1533
|
emit: a
|
1569
1534
|
} = t;
|
1570
|
-
const r =
|
1535
|
+
const r = U("VOverlay"), s = j(), i = j(), l = j(), f = sn(e, "modelValue"), c = d({
|
1571
1536
|
get: () => f.value,
|
1572
|
-
set: (
|
1573
|
-
|
1537
|
+
set: (b) => {
|
1538
|
+
b && e.disabled || (f.value = b);
|
1574
1539
|
}
|
1575
1540
|
}), {
|
1576
|
-
themeClasses:
|
1577
|
-
} =
|
1578
|
-
rtlClasses:
|
1579
|
-
isRtl:
|
1580
|
-
} =
|
1541
|
+
themeClasses: A
|
1542
|
+
} = yt(e), {
|
1543
|
+
rtlClasses: w,
|
1544
|
+
isRtl: P
|
1545
|
+
} = gt(), {
|
1581
1546
|
hasContent: m,
|
1582
1547
|
onAfterLeave: v
|
1583
|
-
} =
|
1548
|
+
} = wo(e, c), C = $n(d(() => typeof e.scrim == "string" ? e.scrim : null)), {
|
1584
1549
|
globalTop: T,
|
1585
|
-
localTop:
|
1586
|
-
stackStyles:
|
1587
|
-
} =
|
1588
|
-
activatorEl:
|
1589
|
-
activatorRef:
|
1550
|
+
localTop: R,
|
1551
|
+
stackStyles: k
|
1552
|
+
} = xo(c, Le(e, "zIndex"), e._disableGlobalStack), {
|
1553
|
+
activatorEl: M,
|
1554
|
+
activatorRef: $,
|
1590
1555
|
target: g,
|
1591
1556
|
targetEl: S,
|
1592
1557
|
targetRef: u,
|
1593
|
-
activatorEvents:
|
1594
|
-
contentEvents:
|
1595
|
-
scrimEvents:
|
1596
|
-
} =
|
1558
|
+
activatorEvents: O,
|
1559
|
+
contentEvents: x,
|
1560
|
+
scrimEvents: E
|
1561
|
+
} = po(e, {
|
1597
1562
|
isActive: c,
|
1598
|
-
isTop:
|
1563
|
+
isTop: R,
|
1599
1564
|
contentEl: l
|
1600
1565
|
}), {
|
1601
|
-
teleportTarget:
|
1602
|
-
} =
|
1603
|
-
|
1604
|
-
|
1605
|
-
|
1606
|
-
|
1607
|
-
return O instanceof ShadowRoot ? O : !1;
|
1566
|
+
teleportTarget: h
|
1567
|
+
} = Co(() => {
|
1568
|
+
const b = e.attach || e.contained;
|
1569
|
+
if (b) return b;
|
1570
|
+
const N = M?.value?.getRootNode() || r.proxy?.$el?.getRootNode();
|
1571
|
+
return N instanceof ShadowRoot ? N : !1;
|
1608
1572
|
}), {
|
1609
1573
|
dimensionStyles: y
|
1610
|
-
} =
|
1574
|
+
} = Vn(e), p = So(), {
|
1611
1575
|
scopeId: W
|
1612
|
-
} =
|
1613
|
-
|
1614
|
-
|
1576
|
+
} = ko();
|
1577
|
+
I(() => e.disabled, (b) => {
|
1578
|
+
b && (c.value = !1);
|
1615
1579
|
});
|
1616
1580
|
const {
|
1617
|
-
contentStyles:
|
1581
|
+
contentStyles: z,
|
1618
1582
|
updateLocation: D
|
1619
|
-
} =
|
1620
|
-
isRtl:
|
1583
|
+
} = oo(e, {
|
1584
|
+
isRtl: P,
|
1621
1585
|
contentEl: l,
|
1622
1586
|
target: g,
|
1623
1587
|
isActive: c
|
1624
1588
|
});
|
1625
|
-
|
1626
|
-
root:
|
1589
|
+
uo(e, {
|
1590
|
+
root: s,
|
1627
1591
|
contentEl: l,
|
1628
1592
|
targetEl: S,
|
1629
1593
|
isActive: c,
|
1630
1594
|
updateLocation: D
|
1631
1595
|
});
|
1632
|
-
function
|
1633
|
-
a("click:outside",
|
1596
|
+
function _(b) {
|
1597
|
+
a("click:outside", b), e.persistent ? ne() : c.value = !1;
|
1634
1598
|
}
|
1635
|
-
function F(
|
1599
|
+
function F(b) {
|
1636
1600
|
return c.value && T.value && // If using scrim, only close if clicking on it rather than anything opened on top
|
1637
|
-
(!e.scrim ||
|
1601
|
+
(!e.scrim || b.target === i.value || b instanceof MouseEvent && b.shadowTarget === i.value);
|
1638
1602
|
}
|
1639
|
-
|
1640
|
-
|
1603
|
+
K && I(c, (b) => {
|
1604
|
+
b ? window.addEventListener("keydown", q) : window.removeEventListener("keydown", q);
|
1641
1605
|
}, {
|
1642
1606
|
immediate: !0
|
1643
|
-
}),
|
1644
|
-
|
1607
|
+
}), Te(() => {
|
1608
|
+
K && window.removeEventListener("keydown", q);
|
1645
1609
|
});
|
1646
|
-
function
|
1647
|
-
|
1648
|
-
h.key === "Escape" && T.value && ((O = l.value) != null && O.contains(document.activeElement) || a("keydown", h), e.persistent ? oe() : (c.value = !1, (K = l.value) != null && K.contains(document.activeElement) && ((se = I.value) == null || se.focus())));
|
1610
|
+
function q(b) {
|
1611
|
+
b.key === "Escape" && T.value && (l.value?.contains(document.activeElement) || a("keydown", b), e.persistent ? ne() : (c.value = !1, l.value?.contains(document.activeElement) && M.value?.focus()));
|
1649
1612
|
}
|
1650
|
-
function
|
1651
|
-
|
1613
|
+
function Y(b) {
|
1614
|
+
b.key === "Escape" && !T.value || a("keydown", b);
|
1652
1615
|
}
|
1653
|
-
const
|
1654
|
-
|
1655
|
-
|
1656
|
-
T.value && c.value ? (
|
1616
|
+
const X = Fn();
|
1617
|
+
Ie(() => e.closeOnBack, () => {
|
1618
|
+
zn(X, (b) => {
|
1619
|
+
T.value && c.value ? (b(!1), e.persistent ? ne() : c.value = !1) : b();
|
1657
1620
|
});
|
1658
1621
|
});
|
1659
|
-
const
|
1660
|
-
|
1661
|
-
if (
|
1662
|
-
const
|
1663
|
-
|
1622
|
+
const te = j();
|
1623
|
+
I(() => c.value && (e.absolute || e.contained) && h.value == null, (b) => {
|
1624
|
+
if (b) {
|
1625
|
+
const N = Rn(s.value);
|
1626
|
+
N && N !== document.scrollingElement && (te.value = N.scrollTop);
|
1664
1627
|
}
|
1665
1628
|
});
|
1666
|
-
function
|
1667
|
-
e.noClickAnimation || l.value &&
|
1629
|
+
function ne() {
|
1630
|
+
e.noClickAnimation || l.value && Cn(l.value, [{
|
1668
1631
|
transformOrigin: "center"
|
1669
1632
|
}, {
|
1670
1633
|
transform: "scale(1.03)"
|
@@ -1672,79 +1635,73 @@ const To = B({
|
|
1672
1635
|
transformOrigin: "center"
|
1673
1636
|
}], {
|
1674
1637
|
duration: 150,
|
1675
|
-
easing:
|
1638
|
+
easing: Pn
|
1676
1639
|
});
|
1677
1640
|
}
|
1678
|
-
function
|
1641
|
+
function ae() {
|
1679
1642
|
a("afterEnter");
|
1680
1643
|
}
|
1681
|
-
function
|
1644
|
+
function pe() {
|
1682
1645
|
v(), a("afterLeave");
|
1683
1646
|
}
|
1684
|
-
return
|
1685
|
-
|
1686
|
-
|
1687
|
-
|
1688
|
-
|
1689
|
-
|
1690
|
-
|
1691
|
-
|
1692
|
-
|
1693
|
-
|
1694
|
-
|
1647
|
+
return kt(() => V(pt, null, [n.activator?.({
|
1648
|
+
isActive: c.value,
|
1649
|
+
targetRef: u,
|
1650
|
+
props: J({
|
1651
|
+
ref: $
|
1652
|
+
}, O.value, e.activatorProps)
|
1653
|
+
}), p.value && m.value && V(ln, {
|
1654
|
+
disabled: !h.value,
|
1655
|
+
to: h.value
|
1656
|
+
}, {
|
1657
|
+
default: () => [V("div", J({
|
1658
|
+
class: ["v-overlay", {
|
1659
|
+
"v-overlay--absolute": e.absolute || e.contained,
|
1660
|
+
"v-overlay--active": c.value,
|
1661
|
+
"v-overlay--contained": e.contained
|
1662
|
+
}, A.value, w.value, e.class],
|
1663
|
+
style: [k.value, {
|
1664
|
+
"--v-overlay-opacity": e.opacity,
|
1665
|
+
top: L(te.value)
|
1666
|
+
}, e.style],
|
1667
|
+
ref: s,
|
1668
|
+
onKeydown: Y
|
1669
|
+
}, W, o), [V(Ro, J({
|
1670
|
+
color: C,
|
1671
|
+
modelValue: c.value && !!e.scrim,
|
1672
|
+
ref: i
|
1673
|
+
}, E.value), null), V(Hn, {
|
1674
|
+
appear: !0,
|
1675
|
+
persisted: !0,
|
1676
|
+
transition: e.transition,
|
1677
|
+
target: g.value,
|
1678
|
+
onAfterEnter: ae,
|
1679
|
+
onAfterLeave: pe
|
1695
1680
|
}, {
|
1696
|
-
default: () => [V("div",
|
1697
|
-
|
1698
|
-
|
1699
|
-
|
1700
|
-
|
1701
|
-
|
1702
|
-
|
1703
|
-
|
1704
|
-
|
1705
|
-
|
1706
|
-
|
1707
|
-
|
1708
|
-
|
1709
|
-
|
1710
|
-
|
1711
|
-
ref: s
|
1712
|
-
}, x.value), null), V(Kn, {
|
1713
|
-
appear: !0,
|
1714
|
-
persisted: !0,
|
1715
|
-
transition: e.transition,
|
1716
|
-
target: g.value,
|
1717
|
-
onAfterEnter: re,
|
1718
|
-
onAfterLeave: Se
|
1719
|
-
}, {
|
1720
|
-
default: () => {
|
1721
|
-
var O;
|
1722
|
-
return [fn(V("div", Z({
|
1723
|
-
ref: l,
|
1724
|
-
class: ["v-overlay__content", e.contentClass],
|
1725
|
-
style: [y.value, j.value]
|
1726
|
-
}, A.value, e.contentProps), [(O = n.default) == null ? void 0 : O.call(n, {
|
1727
|
-
isActive: c
|
1728
|
-
})]), [[dn, c.value], [vn("click-outside"), {
|
1729
|
-
handler: N,
|
1730
|
-
closeConditional: F,
|
1731
|
-
include: () => [I.value]
|
1732
|
-
}]])];
|
1733
|
-
}
|
1734
|
-
})])]
|
1735
|
-
})]);
|
1736
|
-
}), {
|
1737
|
-
activatorEl: I,
|
1738
|
-
scrimEl: s,
|
1681
|
+
default: () => [un(V("div", J({
|
1682
|
+
ref: l,
|
1683
|
+
class: ["v-overlay__content", e.contentClass],
|
1684
|
+
style: [y.value, z.value]
|
1685
|
+
}, x.value, e.contentProps), [n.default?.({
|
1686
|
+
isActive: c
|
1687
|
+
})]), [[cn, c.value], [fn("click-outside"), {
|
1688
|
+
handler: _,
|
1689
|
+
closeConditional: F,
|
1690
|
+
include: () => [M.value]
|
1691
|
+
}]])]
|
1692
|
+
})])]
|
1693
|
+
})])), {
|
1694
|
+
activatorEl: M,
|
1695
|
+
scrimEl: i,
|
1739
1696
|
target: g,
|
1740
|
-
animateClick:
|
1697
|
+
animateClick: ne,
|
1741
1698
|
contentEl: l,
|
1742
1699
|
globalTop: T,
|
1743
|
-
localTop:
|
1700
|
+
localTop: R,
|
1744
1701
|
updateLocation: D
|
1745
1702
|
};
|
1746
1703
|
}
|
1747
|
-
}),
|
1704
|
+
}), _o = Me({
|
1748
1705
|
name: "BErrorOverlay",
|
1749
1706
|
props: {
|
1750
1707
|
marginTop: {
|
@@ -1759,20 +1716,20 @@ const To = B({
|
|
1759
1716
|
}
|
1760
1717
|
},
|
1761
1718
|
setup() {
|
1762
|
-
const { t: e } =
|
1719
|
+
const { t: e } = bt();
|
1763
1720
|
return {
|
1764
1721
|
t: e
|
1765
1722
|
};
|
1766
1723
|
}
|
1767
|
-
}),
|
1768
|
-
function
|
1769
|
-
return
|
1724
|
+
}), No = { class: "text-h5 font-weight-bold text-primary" }, Bo = { class: "text-body-2 font-weight-bold" };
|
1725
|
+
function Io(e, t, n, o, a, r) {
|
1726
|
+
return Q(), ce("div", {
|
1770
1727
|
class: "d-block",
|
1771
|
-
style:
|
1728
|
+
style: Ge([{ width: "100%" }, {
|
1772
1729
|
"min-height": e.minHeight
|
1773
1730
|
}])
|
1774
1731
|
}, [
|
1775
|
-
V(
|
1732
|
+
V(To, {
|
1776
1733
|
"model-value": !0,
|
1777
1734
|
"z-index": e.zIndex,
|
1778
1735
|
absolute: "",
|
@@ -1781,25 +1738,25 @@ function Mo(e, t, n, o, a, r) {
|
|
1781
1738
|
opacity: "0.8",
|
1782
1739
|
contained: ""
|
1783
1740
|
}, {
|
1784
|
-
default:
|
1785
|
-
V(
|
1741
|
+
default: oe(() => [
|
1742
|
+
V(eo, {
|
1786
1743
|
class: "mx-3",
|
1787
1744
|
justify: "center",
|
1788
|
-
style:
|
1745
|
+
style: Ge({ "margin-top": e.marginTop + "px" })
|
1789
1746
|
}, {
|
1790
|
-
default:
|
1791
|
-
V(
|
1747
|
+
default: oe(() => [
|
1748
|
+
V(Un, {
|
1792
1749
|
cols: "12",
|
1793
1750
|
style: {
|
1794
1751
|
"max-width": "500px"
|
1795
1752
|
}
|
1796
1753
|
}, {
|
1797
|
-
default:
|
1798
|
-
|
1799
|
-
|
1754
|
+
default: oe(() => [
|
1755
|
+
se("div", No, [
|
1756
|
+
ie(e.$slots, "title", {}, void 0, !0)
|
1800
1757
|
]),
|
1801
|
-
|
1802
|
-
|
1758
|
+
se("p", Bo, [
|
1759
|
+
ie(e.$slots, "description", {}, void 0, !0)
|
1803
1760
|
])
|
1804
1761
|
]),
|
1805
1762
|
_: 3
|
@@ -1812,11 +1769,11 @@ function Mo(e, t, n, o, a, r) {
|
|
1812
1769
|
}, 8, ["z-index"])
|
1813
1770
|
], 4);
|
1814
1771
|
}
|
1815
|
-
const
|
1772
|
+
const $o = /* @__PURE__ */ We(_o, [["render", Io], ["__scopeId", "data-v-4be696ee"]]), Mo = Me({
|
1816
1773
|
data: () => ({
|
1817
|
-
observerClass:
|
1774
|
+
observerClass: vn
|
1818
1775
|
}),
|
1819
|
-
mixins: [
|
1776
|
+
mixins: [dn],
|
1820
1777
|
name: "BBreakpointObserver",
|
1821
1778
|
props: {
|
1822
1779
|
// Set this prop to true if b-breakpoint-observer is at the root of the app (or in a modal attached to $root.$el)
|
@@ -1826,7 +1783,7 @@ const Vo = /* @__PURE__ */ je(Bo, [["render", Mo], ["__scopeId", "data-v-4be696e
|
|
1826
1783
|
}
|
1827
1784
|
},
|
1828
1785
|
setup(e) {
|
1829
|
-
const { config: t } =
|
1786
|
+
const { config: t } = mn(), { current: n, themes: o } = St();
|
1830
1787
|
function a() {
|
1831
1788
|
if (t.value) {
|
1832
1789
|
t.value.theme || (t.value.theme = {});
|
@@ -1837,7 +1794,7 @@ const Vo = /* @__PURE__ */ je(Bo, [["render", Mo], ["__scopeId", "data-v-4be696e
|
|
1837
1794
|
...t.value.theme,
|
1838
1795
|
"marker-primary": t.value.theme.markerPrimary,
|
1839
1796
|
"marker-secondary": t.value.theme.markerSecondary
|
1840
|
-
},
|
1797
|
+
}, s = {
|
1841
1798
|
...o.value,
|
1842
1799
|
light: {
|
1843
1800
|
colors: r,
|
@@ -1847,73 +1804,70 @@ const Vo = /* @__PURE__ */ je(Bo, [["render", Mo], ["__scopeId", "data-v-4be696e
|
|
1847
1804
|
}
|
1848
1805
|
}
|
1849
1806
|
};
|
1850
|
-
o.value =
|
1807
|
+
o.value = s;
|
1851
1808
|
} catch (r) {
|
1852
1809
|
console.warn(r);
|
1853
1810
|
}
|
1854
1811
|
}
|
1855
1812
|
}
|
1856
|
-
return e.atRoot &&
|
1813
|
+
return e.atRoot && I(() => [t.value], a, { immediate: !0 }), {
|
1857
1814
|
config: t
|
1858
1815
|
};
|
1859
1816
|
}
|
1860
|
-
}),
|
1861
|
-
...
|
1862
|
-
...
|
1817
|
+
}), Vo = B({
|
1818
|
+
...he(),
|
1819
|
+
...Nn({
|
1863
1820
|
fullHeight: !0
|
1864
1821
|
}),
|
1865
|
-
...
|
1866
|
-
}, "VApp"),
|
1822
|
+
...ht()
|
1823
|
+
}, "VApp"), Wo = ye()({
|
1867
1824
|
name: "VApp",
|
1868
|
-
props:
|
1825
|
+
props: Vo(),
|
1869
1826
|
setup(e, t) {
|
1870
1827
|
let {
|
1871
1828
|
slots: n
|
1872
1829
|
} = t;
|
1873
|
-
const o =
|
1830
|
+
const o = yt(e), {
|
1874
1831
|
layoutClasses: a,
|
1875
1832
|
getLayoutItem: r,
|
1876
|
-
items:
|
1877
|
-
layoutRef:
|
1878
|
-
} =
|
1833
|
+
items: s,
|
1834
|
+
layoutRef: i
|
1835
|
+
} = In(e), {
|
1879
1836
|
rtlClasses: l
|
1880
|
-
} =
|
1881
|
-
return
|
1882
|
-
|
1883
|
-
|
1884
|
-
|
1885
|
-
|
1886
|
-
|
1887
|
-
|
1888
|
-
class: "v-application__wrap"
|
1889
|
-
}, [(f = n.default) == null ? void 0 : f.call(n)])]);
|
1890
|
-
}), {
|
1837
|
+
} = gt();
|
1838
|
+
return kt(() => V("div", {
|
1839
|
+
ref: i,
|
1840
|
+
class: ["v-application", o.themeClasses.value, a.value, l.value, e.class],
|
1841
|
+
style: [e.style]
|
1842
|
+
}, [V("div", {
|
1843
|
+
class: "v-application__wrap"
|
1844
|
+
}, [n.default?.()])])), {
|
1891
1845
|
getLayoutItem: r,
|
1892
|
-
items:
|
1846
|
+
items: s,
|
1893
1847
|
theme: o
|
1894
1848
|
};
|
1895
1849
|
}
|
1896
1850
|
});
|
1897
|
-
function
|
1898
|
-
return
|
1899
|
-
class:
|
1851
|
+
function Fo(e, t, n, o, a, r) {
|
1852
|
+
return Q(), ce("div", {
|
1853
|
+
class: yn(e.observerClass),
|
1900
1854
|
style: { height: "100%" }
|
1901
1855
|
}, [
|
1902
|
-
e.atRoot ? (
|
1856
|
+
e.atRoot ? (Q(), Pe(Wo, {
|
1903
1857
|
key: 0,
|
1904
1858
|
style: { height: "100%" }
|
1905
1859
|
}, {
|
1906
|
-
default:
|
1907
|
-
|
1860
|
+
default: oe(() => [
|
1861
|
+
ie(e.$slots, "default")
|
1908
1862
|
]),
|
1909
1863
|
_: 3
|
1910
|
-
})) :
|
1864
|
+
})) : ie(e.$slots, "default", { key: 1 })
|
1911
1865
|
], 2);
|
1912
1866
|
}
|
1913
|
-
const
|
1867
|
+
const zo = /* @__PURE__ */ We(Mo, [["render", Fo]]), Ht = Me({
|
1914
1868
|
components: {
|
1915
|
-
BBreakpointObserver:
|
1916
|
-
BErrorOverlay:
|
1869
|
+
BBreakpointObserver: zo,
|
1870
|
+
BErrorOverlay: $o
|
1917
1871
|
},
|
1918
1872
|
// In order for the custom fonts to be loaded and available for the shadow DOM, we need to declare the CSS import from external document
|
1919
1873
|
created() {
|
@@ -1968,8 +1922,8 @@ const Ho = /* @__PURE__ */ je(Wo, [["render", zo]]), Kt = We({
|
|
1968
1922
|
}
|
1969
1923
|
},
|
1970
1924
|
setup() {
|
1971
|
-
const e =
|
1972
|
-
return
|
1925
|
+
const e = St(), t = En(), { t: n } = bt();
|
1926
|
+
return I(
|
1973
1927
|
() => e.styles.value,
|
1974
1928
|
(o) => {
|
1975
1929
|
if (t) {
|
@@ -1990,7 +1944,7 @@ const Ho = /* @__PURE__ */ je(Wo, [["render", zo]]), Kt = We({
|
|
1990
1944
|
};
|
1991
1945
|
}
|
1992
1946
|
});
|
1993
|
-
function
|
1947
|
+
function st(e) {
|
1994
1948
|
const t = e;
|
1995
1949
|
t.__i18n = t.__i18n || [], t.__i18n.push({
|
1996
1950
|
locale: "",
|
@@ -2061,88 +2015,88 @@ function ut(e) {
|
|
2061
2015
|
}
|
2062
2016
|
});
|
2063
2017
|
}
|
2064
|
-
const
|
2018
|
+
const jo = ["href"], Ho = {
|
2065
2019
|
class: "d-block",
|
2066
2020
|
style: { display: "none" }
|
2067
2021
|
};
|
2068
|
-
function
|
2069
|
-
const
|
2070
|
-
return
|
2071
|
-
default:
|
2072
|
-
t[0] || (t[0] =
|
2022
|
+
function Do(e, t, n, o, a, r) {
|
2023
|
+
const s = Ke("BErrorOverlay"), i = Ke("BBreakpointObserver");
|
2024
|
+
return Q(), Pe(i, { "at-root": "" }, {
|
2025
|
+
default: oe(() => [
|
2026
|
+
t[0] || (t[0] = se("link", {
|
2073
2027
|
href: "https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900",
|
2074
2028
|
rel: "stylesheet"
|
2075
2029
|
}, null, -1)),
|
2076
|
-
t[1] || (t[1] =
|
2030
|
+
t[1] || (t[1] = se("link", {
|
2077
2031
|
href: "https://use.fontawesome.com/releases/v6.1.1/css/all.css",
|
2078
2032
|
rel: "stylesheet"
|
2079
2033
|
}, null, -1)),
|
2080
|
-
(
|
2034
|
+
(Q(!0), ce(pt, null, gn(e.stylesheets, (l) => (Q(), ce("link", {
|
2081
2035
|
key: l,
|
2082
2036
|
href: l,
|
2083
2037
|
rel: "stylesheet"
|
2084
|
-
}, null, 8,
|
2085
|
-
|
2086
|
-
!e.isBookingApiClientDefined && !e.errorOverlayDisabled ? (
|
2038
|
+
}, null, 8, jo))), 128)),
|
2039
|
+
se("div", Ho, [
|
2040
|
+
!e.isBookingApiClientDefined && !e.errorOverlayDisabled ? (Q(), Pe(s, {
|
2087
2041
|
key: 0,
|
2088
2042
|
"min-height": "180px"
|
2089
2043
|
}, {
|
2090
|
-
title:
|
2091
|
-
|
2044
|
+
title: oe(() => [
|
2045
|
+
hn(pn(e.t("WebComponentWrapper.apiKey.invalid.title")), 1)
|
2092
2046
|
]),
|
2093
2047
|
_: 1
|
2094
|
-
})) :
|
2048
|
+
})) : ie(e.$slots, "default", { key: 1 })
|
2095
2049
|
])
|
2096
2050
|
]),
|
2097
2051
|
_: 3,
|
2098
2052
|
__: [0, 1]
|
2099
2053
|
});
|
2100
2054
|
}
|
2101
|
-
typeof
|
2102
|
-
const
|
2103
|
-
|
2055
|
+
typeof st == "function" && st(Ht);
|
2056
|
+
const ea = /* @__PURE__ */ We(Ht, [["render", Do]]);
|
2057
|
+
Dt("css/revolugo.webcomponentwrapper.BNxGrktU.css");
|
2104
2058
|
export {
|
2105
|
-
|
2106
|
-
|
2107
|
-
|
2108
|
-
|
2109
|
-
|
2110
|
-
|
2111
|
-
|
2112
|
-
|
2113
|
-
|
2114
|
-
|
2115
|
-
|
2116
|
-
|
2117
|
-
|
2118
|
-
|
2119
|
-
|
2120
|
-
|
2121
|
-
|
2122
|
-
|
2123
|
-
|
2124
|
-
|
2125
|
-
|
2126
|
-
|
2127
|
-
|
2059
|
+
Xo as A,
|
2060
|
+
$o as B,
|
2061
|
+
Po as C,
|
2062
|
+
Qo as D,
|
2063
|
+
de as E,
|
2064
|
+
Yo as F,
|
2065
|
+
Uo as G,
|
2066
|
+
Ko as H,
|
2067
|
+
kn as I,
|
2068
|
+
xn as J,
|
2069
|
+
Ot as K,
|
2070
|
+
Ue as L,
|
2071
|
+
Hn as M,
|
2072
|
+
eo as V,
|
2073
|
+
ea as W,
|
2074
|
+
We as _,
|
2075
|
+
Un as a,
|
2076
|
+
$n as b,
|
2077
|
+
zo as c,
|
2078
|
+
Zo as d,
|
2079
|
+
Ct as e,
|
2080
|
+
Fn as f,
|
2081
|
+
ko as g,
|
2128
2082
|
Jo as h,
|
2129
|
-
|
2130
|
-
|
2131
|
-
|
2132
|
-
|
2133
|
-
|
2134
|
-
|
2135
|
-
|
2136
|
-
|
2137
|
-
|
2138
|
-
|
2139
|
-
|
2140
|
-
|
2141
|
-
|
2142
|
-
|
2143
|
-
|
2144
|
-
|
2145
|
-
|
2146
|
-
|
2083
|
+
qo as i,
|
2084
|
+
yo as j,
|
2085
|
+
go as k,
|
2086
|
+
To as l,
|
2087
|
+
he as m,
|
2088
|
+
Vn as n,
|
2089
|
+
Mn as o,
|
2090
|
+
jn as p,
|
2091
|
+
Cn as q,
|
2092
|
+
wo as r,
|
2093
|
+
Pn as s,
|
2094
|
+
qe as t,
|
2095
|
+
kt as u,
|
2096
|
+
Eo as v,
|
2097
|
+
_n as w,
|
2098
|
+
Rn as x,
|
2099
|
+
Ao as y,
|
2100
|
+
mo as z
|
2147
2101
|
};
|
2148
|
-
//# sourceMappingURL=revolugo.webcomponentwrapper.
|
2102
|
+
//# sourceMappingURL=revolugo.webcomponentwrapper.DY-mO-0c.min.js.map
|