@nhtio/lucid-resourceful-vue-components 0.1.0-master-e14740ea → 0.1.0-master-dc6af70b
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/{VBtn-DhfYEt9V.mjs → VBtn-CEYzcx0y.mjs} +8 -8
- package/{VBtn-DhfYEt9V.mjs.map → VBtn-CEYzcx0y.mjs.map} +1 -1
- package/{VDatePicker-D0OTAyvJ.mjs → VDatePicker-BHcvHHhM.mjs} +133 -133
- package/{VDatePicker-D0OTAyvJ.mjs.map → VDatePicker-BHcvHHhM.mjs.map} +1 -1
- package/{VEmptyState-BFrXSTJ-.mjs → VEmptyState-CkYtN0q5.mjs} +84 -84
- package/{VEmptyState-BFrXSTJ-.mjs.map → VEmptyState-CkYtN0q5.mjs.map} +1 -1
- package/{VHover-DLvOmsjv.mjs → VHover-Bj6QrQff.mjs} +3 -3
- package/{VHover-DLvOmsjv.mjs.map → VHover-Bj6QrQff.mjs.map} +1 -1
- package/{VListItem-LNaoM8S4.mjs → VListItem-BnxAmKd_.mjs} +55 -55
- package/{VListItem-LNaoM8S4.mjs.map → VListItem-BnxAmKd_.mjs.map} +1 -1
- package/{VMenu-9rTbTKtH.mjs → VMenu-BSB7YSpb.mjs} +28 -28
- package/{VMenu-9rTbTKtH.mjs.map → VMenu-BSB7YSpb.mjs.map} +1 -1
- package/{VPicker-BGuRD0KW.mjs → VPicker-DMOVvCIE.mjs} +5 -5
- package/{VPicker-BGuRD0KW.mjs.map → VPicker-DMOVvCIE.mjs.map} +1 -1
- package/{VRadioGroup-Dx_wEqzl.mjs → VRadioGroup-ByydeX8x.mjs} +21 -21
- package/{VRadioGroup-Dx_wEqzl.mjs.map → VRadioGroup-ByydeX8x.mjs.map} +1 -1
- package/{VRow-DaLdbIGw.mjs → VRow-Dmn82Xaa.mjs} +18 -18
- package/{VRow-DaLdbIGw.mjs.map → VRow-Dmn82Xaa.mjs.map} +1 -1
- package/{VSheet-DnIfs-1c.mjs → VSheet-B9ALb0PQ.mjs} +14 -14
- package/{VSheet-DnIfs-1c.mjs.map → VSheet-B9ALb0PQ.mjs.map} +1 -1
- package/{actions-8bWGsB-p.mjs → actions-BEmdy8bu.mjs} +11 -11
- package/{actions-8bWGsB-p.mjs.map → actions-BEmdy8bu.mjs.map} +1 -1
- package/{alert-IW1AIWZw.mjs → alert-DftADRGk.mjs} +13 -13
- package/{alert-IW1AIWZw.mjs.map → alert-DftADRGk.mjs.map} +1 -1
- package/{bigint-Jmfa2L4S.mjs → bigint-DiC37zMo.mjs} +6 -6
- package/{bigint-Jmfa2L4S.mjs.map → bigint-DiC37zMo.mjs.map} +1 -1
- package/{boolean-BEY7eBxf.mjs → boolean-DZDryWHA.mjs} +74 -74
- package/{boolean-BEY7eBxf.mjs.map → boolean-DZDryWHA.mjs.map} +1 -1
- package/{clipboard-BoKd7mFG.mjs → clipboard--JAZokR3.mjs} +14 -14
- package/{clipboard-BoKd7mFG.mjs.map → clipboard--JAZokR3.mjs.map} +1 -1
- package/{colorUtils-DmtKYNgW.mjs → colorUtils-I1lKouL3.mjs} +3 -3
- package/{colorUtils-DmtKYNgW.mjs.map → colorUtils-I1lKouL3.mjs.map} +1 -1
- package/{common-BeDAn4wu.mjs → common-BDwb9uGU.mjs} +8881 -8880
- package/common-BDwb9uGU.mjs.map +1 -0
- package/{component-CjPpW_A2.mjs → component-C-qp70Rp.mjs} +2 -2
- package/{component-CjPpW_A2.mjs.map → component-C-qp70Rp.mjs.map} +1 -1
- package/components/autorefresh_controller.mjs +1 -1
- package/components/control_button.mjs +1 -1
- package/components/control_button_bar.mjs +2 -2
- package/components/control_menu.mjs +1 -1
- package/components/custom_field.mjs +1 -1
- package/components/exporter.mjs +1 -1
- package/components/fields/bigint.mjs +1 -1
- package/components/fields/boolean.mjs +1 -1
- package/components/fields/date.mjs +1 -1
- package/components/fields/date_time.mjs +1 -1
- package/components/fields/enum.mjs +1 -1
- package/components/fields/integer.mjs +1 -1
- package/components/fields/number.mjs +1 -1
- package/components/fields/string.mjs +1 -1
- package/components/fields/unsigned_integer.mjs +1 -1
- package/components/fields.mjs +9 -9
- package/components/form_with_validation.mjs +1 -1
- package/components/resourceful_alerter.mjs +1 -1
- package/components/resourceful_index.mjs +1 -1
- package/components/resourceful_record.mjs +2 -2
- package/components/resourceful_record_default_form.mjs +1 -1
- package/components/resourceful_record_form.mjs +1 -1
- package/components/sortable.mjs +1 -1
- package/components/svg_icon.mjs +1 -1
- package/components/timezone_picker.mjs +1 -1
- package/components.mjs +23 -23
- package/composables.mjs +11 -11
- package/{console-CRXioSFP.mjs → console-CAez8ceh.mjs} +2 -2
- package/{console-CRXioSFP.mjs.map → console-CAez8ceh.mjs.map} +1 -1
- package/{custom-Y1WJVKP9.mjs → custom-Tm6_792A.mjs} +12 -12
- package/{custom-Y1WJVKP9.mjs.map → custom-Tm6_792A.mjs.map} +1 -1
- package/{date-BxEeCNWD.mjs → date-CxaBVvlO.mjs} +10 -10
- package/{date-BxEeCNWD.mjs.map → date-CxaBVvlO.mjs.map} +1 -1
- package/{date_time-6kpv7eDF.mjs → date_time-DhABUkGT.mjs} +169 -169
- package/{date_time-6kpv7eDF.mjs.map → date_time-DhABUkGT.mjs.map} +1 -1
- package/{display-DvzWa1QO.mjs → display-BdjbLG1_.mjs} +32 -32
- package/{display-DvzWa1QO.mjs.map → display-BdjbLG1_.mjs.map} +1 -1
- package/{display-CO0pTIEs.mjs → display-DPktlWOz.mjs} +42 -42
- package/{display-CO0pTIEs.mjs.map → display-DPktlWOz.mjs.map} +1 -1
- package/{display-kAyhIPBH.mjs → display-DazBkrbZ.mjs} +7 -7
- package/{display-kAyhIPBH.mjs.map → display-DazBkrbZ.mjs.map} +1 -1
- package/{elevation-CMzO50xm.mjs → elevation-DFBVIqom.mjs} +56 -56
- package/{elevation-CMzO50xm.mjs.map → elevation-DFBVIqom.mjs.map} +1 -1
- package/{enum-noYU2Cqh.mjs → enum-KB4xPkOL.mjs} +9 -9
- package/{enum-noYU2Cqh.mjs.map → enum-KB4xPkOL.mjs.map} +1 -1
- package/factories.mjs +1 -1
- package/{field_composer-DpJx0Oz1.mjs → field_composer-CLJuJevf.mjs} +7 -7
- package/{field_composer-DpJx0Oz1.mjs.map → field_composer-CLJuJevf.mjs.map} +1 -1
- package/{form-CDLcDPyU.mjs → form-9YRVcrxM.mjs} +17 -17
- package/{form-CDLcDPyU.mjs.map → form-9YRVcrxM.mjs.map} +1 -1
- package/{guards-B99p3BPj.mjs → guards-BrpRx6ly.mjs} +2 -2
- package/{guards-B99p3BPj.mjs.map → guards-BrpRx6ly.mjs.map} +1 -1
- package/guards.mjs +4 -4
- package/helpers.mjs +6 -6
- package/{index-B2rKM3mR.mjs → index-BaOM0Cyz.mjs} +8 -8
- package/{index-B2rKM3mR.mjs.map → index-BaOM0Cyz.mjs.map} +1 -1
- package/{index-C9UuBVyI.mjs → index-BkjiQEyJ.mjs} +12 -12
- package/{index-C9UuBVyI.mjs.map → index-BkjiQEyJ.mjs.map} +1 -1
- package/{index-slHxe6b-.mjs → index-Bs4A8qUO.mjs} +2 -2
- package/{index-slHxe6b-.mjs.map → index-Bs4A8qUO.mjs.map} +1 -1
- package/{index-BUpccfIz.mjs → index-BsazeUn6.mjs} +3 -3
- package/{index-BUpccfIz.mjs.map → index-BsazeUn6.mjs.map} +1 -1
- package/{index-BaWthszI.mjs → index-CWwCXXNl.mjs} +2 -2
- package/{index-BaWthszI.mjs.map → index-CWwCXXNl.mjs.map} +1 -1
- package/{index-Bi050X9r.mjs → index-DBXOwXpe.mjs} +6 -6
- package/{index-Bi050X9r.mjs.map → index-DBXOwXpe.mjs.map} +1 -1
- package/{index-CzI9mHIx.mjs → index-DDobJ49b.mjs} +7 -7
- package/{index-CzI9mHIx.mjs.map → index-DDobJ49b.mjs.map} +1 -1
- package/{index-CIvylvfa.mjs → index-DwOjHbRP.mjs} +44 -44
- package/{index-CIvylvfa.mjs.map → index-DwOjHbRP.mjs.map} +1 -1
- package/{index-bXmNb9jX.mjs → index-UxsEIZVi.mjs} +4 -4
- package/{index-bXmNb9jX.mjs.map → index-UxsEIZVi.mjs.map} +1 -1
- package/index.mjs +47 -47
- package/{integer-BIJ4_I8y.mjs → integer-uzh0nwpb.mjs} +3 -3
- package/{integer-BIJ4_I8y.mjs.map → integer-uzh0nwpb.mjs.map} +1 -1
- package/{mdi-CqMJqgQi.mjs → mdi-C9DbASEx.mjs} +40 -40
- package/{mdi-CqMJqgQi.mjs.map → mdi-C9DbASEx.mjs.map} +1 -1
- package/{number-z_LAINPM.mjs → number-CfHLDQFY.mjs} +28 -28
- package/{number-z_LAINPM.mjs.map → number-CfHLDQFY.mjs.map} +1 -1
- package/package.json +46 -46
- package/{position-Ai5XksAO.mjs → position-CPuNp03H.mjs} +2 -2
- package/{position-Ai5XksAO.mjs.map → position-CPuNp03H.mjs.map} +1 -1
- package/{props-BYX22zcE.mjs → props-Cq9daNwa.mjs} +4 -4
- package/{props-BYX22zcE.mjs.map → props-Cq9daNwa.mjs.map} +1 -1
- package/{props-p4f5Pa5h.mjs → props-KPFuptNy.mjs} +8 -8
- package/{props-p4f5Pa5h.mjs.map → props-KPFuptNy.mjs.map} +1 -1
- package/{renderers-BKUvrrVm.mjs → renderers-COT3aAu3.mjs} +13 -13
- package/{renderers-BKUvrrVm.mjs.map → renderers-COT3aAu3.mjs.map} +1 -1
- package/{string-Dmr8SRMf.mjs → string-DvwPf_Ob.mjs} +61 -61
- package/{string-Dmr8SRMf.mjs.map → string-DvwPf_Ob.mjs.map} +1 -1
- package/{unsigned_integer-BliPiCXO.mjs → unsigned_integer-C9nrNAn_.mjs} +4 -4
- package/{unsigned_integer-BliPiCXO.mjs.map → unsigned_integer-C9nrNAn_.mjs.map} +1 -1
- package/useRender-Dpj9Jrbr.mjs +9 -0
- package/{useRender-BD1xw5zG.mjs.map → useRender-Dpj9Jrbr.mjs.map} +1 -1
- package/{utils-DqXWb-4f.mjs → utils-DxV2ZNaE.mjs} +10 -10
- package/{utils-DqXWb-4f.mjs.map → utils-DxV2ZNaE.mjs.map} +1 -1
- package/{validation-DS3tTSk5.mjs → validation-CZ6xx4aX.mjs} +4 -4
- package/{validation-DS3tTSk5.mjs.map → validation-CZ6xx4aX.mjs.map} +1 -1
- package/VBtn.css +0 -1
- package/VDatePicker.css +0 -1
- package/VEmptyState.css +0 -1
- package/VListItem.css +0 -1
- package/VMenu.css +0 -1
- package/VPicker.css +0 -1
- package/VRadioGroup.css +0 -1
- package/VSheet.css +0 -1
- package/actions.css +0 -1
- package/boolean.css +0 -1
- package/clipboard.css +0 -1
- package/common-BeDAn4wu.mjs.map +0 -1
- package/common.css +0 -1
- package/date_time.css +0 -1
- package/display.css +0 -1
- package/display2.css +0 -1
- package/elevation.css +0 -1
- package/index.css +0 -1
- package/mdi.css +0 -1
- package/number.css +0 -1
- package/string.css +0 -1
- package/useRender-BD1xw5zG.mjs +0 -9
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as n, k as t } from "./mdi-
|
|
2
|
-
import { g as p, p as d, u as m } from "./display-
|
|
1
|
+
import { u as n, k as t } from "./mdi-C9DbASEx.mjs";
|
|
2
|
+
import { g as p, p as d, u as m } from "./display-BdjbLG1_.mjs";
|
|
3
3
|
const i = d({
|
|
4
4
|
disabled: Boolean,
|
|
5
5
|
modelValue: {
|
|
@@ -33,4 +33,4 @@ const i = d({
|
|
|
33
33
|
export {
|
|
34
34
|
c as V
|
|
35
35
|
};
|
|
36
|
-
//# sourceMappingURL=VHover-
|
|
36
|
+
//# sourceMappingURL=VHover-Bj6QrQff.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VHover-
|
|
1
|
+
{"version":3,"file":"VHover-Bj6QrQff.mjs","sources":["../node_modules/.pnpm/vuetify@3.10.9_typescript@5.9.3_vue@3.5.24_typescript@5.9.3_/node_modules/vuetify/lib/components/VHover/VHover.js"],"sourcesContent":["// Composables\nimport { makeDelayProps, useDelay } from \"../../composables/delay.js\";\nimport { useProxiedModel } from \"../../composables/proxiedModel.js\"; // Utilities\nimport { genericComponent, propsFactory } from \"../../util/index.js\";\nexport const makeVHoverProps = propsFactory({\n disabled: Boolean,\n modelValue: {\n type: Boolean,\n default: null\n },\n ...makeDelayProps()\n}, 'VHover');\nexport const VHover = genericComponent()({\n name: 'VHover',\n props: makeVHoverProps(),\n emits: {\n 'update:modelValue': value => true\n },\n setup(props, _ref) {\n let {\n slots\n } = _ref;\n const isHovering = useProxiedModel(props, 'modelValue');\n const {\n runOpenDelay,\n runCloseDelay\n } = useDelay(props, value => !props.disabled && (isHovering.value = value));\n return () => slots.default?.({\n isHovering: isHovering.value,\n props: {\n onMouseenter: runOpenDelay,\n onMouseleave: runCloseDelay\n }\n });\n }\n});\n//# sourceMappingURL=VHover.js.map"],"names":["makeVHoverProps","propsFactory","makeDelayProps","VHover","genericComponent","value","props","_ref","slots","isHovering","useProxiedModel","runOpenDelay","runCloseDelay","useDelay"],"mappings":";;AAIO,MAAMA,IAAkBC,EAAa;AAAA,EAC1C,UAAU;AAAA,EACV,YAAY;AAAA,IACV,MAAM;AAAA,IACN,SAAS;AAAA,EACb;AAAA,EACE,GAAGC,EAAc;AACnB,GAAG,QAAQ,GACEC,IAASC,EAAgB,EAAG;AAAA,EACvC,MAAM;AAAA,EACN,OAAOJ,EAAe;AAAA,EACtB,OAAO;AAAA,IACL,qBAAqB,CAAAK,MAAS;AAAA,EAClC;AAAA,EACE,MAAMC,GAAOC,GAAM;AACjB,QAAI;AAAA,MACF,OAAAC;AAAA,IACN,IAAQD;AACJ,UAAME,IAAaC,EAAgBJ,GAAO,YAAY,GAChD;AAAA,MACJ,cAAAK;AAAA,MACA,eAAAC;AAAA,IACN,IAAQC,EAASP,GAAO,CAAAD,MAAS,CAACC,EAAM,aAAaG,EAAW,QAAQJ,EAAM;AAC1E,WAAO,MAAMG,EAAM,UAAU;AAAA,MAC3B,YAAYC,EAAW;AAAA,MACvB,OAAO;AAAA,QACL,cAAcE;AAAA,QACd,cAAcC;AAAA,MACtB;AAAA,IACA,CAAK;AAAA,EACH;AACF,CAAC;","x_google_ignoreList":[0]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { inject as N, shallowRef as
|
|
2
|
-
import { a0 as le, p as
|
|
3
|
-
import { z as lt } from "./mdi-
|
|
4
|
-
|
|
1
|
+
import { inject as N, shallowRef as O, provide as E, toRaw as w, computed as h, onBeforeUnmount as te, toRef as V, ref as I, toValue as x, onBeforeMount as ae, nextTick as B, watch as ne, createVNode as P, normalizeStyle as Ee, normalizeClass as Re, withDirectives as je, mergeProps as De, createElementVNode as C, Fragment as X, toDisplayString as q } from "vue";
|
|
2
|
+
import { a0 as le, p as _, u as z, N as xe, a1 as ze, g as ie, o as se, r as re, y as ue, a2 as J, a3 as Ge, f as _e, i as Fe, O as Ue, a4 as $e, j as He, k as Ke, n as Xe, a5 as qe, R as Je, a6 as Q, a as W, E as Y, S as Qe, q as We, a7 as Ye, s as Ze, w as et, x as tt, a8 as at, z as nt, a9 as Z, L as ee } from "./display-BdjbLG1_.mjs";
|
|
3
|
+
import { z as lt } from "./mdi-C9DbASEx.mjs";
|
|
4
|
+
function it(e, i) {
|
|
5
5
|
let s = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
6
6
|
leading: !0,
|
|
7
7
|
trailing: !0
|
|
@@ -32,11 +32,11 @@ function kt() {
|
|
|
32
32
|
};
|
|
33
33
|
const i = N(G, {
|
|
34
34
|
filterable: !1,
|
|
35
|
-
hasPrepend:
|
|
35
|
+
hasPrepend: O(!1),
|
|
36
36
|
updateHasPrepend: () => null
|
|
37
37
|
}), s = {
|
|
38
38
|
filterable: i.filterable || e,
|
|
39
|
-
hasPrepend:
|
|
39
|
+
hasPrepend: O(!1),
|
|
40
40
|
updateHasPrepend: (t) => {
|
|
41
41
|
t && (s.hasPrepend.value = t);
|
|
42
42
|
}
|
|
@@ -46,7 +46,7 @@ function kt() {
|
|
|
46
46
|
function st() {
|
|
47
47
|
return N(G, null);
|
|
48
48
|
}
|
|
49
|
-
const
|
|
49
|
+
const F = (e) => {
|
|
50
50
|
const i = {
|
|
51
51
|
activate: (s) => {
|
|
52
52
|
let {
|
|
@@ -73,7 +73,7 @@ const _ = (e) => {
|
|
|
73
73
|
};
|
|
74
74
|
return i;
|
|
75
75
|
}, ce = (e) => {
|
|
76
|
-
const i =
|
|
76
|
+
const i = F(e);
|
|
77
77
|
return {
|
|
78
78
|
activate: (t) => {
|
|
79
79
|
let {
|
|
@@ -100,7 +100,7 @@ const _ = (e) => {
|
|
|
100
100
|
out: (t, n, a) => i.out(t, n, a)
|
|
101
101
|
};
|
|
102
102
|
}, rt = (e) => {
|
|
103
|
-
const i =
|
|
103
|
+
const i = F(e);
|
|
104
104
|
return {
|
|
105
105
|
activate: (t) => {
|
|
106
106
|
let {
|
|
@@ -361,8 +361,8 @@ const _ = (e) => {
|
|
|
361
361
|
return l;
|
|
362
362
|
}
|
|
363
363
|
};
|
|
364
|
-
},
|
|
365
|
-
id:
|
|
364
|
+
}, T = Symbol.for("vuetify:nested"), fe = {
|
|
365
|
+
id: O(),
|
|
366
366
|
root: {
|
|
367
367
|
register: () => null,
|
|
368
368
|
unregister: () => null,
|
|
@@ -381,7 +381,7 @@ const _ = (e) => {
|
|
|
381
381
|
selectedValues: I([]),
|
|
382
382
|
getPath: () => []
|
|
383
383
|
}
|
|
384
|
-
}, At =
|
|
384
|
+
}, At = _({
|
|
385
385
|
activatable: Boolean,
|
|
386
386
|
selectable: Boolean,
|
|
387
387
|
activeStrategy: [String, Function, Object],
|
|
@@ -393,7 +393,7 @@ const _ = (e) => {
|
|
|
393
393
|
mandatory: Boolean
|
|
394
394
|
}, "nested"), Pt = (e) => {
|
|
395
395
|
let i = !1;
|
|
396
|
-
const s =
|
|
396
|
+
const s = O(/* @__PURE__ */ new Map()), t = O(/* @__PURE__ */ new Map()), n = O(/* @__PURE__ */ new Set()), a = z(e, "opened", e.opened, (r) => new Set(Array.isArray(r) ? r.map((c) => w(c)) : r), (r) => [...r.values()]), l = h(() => {
|
|
397
397
|
if (typeof e.activeStrategy == "object") return e.activeStrategy;
|
|
398
398
|
if (typeof e.activeStrategy == "function") return e.activeStrategy(e.mandatory);
|
|
399
399
|
switch (e.activeStrategy) {
|
|
@@ -402,7 +402,7 @@ const _ = (e) => {
|
|
|
402
402
|
case "single-leaf":
|
|
403
403
|
return ut(e.mandatory);
|
|
404
404
|
case "independent":
|
|
405
|
-
return
|
|
405
|
+
return F(e.mandatory);
|
|
406
406
|
case "single-independent":
|
|
407
407
|
default:
|
|
408
408
|
return ce(e.mandatory);
|
|
@@ -437,7 +437,7 @@ const _ = (e) => {
|
|
|
437
437
|
return oe;
|
|
438
438
|
}
|
|
439
439
|
}), g = z(e, "activated", e.activated, (r) => l.value.in(r, s.value, t.value), (r) => l.value.out(r, s.value, t.value)), p = z(e, "selected", e.selected, (r) => u.value.in(r, s.value, t.value, n.value), (r) => u.value.out(r, s.value, t.value));
|
|
440
|
-
|
|
440
|
+
te(() => {
|
|
441
441
|
i = !0;
|
|
442
442
|
});
|
|
443
443
|
function f(r) {
|
|
@@ -448,11 +448,11 @@ const _ = (e) => {
|
|
|
448
448
|
return c;
|
|
449
449
|
}
|
|
450
450
|
const m = xe("nested"), b = /* @__PURE__ */ new Set(), y = it(() => {
|
|
451
|
-
|
|
451
|
+
B(() => {
|
|
452
452
|
s.value = new Map(s.value), t.value = new Map(t.value);
|
|
453
453
|
});
|
|
454
454
|
}, 100), k = {
|
|
455
|
-
id:
|
|
455
|
+
id: O(),
|
|
456
456
|
root: {
|
|
457
457
|
opened: a,
|
|
458
458
|
activatable: V(() => e.activatable),
|
|
@@ -571,9 +571,9 @@ const _ = (e) => {
|
|
|
571
571
|
getPath: f
|
|
572
572
|
}
|
|
573
573
|
};
|
|
574
|
-
return E(
|
|
574
|
+
return E(T, k), k.root;
|
|
575
575
|
}, gt = (e, i, s) => {
|
|
576
|
-
const t = N(
|
|
576
|
+
const t = N(T, fe), n = Symbol("nested item"), a = h(() => {
|
|
577
577
|
const u = w(x(e));
|
|
578
578
|
return u !== void 0 ? u : n;
|
|
579
579
|
}), l = {
|
|
@@ -591,24 +591,24 @@ const _ = (e) => {
|
|
|
591
591
|
isLeaf: h(() => !t.root.children.value.get(a.value)),
|
|
592
592
|
isGroupActivator: t.isGroupActivator
|
|
593
593
|
};
|
|
594
|
-
return
|
|
595
|
-
t.isGroupActivator ||
|
|
594
|
+
return ae(() => {
|
|
595
|
+
t.isGroupActivator || B(() => {
|
|
596
596
|
t.root.register(a.value, t.id.value, x(i), s);
|
|
597
597
|
});
|
|
598
|
-
}),
|
|
598
|
+
}), te(() => {
|
|
599
599
|
t.isGroupActivator || t.root.unregister(a.value);
|
|
600
600
|
}), ne(a, (u, d) => {
|
|
601
|
-
t.isGroupActivator || (t.root.unregister(d),
|
|
601
|
+
t.isGroupActivator || (t.root.unregister(d), B(() => {
|
|
602
602
|
t.root.register(u, t.id.value, x(i), s);
|
|
603
603
|
}));
|
|
604
|
-
}), s && E(
|
|
604
|
+
}), s && E(T, l), l;
|
|
605
605
|
}, It = () => {
|
|
606
|
-
const e = N(
|
|
607
|
-
E(
|
|
606
|
+
const e = N(T, fe);
|
|
607
|
+
E(T, {
|
|
608
608
|
...e,
|
|
609
609
|
isGroupActivator: !0
|
|
610
610
|
});
|
|
611
|
-
}, yt =
|
|
611
|
+
}, yt = _({
|
|
612
612
|
opacity: [Number, String],
|
|
613
613
|
...ue(),
|
|
614
614
|
...re()
|
|
@@ -626,7 +626,7 @@ const _ = (e) => {
|
|
|
626
626
|
}, e.style])
|
|
627
627
|
}, s)), {};
|
|
628
628
|
}
|
|
629
|
-
}), St = lt("v-list-item-title"), ht =
|
|
629
|
+
}), St = lt("v-list-item-title"), ht = _({
|
|
630
630
|
active: {
|
|
631
631
|
type: Boolean,
|
|
632
632
|
default: void 0
|
|
@@ -701,7 +701,7 @@ const _ = (e) => {
|
|
|
701
701
|
parent: k,
|
|
702
702
|
openOnSelect: r,
|
|
703
703
|
id: c
|
|
704
|
-
} = gt(l, () => e.disabled, !1), o = st(), v = h(() => e.active !== !1 && (e.active || a.isActive?.value || (y.activatable.value ? d.value : f.value))), A = V(() => e.link !== !1 && a.isLink.value), L = h(() => !!o && (y.selectable.value || y.activatable.value || e.value != null)),
|
|
704
|
+
} = gt(l, () => e.disabled, !1), o = st(), v = h(() => e.active !== !1 && (e.active || a.isActive?.value || (y.activatable.value ? d.value : f.value))), A = V(() => e.link !== !1 && a.isLink.value), L = h(() => !!o && (y.selectable.value || y.activatable.value || e.value != null)), M = h(() => !e.disabled && e.link !== !1 && (e.link || a.isClickable.value || L.value)), ge = h(() => o ? A.value ? "link" : L.value ? "option" : "listitem" : void 0), ye = h(() => {
|
|
705
705
|
if (L.value)
|
|
706
706
|
return y.activatable.value ? d.value : y.selectable.value ? f.value : v.value;
|
|
707
707
|
}), me = V(() => e.rounded || e.nav), Se = V(() => e.color ?? e.activeColor), he = V(() => ({
|
|
@@ -709,30 +709,30 @@ const _ = (e) => {
|
|
|
709
709
|
variant: e.variant
|
|
710
710
|
}));
|
|
711
711
|
ne(() => a.isActive?.value, (S) => {
|
|
712
|
-
S &&
|
|
713
|
-
}),
|
|
714
|
-
a.isActive?.value &&
|
|
712
|
+
S && $();
|
|
713
|
+
}), ae(() => {
|
|
714
|
+
a.isActive?.value && B(() => $());
|
|
715
715
|
});
|
|
716
|
-
function
|
|
716
|
+
function $() {
|
|
717
717
|
k.value != null && y.open(k.value, !0), r(!0);
|
|
718
718
|
}
|
|
719
719
|
const {
|
|
720
720
|
themeClasses: pe
|
|
721
|
-
} = Fe(e), {
|
|
722
|
-
borderClasses: be
|
|
723
721
|
} = _e(e), {
|
|
722
|
+
borderClasses: be
|
|
723
|
+
} = Fe(e), {
|
|
724
724
|
colorClasses: we,
|
|
725
725
|
colorStyles: ke,
|
|
726
726
|
variantClasses: Ae
|
|
727
727
|
} = Ue(he), {
|
|
728
728
|
densityClasses: Pe
|
|
729
|
-
} = He(e), {
|
|
730
|
-
dimensionStyles: Ie
|
|
731
729
|
} = $e(e), {
|
|
730
|
+
dimensionStyles: Ie
|
|
731
|
+
} = He(e), {
|
|
732
732
|
elevationClasses: Ve
|
|
733
733
|
} = Ke(e), {
|
|
734
734
|
roundedClasses: Ce
|
|
735
|
-
} = Xe(me),
|
|
735
|
+
} = Xe(me), Oe = V(() => e.lines ? `v-list-item--${e.lines}-line` : void 0), Me = V(() => e.ripple !== void 0 && e.ripple && o?.filterable ? {
|
|
736
736
|
keys: ["Enter"]
|
|
737
737
|
} : e.ripple), R = h(() => ({
|
|
738
738
|
isActive: v.value,
|
|
@@ -742,32 +742,32 @@ const _ = (e) => {
|
|
|
742
742
|
isIndeterminate: m.value
|
|
743
743
|
}));
|
|
744
744
|
function Le(S) {
|
|
745
|
-
n("click", S), !["INPUT", "TEXTAREA"].includes(S.target?.tagName) &&
|
|
745
|
+
n("click", S), !["INPUT", "TEXTAREA"].includes(S.target?.tagName) && M.value && (a.navigate?.(S), !b && (y.activatable.value ? u(!d.value, S) : (y.selectable.value || e.value != null && !A.value) && g(!f.value, S)));
|
|
746
746
|
}
|
|
747
|
-
function
|
|
748
|
-
const
|
|
749
|
-
["INPUT", "TEXTAREA"].includes(
|
|
747
|
+
function Te(S) {
|
|
748
|
+
const j = S.target;
|
|
749
|
+
["INPUT", "TEXTAREA"].includes(j.tagName) || (S.key === "Enter" || S.key === " " && !o?.filterable) && (S.preventDefault(), S.stopPropagation(), S.target.dispatchEvent(new MouseEvent("click", S)));
|
|
750
750
|
}
|
|
751
751
|
return se(() => {
|
|
752
|
-
const S = A.value ? "a" : e.tag,
|
|
753
|
-
return o?.updateHasPrepend(
|
|
752
|
+
const S = A.value ? "a" : e.tag, j = t.title || e.title != null, Be = t.subtitle || e.subtitle != null, H = !!(e.appendAvatar || e.appendIcon), Ne = !!(H || t.append), K = !!(e.prependAvatar || e.prependIcon), D = !!(K || t.prepend);
|
|
753
|
+
return o?.updateHasPrepend(D), e.activeColor && qe("active-color", ["color", "base-color"]), je(P(S, De(a.linkProps, {
|
|
754
754
|
class: ["v-list-item", {
|
|
755
755
|
"v-list-item--active": v.value,
|
|
756
756
|
"v-list-item--disabled": e.disabled,
|
|
757
|
-
"v-list-item--link":
|
|
757
|
+
"v-list-item--link": M.value,
|
|
758
758
|
"v-list-item--nav": e.nav,
|
|
759
|
-
"v-list-item--prepend": !
|
|
759
|
+
"v-list-item--prepend": !D && o?.hasPrepend.value,
|
|
760
760
|
"v-list-item--slim": e.slim,
|
|
761
761
|
[`${e.activeClass}`]: e.activeClass && v.value
|
|
762
|
-
}, pe.value, be.value, we.value, Pe.value, Ve.value,
|
|
762
|
+
}, pe.value, be.value, we.value, Pe.value, Ve.value, Oe.value, Ce.value, Ae.value, e.class],
|
|
763
763
|
style: [ke.value, Ie.value, e.style],
|
|
764
|
-
tabindex:
|
|
764
|
+
tabindex: M.value ? o ? -2 : 0 : void 0,
|
|
765
765
|
"aria-selected": ye.value,
|
|
766
766
|
role: ge.value,
|
|
767
767
|
onClick: Le,
|
|
768
|
-
onKeydown:
|
|
768
|
+
onKeydown: M.value && !A.value && Te
|
|
769
769
|
}), {
|
|
770
|
-
default: () => [Je(
|
|
770
|
+
default: () => [Je(M.value || v.value, "v-list-item"), D && C("div", {
|
|
771
771
|
key: "prepend",
|
|
772
772
|
class: "v-list-item__prepend"
|
|
773
773
|
}, [t.prepend ? P(Y, {
|
|
@@ -801,13 +801,13 @@ const _ = (e) => {
|
|
|
801
801
|
}, null)]), C("div", {
|
|
802
802
|
class: "v-list-item__content",
|
|
803
803
|
"data-no-activator": ""
|
|
804
|
-
}, [
|
|
804
|
+
}, [j && P(St, {
|
|
805
805
|
key: "title"
|
|
806
806
|
}, {
|
|
807
807
|
default: () => [t.title?.({
|
|
808
808
|
title: e.title
|
|
809
809
|
}) ?? q(e.title)]
|
|
810
|
-
}),
|
|
810
|
+
}), Be && P(mt, {
|
|
811
811
|
key: "subtitle"
|
|
812
812
|
}, {
|
|
813
813
|
default: () => [t.subtitle?.({
|
|
@@ -818,7 +818,7 @@ const _ = (e) => {
|
|
|
818
818
|
class: "v-list-item__append"
|
|
819
819
|
}, [t.append ? P(Y, {
|
|
820
820
|
key: "append-defaults",
|
|
821
|
-
disabled:
|
|
821
|
+
disabled: !H,
|
|
822
822
|
defaults: {
|
|
823
823
|
VAvatar: {
|
|
824
824
|
density: e.density,
|
|
@@ -845,7 +845,7 @@ const _ = (e) => {
|
|
|
845
845
|
}, null)]), C("div", {
|
|
846
846
|
class: "v-list-item__spacer"
|
|
847
847
|
}, null)])]
|
|
848
|
-
}), [[J,
|
|
848
|
+
}), [[J, M.value && Me.value]]);
|
|
849
849
|
}), {
|
|
850
850
|
activate: u,
|
|
851
851
|
isActivated: d,
|
|
@@ -870,4 +870,4 @@ export {
|
|
|
870
870
|
At as m,
|
|
871
871
|
gt as u
|
|
872
872
|
};
|
|
873
|
-
//# sourceMappingURL=VListItem-
|
|
873
|
+
//# sourceMappingURL=VListItem-BnxAmKd_.mjs.map
|