@vtj/ui 0.8.59 → 0.8.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +11 -4
- package/dist/index.umd.js +3 -3
- package/package.json +3 -3
- package/types/components/grid/Grid.d.ts +6 -0
- package/types/components/grid/hooks/useProps.d.ts +1 -1
- package/types/components/grid/props.d.ts +6 -0
- package/types/components/picker/Picker.d.ts +6 -0
- package/types/components/picker/props.d.ts +10 -13
- package/types/version.d.ts +2 -2
package/dist/index.mjs
CHANGED
|
@@ -8,10 +8,10 @@ import { useRouter as dd, RouterView as hb, useRoute as mm, routeLocationKey as
|
|
|
8
8
|
* Copyright (c) 2024, VTJ.PRO All rights reserved.
|
|
9
9
|
* @name @vtj/ui
|
|
10
10
|
* @author CHC chenhuachun1549@dingtalk.com
|
|
11
|
-
* @version 0.8.
|
|
11
|
+
* @version 0.8.61
|
|
12
12
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
13
13
|
*/
|
|
14
|
-
const mI = "0.8.
|
|
14
|
+
const mI = "0.8.61", gb = {
|
|
15
15
|
default: 14,
|
|
16
16
|
small: 12,
|
|
17
17
|
large: 18
|
|
@@ -22693,6 +22693,7 @@ function H7(e, t, n) {
|
|
|
22693
22693
|
return {
|
|
22694
22694
|
...r,
|
|
22695
22695
|
...o,
|
|
22696
|
+
id: e.id,
|
|
22696
22697
|
columnConfig: i,
|
|
22697
22698
|
rowConfig: a,
|
|
22698
22699
|
scrollY: s,
|
|
@@ -22796,7 +22797,7 @@ function U7(e, t) {
|
|
|
22796
22797
|
customable: l,
|
|
22797
22798
|
getCustom: i = o.getCustom,
|
|
22798
22799
|
saveCustom: a = o.saveCustom
|
|
22799
|
-
} = t, s = (y) => `X_Grid_${y
|
|
22800
|
+
} = t, s = (y) => t.id || `X_Grid_${y?.id || y?.$.uid}`, u = (y) => {
|
|
22800
22801
|
if (!l || !r)
|
|
22801
22802
|
return;
|
|
22802
22803
|
const x = y.column, C = Dl(x), M = x.renderWidth;
|
|
@@ -22825,7 +22826,7 @@ function U7(e, t) {
|
|
|
22825
22826
|
r.sort = M(C), a && a(r);
|
|
22826
22827
|
}, v = async (y) => {
|
|
22827
22828
|
const x = V(e);
|
|
22828
|
-
if (!l || !
|
|
22829
|
+
if (!l || !i) {
|
|
22829
22830
|
n.value = y;
|
|
22830
22831
|
return;
|
|
22831
22832
|
}
|
|
@@ -22943,6 +22944,12 @@ function q7(e, t, n) {
|
|
|
22943
22944
|
};
|
|
22944
22945
|
}
|
|
22945
22946
|
const X7 = {
|
|
22947
|
+
/**
|
|
22948
|
+
* 表格id,保存用户自定义配置时需要用到,唯一标识(被某些特定的功能所依赖)
|
|
22949
|
+
*/
|
|
22950
|
+
id: {
|
|
22951
|
+
type: String
|
|
22952
|
+
},
|
|
22946
22953
|
/**
|
|
22947
22954
|
* 列配置,重定义是为了实现列拖拽排序, watch列变化变化刷新列
|
|
22948
22955
|
*/
|