@nhtio/lucid-resourceful-vue-components 0.1.0-master-e14740ea → 0.1.0-master-54839a90
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-C4WCntKg.mjs} +8 -8
- package/{VBtn-DhfYEt9V.mjs.map → VBtn-C4WCntKg.mjs.map} +1 -1
- package/{VDatePicker-D0OTAyvJ.mjs → VDatePicker-DOCNk-HL.mjs} +166 -166
- package/{VDatePicker-D0OTAyvJ.mjs.map → VDatePicker-DOCNk-HL.mjs.map} +1 -1
- package/{VEmptyState-BFrXSTJ-.mjs → VEmptyState-CfouFZTg.mjs} +41 -41
- package/{VEmptyState-BFrXSTJ-.mjs.map → VEmptyState-CfouFZTg.mjs.map} +1 -1
- package/{VHover-DLvOmsjv.mjs → VHover-DvUhdfsL.mjs} +3 -3
- package/{VHover-DLvOmsjv.mjs.map → VHover-DvUhdfsL.mjs.map} +1 -1
- package/{VListItem-LNaoM8S4.mjs → VListItem-BT-NXJyi.mjs} +56 -56
- package/{VListItem-LNaoM8S4.mjs.map → VListItem-BT-NXJyi.mjs.map} +1 -1
- package/{VMenu-9rTbTKtH.mjs → VMenu-Bk2NN8qb.mjs} +28 -28
- package/{VMenu-9rTbTKtH.mjs.map → VMenu-Bk2NN8qb.mjs.map} +1 -1
- package/{VPicker-BGuRD0KW.mjs → VPicker-DmY6CdER.mjs} +5 -5
- package/{VPicker-BGuRD0KW.mjs.map → VPicker-DmY6CdER.mjs.map} +1 -1
- package/{VRadioGroup-Dx_wEqzl.mjs → VRadioGroup-BO7XdtLS.mjs} +21 -21
- package/{VRadioGroup-Dx_wEqzl.mjs.map → VRadioGroup-BO7XdtLS.mjs.map} +1 -1
- package/{VRow-DaLdbIGw.mjs → VRow-BhNJcY5-.mjs} +17 -17
- package/{VRow-DaLdbIGw.mjs.map → VRow-BhNJcY5-.mjs.map} +1 -1
- package/{VSheet-DnIfs-1c.mjs → VSheet-Bkr-m6FE.mjs} +14 -14
- package/{VSheet-DnIfs-1c.mjs.map → VSheet-Bkr-m6FE.mjs.map} +1 -1
- package/{actions-8bWGsB-p.mjs → actions-ORUmfJR5.mjs} +15 -15
- package/{actions-8bWGsB-p.mjs.map → actions-ORUmfJR5.mjs.map} +1 -1
- package/{alert-IW1AIWZw.mjs → alert-pFT7pWTZ.mjs} +97 -94
- package/alert-pFT7pWTZ.mjs.map +1 -0
- package/{bigint-Jmfa2L4S.mjs → bigint-CCM0aPaS.mjs} +6 -6
- package/{bigint-Jmfa2L4S.mjs.map → bigint-CCM0aPaS.mjs.map} +1 -1
- package/{boolean-BEY7eBxf.mjs → boolean-1-MOJPSu.mjs} +40 -40
- package/{boolean-BEY7eBxf.mjs.map → boolean-1-MOJPSu.mjs.map} +1 -1
- package/{clipboard-BoKd7mFG.mjs → clipboard-CdGABqm1.mjs} +51 -51
- package/{clipboard-BoKd7mFG.mjs.map → clipboard-CdGABqm1.mjs.map} +1 -1
- package/{colorUtils-DmtKYNgW.mjs → colorUtils-BdpqbLZS.mjs} +3 -3
- package/{colorUtils-DmtKYNgW.mjs.map → colorUtils-BdpqbLZS.mjs.map} +1 -1
- package/{common-BeDAn4wu.mjs → common-Bi5RUD-n.mjs} +8881 -8880
- package/common-Bi5RUD-n.mjs.map +1 -0
- package/{component-CjPpW_A2.mjs → component-DhEJuSE6.mjs} +2 -2
- package/{component-CjPpW_A2.mjs.map → component-DhEJuSE6.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 +8 -8
- package/{console-CRXioSFP.mjs → console-Dgoi3FwV.mjs} +2 -2
- package/{console-CRXioSFP.mjs.map → console-Dgoi3FwV.mjs.map} +1 -1
- package/{custom-Y1WJVKP9.mjs → custom-DQmbYYPh.mjs} +17 -17
- package/{custom-Y1WJVKP9.mjs.map → custom-DQmbYYPh.mjs.map} +1 -1
- package/{date-BxEeCNWD.mjs → date-E_8RP3gK.mjs} +21 -21
- package/{date-BxEeCNWD.mjs.map → date-E_8RP3gK.mjs.map} +1 -1
- package/{date_time-6kpv7eDF.mjs → date_time-BmYl2TFi.mjs} +300 -300
- package/{date_time-6kpv7eDF.mjs.map → date_time-BmYl2TFi.mjs.map} +1 -1
- package/{display-kAyhIPBH.mjs → display-B089h_sz.mjs} +30 -28
- package/display-B089h_sz.mjs.map +1 -0
- package/{display-CO0pTIEs.mjs → display-dv4cOwRN.mjs} +42 -42
- package/{display-CO0pTIEs.mjs.map → display-dv4cOwRN.mjs.map} +1 -1
- package/{display-DvzWa1QO.mjs → display-fXo4JeIS.mjs} +41 -41
- package/{display-DvzWa1QO.mjs.map → display-fXo4JeIS.mjs.map} +1 -1
- package/{elevation-CMzO50xm.mjs → elevation-YNOj0hSa.mjs} +82 -82
- package/{elevation-CMzO50xm.mjs.map → elevation-YNOj0hSa.mjs.map} +1 -1
- package/{enum-noYU2Cqh.mjs → enum-8itqseZa.mjs} +22 -22
- package/{enum-noYU2Cqh.mjs.map → enum-8itqseZa.mjs.map} +1 -1
- package/factories.mjs +1 -1
- package/{field_composer-DpJx0Oz1.mjs → field_composer-ugYyDQNY.mjs} +7 -7
- package/{field_composer-DpJx0Oz1.mjs.map → field_composer-ugYyDQNY.mjs.map} +1 -1
- package/{form-CDLcDPyU.mjs → form-BtDnRXYm.mjs} +45 -45
- package/{form-CDLcDPyU.mjs.map → form-BtDnRXYm.mjs.map} +1 -1
- package/{guards-B99p3BPj.mjs → guards-Cby4QwzY.mjs} +2 -2
- package/{guards-B99p3BPj.mjs.map → guards-Cby4QwzY.mjs.map} +1 -1
- package/guards.mjs +4 -4
- package/helpers.mjs +6 -6
- package/{index-C9UuBVyI.mjs → index-3XRUa28C.mjs} +12 -12
- package/{index-C9UuBVyI.mjs.map → index-3XRUa28C.mjs.map} +1 -1
- package/{index-CzI9mHIx.mjs → index-BCQmj6cf.mjs} +13 -13
- package/{index-CzI9mHIx.mjs.map → index-BCQmj6cf.mjs.map} +1 -1
- package/{index-bXmNb9jX.mjs → index-BgevbZTt.mjs} +10 -10
- package/{index-bXmNb9jX.mjs.map → index-BgevbZTt.mjs.map} +1 -1
- package/{index-BaWthszI.mjs → index-C-PCfO1S.mjs} +2 -2
- package/{index-BaWthszI.mjs.map → index-C-PCfO1S.mjs.map} +1 -1
- package/{index-Bi050X9r.mjs → index-CSyOYGEi.mjs} +8 -8
- package/{index-Bi050X9r.mjs.map → index-CSyOYGEi.mjs.map} +1 -1
- package/{index-CIvylvfa.mjs → index-D9i1PRci.mjs} +5701 -5698
- package/{index-CIvylvfa.mjs.map → index-D9i1PRci.mjs.map} +1 -1
- package/{index-B2rKM3mR.mjs → index-DWv9iKZs.mjs} +21 -21
- package/{index-B2rKM3mR.mjs.map → index-DWv9iKZs.mjs.map} +1 -1
- package/{index-slHxe6b-.mjs → index-VpcXNOpn.mjs} +2 -2
- package/{index-slHxe6b-.mjs.map → index-VpcXNOpn.mjs.map} +1 -1
- package/{index-BUpccfIz.mjs → index-fiZltUBs.mjs} +3 -3
- package/{index-BUpccfIz.mjs.map → index-fiZltUBs.mjs.map} +1 -1
- package/index.mjs +31 -31
- package/{integer-BIJ4_I8y.mjs → integer-W2_SlKV1.mjs} +5 -5
- package/{integer-BIJ4_I8y.mjs.map → integer-W2_SlKV1.mjs.map} +1 -1
- package/{mdi-CqMJqgQi.mjs → mdi-DC1jeTJJ.mjs} +55 -55
- package/{mdi-CqMJqgQi.mjs.map → mdi-DC1jeTJJ.mjs.map} +1 -1
- package/{number-z_LAINPM.mjs → number-DgwZBxOw.mjs} +101 -101
- package/{number-z_LAINPM.mjs.map → number-DgwZBxOw.mjs.map} +1 -1
- package/package.json +31 -31
- package/{position-Ai5XksAO.mjs → position-B9VPkbhU.mjs} +2 -2
- package/{position-Ai5XksAO.mjs.map → position-B9VPkbhU.mjs.map} +1 -1
- package/private/control-button-bar/props.d.ts +10 -10
- package/private/fields/bigint.d.ts +128 -128
- package/private/fields/boolean.d.ts +68 -68
- package/private/fields/common.d.ts +16 -16
- package/private/fields/custom.d.ts +2 -2
- package/private/fields/date.d.ts +24 -24
- package/private/fields/date_time.d.ts +24 -24
- package/private/fields/enum.d.ts +68 -68
- package/private/fields/integer.d.ts +107 -107
- package/private/fields/multiple.d.ts +17 -17
- package/private/fields/number.d.ts +46 -46
- package/private/fields/read_mode_renderer.d.ts +17 -17
- package/private/fields/string.d.ts +24 -24
- package/private/fields/unsigned_integer.d.ts +107 -107
- package/private/filtration/filter_group_condition_element.d.ts +36 -36
- package/private/resourceful-index/index.d.ts +17 -17
- package/private/resourceful-index/partials/_controls.d.ts +1 -1
- package/private/resourceful-index/partials/_per_page_selector.d.ts +1 -1
- package/private/resourceful-index/props.d.ts +34 -34
- package/private/resourceful-record/form.d.ts +12 -12
- package/private/resourceful-record/index.d.ts +13 -13
- package/private/resourceful-record/props.d.ts +20 -20
- package/private/sortable/index.d.ts +1 -1
- package/{props-p4f5Pa5h.mjs → props-COvhL78L.mjs} +4 -4
- package/{props-p4f5Pa5h.mjs.map → props-COvhL78L.mjs.map} +1 -1
- package/{props-BYX22zcE.mjs → props-GYFmAF5-.mjs} +6 -6
- package/{props-BYX22zcE.mjs.map → props-GYFmAF5-.mjs.map} +1 -1
- package/{renderers-BKUvrrVm.mjs → renderers-BP4li2WT.mjs} +13 -13
- package/{renderers-BKUvrrVm.mjs.map → renderers-BP4li2WT.mjs.map} +1 -1
- package/{string-Dmr8SRMf.mjs → string-RfpfCwEn.mjs} +137 -137
- package/{string-Dmr8SRMf.mjs.map → string-RfpfCwEn.mjs.map} +1 -1
- package/{unsigned_integer-BliPiCXO.mjs → unsigned_integer-Cg6tbRJj.mjs} +4 -4
- package/{unsigned_integer-BliPiCXO.mjs.map → unsigned_integer-Cg6tbRJj.mjs.map} +1 -1
- package/useRender-CfNJA_8a.mjs +9 -0
- package/{useRender-BD1xw5zG.mjs.map → useRender-CfNJA_8a.mjs.map} +1 -1
- package/{utils-DqXWb-4f.mjs → utils-D3ZGaTyv.mjs} +48 -48
- package/{utils-DqXWb-4f.mjs.map → utils-D3ZGaTyv.mjs.map} +1 -1
- package/{validation-DS3tTSk5.mjs → validation-BF_JkNWB.mjs} +4 -4
- package/{validation-DS3tTSk5.mjs.map → validation-BF_JkNWB.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/alert-IW1AIWZw.mjs.map +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-kAyhIPBH.mjs.map +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-DC1jeTJJ.mjs";
|
|
2
|
+
import { g as p, p as d, u as m } from "./display-fXo4JeIS.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-DvUhdfsL.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VHover-
|
|
1
|
+
{"version":3,"file":"VHover-DvUhdfsL.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
|
|
2
|
-
import { a0 as le, p as
|
|
3
|
-
import { z as lt } from "./mdi-
|
|
4
|
-
|
|
1
|
+
import { inject as E, shallowRef as M, provide as N, 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 Ne, 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, R as xe, a1 as ze, g as ie, o as se, r as re, y as ue, a2 as W, a3 as Ge, f as _e, i as Fe, S as Ue, a4 as $e, j as He, k as Ke, n as Xe, a5 as qe, W as We, a6 as J, a as Q, E as Y, X as Je, q as Qe, a7 as Ye, s as Ze, w as et, x as tt, a8 as at, z as nt, a9 as Z, M as ee } from "./display-fXo4JeIS.mjs";
|
|
3
|
+
import { z as lt } from "./mdi-DC1jeTJJ.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
|
|
@@ -30,7 +30,7 @@ function kt() {
|
|
|
30
30
|
} = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
31
31
|
filterable: !1
|
|
32
32
|
};
|
|
33
|
-
const i =
|
|
33
|
+
const i = E(G, {
|
|
34
34
|
filterable: !1,
|
|
35
35
|
hasPrepend: M(!1),
|
|
36
36
|
updateHasPrepend: () => null
|
|
@@ -41,12 +41,12 @@ function kt() {
|
|
|
41
41
|
t && (s.hasPrepend.value = t);
|
|
42
42
|
}
|
|
43
43
|
};
|
|
44
|
-
return
|
|
44
|
+
return N(G, s), i;
|
|
45
45
|
}
|
|
46
46
|
function st() {
|
|
47
|
-
return
|
|
47
|
+
return E(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,7 +361,7 @@ const _ = (e) => {
|
|
|
361
361
|
return l;
|
|
362
362
|
}
|
|
363
363
|
};
|
|
364
|
-
},
|
|
364
|
+
}, T = Symbol.for("vuetify:nested"), fe = {
|
|
365
365
|
id: M(),
|
|
366
366
|
root: {
|
|
367
367
|
register: () => 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],
|
|
@@ -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,7 +448,7 @@ 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 = {
|
|
@@ -571,9 +571,9 @@ const _ = (e) => {
|
|
|
571
571
|
getPath: f
|
|
572
572
|
}
|
|
573
573
|
};
|
|
574
|
-
return
|
|
574
|
+
return N(T, k), k.root;
|
|
575
575
|
}, gt = (e, i, s) => {
|
|
576
|
-
const t =
|
|
576
|
+
const t = E(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 &&
|
|
604
|
+
}), s && N(T, l), l;
|
|
605
605
|
}, It = () => {
|
|
606
|
-
const e =
|
|
607
|
-
|
|
606
|
+
const e = E(T, fe);
|
|
607
|
+
N(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()
|
|
@@ -621,12 +621,12 @@ const _ = (e) => {
|
|
|
621
621
|
} = i;
|
|
622
622
|
return se(() => P(e.tag, {
|
|
623
623
|
class: Re(["v-list-item-subtitle", e.class]),
|
|
624
|
-
style:
|
|
624
|
+
style: Ne([{
|
|
625
625
|
"--v-list-item-subtitle-opacity": e.opacity
|
|
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
|
|
@@ -670,14 +670,14 @@ const _ = (e) => {
|
|
|
670
670
|
...Ze(),
|
|
671
671
|
...Ye(),
|
|
672
672
|
...re(),
|
|
673
|
-
...
|
|
674
|
-
...
|
|
673
|
+
...Qe(),
|
|
674
|
+
...Je({
|
|
675
675
|
variant: "text"
|
|
676
676
|
})
|
|
677
677
|
}, "VListItem"), Vt = ie()({
|
|
678
678
|
name: "VListItem",
|
|
679
679
|
directives: {
|
|
680
|
-
vRipple:
|
|
680
|
+
vRipple: W
|
|
681
681
|
},
|
|
682
682
|
props: ht(),
|
|
683
683
|
emits: {
|
|
@@ -709,26 +709,26 @@ 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
|
|
@@ -744,19 +744,19 @@ const _ = (e) => {
|
|
|
744
744
|
function Le(S) {
|
|
745
745
|
n("click", S), !["INPUT", "TEXTAREA"].includes(S.target?.tagName) && O.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), Ee = !!(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
757
|
"v-list-item--link": O.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
762
|
}, pe.value, be.value, we.value, Pe.value, Ve.value, Me.value, Ce.value, Ae.value, e.class],
|
|
@@ -765,9 +765,9 @@ const _ = (e) => {
|
|
|
765
765
|
"aria-selected": ye.value,
|
|
766
766
|
role: ge.value,
|
|
767
767
|
onClick: Le,
|
|
768
|
-
onKeydown: O.value && !A.value &&
|
|
768
|
+
onKeydown: O.value && !A.value && Te
|
|
769
769
|
}), {
|
|
770
|
-
default: () => [
|
|
770
|
+
default: () => [We(O.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, {
|
|
@@ -788,11 +788,11 @@ const _ = (e) => {
|
|
|
788
788
|
}
|
|
789
789
|
}, {
|
|
790
790
|
default: () => [t.prepend?.(R.value)]
|
|
791
|
-
}) : C(X, null, [e.prependAvatar && P(
|
|
791
|
+
}) : C(X, null, [e.prependAvatar && P(J, {
|
|
792
792
|
key: "prepend-avatar",
|
|
793
793
|
density: e.density,
|
|
794
794
|
image: e.prependAvatar
|
|
795
|
-
}, null), e.prependIcon && P(
|
|
795
|
+
}, null), e.prependIcon && P(Q, {
|
|
796
796
|
key: "prepend-icon",
|
|
797
797
|
density: e.density,
|
|
798
798
|
icon: e.prependIcon
|
|
@@ -801,24 +801,24 @@ 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?.({
|
|
814
814
|
subtitle: e.subtitle
|
|
815
815
|
}) ?? q(e.subtitle)]
|
|
816
|
-
}), t.default?.(R.value)]),
|
|
816
|
+
}), t.default?.(R.value)]), Ee && C("div", {
|
|
817
817
|
key: "append",
|
|
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,
|
|
@@ -834,18 +834,18 @@ const _ = (e) => {
|
|
|
834
834
|
}
|
|
835
835
|
}, {
|
|
836
836
|
default: () => [t.append?.(R.value)]
|
|
837
|
-
}) : C(X, null, [e.appendIcon && P(
|
|
837
|
+
}) : C(X, null, [e.appendIcon && P(Q, {
|
|
838
838
|
key: "append-icon",
|
|
839
839
|
density: e.density,
|
|
840
840
|
icon: e.appendIcon
|
|
841
|
-
}, null), e.appendAvatar && P(
|
|
841
|
+
}, null), e.appendAvatar && P(J, {
|
|
842
842
|
key: "append-avatar",
|
|
843
843
|
density: e.density,
|
|
844
844
|
image: e.appendAvatar
|
|
845
845
|
}, null)]), C("div", {
|
|
846
846
|
class: "v-list-item__spacer"
|
|
847
847
|
}, null)])]
|
|
848
|
-
}), [[
|
|
848
|
+
}), [[W, O.value && Oe.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-BT-NXJyi.mjs.map
|