@vtj/ui 0.8.79 → 0.8.80
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 -11
- package/dist/index.umd.js +3 -3
- package/package.json +3 -3
- package/types/version.d.ts +2 -2
package/dist/index.mjs
CHANGED
|
@@ -8,10 +8,10 @@ import { useRouter as gd, RouterView as Sb, useRoute as Th, 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.80
|
|
12
12
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
13
13
|
*/
|
|
14
|
-
const AI = "0.8.
|
|
14
|
+
const AI = "0.8.80", Ob = {
|
|
15
15
|
default: 14,
|
|
16
16
|
small: 12,
|
|
17
17
|
large: 18
|
|
@@ -23025,22 +23025,22 @@ function m7(e = []) {
|
|
|
23025
23025
|
return Object.keys(t).filter((n) => !e.includes(n));
|
|
23026
23026
|
}
|
|
23027
23027
|
function Vs(e, t) {
|
|
23028
|
-
const { row: n, column: o } = t, r = Z({
|
|
23028
|
+
const { row: n, column: o } = t, { props: r = {}, events: l = {} } = e, { parser: i, stringify: a } = r, s = Z({
|
|
23029
23029
|
get() {
|
|
23030
|
-
return n[o.field];
|
|
23030
|
+
return i ? i(n[o.field]) : n[o.field];
|
|
23031
23031
|
},
|
|
23032
|
-
set(
|
|
23033
|
-
n[o.field] =
|
|
23032
|
+
set(m) {
|
|
23033
|
+
n[o.field] = a ? a(m) : m;
|
|
23034
23034
|
}
|
|
23035
|
-
})
|
|
23035
|
+
});
|
|
23036
23036
|
return {
|
|
23037
|
-
renderProps: Lu(
|
|
23038
|
-
renderEvents:
|
|
23039
|
-
cellValue:
|
|
23037
|
+
renderProps: Lu(r) ? r({ row: n, column: o, cellValue: s }) : r,
|
|
23038
|
+
renderEvents: l,
|
|
23039
|
+
cellValue: s,
|
|
23040
23040
|
row: n,
|
|
23041
23041
|
column: o,
|
|
23042
23042
|
onChange: () => {
|
|
23043
|
-
t.$grid?.updateStatus(t,
|
|
23043
|
+
t.$grid?.updateStatus(t, s.value);
|
|
23044
23044
|
}
|
|
23045
23045
|
};
|
|
23046
23046
|
}
|