@revolugo/elements 6.8.2-beta.36 → 6.8.2-beta.37
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.hotelroomofferlist.E-On0KSt.css → revolugo.hotelroomofferlist.-6YLPyqb.css} +1 -1
- package/dist/{revolugo._baseiteratee.DqpAWb6T.min.js → revolugo._baseiteratee.C6vg5Xtv.min.js} +2 -2
- package/dist/{revolugo.banktransferdetails.HIONuL-w.min.js → revolugo.banktransferdetails.H7LEH4sY.min.js} +9 -9
- package/dist/{revolugo.bdaterangepicker.CYqs79KF.min.js → revolugo.bdaterangepicker.BPJGfRLE.min.js} +5 -5
- package/dist/{revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.C2bQrTH9.min.js → revolugo.bformattedamount.vue_vue_type_script_setup_true_lang.DkaYvlro.min.js} +30 -32
- package/dist/{revolugo.bhoteloffersfilterbar.C99qFZXQ.min.js → revolugo.bhoteloffersfilterbar.CJMk-z92.min.js} +36 -36
- package/dist/{revolugo.bhotelroomsdetails.BspNbZ48.min.js → revolugo.bhotelroomsdetails.DiOyi4BS.min.js} +7 -7
- package/dist/{revolugo.bimagecarousel.Csl8A8eS.min.js → revolugo.bimagecarousel.Jndf1DxF.min.js} +8 -8
- package/dist/{revolugo.bookingdetailssidebar.DGJW157-.min.js → revolugo.bookingdetailssidebar.Bo3y9bdL.min.js} +11 -11
- package/dist/{revolugo.bookingdetailssidebar.CpDzjKTp.min.js → revolugo.bookingdetailssidebar.U_oxhr7p.min.js} +4 -4
- package/dist/{revolugo.bookingmanager.kjJFCsaj.min.js → revolugo.bookingmanager.B0UvZtpR.min.js} +20 -20
- package/dist/{revolugo.bpricesummaryskeleton.8c6X82Hn.min.js → revolugo.bpricesummaryskeleton.BfRhJn0l.min.js} +4 -4
- package/dist/{revolugo.bstarrating.vue_vue_type_script_setup_true_lang.KQ12c6Ip.min.js → revolugo.bstarrating.vue_vue_type_script_setup_true_lang.BMyuUV-t.min.js} +8 -8
- package/dist/{revolugo.btag.BE3Ri1CO.min.js → revolugo.btag.BtWu_rm9.min.js} +12 -12
- package/dist/{revolugo.cancellationpoliciesbadge.W8Gvstjs.min.js → revolugo.cancellationpoliciesbadge.D9R_tqyL.min.js} +4 -4
- package/dist/{revolugo.cancellationpoliciesbadge.mxkumI4i.min.js → revolugo.cancellationpoliciesbadge.xdqO7vwM.min.js} +9 -9
- package/dist/{revolugo.cancellationpolicieslist.DEiFUBfm.min.js → revolugo.cancellationpolicieslist.CHrqbou4.min.js} +3 -3
- package/dist/{revolugo.cancellationpolicieslist.EqDKfH1M.min.js → revolugo.cancellationpolicieslist.DDTdkJS9.min.js} +4 -4
- package/dist/{revolugo.case-transformers.BZKgm7X9.min.js → revolugo.case-transformers.JX35Ctwc.min.js} +5 -5
- package/dist/{revolugo.creditcardform.D84lJYLN.min.js → revolugo.creditcardform.BRMaxTF2.min.js} +4 -4
- package/dist/{revolugo.creditcardform.Dv8WVVQs.min.js → revolugo.creditcardform.CNvvsO76.min.js} +11 -11
- package/dist/{revolugo.creditcardpayment.BcHJkQmY.min.js → revolugo.creditcardpayment.CD1id-ox.min.js} +16 -16
- package/dist/{revolugo.creditcardpayment.BQEG147C.min.js → revolugo.creditcardpayment.CGQgnIJO.min.js} +4 -4
- package/dist/{revolugo.currencypicker.DEJ2kZKc.min.js → revolugo.currencypicker.D4jr-wmu.min.js} +15 -15
- package/dist/{revolugo.currencypickerbtn.BO15T4Og.min.js → revolugo.currencypickerbtn.CiemMUrd.min.js} +4 -4
- package/dist/{revolugo.currencypickerbtn.1V06vG7i.min.js → revolugo.currencypickerbtn.CjXS-VS9.min.js} +9 -9
- package/dist/{revolugo.dates.DQToc-Zu.min.js → revolugo.dates.CfHVQJZQ.min.js} +2 -2
- package/dist/{revolugo.defaultsdeep.D6A9dZfK.min.js → revolugo.defaultsdeep.BFuLbavJ.min.js} +4 -4
- package/dist/{revolugo.dialog-attach.8RGGMLvt.min.js → revolugo.dialog-attach.B1z6IjeU.min.js} +2 -2
- package/dist/{revolugo.dialog-transition.CK9FmR7q.min.js → revolugo.dialog-transition.DEB0UcAq.min.js} +3 -3
- package/dist/{revolugo.fastbookingflow.mx9nZ44p.min.js → revolugo.fastbookingflow.BlYRQu8S.min.js} +4 -4
- package/dist/{revolugo.fullbookingflow.ByWT9-fz.min.js → revolugo.fullbookingflow.BsvtYDQs.min.js} +17 -17
- package/dist/{revolugo.hotel-offer-request.AQUc7QpR.min.js → revolugo.hotel-offer-request.BJjEmgJS.min.js} +2 -2
- package/dist/{revolugo.hoteldescriptionview.DjCj4aYP.min.js → revolugo.hoteldescriptionview.BwT_tjpi.min.js} +21 -21
- package/dist/{revolugo.hoteldescriptionview.DCr66NFf.min.js → revolugo.hoteldescriptionview.Dh1vPEb7.min.js} +4 -4
- package/dist/{revolugo.hotelofferitemlayout.DSbBWikv.min.js → revolugo.hotelofferitemlayout.BQwaUVxn.min.js} +6 -6
- package/dist/{revolugo.hotelofferlist.BpQDR4Wh.min.js → revolugo.hotelofferlist.-HbLhJJJ.min.js} +4 -4
- package/dist/{revolugo.hotelofferlist.Cj2C7Zi4.min.js → revolugo.hotelofferlist.C2aw5gqv.min.js} +23 -23
- package/dist/{revolugo.hoteloffersearchmenu.DIMPtwG2.min.js → revolugo.hoteloffersearchmenu.C8tUR0rh.min.js} +6 -6
- package/dist/{revolugo.hoteloffersearchmenuui.BblFbDpa.min.js → revolugo.hoteloffersearchmenuui.D8bL25qH.min.js} +17 -17
- package/dist/{revolugo.hoteloffersmap.4IJuz8Kr.min.js → revolugo.hoteloffersmap.B-82vQ90.min.js} +4 -4
- package/dist/{revolugo.hoteloffersmap.DLxrzp7A.min.js → revolugo.hoteloffersmap.D-0XTKIB.min.js} +13 -13
- package/dist/{revolugo.hoteloffersview.DMDKMCye.min.js → revolugo.hoteloffersview.CBLJBWhI.min.js} +16 -16
- package/dist/{revolugo.hoteloffersview.BsL_RfVC.min.js → revolugo.hoteloffersview.DP4zWXUp.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.CrMiA0E5.min.js → revolugo.hotelroomofferlist.B-N3Yatc.min.js} +4 -4
- package/dist/{revolugo.hotelroomofferlist.CqoX8wAD.min.js → revolugo.hotelroomofferlist.BF-qbcqV.min.js} +618 -608
- package/dist/{revolugo.hotelroomofferrequestcreator.props.CV1b3F15.min.js → revolugo.hotelroomofferrequestcreator.props.C9n8tnQ_.min.js} +2 -2
- package/dist/{revolugo.hotelroomoffersbookingflow.EoUemNqv.min.js → revolugo.hotelroomoffersbookingflow.i6mCMfXW.min.js} +17 -17
- package/dist/{revolugo.hotelroomoffersearchmenu.Dj7xOa4W.min.js → revolugo.hotelroomoffersearchmenu.-URm_0I4.min.js} +8 -8
- package/dist/{revolugo.hotelroomoffersearchmenu.ngvURW1c.min.js → revolugo.hotelroomoffersearchmenu.TxYw_6Uz.min.js} +5 -5
- package/dist/{revolugo.hotelroomoffersview.DRv2agnW.min.js → revolugo.hotelroomoffersview.BS6remQd.min.js} +12 -12
- package/dist/{revolugo.hotelroomoffersview.CwyVwZR_.min.js → revolugo.hotelroomoffersview.D-2mHgLa.min.js} +4 -4
- package/dist/{revolugo.index.qisZC-QI.min.js → revolugo.index.D2vVqIxQ.min.js} +58 -58
- package/dist/{revolugo.index.DDAUBYBh.min.js → revolugo.index.D3HI0RIL.min.js} +6 -6
- package/dist/{revolugo.index.wc.BzjxKm9K.min.js → revolugo.index.wc.BCHUnn0S.min.js} +3423 -3404
- package/dist/{revolugo.langpicker.C-S6u3-u.min.js → revolugo.langpicker.RjMD9g48.min.js} +11 -11
- package/dist/{revolugo.langpickerbtn.D3uECmJK.min.js → revolugo.langpickerbtn.C5EJBJJy.min.js} +4 -4
- package/dist/{revolugo.langpickerbtn.D9CD4Bj3.min.js → revolugo.langpickerbtn.DfDHvsIb.min.js} +10 -10
- package/dist/revolugo.min.js +1 -1
- package/dist/{revolugo.pathify.CIND4Lom.min.js → revolugo.pathify.DDRySNIK.min.js} +2 -2
- package/dist/{revolugo.prebookform.aGjJhr1R.min.js → revolugo.prebookform.BFaGy58W.min.js} +4 -4
- package/dist/{revolugo.prebookform.rbCZlvHH.min.js → revolugo.prebookform.zGRnI6WN.min.js} +18 -18
- package/dist/{revolugo.roominglisteditor.Ccuu1hR2.min.js → revolugo.roominglisteditor.WhNt-v3N.min.js} +9 -9
- package/dist/{revolugo.roominglisteditor.B6-iMCHL.min.js → revolugo.roominglisteditor.k7m3-x1Q.min.js} +4 -4
- package/dist/{revolugo.rounded.4lPQ9kFX.min.js → revolugo.rounded.gvdnWJcm.min.js} +2 -2
- package/dist/{revolugo.ssrboot.DHJaJ8JS.min.js → revolugo.ssrboot.xiFRvjRz.min.js} +2 -2
- package/dist/{revolugo.storybooktoolbar.BQCF7Nnh.min.js → revolugo.storybooktoolbar.DxaSeYYh.min.js} +23 -23
- package/dist/{revolugo.termsandconditions.CQXI2fBL.min.js → revolugo.termsandconditions.BqdxzKLe.min.js} +4 -4
- package/dist/{revolugo.termsandconditions.D0ZQsUY6.min.js → revolugo.termsandconditions.C7nXe72Y.min.js} +4 -4
- package/dist/{revolugo.use-breakpoint-service.C-hjHtUg.min.js → revolugo.use-breakpoint-service.DCvVngRD.min.js} +7 -7
- package/dist/{revolugo.use-dialog-attach.Czzi-3RI.min.js → revolugo.use-dialog-attach.VoSI1cTA.min.js} +3 -3
- package/dist/revolugo.use-html-element.BA6pPTeH.min.js +11 -0
- package/dist/{revolugo.vautocomplete.CurwGarB.min.js → revolugo.vautocomplete.X7PltObE.min.js} +58 -58
- package/dist/{revolugo.vbadge.CAoYMMWm.min.js → revolugo.vbadge.BZou4sR-.min.js} +12 -12
- package/dist/{revolugo.vbtn.CsZeeN8o.min.js → revolugo.vbtn.CvXud-id.min.js} +6 -6
- package/dist/{revolugo.vcard._oiwzPZq.min.js → revolugo.vcard.tpBOwKjl.min.js} +6 -6
- package/dist/{revolugo.vcheckboxbtn.DtbO_191.min.js → revolugo.vcheckboxbtn.D8JwiBIN.min.js} +34 -34
- package/dist/{revolugo.vdialog.B8w3JtNs.min.js → revolugo.vdialog.C7o9NZPt.min.js} +9 -9
- package/dist/{revolugo.vdivider.BMaXASD1.min.js → revolugo.vdivider.vE5KQvv6.min.js} +3 -3
- package/dist/{revolugo.vexpansionpanels.tj0xf8uQ.min.js → revolugo.vexpansionpanels.CVMNz4gm.min.js} +6 -6
- package/dist/{revolugo.vform.CK0ZMifM.min.js → revolugo.vform.AJwBPUfz.min.js} +4 -4
- package/dist/{revolugo.vicon.ChjALOWz.min.js → revolugo.vicon.D1UDvrDb.min.js} +18 -18
- package/dist/{revolugo.vinput.Be9TwErW.min.js → revolugo.vinput.BCAbaTZh.min.js} +30 -30
- package/dist/{revolugo.vlabel.kUTWOnRf.min.js → revolugo.vlabel.Ca0XsFXf.min.js} +3 -3
- package/dist/{revolugo.vlist.CwdXG8X4.min.js → revolugo.vlist.DXlrNpl6.min.js} +36 -36
- package/dist/{revolugo.vmenu.Do9o54LY.min.js → revolugo.vmenu.BWJdX_gM.min.js} +23 -23
- package/dist/{revolugo.vselect.FSeFjW01.min.js → revolugo.vselect.DoahtCZB.min.js} +47 -47
- package/dist/{revolugo.vsheet.RQ8g0IIb.min.js → revolugo.vsheet.CNjDcqfr.min.js} +5 -5
- package/dist/{revolugo.vskeletonloader.BTBm47P-.min.js → revolugo.vskeletonloader.hCB6BK0m.min.js} +4 -4
- package/dist/{revolugo.vslidegroup.CxPt62zw.min.js → revolugo.vslidegroup.CqlKNKTO.min.js} +31 -31
- package/dist/{revolugo.vsnackbar.DKhErJRq.min.js → revolugo.vsnackbar.DeLxyEmM.min.js} +5 -5
- package/dist/revolugo.vspacer.YBuVsKID.min.js +7 -0
- package/dist/{revolugo.vtextarea.D8AZqjfK.min.js → revolugo.vtextarea.DuihgsVu.min.js} +8 -8
- package/dist/{revolugo.vtextfield.CGEo7_cB.min.js → revolugo.vtextfield.Cu-Wacu0.min.js} +18 -18
- package/dist/{revolugo.vtoolbar.DXfaICLs.min.js → revolugo.vtoolbar.JtNZmNMv.min.js} +5 -5
- package/dist/{revolugo.vtooltip.DzcL8CbM.min.js → revolugo.vtooltip.Bi9BBHp7.min.js} +3 -3
- package/dist/{revolugo.vwindowitem.C3s82jNI.min.js → revolugo.vwindowitem.-4FOKaJh.min.js} +13 -13
- package/dist/{revolugo.watch-list.DrNheBPf.min.js → revolugo.watch-list.gkXzTKi-.min.js} +2 -2
- package/dist/{revolugo.webcomponentwrapper.XqvBRD6a.min.js → revolugo.webcomponentwrapper.CaLpHd-8.min.js} +141 -141
- package/package.json +1 -1
- package/dist/revolugo.use-html-element.D6v1nK-L.min.js +0 -11
- package/dist/revolugo.vspacer.D8mMBxcQ.min.js +0 -7
package/dist/{revolugo.vautocomplete.CurwGarB.min.js → revolugo.vautocomplete.X7PltObE.min.js}
RENAMED
@@ -1,15 +1,15 @@
|
|
1
|
-
import { u as ke, m as
|
2
|
-
import { c as
|
3
|
-
import { d as Ce, u as Ee, p as xe } from "./revolugo.webcomponentwrapper.
|
4
|
-
import { a2 as ae, a9 as _, H as V, p as U, ac as Me, a7 as Q, aZ as Ie, a1 as _e, ag as Le, k as j, a6 as $, O as B, aa as
|
5
|
-
import { b as Ke } from "./revolugo.vinput.
|
1
|
+
import { u as ke, m as we, a as Fe } from "./revolugo.vselect.DoahtCZB.min.js";
|
2
|
+
import { c as be, V as J } from "./revolugo.vtextfield.Cu-Wacu0.min.js";
|
3
|
+
import { d as Ce, u as Ee, p as xe } from "./revolugo.webcomponentwrapper.CaLpHd-8.min.js";
|
4
|
+
import { a2 as ae, a9 as _, H as V, p as U, ac as Me, a7 as Q, aZ as Ie, a1 as _e, ag as Le, k as j, a6 as $, O as B, aa as Oe, a as c, D as O, bZ as X, b_ as q, b$ as Ae, W as ee, bC as Pe, F as G, c0 as Re, c1 as Te, f as De } from "./revolugo.index.wc.BCHUnn0S.min.js";
|
5
|
+
import { b as Ke } from "./revolugo.vinput.BCAbaTZh.min.js";
|
6
6
|
import { f as Ne } from "./revolugo.forwardrefs.VVhh1qV3.min.js";
|
7
|
-
import { u as Ue, a as je, V as te } from "./revolugo.vlist.
|
8
|
-
import { V as le } from "./revolugo.vicon.
|
9
|
-
import { V as Be } from "./revolugo.vmenu.
|
10
|
-
import { a as
|
11
|
-
import { h as
|
12
|
-
import { V as He } from "./revolugo.btag.
|
7
|
+
import { u as Ue, a as je, V as te } from "./revolugo.vlist.DXlrNpl6.min.js";
|
8
|
+
import { V as le } from "./revolugo.vicon.D1UDvrDb.min.js";
|
9
|
+
import { V as Be } from "./revolugo.vmenu.BWJdX_gM.min.js";
|
10
|
+
import { a as Ge } from "./revolugo.vcheckboxbtn.D8JwiBIN.min.js";
|
11
|
+
import { h as Ye, a as ze } from "./revolugo.index.D2vVqIxQ.min.js";
|
12
|
+
import { V as He } from "./revolugo.btag.BtWu_rm9.min.js";
|
13
13
|
function Se(e) {
|
14
14
|
try {
|
15
15
|
if (typeof document < "u") {
|
@@ -44,28 +44,28 @@ function $e(e, s, l) {
|
|
44
44
|
const p = [], d = l?.default ?? We, m = l?.filterKeys ? Q(l.filterKeys) : !1, g = Object.keys(l?.customKeyFilter ?? {}).length;
|
45
45
|
if (!e?.length) return p;
|
46
46
|
e: for (let S = 0; S < e.length; S++) {
|
47
|
-
const [h,
|
47
|
+
const [h, b = h] = Q(e[S]), w = {}, i = {};
|
48
48
|
let n = -1;
|
49
49
|
if ((s || g > 0) && !l?.noFilter) {
|
50
50
|
if (typeof h == "object") {
|
51
|
-
const L = m || Object.keys(
|
51
|
+
const L = m || Object.keys(b);
|
52
52
|
for (const x of L) {
|
53
|
-
const M = Ie(
|
54
|
-
if (n =
|
55
|
-
|
53
|
+
const M = Ie(b, x), A = l?.customKeyFilter?.[x];
|
54
|
+
if (n = A ? A(M, s, h) : d(M, s, h), n !== -1 && n !== !1)
|
55
|
+
A ? w[x] = n : i[x] = n;
|
56
56
|
else if (l?.filterMode === "every")
|
57
57
|
continue e;
|
58
58
|
}
|
59
59
|
} else
|
60
60
|
n = d(h, s, h), n !== -1 && n !== !1 && (i.title = n);
|
61
|
-
const C = Object.keys(i).length, E = Object.keys(
|
61
|
+
const C = Object.keys(i).length, E = Object.keys(w).length;
|
62
62
|
if (!C && !E || l?.filterMode === "union" && E !== g && !C || l?.filterMode === "intersection" && (E !== g || !C)) continue;
|
63
63
|
}
|
64
64
|
p.push({
|
65
65
|
index: S,
|
66
66
|
matches: {
|
67
67
|
...i,
|
68
|
-
...
|
68
|
+
...w
|
69
69
|
}
|
70
70
|
});
|
71
71
|
}
|
@@ -74,7 +74,7 @@ function $e(e, s, l) {
|
|
74
74
|
function Qe(e, s, l, p) {
|
75
75
|
const d = _([]), m = _(/* @__PURE__ */ new Map()), g = V(() => U(s));
|
76
76
|
Me(() => {
|
77
|
-
const h = typeof l == "function" ? l() : U(l),
|
77
|
+
const h = typeof l == "function" ? l() : U(l), b = typeof h != "string" && typeof h != "number" ? "" : String(h), w = $e(g.value, b, {
|
78
78
|
customKeyFilter: {
|
79
79
|
...e.customKeyFilter,
|
80
80
|
...U(p?.customKeyFilter)
|
@@ -84,7 +84,7 @@ function Qe(e, s, l, p) {
|
|
84
84
|
filterMode: e.filterMode,
|
85
85
|
noFilter: e.noFilter
|
86
86
|
}), i = U(s), n = [], C = /* @__PURE__ */ new Map();
|
87
|
-
|
87
|
+
w.forEach((E) => {
|
88
88
|
let {
|
89
89
|
index: L,
|
90
90
|
matches: x
|
@@ -102,10 +102,10 @@ function Qe(e, s, l, p) {
|
|
102
102
|
getMatches: S
|
103
103
|
};
|
104
104
|
}
|
105
|
-
function
|
105
|
+
function Je(e, s, l) {
|
106
106
|
if (s == null) return e;
|
107
107
|
if (Array.isArray(s)) throw new Error("Multiple matches is not implemented");
|
108
|
-
return typeof s == "number" && ~s ? c(
|
108
|
+
return typeof s == "number" && ~s ? c(G, null, [c("span", {
|
109
109
|
class: "v-autocomplete__unmask"
|
110
110
|
}, [e.substr(0, s)]), c("span", {
|
111
111
|
class: "v-autocomplete__mask"
|
@@ -113,7 +113,7 @@ function Xe(e, s, l) {
|
|
113
113
|
class: "v-autocomplete__unmask"
|
114
114
|
}, [e.substr(s + l)])]) : e;
|
115
115
|
}
|
116
|
-
const
|
116
|
+
const Xe = ae({
|
117
117
|
autoSelectFirst: {
|
118
118
|
type: [Boolean, String]
|
119
119
|
},
|
@@ -122,8 +122,8 @@ const Je = ae({
|
|
122
122
|
...Ze({
|
123
123
|
filterKeys: ["title"]
|
124
124
|
}),
|
125
|
-
...
|
126
|
-
...
|
125
|
+
...we(),
|
126
|
+
...Oe(be({
|
127
127
|
modelValue: null,
|
128
128
|
role: "combobox"
|
129
129
|
}), ["validationValue", "dirty", "appendInnerIcon"]),
|
@@ -132,7 +132,7 @@ const Je = ae({
|
|
132
132
|
})
|
133
133
|
}, "VAutocomplete"), ft = _e()({
|
134
134
|
name: "VAutocomplete",
|
135
|
-
props:
|
135
|
+
props: Xe(),
|
136
136
|
emits: {
|
137
137
|
"update:focused": (e) => !0,
|
138
138
|
"update:search": (e) => !0,
|
@@ -145,25 +145,25 @@ const Je = ae({
|
|
145
145
|
} = s;
|
146
146
|
const {
|
147
147
|
t: p
|
148
|
-
} = Le(), d = j(), m = _(!1), g = _(!0), S = _(!1), h = j(),
|
149
|
-
get: () =>
|
148
|
+
} = Le(), d = j(), m = _(!1), g = _(!0), S = _(!1), h = j(), b = j(), w = $(e, "menu"), i = V({
|
149
|
+
get: () => w.value,
|
150
150
|
set: (t) => {
|
151
|
-
|
151
|
+
w.value && !t && h.value?.ΨopenChildren.size || (w.value = t);
|
152
152
|
}
|
153
153
|
}), n = _(-1), C = V(() => d.value?.color), E = V(() => i.value ? e.closeText : e.openText), {
|
154
154
|
items: L,
|
155
155
|
transformIn: x,
|
156
156
|
transformOut: M
|
157
157
|
} = Ue(e), {
|
158
|
-
textColorClasses:
|
158
|
+
textColorClasses: A,
|
159
159
|
textColorStyles: ne
|
160
160
|
} = Ce(C), v = $(e, "search", ""), u = $(e, "modelValue", [], (t) => x(t === null ? [null] : Q(t)), (t) => {
|
161
161
|
const r = M(t);
|
162
162
|
return e.multiple ? r : r[0] ?? null;
|
163
163
|
}), ue = V(() => typeof e.counterValue == "function" ? e.counterValue(u.value) : typeof e.counterValue == "number" ? e.counterValue : u.value.length), D = Ke(e), {
|
164
|
-
filteredItems:
|
164
|
+
filteredItems: Y,
|
165
165
|
getMatches: oe
|
166
|
-
} = Qe(e, L, () => g.value ? "" : v.value),
|
166
|
+
} = Qe(e, L, () => g.value ? "" : v.value), F = V(() => e.hideSelected ? Y.value.filter((t) => !u.value.some((r) => r.value === t.value)) : Y.value), K = V(() => !!(e.chips || l.chip)), P = V(() => K.value || !!l.selection), se = V(() => u.value.map((t) => t.props.value)), z = V(() => (e.autoSelectFirst === !0 || e.autoSelectFirst === "exact" && v.value === F.value[0]?.title) && F.value.length > 0 && !g.value && !S.value), H = V(() => e.hideNoData && !F.value.length || D.isReadonly.value || D.isDisabled.value), W = j(), ie = ke(W, d);
|
167
167
|
function re(t) {
|
168
168
|
e.openOnClear && (i.value = !0), v.value = "";
|
169
169
|
}
|
@@ -174,7 +174,7 @@ const Je = ae({
|
|
174
174
|
H.value || (m.value && (t.preventDefault(), t.stopPropagation()), i.value = !i.value);
|
175
175
|
}
|
176
176
|
function ve(t) {
|
177
|
-
t.key !== " " &&
|
177
|
+
t.key !== " " && X(t) && d.value?.focus();
|
178
178
|
}
|
179
179
|
function de(t) {
|
180
180
|
if (D.isReadonly.value) return;
|
@@ -183,8 +183,8 @@ const Je = ae({
|
|
183
183
|
let {
|
184
184
|
value: o
|
185
185
|
} = a;
|
186
|
-
return o ===
|
187
|
-
}) && I(
|
186
|
+
return o === F.value[0].value;
|
187
|
+
}) && I(F.value[0]), t.key === "ArrowDown" && z.value && W.value?.focus("next"), ["Backspace", "Delete"].includes(t.key)) {
|
188
188
|
if (!e.multiple && P.value && u.value.length > 0 && !v.value) return I(u.value[0], !1);
|
189
189
|
if (~n.value) {
|
190
190
|
t.preventDefault();
|
@@ -202,7 +202,7 @@ const Je = ae({
|
|
202
202
|
if (n.value < 0) return;
|
203
203
|
const a = n.value + 1;
|
204
204
|
u.value[a] ? n.value = a : (n.value = -1, d.value.setSelectionRange(0, 0));
|
205
|
-
} else ~n.value &&
|
205
|
+
} else ~n.value && X(t) && (n.value = -1);
|
206
206
|
}
|
207
207
|
function me(t) {
|
208
208
|
if (q(d.value, ":autofill") || q(d.value, ":-webkit-autofill")) {
|
@@ -211,7 +211,7 @@ const Je = ae({
|
|
211
211
|
}
|
212
212
|
}
|
213
213
|
function he() {
|
214
|
-
e.eager &&
|
214
|
+
e.eager && b.value?.calculateVisibleItems();
|
215
215
|
}
|
216
216
|
function pe() {
|
217
217
|
m.value && (g.value = !0, d.value?.focus());
|
@@ -232,7 +232,7 @@ const Je = ae({
|
|
232
232
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
233
233
|
if (!(!t || t.props.disabled))
|
234
234
|
if (e.multiple) {
|
235
|
-
const f = u.value.findIndex((o) => (e.valueComparator ||
|
235
|
+
const f = u.value.findIndex((o) => (e.valueComparator || Ae)(o.value, t.value)), a = r ?? !~f;
|
236
236
|
if (~f) {
|
237
237
|
const o = a ? [...u.value, t] : [...u.value];
|
238
238
|
o.splice(f, 1), u.value = o;
|
@@ -256,16 +256,16 @@ const Je = ae({
|
|
256
256
|
!m.value || Z.value || (t && (i.value = !0), g.value = !t);
|
257
257
|
}), B(i, () => {
|
258
258
|
if (!e.hideSelected && i.value && u.value.length) {
|
259
|
-
const t =
|
259
|
+
const t = F.value.findIndex((r) => u.value.some((f) => r.value === f.value));
|
260
260
|
Pe && window.requestAnimationFrame(() => {
|
261
|
-
t >= 0 &&
|
261
|
+
t >= 0 && b.value?.scrollToIndex(t);
|
262
262
|
});
|
263
263
|
}
|
264
264
|
}), B(() => e.items, (t, r) => {
|
265
265
|
i.value || m.value && !r.length && t.length && (i.value = !0);
|
266
266
|
}), Ee(() => {
|
267
|
-
const t = !!(!e.hideNoData ||
|
268
|
-
return c(
|
267
|
+
const t = !!(!e.hideNoData || F.value.length || l["prepend-item"] || l["append-item"] || l["no-data"]), r = u.value.length > 0, f = J.filterProps(e);
|
268
|
+
return c(J, O({
|
269
269
|
ref: d
|
270
270
|
}, f, {
|
271
271
|
modelValue: v.value,
|
@@ -290,7 +290,7 @@ const Je = ae({
|
|
290
290
|
onKeydown: de
|
291
291
|
}), {
|
292
292
|
...l,
|
293
|
-
default: () => c(
|
293
|
+
default: () => c(G, null, [c(Be, O({
|
294
294
|
ref: h,
|
295
295
|
modelValue: i.value,
|
296
296
|
"onUpdate:modelValue": (a) => i.value = a,
|
@@ -305,7 +305,7 @@ const Je = ae({
|
|
305
305
|
onAfterEnter: he,
|
306
306
|
onAfterLeave: pe
|
307
307
|
}, e.menuProps), {
|
308
|
-
default: () => [t && c(je,
|
308
|
+
default: () => [t && c(je, O({
|
309
309
|
ref: W,
|
310
310
|
selected: se.value,
|
311
311
|
selectStrategy: e.multiple ? "independent" : "single-independent",
|
@@ -317,13 +317,13 @@ const Je = ae({
|
|
317
317
|
"aria-live": "polite",
|
318
318
|
color: e.itemColor ?? e.color
|
319
319
|
}, ie, e.listProps), {
|
320
|
-
default: () => [l["prepend-item"]?.(), !
|
320
|
+
default: () => [l["prepend-item"]?.(), !F.value.length && !e.hideNoData && (l["no-data"]?.() ?? c(te, {
|
321
321
|
key: "no-data",
|
322
322
|
title: p(e.noDataText)
|
323
|
-
}, null)), c(
|
324
|
-
ref:
|
323
|
+
}, null)), c(Fe, {
|
324
|
+
ref: b,
|
325
325
|
renderless: !0,
|
326
|
-
items:
|
326
|
+
items: F.value
|
327
327
|
}, {
|
328
328
|
default: (a) => {
|
329
329
|
let {
|
@@ -331,7 +331,7 @@ const Je = ae({
|
|
331
331
|
index: k,
|
332
332
|
itemRef: N
|
333
333
|
} = a;
|
334
|
-
const R =
|
334
|
+
const R = O(o.props, {
|
335
335
|
ref: N,
|
336
336
|
key: o.value,
|
337
337
|
active: z.value && k === 0 ? !0 : void 0,
|
@@ -341,25 +341,25 @@ const Je = ae({
|
|
341
341
|
item: o,
|
342
342
|
index: k,
|
343
343
|
props: R
|
344
|
-
}) ?? c(te,
|
344
|
+
}) ?? c(te, O(R, {
|
345
345
|
role: "option"
|
346
346
|
}), {
|
347
347
|
prepend: (T) => {
|
348
348
|
let {
|
349
349
|
isSelected: y
|
350
350
|
} = T;
|
351
|
-
return c(
|
351
|
+
return c(G, null, [e.multiple && !e.hideSelected ? c(Ge, {
|
352
352
|
key: o.value,
|
353
353
|
modelValue: y,
|
354
354
|
ripple: !1,
|
355
355
|
tabindex: "-1"
|
356
|
-
}, null) : void 0, o.props.prependAvatar && c(
|
356
|
+
}, null) : void 0, o.props.prependAvatar && c(Ye, {
|
357
357
|
image: o.props.prependAvatar
|
358
358
|
}, null), o.props.prependIcon && c(le, {
|
359
359
|
icon: o.props.prependIcon
|
360
360
|
}, null)]);
|
361
361
|
},
|
362
|
-
title: () => g.value ? o.title :
|
362
|
+
title: () => g.value ? o.title : Je(o.title, oe(o)?.title, v.value?.length ?? 0)
|
363
363
|
});
|
364
364
|
}
|
365
365
|
}), l["append-item"]?.()]
|
@@ -389,7 +389,7 @@ const Je = ae({
|
|
389
389
|
if (!(R && !T))
|
390
390
|
return c("div", {
|
391
391
|
key: a.value,
|
392
|
-
class: ["v-autocomplete__selection", o === n.value && ["v-autocomplete__selection--selected",
|
392
|
+
class: ["v-autocomplete__selection", o === n.value && ["v-autocomplete__selection--selected", A.value]],
|
393
393
|
style: o === n.value ? ne.value : {}
|
394
394
|
}, [K.value ? l.chip ? c(ze, {
|
395
395
|
key: "chip-defaults",
|
@@ -402,7 +402,7 @@ const Je = ae({
|
|
402
402
|
}
|
403
403
|
}, {
|
404
404
|
default: () => [T]
|
405
|
-
}) : c(He,
|
405
|
+
}) : c(He, O({
|
406
406
|
key: "chip",
|
407
407
|
closable: e.closableChips,
|
408
408
|
size: "small",
|
@@ -417,7 +417,7 @@ const Je = ae({
|
|
417
417
|
"append-inner": function() {
|
418
418
|
for (var a = arguments.length, o = new Array(a), k = 0; k < a; k++)
|
419
419
|
o[k] = arguments[k];
|
420
|
-
return c(
|
420
|
+
return c(G, null, [l["append-inner"]?.(...o), e.menuIcon ? c(le, {
|
421
421
|
class: "v-autocomplete__menu-icon",
|
422
422
|
icon: e.menuIcon,
|
423
423
|
onMousedown: fe,
|
@@ -433,7 +433,7 @@ const Je = ae({
|
|
433
433
|
isPristine: g,
|
434
434
|
menu: i,
|
435
435
|
search: v,
|
436
|
-
filteredItems:
|
436
|
+
filteredItems: Y,
|
437
437
|
select: I
|
438
438
|
}, d);
|
439
439
|
}
|
@@ -442,4 +442,4 @@ Se("css/revolugo.vautocomplete.CuVjyvcC.css");
|
|
442
442
|
export {
|
443
443
|
ft as V
|
444
444
|
};
|
445
|
-
//# sourceMappingURL=revolugo.vautocomplete.
|
445
|
+
//# sourceMappingURL=revolugo.vautocomplete.X7PltObE.min.js.map
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { a1 as E, a2 as h, af as i, ag as y,
|
2
|
-
import { b as _, d as
|
3
|
-
import { l as M, p as Y } from "./revolugo.index.
|
4
|
-
import { b as U, a as G } from "./revolugo.rounded.
|
5
|
-
import { V as I } from "./revolugo.vicon.
|
1
|
+
import { a1 as E, a2 as h, af as i, ag as y, bQ as C, bR as L, a as s, D as r, aM as N, a3 as V, J as T, K as k } from "./revolugo.index.wc.BCHUnn0S.min.js";
|
2
|
+
import { b as _, d as x, u as B, p as O, e as R, m as w, M as P } from "./revolugo.webcomponentwrapper.CaLpHd-8.min.js";
|
3
|
+
import { l as M, p as Y } from "./revolugo.index.D2vVqIxQ.min.js";
|
4
|
+
import { b as U, a as G } from "./revolugo.rounded.gvdnWJcm.min.js";
|
5
|
+
import { V as I } from "./revolugo.vicon.D1UDvrDb.min.js";
|
6
6
|
function S(e) {
|
7
7
|
try {
|
8
8
|
if (typeof document < "u") {
|
@@ -43,14 +43,14 @@ const A = h({
|
|
43
43
|
offsetX: [Number, String],
|
44
44
|
offsetY: [Number, String],
|
45
45
|
textColor: String,
|
46
|
-
...
|
46
|
+
...w(),
|
47
47
|
...Y({
|
48
48
|
location: "top end"
|
49
49
|
}),
|
50
50
|
...G(),
|
51
|
-
...
|
51
|
+
...R(),
|
52
52
|
...N(),
|
53
|
-
...
|
53
|
+
...O({
|
54
54
|
transition: "scale-rotate-transition"
|
55
55
|
})
|
56
56
|
}, "VBadge"), F = E()({
|
@@ -68,12 +68,12 @@ const A = h({
|
|
68
68
|
} = y(), {
|
69
69
|
textColorClasses: u,
|
70
70
|
textColorStyles: m
|
71
|
-
} =
|
71
|
+
} = x(i(e, "textColor")), {
|
72
72
|
themeClasses: f
|
73
73
|
} = C(), {
|
74
74
|
locationStyles: g
|
75
75
|
} = M(e, !0, (a) => (e.floating ? e.dot ? 2 : 4 : e.dot ? 8 : 12) + (["top", "bottom"].includes(a) ? Number(e.offsetY ?? 0) : ["left", "right"].includes(a) ? Number(e.offsetX ?? 0) : 0));
|
76
|
-
return
|
76
|
+
return B(() => {
|
77
77
|
const a = Number(e.content), l = !e.max || isNaN(a) ? e.content : a <= Number(e.max) ? a : `${e.max}+`, [b, v] = L(t.attrs, ["aria-atomic", "aria-label", "aria-live", "role", "title"]);
|
78
78
|
return s(e.tag, r({
|
79
79
|
class: ["v-badge", {
|
@@ -87,7 +87,7 @@ const A = h({
|
|
87
87
|
}), {
|
88
88
|
default: () => [s("div", {
|
89
89
|
class: "v-badge__wrapper"
|
90
|
-
}, [t.slots.default?.(), s(
|
90
|
+
}, [t.slots.default?.(), s(P, {
|
91
91
|
transition: e.transition
|
92
92
|
}, {
|
93
93
|
default: () => [T(s("span", r({
|
@@ -109,4 +109,4 @@ S("css/revolugo.vbadge.C45eZpxy.css");
|
|
109
109
|
export {
|
110
110
|
F as V
|
111
111
|
};
|
112
|
-
//# sourceMappingURL=revolugo.vbadge.
|
112
|
+
//# sourceMappingURL=revolugo.vbadge.BZou4sR-.min.js.map
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { c as K, u as j, b as F, a as Y, m as $, d as J } from "./revolugo.rounded.
|
2
|
-
import { u as S, e as R, m as N, d as z, w as ie, n as re, A as ue, D as ce, o as de } from "./revolugo.webcomponentwrapper.
|
3
|
-
import { a1 as V, a2 as P, aK as D, aV as ve, af as g, a as t, aM as G, D as W, k as me, H as o, ad as fe, ac as ge, O as be, W as ye, a3 as A, J as ke, t as Ce } from "./revolugo.index.wc.
|
4
|
-
import { s as H, v as q, m as Q, j as he, k as Se, x as Ve, r as Pe, l as Be, n as Ee, u as we, t as Ie, o as _e, p as Le, y as Te, i as xe, R as Oe, g as Re, a as x } from "./revolugo.index.
|
5
|
-
import { u as X, m as Z, V as O } from "./revolugo.vicon.
|
1
|
+
import { c as K, u as j, b as F, a as Y, m as $, d as J } from "./revolugo.rounded.gvdnWJcm.min.js";
|
2
|
+
import { u as S, e as R, m as N, d as z, w as ie, n as re, A as ue, D as ce, o as de } from "./revolugo.webcomponentwrapper.CaLpHd-8.min.js";
|
3
|
+
import { a1 as V, a2 as P, aK as D, aV as ve, af as g, a as t, aM as G, D as W, k as me, H as o, ad as fe, ac as ge, O as be, W as ye, a3 as A, J as ke, t as Ce } from "./revolugo.index.wc.BCHUnn0S.min.js";
|
4
|
+
import { s as H, v as q, m as Q, j as he, k as Se, x as Ve, r as Pe, l as Be, n as Ee, u as we, t as Ie, o as _e, p as Le, y as Te, i as xe, R as Oe, g as Re, a as x } from "./revolugo.index.D2vVqIxQ.min.js";
|
5
|
+
import { u as X, m as Z, V as O } from "./revolugo.vicon.D1UDvrDb.min.js";
|
6
6
|
function oe(e) {
|
7
7
|
try {
|
8
8
|
if (typeof document < "u") {
|
@@ -395,4 +395,4 @@ export {
|
|
395
395
|
Ye as b,
|
396
396
|
ze as m
|
397
397
|
};
|
398
|
-
//# sourceMappingURL=revolugo.vbtn.
|
398
|
+
//# sourceMappingURL=revolugo.vbtn.CvXud-id.min.js.map
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { m as l, u as d, e as b, n as H, A as j, D as K, o as z } from "./revolugo.webcomponentwrapper.
|
2
|
-
import { a1 as i, aV as J, a as t, a2 as m, F as p, t as V, a3 as u, aK as q, H as S, aM as Q, J as W, aH as X, D as Z } from "./revolugo.index.wc.
|
3
|
-
import { c as $, h as C, a as k, m as h, R as ee, t as ae, s as te, r as ne, l as se, n as le, v as de, o as ie, p as ce, y as re, g as oe, f as ue, L as me } from "./revolugo.index.
|
4
|
-
import { V as I } from "./revolugo.vicon.
|
5
|
-
import { c as ve, u as ye, b as fe, a as ge, m as ke, d as be } from "./revolugo.rounded.
|
1
|
+
import { m as l, u as d, e as b, n as H, A as j, D as K, o as z } from "./revolugo.webcomponentwrapper.CaLpHd-8.min.js";
|
2
|
+
import { a1 as i, aV as J, a as t, a2 as m, F as p, t as V, a3 as u, aK as q, H as S, aM as Q, J as W, aH as X, D as Z } from "./revolugo.index.wc.BCHUnn0S.min.js";
|
3
|
+
import { c as $, h as C, a as k, m as h, R as ee, t as ae, s as te, r as ne, l as se, n as le, v as de, o as ie, p as ce, y as re, g as oe, f as ue, L as me } from "./revolugo.index.D2vVqIxQ.min.js";
|
4
|
+
import { V as I } from "./revolugo.vicon.D1UDvrDb.min.js";
|
5
|
+
import { c as ve, u as ye, b as fe, a as ge, m as ke, d as be } from "./revolugo.rounded.gvdnWJcm.min.js";
|
6
6
|
function Y(e) {
|
7
7
|
try {
|
8
8
|
if (typeof document < "u") {
|
@@ -310,4 +310,4 @@ export {
|
|
310
310
|
Ce as c,
|
311
311
|
Se as d
|
312
312
|
};
|
313
|
-
//# sourceMappingURL=revolugo.vcard.
|
313
|
+
//# sourceMappingURL=revolugo.vcard.tpBOwKjl.min.js.map
|
package/dist/{revolugo.vcheckboxbtn.DtbO_191.min.js → revolugo.vcheckboxbtn.D8JwiBIN.min.js}
RENAMED
@@ -1,10 +1,10 @@
|
|
1
|
-
import { c as
|
2
|
-
import { n as se, d as N, e as ue, o as ie, m as w, u as F, b as re } from "./revolugo.webcomponentwrapper.
|
3
|
-
import { u as ce, b as de, a as ve, m as me } from "./revolugo.rounded.
|
4
|
-
import { a1 as T, a2 as P, a6 as x, H as s, aK as fe, af as d, ag as ye, a, aM as
|
5
|
-
import { V as
|
6
|
-
import { a as Le } from "./revolugo.vbtn.
|
7
|
-
import { V as Te } from "./revolugo.vlabel.
|
1
|
+
import { c as X, t as Z, s as G, l as p, n as ee, v as le, o as te, p as ae, m as M, g as ne, a as U, R as oe } from "./revolugo.index.D2vVqIxQ.min.js";
|
2
|
+
import { n as se, d as N, e as ue, o as ie, m as w, u as F, b as re } from "./revolugo.webcomponentwrapper.CaLpHd-8.min.js";
|
3
|
+
import { u as ce, b as de, a as ve, m as me } from "./revolugo.rounded.gvdnWJcm.min.js";
|
4
|
+
import { a1 as T, a2 as P, a6 as x, H as s, aK as fe, af as d, ag as ye, a, aM as j, a3 as B, D as L, b$ as be, aL as z, aV as Ve, ap as Ce, aT as ke, a9 as $, k as Se, b5 as ge, J as he, aH as Ie, F as xe, an as Pe, a7 as O, W as Ee, b_ as _e, aa as Be } from "./revolugo.index.wc.BCHUnn0S.min.js";
|
5
|
+
import { V as Y } from "./revolugo.vicon.D1UDvrDb.min.js";
|
6
|
+
import { a as Le } from "./revolugo.vbtn.CvXud-id.min.js";
|
7
|
+
import { V as Te } from "./revolugo.vlabel.Ca0XsFXf.min.js";
|
8
8
|
function Q(e) {
|
9
9
|
try {
|
10
10
|
if (typeof document < "u") {
|
@@ -25,7 +25,7 @@ function Q(e) {
|
|
25
25
|
console.error("[revolugo-elements] ", n);
|
26
26
|
}
|
27
27
|
}
|
28
|
-
const Ae =
|
28
|
+
const Ae = X("v-alert-title"), Oe = ["success", "info", "warning", "error"], we = P({
|
29
29
|
border: {
|
30
30
|
type: [Boolean, String],
|
31
31
|
validator: (e) => typeof e == "boolean" || ["top", "end", "bottom", "start"].includes(e)
|
@@ -33,7 +33,7 @@ const Ae = Z("v-alert-title"), Oe = ["success", "info", "warning", "error"], we
|
|
33
33
|
borderColor: String,
|
34
34
|
closable: Boolean,
|
35
35
|
closeIcon: {
|
36
|
-
type:
|
36
|
+
type: B,
|
37
37
|
default: "$close"
|
38
38
|
},
|
39
39
|
closeLabel: {
|
@@ -63,11 +63,11 @@ const Ae = Z("v-alert-title"), Oe = ["success", "info", "warning", "error"], we
|
|
63
63
|
...te(),
|
64
64
|
...ve(),
|
65
65
|
...ue(),
|
66
|
-
...
|
66
|
+
...j(),
|
67
67
|
...le({
|
68
68
|
variant: "flat"
|
69
69
|
})
|
70
|
-
}, "VAlert"),
|
70
|
+
}, "VAlert"), Ye = T()({
|
71
71
|
name: "VAlert",
|
72
72
|
props: we(),
|
73
73
|
emits: {
|
@@ -91,9 +91,9 @@ const Ae = Z("v-alert-title"), Oe = ["success", "info", "warning", "error"], we
|
|
91
91
|
colorClasses: u,
|
92
92
|
colorStyles: V,
|
93
93
|
variantClasses: C
|
94
|
-
} =
|
94
|
+
} = Z(c), {
|
95
95
|
densityClasses: k
|
96
|
-
} =
|
96
|
+
} = G(e), {
|
97
97
|
dimensionStyles: g
|
98
98
|
} = se(e), {
|
99
99
|
elevationClasses: y
|
@@ -107,9 +107,9 @@ const Ae = Z("v-alert-title"), Oe = ["success", "info", "warning", "error"], we
|
|
107
107
|
textColorClasses: S,
|
108
108
|
textColorStyles: E
|
109
109
|
} = N(d(e, "borderColor")), {
|
110
|
-
t:
|
110
|
+
t: _
|
111
111
|
} = ye(), h = s(() => ({
|
112
|
-
"aria-label":
|
112
|
+
"aria-label": _(e.closeLabel),
|
113
113
|
onClick(I) {
|
114
114
|
o.value = !1, i("click:close", I);
|
115
115
|
}
|
@@ -143,7 +143,7 @@ const Ae = Z("v-alert-title"), Oe = ["success", "info", "warning", "error"], we
|
|
143
143
|
size: e.prominent ? 44 : 28
|
144
144
|
}
|
145
145
|
}
|
146
|
-
}, l.prepend) : a(
|
146
|
+
}, l.prepend) : a(Y, {
|
147
147
|
key: "prepend-icon",
|
148
148
|
density: e.density,
|
149
149
|
icon: r.value,
|
@@ -192,8 +192,8 @@ const Ae = Z("v-alert-title"), Oe = ["success", "info", "warning", "error"], we
|
|
192
192
|
error: Boolean,
|
193
193
|
id: String,
|
194
194
|
inline: Boolean,
|
195
|
-
falseIcon:
|
196
|
-
trueIcon:
|
195
|
+
falseIcon: B,
|
196
|
+
trueIcon: B,
|
197
197
|
ripple: {
|
198
198
|
type: [Boolean, Object],
|
199
199
|
default: !0
|
@@ -215,7 +215,7 @@ const Ae = Z("v-alert-title"), Oe = ["success", "info", "warning", "error"], we
|
|
215
215
|
},
|
216
216
|
...w(),
|
217
217
|
...M(),
|
218
|
-
...
|
218
|
+
...j()
|
219
219
|
}, "SelectionControlGroup"), Fe = P({
|
220
220
|
...K({
|
221
221
|
defaultsTarget: "VSelectionControl"
|
@@ -231,7 +231,7 @@ T()({
|
|
231
231
|
let {
|
232
232
|
slots: i
|
233
233
|
} = n;
|
234
|
-
const l = x(e, "modelValue"), o =
|
234
|
+
const l = x(e, "modelValue"), o = z(), r = s(() => e.id || `v-selection-control-group-${o}`), c = s(() => e.name || r.value), t = /* @__PURE__ */ new Set();
|
235
235
|
return Ce(H, {
|
236
236
|
modelValue: l,
|
237
237
|
forceUpdate: () => {
|
@@ -280,7 +280,7 @@ const W = P({
|
|
280
280
|
function Re(e) {
|
281
281
|
const n = Pe(H, void 0), {
|
282
282
|
densityClasses: i
|
283
|
-
} =
|
283
|
+
} = G(e), l = x(e, "modelValue"), o = s(() => e.trueValue !== void 0 ? e.trueValue : e.value !== void 0 ? e.value : !0), r = s(() => e.falseValue !== void 0 ? e.falseValue : !1), c = s(() => !!e.multiple || e.multiple == null && Array.isArray(l.value)), t = s({
|
284
284
|
get() {
|
285
285
|
const y = n ? n.modelValue.value : l.value;
|
286
286
|
return c.value ? O(y).some((v) => e.valueComparator(v, o.value)) : e.valueComparator(y, o.value);
|
@@ -314,7 +314,7 @@ function Re(e) {
|
|
314
314
|
icon: g
|
315
315
|
};
|
316
316
|
}
|
317
|
-
const
|
317
|
+
const D = T()({
|
318
318
|
name: "VSelectionControl",
|
319
319
|
directives: {
|
320
320
|
Ripple: oe
|
@@ -339,12 +339,12 @@ const G = T()({
|
|
339
339
|
backgroundColorClasses: C,
|
340
340
|
backgroundColorStyles: k,
|
341
341
|
trueValue: g
|
342
|
-
} = Re(e), y =
|
342
|
+
} = Re(e), y = z(), v = $(!1), b = $(!1), m = Se(), S = s(() => e.id || `input-${y}`), E = s(() => !e.disabled && !e.readonly);
|
343
343
|
o?.onForceUpdate(() => {
|
344
344
|
m.value && (m.value.checked = t.value);
|
345
345
|
});
|
346
|
-
function
|
347
|
-
E.value && (v.value = !0,
|
346
|
+
function _(f) {
|
347
|
+
E.value && (v.value = !0, _e(f.target, ":focus-visible") !== !1 && (b.value = !0));
|
348
348
|
}
|
349
349
|
function h() {
|
350
350
|
v.value = !1, b.value = !1;
|
@@ -371,7 +371,7 @@ const G = T()({
|
|
371
371
|
disabled: !!e.disabled,
|
372
372
|
id: S.value,
|
373
373
|
onBlur: h,
|
374
|
-
onFocus:
|
374
|
+
onFocus: _,
|
375
375
|
onInput: A,
|
376
376
|
"aria-disabled": !!e.disabled,
|
377
377
|
"aria-label": e.label,
|
@@ -408,11 +408,11 @@ const G = T()({
|
|
408
408
|
inputNode: R,
|
409
409
|
icon: c.value,
|
410
410
|
props: {
|
411
|
-
onFocus:
|
411
|
+
onFocus: _,
|
412
412
|
onBlur: h,
|
413
413
|
id: S.value
|
414
414
|
}
|
415
|
-
}) ?? a(xe, null, [c.value && a(
|
415
|
+
}) ?? a(xe, null, [c.value && a(Y, {
|
416
416
|
key: "icon",
|
417
417
|
icon: c.value
|
418
418
|
}, null), R])]), [[Ie("ripple"), e.ripple && [!e.disabled && !e.readonly, null, ["center", "circle"]]]])]), f && a(Te, {
|
@@ -429,7 +429,7 @@ const G = T()({
|
|
429
429
|
}), Ue = P({
|
430
430
|
indeterminate: Boolean,
|
431
431
|
indeterminateIcon: {
|
432
|
-
type:
|
432
|
+
type: B,
|
433
433
|
default: "$checkboxIndeterminate"
|
434
434
|
},
|
435
435
|
...W({
|
@@ -453,8 +453,8 @@ const G = T()({
|
|
453
453
|
}
|
454
454
|
const c = s(() => l.value ? e.indeterminateIcon : e.falseIcon), t = s(() => l.value ? e.indeterminateIcon : e.trueIcon);
|
455
455
|
return F(() => {
|
456
|
-
const u =
|
457
|
-
return a(
|
456
|
+
const u = Be(D.filterProps(e), ["modelValue"]);
|
457
|
+
return a(D, L(u, {
|
458
458
|
modelValue: o.value,
|
459
459
|
"onUpdate:modelValue": [(V) => o.value = V, r],
|
460
460
|
class: ["v-checkbox-btn", e.class],
|
@@ -469,10 +469,10 @@ const G = T()({
|
|
469
469
|
});
|
470
470
|
Q("css/revolugo.vcheckboxbtn.Bp_BNQWb.css");
|
471
471
|
export {
|
472
|
-
|
472
|
+
Ye as V,
|
473
473
|
He as a,
|
474
474
|
W as b,
|
475
|
-
|
475
|
+
D as c,
|
476
476
|
Ue as m
|
477
477
|
};
|
478
|
-
//# sourceMappingURL=revolugo.vcheckboxbtn.
|
478
|
+
//# sourceMappingURL=revolugo.vcheckboxbtn.D8JwiBIN.min.js.map
|