@dazhicheng/ui 1.5.160 → 1.5.161
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.
|
@@ -2,7 +2,7 @@ import { PropType } from 'vue';
|
|
|
2
2
|
import { Recordable } from '../../../../../../utils/src';
|
|
3
3
|
import { FieldEntry } from '../types/forms';
|
|
4
4
|
import { ArraySchemaContext, FormSchema } from '../types';
|
|
5
|
-
type ArraySchemaProp = FormSchema[] | ((entry: FieldEntry<Recordable>, currentIndex: number, ctx
|
|
5
|
+
type ArraySchemaProp = FormSchema[] | ((entry: FieldEntry<Recordable>, currentIndex: number, ctx: ArraySchemaContext) => FormSchema[]);
|
|
6
6
|
declare const FormArrayRegister: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
7
|
fieldName: {
|
|
8
8
|
type: PropType<string>;
|
package/dist/index.js
CHANGED
|
@@ -49326,7 +49326,7 @@ const tx = /* @__PURE__ */ be({
|
|
|
49326
49326
|
}), f = k(() => {
|
|
49327
49327
|
var p;
|
|
49328
49328
|
return (p = h.value) == null ? void 0 : p.arrayAction;
|
|
49329
|
-
}), A = An(new Proxy(
|
|
49329
|
+
}), A = An(new Proxy(u.value, {
|
|
49330
49330
|
/**
|
|
49331
49331
|
* @param _target 代理目标(空对象,不实际存储)
|
|
49332
49332
|
* @param key 属性名
|
|
@@ -49342,7 +49342,13 @@ const tx = /* @__PURE__ */ be({
|
|
|
49342
49342
|
* @returns 是否设置成功
|
|
49343
49343
|
*/
|
|
49344
49344
|
set(p, m, v) {
|
|
49345
|
-
return rt(u.value, m, v), c == null || c.validateField(m), !0;
|
|
49345
|
+
return rt(u.value, m, v), c == null || c.validateField(String(m)), !0;
|
|
49346
|
+
},
|
|
49347
|
+
ownKeys() {
|
|
49348
|
+
return Reflect.ownKeys(u.value);
|
|
49349
|
+
},
|
|
49350
|
+
getOwnPropertyDescriptor(p, m) {
|
|
49351
|
+
return Object.getOwnPropertyDescriptor(u.value, m);
|
|
49346
49352
|
}
|
|
49347
49353
|
}));
|
|
49348
49354
|
return a(o), Zi(l), () => {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dazhicheng/ui",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.161",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"sortablejs": "^1.15.7",
|
|
48
48
|
"vee-validate": "^4.15.1",
|
|
49
49
|
"zod": "^4.3.6",
|
|
50
|
-
"@dazhicheng/
|
|
51
|
-
"@dazhicheng/
|
|
50
|
+
"@dazhicheng/hooks": "1.4.39",
|
|
51
|
+
"@dazhicheng/utils": "1.3.38"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
54
|
"@element-plus/icons-vue": "^2.3.2",
|