@dazhicheng/ui 1.5.163 → 1.5.165
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/components/tt-form/src/form-render/array-register/FormArrayRegister.d.ts +34 -0
- package/dist/components/tt-form/src/form-render/array-register/index.d.ts +3 -0
- package/dist/components/tt-form/src/form-render/array-register/props.d.ts +44 -0
- package/dist/components/tt-form/src/form-render/array-register/types.d.ts +15 -0
- package/dist/components/tt-form/src/form-render/array-register/utils.d.ts +23 -0
- package/dist/components/tt-form/src/group-form/groupFormApi.d.ts +6 -0
- package/dist/components/tt-form/src/index.vue.d.ts +3 -3
- package/dist/components/tt-form/src/types.d.ts +30 -4
- package/dist/components/tt-modal/src/typing.d.ts +1 -1
- package/dist/index.js +6476 -6407
- package/package.json +1 -1
- package/dist/components/tt-form/src/form-render/FormArrayRegister.d.ts +0 -67
package/package.json
CHANGED
|
@@ -1,67 +0,0 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
2
|
-
import { Recordable } from '../../../../../../utils/src';
|
|
3
|
-
import { FieldEntry } from '../types/forms';
|
|
4
|
-
import { ArraySchemaContext, FormSchema } from '../types';
|
|
5
|
-
type ArraySchemaProp = FormSchema[] | ((entry: FieldEntry<Recordable>, currentIndex: number, ctx: ArraySchemaContext) => FormSchema[]);
|
|
6
|
-
declare const FormArrayRegister: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
7
|
-
fieldName: {
|
|
8
|
-
type: PropType<string>;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
arraySchema: {
|
|
12
|
-
type: PropType<ArraySchemaProp>;
|
|
13
|
-
default: () => FormSchema[];
|
|
14
|
-
};
|
|
15
|
-
formItemClass: {
|
|
16
|
-
type: PropType<NonNullable<FormSchema["formItemClass"]>>;
|
|
17
|
-
default: undefined;
|
|
18
|
-
};
|
|
19
|
-
rules: {
|
|
20
|
-
type: PropType<FormSchema["rules"]>;
|
|
21
|
-
default: undefined;
|
|
22
|
-
};
|
|
23
|
-
virtual: {
|
|
24
|
-
type: BooleanConstructor;
|
|
25
|
-
default: boolean;
|
|
26
|
-
};
|
|
27
|
-
/** useArraySchema 时:每一行数组项的外层容器 class(边框、间距等) */
|
|
28
|
-
wrapperClass: {
|
|
29
|
-
type: PropType<NonNullable<FormSchema["wrapperClass"]>>;
|
|
30
|
-
default: undefined;
|
|
31
|
-
};
|
|
32
|
-
}>, () => (import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
33
|
-
[key: string]: any;
|
|
34
|
-
}>[] | import("vue/jsx-runtime").JSX.Element | undefined)[], {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
35
|
-
fieldName: {
|
|
36
|
-
type: PropType<string>;
|
|
37
|
-
required: true;
|
|
38
|
-
};
|
|
39
|
-
arraySchema: {
|
|
40
|
-
type: PropType<ArraySchemaProp>;
|
|
41
|
-
default: () => FormSchema[];
|
|
42
|
-
};
|
|
43
|
-
formItemClass: {
|
|
44
|
-
type: PropType<NonNullable<FormSchema["formItemClass"]>>;
|
|
45
|
-
default: undefined;
|
|
46
|
-
};
|
|
47
|
-
rules: {
|
|
48
|
-
type: PropType<FormSchema["rules"]>;
|
|
49
|
-
default: undefined;
|
|
50
|
-
};
|
|
51
|
-
virtual: {
|
|
52
|
-
type: BooleanConstructor;
|
|
53
|
-
default: boolean;
|
|
54
|
-
};
|
|
55
|
-
/** useArraySchema 时:每一行数组项的外层容器 class(边框、间距等) */
|
|
56
|
-
wrapperClass: {
|
|
57
|
-
type: PropType<NonNullable<FormSchema["wrapperClass"]>>;
|
|
58
|
-
default: undefined;
|
|
59
|
-
};
|
|
60
|
-
}>> & Readonly<{}>, {
|
|
61
|
-
wrapperClass: string;
|
|
62
|
-
rules: import('../types').FormSchemaRuleType | undefined;
|
|
63
|
-
arraySchema: ArraySchemaProp;
|
|
64
|
-
formItemClass: NonNullable<string | (() => string) | undefined>;
|
|
65
|
-
virtual: boolean;
|
|
66
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
67
|
-
export { FormArrayRegister };
|