@vtj/ui 0.8.152 → 0.8.153
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 +357 -351
- package/dist/index.umd.js +3 -3
- package/package.json +3 -3
- package/types/components/attachment/Attachment.d.ts +2 -116
- package/types/components/dialog/Dialog.d.ts +1 -38
- package/types/components/dialog-form/DialogForm.d.ts +3 -174
- package/types/components/dialog-grid/DialogGrid.d.ts +3 -223
- package/types/components/field/Field.d.ts +2 -35
- package/types/components/form/Form.d.ts +2 -36
- package/types/components/mask/Mask.d.ts +2 -8
- package/types/components/panel/Panel.d.ts +2 -69
- package/types/components/query-form/QueryForm.d.ts +4 -106
- package/types/version.d.ts +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComputedRef, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps,
|
|
1
|
+
import { ComputedRef, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, Ref, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, VNode, PublicProps, RendererNode, RendererElement } from 'vue';
|
|
2
2
|
import { FieldEditorProps, FieldOption, FieldOptionsLoader } from './types';
|
|
3
3
|
import { BaseSize } from '../../';
|
|
4
4
|
import { EpPropMergeType, EpPropFinalized } from 'element-plus/es/utils/index.mjs';
|
|
@@ -45,40 +45,7 @@ declare function __VLS_template(): {
|
|
|
45
45
|
readonly rules?: EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown> | undefined;
|
|
46
46
|
readonly validateStatus?: EpPropMergeType<StringConstructor, "" | "success" | "error" | "validating", unknown> | undefined;
|
|
47
47
|
readonly for?: string | undefined;
|
|
48
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps
|
|
49
|
-
readonly label: StringConstructor;
|
|
50
|
-
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
51
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "" | "top" | "left" | "right", unknown, "", boolean>;
|
|
52
|
-
readonly prop: {
|
|
53
|
-
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => FormItemProp & {}) | (() => FormItemProp) | ((new (...args: any[]) => FormItemProp & {}) | (() => FormItemProp))[], unknown, unknown>>;
|
|
54
|
-
readonly required: false;
|
|
55
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
56
|
-
__epPropKey: true;
|
|
57
|
-
};
|
|
58
|
-
readonly required: EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
59
|
-
readonly rules: {
|
|
60
|
-
readonly type: PropType<EpPropMergeType<(new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>) | ((new (...args: any[]) => FormItemRule | FormItemRule[]) | (() => Arrayable<FormItemRule>))[], unknown, unknown>>;
|
|
61
|
-
readonly required: false;
|
|
62
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
63
|
-
__epPropKey: true;
|
|
64
|
-
};
|
|
65
|
-
readonly error: StringConstructor;
|
|
66
|
-
readonly validateStatus: {
|
|
67
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "error" | "success" | "validating", unknown>>;
|
|
68
|
-
readonly required: false;
|
|
69
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
70
|
-
__epPropKey: true;
|
|
71
|
-
};
|
|
72
|
-
readonly for: StringConstructor;
|
|
73
|
-
readonly inlineMessage: EpPropFinalized<readonly [StringConstructor, BooleanConstructor], unknown, unknown, "", boolean>;
|
|
74
|
-
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
75
|
-
readonly size: {
|
|
76
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
77
|
-
readonly required: false;
|
|
78
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
79
|
-
__epPropKey: true;
|
|
80
|
-
};
|
|
81
|
-
}>>, "required" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage">;
|
|
48
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "required" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage">;
|
|
82
49
|
$attrs: {
|
|
83
50
|
[x: string]: unknown;
|
|
84
51
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FormModel } from './types';
|
|
2
|
-
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps,
|
|
2
|
+
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, Ref, PublicProps } from 'vue';
|
|
3
3
|
import { EpPropMergeType, EpPropFinalized } from 'element-plus/es/utils/index.mjs';
|
|
4
4
|
import { Arrayable } from 'element-plus/es/utils/typescript.mjs';
|
|
5
5
|
import { FormItemRule, FormItemProp, FormValidateCallback, FormValidationResult, FormItemContext, ElTooltipProps } from 'element-plus';
|
|
@@ -45,41 +45,7 @@ declare function __VLS_template(): {
|
|
|
45
45
|
readonly model?: Record<string, any> | undefined;
|
|
46
46
|
readonly scrollIntoViewOptions?: EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown> | undefined;
|
|
47
47
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
48
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps
|
|
49
|
-
readonly model: ObjectConstructor;
|
|
50
|
-
readonly rules: {
|
|
51
|
-
readonly type: PropType<Partial<Record<string, Arrayable<FormItemRule>>>>;
|
|
52
|
-
readonly required: false;
|
|
53
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
54
|
-
__epPropKey: true;
|
|
55
|
-
};
|
|
56
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
57
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
58
|
-
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
59
|
-
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
60
|
-
readonly inline: BooleanConstructor;
|
|
61
|
-
readonly inlineMessage: BooleanConstructor;
|
|
62
|
-
readonly statusIcon: BooleanConstructor;
|
|
63
|
-
readonly showMessage: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
64
|
-
readonly validateOnRuleChange: EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
65
|
-
readonly hideRequiredAsterisk: BooleanConstructor;
|
|
66
|
-
readonly scrollToError: BooleanConstructor;
|
|
67
|
-
readonly scrollIntoViewOptions: {
|
|
68
|
-
readonly type: PropType<EpPropMergeType<readonly [ObjectConstructor, BooleanConstructor], unknown, unknown>>;
|
|
69
|
-
readonly required: false;
|
|
70
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
71
|
-
__epPropKey: true;
|
|
72
|
-
};
|
|
73
|
-
readonly size: {
|
|
74
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "small" | "default" | "large", unknown>>;
|
|
75
|
-
readonly required: false;
|
|
76
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
77
|
-
__epPropKey: true;
|
|
78
|
-
};
|
|
79
|
-
readonly disabled: BooleanConstructor;
|
|
80
|
-
}>> & {
|
|
81
|
-
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
82
|
-
}, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
|
|
48
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "disabled" | "inline" | "labelWidth" | "labelPosition" | "inlineMessage" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "statusIcon" | "validateOnRuleChange" | "hideRequiredAsterisk" | "scrollToError">;
|
|
83
49
|
$attrs: {
|
|
84
50
|
[x: string]: unknown;
|
|
85
51
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ActionMenuItem } from '../';
|
|
2
2
|
import { MaskTab } from './types';
|
|
3
|
-
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin,
|
|
3
|
+
import { CreateComponentPublicInstanceWithMixins, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DefineComponent, ExtractPropTypes, PropType } from 'vue';
|
|
4
4
|
import { Props } from './components/Tabs';
|
|
5
5
|
import { MenuDataItem } from '../menu';
|
|
6
6
|
import { ActionBarItems } from '../action-bar';
|
|
@@ -29,13 +29,7 @@ declare function __VLS_template(): {
|
|
|
29
29
|
remove: (tab: MaskTab) => any;
|
|
30
30
|
refresh: (tab: MaskTab) => any;
|
|
31
31
|
toggleFavorite: (item: MenuDataItem) => any;
|
|
32
|
-
},
|
|
33
|
-
onDialog?: ((tab: MaskTab) => any) | undefined;
|
|
34
|
-
onClick?: ((tab: MaskTab) => any) | undefined;
|
|
35
|
-
onRemove?: ((tab: MaskTab) => any) | undefined;
|
|
36
|
-
onRefresh?: ((tab: MaskTab) => any) | undefined;
|
|
37
|
-
onToggleFavorite?: ((item: MenuDataItem) => any) | undefined;
|
|
38
|
-
}>, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
32
|
+
}, PublicProps, {}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
39
33
|
P: {};
|
|
40
34
|
B: {};
|
|
41
35
|
D: {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps,
|
|
1
|
+
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComputedRef, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, Ref, PublicProps } from 'vue';
|
|
2
2
|
import { ContainerWrap, ContainerDirection, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent, ContainerProps } from '../container';
|
|
3
3
|
import { OnCleanup } from '@vue/reactivity';
|
|
4
4
|
import { BaseSize } from '../shared';
|
|
@@ -50,74 +50,7 @@ declare function __VLS_template(): {
|
|
|
50
50
|
readonly width?: string | number | undefined;
|
|
51
51
|
readonly height?: string | number | undefined;
|
|
52
52
|
readonly overflow?: "hidden" | "visible" | "auto" | undefined;
|
|
53
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps
|
|
54
|
-
tag: {
|
|
55
|
-
type: StringConstructor;
|
|
56
|
-
default: string;
|
|
57
|
-
};
|
|
58
|
-
fit: {
|
|
59
|
-
type: BooleanConstructor;
|
|
60
|
-
default: boolean;
|
|
61
|
-
};
|
|
62
|
-
width: {
|
|
63
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
64
|
-
};
|
|
65
|
-
height: {
|
|
66
|
-
type: (StringConstructor | NumberConstructor)[];
|
|
67
|
-
};
|
|
68
|
-
flex: {
|
|
69
|
-
type: BooleanConstructor;
|
|
70
|
-
default: boolean;
|
|
71
|
-
};
|
|
72
|
-
inline: {
|
|
73
|
-
type: BooleanConstructor;
|
|
74
|
-
};
|
|
75
|
-
direction: {
|
|
76
|
-
type: PropType<ContainerDirection>;
|
|
77
|
-
default: string;
|
|
78
|
-
};
|
|
79
|
-
wrap: {
|
|
80
|
-
type: PropType<ContainerWrap>;
|
|
81
|
-
default: string;
|
|
82
|
-
};
|
|
83
|
-
justify: {
|
|
84
|
-
type: PropType<ContainerJustifyContent>;
|
|
85
|
-
default: string;
|
|
86
|
-
};
|
|
87
|
-
align: {
|
|
88
|
-
type: PropType<ContainerAlignItems>;
|
|
89
|
-
default: string;
|
|
90
|
-
};
|
|
91
|
-
alignContent: {
|
|
92
|
-
type: PropType<ContainerAlignContent>;
|
|
93
|
-
default: string;
|
|
94
|
-
};
|
|
95
|
-
grow: {
|
|
96
|
-
type: BooleanConstructor;
|
|
97
|
-
default: boolean;
|
|
98
|
-
};
|
|
99
|
-
shrink: {
|
|
100
|
-
type: BooleanConstructor;
|
|
101
|
-
default: boolean;
|
|
102
|
-
};
|
|
103
|
-
alignSelf: {
|
|
104
|
-
type: PropType<"auto" | ContainerAlignItems>;
|
|
105
|
-
default: string;
|
|
106
|
-
};
|
|
107
|
-
overflow: {
|
|
108
|
-
type: PropType<"auto" | "hidden" | "visible">;
|
|
109
|
-
};
|
|
110
|
-
padding: {
|
|
111
|
-
type: BooleanConstructor;
|
|
112
|
-
default: boolean;
|
|
113
|
-
};
|
|
114
|
-
gap: {
|
|
115
|
-
type: BooleanConstructor;
|
|
116
|
-
};
|
|
117
|
-
autoPointer: {
|
|
118
|
-
type: BooleanConstructor;
|
|
119
|
-
};
|
|
120
|
-
}>> & Readonly<{}>, "padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer">;
|
|
53
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer">;
|
|
121
54
|
$attrs: {
|
|
122
55
|
[x: string]: unknown;
|
|
123
56
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps,
|
|
1
|
+
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, Ref, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, DefineComponent, PublicProps } from 'vue';
|
|
2
2
|
import { ElTooltipProps } from 'element-plus';
|
|
3
3
|
import { FormModel } from '../form';
|
|
4
4
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -30,41 +30,7 @@ declare function __VLS_template(): {
|
|
|
30
30
|
readonly onReset?: (() => any) | undefined;
|
|
31
31
|
readonly onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
|
32
32
|
readonly onChange?: ((model: Record<string, any>) => any) | undefined;
|
|
33
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps
|
|
34
|
-
model: {
|
|
35
|
-
type: PropType<Record<string, any>>;
|
|
36
|
-
default(): any;
|
|
37
|
-
};
|
|
38
|
-
inline: {
|
|
39
|
-
type: BooleanConstructor;
|
|
40
|
-
};
|
|
41
|
-
inlineColumns: {
|
|
42
|
-
type: NumberConstructor;
|
|
43
|
-
};
|
|
44
|
-
footer: {
|
|
45
|
-
type: BooleanConstructor;
|
|
46
|
-
default: boolean;
|
|
47
|
-
};
|
|
48
|
-
submitText: {
|
|
49
|
-
type: PropType<string | null>;
|
|
50
|
-
default: string;
|
|
51
|
-
};
|
|
52
|
-
resetText: {
|
|
53
|
-
type: PropType<string | null>;
|
|
54
|
-
default: string;
|
|
55
|
-
};
|
|
56
|
-
submitMethod: {
|
|
57
|
-
type: PropType<(model: FormModel) => Promise<any>>;
|
|
58
|
-
};
|
|
59
|
-
tooltipMessage: {
|
|
60
|
-
type: PropType<boolean | Partial< ElTooltipProps>>;
|
|
61
|
-
default: undefined;
|
|
62
|
-
};
|
|
63
|
-
}>> & Readonly<{
|
|
64
|
-
onReset?: (() => any) | undefined;
|
|
65
|
-
onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
|
66
|
-
onChange?: ((model: Record<string, any>) => any) | undefined;
|
|
67
|
-
}>, "footer" | "inline" | "tooltipMessage" | "model" | "submitText" | "resetText">;
|
|
33
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "footer" | "inline" | "tooltipMessage" | "model" | "submitText" | "resetText">;
|
|
68
34
|
$attrs: {
|
|
69
35
|
[x: string]: unknown;
|
|
70
36
|
};
|
|
@@ -252,41 +218,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
252
218
|
readonly onReset?: (() => any) | undefined;
|
|
253
219
|
readonly onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
|
254
220
|
readonly onChange?: ((model: Record<string, any>) => any) | undefined;
|
|
255
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps
|
|
256
|
-
model: {
|
|
257
|
-
type: PropType<Record<string, any>>;
|
|
258
|
-
default(): any;
|
|
259
|
-
};
|
|
260
|
-
inline: {
|
|
261
|
-
type: BooleanConstructor;
|
|
262
|
-
};
|
|
263
|
-
inlineColumns: {
|
|
264
|
-
type: NumberConstructor;
|
|
265
|
-
};
|
|
266
|
-
footer: {
|
|
267
|
-
type: BooleanConstructor;
|
|
268
|
-
default: boolean;
|
|
269
|
-
};
|
|
270
|
-
submitText: {
|
|
271
|
-
type: PropType<string | null>;
|
|
272
|
-
default: string;
|
|
273
|
-
};
|
|
274
|
-
resetText: {
|
|
275
|
-
type: PropType<string | null>;
|
|
276
|
-
default: string;
|
|
277
|
-
};
|
|
278
|
-
submitMethod: {
|
|
279
|
-
type: PropType<(model: FormModel) => Promise<any>>;
|
|
280
|
-
};
|
|
281
|
-
tooltipMessage: {
|
|
282
|
-
type: PropType<boolean | Partial< ElTooltipProps>>;
|
|
283
|
-
default: undefined;
|
|
284
|
-
};
|
|
285
|
-
}>> & Readonly<{
|
|
286
|
-
onReset?: (() => any) | undefined;
|
|
287
|
-
onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
|
288
|
-
onChange?: ((model: Record<string, any>) => any) | undefined;
|
|
289
|
-
}>, "footer" | "inline" | "tooltipMessage" | "model" | "submitText" | "resetText">;
|
|
221
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "footer" | "inline" | "tooltipMessage" | "model" | "submitText" | "resetText">;
|
|
290
222
|
$attrs: {
|
|
291
223
|
[x: string]: unknown;
|
|
292
224
|
};
|
|
@@ -449,41 +381,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
449
381
|
readonly onReset?: (() => any) | undefined;
|
|
450
382
|
readonly onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
|
451
383
|
readonly onChange?: ((model: Record<string, any>) => any) | undefined;
|
|
452
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps
|
|
453
|
-
model: {
|
|
454
|
-
type: PropType<Record<string, any>>;
|
|
455
|
-
default(): any;
|
|
456
|
-
};
|
|
457
|
-
inline: {
|
|
458
|
-
type: BooleanConstructor;
|
|
459
|
-
};
|
|
460
|
-
inlineColumns: {
|
|
461
|
-
type: NumberConstructor;
|
|
462
|
-
};
|
|
463
|
-
footer: {
|
|
464
|
-
type: BooleanConstructor;
|
|
465
|
-
default: boolean;
|
|
466
|
-
};
|
|
467
|
-
submitText: {
|
|
468
|
-
type: PropType<string | null>;
|
|
469
|
-
default: string;
|
|
470
|
-
};
|
|
471
|
-
resetText: {
|
|
472
|
-
type: PropType<string | null>;
|
|
473
|
-
default: string;
|
|
474
|
-
};
|
|
475
|
-
submitMethod: {
|
|
476
|
-
type: PropType<(model: FormModel) => Promise<any>>;
|
|
477
|
-
};
|
|
478
|
-
tooltipMessage: {
|
|
479
|
-
type: PropType<boolean | Partial< ElTooltipProps>>;
|
|
480
|
-
default: undefined;
|
|
481
|
-
};
|
|
482
|
-
}>> & Readonly<{
|
|
483
|
-
onReset?: (() => any) | undefined;
|
|
484
|
-
onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
|
485
|
-
onChange?: ((model: Record<string, any>) => any) | undefined;
|
|
486
|
-
}>, "footer" | "inline" | "tooltipMessage" | "model" | "submitText" | "resetText">;
|
|
384
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "footer" | "inline" | "tooltipMessage" | "model" | "submitText" | "resetText">;
|
|
487
385
|
$attrs: {
|
|
488
386
|
[x: string]: unknown;
|
|
489
387
|
};
|
package/types/version.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2024, VTJ.PRO All rights reserved.
|
|
3
3
|
* @name @vtj/ui
|
|
4
4
|
* @author CHC chenhuachun1549@dingtalk.com
|
|
5
|
-
* @version 0.8.
|
|
5
|
+
* @version 0.8.152
|
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
7
7
|
*/
|
|
8
|
-
export declare const version = "0.8.
|
|
8
|
+
export declare const version = "0.8.152";
|