@revolugo/elements 6.7.3 → 6.8.0-rc.0
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/index.es.min.js +2619 -2554
- 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._basefor.CodrYJxd.min.js +15 -0
- package/dist/{revolugo.banktransferdetails.arP5j__o.min.js → revolugo.banktransferdetails.BBkYrDrP.min.js} +24 -23
- package/dist/{revolugo.bdaterangepicker.Ba26rd5I.min.js → revolugo.bdaterangepicker.DSJE5n7Z.min.js} +121 -6
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.eoXMEkFJ.min.js +61 -0
- package/dist/{revolugo.bhoteloffersfilterbar.CwCd9oox.min.js → revolugo.bhoteloffersfilterbar.DwrYTxiv.min.js} +173 -169
- package/dist/{revolugo.bpricesummaryskeleton.DH-Kuge7.min.js → revolugo.bhotelroomsdetails.jJmgFO6V.min.js} +169 -241
- package/dist/{revolugo.bhotelsearchbar.DaX-iQTB.min.js → revolugo.bhotelsearchbar.DgBdyH6X.min.js} +77 -76
- package/dist/{revolugo.bimagecarousel.CgrOcU1C.min.js → revolugo.bimagecarousel.DQXXM5CL.min.js} +36 -36
- package/dist/revolugo.bookingdetailssidebar.CKrtgLGZ.min.js +24 -0
- package/dist/{revolugo.bookingdetailssidebar.CXHn5MDn.min.js → revolugo.bookingdetailssidebar.Dm6EGehl.min.js} +184 -202
- package/dist/{revolugo.bookingmanager.BIFir20P.min.js → revolugo.bookingmanager.ra4Fie13.min.js} +51 -48
- package/dist/revolugo.bpricesummaryskeleton.qpy47Wsi.min.js +79 -0
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.ACZ7Rna9.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.DD4SRw7w.min.js} +28 -27
- package/dist/{revolugo.btag.0ugEj-2W.min.js → revolugo.btag.WMRlt8-8.min.js} +70 -69
- package/dist/{revolugo.cancellationpoliciesbadge.BakDGPnx.min.js → revolugo.cancellationpoliciesbadge.BWHDapkN.min.js} +51 -70
- package/dist/revolugo.cancellationpoliciesbadge.C6zxRPaZ.min.js +24 -0
- package/dist/revolugo.cancellationpolicieslist.B-nwKXUj.min.js +24 -0
- package/dist/{revolugo.cancellationpolicieslist.C_FFhkUD.min.js → revolugo.cancellationpolicieslist.CHhCIAQS.min.js} +28 -47
- package/dist/revolugo.case-transformers.CEdbnlE-.min.js +123 -0
- package/dist/revolugo.common.D-l8b0V5.min.js +10 -0
- package/dist/{revolugo.creditcardform.B5bfYD6z.min.js → revolugo.creditcardform.698oFnsf.min.js} +652 -903
- package/dist/revolugo.creditcardform.CpSNG8oP.min.js +24 -0
- package/dist/{revolugo.creditcardpayment.DzD24_nR.min.js → revolugo.creditcardpayment.6u4OCU4A.min.js} +138 -154
- package/dist/revolugo.creditcardpayment.BLosL1aA.min.js +24 -0
- package/dist/{revolugo.currencypicker.LtjCHf9r.min.js → revolugo.currencypicker.BXsQGdbF.min.js} +19 -18
- package/dist/revolugo.currencypickerbtn.D-42MaaK.min.js +163 -0
- package/dist/revolugo.currencypickerbtn.NVqcx7mQ.min.js +24 -0
- package/dist/revolugo.dialog-attach.BuUfn9u6.min.js +28 -0
- package/dist/revolugo.dialog-transition.2P5jpnv2.min.js +114 -0
- package/dist/revolugo.fastbookingflow.CFE4HRID.min.js +34 -0
- package/dist/revolugo.forwardrefs.-bfQnFea.min.js +71 -0
- package/dist/{revolugo.fullbookingflow.CkMmSkIU.min.js → revolugo.fullbookingflow.DbPlQAXx.min.js} +77 -75
- package/dist/revolugo.hoteldescriptionview.DyHypnsO.min.js +24 -0
- package/dist/{revolugo.hoteldescriptionview.Cp5ZgFcV.min.js → revolugo.hoteldescriptionview.FAMKFv9n.min.js} +363 -379
- package/dist/{revolugo.hotelofferitemlayout.Bhhi0sg3.min.js → revolugo.hotelofferitemlayout.BXdHFzt5.min.js} +9 -9
- package/dist/revolugo.hotelofferlist.BsjYGZdX.min.js +24 -0
- package/dist/{revolugo.hotelofferlist.BTgDe-tp.min.js → revolugo.hotelofferlist.D-sHFvFQ.min.js} +1005 -1053
- package/dist/{revolugo.hotelofferrequestcreator.B17qgpU2.min.js → revolugo.hotelofferrequestcreator.oZhVIBxs.min.js} +7 -7
- package/dist/revolugo.hoteloffersearchmenu.Cun9amyl.min.js +46 -0
- package/dist/revolugo.hoteloffersmap.BP4Jp5xL.min.js +24 -0
- package/dist/revolugo.hoteloffersmap.CVTv2jVD.min.js +8394 -0
- package/dist/{revolugo.hoteloffersview.D1-F8ONF.min.js → revolugo.hoteloffersview.B5nONm_1.min.js} +161 -176
- package/dist/revolugo.hoteloffersview.DacCdu_b.min.js +19 -0
- package/dist/revolugo.hotelroomofferlist.DVGmJT59.min.js +24 -0
- package/dist/{revolugo.hotelroomofferlist.BpTAFyMO.min.js → revolugo.hotelroomofferlist.DmOEadSF.min.js} +468 -485
- package/dist/revolugo.hotelroomofferrequestcreator.props.lNEhbaT9.min.js +171 -0
- package/dist/{revolugo.hotelroomoffersbookingflow.BNm52u6c.min.js → revolugo.hotelroomoffersbookingflow.KaGNZgT2.min.js} +40 -39
- package/dist/revolugo.hotelroomoffersearchmenu.CCwlZB2o.min.js +25 -0
- package/dist/{revolugo.hotelroomoffersearchmenu.Bysb279d.min.js → revolugo.hotelroomoffersearchmenu.DOJt4B9y.min.js} +29 -49
- package/dist/revolugo.hotelroomoffersview.BkR60ueU.min.js +24 -0
- package/dist/{revolugo.hotelroomoffersview.BVbajWFv.min.js → revolugo.hotelroomoffersview.DHjinkWP.min.js} +71 -91
- package/dist/{revolugo.index.BX4WZjgg.min.js → revolugo.index.B7z0g8al.min.js} +6 -6
- package/dist/revolugo.index.s-onPvC0.min.js +1037 -0
- package/dist/{revolugo.rounded.u4maswiM.min.js → revolugo.index.wc.CsrQl9B8.min.js} +12812 -13151
- package/dist/{revolugo.langpicker.BTmjf3Hy.min.js → revolugo.langpicker.BiuzuhH0.min.js} +15 -15
- package/dist/revolugo.langpickerbtn.DagJBVfO.min.js +24 -0
- package/dist/{revolugo.langpickerbtn.DthGIqyz.min.js → revolugo.langpickerbtn.cw-Pilxv.min.js} +53 -71
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.position.CEExVEE8.min.js → revolugo.position.DLEaIEKi.min.js} +45 -44
- package/dist/revolugo.prebookform.CqX9sVfX.min.js +24 -0
- package/dist/{revolugo.prebookform.By-V1bl9.min.js → revolugo.prebookform.YQbaVaOP.min.js} +94 -114
- package/dist/{revolugo.roominglisteditor.BTk6Ieu-.min.js → revolugo.roominglisteditor.5YqKPUFg.min.js} +82 -101
- package/dist/revolugo.roominglisteditor.CTnsjWFF.min.js +24 -0
- package/dist/revolugo.rounded.M5NbwQ-2.min.js +68 -0
- package/dist/revolugo.ssrboot.CPwQ4mY-.min.js +18 -0
- package/dist/{revolugo.storybooktoolbar.CFuRMVxX.min.js → revolugo.storybooktoolbar.DU-Au-P6.min.js} +110 -108
- package/dist/{revolugo.termsandconditions.B1itHoql.min.js → revolugo.termsandconditions.B8wFEMtY.min.js} +90 -108
- package/dist/revolugo.termsandconditions.DdvsS1Nr.min.js +23 -0
- package/dist/revolugo.use-breakpoint-service.CZ9QX96a.min.js +106 -0
- package/dist/{revolugo.vautocomplete.bQzOaYWm.min.js → revolugo.vautocomplete.6G-7p4XB.min.js} +133 -132
- package/dist/{revolugo.vbadge.Cm6IZIUx.min.js → revolugo.vbadge.BxaNSjJA.min.js} +33 -32
- package/dist/{revolugo.vbtn.D3Vm2ZlS.min.js → revolugo.vbtn.BPIAO9U5.min.js} +82 -81
- package/dist/{revolugo.vcard.D7M0YovD.min.js → revolugo.vcard.BCX-G8mX.min.js} +50 -49
- package/dist/{revolugo.vcheckboxbtn.DxJuZdU5.min.js → revolugo.vcheckboxbtn.Q30XKYRx.min.js} +72 -71
- package/dist/{revolugo.vdialog.B3aAN6LZ.min.js → revolugo.vdialog.CMYISGau.min.js} +26 -25
- package/dist/revolugo.vdivider.CLbZrEbe.min.js +77 -0
- package/dist/{revolugo.vexpansionpanels.Cio1oHcQ.min.js → revolugo.vexpansionpanels.BD89Tllc.min.js} +42 -41
- package/dist/{revolugo.vform.1YZ7pPUG.min.js → revolugo.vform.Bk5MumIG.min.js} +15 -15
- package/dist/{revolugo.vinput.8rjbvXX2.min.js → revolugo.vinput.CSdGREv4.min.js} +91 -91
- package/dist/{revolugo.vlabel.DYs_A1Ji.min.js → revolugo.vlabel.D8YLLgkd.min.js} +5 -5
- package/dist/{revolugo.vlist.DCvg08Wu.min.js → revolugo.vlist.B_sxyWMf.min.js} +90 -88
- package/dist/revolugo.vmenu.B0HL9TEG.min.js +152 -0
- package/dist/{revolugo.vselect.C8g3avwV.min.js → revolugo.vselect.DjrnZ68P.min.js} +133 -132
- package/dist/revolugo.vsheet.cNM_MdEY.min.js +72 -0
- package/dist/{revolugo.vskeletonloader.lUzEuSvU.min.js → revolugo.vskeletonloader.MnCR2qht.min.js} +14 -13
- package/dist/{revolugo.vsnackbar.vZBrE3Q7.min.js → revolugo.vsnackbar.CTGdiOPz.min.js} +46 -44
- package/dist/revolugo.vspacer.D6ZThXFV.min.js +7 -0
- package/dist/revolugo.vtextarea._NoUVeyJ.min.js +2102 -0
- package/dist/{revolugo.vtextfield.DPMmhQ6a.min.js → revolugo.vtextfield.C5IuUTNN.min.js} +109 -107
- package/dist/{revolugo.vtoolbar.Bzh8TXIO.min.js → revolugo.vtoolbar.DkBiOuPH.min.js} +21 -20
- package/dist/{revolugo.vtooltip.DMjpxOcA.min.js → revolugo.vtooltip.CNASNy8U.min.js} +118 -109
- package/dist/{revolugo.vwindowitem.yFpV6WTQ.min.js → revolugo.vwindowitem.DWDP8yX4.min.js} +41 -41
- package/dist/revolugo.watch-list.DFagwB6N.min.js +16 -0
- package/dist/{revolugo.webcomponentwrapper.CfhsVy34.min.js → revolugo.webcomponentwrapper.CyN0tjOk.min.js} +484 -541
- package/package.json +5 -5
- package/dist/revolugo.currencypickerbtn.D02DHRmR.min.js +0 -181
- package/dist/revolugo.dialog-transition.DyO6FFbo.min.js +0 -216
- package/dist/revolugo.hoteloffersearchmenu.CQyxBtRu.min.js +0 -46
- package/dist/revolugo.hoteloffersmap.Bp9l3_9T.min.js +0 -8409
- package/dist/revolugo.hotelroomofferrequestcreator.props.Dj5-GfCx.min.js +0 -317
- package/dist/revolugo.index.Ds7GPsGI.min.js +0 -1127
- package/dist/revolugo.ssrboot.DrkbeeFe.min.js +0 -91
- package/dist/revolugo.vsheet.BeVVp2B7.min.js +0 -71
- package/dist/revolugo.vspacer.B9TRu3hb.min.js +0 -14
- package/dist/revolugo.vtextarea.DQrxw1ua.min.js +0 -2093
- /package/dist/css/{revolugo.bpricesummaryskeleton.ZHH0C1yQ.css → revolugo.bhotelroomsdetails.ZHH0C1yQ.css} +0 -0
- /package/dist/css/{revolugo.rounded.XNPQF1ia.css → revolugo.index.XNPQF1ia.css} +0 -0
- /package/dist/css/{revolugo.ssrboot.CTbbZwnv.css → revolugo.vdivider.CTbbZwnv.css} +0 -0
- /package/dist/css/{revolugo.hotelroomofferrequestcreator.DvKwEp1j.css → revolugo.vmenu.DvKwEp1j.css} +0 -0
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
function
|
1
|
+
import { c5 as Ut, ck as Le, cq as ct, cr as ft, _ as B, bN as q, aa as Pe, C as j, bo as U, W as Ne, M as $, bZ as dt, ai as ce, D as d, aj as G, a9 as _, a5 as J, V as vt, aE as qt, bQ as Yt, cs as Zt, ak as Be, ci as Xt, X as mt, cj as yt, ct as Ke, cu as Jt, cv as Qt, cw as en, c3 as tn, cx as Ge, ab as Ae, bI as nn, R as he, aO as H, cp as on, aR as gt, ag as Ie, y as X, Z as pe, cy as be, p as $e, aN as Me, ay as Ue, a8 as Ve, cz as ht, cA as an, bH as rn, aP as sn, bV as ln, a2 as un, aD as pt, ax as bt, aF as wt, a as V, c4 as cn, H as fn, I as dn, aA as vn, F as St, d as We, u as Et, i as ve, w as ae, A as qe, o as ee, e as le, j as ue, cB as mn, cb as yn, O as gn, bz as xt, c as Re, x as hn, r as Ye, v as pn, f as bn, t as wn } from "./revolugo.index.wc.CsrQl9B8.min.js";
|
2
|
+
function Gt(e) {
|
3
3
|
try {
|
4
4
|
if (typeof document < "u") {
|
5
5
|
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
@@ -19,64 +19,30 @@ function Kt(e) {
|
|
19
19
|
console.error("[revolugo-elements] ", t);
|
20
20
|
}
|
21
21
|
}
|
22
|
-
|
23
|
-
amount: e,
|
24
|
-
currency: t,
|
25
|
-
locale: n,
|
26
|
-
options: o = {},
|
27
|
-
roundMode: a
|
28
|
-
}) => {
|
29
|
-
let r = Ut({
|
30
|
-
amount: e,
|
31
|
-
currency: t
|
32
|
-
});
|
33
|
-
switch (a) {
|
34
|
-
case "ceil": {
|
35
|
-
r = Math.ceil(r);
|
36
|
-
break;
|
37
|
-
}
|
38
|
-
case "floor": {
|
39
|
-
r = Math.floor(r);
|
40
|
-
break;
|
41
|
-
}
|
42
|
-
case "round": {
|
43
|
-
r = Math.round(r);
|
44
|
-
break;
|
45
|
-
}
|
46
|
-
}
|
47
|
-
const i = r.toFixed(2).endsWith(".00") ? 0 : 2;
|
48
|
-
return n = n || window.RevolugoElements.config.lang, new Intl.NumberFormat(n, {
|
49
|
-
currency: t,
|
50
|
-
maximumFractionDigits: i,
|
51
|
-
minimumFractionDigits: i,
|
52
|
-
style: "currency",
|
53
|
-
...o
|
54
|
-
}).format(r);
|
55
|
-
};
|
56
|
-
function Cn() {
|
22
|
+
function Sn() {
|
57
23
|
var e;
|
58
|
-
return (e =
|
24
|
+
return (e = Ut()) == null ? void 0 : e.root;
|
59
25
|
}
|
60
|
-
function
|
61
|
-
const e =
|
26
|
+
function En() {
|
27
|
+
const e = Sn();
|
62
28
|
return (e == null ? void 0 : e.ce) || null;
|
63
29
|
}
|
64
|
-
function
|
30
|
+
function xn() {
|
65
31
|
var e;
|
66
|
-
return ((e =
|
32
|
+
return ((e = En()) == null ? void 0 : e.shadowRoot) || null;
|
67
33
|
}
|
68
|
-
const
|
69
|
-
function
|
34
|
+
const kt = ["top", "bottom"], kn = ["start", "end", "left", "right"];
|
35
|
+
function Ze(e, t) {
|
70
36
|
let [n, o] = e.split(" ");
|
71
|
-
return o || (o =
|
72
|
-
side:
|
73
|
-
align:
|
37
|
+
return o || (o = Le(kt, n) ? "start" : Le(kn, n) ? "top" : "center"), {
|
38
|
+
side: Xe(n, t),
|
39
|
+
align: Xe(o, t)
|
74
40
|
};
|
75
41
|
}
|
76
|
-
function
|
42
|
+
function Xe(e, t) {
|
77
43
|
return e === "start" ? t ? "right" : "left" : e === "end" ? t ? "left" : "right" : e;
|
78
44
|
}
|
79
|
-
function
|
45
|
+
function Ee(e) {
|
80
46
|
return {
|
81
47
|
side: {
|
82
48
|
center: "center",
|
@@ -107,7 +73,7 @@ function Je(e) {
|
|
107
73
|
};
|
108
74
|
}
|
109
75
|
function Qe(e) {
|
110
|
-
return
|
76
|
+
return Le(kt, e.side) ? "y" : "x";
|
111
77
|
}
|
112
78
|
class te {
|
113
79
|
constructor(t) {
|
@@ -144,7 +110,7 @@ function et(e, t) {
|
|
144
110
|
}
|
145
111
|
};
|
146
112
|
}
|
147
|
-
function
|
113
|
+
function Cn(e) {
|
148
114
|
return Array.isArray(e) ? new te({
|
149
115
|
x: e[0],
|
150
116
|
y: e[1],
|
@@ -152,7 +118,7 @@ function _n(e) {
|
|
152
118
|
height: 0
|
153
119
|
}) : e.getBoundingClientRect();
|
154
120
|
}
|
155
|
-
function
|
121
|
+
function On(e) {
|
156
122
|
const t = e.getBoundingClientRect(), n = getComputedStyle(e), o = n.transform;
|
157
123
|
if (o) {
|
158
124
|
let a, r, i, s, l;
|
@@ -162,17 +128,17 @@ function An(e) {
|
|
162
128
|
a = o.slice(7, -1).split(/, /), r = Number(a[0]), i = Number(a[3]), s = Number(a[4]), l = Number(a[5]);
|
163
129
|
else
|
164
130
|
return new te(t);
|
165
|
-
const f = n.transformOrigin, c = t.x - s - (1 - r) * parseFloat(f),
|
131
|
+
const f = n.transformOrigin, c = t.x - s - (1 - r) * parseFloat(f), k = t.y - l - (1 - i) * parseFloat(f.slice(f.indexOf(" ") + 1)), C = r ? t.width / r : e.offsetWidth + 1, p = i ? t.height / i : e.offsetHeight + 1;
|
166
132
|
return new te({
|
167
133
|
x: c,
|
168
|
-
y:
|
134
|
+
y: k,
|
169
135
|
width: C,
|
170
136
|
height: p
|
171
137
|
});
|
172
138
|
} else
|
173
139
|
return new te(t);
|
174
140
|
}
|
175
|
-
function
|
141
|
+
function Ln(e, t, n) {
|
176
142
|
if (typeof e.animate > "u") return {
|
177
143
|
finished: Promise.resolve()
|
178
144
|
};
|
@@ -190,11 +156,11 @@ function Rn(e, t, n) {
|
|
190
156
|
};
|
191
157
|
})), o;
|
192
158
|
}
|
193
|
-
const
|
194
|
-
function
|
159
|
+
const fe = /* @__PURE__ */ new WeakMap();
|
160
|
+
function Pn(e, t) {
|
195
161
|
Object.keys(t).forEach((n) => {
|
196
162
|
if (ct(n)) {
|
197
|
-
const o = ft(n), a =
|
163
|
+
const o = ft(n), a = fe.get(e);
|
198
164
|
if (t[n] == null)
|
199
165
|
a == null || a.forEach((r) => {
|
200
166
|
const [i, s] = r;
|
@@ -203,16 +169,16 @@ function Tn(e, t) {
|
|
203
169
|
else if (!a || ![...a].some((r) => r[0] === o && r[1] === t[n])) {
|
204
170
|
e.addEventListener(o, t[n]);
|
205
171
|
const r = a || /* @__PURE__ */ new Set();
|
206
|
-
r.add([o, t[n]]),
|
172
|
+
r.add([o, t[n]]), fe.has(e) || fe.set(e, r);
|
207
173
|
}
|
208
174
|
} else
|
209
175
|
t[n] == null ? e.removeAttribute(n) : e.setAttribute(n, t[n]);
|
210
176
|
});
|
211
177
|
}
|
212
|
-
function
|
178
|
+
function An(e, t) {
|
213
179
|
Object.keys(t).forEach((n) => {
|
214
180
|
if (ct(n)) {
|
215
|
-
const o = ft(n), a =
|
181
|
+
const o = ft(n), a = fe.get(e);
|
216
182
|
a == null || a.forEach((r) => {
|
217
183
|
const [i, s] = r;
|
218
184
|
i === o && (e.removeEventListener(o, s), a.delete(r));
|
@@ -221,7 +187,7 @@ function Nn(e, t) {
|
|
221
187
|
e.removeAttribute(n);
|
222
188
|
});
|
223
189
|
}
|
224
|
-
const
|
190
|
+
const we = B({
|
225
191
|
class: [String, Array, Object],
|
226
192
|
style: {
|
227
193
|
type: [String, Array, Object],
|
@@ -238,11 +204,11 @@ function Ct(e) {
|
|
238
204
|
composed: !0
|
239
205
|
}) !== document ? null : t;
|
240
206
|
}
|
241
|
-
const
|
242
|
-
function
|
207
|
+
const Rn = "cubic-bezier(0.4, 0, 0.2, 1)", qo = "cubic-bezier(0.0, 0, 0.2, 1)", Yo = "cubic-bezier(0.4, 0, 1, 1)";
|
208
|
+
function _n(e) {
|
243
209
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
244
210
|
for (; e; ) {
|
245
|
-
if (t ?
|
211
|
+
if (t ? Tn(e) : Fe(e)) return e;
|
246
212
|
e = e.parentElement;
|
247
213
|
}
|
248
214
|
return document.scrollingElement;
|
@@ -250,21 +216,21 @@ function Bn(e) {
|
|
250
216
|
function me(e, t) {
|
251
217
|
const n = [];
|
252
218
|
if (t && e && !t.contains(e)) return n;
|
253
|
-
for (; e && (
|
219
|
+
for (; e && (Fe(e) && n.push(e), e !== t); )
|
254
220
|
e = e.parentElement;
|
255
221
|
return n;
|
256
222
|
}
|
257
|
-
function
|
223
|
+
function Fe(e) {
|
258
224
|
if (!e || e.nodeType !== Node.ELEMENT_NODE) return !1;
|
259
225
|
const t = window.getComputedStyle(e);
|
260
226
|
return t.overflowY === "scroll" || t.overflowY === "auto" && e.scrollHeight > e.clientHeight;
|
261
227
|
}
|
262
|
-
function
|
228
|
+
function Tn(e) {
|
263
229
|
if (!e || e.nodeType !== Node.ELEMENT_NODE) return !1;
|
264
230
|
const t = window.getComputedStyle(e);
|
265
231
|
return ["scroll", "auto"].includes(t.overflowY);
|
266
232
|
}
|
267
|
-
function
|
233
|
+
function Nn(e) {
|
268
234
|
for (; e; ) {
|
269
235
|
if (window.getComputedStyle(e).position === "fixed")
|
270
236
|
return !0;
|
@@ -276,14 +242,14 @@ function Ot(e) {
|
|
276
242
|
const t = q("useRender");
|
277
243
|
t.render = e;
|
278
244
|
}
|
279
|
-
function
|
245
|
+
function Bn(e) {
|
280
246
|
let t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "content";
|
281
|
-
const n =
|
247
|
+
const n = Pe(), o = j();
|
282
248
|
if (U) {
|
283
249
|
const a = new ResizeObserver((r) => {
|
284
250
|
e == null || e(r, a), r.length && (t === "content" ? o.value = r[0].contentRect : o.value = r[0].target.getBoundingClientRect());
|
285
251
|
});
|
286
|
-
|
252
|
+
Ne(() => {
|
287
253
|
a.disconnect();
|
288
254
|
}), $(() => n.el, (r, i) => {
|
289
255
|
i && (a.unobserve(i), o.value = void 0), r && a.observe(r);
|
@@ -296,13 +262,13 @@ function Vn(e) {
|
|
296
262
|
contentRect: dt(o)
|
297
263
|
};
|
298
264
|
}
|
299
|
-
const ye = Symbol.for("vuetify:layout"), Lt = Symbol.for("vuetify:layout-item"), tt = 1e3,
|
265
|
+
const ye = Symbol.for("vuetify:layout"), Lt = Symbol.for("vuetify:layout-item"), tt = 1e3, In = B({
|
300
266
|
overlaps: {
|
301
267
|
type: Array,
|
302
268
|
default: () => []
|
303
269
|
},
|
304
270
|
fullHeight: Boolean
|
305
|
-
}, "layout"),
|
271
|
+
}, "layout"), Zo = B({
|
306
272
|
name: {
|
307
273
|
type: String
|
308
274
|
},
|
@@ -312,8 +278,8 @@ const ye = Symbol.for("vuetify:layout"), Lt = Symbol.for("vuetify:layout-item"),
|
|
312
278
|
},
|
313
279
|
absolute: Boolean
|
314
280
|
}, "layout-item");
|
315
|
-
function
|
316
|
-
const e =
|
281
|
+
function Xo() {
|
282
|
+
const e = ce(ye);
|
317
283
|
if (!e) throw new Error("[Vuetify] Could not find injected layout");
|
318
284
|
return {
|
319
285
|
getLayoutItem: e.getLayoutItem,
|
@@ -321,15 +287,15 @@ function na() {
|
|
321
287
|
mainStyles: e.mainStyles
|
322
288
|
};
|
323
289
|
}
|
324
|
-
function
|
325
|
-
const t =
|
290
|
+
function Jo(e) {
|
291
|
+
const t = ce(ye);
|
326
292
|
if (!t) throw new Error("[Vuetify] Could not find injected layout");
|
327
|
-
const n = e.id ?? `layout-item-${
|
293
|
+
const n = e.id ?? `layout-item-${qt()}`, o = q("useLayoutItem");
|
328
294
|
Be(Lt, {
|
329
295
|
id: n
|
330
296
|
});
|
331
|
-
const a =
|
332
|
-
|
297
|
+
const a = J(!1);
|
298
|
+
Yt(() => a.value = !0), Zt(() => a.value = !1);
|
333
299
|
const {
|
334
300
|
layoutItemStyles: r,
|
335
301
|
layoutItemScrimStyles: i
|
@@ -338,13 +304,13 @@ function oa(e) {
|
|
338
304
|
active: d(() => a.value ? !1 : e.active.value),
|
339
305
|
id: n
|
340
306
|
});
|
341
|
-
return
|
307
|
+
return Ne(() => t.unregister(n)), {
|
342
308
|
layoutItemStyles: r,
|
343
309
|
layoutRect: t.layoutRect,
|
344
310
|
layoutItemScrimStyles: i
|
345
311
|
};
|
346
312
|
}
|
347
|
-
const
|
313
|
+
const $n = (e, t, n, o) => {
|
348
314
|
let a = {
|
349
315
|
top: 0,
|
350
316
|
left: 0,
|
@@ -371,18 +337,18 @@ const Wn = (e, t, n, o) => {
|
|
371
337
|
}
|
372
338
|
return r;
|
373
339
|
};
|
374
|
-
function
|
375
|
-
const t =
|
340
|
+
function Mn(e) {
|
341
|
+
const t = ce(ye, null), n = d(() => t ? t.rootZIndex.value - 100 : tt), o = j([]), a = G(/* @__PURE__ */ new Map()), r = G(/* @__PURE__ */ new Map()), i = G(/* @__PURE__ */ new Map()), s = G(/* @__PURE__ */ new Map()), l = G(/* @__PURE__ */ new Map()), {
|
376
342
|
resizeRef: f,
|
377
343
|
contentRect: c
|
378
|
-
} =
|
344
|
+
} = Bn(), k = d(() => {
|
379
345
|
const g = /* @__PURE__ */ new Map(), S = e.overlaps ?? [];
|
380
346
|
for (const u of S.filter((E) => E.includes(":"))) {
|
381
|
-
const [E,
|
382
|
-
if (!o.value.includes(E) || !o.value.includes(
|
383
|
-
const
|
384
|
-
!
|
385
|
-
position:
|
347
|
+
const [E, A] = u.split(":");
|
348
|
+
if (!o.value.includes(E) || !o.value.includes(A)) continue;
|
349
|
+
const x = a.get(E), b = a.get(A), y = r.get(E), w = r.get(A);
|
350
|
+
!x || !b || !y || !w || (g.set(A, {
|
351
|
+
position: x.value,
|
386
352
|
amount: parseInt(y.value, 10)
|
387
353
|
}), g.set(E, {
|
388
354
|
position: b.value,
|
@@ -393,35 +359,35 @@ function Hn(e) {
|
|
393
359
|
}), C = d(() => {
|
394
360
|
const g = [...new Set([...i.values()].map((u) => u.value))].sort((u, E) => u - E), S = [];
|
395
361
|
for (const u of g) {
|
396
|
-
const E = o.value.filter((
|
397
|
-
var
|
398
|
-
return ((
|
362
|
+
const E = o.value.filter((A) => {
|
363
|
+
var x;
|
364
|
+
return ((x = i.get(A)) == null ? void 0 : x.value) === u;
|
399
365
|
});
|
400
366
|
S.push(...E);
|
401
367
|
}
|
402
|
-
return
|
368
|
+
return $n(S, a, r, s);
|
403
369
|
}), p = d(() => !Array.from(l.values()).some((g) => g.value)), m = d(() => C.value[C.value.length - 1].layer), v = d(() => ({
|
404
|
-
"--v-layout-left":
|
405
|
-
"--v-layout-right":
|
406
|
-
"--v-layout-top":
|
407
|
-
"--v-layout-bottom":
|
370
|
+
"--v-layout-left": _(m.value.left),
|
371
|
+
"--v-layout-right": _(m.value.right),
|
372
|
+
"--v-layout-top": _(m.value.top),
|
373
|
+
"--v-layout-bottom": _(m.value.bottom),
|
408
374
|
...p.value ? void 0 : {
|
409
375
|
transition: "none"
|
410
376
|
}
|
411
|
-
})),
|
377
|
+
})), R = d(() => C.value.slice(1).map((g, S) => {
|
412
378
|
let {
|
413
379
|
id: u
|
414
380
|
} = g;
|
415
381
|
const {
|
416
382
|
layer: E
|
417
|
-
} = C.value[S],
|
383
|
+
} = C.value[S], A = r.get(u), x = a.get(u);
|
418
384
|
return {
|
419
385
|
id: u,
|
420
386
|
...E,
|
421
|
-
size: Number(
|
422
|
-
position:
|
387
|
+
size: Number(A.value),
|
388
|
+
position: x.value
|
423
389
|
};
|
424
|
-
})), T = (g) =>
|
390
|
+
})), T = (g) => R.value.find((S) => S.id === g), P = q("createLayout"), L = J(!1);
|
425
391
|
vt(() => {
|
426
392
|
L.value = !0;
|
427
393
|
}), Be(ye, {
|
@@ -429,46 +395,46 @@ function Hn(e) {
|
|
429
395
|
let {
|
430
396
|
id: u,
|
431
397
|
order: E,
|
432
|
-
position:
|
433
|
-
layoutSize:
|
398
|
+
position: A,
|
399
|
+
layoutSize: x,
|
434
400
|
elementSize: b,
|
435
401
|
active: y,
|
436
402
|
disableTransitions: w,
|
437
|
-
absolute:
|
403
|
+
absolute: W
|
438
404
|
} = S;
|
439
|
-
i.set(u, E), a.set(u,
|
440
|
-
const D =
|
405
|
+
i.set(u, E), a.set(u, A), r.set(u, x), s.set(u, y), w && l.set(u, w);
|
406
|
+
const D = Xt(Lt, P == null ? void 0 : P.vnode).indexOf(g);
|
441
407
|
D > -1 ? o.value.splice(D, 0, u) : o.value.push(u);
|
442
|
-
const N = d(() =>
|
443
|
-
const
|
444
|
-
[
|
445
|
-
zIndex:
|
446
|
-
transform: `translate${
|
447
|
-
position:
|
408
|
+
const N = d(() => R.value.findIndex((Q) => Q.id === u)), F = d(() => n.value + C.value.length * 2 - N.value * 2), Y = d(() => {
|
409
|
+
const Q = A.value === "left" || A.value === "right", ne = A.value === "right", oe = A.value === "bottom", re = b.value ?? x.value, Se = re === 0 ? "%" : "px", h = {
|
410
|
+
[A.value]: 0,
|
411
|
+
zIndex: F.value,
|
412
|
+
transform: `translate${Q ? "X" : "Y"}(${(y.value ? 0 : -(re === 0 ? 100 : re)) * (ne || oe ? -1 : 1)}${Se})`,
|
413
|
+
position: W.value || n.value !== tt ? "absolute" : "fixed",
|
448
414
|
...p.value ? void 0 : {
|
449
415
|
transition: "none"
|
450
416
|
}
|
451
417
|
};
|
452
418
|
if (!L.value) return h;
|
453
|
-
const O =
|
419
|
+
const O = R.value[N.value];
|
454
420
|
if (!O) throw new Error(`[Vuetify] Could not find layout item "${u}"`);
|
455
|
-
const
|
456
|
-
return
|
421
|
+
const K = k.value.get(u);
|
422
|
+
return K && (O[K.position] += K.amount), {
|
457
423
|
...h,
|
458
|
-
height:
|
424
|
+
height: Q ? `calc(100% - ${O.top}px - ${O.bottom}px)` : b.value ? `${b.value}px` : void 0,
|
459
425
|
left: ne ? void 0 : `${O.left}px`,
|
460
426
|
right: ne ? `${O.right}px` : void 0,
|
461
|
-
top:
|
462
|
-
bottom:
|
463
|
-
width:
|
427
|
+
top: A.value !== "bottom" ? `${O.top}px` : void 0,
|
428
|
+
bottom: A.value !== "top" ? `${O.bottom}px` : void 0,
|
429
|
+
width: Q ? b.value ? `${b.value}px` : void 0 : `calc(100% - ${O.left}px - ${O.right}px)`
|
464
430
|
};
|
465
|
-
}),
|
466
|
-
zIndex:
|
431
|
+
}), Z = d(() => ({
|
432
|
+
zIndex: F.value - 1
|
467
433
|
}));
|
468
434
|
return {
|
469
435
|
layoutItemStyles: Y,
|
470
|
-
layoutItemScrimStyles:
|
471
|
-
zIndex:
|
436
|
+
layoutItemScrimStyles: Z,
|
437
|
+
zIndex: F
|
472
438
|
};
|
473
439
|
},
|
474
440
|
unregister: (g) => {
|
@@ -477,11 +443,11 @@ function Hn(e) {
|
|
477
443
|
mainRect: m,
|
478
444
|
mainStyles: v,
|
479
445
|
getLayoutItem: T,
|
480
|
-
items:
|
446
|
+
items: R,
|
481
447
|
layoutRect: c,
|
482
448
|
rootZIndex: n
|
483
449
|
});
|
484
|
-
const
|
450
|
+
const I = d(() => ["v-layout", {
|
485
451
|
"v-layout--full-height": e.fullHeight
|
486
452
|
}]), M = d(() => ({
|
487
453
|
zIndex: t ? n.value : void 0,
|
@@ -489,91 +455,70 @@ function Hn(e) {
|
|
489
455
|
overflow: t ? "hidden" : void 0
|
490
456
|
}));
|
491
457
|
return {
|
492
|
-
layoutClasses:
|
458
|
+
layoutClasses: I,
|
493
459
|
layoutStyles: M,
|
494
460
|
getLayoutItem: T,
|
495
|
-
items:
|
461
|
+
items: R,
|
496
462
|
layoutRect: c,
|
497
463
|
layoutRef: f
|
498
464
|
};
|
499
465
|
}
|
500
|
-
const
|
501
|
-
__name: "BFormattedAmount",
|
502
|
-
props: {
|
503
|
-
amount: { default: 0 },
|
504
|
-
currency: {},
|
505
|
-
locale: {},
|
506
|
-
roundMode: {}
|
507
|
-
},
|
508
|
-
setup(e) {
|
509
|
-
const t = e, { config: n } = Qt(), o = d(
|
510
|
-
() => xn({
|
511
|
-
...t,
|
512
|
-
currency: t.currency || n.value.currency,
|
513
|
-
locale: t.locale || n.value.lang
|
514
|
-
})
|
515
|
-
);
|
516
|
-
return (a, r) => isNaN(a.amount) ? en("", !0) : (Z(), ue("span", {
|
517
|
-
key: 0,
|
518
|
-
innerHTML: o.value.replace(/\s/gu, " ")
|
519
|
-
}, null, 8, zn));
|
520
|
-
}
|
521
|
-
}), He = (e, t) => {
|
466
|
+
const ze = (e, t) => {
|
522
467
|
const n = e.__vccOpts || e;
|
523
468
|
for (const [o, a] of t)
|
524
469
|
n[o] = a;
|
525
470
|
return n;
|
526
|
-
}, Pt =
|
471
|
+
}, Pt = B({
|
527
472
|
tag: {
|
528
473
|
type: String,
|
529
474
|
default: "div"
|
530
475
|
}
|
531
476
|
}, "tag");
|
532
|
-
function
|
477
|
+
function At(e) {
|
533
478
|
return yt(() => {
|
534
479
|
const t = [], n = {};
|
535
480
|
if (e.value.background)
|
536
|
-
if (
|
537
|
-
if (n.backgroundColor = e.value.background, !e.value.text &&
|
538
|
-
const o =
|
481
|
+
if (Ke(e.value.background)) {
|
482
|
+
if (n.backgroundColor = e.value.background, !e.value.text && Jt(e.value.background)) {
|
483
|
+
const o = Qt(e.value.background);
|
539
484
|
if (o.a == null || o.a === 1) {
|
540
|
-
const a =
|
485
|
+
const a = en(o);
|
541
486
|
n.color = a, n.caretColor = a;
|
542
487
|
}
|
543
488
|
}
|
544
489
|
} else
|
545
490
|
t.push(`bg-${e.value.background}`);
|
546
|
-
return e.value.text && (
|
491
|
+
return e.value.text && (Ke(e.value.text) ? (n.color = e.value.text, n.caretColor = e.value.text) : t.push(`text-${e.value.text}`)), {
|
547
492
|
colorClasses: t,
|
548
493
|
colorStyles: n
|
549
494
|
};
|
550
495
|
});
|
551
496
|
}
|
552
|
-
function
|
497
|
+
function Qo(e, t) {
|
553
498
|
const n = d(() => ({
|
554
499
|
text: mt(e) ? e.value : t ? e[t] : null
|
555
500
|
})), {
|
556
501
|
colorClasses: o,
|
557
502
|
colorStyles: a
|
558
|
-
} =
|
503
|
+
} = At(n);
|
559
504
|
return {
|
560
505
|
textColorClasses: o,
|
561
506
|
textColorStyles: a
|
562
507
|
};
|
563
508
|
}
|
564
|
-
function
|
509
|
+
function Vn(e, t) {
|
565
510
|
const n = d(() => ({
|
566
511
|
background: mt(e) ? e.value : t ? e[t] : null
|
567
512
|
})), {
|
568
513
|
colorClasses: o,
|
569
514
|
colorStyles: a
|
570
|
-
} =
|
515
|
+
} = At(n);
|
571
516
|
return {
|
572
517
|
backgroundColorClasses: o,
|
573
518
|
backgroundColorStyles: a
|
574
519
|
};
|
575
520
|
}
|
576
|
-
const
|
521
|
+
const Wn = B({
|
577
522
|
height: [Number, String],
|
578
523
|
maxHeight: [Number, String],
|
579
524
|
maxWidth: [Number, String],
|
@@ -581,35 +526,35 @@ const Dn = I({
|
|
581
526
|
minWidth: [Number, String],
|
582
527
|
width: [Number, String]
|
583
528
|
}, "dimension");
|
584
|
-
function
|
529
|
+
function Fn(e) {
|
585
530
|
return {
|
586
531
|
dimensionStyles: d(() => {
|
587
|
-
const n = {}, o =
|
532
|
+
const n = {}, o = _(e.height), a = _(e.maxHeight), r = _(e.maxWidth), i = _(e.minHeight), s = _(e.minWidth), l = _(e.width);
|
588
533
|
return o != null && (n.height = o), a != null && (n.maxHeight = a), r != null && (n.maxWidth = r), i != null && (n.minHeight = i), s != null && (n.minWidth = s), l != null && (n.width = l), n;
|
589
534
|
})
|
590
535
|
};
|
591
536
|
}
|
592
|
-
function
|
537
|
+
function zn() {
|
593
538
|
const e = q("useRoute");
|
594
539
|
return d(() => {
|
595
540
|
var t;
|
596
541
|
return (t = e == null ? void 0 : e.proxy) == null ? void 0 : t.$route;
|
597
542
|
});
|
598
543
|
}
|
599
|
-
function
|
544
|
+
function jn() {
|
600
545
|
var e, t;
|
601
546
|
return (t = (e = q("useRouter")) == null ? void 0 : e.proxy) == null ? void 0 : t.$router;
|
602
547
|
}
|
603
|
-
function
|
604
|
-
var
|
605
|
-
const n =
|
548
|
+
function ea(e, t) {
|
549
|
+
var k, C;
|
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"));
|
606
551
|
if (typeof n == "string" || !("useLink" in n)) {
|
607
552
|
const p = Ae(e, "href");
|
608
553
|
return {
|
609
554
|
isLink: o,
|
610
555
|
isClickable: a,
|
611
556
|
href: p,
|
612
|
-
linkProps:
|
557
|
+
linkProps: G({
|
613
558
|
href: p
|
614
559
|
})
|
615
560
|
};
|
@@ -617,9 +562,9 @@ function sa(e, t) {
|
|
617
562
|
const r = d(() => ({
|
618
563
|
...e,
|
619
564
|
to: Ae(() => e.to || "")
|
620
|
-
})), i = n.useLink(r.value), s = d(() => e.to ? i : void 0), l =
|
565
|
+
})), i = n.useLink(r.value), s = d(() => e.to ? i : void 0), l = zn(), f = d(() => {
|
621
566
|
var p, m, v;
|
622
|
-
return s.value ? e.exact ? l.value ? ((v = s.value.isExactActive) == null ? void 0 : v.value) &&
|
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;
|
623
568
|
}), c = d(() => {
|
624
569
|
var p;
|
625
570
|
return e.to ? (p = s.value) == null ? void 0 : p.route.value.href : e.href;
|
@@ -628,31 +573,31 @@ function sa(e, t) {
|
|
628
573
|
isLink: o,
|
629
574
|
isClickable: a,
|
630
575
|
isActive: f,
|
631
|
-
route: (
|
576
|
+
route: (k = s.value) == null ? void 0 : k.route,
|
632
577
|
navigate: (C = s.value) == null ? void 0 : C.navigate,
|
633
578
|
href: c,
|
634
|
-
linkProps:
|
579
|
+
linkProps: G({
|
635
580
|
href: c,
|
636
581
|
"aria-current": d(() => f.value ? "page" : void 0)
|
637
582
|
})
|
638
583
|
};
|
639
584
|
}
|
640
|
-
const
|
585
|
+
const ta = B({
|
641
586
|
href: String,
|
642
587
|
replace: Boolean,
|
643
588
|
to: [String, Object],
|
644
589
|
exact: Boolean
|
645
590
|
}, "router");
|
646
|
-
let
|
647
|
-
function
|
591
|
+
let ke = !1;
|
592
|
+
function Hn(e, t) {
|
648
593
|
let n = !1, o, a;
|
649
|
-
U && (e != null && e.beforeEach) && (
|
594
|
+
U && (e != null && e.beforeEach) && (he(() => {
|
650
595
|
window.addEventListener("popstate", r), o = e.beforeEach((i, s, l) => {
|
651
|
-
|
596
|
+
ke ? n ? t(l) : l() : setTimeout(() => n ? t(l) : l()), ke = !0;
|
652
597
|
}), a = e == null ? void 0 : e.afterEach(() => {
|
653
|
-
|
598
|
+
ke = !1;
|
654
599
|
});
|
655
|
-
}),
|
600
|
+
}), H(() => {
|
656
601
|
window.removeEventListener("popstate", r), o == null || o(), a == null || a();
|
657
602
|
}));
|
658
603
|
function r(i) {
|
@@ -660,13 +605,13 @@ function qn(e, t) {
|
|
660
605
|
(s = i.state) != null && s.replaced || (n = !0, setTimeout(() => n = !1));
|
661
606
|
}
|
662
607
|
}
|
663
|
-
const
|
608
|
+
const Dn = B({
|
664
609
|
transition: {
|
665
610
|
type: [Boolean, String, Object],
|
666
611
|
default: "fade-transition",
|
667
612
|
validator: (e) => e !== !0
|
668
613
|
}
|
669
|
-
}, "transition"),
|
614
|
+
}, "transition"), Kn = (e, t) => {
|
670
615
|
let {
|
671
616
|
slots: n
|
672
617
|
} = t;
|
@@ -676,39 +621,39 @@ const Yn = I({
|
|
676
621
|
group: r,
|
677
622
|
...i
|
678
623
|
} = e, {
|
679
|
-
component: s = r ?
|
624
|
+
component: s = r ? on : gt,
|
680
625
|
...l
|
681
626
|
} = typeof o == "object" ? o : {};
|
682
|
-
return
|
627
|
+
return Ie(s, X(typeof o == "string" ? {
|
683
628
|
name: a ? "" : o
|
684
629
|
} : l, typeof o == "string" ? {} : Object.fromEntries(Object.entries({
|
685
630
|
disabled: a,
|
686
631
|
group: r
|
687
632
|
}).filter((f) => {
|
688
|
-
let [c,
|
689
|
-
return
|
633
|
+
let [c, k] = f;
|
634
|
+
return k !== void 0;
|
690
635
|
})), i), n);
|
691
|
-
},
|
636
|
+
}, Rt = be.reduce((e, t) => (e[t] = {
|
692
637
|
type: [Boolean, String, Number],
|
693
638
|
default: !1
|
694
|
-
}, e), {}),
|
695
|
-
const n = "offset" +
|
639
|
+
}, e), {}), _t = be.reduce((e, t) => {
|
640
|
+
const n = "offset" + $e(t);
|
696
641
|
return e[n] = {
|
697
642
|
type: [String, Number],
|
698
643
|
default: null
|
699
644
|
}, e;
|
700
|
-
}, {}), Tt =
|
701
|
-
const n = "order" +
|
645
|
+
}, {}), Tt = be.reduce((e, t) => {
|
646
|
+
const n = "order" + $e(t);
|
702
647
|
return e[n] = {
|
703
648
|
type: [String, Number],
|
704
649
|
default: null
|
705
650
|
}, e;
|
706
651
|
}, {}), nt = {
|
707
|
-
col: Object.keys(
|
708
|
-
offset: Object.keys(
|
652
|
+
col: Object.keys(Rt),
|
653
|
+
offset: Object.keys(_t),
|
709
654
|
order: Object.keys(Tt)
|
710
655
|
};
|
711
|
-
function
|
656
|
+
function Gn(e, t, n) {
|
712
657
|
let o = e;
|
713
658
|
if (!(n == null || n === !1)) {
|
714
659
|
if (t) {
|
@@ -718,17 +663,17 @@ function Zn(e, t, n) {
|
|
718
663
|
return e === "col" && (o = "v-" + o), e === "col" && (n === "" || n === !0) || (o += `-${n}`), o.toLowerCase();
|
719
664
|
}
|
720
665
|
}
|
721
|
-
const
|
666
|
+
const Un = ["auto", "start", "end", "center", "baseline", "stretch"], qn = B({
|
722
667
|
cols: {
|
723
668
|
type: [Boolean, String, Number],
|
724
669
|
default: !1
|
725
670
|
},
|
726
|
-
...
|
671
|
+
...Rt,
|
727
672
|
offset: {
|
728
673
|
type: [String, Number],
|
729
674
|
default: null
|
730
675
|
},
|
731
|
-
...
|
676
|
+
..._t,
|
732
677
|
order: {
|
733
678
|
type: [String, Number],
|
734
679
|
default: null
|
@@ -737,13 +682,13 @@ const Jn = ["auto", "start", "end", "center", "baseline", "stretch"], Qn = I({
|
|
737
682
|
alignSelf: {
|
738
683
|
type: String,
|
739
684
|
default: null,
|
740
|
-
validator: (e) =>
|
685
|
+
validator: (e) => Un.includes(e)
|
741
686
|
},
|
742
|
-
...
|
687
|
+
...we(),
|
743
688
|
...Pt()
|
744
|
-
}, "VCol"),
|
689
|
+
}, "VCol"), Yn = pe()({
|
745
690
|
name: "VCol",
|
746
|
-
props:
|
691
|
+
props: qn(),
|
747
692
|
setup(e, t) {
|
748
693
|
let {
|
749
694
|
slots: n
|
@@ -753,7 +698,7 @@ const Jn = ["auto", "start", "end", "center", "baseline", "stretch"], Qn = I({
|
|
753
698
|
let r;
|
754
699
|
for (r in nt)
|
755
700
|
nt[r].forEach((s) => {
|
756
|
-
const l = e[s], f =
|
701
|
+
const l = e[s], f = Gn(r, s, l);
|
757
702
|
f && a.push(f);
|
758
703
|
});
|
759
704
|
const i = a.some((s) => s.startsWith("v-col-"));
|
@@ -768,42 +713,42 @@ const Jn = ["auto", "start", "end", "center", "baseline", "stretch"], Qn = I({
|
|
768
713
|
});
|
769
714
|
return () => {
|
770
715
|
var a;
|
771
|
-
return
|
716
|
+
return Ie(e.tag, {
|
772
717
|
class: [o.value, e.class],
|
773
718
|
style: e.style
|
774
719
|
}, (a = n.default) == null ? void 0 : a.call(n));
|
775
720
|
};
|
776
721
|
}
|
777
|
-
}),
|
778
|
-
function
|
779
|
-
return
|
780
|
-
const a = e +
|
722
|
+
}), je = ["start", "end", "center"], Nt = ["space-between", "space-around", "space-evenly"];
|
723
|
+
function He(e, t) {
|
724
|
+
return be.reduce((n, o) => {
|
725
|
+
const a = e + $e(o);
|
781
726
|
return n[a] = t(), n;
|
782
727
|
}, {});
|
783
728
|
}
|
784
|
-
const
|
729
|
+
const Zn = [...je, "baseline", "stretch"], Bt = (e) => Zn.includes(e), It = He("align", () => ({
|
785
730
|
type: String,
|
786
731
|
default: null,
|
787
|
-
validator:
|
788
|
-
})),
|
732
|
+
validator: Bt
|
733
|
+
})), Xn = [...je, ...Nt], $t = (e) => Xn.includes(e), Mt = He("justify", () => ({
|
789
734
|
type: String,
|
790
735
|
default: null,
|
791
736
|
validator: $t
|
792
|
-
})),
|
737
|
+
})), Jn = [...je, ...Nt, "stretch"], Vt = (e) => Jn.includes(e), Wt = He("alignContent", () => ({
|
793
738
|
type: String,
|
794
739
|
default: null,
|
795
740
|
validator: Vt
|
796
741
|
})), ot = {
|
797
|
-
align: Object.keys(
|
742
|
+
align: Object.keys(It),
|
798
743
|
justify: Object.keys(Mt),
|
799
|
-
alignContent: Object.keys(
|
800
|
-
},
|
744
|
+
alignContent: Object.keys(Wt)
|
745
|
+
}, Qn = {
|
801
746
|
align: "align",
|
802
747
|
justify: "justify",
|
803
748
|
alignContent: "align-content"
|
804
749
|
};
|
805
|
-
function
|
806
|
-
let o =
|
750
|
+
function eo(e, t, n) {
|
751
|
+
let o = Qn[e];
|
807
752
|
if (n != null) {
|
808
753
|
if (t) {
|
809
754
|
const a = t.replace(e, "");
|
@@ -812,15 +757,15 @@ function ro(e, t, n) {
|
|
812
757
|
return o += `-${n}`, o.toLowerCase();
|
813
758
|
}
|
814
759
|
}
|
815
|
-
const
|
760
|
+
const to = B({
|
816
761
|
dense: Boolean,
|
817
762
|
noGutters: Boolean,
|
818
763
|
align: {
|
819
764
|
type: String,
|
820
765
|
default: null,
|
821
|
-
validator:
|
766
|
+
validator: Bt
|
822
767
|
},
|
823
|
-
...
|
768
|
+
...It,
|
824
769
|
justify: {
|
825
770
|
type: String,
|
826
771
|
default: null,
|
@@ -832,12 +777,12 @@ const so = I({
|
|
832
777
|
default: null,
|
833
778
|
validator: Vt
|
834
779
|
},
|
835
|
-
...
|
836
|
-
...
|
780
|
+
...Wt,
|
781
|
+
...we(),
|
837
782
|
...Pt()
|
838
|
-
}, "VRow"),
|
783
|
+
}, "VRow"), no = pe()({
|
839
784
|
name: "VRow",
|
840
|
-
props:
|
785
|
+
props: to(),
|
841
786
|
setup(e, t) {
|
842
787
|
let {
|
843
788
|
slots: n
|
@@ -847,7 +792,7 @@ const so = I({
|
|
847
792
|
let r;
|
848
793
|
for (r in ot)
|
849
794
|
ot[r].forEach((i) => {
|
850
|
-
const s = e[i], l =
|
795
|
+
const s = e[i], l = eo(r, i, s);
|
851
796
|
l && a.push(l);
|
852
797
|
});
|
853
798
|
return a.push({
|
@@ -860,20 +805,20 @@ const so = I({
|
|
860
805
|
});
|
861
806
|
return () => {
|
862
807
|
var a;
|
863
|
-
return
|
808
|
+
return Ie(e.tag, {
|
864
809
|
class: ["v-row", o.value, e.class],
|
865
810
|
style: e.style
|
866
811
|
}, (a = n.default) == null ? void 0 : a.call(n));
|
867
812
|
};
|
868
813
|
}
|
869
814
|
});
|
870
|
-
function
|
815
|
+
function Ce(e, t) {
|
871
816
|
return {
|
872
817
|
x: e.x + t.x,
|
873
818
|
y: e.y + t.y
|
874
819
|
};
|
875
820
|
}
|
876
|
-
function
|
821
|
+
function oo(e, t) {
|
877
822
|
return {
|
878
823
|
x: e.x - t.x,
|
879
824
|
y: e.y - t.y
|
@@ -885,7 +830,7 @@ function at(e, t) {
|
|
885
830
|
side: n,
|
886
831
|
align: o
|
887
832
|
} = e, a = o === "left" ? 0 : o === "center" ? t.width / 2 : o === "right" ? t.width : o, r = n === "top" ? 0 : n === "bottom" ? t.height : n;
|
888
|
-
return
|
833
|
+
return Ce({
|
889
834
|
x: a,
|
890
835
|
y: r
|
891
836
|
}, t);
|
@@ -894,26 +839,26 @@ function at(e, t) {
|
|
894
839
|
side: n,
|
895
840
|
align: o
|
896
841
|
} = e, a = n === "left" ? 0 : n === "right" ? t.width : n, r = o === "top" ? 0 : o === "center" ? t.height / 2 : o === "bottom" ? t.height : o;
|
897
|
-
return
|
842
|
+
return Ce({
|
898
843
|
x: a,
|
899
844
|
y: r
|
900
845
|
}, t);
|
901
846
|
}
|
902
|
-
return
|
847
|
+
return Ce({
|
903
848
|
x: t.width / 2,
|
904
849
|
y: t.height / 2
|
905
850
|
}, t);
|
906
851
|
}
|
907
|
-
const
|
908
|
-
static:
|
852
|
+
const Ft = {
|
853
|
+
static: so,
|
909
854
|
// specific viewport position, usually centered
|
910
|
-
connected:
|
855
|
+
connected: lo
|
911
856
|
// connected to a certain element
|
912
|
-
},
|
857
|
+
}, ao = B({
|
913
858
|
locationStrategy: {
|
914
859
|
type: [String, Function],
|
915
860
|
default: "static",
|
916
|
-
validator: (e) => typeof e == "function" || e in
|
861
|
+
validator: (e) => typeof e == "function" || e in Ft
|
917
862
|
},
|
918
863
|
location: {
|
919
864
|
type: String,
|
@@ -925,15 +870,15 @@ const Wt = {
|
|
925
870
|
},
|
926
871
|
offset: [Number, String, Array]
|
927
872
|
}, "VOverlay-location-strategies");
|
928
|
-
function
|
929
|
-
const n =
|
930
|
-
U &&
|
873
|
+
function ro(e, t) {
|
874
|
+
const n = j({}), o = j();
|
875
|
+
U && Me(() => !!(t.isActive.value && e.locationStrategy), (r) => {
|
931
876
|
var i, s;
|
932
|
-
$(() => e.locationStrategy, r),
|
877
|
+
$(() => e.locationStrategy, r), H(() => {
|
933
878
|
window.removeEventListener("resize", a), o.value = void 0;
|
934
879
|
}), window.addEventListener("resize", a, {
|
935
880
|
passive: !0
|
936
|
-
}), typeof e.locationStrategy == "function" ? o.value = (i = e.locationStrategy(t, e, n)) == null ? void 0 : i.updateLocation : o.value = (s =
|
881
|
+
}), typeof e.locationStrategy == "function" ? o.value = (i = e.locationStrategy(t, e, n)) == null ? void 0 : i.updateLocation : o.value = (s = Ft[e.locationStrategy](t, e, n)) == null ? void 0 : s.updateLocation;
|
937
882
|
});
|
938
883
|
function a(r) {
|
939
884
|
var i;
|
@@ -944,14 +889,14 @@ function co(e, t) {
|
|
944
889
|
updateLocation: o
|
945
890
|
};
|
946
891
|
}
|
947
|
-
function
|
892
|
+
function so() {
|
948
893
|
}
|
949
|
-
function
|
950
|
-
const n =
|
894
|
+
function io(e, t) {
|
895
|
+
const n = On(e);
|
951
896
|
return t ? n.x += parseFloat(e.style.right || 0) : n.x -= parseFloat(e.style.left || 0), n.y -= parseFloat(e.style.top || 0), n;
|
952
897
|
}
|
953
|
-
function
|
954
|
-
(Array.isArray(e.target.value) ||
|
898
|
+
function lo(e, t, n) {
|
899
|
+
(Array.isArray(e.target.value) || Nn(e.target.value)) && Object.assign(n.value, {
|
955
900
|
position: "fixed",
|
956
901
|
top: 0,
|
957
902
|
[e.isRtl.value ? "right" : "left"]: 0
|
@@ -960,7 +905,7 @@ function mo(e, t, n) {
|
|
960
905
|
preferredAnchor: a,
|
961
906
|
preferredOrigin: r
|
962
907
|
} = yt(() => {
|
963
|
-
const m =
|
908
|
+
const m = Ze(t.location, e.isRtl.value), v = t.origin === "overlap" ? m : t.origin === "auto" ? Ee(m) : Ze(t.origin, e.isRtl.value);
|
964
909
|
return m.side === v.side && m.align === xe(v).align ? {
|
965
910
|
preferredAnchor: Je(m),
|
966
911
|
preferredOrigin: Je(v)
|
@@ -980,34 +925,34 @@ function mo(e, t, n) {
|
|
980
925
|
}
|
981
926
|
return typeof t.offset == "number" ? [t.offset, 0] : [0, 0];
|
982
927
|
});
|
983
|
-
let
|
928
|
+
let k = !1;
|
984
929
|
const C = new ResizeObserver(() => {
|
985
|
-
|
930
|
+
k && p();
|
986
931
|
});
|
987
932
|
$([e.target, e.contentEl], (m, v) => {
|
988
|
-
let [
|
989
|
-
P && !Array.isArray(P) && C.unobserve(P),
|
933
|
+
let [R, T] = m, [P, L] = v;
|
934
|
+
P && !Array.isArray(P) && C.unobserve(P), R && !Array.isArray(R) && C.observe(R), L && C.unobserve(L), T && C.observe(T);
|
990
935
|
}, {
|
991
936
|
immediate: !0
|
992
|
-
}),
|
937
|
+
}), H(() => {
|
993
938
|
C.disconnect();
|
994
939
|
});
|
995
940
|
function p() {
|
996
|
-
if (
|
997
|
-
const m =
|
998
|
-
|
999
|
-
const P =
|
941
|
+
if (k = !1, requestAnimationFrame(() => k = !0), !e.target.value || !e.contentEl.value) return;
|
942
|
+
const m = Cn(e.target.value), v = io(e.contentEl.value, e.isRtl.value), R = me(e.contentEl.value), T = 12;
|
943
|
+
R.length || (R.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)));
|
944
|
+
const P = R.reduce((x, b) => {
|
1000
945
|
const y = b.getBoundingClientRect(), w = new te({
|
1001
946
|
x: b === document.documentElement ? 0 : y.x,
|
1002
947
|
y: b === document.documentElement ? 0 : y.y,
|
1003
948
|
width: b.clientWidth,
|
1004
949
|
height: b.clientHeight
|
1005
950
|
});
|
1006
|
-
return
|
1007
|
-
x: Math.max(
|
1008
|
-
y: Math.max(
|
1009
|
-
width: Math.min(
|
1010
|
-
height: Math.min(
|
951
|
+
return x ? new te({
|
952
|
+
x: Math.max(x.left, w.left),
|
953
|
+
y: Math.max(x.top, w.top),
|
954
|
+
width: Math.min(x.right, w.right) - Math.max(x.left, w.left),
|
955
|
+
height: Math.min(x.bottom, w.bottom) - Math.max(x.top, w.top)
|
1011
956
|
}) : w;
|
1012
957
|
}, void 0);
|
1013
958
|
P.x += T, P.y += T, P.width -= T * 2, P.height -= T * 2;
|
@@ -1015,44 +960,44 @@ function mo(e, t, n) {
|
|
1015
960
|
anchor: a.value,
|
1016
961
|
origin: r.value
|
1017
962
|
};
|
1018
|
-
function
|
1019
|
-
const b = new te(v), y = at(
|
963
|
+
function I(x) {
|
964
|
+
const b = new te(v), y = at(x.anchor, m), w = at(x.origin, b);
|
1020
965
|
let {
|
1021
|
-
x:
|
1022
|
-
y:
|
1023
|
-
} =
|
1024
|
-
switch (
|
966
|
+
x: W,
|
967
|
+
y: z
|
968
|
+
} = oo(y, w);
|
969
|
+
switch (x.anchor.side) {
|
1025
970
|
case "top":
|
1026
|
-
|
971
|
+
z -= c.value[0];
|
1027
972
|
break;
|
1028
973
|
case "bottom":
|
1029
|
-
|
974
|
+
z += c.value[0];
|
1030
975
|
break;
|
1031
976
|
case "left":
|
1032
|
-
|
977
|
+
W -= c.value[0];
|
1033
978
|
break;
|
1034
979
|
case "right":
|
1035
|
-
|
980
|
+
W += c.value[0];
|
1036
981
|
break;
|
1037
982
|
}
|
1038
|
-
switch (
|
983
|
+
switch (x.anchor.align) {
|
1039
984
|
case "top":
|
1040
|
-
|
985
|
+
z -= c.value[1];
|
1041
986
|
break;
|
1042
987
|
case "bottom":
|
1043
|
-
|
988
|
+
z += c.value[1];
|
1044
989
|
break;
|
1045
990
|
case "left":
|
1046
|
-
|
991
|
+
W -= c.value[1];
|
1047
992
|
break;
|
1048
993
|
case "right":
|
1049
|
-
|
994
|
+
W += c.value[1];
|
1050
995
|
break;
|
1051
996
|
}
|
1052
|
-
return b.x +=
|
997
|
+
return b.x += W, b.y += z, b.width = Math.min(b.width, l.value), b.height = Math.min(b.height, f.value), {
|
1053
998
|
overflows: et(b, P),
|
1054
|
-
x:
|
1055
|
-
y:
|
999
|
+
x: W,
|
1000
|
+
y: z
|
1056
1001
|
};
|
1057
1002
|
}
|
1058
1003
|
let M = 0, g = 0;
|
@@ -1066,29 +1011,29 @@ function mo(e, t, n) {
|
|
1066
1011
|
let E = -1;
|
1067
1012
|
for (; !(E++ > 10); ) {
|
1068
1013
|
const {
|
1069
|
-
x
|
1014
|
+
x,
|
1070
1015
|
y: b,
|
1071
1016
|
overflows: y
|
1072
|
-
} =
|
1073
|
-
M +=
|
1017
|
+
} = I(L);
|
1018
|
+
M += x, g += b, v.x += x, v.y += b;
|
1074
1019
|
{
|
1075
|
-
const w = Qe(L.anchor),
|
1020
|
+
const w = Qe(L.anchor), W = y.x.before || y.x.after, z = y.y.before || y.y.after;
|
1076
1021
|
let D = !1;
|
1077
1022
|
if (["x", "y"].forEach((N) => {
|
1078
|
-
if (N === "x" &&
|
1079
|
-
const
|
1023
|
+
if (N === "x" && W && !u.x || N === "y" && z && !u.y) {
|
1024
|
+
const F = {
|
1080
1025
|
anchor: {
|
1081
1026
|
...L.anchor
|
1082
1027
|
},
|
1083
1028
|
origin: {
|
1084
1029
|
...L.origin
|
1085
1030
|
}
|
1086
|
-
}, Y = N === "x" ? w === "y" ? xe :
|
1087
|
-
|
1031
|
+
}, Y = N === "x" ? w === "y" ? xe : Ee : w === "y" ? Ee : xe;
|
1032
|
+
F.anchor = Y(F.anchor), F.origin = Y(F.origin);
|
1088
1033
|
const {
|
1089
|
-
overflows:
|
1090
|
-
} =
|
1091
|
-
(
|
1034
|
+
overflows: Z
|
1035
|
+
} = I(F);
|
1036
|
+
(Z[N].before <= y[N].before && Z[N].after <= y[N].after || Z[N].before + Z[N].after < (y[N].before + y[N].after) / 2) && (L = F, D = u[N] = !0);
|
1092
1037
|
}
|
1093
1038
|
}), D) continue;
|
1094
1039
|
}
|
@@ -1099,30 +1044,30 @@ function mo(e, t, n) {
|
|
1099
1044
|
}
|
1100
1045
|
break;
|
1101
1046
|
}
|
1102
|
-
const
|
1047
|
+
const A = Qe(L.anchor);
|
1103
1048
|
return Object.assign(n.value, {
|
1104
1049
|
"--v-overlay-anchor-origin": `${L.anchor.side} ${L.anchor.align}`,
|
1105
1050
|
transformOrigin: `${L.origin.side} ${L.origin.align}`,
|
1106
1051
|
// transform: `translate(${pixelRound(x)}px, ${pixelRound(y)}px)`,
|
1107
|
-
top:
|
1108
|
-
left: e.isRtl.value ? void 0 :
|
1109
|
-
right: e.isRtl.value ?
|
1110
|
-
minWidth:
|
1111
|
-
maxWidth:
|
1112
|
-
maxHeight:
|
1052
|
+
top: _(Oe(g)),
|
1053
|
+
left: e.isRtl.value ? void 0 : _(Oe(M)),
|
1054
|
+
right: e.isRtl.value ? _(Oe(-M)) : void 0,
|
1055
|
+
minWidth: _(A === "y" ? Math.min(i.value, m.width) : i.value),
|
1056
|
+
maxWidth: _(rt(Ue(S.x, i.value === 1 / 0 ? 0 : i.value, l.value))),
|
1057
|
+
maxHeight: _(rt(Ue(S.y, s.value === 1 / 0 ? 0 : s.value, f.value)))
|
1113
1058
|
}), {
|
1114
1059
|
available: S,
|
1115
1060
|
contentBox: v
|
1116
1061
|
};
|
1117
1062
|
}
|
1118
|
-
return $(() => [a.value, r.value, t.offset, t.minWidth, t.minHeight, t.maxWidth, t.maxHeight], () => p()),
|
1063
|
+
return $(() => [a.value, r.value, t.offset, t.minWidth, t.minHeight, t.maxWidth, t.maxHeight], () => p()), he(() => {
|
1119
1064
|
const m = p();
|
1120
1065
|
if (!m) return;
|
1121
1066
|
const {
|
1122
1067
|
available: v,
|
1123
|
-
contentBox:
|
1068
|
+
contentBox: R
|
1124
1069
|
} = m;
|
1125
|
-
|
1070
|
+
R.height > v.y && requestAnimationFrame(() => {
|
1126
1071
|
p(), requestAnimationFrame(() => {
|
1127
1072
|
p();
|
1128
1073
|
});
|
@@ -1131,78 +1076,78 @@ function mo(e, t, n) {
|
|
1131
1076
|
updateLocation: p
|
1132
1077
|
};
|
1133
1078
|
}
|
1134
|
-
function
|
1079
|
+
function Oe(e) {
|
1135
1080
|
return Math.round(e * devicePixelRatio) / devicePixelRatio;
|
1136
1081
|
}
|
1137
1082
|
function rt(e) {
|
1138
1083
|
return Math.ceil(e * devicePixelRatio) / devicePixelRatio;
|
1139
1084
|
}
|
1140
|
-
let
|
1085
|
+
let _e = !0;
|
1141
1086
|
const ge = [];
|
1142
|
-
function
|
1143
|
-
!
|
1087
|
+
function uo(e) {
|
1088
|
+
!_e || ge.length ? (ge.push(e), Te()) : (_e = !1, e(), Te());
|
1144
1089
|
}
|
1145
1090
|
let st = -1;
|
1146
|
-
function
|
1091
|
+
function Te() {
|
1147
1092
|
cancelAnimationFrame(st), st = requestAnimationFrame(() => {
|
1148
1093
|
const e = ge.shift();
|
1149
|
-
e && e(), ge.length ?
|
1094
|
+
e && e(), ge.length ? Te() : _e = !0;
|
1150
1095
|
});
|
1151
1096
|
}
|
1152
|
-
const
|
1097
|
+
const de = {
|
1153
1098
|
none: null,
|
1154
|
-
close:
|
1155
|
-
block:
|
1156
|
-
reposition:
|
1157
|
-
},
|
1099
|
+
close: vo,
|
1100
|
+
block: mo,
|
1101
|
+
reposition: yo
|
1102
|
+
}, co = B({
|
1158
1103
|
scrollStrategy: {
|
1159
1104
|
type: [String, Function],
|
1160
1105
|
default: "block",
|
1161
|
-
validator: (e) => typeof e == "function" || e in
|
1106
|
+
validator: (e) => typeof e == "function" || e in de
|
1162
1107
|
}
|
1163
1108
|
}, "VOverlay-scroll-strategies");
|
1164
|
-
function
|
1109
|
+
function fo(e, t) {
|
1165
1110
|
if (!U) return;
|
1166
1111
|
let n;
|
1167
|
-
|
1112
|
+
Ve(async () => {
|
1168
1113
|
n == null || n.stop(), t.isActive.value && e.scrollStrategy && (n = ht(), await new Promise((o) => setTimeout(o)), n.active && n.run(() => {
|
1169
1114
|
var o;
|
1170
|
-
typeof e.scrollStrategy == "function" ? e.scrollStrategy(t, e, n) : (o =
|
1115
|
+
typeof e.scrollStrategy == "function" ? e.scrollStrategy(t, e, n) : (o = de[e.scrollStrategy]) == null || o.call(de, t, e, n);
|
1171
1116
|
}));
|
1172
|
-
}),
|
1117
|
+
}), H(() => {
|
1173
1118
|
n == null || n.stop();
|
1174
1119
|
});
|
1175
1120
|
}
|
1176
|
-
function
|
1121
|
+
function vo(e) {
|
1177
1122
|
function t(n) {
|
1178
1123
|
e.isActive.value = !1;
|
1179
1124
|
}
|
1180
|
-
|
1125
|
+
zt(e.targetEl.value ?? e.contentEl.value, t);
|
1181
1126
|
}
|
1182
|
-
function
|
1127
|
+
function mo(e, t) {
|
1183
1128
|
var i;
|
1184
|
-
const n = (i = e.root.value) == null ? void 0 : i.offsetParent, o = [.../* @__PURE__ */ new Set([...me(e.targetEl.value, t.contained ? n : void 0), ...me(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) =>
|
1129
|
+
const n = (i = e.root.value) == null ? void 0 : i.offsetParent, o = [.../* @__PURE__ */ new Set([...me(e.targetEl.value, t.contained ? n : void 0), ...me(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) => Fe(s) && s)(n || document.documentElement);
|
1185
1130
|
r && e.root.value.classList.add("v-overlay--scroll-blocked"), o.forEach((s, l) => {
|
1186
|
-
s.style.setProperty("--v-body-scroll-x",
|
1187
|
-
}),
|
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");
|
1132
|
+
}), H(() => {
|
1188
1133
|
o.forEach((s, l) => {
|
1189
|
-
const f = parseFloat(s.style.getPropertyValue("--v-body-scroll-x")), c = parseFloat(s.style.getPropertyValue("--v-body-scroll-y")),
|
1190
|
-
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 = -f, s.scrollTop = -c, s.style.scrollBehavior =
|
1134
|
+
const f = parseFloat(s.style.getPropertyValue("--v-body-scroll-x")), c = parseFloat(s.style.getPropertyValue("--v-body-scroll-y")), k = s.style.scrollBehavior;
|
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 = -f, s.scrollTop = -c, s.style.scrollBehavior = k;
|
1191
1136
|
}), r && e.root.value.classList.remove("v-overlay--scroll-blocked");
|
1192
1137
|
});
|
1193
1138
|
}
|
1194
|
-
function
|
1139
|
+
function yo(e, t, n) {
|
1195
1140
|
let o = !1, a = -1, r = -1;
|
1196
1141
|
function i(s) {
|
1197
|
-
|
1198
|
-
var c,
|
1142
|
+
uo(() => {
|
1143
|
+
var c, k;
|
1199
1144
|
const l = performance.now();
|
1200
|
-
(
|
1145
|
+
(k = (c = e.updateLocation).value) == null || k.call(c, s), o = (performance.now() - l) / (1e3 / 60) > 2;
|
1201
1146
|
});
|
1202
1147
|
}
|
1203
1148
|
r = (typeof requestIdleCallback > "u" ? (s) => s() : requestIdleCallback)(() => {
|
1204
1149
|
n.run(() => {
|
1205
|
-
|
1150
|
+
zt(e.targetEl.value ?? e.contentEl.value, (s) => {
|
1206
1151
|
o ? (cancelAnimationFrame(a), a = requestAnimationFrame(() => {
|
1207
1152
|
a = requestAnimationFrame(() => {
|
1208
1153
|
i(s);
|
@@ -1210,34 +1155,34 @@ function wo(e, t, n) {
|
|
1210
1155
|
})) : i(s);
|
1211
1156
|
});
|
1212
1157
|
});
|
1213
|
-
}),
|
1158
|
+
}), H(() => {
|
1214
1159
|
typeof cancelIdleCallback < "u" && cancelIdleCallback(r), cancelAnimationFrame(a);
|
1215
1160
|
});
|
1216
1161
|
}
|
1217
|
-
function
|
1162
|
+
function zt(e, t) {
|
1218
1163
|
const n = [document, ...me(e)];
|
1219
1164
|
n.forEach((o) => {
|
1220
1165
|
o.addEventListener("scroll", t, {
|
1221
1166
|
passive: !0
|
1222
1167
|
});
|
1223
|
-
}),
|
1168
|
+
}), H(() => {
|
1224
1169
|
n.forEach((o) => {
|
1225
1170
|
o.removeEventListener("scroll", t);
|
1226
1171
|
});
|
1227
1172
|
});
|
1228
1173
|
}
|
1229
|
-
const
|
1174
|
+
const go = Symbol.for("vuetify:v-menu"), ho = B({
|
1230
1175
|
closeDelay: [Number, String],
|
1231
1176
|
openDelay: [Number, String]
|
1232
1177
|
}, "delay");
|
1233
|
-
function
|
1178
|
+
function po(e, t) {
|
1234
1179
|
let n = () => {
|
1235
1180
|
};
|
1236
1181
|
function o(i) {
|
1237
1182
|
n == null || n();
|
1238
1183
|
const s = Number(i ? e.openDelay : e.closeDelay);
|
1239
1184
|
return new Promise((l) => {
|
1240
|
-
n =
|
1185
|
+
n = an(s, () => {
|
1241
1186
|
t == null || t(i), l(i);
|
1242
1187
|
});
|
1243
1188
|
});
|
@@ -1254,7 +1199,7 @@ function ko(e, t) {
|
|
1254
1199
|
runCloseDelay: r
|
1255
1200
|
};
|
1256
1201
|
}
|
1257
|
-
const
|
1202
|
+
const bo = B({
|
1258
1203
|
target: [String, Object],
|
1259
1204
|
activator: [String, Object],
|
1260
1205
|
activatorProps: {
|
@@ -1271,22 +1216,22 @@ const xo = I({
|
|
1271
1216
|
default: void 0
|
1272
1217
|
},
|
1273
1218
|
closeOnContentClick: Boolean,
|
1274
|
-
...
|
1219
|
+
...ho()
|
1275
1220
|
}, "VOverlay-activator");
|
1276
|
-
function
|
1221
|
+
function wo(e, t) {
|
1277
1222
|
let {
|
1278
1223
|
isActive: n,
|
1279
1224
|
isTop: o,
|
1280
1225
|
contentEl: a
|
1281
1226
|
} = t;
|
1282
|
-
const r = q("useActivator"), i =
|
1227
|
+
const r = q("useActivator"), i = j();
|
1283
1228
|
let s = !1, l = !1, f = !0;
|
1284
|
-
const c = d(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover),
|
1229
|
+
const c = d(() => e.openOnFocus || e.openOnFocus == null && e.openOnHover), k = d(() => e.openOnClick || e.openOnClick == null && !e.openOnHover && !c.value), {
|
1285
1230
|
runOpenDelay: C,
|
1286
1231
|
runCloseDelay: p
|
1287
|
-
} =
|
1232
|
+
} = po(e, (u) => {
|
1288
1233
|
u === (e.openOnHover && s || c.value && l) && !(e.openOnHover && n.value && !o.value) && (n.value !== u && (f = !0), n.value = u);
|
1289
|
-
}), m =
|
1234
|
+
}), m = j(), v = {
|
1290
1235
|
onClick: (u) => {
|
1291
1236
|
u.stopPropagation(), i.value = u.currentTarget || u.target, n.value || (m.value = [u.clientX, u.clientY]), n.value = !n.value;
|
1292
1237
|
},
|
@@ -1298,14 +1243,14 @@ function Co(e, t) {
|
|
1298
1243
|
s = !1, p();
|
1299
1244
|
},
|
1300
1245
|
onFocus: (u) => {
|
1301
|
-
|
1246
|
+
rn(u.target, ":focus-visible") !== !1 && (l = !0, u.stopPropagation(), i.value = u.currentTarget || u.target, C());
|
1302
1247
|
},
|
1303
1248
|
onBlur: (u) => {
|
1304
1249
|
l = !1, u.stopPropagation(), p();
|
1305
1250
|
}
|
1306
|
-
},
|
1251
|
+
}, R = d(() => {
|
1307
1252
|
const u = {};
|
1308
|
-
return
|
1253
|
+
return k.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;
|
1309
1254
|
}), T = d(() => {
|
1310
1255
|
const u = {};
|
1311
1256
|
if (e.openOnHover && (u.onMouseenter = () => {
|
@@ -1317,7 +1262,7 @@ function Co(e, t) {
|
|
1317
1262
|
}, u.onFocusout = () => {
|
1318
1263
|
l = !1, p();
|
1319
1264
|
}), e.closeOnContentClick) {
|
1320
|
-
const E =
|
1265
|
+
const E = ce(go, null);
|
1321
1266
|
u.onClick = () => {
|
1322
1267
|
n.value = !1, E == null || E.closeParents();
|
1323
1268
|
};
|
@@ -1341,38 +1286,38 @@ function Co(e, t) {
|
|
1341
1286
|
}, {
|
1342
1287
|
flush: "post"
|
1343
1288
|
});
|
1344
|
-
const L =
|
1345
|
-
|
1346
|
-
L.value &&
|
1289
|
+
const L = Pe();
|
1290
|
+
Ve(() => {
|
1291
|
+
L.value && he(() => {
|
1347
1292
|
i.value = L.el;
|
1348
1293
|
});
|
1349
1294
|
});
|
1350
|
-
const
|
1295
|
+
const I = Pe(), M = d(() => e.target === "cursor" && m.value ? m.value : I.value ? I.el : jt(e.target, r) || i.value), g = d(() => Array.isArray(M.value) ? void 0 : M.value);
|
1351
1296
|
let S;
|
1352
1297
|
return $(() => !!e.activator, (u) => {
|
1353
1298
|
u && U ? (S = ht(), S.run(() => {
|
1354
|
-
|
1299
|
+
So(e, r, {
|
1355
1300
|
activatorEl: i,
|
1356
|
-
activatorEvents:
|
1301
|
+
activatorEvents: R
|
1357
1302
|
});
|
1358
1303
|
})) : S && S.stop();
|
1359
1304
|
}, {
|
1360
1305
|
flush: "post",
|
1361
1306
|
immediate: !0
|
1362
|
-
}),
|
1307
|
+
}), H(() => {
|
1363
1308
|
S == null || S.stop();
|
1364
1309
|
}), {
|
1365
1310
|
activatorEl: i,
|
1366
1311
|
activatorRef: L,
|
1367
1312
|
target: M,
|
1368
1313
|
targetEl: g,
|
1369
|
-
targetRef:
|
1370
|
-
activatorEvents:
|
1314
|
+
targetRef: I,
|
1315
|
+
activatorEvents: R,
|
1371
1316
|
contentEvents: T,
|
1372
1317
|
scrimEvents: P
|
1373
1318
|
};
|
1374
1319
|
}
|
1375
|
-
function
|
1320
|
+
function So(e, t, n) {
|
1376
1321
|
let {
|
1377
1322
|
activatorEl: o,
|
1378
1323
|
activatorEvents: a
|
@@ -1382,29 +1327,29 @@ function Oo(e, t, n) {
|
|
1382
1327
|
const c = s(f);
|
1383
1328
|
c && i(c);
|
1384
1329
|
}
|
1385
|
-
l &&
|
1330
|
+
l && he(() => r());
|
1386
1331
|
}, {
|
1387
1332
|
immediate: !0
|
1388
1333
|
}), $(() => e.activatorProps, () => {
|
1389
1334
|
r();
|
1390
|
-
}),
|
1335
|
+
}), H(() => {
|
1391
1336
|
i();
|
1392
1337
|
});
|
1393
1338
|
function r() {
|
1394
1339
|
let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : s(), f = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : e.activatorProps;
|
1395
|
-
l &&
|
1340
|
+
l && Pn(l, X(a.value, f));
|
1396
1341
|
}
|
1397
1342
|
function i() {
|
1398
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;
|
1399
|
-
l &&
|
1344
|
+
l && An(l, X(a.value, f));
|
1400
1345
|
}
|
1401
1346
|
function s() {
|
1402
1347
|
let l = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : e.activator;
|
1403
|
-
const f =
|
1348
|
+
const f = jt(l, t);
|
1404
1349
|
return o.value = (f == null ? void 0 : f.nodeType) === Node.ELEMENT_NODE ? f : void 0, o.value;
|
1405
1350
|
}
|
1406
1351
|
}
|
1407
|
-
function
|
1352
|
+
function jt(e, t) {
|
1408
1353
|
var o, a;
|
1409
1354
|
if (!e) return;
|
1410
1355
|
let n;
|
@@ -1416,24 +1361,24 @@ function zt(e, t) {
|
|
1416
1361
|
} else typeof e == "string" ? n = document.querySelector(e) : "$el" in e ? n = e.$el : n = e;
|
1417
1362
|
return n;
|
1418
1363
|
}
|
1419
|
-
function
|
1420
|
-
if (!U) return
|
1364
|
+
function Eo() {
|
1365
|
+
if (!U) return J(!1);
|
1421
1366
|
const {
|
1422
1367
|
ssr: e
|
1423
|
-
} =
|
1368
|
+
} = sn();
|
1424
1369
|
if (e) {
|
1425
|
-
const t =
|
1370
|
+
const t = J(!1);
|
1426
1371
|
return vt(() => {
|
1427
1372
|
t.value = !0;
|
1428
1373
|
}), t;
|
1429
1374
|
} else
|
1430
|
-
return
|
1375
|
+
return J(!0);
|
1431
1376
|
}
|
1432
|
-
const
|
1377
|
+
const xo = B({
|
1433
1378
|
eager: Boolean
|
1434
1379
|
}, "lazy");
|
1435
|
-
function
|
1436
|
-
const n =
|
1380
|
+
function ko(e, t) {
|
1381
|
+
const n = J(!1), o = d(() => n.value || e.eager || t.value);
|
1437
1382
|
$(t, () => n.value = !0);
|
1438
1383
|
function a() {
|
1439
1384
|
e.eager || (n.value = !1);
|
@@ -1444,7 +1389,7 @@ function _o(e, t) {
|
|
1444
1389
|
onAfterLeave: a
|
1445
1390
|
};
|
1446
1391
|
}
|
1447
|
-
function
|
1392
|
+
function Co() {
|
1448
1393
|
const t = q("useScopeId").vnode.scopeId;
|
1449
1394
|
return {
|
1450
1395
|
scopeId: t ? {
|
@@ -1452,28 +1397,28 @@ function Ao() {
|
|
1452
1397
|
} : void 0
|
1453
1398
|
};
|
1454
1399
|
}
|
1455
|
-
const it = Symbol.for("vuetify:stack"), ie =
|
1456
|
-
function
|
1457
|
-
const o = q("useStack"), a = !n, r =
|
1400
|
+
const it = Symbol.for("vuetify:stack"), ie = G([]);
|
1401
|
+
function Oo(e, t, n) {
|
1402
|
+
const o = q("useStack"), a = !n, r = ce(it, void 0), i = G({
|
1458
1403
|
activeChildren: /* @__PURE__ */ new Set()
|
1459
1404
|
});
|
1460
1405
|
Be(it, i);
|
1461
|
-
const s =
|
1462
|
-
|
1463
|
-
var
|
1464
|
-
const c = (
|
1465
|
-
s.value = c ? c + 10 : Number(t.value), a && ie.push([o.uid, s.value]), r == null || r.activeChildren.add(o.uid),
|
1406
|
+
const s = J(Number(t.value));
|
1407
|
+
Me(e, () => {
|
1408
|
+
var k;
|
1409
|
+
const c = (k = ie.at(-1)) == null ? void 0 : k[1];
|
1410
|
+
s.value = c ? c + 10 : Number(t.value), a && ie.push([o.uid, s.value]), r == null || r.activeChildren.add(o.uid), H(() => {
|
1466
1411
|
if (a) {
|
1467
|
-
const C =
|
1412
|
+
const C = ln(ie).findIndex((p) => p[0] === o.uid);
|
1468
1413
|
ie.splice(C, 1);
|
1469
1414
|
}
|
1470
1415
|
r == null || r.activeChildren.delete(o.uid);
|
1471
1416
|
});
|
1472
1417
|
});
|
1473
|
-
const l =
|
1474
|
-
a &&
|
1475
|
-
var
|
1476
|
-
const c = ((
|
1418
|
+
const l = J(!0);
|
1419
|
+
a && Ve(() => {
|
1420
|
+
var k;
|
1421
|
+
const c = ((k = ie.at(-1)) == null ? void 0 : k[0]) === o.uid;
|
1477
1422
|
setTimeout(() => l.value = c);
|
1478
1423
|
});
|
1479
1424
|
const f = d(() => !i.activeChildren.size);
|
@@ -1485,7 +1430,7 @@ function Ro(e, t, n) {
|
|
1485
1430
|
}))
|
1486
1431
|
};
|
1487
1432
|
}
|
1488
|
-
function
|
1433
|
+
function Lo(e) {
|
1489
1434
|
return {
|
1490
1435
|
teleportTarget: d(() => {
|
1491
1436
|
const n = e();
|
@@ -1498,10 +1443,10 @@ function To(e) {
|
|
1498
1443
|
})
|
1499
1444
|
};
|
1500
1445
|
}
|
1501
|
-
function
|
1446
|
+
function Po() {
|
1502
1447
|
return !0;
|
1503
1448
|
}
|
1504
|
-
function
|
1449
|
+
function Ht(e, t, n) {
|
1505
1450
|
if (!e || Dt(e, n) === !1) return !1;
|
1506
1451
|
const o = Ct(t);
|
1507
1452
|
if (typeof ShadowRoot < "u" && o instanceof ShadowRoot && o.host === e.target) return !1;
|
@@ -1509,11 +1454,11 @@ function jt(e, t, n) {
|
|
1509
1454
|
return a.push(t), !a.some((r) => r == null ? void 0 : r.contains(e.target));
|
1510
1455
|
}
|
1511
1456
|
function Dt(e, t) {
|
1512
|
-
return (typeof t.value == "object" && t.value.closeConditional ||
|
1457
|
+
return (typeof t.value == "object" && t.value.closeConditional || Po)(e);
|
1513
1458
|
}
|
1514
|
-
function
|
1459
|
+
function Ao(e, t, n) {
|
1515
1460
|
const o = typeof n.value == "function" ? n.value : n.value.handler;
|
1516
|
-
e.shadowTarget = e.target, t._clickOutside.lastMousedownWasOutside &&
|
1461
|
+
e.shadowTarget = e.target, t._clickOutside.lastMousedownWasOutside && Ht(e, t, n) && setTimeout(() => {
|
1517
1462
|
Dt(e, n) && o && o(e);
|
1518
1463
|
}, 0);
|
1519
1464
|
}
|
@@ -1521,15 +1466,15 @@ function lt(e, t) {
|
|
1521
1466
|
const n = Ct(e);
|
1522
1467
|
t(document), typeof ShadowRoot < "u" && n instanceof ShadowRoot && t(n);
|
1523
1468
|
}
|
1524
|
-
const
|
1469
|
+
const Ro = {
|
1525
1470
|
// [data-app] may not be found
|
1526
1471
|
// if using bind, inserted makes
|
1527
1472
|
// sure that the root element is
|
1528
1473
|
// available, iOS does not support
|
1529
1474
|
// clicks on body
|
1530
1475
|
mounted(e, t) {
|
1531
|
-
const n = (a) =>
|
1532
|
-
e._clickOutside.lastMousedownWasOutside =
|
1476
|
+
const n = (a) => Ao(a, e, t), o = (a) => {
|
1477
|
+
e._clickOutside.lastMousedownWasOutside = Ht(a, e, t);
|
1533
1478
|
};
|
1534
1479
|
lt(e, (a) => {
|
1535
1480
|
a.addEventListener("click", n, !0), a.addEventListener("mousedown", o, !0);
|
@@ -1552,7 +1497,7 @@ const Bo = {
|
|
1552
1497
|
}), delete e._clickOutside[t.instance.$.uid]);
|
1553
1498
|
}
|
1554
1499
|
};
|
1555
|
-
function
|
1500
|
+
function _o(e) {
|
1556
1501
|
const {
|
1557
1502
|
modelValue: t,
|
1558
1503
|
color: n,
|
@@ -1562,13 +1507,13 @@ function $o(e) {
|
|
1562
1507
|
name: "fade-transition",
|
1563
1508
|
appear: !0
|
1564
1509
|
}, {
|
1565
|
-
default: () => [e.modelValue && V("div",
|
1510
|
+
default: () => [e.modelValue && V("div", X({
|
1566
1511
|
class: ["v-overlay__scrim", e.color.backgroundColorClasses.value],
|
1567
1512
|
style: e.color.backgroundColorStyles.value
|
1568
1513
|
}, o), null)]
|
1569
1514
|
});
|
1570
1515
|
}
|
1571
|
-
const
|
1516
|
+
const To = B({
|
1572
1517
|
absolute: Boolean,
|
1573
1518
|
attach: [Boolean, String, Object],
|
1574
1519
|
closeOnBack: {
|
@@ -1591,23 +1536,23 @@ const Mo = I({
|
|
1591
1536
|
type: [Number, String],
|
1592
1537
|
default: 2e3
|
1593
1538
|
},
|
1539
|
+
...bo(),
|
1540
|
+
...we(),
|
1541
|
+
...Wn(),
|
1594
1542
|
...xo(),
|
1595
|
-
...
|
1596
|
-
...
|
1597
|
-
...Po(),
|
1598
|
-
...uo(),
|
1599
|
-
...go(),
|
1543
|
+
...ao(),
|
1544
|
+
...co(),
|
1600
1545
|
...wt(),
|
1601
|
-
...
|
1602
|
-
}, "VOverlay"),
|
1546
|
+
...Dn()
|
1547
|
+
}, "VOverlay"), No = pe()({
|
1603
1548
|
name: "VOverlay",
|
1604
1549
|
directives: {
|
1605
|
-
ClickOutside:
|
1550
|
+
ClickOutside: Ro
|
1606
1551
|
},
|
1607
1552
|
inheritAttrs: !1,
|
1608
1553
|
props: {
|
1609
1554
|
_disableGlobalStack: Boolean,
|
1610
|
-
...
|
1555
|
+
...To()
|
1611
1556
|
},
|
1612
1557
|
emits: {
|
1613
1558
|
"click:outside": (e) => !0,
|
@@ -1622,62 +1567,62 @@ const Mo = I({
|
|
1622
1567
|
attrs: o,
|
1623
1568
|
emit: a
|
1624
1569
|
} = t;
|
1625
|
-
const r = q("VOverlay"), i =
|
1570
|
+
const r = q("VOverlay"), i = j(), s = j(), l = j(), f = un(e, "modelValue"), c = d({
|
1626
1571
|
get: () => f.value,
|
1627
1572
|
set: (h) => {
|
1628
1573
|
h && e.disabled || (f.value = h);
|
1629
1574
|
}
|
1630
1575
|
}), {
|
1631
|
-
themeClasses:
|
1576
|
+
themeClasses: k
|
1632
1577
|
} = pt(e), {
|
1633
1578
|
rtlClasses: C,
|
1634
1579
|
isRtl: p
|
1635
1580
|
} = bt(), {
|
1636
1581
|
hasContent: m,
|
1637
1582
|
onAfterLeave: v
|
1638
|
-
} =
|
1583
|
+
} = ko(e, c), R = Vn(d(() => typeof e.scrim == "string" ? e.scrim : null)), {
|
1639
1584
|
globalTop: T,
|
1640
1585
|
localTop: P,
|
1641
1586
|
stackStyles: L
|
1642
|
-
} =
|
1643
|
-
activatorEl:
|
1587
|
+
} = Oo(c, Ae(e, "zIndex"), e._disableGlobalStack), {
|
1588
|
+
activatorEl: I,
|
1644
1589
|
activatorRef: M,
|
1645
1590
|
target: g,
|
1646
1591
|
targetEl: S,
|
1647
1592
|
targetRef: u,
|
1648
1593
|
activatorEvents: E,
|
1649
|
-
contentEvents:
|
1650
|
-
scrimEvents:
|
1651
|
-
} =
|
1594
|
+
contentEvents: A,
|
1595
|
+
scrimEvents: x
|
1596
|
+
} = wo(e, {
|
1652
1597
|
isActive: c,
|
1653
1598
|
isTop: P,
|
1654
1599
|
contentEl: l
|
1655
1600
|
}), {
|
1656
1601
|
teleportTarget: b
|
1657
|
-
} =
|
1658
|
-
var
|
1602
|
+
} = Lo(() => {
|
1603
|
+
var K, se, De;
|
1659
1604
|
const h = e.attach || e.contained;
|
1660
1605
|
if (h) return h;
|
1661
|
-
const O = ((
|
1606
|
+
const O = ((K = I == null ? void 0 : I.value) == null ? void 0 : K.getRootNode()) || ((De = (se = r.proxy) == null ? void 0 : se.$el) == null ? void 0 : De.getRootNode());
|
1662
1607
|
return O instanceof ShadowRoot ? O : !1;
|
1663
1608
|
}), {
|
1664
1609
|
dimensionStyles: y
|
1665
|
-
} =
|
1666
|
-
scopeId:
|
1667
|
-
} =
|
1610
|
+
} = Fn(e), w = Eo(), {
|
1611
|
+
scopeId: W
|
1612
|
+
} = Co();
|
1668
1613
|
$(() => e.disabled, (h) => {
|
1669
1614
|
h && (c.value = !1);
|
1670
1615
|
});
|
1671
1616
|
const {
|
1672
|
-
contentStyles:
|
1617
|
+
contentStyles: z,
|
1673
1618
|
updateLocation: D
|
1674
|
-
} =
|
1619
|
+
} = ro(e, {
|
1675
1620
|
isRtl: p,
|
1676
1621
|
contentEl: l,
|
1677
1622
|
target: g,
|
1678
1623
|
isActive: c
|
1679
1624
|
});
|
1680
|
-
|
1625
|
+
fo(e, {
|
1681
1626
|
root: i,
|
1682
1627
|
contentEl: l,
|
1683
1628
|
targetEl: S,
|
@@ -1687,7 +1632,7 @@ const Mo = I({
|
|
1687
1632
|
function N(h) {
|
1688
1633
|
a("click:outside", h), e.persistent ? oe() : c.value = !1;
|
1689
1634
|
}
|
1690
|
-
function
|
1635
|
+
function F(h) {
|
1691
1636
|
return c.value && T.value && // If using scrim, only close if clicking on it rather than anything opened on top
|
1692
1637
|
(!e.scrim || h.target === s.value || h instanceof MouseEvent && h.shadowTarget === s.value);
|
1693
1638
|
}
|
@@ -1695,31 +1640,31 @@ const Mo = I({
|
|
1695
1640
|
h ? window.addEventListener("keydown", Y) : window.removeEventListener("keydown", Y);
|
1696
1641
|
}, {
|
1697
1642
|
immediate: !0
|
1698
|
-
}),
|
1643
|
+
}), Ne(() => {
|
1699
1644
|
U && window.removeEventListener("keydown", Y);
|
1700
1645
|
});
|
1701
1646
|
function Y(h) {
|
1702
|
-
var O,
|
1703
|
-
h.key === "Escape" && T.value && ((O = l.value) != null && O.contains(document.activeElement) || a("keydown", h), e.persistent ? oe() : (c.value = !1, (
|
1647
|
+
var O, K, se;
|
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())));
|
1704
1649
|
}
|
1705
|
-
function
|
1650
|
+
function Z(h) {
|
1706
1651
|
h.key === "Escape" && !T.value || a("keydown", h);
|
1707
1652
|
}
|
1708
|
-
const
|
1709
|
-
|
1710
|
-
|
1653
|
+
const Q = jn();
|
1654
|
+
Me(() => e.closeOnBack, () => {
|
1655
|
+
Hn(Q, (h) => {
|
1711
1656
|
T.value && c.value ? (h(!1), e.persistent ? oe() : c.value = !1) : h();
|
1712
1657
|
});
|
1713
1658
|
});
|
1714
|
-
const ne =
|
1659
|
+
const ne = j();
|
1715
1660
|
$(() => c.value && (e.absolute || e.contained) && b.value == null, (h) => {
|
1716
1661
|
if (h) {
|
1717
|
-
const O =
|
1662
|
+
const O = _n(i.value);
|
1718
1663
|
O && O !== document.scrollingElement && (ne.value = O.scrollTop);
|
1719
1664
|
}
|
1720
1665
|
});
|
1721
1666
|
function oe() {
|
1722
|
-
e.noClickAnimation || l.value &&
|
1667
|
+
e.noClickAnimation || l.value && Ln(l.value, [{
|
1723
1668
|
transformOrigin: "center"
|
1724
1669
|
}, {
|
1725
1670
|
transform: "scale(1.03)"
|
@@ -1727,13 +1672,13 @@ const Mo = I({
|
|
1727
1672
|
transformOrigin: "center"
|
1728
1673
|
}], {
|
1729
1674
|
duration: 150,
|
1730
|
-
easing:
|
1675
|
+
easing: Rn
|
1731
1676
|
});
|
1732
1677
|
}
|
1733
1678
|
function re() {
|
1734
1679
|
a("afterEnter");
|
1735
1680
|
}
|
1736
|
-
function
|
1681
|
+
function Se() {
|
1737
1682
|
v(), a("afterLeave");
|
1738
1683
|
}
|
1739
1684
|
return Ot(() => {
|
@@ -1741,55 +1686,55 @@ const Mo = I({
|
|
1741
1686
|
return V(St, null, [(h = n.activator) == null ? void 0 : h.call(n, {
|
1742
1687
|
isActive: c.value,
|
1743
1688
|
targetRef: u,
|
1744
|
-
props:
|
1689
|
+
props: X({
|
1745
1690
|
ref: M
|
1746
1691
|
}, E.value, e.activatorProps)
|
1747
|
-
}), w.value && m.value && V(
|
1692
|
+
}), w.value && m.value && V(cn, {
|
1748
1693
|
disabled: !b.value,
|
1749
1694
|
to: b.value
|
1750
1695
|
}, {
|
1751
|
-
default: () => [V("div",
|
1696
|
+
default: () => [V("div", X({
|
1752
1697
|
class: ["v-overlay", {
|
1753
1698
|
"v-overlay--absolute": e.absolute || e.contained,
|
1754
1699
|
"v-overlay--active": c.value,
|
1755
1700
|
"v-overlay--contained": e.contained
|
1756
|
-
},
|
1701
|
+
}, k.value, C.value, e.class],
|
1757
1702
|
style: [L.value, {
|
1758
1703
|
"--v-overlay-opacity": e.opacity,
|
1759
|
-
top:
|
1704
|
+
top: _(ne.value)
|
1760
1705
|
}, e.style],
|
1761
1706
|
ref: i,
|
1762
|
-
onKeydown:
|
1763
|
-
},
|
1764
|
-
color:
|
1707
|
+
onKeydown: Z
|
1708
|
+
}, W, o), [V(_o, X({
|
1709
|
+
color: R,
|
1765
1710
|
modelValue: c.value && !!e.scrim,
|
1766
1711
|
ref: s
|
1767
|
-
},
|
1712
|
+
}, x.value), null), V(Kn, {
|
1768
1713
|
appear: !0,
|
1769
1714
|
persisted: !0,
|
1770
1715
|
transition: e.transition,
|
1771
1716
|
target: g.value,
|
1772
1717
|
onAfterEnter: re,
|
1773
|
-
onAfterLeave:
|
1718
|
+
onAfterLeave: Se
|
1774
1719
|
}, {
|
1775
1720
|
default: () => {
|
1776
1721
|
var O;
|
1777
|
-
return [
|
1722
|
+
return [fn(V("div", X({
|
1778
1723
|
ref: l,
|
1779
1724
|
class: ["v-overlay__content", e.contentClass],
|
1780
|
-
style: [y.value,
|
1781
|
-
},
|
1725
|
+
style: [y.value, z.value]
|
1726
|
+
}, A.value, e.contentProps), [(O = n.default) == null ? void 0 : O.call(n, {
|
1782
1727
|
isActive: c
|
1783
|
-
})]), [[
|
1728
|
+
})]), [[dn, c.value], [vn("click-outside"), {
|
1784
1729
|
handler: N,
|
1785
|
-
closeConditional:
|
1786
|
-
include: () => [
|
1730
|
+
closeConditional: F,
|
1731
|
+
include: () => [I.value]
|
1787
1732
|
}]])];
|
1788
1733
|
}
|
1789
1734
|
})])]
|
1790
1735
|
})]);
|
1791
1736
|
}), {
|
1792
|
-
activatorEl:
|
1737
|
+
activatorEl: I,
|
1793
1738
|
scrimEl: s,
|
1794
1739
|
target: g,
|
1795
1740
|
animateClick: oe,
|
@@ -1799,7 +1744,7 @@ const Mo = I({
|
|
1799
1744
|
updateLocation: D
|
1800
1745
|
};
|
1801
1746
|
}
|
1802
|
-
}),
|
1747
|
+
}), Bo = We({
|
1803
1748
|
name: "BErrorOverlay",
|
1804
1749
|
props: {
|
1805
1750
|
marginTop: {
|
@@ -1819,15 +1764,15 @@ const Mo = I({
|
|
1819
1764
|
t: e
|
1820
1765
|
};
|
1821
1766
|
}
|
1822
|
-
}),
|
1823
|
-
function
|
1824
|
-
return
|
1767
|
+
}), Io = { class: "text-h5 font-weight-bold text-primary" }, $o = { class: "text-body-2 font-weight-bold" };
|
1768
|
+
function Mo(e, t, n, o, a, r) {
|
1769
|
+
return ee(), ve("div", {
|
1825
1770
|
class: "d-block",
|
1826
1771
|
style: qe([{ width: "100%" }, {
|
1827
1772
|
"min-height": e.minHeight
|
1828
1773
|
}])
|
1829
1774
|
}, [
|
1830
|
-
V(
|
1775
|
+
V(No, {
|
1831
1776
|
"model-value": !0,
|
1832
1777
|
"z-index": e.zIndex,
|
1833
1778
|
absolute: "",
|
@@ -1837,24 +1782,24 @@ function zo(e, t, n, o, a, r) {
|
|
1837
1782
|
contained: ""
|
1838
1783
|
}, {
|
1839
1784
|
default: ae(() => [
|
1840
|
-
V(
|
1785
|
+
V(no, {
|
1841
1786
|
class: "mx-3",
|
1842
1787
|
justify: "center",
|
1843
1788
|
style: qe({ "margin-top": e.marginTop + "px" })
|
1844
1789
|
}, {
|
1845
1790
|
default: ae(() => [
|
1846
|
-
V(
|
1791
|
+
V(Yn, {
|
1847
1792
|
cols: "12",
|
1848
1793
|
style: {
|
1849
1794
|
"max-width": "500px"
|
1850
1795
|
}
|
1851
1796
|
}, {
|
1852
1797
|
default: ae(() => [
|
1853
|
-
le("div",
|
1854
|
-
|
1798
|
+
le("div", Io, [
|
1799
|
+
ue(e.$slots, "title", {}, void 0, !0)
|
1855
1800
|
]),
|
1856
|
-
le("p",
|
1857
|
-
|
1801
|
+
le("p", $o, [
|
1802
|
+
ue(e.$slots, "description", {}, void 0, !0)
|
1858
1803
|
])
|
1859
1804
|
]),
|
1860
1805
|
_: 3
|
@@ -1867,11 +1812,11 @@ function zo(e, t, n, o, a, r) {
|
|
1867
1812
|
}, 8, ["z-index"])
|
1868
1813
|
], 4);
|
1869
1814
|
}
|
1870
|
-
const
|
1815
|
+
const Vo = /* @__PURE__ */ ze(Bo, [["render", Mo], ["__scopeId", "data-v-4be696ee"]]), Wo = We({
|
1871
1816
|
data: () => ({
|
1872
|
-
observerClass:
|
1817
|
+
observerClass: yn
|
1873
1818
|
}),
|
1874
|
-
mixins: [
|
1819
|
+
mixins: [mn],
|
1875
1820
|
name: "BBreakpointObserver",
|
1876
1821
|
props: {
|
1877
1822
|
// Set this prop to true if b-breakpoint-observer is at the root of the app (or in a modal attached to $root.$el)
|
@@ -1881,7 +1826,7 @@ const jo = /* @__PURE__ */ He(Fo, [["render", zo], ["__scopeId", "data-v-4be696e
|
|
1881
1826
|
}
|
1882
1827
|
},
|
1883
1828
|
setup(e) {
|
1884
|
-
const { config: t } =
|
1829
|
+
const { config: t } = gn(), { current: n, themes: o } = xt();
|
1885
1830
|
function a() {
|
1886
1831
|
if (t.value) {
|
1887
1832
|
t.value.theme || (t.value.theme = {});
|
@@ -1912,15 +1857,15 @@ const jo = /* @__PURE__ */ He(Fo, [["render", zo], ["__scopeId", "data-v-4be696e
|
|
1912
1857
|
config: t
|
1913
1858
|
};
|
1914
1859
|
}
|
1915
|
-
}),
|
1916
|
-
...
|
1917
|
-
...
|
1860
|
+
}), Fo = B({
|
1861
|
+
...we(),
|
1862
|
+
...In({
|
1918
1863
|
fullHeight: !0
|
1919
1864
|
}),
|
1920
1865
|
...wt()
|
1921
|
-
}, "VApp"),
|
1866
|
+
}, "VApp"), zo = pe()({
|
1922
1867
|
name: "VApp",
|
1923
|
-
props:
|
1868
|
+
props: Fo(),
|
1924
1869
|
setup(e, t) {
|
1925
1870
|
let {
|
1926
1871
|
slots: n
|
@@ -1930,7 +1875,7 @@ const jo = /* @__PURE__ */ He(Fo, [["render", zo], ["__scopeId", "data-v-4be696e
|
|
1930
1875
|
getLayoutItem: r,
|
1931
1876
|
items: i,
|
1932
1877
|
layoutRef: s
|
1933
|
-
} =
|
1878
|
+
} = Mn(e), {
|
1934
1879
|
rtlClasses: l
|
1935
1880
|
} = bt();
|
1936
1881
|
return Ot(() => {
|
@@ -1949,26 +1894,26 @@ const jo = /* @__PURE__ */ He(Fo, [["render", zo], ["__scopeId", "data-v-4be696e
|
|
1949
1894
|
};
|
1950
1895
|
}
|
1951
1896
|
});
|
1952
|
-
function
|
1953
|
-
return
|
1954
|
-
class:
|
1897
|
+
function jo(e, t, n, o, a, r) {
|
1898
|
+
return ee(), ve("div", {
|
1899
|
+
class: hn(e.observerClass),
|
1955
1900
|
style: { height: "100%" }
|
1956
1901
|
}, [
|
1957
|
-
e.atRoot ? (
|
1902
|
+
e.atRoot ? (ee(), Re(zo, {
|
1958
1903
|
key: 0,
|
1959
1904
|
style: { height: "100%" }
|
1960
1905
|
}, {
|
1961
1906
|
default: ae(() => [
|
1962
|
-
|
1907
|
+
ue(e.$slots, "default")
|
1963
1908
|
]),
|
1964
1909
|
_: 3
|
1965
|
-
})) :
|
1910
|
+
})) : ue(e.$slots, "default", { key: 1 })
|
1966
1911
|
], 2);
|
1967
1912
|
}
|
1968
|
-
const
|
1913
|
+
const Ho = /* @__PURE__ */ ze(Wo, [["render", jo]]), Kt = We({
|
1969
1914
|
components: {
|
1970
|
-
BBreakpointObserver:
|
1971
|
-
BErrorOverlay:
|
1915
|
+
BBreakpointObserver: Ho,
|
1916
|
+
BErrorOverlay: Vo
|
1972
1917
|
},
|
1973
1918
|
// 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
|
1974
1919
|
created() {
|
@@ -2023,7 +1968,7 @@ const qo = /* @__PURE__ */ He(Do, [["render", Uo]]), Gt = he({
|
|
2023
1968
|
}
|
2024
1969
|
},
|
2025
1970
|
setup() {
|
2026
|
-
const e =
|
1971
|
+
const e = xt(), t = xn(), { t: n } = Et();
|
2027
1972
|
return $(
|
2028
1973
|
() => e.styles.value,
|
2029
1974
|
(o) => {
|
@@ -2116,13 +2061,13 @@ function ut(e) {
|
|
2116
2061
|
}
|
2117
2062
|
});
|
2118
2063
|
}
|
2119
|
-
const
|
2064
|
+
const Do = ["href"], Ko = {
|
2120
2065
|
class: "d-block",
|
2121
2066
|
style: { display: "none" }
|
2122
2067
|
};
|
2123
|
-
function
|
2068
|
+
function Go(e, t, n, o, a, r) {
|
2124
2069
|
const i = Ye("BErrorOverlay"), s = Ye("BBreakpointObserver");
|
2125
|
-
return
|
2070
|
+
return ee(), Re(s, { "at-root": "" }, {
|
2126
2071
|
default: ae(() => [
|
2127
2072
|
t[0] || (t[0] = le("link", {
|
2128
2073
|
href: "https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900",
|
@@ -2132,74 +2077,72 @@ function Zo(e, t, n, o, a, r) {
|
|
2132
2077
|
href: "https://use.fontawesome.com/releases/v6.1.1/css/all.css",
|
2133
2078
|
rel: "stylesheet"
|
2134
2079
|
}, null, -1)),
|
2135
|
-
(
|
2080
|
+
(ee(!0), ve(St, null, pn(e.stylesheets, (l) => (ee(), ve("link", {
|
2136
2081
|
key: l,
|
2137
2082
|
href: l,
|
2138
2083
|
rel: "stylesheet"
|
2139
|
-
}, null, 8,
|
2140
|
-
le("div",
|
2141
|
-
!e.isBookingApiClientDefined && !e.errorOverlayDisabled ? (
|
2084
|
+
}, null, 8, Do))), 128)),
|
2085
|
+
le("div", Ko, [
|
2086
|
+
!e.isBookingApiClientDefined && !e.errorOverlayDisabled ? (ee(), Re(i, {
|
2142
2087
|
key: 0,
|
2143
2088
|
"min-height": "180px"
|
2144
2089
|
}, {
|
2145
2090
|
title: ae(() => [
|
2146
|
-
|
2091
|
+
bn(wn(e.t("WebComponentWrapper.apiKey.invalid.title")), 1)
|
2147
2092
|
]),
|
2148
2093
|
_: 1
|
2149
|
-
})) :
|
2094
|
+
})) : ue(e.$slots, "default", { key: 1 })
|
2150
2095
|
])
|
2151
2096
|
]),
|
2152
2097
|
_: 3,
|
2153
2098
|
__: [0, 1]
|
2154
2099
|
});
|
2155
2100
|
}
|
2156
|
-
typeof ut == "function" && ut(
|
2157
|
-
const
|
2158
|
-
|
2101
|
+
typeof ut == "function" && ut(Kt);
|
2102
|
+
const na = /* @__PURE__ */ ze(Kt, [["render", Go]]);
|
2103
|
+
Gt("css/revolugo.webcomponentwrapper.DRCKFwuk.css");
|
2159
2104
|
export {
|
2160
|
-
|
2161
|
-
|
2162
|
-
|
2163
|
-
|
2164
|
-
|
2165
|
-
|
2166
|
-
|
2167
|
-
|
2168
|
-
|
2169
|
-
|
2170
|
-
|
2171
|
-
|
2172
|
-
|
2173
|
-
|
2174
|
-
|
2175
|
-
|
2176
|
-
|
2177
|
-
|
2178
|
-
|
2179
|
-
|
2180
|
-
Pt as
|
2181
|
-
|
2182
|
-
|
2183
|
-
|
2184
|
-
|
2185
|
-
|
2186
|
-
|
2187
|
-
|
2188
|
-
|
2189
|
-
|
2190
|
-
|
2191
|
-
|
2192
|
-
|
2193
|
-
|
2194
|
-
|
2195
|
-
|
2196
|
-
Vn as s,
|
2197
|
-
An as t,
|
2105
|
+
ea as A,
|
2106
|
+
Vo as B,
|
2107
|
+
Ro as C,
|
2108
|
+
ta as D,
|
2109
|
+
ye as E,
|
2110
|
+
Xo as F,
|
2111
|
+
Yo as G,
|
2112
|
+
qo as H,
|
2113
|
+
Cn as I,
|
2114
|
+
On as J,
|
2115
|
+
Ze as K,
|
2116
|
+
At as L,
|
2117
|
+
Kn as M,
|
2118
|
+
no as V,
|
2119
|
+
na as W,
|
2120
|
+
ze as _,
|
2121
|
+
Yn as a,
|
2122
|
+
Vn as b,
|
2123
|
+
Ho as c,
|
2124
|
+
Qo as d,
|
2125
|
+
Pt as e,
|
2126
|
+
jn as f,
|
2127
|
+
Co as g,
|
2128
|
+
Jo as h,
|
2129
|
+
po as i,
|
2130
|
+
Zo as j,
|
2131
|
+
ho as k,
|
2132
|
+
No as l,
|
2133
|
+
we as m,
|
2134
|
+
Fn as n,
|
2135
|
+
Wn as o,
|
2136
|
+
Dn as p,
|
2137
|
+
Ln as q,
|
2138
|
+
ko as r,
|
2139
|
+
Rn as s,
|
2140
|
+
Xe as t,
|
2198
2141
|
Ot as u,
|
2199
|
-
|
2200
|
-
|
2201
|
-
|
2202
|
-
|
2203
|
-
|
2142
|
+
xo as v,
|
2143
|
+
Bn as w,
|
2144
|
+
_n as x,
|
2145
|
+
To as y,
|
2146
|
+
go as z
|
2204
2147
|
};
|
2205
|
-
//# sourceMappingURL=revolugo.webcomponentwrapper.
|
2148
|
+
//# sourceMappingURL=revolugo.webcomponentwrapper.CyN0tjOk.min.js.map
|