@vtj/ui 0.16.14 → 0.16.16
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 +2 -2
- package/dist/index.umd.js +2 -2
- package/package.json +3 -3
- package/types/components/attachment/Attachment.d.ts +5 -5
- package/types/components/dialog/Dialog.d.ts +13 -13
- package/types/components/dialog-form/DialogForm.d.ts +37 -37
- package/types/components/dialog-grid/DialogGrid.d.ts +37 -37
- package/types/components/field/Field.d.ts +11 -11
- package/types/components/form/Form.d.ts +5 -5
- package/types/components/grid/renderers/components/GridEdit.d.ts +9 -9
- package/types/components/grid-editor/GridEditor.d.ts +9 -9
- package/types/components/mask/Mask.d.ts +7 -7
- package/types/components/mask/components/Tabs.d.ts +4 -4
- package/types/components/panel/Panel.d.ts +7 -7
- package/types/components/picker/Dialog.d.ts +6 -6
- package/types/components/query-form/QueryForm.d.ts +21 -21
- package/types/version.d.ts +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MenuDataItem } from '../../';
|
|
2
2
|
import { MaskTab } from '../types';
|
|
3
|
-
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle,
|
|
3
|
+
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComputedRef, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties } from 'vue';
|
|
4
4
|
import { ContainerWrap, ContainerDirection, ContainerJustifyContent, ContainerAlignItems, ContainerAlignContent } from '../../container';
|
|
5
5
|
import { OnCleanup } from '@vue/reactivity';
|
|
6
6
|
export interface Props {
|
|
@@ -264,9 +264,9 @@ declare const _default: DefineComponent<Props, {}, {}, {}, {}, ComponentOptionsM
|
|
|
264
264
|
autoPointer: {
|
|
265
265
|
type: BooleanConstructor;
|
|
266
266
|
};
|
|
267
|
-
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> &
|
|
268
|
-
$vtjEl:
|
|
269
|
-
}
|
|
267
|
+
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & {
|
|
268
|
+
$vtjEl: any;
|
|
269
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
270
270
|
$slots: {
|
|
271
271
|
default?(_: {}): any;
|
|
272
272
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComputedRef, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle,
|
|
1
|
+
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, ComputedRef, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, 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 { PanelBadge } from './types';
|
|
@@ -255,9 +255,9 @@ declare function __VLS_template(): {
|
|
|
255
255
|
autoPointer: {
|
|
256
256
|
type: BooleanConstructor;
|
|
257
257
|
};
|
|
258
|
-
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> &
|
|
259
|
-
$vtjEl:
|
|
260
|
-
}
|
|
258
|
+
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & {
|
|
259
|
+
$vtjEl: any;
|
|
260
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
261
261
|
$slots: {
|
|
262
262
|
default?(_: {}): any;
|
|
263
263
|
};
|
|
@@ -595,9 +595,9 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
595
595
|
autoPointer: {
|
|
596
596
|
type: BooleanConstructor;
|
|
597
597
|
};
|
|
598
|
-
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> &
|
|
599
|
-
$vtjEl:
|
|
600
|
-
}
|
|
598
|
+
}>> & Readonly<{}>, ("padding" | "tag" | "wrap" | "fit" | "flex" | "inline" | "direction" | "justify" | "align" | "alignContent" | "grow" | "shrink" | "alignSelf" | "gap" | "autoPointer") | "$vtjEl"> & {
|
|
599
|
+
$vtjEl: any;
|
|
600
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
601
601
|
$slots: {
|
|
602
602
|
default?(_: {}): any;
|
|
603
603
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PickerColumns, PickerFields, PickerLoader } from './types';
|
|
2
|
-
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, VNode, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle,
|
|
2
|
+
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ExtractPropTypes, PropType, VNode, GlobalComponents, GlobalDirectives, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties } from 'vue';
|
|
3
3
|
import { GridColumns, GridCustomInfo, GridLoader, GridCellRenders, GridEditRenders, GridFilterRenders, GridSortableEvent, GridSortableOptions } from '..';
|
|
4
4
|
import { Options } from 'sortablejs';
|
|
5
5
|
import { VxeTableProps, VxeGridEventProps, VxeGridSlots, VxeTableDataRow, SlotVNodeType, VxeGridInstance, VxeTableConstructor, VxeGridConstructor } from 'vxe-table';
|
|
@@ -793,7 +793,7 @@ declare const _default: DefineComponent<Props, {
|
|
|
793
793
|
onCellSelected?: ((params: any) => any) | undefined;
|
|
794
794
|
onEditChange?: ((data: any[]) => any) | undefined;
|
|
795
795
|
onLoaded?: ((rows: any[]) => any) | undefined;
|
|
796
|
-
}>, "search" | "load" | "state" | "remove" | "setSelectCell" | "validate" | "vxeRef" | ("auto" | "resizable" | "editable" | "page" | "pageSize" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSizes" | "virtual") | "doLayout" | "insertActived" | "getSelected" | "getRows" | "setActived" | "getRecords" | "$vtjDynamicSlots"> &
|
|
796
|
+
}>, "search" | "load" | "state" | "remove" | "setSelectCell" | "validate" | "vxeRef" | ("auto" | "resizable" | "editable" | "page" | "pageSize" | "columns" | "rowSortable" | "columnSortable" | "customable" | "pager" | "pageSizes" | "virtual") | "doLayout" | "insertActived" | "getSelected" | "getRows" | "setActived" | "getRecords" | "$vtjDynamicSlots"> & {
|
|
797
797
|
state: {
|
|
798
798
|
[x: string]: any;
|
|
799
799
|
page?: number | undefined;
|
|
@@ -1261,9 +1261,9 @@ declare const _default: DefineComponent<Props, {
|
|
|
1261
1261
|
};
|
|
1262
1262
|
load: (reset?: boolean) => Promise<void>;
|
|
1263
1263
|
search: (reset?: boolean) => Promise<boolean>;
|
|
1264
|
-
vxeRef:
|
|
1265
|
-
rowSortable:
|
|
1266
|
-
columnSortable:
|
|
1264
|
+
vxeRef: VxeGridInstance | undefined;
|
|
1265
|
+
rowSortable: any;
|
|
1266
|
+
columnSortable: any[];
|
|
1267
1267
|
insertActived: (record?: any, row?: any) => Promise<void>;
|
|
1268
1268
|
validate: () => Promise<import("vxe-table").VxeTableDefines.ValidatorErrorMapParams<any> | undefined>;
|
|
1269
1269
|
getSelected: () => any;
|
|
@@ -1279,7 +1279,7 @@ declare const _default: DefineComponent<Props, {
|
|
|
1279
1279
|
} | undefined;
|
|
1280
1280
|
setSelectCell: (row?: any, column?: any) => void;
|
|
1281
1281
|
$vtjDynamicSlots: () => string[];
|
|
1282
|
-
}
|
|
1282
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
1283
1283
|
$slots: Partial<Record<string, (_: {
|
|
1284
1284
|
[key: string]: any;
|
|
1285
1285
|
$table: VxeTableConstructor<any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, Reactive, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle,
|
|
1
|
+
import { ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, Reactive, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties, ExtractPropTypes, PropType, Ref, DefineComponent, PublicProps } from 'vue';
|
|
2
2
|
import { UseTooltipProps, FormRules, ComponentSize, FormItemProp, FormProps, FormValidateCallback, FormValidationResult, FormItemContext, ElTooltipProps } from 'element-plus';
|
|
3
3
|
import { FormModel } from '../form';
|
|
4
4
|
import { Arrayable } from 'element-plus/es/utils/typescript.mjs';
|
|
@@ -128,7 +128,7 @@ declare function __VLS_template(): {
|
|
|
128
128
|
validateOnRuleChange: boolean;
|
|
129
129
|
}> & Omit<Readonly< FormProps> & Readonly<{
|
|
130
130
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
131
|
-
}>, "clearValidate" | "validate" | "fields" | "labelWidth" | "labelPosition" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField" | "getField" | "setInitialValues"> &
|
|
131
|
+
}>, "clearValidate" | "validate" | "fields" | "labelWidth" | "labelPosition" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField" | "getField" | "setInitialValues"> & {
|
|
132
132
|
validate: (callback?: FormValidateCallback) => FormValidationResult;
|
|
133
133
|
validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
|
|
134
134
|
resetFields: (props?: Arrayable<FormItemProp>) => void;
|
|
@@ -137,7 +137,7 @@ declare function __VLS_template(): {
|
|
|
137
137
|
getField: (prop: FormItemProp) => FormItemContext | undefined;
|
|
138
138
|
fields: Reactive< FormItemContext[]>;
|
|
139
139
|
setInitialValues: (initModel: Record<string, any>) => void;
|
|
140
|
-
}
|
|
140
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
141
141
|
$slots: {
|
|
142
142
|
default?: (props: {}) => any;
|
|
143
143
|
};
|
|
@@ -294,14 +294,14 @@ declare function __VLS_template(): {
|
|
|
294
294
|
onChange?: ((model: Record<string, any>) => any) | undefined;
|
|
295
295
|
onReset?: (() => any) | undefined;
|
|
296
296
|
onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
|
297
|
-
}>, "reset" | "submit" | "clearValidate" | "validate" | "formRef" | ("footer" | "inline" | "footerAlign" | "tooltipMessage" | "model" | "submitText" | "resetText" | "enterSubmit" | "sticky")> &
|
|
298
|
-
formRef:
|
|
297
|
+
}>, "reset" | "submit" | "clearValidate" | "validate" | "formRef" | ("footer" | "inline" | "footerAlign" | "tooltipMessage" | "model" | "submitText" | "resetText" | "enterSubmit" | "sticky")> & {
|
|
298
|
+
formRef: any;
|
|
299
299
|
model: FormModel;
|
|
300
300
|
submit: () => Promise<void>;
|
|
301
301
|
reset: (fields?: string[] | string) => void;
|
|
302
302
|
validate: () => Promise<any>;
|
|
303
303
|
clearValidate: () => void;
|
|
304
|
-
}
|
|
304
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
305
305
|
$slots: {
|
|
306
306
|
default?(_: {}): any;
|
|
307
307
|
footer?(_: {}): any;
|
|
@@ -450,7 +450,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
450
450
|
validateOnRuleChange: boolean;
|
|
451
451
|
}> & Omit<Readonly< FormProps> & Readonly<{
|
|
452
452
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
453
|
-
}>, "clearValidate" | "validate" | "fields" | "labelWidth" | "labelPosition" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField" | "getField" | "setInitialValues"> &
|
|
453
|
+
}>, "clearValidate" | "validate" | "fields" | "labelWidth" | "labelPosition" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField" | "getField" | "setInitialValues"> & {
|
|
454
454
|
validate: (callback?: FormValidateCallback) => FormValidationResult;
|
|
455
455
|
validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
|
|
456
456
|
resetFields: (props?: Arrayable<FormItemProp>) => void;
|
|
@@ -459,7 +459,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
459
459
|
getField: (prop: FormItemProp) => FormItemContext | undefined;
|
|
460
460
|
fields: Reactive< FormItemContext[]>;
|
|
461
461
|
setInitialValues: (initModel: Record<string, any>) => void;
|
|
462
|
-
}
|
|
462
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
463
463
|
$slots: {
|
|
464
464
|
default?: (props: {}) => any;
|
|
465
465
|
};
|
|
@@ -616,14 +616,14 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
616
616
|
onChange?: ((model: Record<string, any>) => any) | undefined;
|
|
617
617
|
onReset?: (() => any) | undefined;
|
|
618
618
|
onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
|
619
|
-
}>, "reset" | "submit" | "clearValidate" | "validate" | "formRef" | ("footer" | "inline" | "footerAlign" | "tooltipMessage" | "model" | "submitText" | "resetText" | "enterSubmit" | "sticky")> &
|
|
620
|
-
formRef:
|
|
619
|
+
}>, "reset" | "submit" | "clearValidate" | "validate" | "formRef" | ("footer" | "inline" | "footerAlign" | "tooltipMessage" | "model" | "submitText" | "resetText" | "enterSubmit" | "sticky")> & {
|
|
620
|
+
formRef: any;
|
|
621
621
|
model: FormModel;
|
|
622
622
|
submit: () => Promise<void>;
|
|
623
623
|
reset: (fields?: string[] | string) => void;
|
|
624
624
|
validate: () => Promise<any>;
|
|
625
625
|
clearValidate: () => void;
|
|
626
|
-
}
|
|
626
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
627
627
|
$slots: {
|
|
628
628
|
default?(_: {}): any;
|
|
629
629
|
footer?(_: {}): any;
|
|
@@ -747,7 +747,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
747
747
|
validateOnRuleChange: boolean;
|
|
748
748
|
}> & Omit<Readonly< FormProps> & Readonly<{
|
|
749
749
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
750
|
-
}>, "clearValidate" | "validate" | "fields" | "labelWidth" | "labelPosition" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField" | "getField" | "setInitialValues"> &
|
|
750
|
+
}>, "clearValidate" | "validate" | "fields" | "labelWidth" | "labelPosition" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField" | "getField" | "setInitialValues"> & {
|
|
751
751
|
validate: (callback?: FormValidateCallback) => FormValidationResult;
|
|
752
752
|
validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
|
|
753
753
|
resetFields: (props?: Arrayable<FormItemProp>) => void;
|
|
@@ -756,7 +756,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
756
756
|
getField: (prop: FormItemProp) => FormItemContext | undefined;
|
|
757
757
|
fields: Reactive< FormItemContext[]>;
|
|
758
758
|
setInitialValues: (initModel: Record<string, any>) => void;
|
|
759
|
-
}
|
|
759
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
760
760
|
$slots: {
|
|
761
761
|
default?: (props: {}) => any;
|
|
762
762
|
};
|
|
@@ -913,14 +913,14 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
913
913
|
onChange?: ((model: Record<string, any>) => any) | undefined;
|
|
914
914
|
onReset?: (() => any) | undefined;
|
|
915
915
|
onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
|
916
|
-
}>, "reset" | "submit" | "clearValidate" | "validate" | "formRef" | ("footer" | "inline" | "footerAlign" | "tooltipMessage" | "model" | "submitText" | "resetText" | "enterSubmit" | "sticky")> &
|
|
917
|
-
formRef:
|
|
916
|
+
}>, "reset" | "submit" | "clearValidate" | "validate" | "formRef" | ("footer" | "inline" | "footerAlign" | "tooltipMessage" | "model" | "submitText" | "resetText" | "enterSubmit" | "sticky")> & {
|
|
917
|
+
formRef: any;
|
|
918
918
|
model: FormModel;
|
|
919
919
|
submit: () => Promise<void>;
|
|
920
920
|
reset: (fields?: string[] | string) => void;
|
|
921
921
|
validate: () => Promise<any>;
|
|
922
922
|
clearValidate: () => void;
|
|
923
|
-
}
|
|
923
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
924
924
|
$slots: {
|
|
925
925
|
default?(_: {}): any;
|
|
926
926
|
footer?(_: {}): any;
|
|
@@ -1070,7 +1070,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
1070
1070
|
validateOnRuleChange: boolean;
|
|
1071
1071
|
}> & Omit<Readonly< FormProps> & Readonly<{
|
|
1072
1072
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1073
|
-
}>, "clearValidate" | "validate" | "fields" | "labelWidth" | "labelPosition" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField" | "getField" | "setInitialValues"> &
|
|
1073
|
+
}>, "clearValidate" | "validate" | "fields" | "labelWidth" | "labelPosition" | "showMessage" | "requireAsteriskPosition" | "labelSuffix" | "validateOnRuleChange" | "scrollIntoViewOptions" | "validateField" | "resetFields" | "scrollToField" | "getField" | "setInitialValues"> & {
|
|
1074
1074
|
validate: (callback?: FormValidateCallback) => FormValidationResult;
|
|
1075
1075
|
validateField: (props?: Arrayable<FormItemProp>, callback?: FormValidateCallback) => FormValidationResult;
|
|
1076
1076
|
resetFields: (props?: Arrayable<FormItemProp>) => void;
|
|
@@ -1079,7 +1079,7 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
1079
1079
|
getField: (prop: FormItemProp) => FormItemContext | undefined;
|
|
1080
1080
|
fields: Reactive< FormItemContext[]>;
|
|
1081
1081
|
setInitialValues: (initModel: Record<string, any>) => void;
|
|
1082
|
-
}
|
|
1082
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
1083
1083
|
$slots: {
|
|
1084
1084
|
default?: (props: {}) => any;
|
|
1085
1085
|
};
|
|
@@ -1236,14 +1236,14 @@ declare const __VLS_component: DefineComponent<ExtractPropTypes<{
|
|
|
1236
1236
|
onChange?: ((model: Record<string, any>) => any) | undefined;
|
|
1237
1237
|
onReset?: (() => any) | undefined;
|
|
1238
1238
|
onSubmit?: ((model: Record<string, any>) => any) | undefined;
|
|
1239
|
-
}>, "reset" | "submit" | "clearValidate" | "validate" | "formRef" | ("footer" | "inline" | "footerAlign" | "tooltipMessage" | "model" | "submitText" | "resetText" | "enterSubmit" | "sticky")> &
|
|
1240
|
-
formRef:
|
|
1239
|
+
}>, "reset" | "submit" | "clearValidate" | "validate" | "formRef" | ("footer" | "inline" | "footerAlign" | "tooltipMessage" | "model" | "submitText" | "resetText" | "enterSubmit" | "sticky")> & {
|
|
1240
|
+
formRef: any;
|
|
1241
1241
|
model: FormModel;
|
|
1242
1242
|
submit: () => Promise<void>;
|
|
1243
1243
|
reset: (fields?: string[] | string) => void;
|
|
1244
1244
|
validate: () => Promise<any>;
|
|
1245
1245
|
clearValidate: () => void;
|
|
1246
|
-
}
|
|
1246
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
1247
1247
|
$slots: {
|
|
1248
1248
|
default?(_: {}): any;
|
|
1249
1249
|
footer?(_: {}): any;
|
package/types/version.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Copyright (c) 2026, VTJ.PRO All rights reserved.
|
|
3
3
|
* @name @vtj/ui
|
|
4
4
|
* @author CHC chenhuachun1549@dingtalk.com
|
|
5
|
-
* @version 0.16.
|
|
5
|
+
* @version 0.16.15
|
|
6
6
|
* @license <a href="https://vtj.pro/license.html">MIT License</a>
|
|
7
7
|
*/
|
|
8
|
-
export declare const version = "0.16.
|
|
8
|
+
export declare const version = "0.16.15";
|