@revolugo/elements 6.8.2-beta.3 → 6.8.2-beta.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/revolugo.bhoteloffersfilterbar.C1Hvm7FH.css +1 -0
- package/dist/css/revolugo.cancellationpoliciesbadge.CzUQOfdk.css +1 -0
- package/dist/css/{revolugo.hoteldescriptionview.CqUUU1fv.css → revolugo.hoteldescriptionview.BQ3adGPS.css} +1 -1
- package/dist/css/revolugo.hoteloffersview.CL1wiz4I.css +1 -0
- package/dist/css/{revolugo.hotelroomofferlist.DI_s2G5c.css → revolugo.hotelroomofferlist.CCKyS5V3.css} +1 -1
- package/dist/css/revolugo.index.4hIg6F8J.css +1 -0
- package/dist/css/revolugo.langpickerbtn.DTsRMVL8.css +1 -0
- package/dist/css/revolugo.vicon.eIkh7vVK.css +1 -0
- package/dist/css/{revolugo.vtooltip.O8QDYs1J.css → revolugo.vslidegroup.ECiLCEE9.css} +1 -1
- package/dist/css/revolugo.vtooltip.BHXJTQ4V.css +1 -0
- package/dist/index.es.min.js +1130 -1120
- package/dist/index.es.min.js.map +1 -1
- package/dist/index.min.js +6 -6
- package/dist/index.min.js.map +1 -1
- package/dist/revolugo._baseiteratee.CLhJGa_I.min.js +247 -0
- package/dist/{revolugo.banktransferdetails.B2ekby51.min.js → revolugo.banktransferdetails.Djs6mxU0.min.js} +9 -9
- package/dist/{revolugo.bdaterangepicker.CTD21Xkh.min.js → revolugo.bdaterangepicker.D9a3kNuM.min.js} +12 -11
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.C3xbTcQN.min.js +149 -0
- package/dist/revolugo.bhoteloffersfilterbar.CVh2pH-N.min.js +4818 -0
- package/dist/{revolugo.bhotelroomsdetails.B_oUGHlu.min.js → revolugo.bhotelroomsdetails.C4xdQLfe.min.js} +35 -34
- package/dist/{revolugo.bhotelsearchbar.CZZ7nrV4.min.js → revolugo.bhotelsearchbar.DR7UHkQo.min.js} +16 -16
- package/dist/{revolugo.bimagecarousel.B0c13uQA.min.js → revolugo.bimagecarousel.DhwrLMiX.min.js} +37 -38
- package/dist/{revolugo.bookingdetailssidebar.BGsPcF2v.min.js → revolugo.bookingdetailssidebar.DkBHaNwV.min.js} +4 -4
- package/dist/{revolugo.bookingdetailssidebar.Bs3FC4cg.min.js → revolugo.bookingdetailssidebar.DwIul6C1.min.js} +17 -17
- package/dist/{revolugo.bookingmanager.CrXALVnI.min.js → revolugo.bookingmanager.CmdsCQDi.min.js} +27 -27
- package/dist/{revolugo.bpricesummaryskeleton.8052AuK3.min.js → revolugo.bpricesummaryskeleton.BcgNLGYX.min.js} +4 -4
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.DxGtfGu-.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.B4psJ9Sg.min.js} +8 -8
- package/dist/{revolugo.btag.BWSoB2pK.min.js → revolugo.btag.mY1ErEMj.min.js} +64 -62
- package/dist/revolugo.cancellationpoliciesbadge.Bp43_l5_.min.js +28 -0
- package/dist/revolugo.cancellationpoliciesbadge.D7CMWTdG.min.js +207 -0
- package/dist/revolugo.cancellationpolicieslist.D2idtSnK.min.js +25 -0
- package/dist/{revolugo.cancellationpolicieslist.CurBz21i.min.js → revolugo.cancellationpolicieslist.hSJAFEGT.min.js} +70 -98
- package/dist/revolugo.cancellationpolicieslist.props.s6oWxIxG.min.js +21 -0
- package/dist/{revolugo.case-transformers.Oo4YCZeL.min.js → revolugo.case-transformers.VM7X_9Q1.min.js} +6 -6
- package/dist/{revolugo.creditcardform.D35ZslX6.min.js → revolugo.creditcardform.CrwpUivQ.min.js} +4 -4
- package/dist/{revolugo.creditcardform.Zgq-wqLH.min.js → revolugo.creditcardform.SRz4ls19.min.js} +45 -45
- package/dist/{revolugo.creditcardpayment.B3gGpWtL.min.js → revolugo.creditcardpayment.BcVHQlKJ.min.js} +42 -40
- package/dist/{revolugo.creditcardpayment.BpY-gafO.min.js → revolugo.creditcardpayment.bSs8I8av.min.js} +4 -4
- package/dist/{revolugo.currencypicker.BgqkzwCT.min.js → revolugo.currencypicker.-B3knz6i.min.js} +8 -8
- package/dist/{revolugo.currencypickerbtn.CL_hu26M.min.js → revolugo.currencypickerbtn.CyHWGHaW.min.js} +4 -4
- package/dist/{revolugo.currencypickerbtn.0iqvXHCJ.min.js → revolugo.currencypickerbtn.D38ZdlKW.min.js} +17 -17
- package/dist/{revolugo.defaultsdeep.CCR2LAoW.min.js → revolugo.defaultsdeep.z9urzKAp.min.js} +32 -32
- package/dist/{revolugo.dialog-attach.t7JTHXax.min.js → revolugo.dialog-attach.D_OA19-E.min.js} +2 -2
- package/dist/{revolugo.dialog-transition.Cot8jmLN.min.js → revolugo.dialog-transition.D9Rvu5kv.min.js} +6 -6
- package/dist/{revolugo.fastbookingflow.D5i5QakB.min.js → revolugo.fastbookingflow.CJP79XT7.min.js} +4 -4
- package/dist/{revolugo.fullbookingflow.B3R9Mi6f.min.js → revolugo.fullbookingflow.Cd2NIaQ2.min.js} +17 -17
- package/dist/revolugo.hotel-offer-request.CgsVMCkE.min.js +98 -0
- package/dist/{revolugo.hoteldescriptionview.mr1BBzFi.min.js → revolugo.hoteldescriptionview.BSrnxJem.min.js} +394 -412
- package/dist/{revolugo.hoteldescriptionview.0om5ATP0.min.js → revolugo.hoteldescriptionview.Cl2E63e2.min.js} +4 -4
- package/dist/{revolugo.hotelofferitemlayout.CpMoPSRH.min.js → revolugo.hotelofferitemlayout.BMzCfYQ7.min.js} +6 -6
- package/dist/{revolugo.hotelofferlist.DRdkrfqu.min.js → revolugo.hotelofferlist.B3yjbXlQ.min.js} +789 -796
- package/dist/{revolugo.hotelofferlist.Bb-RsXSl.min.js → revolugo.hotelofferlist.DhYBX5pF.min.js} +4 -4
- package/dist/{revolugo.hotelofferrequestcreator.f8olJbDW.min.js → revolugo.hotelofferrequestcreator.CNbav2EO.min.js} +16 -15
- package/dist/revolugo.hoteloffersearchmenu.BZascblw.min.js +47 -0
- package/dist/{revolugo.hoteloffersmap.BjjBIhE9.min.js → revolugo.hoteloffersmap.D6hRTrsf.min.js} +22 -23
- package/dist/{revolugo.hoteloffersmap.BleGDfiI.min.js → revolugo.hoteloffersmap.DkNN0NQB.min.js} +4 -4
- package/dist/{revolugo.hoteloffersview.M1WJegEH.min.js → revolugo.hoteloffersview.CPYXigVN.min.js} +4 -4
- package/dist/{revolugo.hoteloffersview.DyWUZJ-a.min.js → revolugo.hoteloffersview.DjAXSPOG.min.js} +51 -49
- package/dist/{revolugo.hotelroomofferlist.7bwYQgtE.min.js → revolugo.hotelroomofferlist.C_HCimvP.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.Dr11epuR.min.js → revolugo.hotelroomofferlist.wD_JIpuK.min.js} +187 -186
- package/dist/{revolugo.hotelroomofferrequestcreator.props.DUhujwnh.min.js → revolugo.hotelroomofferrequestcreator.props.DjBXUl-H.min.js} +2 -2
- package/dist/{revolugo.hotelroomoffersbookingflow.CKjKX7Kc.min.js → revolugo.hotelroomoffersbookingflow.2E3AYERj.min.js} +55 -55
- package/dist/{revolugo.hotelroomoffersearchmenu.CT-i5FLW.min.js → revolugo.hotelroomoffersearchmenu.B-C4YSFE.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersearchmenu.9fzTS1um.min.js → revolugo.hotelroomoffersearchmenu.DrW5uMfL.min.js} +7 -7
- package/dist/{revolugo.hotelroomoffersview.D2XUHzuN.min.js → revolugo.hotelroomoffersview.CCmILEaO.min.js} +12 -12
- package/dist/{revolugo.hotelroomoffersview.iTt3yxQK.min.js → revolugo.hotelroomoffersview.DVsdh7Jz.min.js} +4 -4
- package/dist/revolugo.index.Dyr1hnew.min.js +1255 -0
- package/dist/{revolugo.index.wc.CNPB8R3P.min.js → revolugo.index.wc.BaFPloEH.min.js} +11412 -11783
- package/dist/revolugo.langpicker.CaQ17b6t.min.js +99 -0
- package/dist/revolugo.langpickerbtn.DTkV9PYE.min.js +29 -0
- package/dist/revolugo.langpickerbtn.DmoEWum3.min.js +126 -0
- package/dist/revolugo.min.js +1 -1
- package/dist/revolugo.pathify.CKNqCKLR.min.js +58 -0
- package/dist/{revolugo.prebookform.DhCYUQX2.min.js → revolugo.prebookform.CxKmwFK-.min.js} +21 -21
- package/dist/{revolugo.prebookform.CDoJAivN.min.js → revolugo.prebookform.p-M6zS08.min.js} +4 -4
- package/dist/{revolugo.roominglisteditor.Dgtcs_-O.min.js → revolugo.roominglisteditor.5gfIA3r6.min.js} +11 -11
- package/dist/{revolugo.roominglisteditor.DvUmxfal.min.js → revolugo.roominglisteditor.Zz9TPhp6.min.js} +4 -4
- package/dist/{revolugo.rounded.Dulx85qq.min.js → revolugo.rounded.CQuigzpH.min.js} +2 -2
- package/dist/{revolugo.ssrboot.CTe1vadS.min.js → revolugo.ssrboot.DfQY0r5E.min.js} +4 -4
- package/dist/{revolugo.storybooktoolbar.D182Uwjq.min.js → revolugo.storybooktoolbar.DikXrkgz.min.js} +111 -107
- package/dist/{revolugo.termsandconditions.DvldqW3w.min.js → revolugo.termsandconditions.Bbo5pbgR.min.js} +4 -4
- package/dist/{revolugo.termsandconditions.BSpX2Wim.min.js → revolugo.termsandconditions.CiHuvfp6.min.js} +4 -4
- package/dist/revolugo.use-breakpoint-service.BLlHYRIa.min.js +45 -0
- package/dist/revolugo.use-html-element.C-V3ql2M.min.js +12 -0
- package/dist/{revolugo.vautocomplete.DNxDeH8S.min.js → revolugo.vautocomplete.CimHObsW.min.js} +110 -109
- package/dist/{revolugo.vbadge.DqpIeIfj.min.js → revolugo.vbadge.dOVHEqkO.min.js} +16 -16
- package/dist/{revolugo.vbtn.DsvUpshD.min.js → revolugo.vbtn.C5rBd2Qx.min.js} +61 -61
- package/dist/{revolugo.vcard.D1VwO30r.min.js → revolugo.vcard.Dw6Qxohz.min.js} +48 -48
- package/dist/{revolugo.vcheckboxbtn.BnbOlneq.min.js → revolugo.vcheckboxbtn.oJMjQhq7.min.js} +58 -58
- package/dist/{revolugo.vdialog.rsw4VlQE.min.js → revolugo.vdialog.DBJFoM4O.min.js} +25 -25
- package/dist/{revolugo.vdivider.Cq5RMY7t.min.js → revolugo.vdivider.93Ehbd8W.min.js} +3 -3
- package/dist/{revolugo.vexpansionpanels.Cy-T-RLA.min.js → revolugo.vexpansionpanels.nGkPqsEk.min.js} +24 -23
- package/dist/{revolugo.vform.CO-9AfdO.min.js → revolugo.vform.D7BJmMQ-.min.js} +4 -4
- package/dist/revolugo.vicon.CuIGTijn.min.js +106 -0
- package/dist/{revolugo.vinput.DEbpex7C.min.js → revolugo.vinput.C6k3-74L.min.js} +57 -56
- package/dist/{revolugo.vlabel.CBGmCU1C.min.js → revolugo.vlabel.BNLTPj0h.min.js} +3 -3
- package/dist/{revolugo.vlist.BzvP4Aad.min.js → revolugo.vlist.B56e-cT_.min.js} +95 -95
- package/dist/{revolugo.vmenu.CIfiL0Ib.min.js → revolugo.vmenu.DhHohFn7.min.js} +22 -22
- package/dist/{revolugo.vselect.CDieig82.min.js → revolugo.vselect.BHhGGQU3.min.js} +77 -76
- package/dist/{revolugo.vsheet.AqixfoVv.min.js → revolugo.vsheet.H2Eli2di.min.js} +10 -10
- package/dist/{revolugo.vskeletonloader.BUxAIEgD.min.js → revolugo.vskeletonloader.B-Qq0740.min.js} +6 -6
- package/dist/revolugo.vslidegroup.ChtHIkDN.min.js +333 -0
- package/dist/{revolugo.vsnackbar.D5nwTNfd.min.js → revolugo.vsnackbar.-lEdFT5G.min.js} +49 -50
- package/dist/revolugo.vspacer.DaFDHuC9.min.js +7 -0
- package/dist/{revolugo.vtextarea.ByrL6SoY.min.js → revolugo.vtextarea.BJaCwHl5.min.js} +33 -33
- package/dist/{revolugo.vtextfield.Br_yyf1t.min.js → revolugo.vtextfield.CMQN6tSz.min.js} +73 -74
- package/dist/{revolugo.vtoolbar.VPqzB-yU.min.js → revolugo.vtoolbar.CSyyGTVc.min.js} +23 -23
- package/dist/revolugo.vtooltip.CvplYWvb.min.js +90 -0
- package/dist/{revolugo.vwindowitem.IF1zLcjR.min.js → revolugo.vwindowitem.bzpa5cVc.min.js} +31 -31
- package/dist/{revolugo.watch-list.BD0XoO1O.min.js → revolugo.watch-list.Be1UUzWP.min.js} +2 -2
- package/dist/{revolugo.webcomponentwrapper.Ci87Oown.min.js → revolugo.webcomponentwrapper.Byzhja-M.min.js} +302 -302
- package/package.json +1 -1
- package/dist/css/revolugo.bhoteloffersfilterbar.1tLwDxXe.css +0 -1
- package/dist/css/revolugo.cancellationpoliciesbadge.CwgZ0PpX.css +0 -1
- package/dist/css/revolugo.hoteloffersview.oDGeJCwG.css +0 -1
- package/dist/css/revolugo.index.DQ3Yd6SO.css +0 -1
- package/dist/css/revolugo.langpickerbtn.D2iA6mCb.css +0 -1
- package/dist/css/revolugo.position.7fn84IQ5.css +0 -1
- package/dist/revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DFgVEyLr.min.js +0 -61
- package/dist/revolugo.bhoteloffersfilterbar.C677v5nL.min.js +0 -4689
- package/dist/revolugo.cancellationpoliciesbadge.B19weMQp.min.js +0 -225
- package/dist/revolugo.cancellationpoliciesbadge.CvnUmIqX.min.js +0 -24
- package/dist/revolugo.cancellationpolicieslist.BsjkpRRW.min.js +0 -24
- package/dist/revolugo.hoteloffersearchmenu.CLH7PdDD.min.js +0 -46
- package/dist/revolugo.index.CDltx0TU.min.js +0 -1037
- package/dist/revolugo.index.D5-DO18f.min.js +0 -13
- package/dist/revolugo.langpicker.Df8h8dCw.min.js +0 -107
- package/dist/revolugo.langpickerbtn.CIKlUC4J.min.js +0 -178
- package/dist/revolugo.langpickerbtn.CMIJmkLf.min.js +0 -24
- package/dist/revolugo.position.BFDPs3FP.min.js +0 -322
- package/dist/revolugo.use-breakpoint-service.CEx6DRka.min.js +0 -106
- package/dist/revolugo.vspacer.Dv72HR_2.min.js +0 -7
- package/dist/revolugo.vtooltip.CI_oDjbQ.min.js +0 -395
@@ -1,10 +1,10 @@
|
|
1
|
-
import {
|
2
|
-
import { a as te,
|
3
|
-
import { u as R, M as
|
4
|
-
import { u as
|
5
|
-
import { c as
|
6
|
-
import {
|
7
|
-
import { V as It } from "./revolugo.vdivider.
|
1
|
+
import { ah as Y, a4 as M, aj as H, a2 as ye, bw as k, Z as T, C as L, a1 as Q, D as g, U as ge, bW as nt, aa as w, aJ as at, b2 as Se, Y as F, a as m, cb as lt, H as he, I as it, _ as E, L as st, aI as be, cc as rt, aF as ut, y as ee, aK as pe, $ as G, F as oe, t as ce, a7 as ot, cd as Ce, aY as ke, bR as ct, aX as O, a5 as we, aT as dt, c8 as vt } from "./revolugo.index.wc.BaFPloEH.min.js";
|
2
|
+
import { a as te, d as ft, c as mt, R as yt, t as gt, s as Ie, v as Ve, m as Ae, g as St, h as de } from "./revolugo.index.Dyr1hnew.min.js";
|
3
|
+
import { u as R, M as ht, e as U, m as $, A as bt, n as Pe, D as pt, o as Le, d as Ct, b as kt } from "./revolugo.webcomponentwrapper.Byzhja-M.min.js";
|
4
|
+
import { u as wt } from "./revolugo.ssrboot.DfQY0r5E.min.js";
|
5
|
+
import { c as Oe, u as _e, b as Ee, a as Te, m as Be, d as Me } from "./revolugo.rounded.CQuigzpH.min.js";
|
6
|
+
import { V as ve } from "./revolugo.vicon.CuIGTijn.min.js";
|
7
|
+
import { V as It } from "./revolugo.vdivider.93Ehbd8W.min.js";
|
8
8
|
function tt(e) {
|
9
9
|
try {
|
10
10
|
if (typeof document < "u") {
|
@@ -27,7 +27,7 @@ function tt(e) {
|
|
27
27
|
}
|
28
28
|
const ne = Symbol.for("vuetify:list");
|
29
29
|
function je() {
|
30
|
-
const e =
|
30
|
+
const e = Y(ne, {
|
31
31
|
hasPrepend: M(!1),
|
32
32
|
updateHasPrepend: () => null
|
33
33
|
}), l = {
|
@@ -36,10 +36,10 @@ function je() {
|
|
36
36
|
t && (l.hasPrepend.value = t);
|
37
37
|
}
|
38
38
|
};
|
39
|
-
return
|
39
|
+
return H(ne, l), e;
|
40
40
|
}
|
41
41
|
function xe() {
|
42
|
-
return
|
42
|
+
return Y(ne, null);
|
43
43
|
}
|
44
44
|
const le = (e) => {
|
45
45
|
const l = {
|
@@ -49,7 +49,7 @@ const le = (e) => {
|
|
49
49
|
value: i,
|
50
50
|
activated: a
|
51
51
|
} = t;
|
52
|
-
return n =
|
52
|
+
return n = k(n), e && !i && a.size === 1 && a.has(n) || (i ? a.add(n) : a.delete(n)), a;
|
53
53
|
},
|
54
54
|
in: (t, n, i) => {
|
55
55
|
let a = /* @__PURE__ */ new Set();
|
@@ -76,7 +76,7 @@ const le = (e) => {
|
|
76
76
|
id: a,
|
77
77
|
...r
|
78
78
|
} = n;
|
79
|
-
a =
|
79
|
+
a = k(a);
|
80
80
|
const u = i.has(a) ? /* @__PURE__ */ new Set([a]) : /* @__PURE__ */ new Set();
|
81
81
|
return l.activate({
|
82
82
|
...r,
|
@@ -104,7 +104,7 @@ const le = (e) => {
|
|
104
104
|
children: r,
|
105
105
|
...u
|
106
106
|
} = n;
|
107
|
-
return i =
|
107
|
+
return i = k(i), r.has(i) ? a : l.activate({
|
108
108
|
id: i,
|
109
109
|
activated: a,
|
110
110
|
children: r,
|
@@ -124,7 +124,7 @@ const le = (e) => {
|
|
124
124
|
children: r,
|
125
125
|
...u
|
126
126
|
} = n;
|
127
|
-
return i =
|
127
|
+
return i = k(i), r.has(i) ? a : l.activate({
|
128
128
|
id: i,
|
129
129
|
activated: a,
|
130
130
|
children: r,
|
@@ -195,7 +195,7 @@ const le = (e) => {
|
|
195
195
|
value: i,
|
196
196
|
selected: a
|
197
197
|
} = t;
|
198
|
-
if (n =
|
198
|
+
if (n = k(n), e && !i) {
|
199
199
|
const r = Array.from(a.entries()).reduce((u, v) => {
|
200
200
|
let [c, y] = v;
|
201
201
|
return y === "on" && u.push(c), u;
|
@@ -233,7 +233,7 @@ const le = (e) => {
|
|
233
233
|
id: a,
|
234
234
|
...r
|
235
235
|
} = n;
|
236
|
-
a =
|
236
|
+
a = k(a);
|
237
237
|
const u = i.has(a) ? /* @__PURE__ */ new Map([[a, i.get(a)]]) : /* @__PURE__ */ new Map();
|
238
238
|
return l.select({
|
239
239
|
...r,
|
@@ -254,7 +254,7 @@ const le = (e) => {
|
|
254
254
|
children: r,
|
255
255
|
...u
|
256
256
|
} = n;
|
257
|
-
return i =
|
257
|
+
return i = k(i), r.has(i) ? a : l.select({
|
258
258
|
id: i,
|
259
259
|
selected: a,
|
260
260
|
children: r,
|
@@ -274,7 +274,7 @@ const le = (e) => {
|
|
274
274
|
children: r,
|
275
275
|
...u
|
276
276
|
} = n;
|
277
|
-
return i =
|
277
|
+
return i = k(i), r.has(i) ? a : l.select({
|
278
278
|
id: i,
|
279
279
|
selected: a,
|
280
280
|
children: r,
|
@@ -294,16 +294,16 @@ const le = (e) => {
|
|
294
294
|
children: r,
|
295
295
|
parents: u
|
296
296
|
} = t;
|
297
|
-
n =
|
297
|
+
n = k(n);
|
298
298
|
const v = new Map(a), c = [n];
|
299
299
|
for (; c.length; ) {
|
300
300
|
const f = c.shift();
|
301
|
-
a.set(
|
301
|
+
a.set(k(f), i ? "on" : "off"), r.has(f) && c.push(...r.get(f));
|
302
302
|
}
|
303
|
-
let y =
|
303
|
+
let y = k(u.get(n));
|
304
304
|
for (; y; ) {
|
305
|
-
const f = r.get(y), p = f.every((s) => a.get(
|
306
|
-
a.set(y, p ? "on" : h ? "off" : "indeterminate"), y =
|
305
|
+
const f = r.get(y), p = f.every((s) => a.get(k(s)) === "on"), h = f.every((s) => !a.has(k(s)) || a.get(k(s)) === "off");
|
306
|
+
a.set(y, p ? "on" : h ? "off" : "indeterminate"), y = k(u.get(y));
|
307
307
|
}
|
308
308
|
return e && !i && Array.from(a.entries()).reduce((p, h) => {
|
309
309
|
let [s, o] = h;
|
@@ -361,7 +361,7 @@ const le = (e) => {
|
|
361
361
|
mandatory: Boolean
|
362
362
|
}, "nested"), Bt = (e) => {
|
363
363
|
let l = !1;
|
364
|
-
const t = L(/* @__PURE__ */ new Map()), n = L(/* @__PURE__ */ new Map()), i =
|
364
|
+
const t = L(/* @__PURE__ */ new Map()), n = L(/* @__PURE__ */ new Map()), i = Q(e, "opened", e.opened, (s) => new Set(s), (s) => [...s.values()]), a = g(() => {
|
365
365
|
if (typeof e.activeStrategy == "object") return e.activeStrategy;
|
366
366
|
if (typeof e.activeStrategy == "function") return e.activeStrategy(e.mandatory);
|
367
367
|
switch (e.activeStrategy) {
|
@@ -402,7 +402,7 @@ const le = (e) => {
|
|
402
402
|
default:
|
403
403
|
return Ne;
|
404
404
|
}
|
405
|
-
}), v =
|
405
|
+
}), v = Q(e, "activated", e.activated, (s) => a.value.in(s, t.value, n.value), (s) => a.value.out(s, t.value, n.value)), c = Q(e, "selected", e.selected, (s) => r.value.in(s, t.value, n.value), (s) => r.value.out(s, t.value, n.value));
|
406
406
|
ge(() => {
|
407
407
|
l = !0;
|
408
408
|
});
|
@@ -511,13 +511,13 @@ const le = (e) => {
|
|
511
511
|
if (S.size !== v.value.size)
|
512
512
|
v.value = S;
|
513
513
|
else {
|
514
|
-
for (const
|
515
|
-
if (!v.value.has(
|
514
|
+
for (const C of S)
|
515
|
+
if (!v.value.has(C)) {
|
516
516
|
v.value = S;
|
517
517
|
return;
|
518
518
|
}
|
519
|
-
for (const
|
520
|
-
if (!S.has(
|
519
|
+
for (const C of v.value)
|
520
|
+
if (!S.has(C)) {
|
521
521
|
v.value = S;
|
522
522
|
return;
|
523
523
|
}
|
@@ -528,9 +528,9 @@ const le = (e) => {
|
|
528
528
|
getPath: y
|
529
529
|
}
|
530
530
|
};
|
531
|
-
return
|
531
|
+
return H(D, h), h.root;
|
532
532
|
}, Re = (e, l) => {
|
533
|
-
const t =
|
533
|
+
const t = Y(D, De), n = Symbol(at()), i = g(() => e.value !== void 0 ? e.value : n), a = {
|
534
534
|
...t,
|
535
535
|
id: i,
|
536
536
|
open: (r, u) => t.root.open(i.value, r, u),
|
@@ -538,10 +538,10 @@ const le = (e) => {
|
|
538
538
|
isOpen: g(() => t.root.opened.value.has(i.value)),
|
539
539
|
parent: g(() => t.root.parents.value.get(i.value)),
|
540
540
|
activate: (r, u) => t.root.activate(i.value, r, u),
|
541
|
-
isActivated: g(() => t.root.activated.value.has(
|
541
|
+
isActivated: g(() => t.root.activated.value.has(k(i.value))),
|
542
542
|
select: (r, u) => t.root.select(i.value, r, u),
|
543
|
-
isSelected: g(() => t.root.selected.value.get(
|
544
|
-
isIndeterminate: g(() => t.root.selected.value.get(
|
543
|
+
isSelected: g(() => t.root.selected.value.get(k(i.value)) === "on"),
|
544
|
+
isIndeterminate: g(() => t.root.selected.value.get(k(i.value)) === "indeterminate"),
|
545
545
|
isLeaf: g(() => !t.root.children.value.get(i.value)),
|
546
546
|
isGroupActivator: t.isGroupActivator
|
547
547
|
};
|
@@ -549,10 +549,10 @@ const le = (e) => {
|
|
549
549
|
!t.isGroupActivator && t.root.register(i.value, t.id.value, l);
|
550
550
|
}), ge(() => {
|
551
551
|
!t.isGroupActivator && t.root.unregister(i.value);
|
552
|
-
}), l &&
|
552
|
+
}), l && H(D, a), a;
|
553
553
|
}, Mt = () => {
|
554
|
-
const e =
|
555
|
-
|
554
|
+
const e = Y(D, De);
|
555
|
+
H(D, {
|
556
556
|
...e,
|
557
557
|
isGroupActivator: !0
|
558
558
|
});
|
@@ -601,7 +601,7 @@ const le = (e) => {
|
|
601
601
|
id: a
|
602
602
|
} = Re(w(e, "value"), !0), r = g(() => `v-list-group--id-${String(a.value)}`), u = xe(), {
|
603
603
|
isBooted: v
|
604
|
-
} =
|
604
|
+
} = wt();
|
605
605
|
function c(h) {
|
606
606
|
h.stopPropagation(), i(!n.value, h);
|
607
607
|
}
|
@@ -639,7 +639,7 @@ const le = (e) => {
|
|
639
639
|
isOpen: n.value
|
640
640
|
})]
|
641
641
|
})]
|
642
|
-
}), m(
|
642
|
+
}), m(ht, {
|
643
643
|
transition: {
|
644
644
|
component: ft
|
645
645
|
},
|
@@ -676,7 +676,7 @@ const le = (e) => {
|
|
676
676
|
}, e.style]
|
677
677
|
}, t)), {};
|
678
678
|
}
|
679
|
-
}), Gt =
|
679
|
+
}), Gt = mt("v-list-item-title"), Dt = T({
|
680
680
|
active: {
|
681
681
|
type: Boolean,
|
682
682
|
default: void 0
|
@@ -718,7 +718,7 @@ const le = (e) => {
|
|
718
718
|
...Le(),
|
719
719
|
...Be(),
|
720
720
|
...Te(),
|
721
|
-
...
|
721
|
+
...pt(),
|
722
722
|
...U(),
|
723
723
|
...pe(),
|
724
724
|
...Ve({
|
@@ -727,7 +727,7 @@ const le = (e) => {
|
|
727
727
|
}, "VListItem"), me = F()({
|
728
728
|
name: "VListItem",
|
729
729
|
directives: {
|
730
|
-
Ripple:
|
730
|
+
Ripple: yt
|
731
731
|
},
|
732
732
|
props: Dt(),
|
733
733
|
emits: {
|
@@ -739,7 +739,7 @@ const le = (e) => {
|
|
739
739
|
slots: n,
|
740
740
|
emit: i
|
741
741
|
} = l;
|
742
|
-
const a =
|
742
|
+
const a = bt(e, t), r = g(() => e.value === void 0 ? a.href.value : e.value), {
|
743
743
|
activate: u,
|
744
744
|
isActivated: v,
|
745
745
|
select: c,
|
@@ -751,11 +751,11 @@ const le = (e) => {
|
|
751
751
|
parent: o,
|
752
752
|
openOnSelect: d,
|
753
753
|
id: S
|
754
|
-
} = Re(r, !1),
|
754
|
+
} = Re(r, !1), C = xe(), V = g(() => {
|
755
755
|
var b;
|
756
756
|
return e.active !== !1 && (e.active || ((b = a.isActive) == null ? void 0 : b.value) || (s.activatable.value ? v.value : f.value));
|
757
|
-
}), N = g(() => e.link !== !1 && a.isLink.value), B = g(() => !!
|
758
|
-
color: V.value ?
|
757
|
+
}), N = g(() => e.link !== !1 && a.isLink.value), B = g(() => !!C && (s.selectable.value || s.activatable.value || e.value != null)), A = g(() => !e.disabled && e.link !== !1 && (e.link || a.isClickable.value || B.value)), z = g(() => e.rounded || e.nav), X = g(() => e.color ?? e.activeColor), q = g(() => ({
|
758
|
+
color: V.value ? X.value ?? e.baseColor : e.baseColor,
|
759
759
|
variant: e.variant
|
760
760
|
}));
|
761
761
|
st(() => {
|
@@ -777,51 +777,51 @@ const le = (e) => {
|
|
777
777
|
} = Oe(e), {
|
778
778
|
colorClasses: I,
|
779
779
|
colorStyles: j,
|
780
|
-
variantClasses:
|
781
|
-
} =
|
782
|
-
densityClasses:
|
780
|
+
variantClasses: Ye
|
781
|
+
} = gt(q), {
|
782
|
+
densityClasses: He
|
783
783
|
} = Ie(e), {
|
784
|
-
dimensionStyles:
|
784
|
+
dimensionStyles: ze
|
785
785
|
} = Pe(e), {
|
786
|
-
elevationClasses:
|
786
|
+
elevationClasses: Xe
|
787
787
|
} = _e(e), {
|
788
|
-
roundedClasses:
|
789
|
-
} = Ee(
|
788
|
+
roundedClasses: qe
|
789
|
+
} = Ee(z), We = g(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), J = g(() => ({
|
790
790
|
isActive: V.value,
|
791
791
|
select: c,
|
792
792
|
isOpen: y.value,
|
793
793
|
isSelected: f.value,
|
794
794
|
isIndeterminate: p.value
|
795
795
|
}));
|
796
|
-
function
|
796
|
+
function Je(b) {
|
797
797
|
var x;
|
798
798
|
i("click", b), A.value && ((x = a.navigate) == null || x.call(a, b), !h && (s.activatable.value ? u(!v.value, b) : (s.selectable.value || e.value != null) && c(!f.value, b)));
|
799
799
|
}
|
800
|
-
function
|
800
|
+
function Ze(b) {
|
801
801
|
const x = b.target;
|
802
802
|
["INPUT", "TEXTAREA"].includes(x.tagName) || (b.key === "Enter" || b.key === " ") && (b.preventDefault(), b.target.dispatchEvent(new MouseEvent("click", b)));
|
803
803
|
}
|
804
804
|
return R(() => {
|
805
|
-
const b = N.value ? "a" : e.tag, x = n.title || e.title != null,
|
806
|
-
return
|
805
|
+
const b = N.value ? "a" : e.tag, x = n.title || e.title != null, Qe = n.subtitle || e.subtitle != null, se = !!(e.appendAvatar || e.appendIcon), et = !!(se || n.append), re = !!(e.prependAvatar || e.prependIcon), Z = !!(re || n.prepend);
|
806
|
+
return C == null || C.updateHasPrepend(Z), e.activeColor && rt("active-color", ["color", "base-color"]), he(m(b, ee({
|
807
807
|
class: ["v-list-item", {
|
808
808
|
"v-list-item--active": V.value,
|
809
809
|
"v-list-item--disabled": e.disabled,
|
810
810
|
"v-list-item--link": A.value,
|
811
811
|
"v-list-item--nav": e.nav,
|
812
|
-
"v-list-item--prepend": !
|
812
|
+
"v-list-item--prepend": !Z && (C == null ? void 0 : C.hasPrepend.value),
|
813
813
|
"v-list-item--slim": e.slim,
|
814
814
|
[`${e.activeClass}`]: e.activeClass && V.value
|
815
|
-
}, W.value, _.value, I.value,
|
816
|
-
style: [j.value,
|
817
|
-
tabindex: A.value ?
|
815
|
+
}, W.value, _.value, I.value, He.value, Xe.value, We.value, qe.value, Ye.value, e.class],
|
816
|
+
style: [j.value, ze.value, e.style],
|
817
|
+
tabindex: A.value ? C ? -2 : 0 : void 0,
|
818
818
|
"aria-selected": B.value ? s.activatable.value ? v.value : s.selectable.value ? f.value : V.value : void 0,
|
819
|
-
onClick:
|
820
|
-
onKeydown: A.value && !N.value &&
|
819
|
+
onClick: Je,
|
820
|
+
onKeydown: A.value && !N.value && Ze
|
821
821
|
}, a.linkProps), {
|
822
822
|
default: () => {
|
823
823
|
var ue;
|
824
|
-
return [
|
824
|
+
return [St(A.value || V.value, "v-list-item"), Z && m("div", {
|
825
825
|
key: "prepend",
|
826
826
|
class: "v-list-item__prepend"
|
827
827
|
}, [n.prepend ? m(te, {
|
@@ -843,7 +843,7 @@ const le = (e) => {
|
|
843
843
|
}, {
|
844
844
|
default: () => {
|
845
845
|
var P;
|
846
|
-
return [(P = n.prepend) == null ? void 0 : P.call(n,
|
846
|
+
return [(P = n.prepend) == null ? void 0 : P.call(n, J.value)];
|
847
847
|
}
|
848
848
|
}) : m(oe, null, [e.prependAvatar && m(de, {
|
849
849
|
key: "prepend-avatar",
|
@@ -867,7 +867,7 @@ const le = (e) => {
|
|
867
867
|
title: e.title
|
868
868
|
})) ?? ce(e.title)];
|
869
869
|
}
|
870
|
-
}),
|
870
|
+
}), Qe && m(Nt, {
|
871
871
|
key: "subtitle"
|
872
872
|
}, {
|
873
873
|
default: () => {
|
@@ -876,7 +876,7 @@ const le = (e) => {
|
|
876
876
|
subtitle: e.subtitle
|
877
877
|
})) ?? ce(e.subtitle)];
|
878
878
|
}
|
879
|
-
}), (ue = n.default) == null ? void 0 : ue.call(n,
|
879
|
+
}), (ue = n.default) == null ? void 0 : ue.call(n, J.value)]), et && m("div", {
|
880
880
|
key: "append",
|
881
881
|
class: "v-list-item__append"
|
882
882
|
}, [n.append ? m(te, {
|
@@ -898,7 +898,7 @@ const le = (e) => {
|
|
898
898
|
}, {
|
899
899
|
default: () => {
|
900
900
|
var P;
|
901
|
-
return [(P = n.append) == null ? void 0 : P.call(n,
|
901
|
+
return [(P = n.append) == null ? void 0 : P.call(n, J.value)];
|
902
902
|
}
|
903
903
|
}) : m(oe, null, [e.appendIcon && m(ve, {
|
904
904
|
key: "append-icon",
|
@@ -918,7 +918,7 @@ const le = (e) => {
|
|
918
918
|
isActivated: v,
|
919
919
|
isGroupActivator: h,
|
920
920
|
isSelected: f,
|
921
|
-
list:
|
921
|
+
list: C,
|
922
922
|
select: c,
|
923
923
|
root: s,
|
924
924
|
id: S,
|
@@ -942,7 +942,7 @@ const le = (e) => {
|
|
942
942
|
const {
|
943
943
|
textColorClasses: n,
|
944
944
|
textColorStyles: i
|
945
|
-
} =
|
945
|
+
} = Ct(w(e, "color"));
|
946
946
|
return R(() => {
|
947
947
|
const a = !!(t.default || e.title);
|
948
948
|
return m(e.tag, {
|
@@ -1088,7 +1088,7 @@ function ae(e, l) {
|
|
1088
1088
|
};
|
1089
1089
|
}
|
1090
1090
|
function $e(e, l) {
|
1091
|
-
const t =
|
1091
|
+
const t = ke(e, ["itemTitle", "itemValue", "itemChildren", "itemProps", "returnObject", "valueComparator"]), n = [];
|
1092
1092
|
for (const i of l)
|
1093
1093
|
n.push(ae(t, i));
|
1094
1094
|
return n;
|
@@ -1099,7 +1099,7 @@ function tn(e) {
|
|
1099
1099
|
const u = l.value, v = /* @__PURE__ */ new Map(), c = [];
|
1100
1100
|
for (let y = 0; y < u.length; y++) {
|
1101
1101
|
const f = u[y];
|
1102
|
-
if (
|
1102
|
+
if (Ce(f.value) || f.value === null) {
|
1103
1103
|
let p = v.get(f.value);
|
1104
1104
|
p || (p = [], v.set(f.value, p)), p.push(f);
|
1105
1105
|
} else
|
@@ -1108,15 +1108,15 @@ function tn(e) {
|
|
1108
1108
|
n.value = v, i.value = c;
|
1109
1109
|
});
|
1110
1110
|
function a(u) {
|
1111
|
-
const v = n.value, c = l.value, y = i.value, f = t.value, p = e.returnObject, h = !!e.valueComparator, s = e.valueComparator || ct, o =
|
1111
|
+
const v = n.value, c = l.value, y = i.value, f = t.value, p = e.returnObject, h = !!e.valueComparator, s = e.valueComparator || ct, o = ke(e, ["itemTitle", "itemValue", "itemChildren", "itemProps", "returnObject", "valueComparator"]), d = [];
|
1112
1112
|
e: for (const S of u) {
|
1113
1113
|
if (!f && S === null) continue;
|
1114
1114
|
if (p && typeof S == "string") {
|
1115
1115
|
d.push(ae(o, S));
|
1116
1116
|
continue;
|
1117
1117
|
}
|
1118
|
-
const
|
1119
|
-
if (h || !
|
1118
|
+
const C = v.get(S);
|
1119
|
+
if (h || !C) {
|
1120
1120
|
for (const V of h ? c : y)
|
1121
1121
|
if (s(S, V.value)) {
|
1122
1122
|
d.push(V);
|
@@ -1125,7 +1125,7 @@ function tn(e) {
|
|
1125
1125
|
d.push(ae(o, S));
|
1126
1126
|
continue;
|
1127
1127
|
}
|
1128
|
-
d.push(...
|
1128
|
+
d.push(...C);
|
1129
1129
|
}
|
1130
1130
|
return d;
|
1131
1131
|
}
|
@@ -1148,8 +1148,8 @@ function tn(e) {
|
|
1148
1148
|
transformOut: r
|
1149
1149
|
};
|
1150
1150
|
}
|
1151
|
-
function
|
1152
|
-
const t = O(l, e.itemType, "item"), n =
|
1151
|
+
function Yt(e, l) {
|
1152
|
+
const t = O(l, e.itemType, "item"), n = Ce(l) ? l : O(l, e.itemTitle), i = O(l, e.itemValue, void 0), a = O(l, e.itemChildren), r = e.itemProps === !0 ? we(l, ["children"]) : O(l, e.itemProps), u = {
|
1153
1153
|
title: n,
|
1154
1154
|
value: i,
|
1155
1155
|
...r
|
@@ -1166,15 +1166,15 @@ function Ht(e, l) {
|
|
1166
1166
|
function Ke(e, l) {
|
1167
1167
|
const t = [];
|
1168
1168
|
for (const n of l)
|
1169
|
-
t.push(
|
1169
|
+
t.push(Yt(e, n));
|
1170
1170
|
return t;
|
1171
1171
|
}
|
1172
|
-
function
|
1172
|
+
function Ht(e) {
|
1173
1173
|
return {
|
1174
1174
|
items: g(() => Ke(e, e.items))
|
1175
1175
|
};
|
1176
1176
|
}
|
1177
|
-
const
|
1177
|
+
const zt = T({
|
1178
1178
|
baseColor: String,
|
1179
1179
|
/* @deprecated */
|
1180
1180
|
activeColor: String,
|
@@ -1214,7 +1214,7 @@ const qt = T({
|
|
1214
1214
|
})
|
1215
1215
|
}, "VList"), nn = F()({
|
1216
1216
|
name: "VList",
|
1217
|
-
props:
|
1217
|
+
props: zt(),
|
1218
1218
|
emits: {
|
1219
1219
|
"update:selected": (e) => !0,
|
1220
1220
|
"update:activated": (e) => !0,
|
@@ -1229,7 +1229,7 @@ const qt = T({
|
|
1229
1229
|
} = l;
|
1230
1230
|
const {
|
1231
1231
|
items: n
|
1232
|
-
} =
|
1232
|
+
} = Ht(e), {
|
1233
1233
|
themeClasses: i
|
1234
1234
|
} = be(e), {
|
1235
1235
|
backgroundColorClasses: a,
|
@@ -1250,10 +1250,10 @@ const qt = T({
|
|
1250
1250
|
parents: s,
|
1251
1251
|
select: o,
|
1252
1252
|
getPath: d
|
1253
|
-
} = Bt(e), S = g(() => e.lines ? `v-list--${e.lines}-line` : void 0),
|
1253
|
+
} = Bt(e), S = g(() => e.lines ? `v-list--${e.lines}-line` : void 0), C = w(e, "activeColor"), V = w(e, "baseColor"), N = w(e, "color");
|
1254
1254
|
je(), dt({
|
1255
1255
|
VListGroup: {
|
1256
|
-
activeColor:
|
1256
|
+
activeColor: C,
|
1257
1257
|
baseColor: V,
|
1258
1258
|
color: N,
|
1259
1259
|
expandIcon: w(e, "expandIcon"),
|
@@ -1261,7 +1261,7 @@ const qt = T({
|
|
1261
1261
|
},
|
1262
1262
|
VListItem: {
|
1263
1263
|
activeClass: w(e, "activeClass"),
|
1264
|
-
activeColor:
|
1264
|
+
activeColor: C,
|
1265
1265
|
baseColor: V,
|
1266
1266
|
color: N,
|
1267
1267
|
density: w(e, "density"),
|
@@ -1273,13 +1273,13 @@ const qt = T({
|
|
1273
1273
|
}
|
1274
1274
|
});
|
1275
1275
|
const B = M(!1), A = L();
|
1276
|
-
function
|
1276
|
+
function z(I) {
|
1277
1277
|
B.value = !0;
|
1278
1278
|
}
|
1279
|
-
function
|
1279
|
+
function X(I) {
|
1280
1280
|
B.value = !1;
|
1281
1281
|
}
|
1282
|
-
function
|
1282
|
+
function q(I) {
|
1283
1283
|
var j;
|
1284
1284
|
!B.value && !(I.relatedTarget && ((j = A.value) != null && j.contains(I.relatedTarget))) && _();
|
1285
1285
|
}
|
@@ -1317,9 +1317,9 @@ const qt = T({
|
|
1317
1317
|
tabindex: e.disabled ? -1 : 0,
|
1318
1318
|
role: "listbox",
|
1319
1319
|
"aria-activedescendant": void 0,
|
1320
|
-
onFocusin:
|
1321
|
-
onFocusout:
|
1322
|
-
onFocus:
|
1320
|
+
onFocusin: z,
|
1321
|
+
onFocusout: X,
|
1322
|
+
onFocus: q,
|
1323
1323
|
onKeydown: K,
|
1324
1324
|
onMousedown: W
|
1325
1325
|
}, {
|
@@ -1340,9 +1340,9 @@ const qt = T({
|
|
1340
1340
|
tt("css/revolugo.vlist.BkGS0yqt.css");
|
1341
1341
|
export {
|
1342
1342
|
me as V,
|
1343
|
-
|
1344
|
-
|
1343
|
+
nn as a,
|
1344
|
+
Gt as b,
|
1345
1345
|
Kt as m,
|
1346
1346
|
tn as u
|
1347
1347
|
};
|
1348
|
-
//# sourceMappingURL=revolugo.vlist.
|
1348
|
+
//# sourceMappingURL=revolugo.vlist.B56e-cT_.min.js.map
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import { g as D, u as M, l as
|
1
|
+
import { g as D, u as M, l as h, y as U, z as p } from "./revolugo.webcomponentwrapper.Byzhja-M.min.js";
|
2
2
|
import { f as I } from "./revolugo.forwardrefs.-bfQnFea.min.js";
|
3
|
-
import {
|
4
|
-
import { V as X } from "./revolugo.dialog-transition.
|
5
|
-
import { a as ee } from "./revolugo.index.
|
6
|
-
function
|
3
|
+
import { Y as K, Z as N, a1 as Y, aC as _, aJ as j, D as L, C as G, ah as B, a4 as z, U as F, c6 as H, Q as J, c7 as S, L as Q, y as V, a as b, a5 as W, c8 as g, c9 as Z, bx as T, aj as $, ca as q } from "./revolugo.index.wc.BaFPloEH.min.js";
|
4
|
+
import { V as X } from "./revolugo.dialog-transition.D9Rvu5kv.min.js";
|
5
|
+
import { a as ee } from "./revolugo.index.Dyr1hnew.min.js";
|
6
|
+
function x(t) {
|
7
7
|
try {
|
8
8
|
if (typeof document < "u") {
|
9
9
|
window.REVOLUGO_ELEMENTS_STYLES = window.REVOLUGO_ELEMENTS_STYLES || {
|
@@ -28,7 +28,7 @@ const te = N({
|
|
28
28
|
// disableKeys: Boolean,
|
29
29
|
id: String,
|
30
30
|
submenu: Boolean,
|
31
|
-
|
31
|
+
...W(U({
|
32
32
|
closeDelay: 250,
|
33
33
|
closeOnContentClick: !0,
|
34
34
|
locationStrategy: "connected",
|
@@ -50,12 +50,12 @@ const te = N({
|
|
50
50
|
let {
|
51
51
|
slots: i
|
52
52
|
} = c;
|
53
|
-
const n =
|
53
|
+
const n = Y(t, "modelValue"), {
|
54
54
|
scopeId: k
|
55
55
|
} = D(), {
|
56
56
|
isRtl: d
|
57
|
-
} =
|
58
|
-
|
57
|
+
} = _(), v = j(), E = L(() => t.id || `v-menu-${v}`), s = G(), a = B(p, null), m = z(/* @__PURE__ */ new Set());
|
58
|
+
$(p, {
|
59
59
|
register() {
|
60
60
|
m.value.add(v);
|
61
61
|
},
|
@@ -65,21 +65,21 @@ const te = N({
|
|
65
65
|
closeParents(e) {
|
66
66
|
setTimeout(() => {
|
67
67
|
var o;
|
68
|
-
!m.value.size && !t.persistent && (e == null || (o = s.value) != null && o.contentEl && !
|
68
|
+
!m.value.size && !t.persistent && (e == null || (o = s.value) != null && o.contentEl && !q(e, s.value.contentEl)) && (n.value = !1, a == null || a.closeParents());
|
69
69
|
}, 40);
|
70
70
|
}
|
71
|
-
}),
|
71
|
+
}), F(() => {
|
72
72
|
a == null || a.unregister(), document.removeEventListener("focusin", y);
|
73
|
-
}),
|
73
|
+
}), H(() => n.value = !1);
|
74
74
|
async function y(e) {
|
75
75
|
var r, u, f;
|
76
76
|
const o = e.relatedTarget, l = e.target;
|
77
|
-
await
|
77
|
+
await J(), n.value && o !== l && ((r = s.value) != null && r.contentEl) && // We're the topmost menu
|
78
78
|
((u = s.value) != null && u.globalTop) && // It isn't the document or the menu body
|
79
79
|
![document, s.value.contentEl].includes(l) && // It isn't inside the menu body
|
80
80
|
!s.value.contentEl.contains(l) && ((f = S(s.value.contentEl)[0]) == null || f.focus());
|
81
81
|
}
|
82
|
-
|
82
|
+
Q(n, (e) => {
|
83
83
|
e ? (a == null || a.register(), T && document.addEventListener("focusin", y, {
|
84
84
|
once: !0
|
85
85
|
})) : (a == null || a.unregister(), T && document.removeEventListener("focusin", y));
|
@@ -94,7 +94,7 @@ const te = N({
|
|
94
94
|
if (!t.disabled)
|
95
95
|
if (e.key === "Tab" || e.key === "Enter" && !t.closeOnContentClick) {
|
96
96
|
if (e.key === "Enter" && (e.target instanceof HTMLTextAreaElement || e.target instanceof HTMLInputElement && e.target.closest("form"))) return;
|
97
|
-
e.key === "Enter" && e.preventDefault(),
|
97
|
+
e.key === "Enter" && e.preventDefault(), Z(S((o = s.value) == null ? void 0 : o.contentEl, !1), e.shiftKey ? "prev" : "next", (R) => R.tabIndex >= 0) || (n.value = !1, (r = (l = s.value) == null ? void 0 : l.activatorEl) == null || r.focus());
|
98
98
|
} else t.submenu && e.key === (d.value ? "ArrowRight" : "ArrowLeft") && (n.value = !1, (f = (u = s.value) == null ? void 0 : u.activatorEl) == null || f.focus());
|
99
99
|
}
|
100
100
|
function w(e) {
|
@@ -103,15 +103,15 @@ const te = N({
|
|
103
103
|
const o = (l = s.value) == null ? void 0 : l.contentEl;
|
104
104
|
o && n.value ? e.key === "ArrowDown" ? (e.preventDefault(), e.stopImmediatePropagation(), g(o, "next")) : e.key === "ArrowUp" ? (e.preventDefault(), e.stopImmediatePropagation(), g(o, "prev")) : t.submenu && (e.key === (d.value ? "ArrowRight" : "ArrowLeft") ? n.value = !1 : e.key === (d.value ? "ArrowLeft" : "ArrowRight") && (e.preventDefault(), g(o, "first"))) : (t.submenu ? e.key === (d.value ? "ArrowLeft" : "ArrowRight") : ["ArrowDown", "ArrowUp"].includes(e.key)) && (n.value = !0, e.preventDefault(), setTimeout(() => setTimeout(() => w(e))));
|
105
105
|
}
|
106
|
-
const
|
106
|
+
const C = L(() => V({
|
107
107
|
"aria-haspopup": "menu",
|
108
108
|
"aria-expanded": String(n.value),
|
109
109
|
"aria-controls": E.value,
|
110
110
|
onKeydown: w
|
111
111
|
}, t.activatorProps));
|
112
112
|
return M(() => {
|
113
|
-
const e =
|
114
|
-
return
|
113
|
+
const e = h.filterProps(t);
|
114
|
+
return b(h, V({
|
115
115
|
ref: s,
|
116
116
|
id: E.value,
|
117
117
|
class: ["v-menu", t.class],
|
@@ -120,7 +120,7 @@ const te = N({
|
|
120
120
|
modelValue: n.value,
|
121
121
|
"onUpdate:modelValue": (o) => n.value = o,
|
122
122
|
absolute: !0,
|
123
|
-
activatorProps:
|
123
|
+
activatorProps: C.value,
|
124
124
|
location: t.location ?? (t.submenu ? "end" : "bottom"),
|
125
125
|
"onClick:outside": A,
|
126
126
|
onKeydown: O
|
@@ -129,7 +129,7 @@ const te = N({
|
|
129
129
|
default: function() {
|
130
130
|
for (var o = arguments.length, l = new Array(o), r = 0; r < o; r++)
|
131
131
|
l[r] = arguments[r];
|
132
|
-
return
|
132
|
+
return b(ee, {
|
133
133
|
root: "VMenu"
|
134
134
|
}, {
|
135
135
|
default: () => {
|
@@ -145,8 +145,8 @@ const te = N({
|
|
145
145
|
}, s);
|
146
146
|
}
|
147
147
|
});
|
148
|
-
|
148
|
+
x("css/revolugo.vmenu.DvKwEp1j.css");
|
149
149
|
export {
|
150
150
|
re as V
|
151
151
|
};
|
152
|
-
//# sourceMappingURL=revolugo.vmenu.
|
152
|
+
//# sourceMappingURL=revolugo.vmenu.DhHohFn7.min.js.map
|