@tmagic/form 1.2.0-beta.8 → 1.2.0
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/style.css +1 -1
- package/dist/{tmagic-form.mjs → tmagic-form.js} +322 -126
- package/dist/tmagic-form.js.map +1 -0
- package/dist/{tmagic-form.umd.js → tmagic-form.umd.cjs} +321 -124
- package/dist/tmagic-form.umd.cjs.map +1 -0
- package/package.json +10 -8
- package/src/Form.vue +11 -3
- package/src/FormDialog.vue +3 -1
- package/src/containers/Col.vue +3 -1
- package/src/containers/Container.vue +12 -6
- package/src/containers/Fieldset.vue +4 -1
- package/src/containers/GroupList.vue +4 -2
- package/src/containers/GroupListItem.vue +8 -5
- package/src/containers/Panel.vue +4 -1
- package/src/containers/Row.vue +3 -1
- package/src/containers/Step.vue +3 -1
- package/src/containers/Table.vue +44 -18
- package/src/containers/Tabs.vue +9 -4
- package/src/fields/Cascader.vue +2 -2
- package/src/fields/Checkbox.vue +2 -2
- package/src/fields/CheckboxGroup.vue +8 -3
- package/src/fields/ColorPicker.vue +2 -2
- package/src/fields/Date.vue +3 -3
- package/src/fields/DateTime.vue +2 -2
- package/src/fields/Daterange.vue +2 -2
- package/src/fields/Display.vue +1 -1
- package/src/fields/DynamicField.vue +2 -2
- package/src/fields/Hidden.vue +1 -1
- package/src/fields/Link.vue +2 -2
- package/src/fields/Number.vue +2 -2
- package/src/fields/RadioGroup.vue +9 -5
- package/src/fields/Select.vue +63 -24
- package/src/fields/SelectOptionGroups.vue +1 -1
- package/src/fields/SelectOptions.vue +1 -1
- package/src/fields/Switch.vue +2 -2
- package/src/fields/Text.vue +2 -2
- package/src/fields/Textarea.vue +2 -2
- package/src/fields/Time.vue +4 -2
- package/src/schema.ts +18 -4
- package/src/theme/form.scss +1 -1
- package/src/utils/form.ts +9 -5
- package/types/Form.vue.d.ts +32 -170
- package/types/FormDialog.vue.d.ts +4 -0
- package/types/containers/Col.vue.d.ts +12 -74
- package/types/containers/Container.vue.d.ts +17 -95
- package/types/containers/Fieldset.vue.d.ts +15 -87
- package/types/containers/GroupList.vue.d.ts +11 -71
- package/types/containers/GroupListItem.vue.d.ts +12 -80
- package/types/containers/Panel.vue.d.ts +4 -0
- package/types/containers/Row.vue.d.ts +12 -74
- package/types/containers/Step.vue.d.ts +13 -79
- package/types/containers/Table.vue.d.ts +4 -0
- package/types/containers/Tabs.vue.d.ts +12 -74
- package/types/fields/Cascader.vue.d.ts +12 -78
- package/types/fields/Checkbox.vue.d.ts +12 -78
- package/types/fields/CheckboxGroup.vue.d.ts +12 -78
- package/types/fields/ColorPicker.vue.d.ts +12 -78
- package/types/fields/Date.vue.d.ts +12 -78
- package/types/fields/DateTime.vue.d.ts +12 -78
- package/types/fields/Daterange.vue.d.ts +12 -78
- package/types/fields/Display.vue.d.ts +9 -65
- package/types/fields/DynamicField.vue.d.ts +12 -78
- package/types/fields/Hidden.vue.d.ts +9 -65
- package/types/fields/Link.vue.d.ts +12 -78
- package/types/fields/Number.vue.d.ts +12 -81
- package/types/fields/RadioGroup.vue.d.ts +12 -78
- package/types/fields/Select.vue.d.ts +12 -79
- package/types/fields/SelectOptionGroups.vue.d.ts +4 -50
- package/types/fields/SelectOptions.vue.d.ts +5 -53
- package/types/fields/Switch.vue.d.ts +12 -78
- package/types/fields/Text.vue.d.ts +12 -81
- package/types/fields/Textarea.vue.d.ts +12 -81
- package/types/fields/Time.vue.d.ts +12 -78
- package/types/schema.d.ts +17 -4
- package/types/utils/form.d.ts +2 -1
- package/dist/tmagic-form.mjs.map +0 -1
- package/dist/tmagic-form.umd.js.map +0 -1
package/types/Form.vue.d.ts
CHANGED
|
@@ -1,167 +1,5 @@
|
|
|
1
1
|
import type { FormConfig, FormState, FormValue } from './schema';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
new (...args: any[]): {
|
|
4
|
-
$: import("vue").ComponentInternalInstance;
|
|
5
|
-
$data: {};
|
|
6
|
-
$props: Partial<{
|
|
7
|
-
config: FormConfig;
|
|
8
|
-
initValues: Object;
|
|
9
|
-
keyProp: string;
|
|
10
|
-
parentValues: Object;
|
|
11
|
-
labelWidth: string;
|
|
12
|
-
disabled: boolean;
|
|
13
|
-
stepActive: string | number;
|
|
14
|
-
height: string;
|
|
15
|
-
inline: boolean;
|
|
16
|
-
labelPosition: string;
|
|
17
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
18
|
-
config: FormConfig;
|
|
19
|
-
initValues: Object;
|
|
20
|
-
parentValues?: Object | undefined;
|
|
21
|
-
labelWidth?: string | undefined;
|
|
22
|
-
disabled?: boolean | undefined;
|
|
23
|
-
height?: string | undefined;
|
|
24
|
-
stepActive?: string | number | undefined;
|
|
25
|
-
size?: "small" | "default" | "large" | undefined;
|
|
26
|
-
inline?: boolean | undefined;
|
|
27
|
-
labelPosition?: string | undefined;
|
|
28
|
-
keyProp?: string | undefined;
|
|
29
|
-
popperClass?: string | undefined;
|
|
30
|
-
}>, {
|
|
31
|
-
config: () => never[];
|
|
32
|
-
initValues: () => {};
|
|
33
|
-
parentValues: () => {};
|
|
34
|
-
labelWidth: string;
|
|
35
|
-
disabled: boolean;
|
|
36
|
-
height: string;
|
|
37
|
-
stepActive: number;
|
|
38
|
-
inline: boolean;
|
|
39
|
-
labelPosition: string;
|
|
40
|
-
keyProp: string;
|
|
41
|
-
}>>> & {
|
|
42
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
43
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
44
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
45
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "config" | "initValues" | "keyProp" | "parentValues" | "labelWidth" | "disabled" | "stepActive" | "height" | "inline" | "labelPosition">;
|
|
46
|
-
$attrs: {
|
|
47
|
-
[x: string]: unknown;
|
|
48
|
-
};
|
|
49
|
-
$refs: {
|
|
50
|
-
[x: string]: unknown;
|
|
51
|
-
};
|
|
52
|
-
$slots: Readonly<{
|
|
53
|
-
[name: string]: import("vue").Slot | undefined;
|
|
54
|
-
}>;
|
|
55
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
56
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
57
|
-
$emit: (event: "change" | "field-input" | "field-change", ...args: any[]) => void;
|
|
58
|
-
$el: any;
|
|
59
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
60
|
-
config: FormConfig;
|
|
61
|
-
initValues: Object;
|
|
62
|
-
parentValues?: Object | undefined;
|
|
63
|
-
labelWidth?: string | undefined;
|
|
64
|
-
disabled?: boolean | undefined;
|
|
65
|
-
height?: string | undefined;
|
|
66
|
-
stepActive?: string | number | undefined;
|
|
67
|
-
size?: "small" | "default" | "large" | undefined;
|
|
68
|
-
inline?: boolean | undefined;
|
|
69
|
-
labelPosition?: string | undefined;
|
|
70
|
-
keyProp?: string | undefined;
|
|
71
|
-
popperClass?: string | undefined;
|
|
72
|
-
}>, {
|
|
73
|
-
config: () => never[];
|
|
74
|
-
initValues: () => {};
|
|
75
|
-
parentValues: () => {};
|
|
76
|
-
labelWidth: string;
|
|
77
|
-
disabled: boolean;
|
|
78
|
-
height: string;
|
|
79
|
-
stepActive: number;
|
|
80
|
-
inline: boolean;
|
|
81
|
-
labelPosition: string;
|
|
82
|
-
keyProp: string;
|
|
83
|
-
}>>> & {
|
|
84
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
85
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
86
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
87
|
-
}, {
|
|
88
|
-
values: import("vue").Ref<FormValue>;
|
|
89
|
-
formState: FormState;
|
|
90
|
-
initialized: import("vue").Ref<boolean>;
|
|
91
|
-
changeHandler: () => void;
|
|
92
|
-
resetForm: () => any;
|
|
93
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
94
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "field-input" | "field-change")[], string, {
|
|
95
|
-
config: FormConfig;
|
|
96
|
-
initValues: Object;
|
|
97
|
-
keyProp: string;
|
|
98
|
-
parentValues: Object;
|
|
99
|
-
labelWidth: string;
|
|
100
|
-
disabled: boolean;
|
|
101
|
-
stepActive: string | number;
|
|
102
|
-
height: string;
|
|
103
|
-
inline: boolean;
|
|
104
|
-
labelPosition: string;
|
|
105
|
-
}> & {
|
|
106
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
107
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
108
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
109
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
110
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
111
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
112
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
113
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
114
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
115
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
116
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
117
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
118
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
119
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
120
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
121
|
-
};
|
|
122
|
-
$forceUpdate: () => void;
|
|
123
|
-
$nextTick: typeof import("vue").nextTick;
|
|
124
|
-
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
125
|
-
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
126
|
-
config: FormConfig;
|
|
127
|
-
initValues: Object;
|
|
128
|
-
parentValues?: Object | undefined;
|
|
129
|
-
labelWidth?: string | undefined;
|
|
130
|
-
disabled?: boolean | undefined;
|
|
131
|
-
height?: string | undefined;
|
|
132
|
-
stepActive?: string | number | undefined;
|
|
133
|
-
size?: "small" | "default" | "large" | undefined;
|
|
134
|
-
inline?: boolean | undefined;
|
|
135
|
-
labelPosition?: string | undefined;
|
|
136
|
-
keyProp?: string | undefined;
|
|
137
|
-
popperClass?: string | undefined;
|
|
138
|
-
}>, {
|
|
139
|
-
config: () => never[];
|
|
140
|
-
initValues: () => {};
|
|
141
|
-
parentValues: () => {};
|
|
142
|
-
labelWidth: string;
|
|
143
|
-
disabled: boolean;
|
|
144
|
-
height: string;
|
|
145
|
-
stepActive: number;
|
|
146
|
-
inline: boolean;
|
|
147
|
-
labelPosition: string;
|
|
148
|
-
keyProp: string;
|
|
149
|
-
}>>> & {
|
|
150
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
151
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
152
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
153
|
-
} & import("vue").ShallowUnwrapRef<{
|
|
154
|
-
values: import("vue").Ref<FormValue>;
|
|
155
|
-
formState: FormState;
|
|
156
|
-
initialized: import("vue").Ref<boolean>;
|
|
157
|
-
changeHandler: () => void;
|
|
158
|
-
resetForm: () => any;
|
|
159
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
160
|
-
}> & {} & import("vue").ComponentCustomProperties;
|
|
161
|
-
__isFragment?: undefined;
|
|
162
|
-
__isTeleport?: undefined;
|
|
163
|
-
__isSuspense?: undefined;
|
|
164
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
165
3
|
config: FormConfig;
|
|
166
4
|
initValues: Object;
|
|
167
5
|
parentValues?: Object | undefined;
|
|
@@ -185,18 +23,42 @@ declare const _default: {
|
|
|
185
23
|
inline: boolean;
|
|
186
24
|
labelPosition: string;
|
|
187
25
|
keyProp: string;
|
|
188
|
-
}
|
|
189
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
190
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
191
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
192
|
-
}, {
|
|
26
|
+
}>, {
|
|
193
27
|
values: import("vue").Ref<FormValue>;
|
|
194
28
|
formState: FormState;
|
|
195
29
|
initialized: import("vue").Ref<boolean>;
|
|
196
30
|
changeHandler: () => void;
|
|
197
31
|
resetForm: () => any;
|
|
198
32
|
submitForm: (native?: boolean) => Promise<any>;
|
|
199
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "field-input" | "field-change")[], "change" | "field-input" | "field-change", {
|
|
33
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("change" | "field-input" | "field-change")[], "change" | "field-input" | "field-change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
34
|
+
config: FormConfig;
|
|
35
|
+
initValues: Object;
|
|
36
|
+
parentValues?: Object | undefined;
|
|
37
|
+
labelWidth?: string | undefined;
|
|
38
|
+
disabled?: boolean | undefined;
|
|
39
|
+
height?: string | undefined;
|
|
40
|
+
stepActive?: string | number | undefined;
|
|
41
|
+
size?: "small" | "default" | "large" | undefined;
|
|
42
|
+
inline?: boolean | undefined;
|
|
43
|
+
labelPosition?: string | undefined;
|
|
44
|
+
keyProp?: string | undefined;
|
|
45
|
+
popperClass?: string | undefined;
|
|
46
|
+
}>, {
|
|
47
|
+
config: () => never[];
|
|
48
|
+
initValues: () => {};
|
|
49
|
+
parentValues: () => {};
|
|
50
|
+
labelWidth: string;
|
|
51
|
+
disabled: boolean;
|
|
52
|
+
height: string;
|
|
53
|
+
stepActive: number;
|
|
54
|
+
inline: boolean;
|
|
55
|
+
labelPosition: string;
|
|
56
|
+
keyProp: string;
|
|
57
|
+
}>>> & {
|
|
58
|
+
onChange?: ((...args: any[]) => any) | undefined;
|
|
59
|
+
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
60
|
+
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
61
|
+
}, {
|
|
200
62
|
config: FormConfig;
|
|
201
63
|
initValues: Object;
|
|
202
64
|
keyProp: string;
|
|
@@ -207,7 +69,7 @@ declare const _default: {
|
|
|
207
69
|
height: string;
|
|
208
70
|
inline: boolean;
|
|
209
71
|
labelPosition: string;
|
|
210
|
-
}
|
|
72
|
+
}>;
|
|
211
73
|
export default _default;
|
|
212
74
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
213
75
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -14,6 +14,7 @@ declare const _default: {
|
|
|
14
14
|
width?: string | number | undefined;
|
|
15
15
|
labelWidth?: string | undefined;
|
|
16
16
|
fullscreen?: boolean | undefined;
|
|
17
|
+
disabled?: boolean | undefined;
|
|
17
18
|
title?: string | undefined;
|
|
18
19
|
zIndex?: number | undefined;
|
|
19
20
|
size?: "small" | "default" | "large" | undefined;
|
|
@@ -48,6 +49,7 @@ declare const _default: {
|
|
|
48
49
|
width?: string | number | undefined;
|
|
49
50
|
labelWidth?: string | undefined;
|
|
50
51
|
fullscreen?: boolean | undefined;
|
|
52
|
+
disabled?: boolean | undefined;
|
|
51
53
|
title?: string | undefined;
|
|
52
54
|
zIndex?: number | undefined;
|
|
53
55
|
size?: "small" | "default" | "large" | undefined;
|
|
@@ -360,6 +362,7 @@ declare const _default: {
|
|
|
360
362
|
width?: string | number | undefined;
|
|
361
363
|
labelWidth?: string | undefined;
|
|
362
364
|
fullscreen?: boolean | undefined;
|
|
365
|
+
disabled?: boolean | undefined;
|
|
363
366
|
title?: string | undefined;
|
|
364
367
|
zIndex?: number | undefined;
|
|
365
368
|
size?: "small" | "default" | "large" | undefined;
|
|
@@ -652,6 +655,7 @@ declare const _default: {
|
|
|
652
655
|
width?: string | number | undefined;
|
|
653
656
|
labelWidth?: string | undefined;
|
|
654
657
|
fullscreen?: boolean | undefined;
|
|
658
|
+
disabled?: boolean | undefined;
|
|
655
659
|
title?: string | undefined;
|
|
656
660
|
zIndex?: number | undefined;
|
|
657
661
|
size?: "small" | "default" | "large" | undefined;
|
|
@@ -1,77 +1,5 @@
|
|
|
1
1
|
import { ChildConfig } from '../schema';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
new (...args: any[]): {
|
|
4
|
-
$: import("vue").ComponentInternalInstance;
|
|
5
|
-
$data: {};
|
|
6
|
-
$props: Partial<{}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
7
|
-
model: any;
|
|
8
|
-
config: ChildConfig;
|
|
9
|
-
labelWidth?: string | undefined;
|
|
10
|
-
expandMore?: boolean | undefined;
|
|
11
|
-
span?: number | undefined;
|
|
12
|
-
size?: string | undefined;
|
|
13
|
-
prop?: string | undefined;
|
|
14
|
-
}>>> & {
|
|
15
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
16
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, never>;
|
|
17
|
-
$attrs: {
|
|
18
|
-
[x: string]: unknown;
|
|
19
|
-
};
|
|
20
|
-
$refs: {
|
|
21
|
-
[x: string]: unknown;
|
|
22
|
-
};
|
|
23
|
-
$slots: Readonly<{
|
|
24
|
-
[name: string]: import("vue").Slot | undefined;
|
|
25
|
-
}>;
|
|
26
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
27
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
28
|
-
$emit: (event: "change", ...args: any[]) => void;
|
|
29
|
-
$el: any;
|
|
30
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
31
|
-
model: any;
|
|
32
|
-
config: ChildConfig;
|
|
33
|
-
labelWidth?: string | undefined;
|
|
34
|
-
expandMore?: boolean | undefined;
|
|
35
|
-
span?: number | undefined;
|
|
36
|
-
size?: string | undefined;
|
|
37
|
-
prop?: string | undefined;
|
|
38
|
-
}>>> & {
|
|
39
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
40
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], string, {}> & {
|
|
41
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
42
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
43
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
44
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
45
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
46
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
47
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
48
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
49
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
50
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
51
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
52
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
54
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
55
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
56
|
-
};
|
|
57
|
-
$forceUpdate: () => void;
|
|
58
|
-
$nextTick: typeof import("vue").nextTick;
|
|
59
|
-
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
60
|
-
} & Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
61
|
-
model: any;
|
|
62
|
-
config: ChildConfig;
|
|
63
|
-
labelWidth?: string | undefined;
|
|
64
|
-
expandMore?: boolean | undefined;
|
|
65
|
-
span?: number | undefined;
|
|
66
|
-
size?: string | undefined;
|
|
67
|
-
prop?: string | undefined;
|
|
68
|
-
}>>> & {
|
|
69
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
70
|
-
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
71
|
-
__isFragment?: undefined;
|
|
72
|
-
__isTeleport?: undefined;
|
|
73
|
-
__isSuspense?: undefined;
|
|
74
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
75
3
|
model: any;
|
|
76
4
|
config: ChildConfig;
|
|
77
5
|
labelWidth?: string | undefined;
|
|
@@ -79,9 +7,19 @@ declare const _default: {
|
|
|
79
7
|
span?: number | undefined;
|
|
80
8
|
size?: string | undefined;
|
|
81
9
|
prop?: string | undefined;
|
|
10
|
+
disabled?: boolean | undefined;
|
|
11
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
12
|
+
model: any;
|
|
13
|
+
config: ChildConfig;
|
|
14
|
+
labelWidth?: string | undefined;
|
|
15
|
+
expandMore?: boolean | undefined;
|
|
16
|
+
span?: number | undefined;
|
|
17
|
+
size?: string | undefined;
|
|
18
|
+
prop?: string | undefined;
|
|
19
|
+
disabled?: boolean | undefined;
|
|
82
20
|
}>>> & {
|
|
83
21
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
84
|
-
}, {}
|
|
22
|
+
}, {}>;
|
|
85
23
|
export default _default;
|
|
86
24
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
87
25
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,100 +1,22 @@
|
|
|
1
1
|
import { ChildConfig, FormValue } from '../schema';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
new (...args: any[]): {
|
|
4
|
-
$: import("vue").ComponentInternalInstance;
|
|
5
|
-
$data: {};
|
|
6
|
-
$props: Partial<{
|
|
7
|
-
prop: string;
|
|
8
|
-
expandMore: boolean;
|
|
9
|
-
size: string;
|
|
10
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
11
|
-
model: FormValue;
|
|
12
|
-
config: ChildConfig;
|
|
13
|
-
prop?: string | undefined;
|
|
14
|
-
labelWidth?: string | undefined;
|
|
15
|
-
expandMore?: boolean | undefined;
|
|
16
|
-
stepActive?: string | number | undefined;
|
|
17
|
-
size?: string | undefined;
|
|
18
|
-
}>, {
|
|
19
|
-
prop: string;
|
|
20
|
-
size: string;
|
|
21
|
-
expandMore: boolean;
|
|
22
|
-
}>>> & {
|
|
23
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
24
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "prop" | "expandMore" | "size">;
|
|
25
|
-
$attrs: {
|
|
26
|
-
[x: string]: unknown;
|
|
27
|
-
};
|
|
28
|
-
$refs: {
|
|
29
|
-
[x: string]: unknown;
|
|
30
|
-
};
|
|
31
|
-
$slots: Readonly<{
|
|
32
|
-
[name: string]: import("vue").Slot | undefined;
|
|
33
|
-
}>;
|
|
34
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
35
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
36
|
-
$emit: (event: "change", ...args: any[]) => void;
|
|
37
|
-
$el: any;
|
|
38
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
39
|
-
model: FormValue;
|
|
40
|
-
config: ChildConfig;
|
|
41
|
-
prop?: string | undefined;
|
|
42
|
-
labelWidth?: string | undefined;
|
|
43
|
-
expandMore?: boolean | undefined;
|
|
44
|
-
stepActive?: string | number | undefined;
|
|
45
|
-
size?: string | undefined;
|
|
46
|
-
}>, {
|
|
47
|
-
prop: string;
|
|
48
|
-
size: string;
|
|
49
|
-
expandMore: boolean;
|
|
50
|
-
}>>> & {
|
|
51
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
52
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], string, {
|
|
53
|
-
prop: string;
|
|
54
|
-
expandMore: boolean;
|
|
55
|
-
size: string;
|
|
56
|
-
}> & {
|
|
57
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
58
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
59
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
60
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
61
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
62
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
63
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
64
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
65
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
66
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
67
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
68
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
69
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
70
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
71
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
72
|
-
};
|
|
73
|
-
$forceUpdate: () => void;
|
|
74
|
-
$nextTick: typeof import("vue").nextTick;
|
|
75
|
-
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
76
|
-
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
77
|
-
model: FormValue;
|
|
78
|
-
config: ChildConfig;
|
|
79
|
-
prop?: string | undefined;
|
|
80
|
-
labelWidth?: string | undefined;
|
|
81
|
-
expandMore?: boolean | undefined;
|
|
82
|
-
stepActive?: string | number | undefined;
|
|
83
|
-
size?: string | undefined;
|
|
84
|
-
}>, {
|
|
85
|
-
prop: string;
|
|
86
|
-
size: string;
|
|
87
|
-
expandMore: boolean;
|
|
88
|
-
}>>> & {
|
|
89
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
90
|
-
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
91
|
-
__isFragment?: undefined;
|
|
92
|
-
__isTeleport?: undefined;
|
|
93
|
-
__isSuspense?: undefined;
|
|
94
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
95
3
|
model: FormValue;
|
|
96
4
|
config: ChildConfig;
|
|
97
5
|
prop?: string | undefined;
|
|
6
|
+
disabled?: boolean | undefined;
|
|
7
|
+
labelWidth?: string | undefined;
|
|
8
|
+
expandMore?: boolean | undefined;
|
|
9
|
+
stepActive?: string | number | undefined;
|
|
10
|
+
size?: string | undefined;
|
|
11
|
+
}>, {
|
|
12
|
+
prop: string;
|
|
13
|
+
size: string;
|
|
14
|
+
expandMore: boolean;
|
|
15
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
16
|
+
model: FormValue;
|
|
17
|
+
config: ChildConfig;
|
|
18
|
+
prop?: string | undefined;
|
|
19
|
+
disabled?: boolean | undefined;
|
|
98
20
|
labelWidth?: string | undefined;
|
|
99
21
|
expandMore?: boolean | undefined;
|
|
100
22
|
stepActive?: string | number | undefined;
|
|
@@ -105,11 +27,11 @@ declare const _default: {
|
|
|
105
27
|
expandMore: boolean;
|
|
106
28
|
}>>> & {
|
|
107
29
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
108
|
-
}, {
|
|
30
|
+
}, {
|
|
109
31
|
prop: string;
|
|
110
32
|
expandMore: boolean;
|
|
111
33
|
size: string;
|
|
112
|
-
}
|
|
34
|
+
}>;
|
|
113
35
|
export default _default;
|
|
114
36
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
115
37
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|
|
@@ -1,104 +1,32 @@
|
|
|
1
1
|
import { FieldsetConfig } from '../schema';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
new (...args: any[]): {
|
|
4
|
-
$: import("vue").ComponentInternalInstance;
|
|
5
|
-
$data: {};
|
|
6
|
-
$props: Partial<{
|
|
7
|
-
rules: any;
|
|
8
|
-
prop: string;
|
|
9
|
-
}> & Omit<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
10
|
-
labelWidth?: string | undefined;
|
|
11
|
-
prop: string;
|
|
12
|
-
size?: string | undefined;
|
|
13
|
-
model: Record<string, any>;
|
|
14
|
-
config: FieldsetConfig;
|
|
15
|
-
rules?: any;
|
|
16
|
-
}>, {
|
|
17
|
-
rules: {};
|
|
18
|
-
prop: string;
|
|
19
|
-
}>>> & {
|
|
20
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
21
|
-
} & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "rules" | "prop">;
|
|
22
|
-
$attrs: {
|
|
23
|
-
[x: string]: unknown;
|
|
24
|
-
};
|
|
25
|
-
$refs: {
|
|
26
|
-
[x: string]: unknown;
|
|
27
|
-
};
|
|
28
|
-
$slots: Readonly<{
|
|
29
|
-
[name: string]: import("vue").Slot | undefined;
|
|
30
|
-
}>;
|
|
31
|
-
$root: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
32
|
-
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null;
|
|
33
|
-
$emit: (event: "change", ...args: any[]) => void;
|
|
34
|
-
$el: any;
|
|
35
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
36
|
-
labelWidth?: string | undefined;
|
|
37
|
-
prop: string;
|
|
38
|
-
size?: string | undefined;
|
|
39
|
-
model: Record<string, any>;
|
|
40
|
-
config: FieldsetConfig;
|
|
41
|
-
rules?: any;
|
|
42
|
-
}>, {
|
|
43
|
-
rules: {};
|
|
44
|
-
prop: string;
|
|
45
|
-
}>>> & {
|
|
46
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
47
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], string, {
|
|
48
|
-
rules: any;
|
|
49
|
-
prop: string;
|
|
50
|
-
}> & {
|
|
51
|
-
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
52
|
-
created?: ((() => void) | (() => void)[]) | undefined;
|
|
53
|
-
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
54
|
-
mounted?: ((() => void) | (() => void)[]) | undefined;
|
|
55
|
-
beforeUpdate?: ((() => void) | (() => void)[]) | undefined;
|
|
56
|
-
updated?: ((() => void) | (() => void)[]) | undefined;
|
|
57
|
-
activated?: ((() => void) | (() => void)[]) | undefined;
|
|
58
|
-
deactivated?: ((() => void) | (() => void)[]) | undefined;
|
|
59
|
-
beforeDestroy?: ((() => void) | (() => void)[]) | undefined;
|
|
60
|
-
beforeUnmount?: ((() => void) | (() => void)[]) | undefined;
|
|
61
|
-
destroyed?: ((() => void) | (() => void)[]) | undefined;
|
|
62
|
-
unmounted?: ((() => void) | (() => void)[]) | undefined;
|
|
63
|
-
renderTracked?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
64
|
-
renderTriggered?: (((e: import("vue").DebuggerEvent) => void) | ((e: import("vue").DebuggerEvent) => void)[]) | undefined;
|
|
65
|
-
errorCaptured?: (((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void) | ((err: unknown, instance: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}>> | null, info: string) => boolean | void)[]) | undefined;
|
|
66
|
-
};
|
|
67
|
-
$forceUpdate: () => void;
|
|
68
|
-
$nextTick: typeof import("vue").nextTick;
|
|
69
|
-
$watch(source: string | Function, cb: Function, options?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
70
|
-
} & Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
71
|
-
labelWidth?: string | undefined;
|
|
72
|
-
prop: string;
|
|
73
|
-
size?: string | undefined;
|
|
74
|
-
model: Record<string, any>;
|
|
75
|
-
config: FieldsetConfig;
|
|
76
|
-
rules?: any;
|
|
77
|
-
}>, {
|
|
78
|
-
rules: {};
|
|
79
|
-
prop: string;
|
|
80
|
-
}>>> & {
|
|
81
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
82
|
-
} & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties;
|
|
83
|
-
__isFragment?: undefined;
|
|
84
|
-
__isTeleport?: undefined;
|
|
85
|
-
__isSuspense?: undefined;
|
|
86
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
87
3
|
labelWidth?: string | undefined;
|
|
88
4
|
prop: string;
|
|
89
5
|
size?: string | undefined;
|
|
90
6
|
model: Record<string, any>;
|
|
91
7
|
config: FieldsetConfig;
|
|
92
8
|
rules?: any;
|
|
9
|
+
disabled?: boolean | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
rules: {};
|
|
12
|
+
prop: string;
|
|
13
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "change"[], "change", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
14
|
+
labelWidth?: string | undefined;
|
|
15
|
+
prop: string;
|
|
16
|
+
size?: string | undefined;
|
|
17
|
+
model: Record<string, any>;
|
|
18
|
+
config: FieldsetConfig;
|
|
19
|
+
rules?: any;
|
|
20
|
+
disabled?: boolean | undefined;
|
|
93
21
|
}>, {
|
|
94
22
|
rules: {};
|
|
95
23
|
prop: string;
|
|
96
24
|
}>>> & {
|
|
97
25
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
98
|
-
}, {
|
|
26
|
+
}, {
|
|
99
27
|
rules: any;
|
|
100
28
|
prop: string;
|
|
101
|
-
}
|
|
29
|
+
}>;
|
|
102
30
|
export default _default;
|
|
103
31
|
declare type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
104
32
|
declare type __VLS_TypePropsToRuntimeProps<T> = {
|