yc-pro-components 0.0.9 → 0.0.10
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/es/components/check-card/index.d.ts +49 -49
- package/es/components/check-card/src/index.vue.d.ts +4 -4
- package/es/components/check-card-group/index.d.ts +43 -43
- package/es/components/check-card-group/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +17 -17
- package/es/components/date-picker/src/index.vue.d.ts +9 -9
- package/es/components/dialog/index.d.ts +41 -41
- package/es/components/dialog/src/index.vue.d.ts +4 -4
- package/es/components/dialog-form/index.d.ts +109 -109
- package/es/components/dialog-form/src/index.vue.d.ts +35 -35
- package/es/components/display-item/index.d.ts +24 -24
- package/es/components/display-item/src/index.vue.d.ts +24 -24
- package/es/components/drawer-form/index.d.ts +105 -105
- package/es/components/drawer-form/src/index.vue.d.ts +34 -34
- package/es/components/form/index.d.ts +123 -123
- package/es/components/form/src/form-content.vue.d.ts +24 -24
- package/es/components/form/src/index.vue.d.ts +43 -43
- package/es/components/form-item/index.d.ts +78 -78
- package/es/components/form-item/src/index.vue.d.ts +22 -22
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +48 -48
- package/es/components/input-tag/src/index.vue.d.ts +36 -36
- package/es/components/layout/index.d.ts +60 -60
- package/es/components/layout/src/index.vue.d.ts +20 -20
- package/es/components/page/index.d.ts +846 -846
- package/es/components/page/src/index.vue.d.ts +286 -286
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +47 -47
- package/es/components/radio/src/index.vue.d.ts +39 -39
- package/es/components/render/index.d.ts +12 -12
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +324 -324
- package/es/components/search/src/index.vue.d.ts +106 -106
- package/es/components/sidebar/index.d.ts +30 -30
- package/es/components/sidebar/src/index.vue.d.ts +10 -10
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/index.d.ts +76 -76
- package/es/components/table/src/index.vue.d.ts +24 -24
- package/es/components/table/src/table-column-drag-sort.vue.d.ts +23 -23
- package/es/components/table/src/table-column.vue.d.ts +24 -24
- package/es/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/es/components/utils/index.d.ts +6 -6
- package/es/components/yc-count-to/index.d.ts +2 -2
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/es/components/yc-count-to/src/rebound/index.d.ts +1 -1
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-drawer/store.d.ts +13 -13
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +86 -86
- package/es/components/yc-more-actions/src/index.vue.d.ts +7 -7
- package/es/components/yc-plus-page/src/index.vue.d.ts +644 -644
- package/es/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/es/components/yc-segmented/index.d.ts +6 -6
- package/es/components/yc-segmented/src/index.d.ts +6 -6
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/components/yc-text/src/index.vue2.mjs +31 -4
- package/es/hooks/usePlusFormReset.d.ts +487 -487
- package/index.js +31 -4
- package/index.min.js +2 -2
- package/index.min.mjs +3 -3
- package/index.mjs +31 -4
- package/lib/components/check-card/index.d.ts +49 -49
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +17 -17
- package/lib/components/date-picker/src/index.vue.d.ts +9 -9
- package/lib/components/dialog/index.d.ts +41 -41
- package/lib/components/dialog/src/index.vue.d.ts +4 -4
- package/lib/components/dialog-form/index.d.ts +109 -109
- package/lib/components/dialog-form/src/index.vue.d.ts +35 -35
- package/lib/components/display-item/index.d.ts +24 -24
- package/lib/components/display-item/src/index.vue.d.ts +24 -24
- package/lib/components/drawer-form/index.d.ts +105 -105
- package/lib/components/drawer-form/src/index.vue.d.ts +34 -34
- package/lib/components/form/index.d.ts +123 -123
- package/lib/components/form/src/form-content.vue.d.ts +24 -24
- package/lib/components/form/src/index.vue.d.ts +43 -43
- package/lib/components/form-item/index.d.ts +78 -78
- package/lib/components/form-item/src/index.vue.d.ts +22 -22
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +48 -48
- package/lib/components/input-tag/src/index.vue.d.ts +36 -36
- package/lib/components/layout/index.d.ts +60 -60
- package/lib/components/layout/src/index.vue.d.ts +20 -20
- package/lib/components/page/index.d.ts +846 -846
- package/lib/components/page/src/index.vue.d.ts +286 -286
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +47 -47
- package/lib/components/radio/src/index.vue.d.ts +39 -39
- package/lib/components/render/index.d.ts +12 -12
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +324 -324
- package/lib/components/search/src/index.vue.d.ts +106 -106
- package/lib/components/sidebar/index.d.ts +30 -30
- package/lib/components/sidebar/src/index.vue.d.ts +10 -10
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/index.d.ts +76 -76
- package/lib/components/table/src/index.vue.d.ts +24 -24
- package/lib/components/table/src/table-column-drag-sort.vue.d.ts +23 -23
- package/lib/components/table/src/table-column.vue.d.ts +24 -24
- package/lib/components/table/src/table-title-bar.vue.d.ts +3 -3
- package/lib/components/utils/index.d.ts +6 -6
- package/lib/components/yc-count-to/index.d.ts +2 -2
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/rebound/index.d.ts +1 -1
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-drawer/store.d.ts +13 -13
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +86 -86
- package/lib/components/yc-more-actions/src/index.vue.d.ts +7 -7
- package/lib/components/yc-plus-page/src/index.vue.d.ts +644 -644
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/lib/components/yc-segmented/index.d.ts +6 -6
- package/lib/components/yc-segmented/src/index.d.ts +6 -6
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/components/yc-text/src/index.vue2.js +30 -3
- package/lib/hooks/usePlusFormReset.d.ts +487 -487
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import { TimeSelectProps } from 'element-plus/es/components/time-select/src/time
|
|
|
2
2
|
import { LooseRequired } from '@vue/shared';
|
|
3
3
|
import { FormItemRule, FormItemProp, FormItemContext, FormValidateCallback, FormValidationResult, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, ISelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps, DrawerProps, DialogBeforeCloseFn, Translator } from 'element-plus';
|
|
4
4
|
import { Arrayable, EpPropFinalized, EpPropMergeType, SFCWithInstall } from 'element-plus/es/utils';
|
|
5
|
-
import {
|
|
5
|
+
import { PlusDialogProps, PlusFormProps, FieldValues, PlusColumn, PlusFormItemProps, RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'yc-components';
|
|
6
6
|
import { nextTick, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, CreateComponentPublicInstance, ComponentOptionsMixin, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, CSSProperties, Component, ComputedOptions, MethodOptions, DefineComponent, VNode, RendererNode, RendererElement } from 'vue';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -76,29 +76,25 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
76
76
|
$: ComponentInternalInstance;
|
|
77
77
|
$data: {};
|
|
78
78
|
$props: Partial<{
|
|
79
|
-
modelValue: FieldValues;
|
|
80
79
|
dialog: PlusDialogProps;
|
|
81
80
|
form: PlusFormProps;
|
|
82
81
|
visible: boolean;
|
|
82
|
+
modelValue: FieldValues;
|
|
83
83
|
hasErrorTip: boolean;
|
|
84
84
|
}> & Omit<{
|
|
85
|
-
readonly modelValue: FieldValues;
|
|
86
85
|
readonly dialog: PlusDialogProps;
|
|
87
86
|
readonly form: PlusFormProps;
|
|
88
87
|
readonly visible: boolean;
|
|
88
|
+
readonly modelValue: FieldValues;
|
|
89
89
|
readonly hasErrorTip: boolean;
|
|
90
|
-
|
|
90
|
+
onCancel?: (() => any) | undefined;
|
|
91
91
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
92
|
-
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
93
92
|
onClose?: (() => any) | undefined;
|
|
94
|
-
|
|
93
|
+
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
94
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
95
95
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
96
96
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
97
97
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
98
|
-
modelValue: {
|
|
99
|
-
type: PropType<FieldValues>;
|
|
100
|
-
default: () => {};
|
|
101
|
-
};
|
|
102
98
|
dialog: {
|
|
103
99
|
type: PropType<PlusDialogProps>;
|
|
104
100
|
default: () => {};
|
|
@@ -111,19 +107,23 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
111
107
|
type: PropType<boolean>;
|
|
112
108
|
default: boolean;
|
|
113
109
|
};
|
|
110
|
+
modelValue: {
|
|
111
|
+
type: PropType<FieldValues>;
|
|
112
|
+
default: () => {};
|
|
113
|
+
};
|
|
114
114
|
hasErrorTip: {
|
|
115
115
|
type: PropType<boolean>;
|
|
116
116
|
default: boolean;
|
|
117
117
|
};
|
|
118
118
|
}>> & {
|
|
119
|
-
|
|
119
|
+
onCancel?: (() => any) | undefined;
|
|
120
120
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
121
|
-
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
122
121
|
onClose?: (() => any) | undefined;
|
|
123
|
-
|
|
122
|
+
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
123
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
124
124
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
125
125
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
126
|
-
}, "
|
|
126
|
+
}, "dialog" | "form" | "visible" | "modelValue" | "hasErrorTip">;
|
|
127
127
|
$attrs: {
|
|
128
128
|
[x: string]: unknown;
|
|
129
129
|
};
|
|
@@ -135,13 +135,9 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
135
135
|
}>;
|
|
136
136
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
137
137
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
138
|
-
$emit: ((event: "
|
|
138
|
+
$emit: ((event: "cancel") => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "close") => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
139
139
|
$el: any;
|
|
140
140
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
141
|
-
modelValue: {
|
|
142
|
-
type: PropType<FieldValues>;
|
|
143
|
-
default: () => {};
|
|
144
|
-
};
|
|
145
141
|
dialog: {
|
|
146
142
|
type: PropType<PlusDialogProps>;
|
|
147
143
|
default: () => {};
|
|
@@ -154,16 +150,20 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
154
150
|
type: PropType<boolean>;
|
|
155
151
|
default: boolean;
|
|
156
152
|
};
|
|
153
|
+
modelValue: {
|
|
154
|
+
type: PropType<FieldValues>;
|
|
155
|
+
default: () => {};
|
|
156
|
+
};
|
|
157
157
|
hasErrorTip: {
|
|
158
158
|
type: PropType<boolean>;
|
|
159
159
|
default: boolean;
|
|
160
160
|
};
|
|
161
161
|
}>> & {
|
|
162
|
-
|
|
162
|
+
onCancel?: (() => any) | undefined;
|
|
163
163
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
164
|
-
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
165
164
|
onClose?: (() => any) | undefined;
|
|
166
|
-
|
|
165
|
+
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
166
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
167
167
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
168
168
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
169
169
|
}, {
|
|
@@ -177,8 +177,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
177
177
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
178
178
|
__epPropKey: true;
|
|
179
179
|
};
|
|
180
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
181
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
180
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
181
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
182
182
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
183
183
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
184
184
|
readonly inline: BooleanConstructor;
|
|
@@ -195,7 +195,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
195
195
|
__epPropKey: true;
|
|
196
196
|
};
|
|
197
197
|
readonly size: {
|
|
198
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
198
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
199
199
|
readonly required: false;
|
|
200
200
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
201
201
|
__epPropKey: true;
|
|
@@ -213,8 +213,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
213
213
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
214
214
|
__epPropKey: true;
|
|
215
215
|
};
|
|
216
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
217
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
216
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
217
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
218
218
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
219
219
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
220
220
|
readonly inline: BooleanConstructor;
|
|
@@ -231,7 +231,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
231
231
|
__epPropKey: true;
|
|
232
232
|
};
|
|
233
233
|
readonly size: {
|
|
234
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
234
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
235
235
|
readonly required: false;
|
|
236
236
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
237
237
|
__epPropKey: true;
|
|
@@ -242,7 +242,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
242
242
|
}>>;
|
|
243
243
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
244
244
|
fields: FormItemContext[];
|
|
245
|
-
formSize: ComputedRef<"" | "
|
|
245
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
246
246
|
ns: {
|
|
247
247
|
namespace: ComputedRef<string>;
|
|
248
248
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -262,7 +262,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
262
262
|
cssVarBlockName: (name: string) => string;
|
|
263
263
|
};
|
|
264
264
|
formClasses: ComputedRef<(string | {
|
|
265
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
265
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
266
266
|
})[]>;
|
|
267
267
|
getField: (prop: string) => FormItemContext | undefined;
|
|
268
268
|
addField: (field: FormItemContext) => void;
|
|
@@ -285,8 +285,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
285
285
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
286
286
|
__epPropKey: true;
|
|
287
287
|
};
|
|
288
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
289
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
288
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
289
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
290
290
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
291
291
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
292
292
|
readonly inline: BooleanConstructor;
|
|
@@ -303,7 +303,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
303
303
|
__epPropKey: true;
|
|
304
304
|
};
|
|
305
305
|
readonly size: {
|
|
306
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
306
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
307
307
|
readonly required: false;
|
|
308
308
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
309
309
|
__epPropKey: true;
|
|
@@ -313,8 +313,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
313
313
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
314
314
|
}, {
|
|
315
315
|
readonly disabled: boolean;
|
|
316
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
317
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
316
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
317
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
318
318
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
319
319
|
readonly labelSuffix: string;
|
|
320
320
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -339,8 +339,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
339
339
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
340
340
|
__epPropKey: true;
|
|
341
341
|
};
|
|
342
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
343
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
342
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
343
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
344
344
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
345
345
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
346
346
|
readonly inline: BooleanConstructor;
|
|
@@ -357,7 +357,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
357
357
|
__epPropKey: true;
|
|
358
358
|
};
|
|
359
359
|
readonly size: {
|
|
360
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
360
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
361
361
|
readonly required: false;
|
|
362
362
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
363
363
|
__epPropKey: true;
|
|
@@ -375,8 +375,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
375
375
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
376
376
|
__epPropKey: true;
|
|
377
377
|
};
|
|
378
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
379
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
378
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
379
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
380
380
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
381
381
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
382
382
|
readonly inline: BooleanConstructor;
|
|
@@ -393,7 +393,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
393
393
|
__epPropKey: true;
|
|
394
394
|
};
|
|
395
395
|
readonly size: {
|
|
396
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
396
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
397
397
|
readonly required: false;
|
|
398
398
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
399
399
|
__epPropKey: true;
|
|
@@ -404,7 +404,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
404
404
|
}>>;
|
|
405
405
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
406
406
|
fields: FormItemContext[];
|
|
407
|
-
formSize: ComputedRef<"" | "
|
|
407
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
408
408
|
ns: {
|
|
409
409
|
namespace: ComputedRef<string>;
|
|
410
410
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -424,7 +424,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
424
424
|
cssVarBlockName: (name: string) => string;
|
|
425
425
|
};
|
|
426
426
|
formClasses: ComputedRef<(string | {
|
|
427
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
427
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
428
428
|
})[]>;
|
|
429
429
|
getField: (prop: string) => FormItemContext | undefined;
|
|
430
430
|
addField: (field: FormItemContext) => void;
|
|
@@ -439,8 +439,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
439
439
|
scrollToField: (prop: FormItemProp) => void;
|
|
440
440
|
}, {}, {}, {}, {
|
|
441
441
|
readonly disabled: boolean;
|
|
442
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
443
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
442
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
443
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
444
444
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
445
445
|
readonly labelSuffix: string;
|
|
446
446
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -460,10 +460,10 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
460
460
|
close: () => void;
|
|
461
461
|
confirmError: (errors: unknown) => void;
|
|
462
462
|
}, string, {
|
|
463
|
-
modelValue: FieldValues;
|
|
464
463
|
dialog: PlusDialogProps;
|
|
465
464
|
form: PlusFormProps;
|
|
466
465
|
visible: boolean;
|
|
466
|
+
modelValue: FieldValues;
|
|
467
467
|
hasErrorTip: boolean;
|
|
468
468
|
}, {}, string, {}> & {
|
|
469
469
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -486,10 +486,6 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
486
486
|
$nextTick: typeof nextTick;
|
|
487
487
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
488
488
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
489
|
-
modelValue: {
|
|
490
|
-
type: PropType<FieldValues>;
|
|
491
|
-
default: () => {};
|
|
492
|
-
};
|
|
493
489
|
dialog: {
|
|
494
490
|
type: PropType<PlusDialogProps>;
|
|
495
491
|
default: () => {};
|
|
@@ -502,16 +498,20 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
502
498
|
type: PropType<boolean>;
|
|
503
499
|
default: boolean;
|
|
504
500
|
};
|
|
501
|
+
modelValue: {
|
|
502
|
+
type: PropType<FieldValues>;
|
|
503
|
+
default: () => {};
|
|
504
|
+
};
|
|
505
505
|
hasErrorTip: {
|
|
506
506
|
type: PropType<boolean>;
|
|
507
507
|
default: boolean;
|
|
508
508
|
};
|
|
509
509
|
}>> & {
|
|
510
|
-
|
|
510
|
+
onCancel?: (() => any) | undefined;
|
|
511
511
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
512
|
-
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
513
512
|
onClose?: (() => any) | undefined;
|
|
514
|
-
|
|
513
|
+
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
514
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
515
515
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
516
516
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
517
517
|
}, "formInstance" | "handleConfirm" | "handleCancel"> & ShallowUnwrapRef<{
|
|
@@ -525,8 +525,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
525
525
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
526
526
|
__epPropKey: true;
|
|
527
527
|
};
|
|
528
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
529
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
528
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
529
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
530
530
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
531
531
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
532
532
|
readonly inline: BooleanConstructor;
|
|
@@ -543,7 +543,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
543
543
|
__epPropKey: true;
|
|
544
544
|
};
|
|
545
545
|
readonly size: {
|
|
546
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
546
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
547
547
|
readonly required: false;
|
|
548
548
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
549
549
|
__epPropKey: true;
|
|
@@ -561,8 +561,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
561
561
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
562
562
|
__epPropKey: true;
|
|
563
563
|
};
|
|
564
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
565
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
564
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
565
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
566
566
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
567
567
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
568
568
|
readonly inline: BooleanConstructor;
|
|
@@ -579,7 +579,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
579
579
|
__epPropKey: true;
|
|
580
580
|
};
|
|
581
581
|
readonly size: {
|
|
582
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
582
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
583
583
|
readonly required: false;
|
|
584
584
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
585
585
|
__epPropKey: true;
|
|
@@ -590,7 +590,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
590
590
|
}>>;
|
|
591
591
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
592
592
|
fields: FormItemContext[];
|
|
593
|
-
formSize: ComputedRef<"" | "
|
|
593
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
594
594
|
ns: {
|
|
595
595
|
namespace: ComputedRef<string>;
|
|
596
596
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -610,7 +610,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
610
610
|
cssVarBlockName: (name: string) => string;
|
|
611
611
|
};
|
|
612
612
|
formClasses: ComputedRef<(string | {
|
|
613
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
613
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
614
614
|
})[]>;
|
|
615
615
|
getField: (prop: string) => FormItemContext | undefined;
|
|
616
616
|
addField: (field: FormItemContext) => void;
|
|
@@ -633,8 +633,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
633
633
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
634
634
|
__epPropKey: true;
|
|
635
635
|
};
|
|
636
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
637
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
636
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
637
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
638
638
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
639
639
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
640
640
|
readonly inline: BooleanConstructor;
|
|
@@ -651,7 +651,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
651
651
|
__epPropKey: true;
|
|
652
652
|
};
|
|
653
653
|
readonly size: {
|
|
654
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
654
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
655
655
|
readonly required: false;
|
|
656
656
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
657
657
|
__epPropKey: true;
|
|
@@ -661,8 +661,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
661
661
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
662
662
|
}, {
|
|
663
663
|
readonly disabled: boolean;
|
|
664
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
665
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
664
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
665
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
666
666
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
667
667
|
readonly labelSuffix: string;
|
|
668
668
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -687,8 +687,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
687
687
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
688
688
|
__epPropKey: true;
|
|
689
689
|
};
|
|
690
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
691
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
690
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
691
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
692
692
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
693
693
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
694
694
|
readonly inline: BooleanConstructor;
|
|
@@ -705,7 +705,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
705
705
|
__epPropKey: true;
|
|
706
706
|
};
|
|
707
707
|
readonly size: {
|
|
708
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
708
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
709
709
|
readonly required: false;
|
|
710
710
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
711
711
|
__epPropKey: true;
|
|
@@ -723,8 +723,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
723
723
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
724
724
|
__epPropKey: true;
|
|
725
725
|
};
|
|
726
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
727
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
726
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
727
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
728
728
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
729
729
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
730
730
|
readonly inline: BooleanConstructor;
|
|
@@ -741,7 +741,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
741
741
|
__epPropKey: true;
|
|
742
742
|
};
|
|
743
743
|
readonly size: {
|
|
744
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
744
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
745
745
|
readonly required: false;
|
|
746
746
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
747
747
|
__epPropKey: true;
|
|
@@ -752,7 +752,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
752
752
|
}>>;
|
|
753
753
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
754
754
|
fields: FormItemContext[];
|
|
755
|
-
formSize: ComputedRef<"" | "
|
|
755
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
756
756
|
ns: {
|
|
757
757
|
namespace: ComputedRef<string>;
|
|
758
758
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -772,7 +772,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
772
772
|
cssVarBlockName: (name: string) => string;
|
|
773
773
|
};
|
|
774
774
|
formClasses: ComputedRef<(string | {
|
|
775
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
775
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
776
776
|
})[]>;
|
|
777
777
|
getField: (prop: string) => FormItemContext | undefined;
|
|
778
778
|
addField: (field: FormItemContext) => void;
|
|
@@ -787,8 +787,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
787
787
|
scrollToField: (prop: FormItemProp) => void;
|
|
788
788
|
}, {}, {}, {}, {
|
|
789
789
|
readonly disabled: boolean;
|
|
790
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
791
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
790
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
791
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
792
792
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
793
793
|
readonly labelSuffix: string;
|
|
794
794
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -801,14 +801,14 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
801
801
|
}>>;
|
|
802
802
|
}> & {} & ComponentCustomProperties & {} & {
|
|
803
803
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
804
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
804
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
805
805
|
readonly label: string | ComputedRef<string>;
|
|
806
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
806
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
807
807
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
808
|
-
readonly tooltip: string |
|
|
808
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
809
809
|
style?: CSSProperties | undefined;
|
|
810
810
|
class?: any;
|
|
811
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
811
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
812
812
|
style?: CSSProperties | undefined;
|
|
813
813
|
class?: any;
|
|
814
814
|
} & RecordType>>;
|
|
@@ -830,7 +830,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
830
830
|
};
|
|
831
831
|
rows: number;
|
|
832
832
|
autocomplete: string;
|
|
833
|
-
type: "" | "number" | "
|
|
833
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
834
834
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
835
835
|
step: string | number;
|
|
836
836
|
format: string | ProgressFn | undefined;
|
|
@@ -869,12 +869,12 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
869
869
|
fieldInstance?: any;
|
|
870
870
|
valueIsReady?: Ref<boolean> | undefined;
|
|
871
871
|
prop: string;
|
|
872
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
872
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
873
873
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
874
|
-
tooltip: string |
|
|
874
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
875
875
|
style?: CSSProperties | undefined;
|
|
876
876
|
class?: any;
|
|
877
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
877
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
878
878
|
style?: CSSProperties | undefined;
|
|
879
879
|
class?: any;
|
|
880
880
|
} & RecordType>>;
|
|
@@ -918,9 +918,9 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
918
918
|
$data: {};
|
|
919
919
|
$props: Partial<{
|
|
920
920
|
size: string | number;
|
|
921
|
-
modelValue: FieldValues;
|
|
922
921
|
form: PlusFormProps;
|
|
923
922
|
visible: boolean;
|
|
923
|
+
modelValue: FieldValues;
|
|
924
924
|
hasErrorTip: boolean;
|
|
925
925
|
hasFooter: boolean;
|
|
926
926
|
confirmLoading: boolean;
|
|
@@ -932,9 +932,9 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
932
932
|
} & RecordType>;
|
|
933
933
|
}> & Omit<{
|
|
934
934
|
readonly size: string | number;
|
|
935
|
-
readonly modelValue: FieldValues;
|
|
936
935
|
readonly form: PlusFormProps;
|
|
937
936
|
readonly visible: boolean;
|
|
937
|
+
readonly modelValue: FieldValues;
|
|
938
938
|
readonly hasErrorTip: boolean;
|
|
939
939
|
readonly hasFooter: boolean;
|
|
940
940
|
readonly confirmLoading: boolean;
|
|
@@ -944,10 +944,10 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
944
944
|
style?: CSSProperties | undefined;
|
|
945
945
|
class?: any;
|
|
946
946
|
} & RecordType>;
|
|
947
|
-
|
|
947
|
+
onCancel?: (() => any) | undefined;
|
|
948
948
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
949
949
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
950
|
-
|
|
950
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
951
951
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
952
952
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
953
953
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
@@ -955,10 +955,6 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
955
955
|
type: PropType<string | number>;
|
|
956
956
|
default: string;
|
|
957
957
|
};
|
|
958
|
-
modelValue: {
|
|
959
|
-
type: PropType<FieldValues>;
|
|
960
|
-
default: () => {};
|
|
961
|
-
};
|
|
962
958
|
form: {
|
|
963
959
|
type: PropType<PlusFormProps>;
|
|
964
960
|
default: () => {};
|
|
@@ -967,6 +963,10 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
967
963
|
type: PropType<boolean>;
|
|
968
964
|
default: boolean;
|
|
969
965
|
};
|
|
966
|
+
modelValue: {
|
|
967
|
+
type: PropType<FieldValues>;
|
|
968
|
+
default: () => {};
|
|
969
|
+
};
|
|
970
970
|
hasErrorTip: {
|
|
971
971
|
type: PropType<boolean>;
|
|
972
972
|
default: boolean;
|
|
@@ -995,13 +995,13 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
995
995
|
default: () => {};
|
|
996
996
|
};
|
|
997
997
|
}>> & {
|
|
998
|
-
|
|
998
|
+
onCancel?: (() => any) | undefined;
|
|
999
999
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1000
1000
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1001
|
-
|
|
1001
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1002
1002
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1003
1003
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1004
|
-
}, "size" | "
|
|
1004
|
+
}, "size" | "form" | "visible" | "modelValue" | "hasErrorTip" | "hasFooter" | "confirmLoading" | "cancelText" | "confirmText" | "drawer">;
|
|
1005
1005
|
$attrs: {
|
|
1006
1006
|
[x: string]: unknown;
|
|
1007
1007
|
};
|
|
@@ -1013,17 +1013,13 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1013
1013
|
}>;
|
|
1014
1014
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1015
1015
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1016
|
-
$emit: ((event: "
|
|
1016
|
+
$emit: ((event: "cancel") => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
1017
1017
|
$el: any;
|
|
1018
1018
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1019
1019
|
size: {
|
|
1020
1020
|
type: PropType<string | number>;
|
|
1021
1021
|
default: string;
|
|
1022
1022
|
};
|
|
1023
|
-
modelValue: {
|
|
1024
|
-
type: PropType<FieldValues>;
|
|
1025
|
-
default: () => {};
|
|
1026
|
-
};
|
|
1027
1023
|
form: {
|
|
1028
1024
|
type: PropType<PlusFormProps>;
|
|
1029
1025
|
default: () => {};
|
|
@@ -1032,6 +1028,10 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1032
1028
|
type: PropType<boolean>;
|
|
1033
1029
|
default: boolean;
|
|
1034
1030
|
};
|
|
1031
|
+
modelValue: {
|
|
1032
|
+
type: PropType<FieldValues>;
|
|
1033
|
+
default: () => {};
|
|
1034
|
+
};
|
|
1035
1035
|
hasErrorTip: {
|
|
1036
1036
|
type: PropType<boolean>;
|
|
1037
1037
|
default: boolean;
|
|
@@ -1060,10 +1060,10 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1060
1060
|
default: () => {};
|
|
1061
1061
|
};
|
|
1062
1062
|
}>> & {
|
|
1063
|
-
|
|
1063
|
+
onCancel?: (() => any) | undefined;
|
|
1064
1064
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1065
1065
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1066
|
-
|
|
1066
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1067
1067
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1068
1068
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1069
1069
|
}, {
|
|
@@ -1813,8 +1813,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1813
1813
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1814
1814
|
__epPropKey: true;
|
|
1815
1815
|
};
|
|
1816
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
1817
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
1816
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
1817
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
1818
1818
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
1819
1819
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1820
1820
|
readonly inline: BooleanConstructor;
|
|
@@ -1831,7 +1831,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1831
1831
|
__epPropKey: true;
|
|
1832
1832
|
};
|
|
1833
1833
|
readonly size: {
|
|
1834
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
1834
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
1835
1835
|
readonly required: false;
|
|
1836
1836
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1837
1837
|
__epPropKey: true;
|
|
@@ -1849,8 +1849,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1849
1849
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1850
1850
|
__epPropKey: true;
|
|
1851
1851
|
};
|
|
1852
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
1853
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
1852
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
1853
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
1854
1854
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
1855
1855
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1856
1856
|
readonly inline: BooleanConstructor;
|
|
@@ -1867,7 +1867,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1867
1867
|
__epPropKey: true;
|
|
1868
1868
|
};
|
|
1869
1869
|
readonly size: {
|
|
1870
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
1870
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
1871
1871
|
readonly required: false;
|
|
1872
1872
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1873
1873
|
__epPropKey: true;
|
|
@@ -1878,7 +1878,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1878
1878
|
}>>;
|
|
1879
1879
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
1880
1880
|
fields: FormItemContext[];
|
|
1881
|
-
formSize: ComputedRef<"" | "
|
|
1881
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
1882
1882
|
ns: {
|
|
1883
1883
|
namespace: ComputedRef<string>;
|
|
1884
1884
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -1898,7 +1898,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1898
1898
|
cssVarBlockName: (name: string) => string;
|
|
1899
1899
|
};
|
|
1900
1900
|
formClasses: ComputedRef<(string | {
|
|
1901
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
1901
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
1902
1902
|
})[]>;
|
|
1903
1903
|
getField: (prop: string) => FormItemContext | undefined;
|
|
1904
1904
|
addField: (field: FormItemContext) => void;
|
|
@@ -1921,8 +1921,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1921
1921
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1922
1922
|
__epPropKey: true;
|
|
1923
1923
|
};
|
|
1924
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
1925
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
1924
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
1925
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
1926
1926
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
1927
1927
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1928
1928
|
readonly inline: BooleanConstructor;
|
|
@@ -1939,7 +1939,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1939
1939
|
__epPropKey: true;
|
|
1940
1940
|
};
|
|
1941
1941
|
readonly size: {
|
|
1942
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
1942
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
1943
1943
|
readonly required: false;
|
|
1944
1944
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1945
1945
|
__epPropKey: true;
|
|
@@ -1949,8 +1949,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1949
1949
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
1950
1950
|
}, {
|
|
1951
1951
|
readonly disabled: boolean;
|
|
1952
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
1953
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
1952
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
1953
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
1954
1954
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
1955
1955
|
readonly labelSuffix: string;
|
|
1956
1956
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1975,8 +1975,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1975
1975
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1976
1976
|
__epPropKey: true;
|
|
1977
1977
|
};
|
|
1978
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
1979
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
1978
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
1979
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
1980
1980
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
1981
1981
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
1982
1982
|
readonly inline: BooleanConstructor;
|
|
@@ -1993,7 +1993,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1993
1993
|
__epPropKey: true;
|
|
1994
1994
|
};
|
|
1995
1995
|
readonly size: {
|
|
1996
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
1996
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
1997
1997
|
readonly required: false;
|
|
1998
1998
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
1999
1999
|
__epPropKey: true;
|
|
@@ -2011,8 +2011,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
2011
2011
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2012
2012
|
__epPropKey: true;
|
|
2013
2013
|
};
|
|
2014
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
2015
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
2014
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
2015
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
2016
2016
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
2017
2017
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2018
2018
|
readonly inline: BooleanConstructor;
|
|
@@ -2029,7 +2029,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
2029
2029
|
__epPropKey: true;
|
|
2030
2030
|
};
|
|
2031
2031
|
readonly size: {
|
|
2032
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
2032
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
2033
2033
|
readonly required: false;
|
|
2034
2034
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2035
2035
|
__epPropKey: true;
|
|
@@ -2040,7 +2040,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
2040
2040
|
}>>;
|
|
2041
2041
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
2042
2042
|
fields: FormItemContext[];
|
|
2043
|
-
formSize: ComputedRef<"" | "
|
|
2043
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
2044
2044
|
ns: {
|
|
2045
2045
|
namespace: ComputedRef<string>;
|
|
2046
2046
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -2060,7 +2060,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
2060
2060
|
cssVarBlockName: (name: string) => string;
|
|
2061
2061
|
};
|
|
2062
2062
|
formClasses: ComputedRef<(string | {
|
|
2063
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
2063
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
2064
2064
|
})[]>;
|
|
2065
2065
|
getField: (prop: string) => FormItemContext | undefined;
|
|
2066
2066
|
addField: (field: FormItemContext) => void;
|
|
@@ -2075,8 +2075,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
2075
2075
|
scrollToField: (prop: FormItemProp) => void;
|
|
2076
2076
|
}, {}, {}, {}, {
|
|
2077
2077
|
readonly disabled: boolean;
|
|
2078
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
2079
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
2078
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
2079
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
2080
2080
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
2081
2081
|
readonly labelSuffix: string;
|
|
2082
2082
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -2096,9 +2096,9 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
2096
2096
|
confirmError: (errors: unknown) => void;
|
|
2097
2097
|
}, string, {
|
|
2098
2098
|
size: string | number;
|
|
2099
|
-
modelValue: FieldValues;
|
|
2100
2099
|
form: PlusFormProps;
|
|
2101
2100
|
visible: boolean;
|
|
2101
|
+
modelValue: FieldValues;
|
|
2102
2102
|
hasErrorTip: boolean;
|
|
2103
2103
|
hasFooter: boolean;
|
|
2104
2104
|
confirmLoading: boolean;
|
|
@@ -2133,10 +2133,6 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
2133
2133
|
type: PropType<string | number>;
|
|
2134
2134
|
default: string;
|
|
2135
2135
|
};
|
|
2136
|
-
modelValue: {
|
|
2137
|
-
type: PropType<FieldValues>;
|
|
2138
|
-
default: () => {};
|
|
2139
|
-
};
|
|
2140
2136
|
form: {
|
|
2141
2137
|
type: PropType<PlusFormProps>;
|
|
2142
2138
|
default: () => {};
|
|
@@ -2145,6 +2141,10 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
2145
2141
|
type: PropType<boolean>;
|
|
2146
2142
|
default: boolean;
|
|
2147
2143
|
};
|
|
2144
|
+
modelValue: {
|
|
2145
|
+
type: PropType<FieldValues>;
|
|
2146
|
+
default: () => {};
|
|
2147
|
+
};
|
|
2148
2148
|
hasErrorTip: {
|
|
2149
2149
|
type: PropType<boolean>;
|
|
2150
2150
|
default: boolean;
|
|
@@ -2173,10 +2173,10 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
2173
2173
|
default: () => {};
|
|
2174
2174
|
};
|
|
2175
2175
|
}>> & {
|
|
2176
|
-
|
|
2176
|
+
onCancel?: (() => any) | undefined;
|
|
2177
2177
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2178
2178
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
2179
|
-
|
|
2179
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2180
2180
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
2181
2181
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
2182
2182
|
}, "formInstance" | "drawerInstance"> & ShallowUnwrapRef<{
|
|
@@ -2926,8 +2926,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
2926
2926
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2927
2927
|
__epPropKey: true;
|
|
2928
2928
|
};
|
|
2929
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
2930
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
2929
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
2930
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
2931
2931
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
2932
2932
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2933
2933
|
readonly inline: BooleanConstructor;
|
|
@@ -2944,7 +2944,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
2944
2944
|
__epPropKey: true;
|
|
2945
2945
|
};
|
|
2946
2946
|
readonly size: {
|
|
2947
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
2947
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
2948
2948
|
readonly required: false;
|
|
2949
2949
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2950
2950
|
__epPropKey: true;
|
|
@@ -2962,8 +2962,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
2962
2962
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2963
2963
|
__epPropKey: true;
|
|
2964
2964
|
};
|
|
2965
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
2966
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
2965
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
2966
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
2967
2967
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
2968
2968
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
2969
2969
|
readonly inline: BooleanConstructor;
|
|
@@ -2980,7 +2980,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
2980
2980
|
__epPropKey: true;
|
|
2981
2981
|
};
|
|
2982
2982
|
readonly size: {
|
|
2983
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
2983
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
2984
2984
|
readonly required: false;
|
|
2985
2985
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
2986
2986
|
__epPropKey: true;
|
|
@@ -2991,7 +2991,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
2991
2991
|
}>>;
|
|
2992
2992
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
2993
2993
|
fields: FormItemContext[];
|
|
2994
|
-
formSize: ComputedRef<"" | "
|
|
2994
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
2995
2995
|
ns: {
|
|
2996
2996
|
namespace: ComputedRef<string>;
|
|
2997
2997
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -3011,7 +3011,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
3011
3011
|
cssVarBlockName: (name: string) => string;
|
|
3012
3012
|
};
|
|
3013
3013
|
formClasses: ComputedRef<(string | {
|
|
3014
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
3014
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
3015
3015
|
})[]>;
|
|
3016
3016
|
getField: (prop: string) => FormItemContext | undefined;
|
|
3017
3017
|
addField: (field: FormItemContext) => void;
|
|
@@ -3034,8 +3034,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
3034
3034
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3035
3035
|
__epPropKey: true;
|
|
3036
3036
|
};
|
|
3037
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
3038
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
3037
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
3038
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
3039
3039
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
3040
3040
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3041
3041
|
readonly inline: BooleanConstructor;
|
|
@@ -3052,7 +3052,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
3052
3052
|
__epPropKey: true;
|
|
3053
3053
|
};
|
|
3054
3054
|
readonly size: {
|
|
3055
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
3055
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
3056
3056
|
readonly required: false;
|
|
3057
3057
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3058
3058
|
__epPropKey: true;
|
|
@@ -3062,8 +3062,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
3062
3062
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
3063
3063
|
}, {
|
|
3064
3064
|
readonly disabled: boolean;
|
|
3065
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
3066
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
3065
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
3066
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
3067
3067
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
3068
3068
|
readonly labelSuffix: string;
|
|
3069
3069
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -3088,8 +3088,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
3088
3088
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3089
3089
|
__epPropKey: true;
|
|
3090
3090
|
};
|
|
3091
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
3092
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
3091
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
3092
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
3093
3093
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
3094
3094
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3095
3095
|
readonly inline: BooleanConstructor;
|
|
@@ -3106,7 +3106,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
3106
3106
|
__epPropKey: true;
|
|
3107
3107
|
};
|
|
3108
3108
|
readonly size: {
|
|
3109
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
3109
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
3110
3110
|
readonly required: false;
|
|
3111
3111
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3112
3112
|
__epPropKey: true;
|
|
@@ -3124,8 +3124,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
3124
3124
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3125
3125
|
__epPropKey: true;
|
|
3126
3126
|
};
|
|
3127
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
3128
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
3127
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
3128
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
3129
3129
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
3130
3130
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3131
3131
|
readonly inline: BooleanConstructor;
|
|
@@ -3142,7 +3142,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
3142
3142
|
__epPropKey: true;
|
|
3143
3143
|
};
|
|
3144
3144
|
readonly size: {
|
|
3145
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
3145
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
3146
3146
|
readonly required: false;
|
|
3147
3147
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3148
3148
|
__epPropKey: true;
|
|
@@ -3153,7 +3153,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
3153
3153
|
}>>;
|
|
3154
3154
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
3155
3155
|
fields: FormItemContext[];
|
|
3156
|
-
formSize: ComputedRef<"" | "
|
|
3156
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
3157
3157
|
ns: {
|
|
3158
3158
|
namespace: ComputedRef<string>;
|
|
3159
3159
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -3173,7 +3173,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
3173
3173
|
cssVarBlockName: (name: string) => string;
|
|
3174
3174
|
};
|
|
3175
3175
|
formClasses: ComputedRef<(string | {
|
|
3176
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
3176
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
3177
3177
|
})[]>;
|
|
3178
3178
|
getField: (prop: string) => FormItemContext | undefined;
|
|
3179
3179
|
addField: (field: FormItemContext) => void;
|
|
@@ -3188,8 +3188,8 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
3188
3188
|
scrollToField: (prop: FormItemProp) => void;
|
|
3189
3189
|
}, {}, {}, {}, {
|
|
3190
3190
|
readonly disabled: boolean;
|
|
3191
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
3192
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
3191
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
3192
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
3193
3193
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
3194
3194
|
readonly labelSuffix: string;
|
|
3195
3195
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -3202,14 +3202,14 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
3202
3202
|
}>>;
|
|
3203
3203
|
}> & {} & ComponentCustomProperties & {} & {
|
|
3204
3204
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
3205
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
3205
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
3206
3206
|
readonly label: string | ComputedRef<string>;
|
|
3207
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
3207
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3208
3208
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3209
|
-
readonly tooltip: string |
|
|
3209
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3210
3210
|
style?: CSSProperties | undefined;
|
|
3211
3211
|
class?: any;
|
|
3212
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3212
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3213
3213
|
style?: CSSProperties | undefined;
|
|
3214
3214
|
class?: any;
|
|
3215
3215
|
} & RecordType>>;
|
|
@@ -3231,7 +3231,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
3231
3231
|
};
|
|
3232
3232
|
rows: number;
|
|
3233
3233
|
autocomplete: string;
|
|
3234
|
-
type: "" | "number" | "
|
|
3234
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
3235
3235
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3236
3236
|
step: string | number;
|
|
3237
3237
|
format: string | ProgressFn | undefined;
|
|
@@ -3270,12 +3270,12 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
3270
3270
|
fieldInstance?: any;
|
|
3271
3271
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3272
3272
|
prop: string;
|
|
3273
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
3273
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3274
3274
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3275
|
-
tooltip: string |
|
|
3275
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
3276
3276
|
style?: CSSProperties | undefined;
|
|
3277
3277
|
class?: any;
|
|
3278
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3278
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
3279
3279
|
style?: CSSProperties | undefined;
|
|
3280
3280
|
class?: any;
|
|
3281
3281
|
} & RecordType>>;
|
|
@@ -3340,29 +3340,25 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3340
3340
|
$: ComponentInternalInstance;
|
|
3341
3341
|
$data: {};
|
|
3342
3342
|
$props: Partial<{
|
|
3343
|
-
modelValue: FieldValues;
|
|
3344
3343
|
dialog: PlusDialogProps;
|
|
3345
3344
|
form: PlusFormProps;
|
|
3346
3345
|
visible: boolean;
|
|
3346
|
+
modelValue: FieldValues;
|
|
3347
3347
|
hasErrorTip: boolean;
|
|
3348
3348
|
}> & Omit<{
|
|
3349
|
-
readonly modelValue: FieldValues;
|
|
3350
3349
|
readonly dialog: PlusDialogProps;
|
|
3351
3350
|
readonly form: PlusFormProps;
|
|
3352
3351
|
readonly visible: boolean;
|
|
3352
|
+
readonly modelValue: FieldValues;
|
|
3353
3353
|
readonly hasErrorTip: boolean;
|
|
3354
|
-
|
|
3354
|
+
onCancel?: (() => any) | undefined;
|
|
3355
3355
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3356
|
-
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3357
3356
|
onClose?: (() => any) | undefined;
|
|
3358
|
-
|
|
3357
|
+
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3358
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3359
3359
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3360
3360
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3361
3361
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3362
|
-
modelValue: {
|
|
3363
|
-
type: PropType<FieldValues>;
|
|
3364
|
-
default: () => {};
|
|
3365
|
-
};
|
|
3366
3362
|
dialog: {
|
|
3367
3363
|
type: PropType<PlusDialogProps>;
|
|
3368
3364
|
default: () => {};
|
|
@@ -3375,19 +3371,23 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3375
3371
|
type: PropType<boolean>;
|
|
3376
3372
|
default: boolean;
|
|
3377
3373
|
};
|
|
3374
|
+
modelValue: {
|
|
3375
|
+
type: PropType<FieldValues>;
|
|
3376
|
+
default: () => {};
|
|
3377
|
+
};
|
|
3378
3378
|
hasErrorTip: {
|
|
3379
3379
|
type: PropType<boolean>;
|
|
3380
3380
|
default: boolean;
|
|
3381
3381
|
};
|
|
3382
3382
|
}>> & {
|
|
3383
|
-
|
|
3383
|
+
onCancel?: (() => any) | undefined;
|
|
3384
3384
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3385
|
-
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3386
3385
|
onClose?: (() => any) | undefined;
|
|
3387
|
-
|
|
3386
|
+
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3387
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3388
3388
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3389
3389
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3390
|
-
}, "
|
|
3390
|
+
}, "dialog" | "form" | "visible" | "modelValue" | "hasErrorTip">;
|
|
3391
3391
|
$attrs: {
|
|
3392
3392
|
[x: string]: unknown;
|
|
3393
3393
|
};
|
|
@@ -3399,13 +3399,9 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3399
3399
|
}>;
|
|
3400
3400
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3401
3401
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3402
|
-
$emit: ((event: "
|
|
3402
|
+
$emit: ((event: "cancel") => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "close") => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
3403
3403
|
$el: any;
|
|
3404
3404
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3405
|
-
modelValue: {
|
|
3406
|
-
type: PropType<FieldValues>;
|
|
3407
|
-
default: () => {};
|
|
3408
|
-
};
|
|
3409
3405
|
dialog: {
|
|
3410
3406
|
type: PropType<PlusDialogProps>;
|
|
3411
3407
|
default: () => {};
|
|
@@ -3418,16 +3414,20 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3418
3414
|
type: PropType<boolean>;
|
|
3419
3415
|
default: boolean;
|
|
3420
3416
|
};
|
|
3417
|
+
modelValue: {
|
|
3418
|
+
type: PropType<FieldValues>;
|
|
3419
|
+
default: () => {};
|
|
3420
|
+
};
|
|
3421
3421
|
hasErrorTip: {
|
|
3422
3422
|
type: PropType<boolean>;
|
|
3423
3423
|
default: boolean;
|
|
3424
3424
|
};
|
|
3425
3425
|
}>> & {
|
|
3426
|
-
|
|
3426
|
+
onCancel?: (() => any) | undefined;
|
|
3427
3427
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3428
|
-
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3429
3428
|
onClose?: (() => any) | undefined;
|
|
3430
|
-
|
|
3429
|
+
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3430
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3431
3431
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3432
3432
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3433
3433
|
}, {
|
|
@@ -3441,8 +3441,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3441
3441
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3442
3442
|
__epPropKey: true;
|
|
3443
3443
|
};
|
|
3444
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
3445
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
3444
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
3445
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
3446
3446
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
3447
3447
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3448
3448
|
readonly inline: BooleanConstructor;
|
|
@@ -3459,7 +3459,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3459
3459
|
__epPropKey: true;
|
|
3460
3460
|
};
|
|
3461
3461
|
readonly size: {
|
|
3462
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
3462
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
3463
3463
|
readonly required: false;
|
|
3464
3464
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3465
3465
|
__epPropKey: true;
|
|
@@ -3477,8 +3477,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3477
3477
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3478
3478
|
__epPropKey: true;
|
|
3479
3479
|
};
|
|
3480
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
3481
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
3480
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
3481
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
3482
3482
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
3483
3483
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3484
3484
|
readonly inline: BooleanConstructor;
|
|
@@ -3495,7 +3495,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3495
3495
|
__epPropKey: true;
|
|
3496
3496
|
};
|
|
3497
3497
|
readonly size: {
|
|
3498
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
3498
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
3499
3499
|
readonly required: false;
|
|
3500
3500
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3501
3501
|
__epPropKey: true;
|
|
@@ -3506,7 +3506,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3506
3506
|
}>>;
|
|
3507
3507
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
3508
3508
|
fields: FormItemContext[];
|
|
3509
|
-
formSize: ComputedRef<"" | "
|
|
3509
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
3510
3510
|
ns: {
|
|
3511
3511
|
namespace: ComputedRef<string>;
|
|
3512
3512
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -3526,7 +3526,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3526
3526
|
cssVarBlockName: (name: string) => string;
|
|
3527
3527
|
};
|
|
3528
3528
|
formClasses: ComputedRef<(string | {
|
|
3529
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
3529
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
3530
3530
|
})[]>;
|
|
3531
3531
|
getField: (prop: string) => FormItemContext | undefined;
|
|
3532
3532
|
addField: (field: FormItemContext) => void;
|
|
@@ -3549,8 +3549,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3549
3549
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3550
3550
|
__epPropKey: true;
|
|
3551
3551
|
};
|
|
3552
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
3553
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
3552
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
3553
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
3554
3554
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
3555
3555
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3556
3556
|
readonly inline: BooleanConstructor;
|
|
@@ -3567,7 +3567,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3567
3567
|
__epPropKey: true;
|
|
3568
3568
|
};
|
|
3569
3569
|
readonly size: {
|
|
3570
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
3570
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
3571
3571
|
readonly required: false;
|
|
3572
3572
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3573
3573
|
__epPropKey: true;
|
|
@@ -3577,8 +3577,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3577
3577
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
3578
3578
|
}, {
|
|
3579
3579
|
readonly disabled: boolean;
|
|
3580
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
3581
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
3580
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
3581
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
3582
3582
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
3583
3583
|
readonly labelSuffix: string;
|
|
3584
3584
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -3603,8 +3603,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3603
3603
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3604
3604
|
__epPropKey: true;
|
|
3605
3605
|
};
|
|
3606
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
3607
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
3606
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
3607
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
3608
3608
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
3609
3609
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3610
3610
|
readonly inline: BooleanConstructor;
|
|
@@ -3621,7 +3621,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3621
3621
|
__epPropKey: true;
|
|
3622
3622
|
};
|
|
3623
3623
|
readonly size: {
|
|
3624
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
3624
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
3625
3625
|
readonly required: false;
|
|
3626
3626
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3627
3627
|
__epPropKey: true;
|
|
@@ -3639,8 +3639,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3639
3639
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3640
3640
|
__epPropKey: true;
|
|
3641
3641
|
};
|
|
3642
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
3643
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
3642
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
3643
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
3644
3644
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
3645
3645
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3646
3646
|
readonly inline: BooleanConstructor;
|
|
@@ -3657,7 +3657,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3657
3657
|
__epPropKey: true;
|
|
3658
3658
|
};
|
|
3659
3659
|
readonly size: {
|
|
3660
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
3660
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
3661
3661
|
readonly required: false;
|
|
3662
3662
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3663
3663
|
__epPropKey: true;
|
|
@@ -3668,7 +3668,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3668
3668
|
}>>;
|
|
3669
3669
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
3670
3670
|
fields: FormItemContext[];
|
|
3671
|
-
formSize: ComputedRef<"" | "
|
|
3671
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
3672
3672
|
ns: {
|
|
3673
3673
|
namespace: ComputedRef<string>;
|
|
3674
3674
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -3688,7 +3688,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3688
3688
|
cssVarBlockName: (name: string) => string;
|
|
3689
3689
|
};
|
|
3690
3690
|
formClasses: ComputedRef<(string | {
|
|
3691
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
3691
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
3692
3692
|
})[]>;
|
|
3693
3693
|
getField: (prop: string) => FormItemContext | undefined;
|
|
3694
3694
|
addField: (field: FormItemContext) => void;
|
|
@@ -3703,8 +3703,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3703
3703
|
scrollToField: (prop: FormItemProp) => void;
|
|
3704
3704
|
}, {}, {}, {}, {
|
|
3705
3705
|
readonly disabled: boolean;
|
|
3706
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
3707
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
3706
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
3707
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
3708
3708
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
3709
3709
|
readonly labelSuffix: string;
|
|
3710
3710
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -3724,10 +3724,10 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3724
3724
|
close: () => void;
|
|
3725
3725
|
confirmError: (errors: unknown) => void;
|
|
3726
3726
|
}, string, {
|
|
3727
|
-
modelValue: FieldValues;
|
|
3728
3727
|
dialog: PlusDialogProps;
|
|
3729
3728
|
form: PlusFormProps;
|
|
3730
3729
|
visible: boolean;
|
|
3730
|
+
modelValue: FieldValues;
|
|
3731
3731
|
hasErrorTip: boolean;
|
|
3732
3732
|
}, {}, string, {}> & {
|
|
3733
3733
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -3750,10 +3750,6 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3750
3750
|
$nextTick: typeof nextTick;
|
|
3751
3751
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
3752
3752
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
3753
|
-
modelValue: {
|
|
3754
|
-
type: PropType<FieldValues>;
|
|
3755
|
-
default: () => {};
|
|
3756
|
-
};
|
|
3757
3753
|
dialog: {
|
|
3758
3754
|
type: PropType<PlusDialogProps>;
|
|
3759
3755
|
default: () => {};
|
|
@@ -3766,16 +3762,20 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3766
3762
|
type: PropType<boolean>;
|
|
3767
3763
|
default: boolean;
|
|
3768
3764
|
};
|
|
3765
|
+
modelValue: {
|
|
3766
|
+
type: PropType<FieldValues>;
|
|
3767
|
+
default: () => {};
|
|
3768
|
+
};
|
|
3769
3769
|
hasErrorTip: {
|
|
3770
3770
|
type: PropType<boolean>;
|
|
3771
3771
|
default: boolean;
|
|
3772
3772
|
};
|
|
3773
3773
|
}>> & {
|
|
3774
|
-
|
|
3774
|
+
onCancel?: (() => any) | undefined;
|
|
3775
3775
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3776
|
-
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3777
3776
|
onClose?: (() => any) | undefined;
|
|
3778
|
-
|
|
3777
|
+
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3778
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3779
3779
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3780
3780
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3781
3781
|
}, "formInstance" | "handleConfirm" | "handleCancel"> & ShallowUnwrapRef<{
|
|
@@ -3789,8 +3789,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3789
3789
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3790
3790
|
__epPropKey: true;
|
|
3791
3791
|
};
|
|
3792
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
3793
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
3792
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
3793
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
3794
3794
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
3795
3795
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3796
3796
|
readonly inline: BooleanConstructor;
|
|
@@ -3807,7 +3807,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3807
3807
|
__epPropKey: true;
|
|
3808
3808
|
};
|
|
3809
3809
|
readonly size: {
|
|
3810
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
3810
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
3811
3811
|
readonly required: false;
|
|
3812
3812
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3813
3813
|
__epPropKey: true;
|
|
@@ -3825,8 +3825,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3825
3825
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3826
3826
|
__epPropKey: true;
|
|
3827
3827
|
};
|
|
3828
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
3829
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
3828
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
3829
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
3830
3830
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
3831
3831
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3832
3832
|
readonly inline: BooleanConstructor;
|
|
@@ -3843,7 +3843,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3843
3843
|
__epPropKey: true;
|
|
3844
3844
|
};
|
|
3845
3845
|
readonly size: {
|
|
3846
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
3846
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
3847
3847
|
readonly required: false;
|
|
3848
3848
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3849
3849
|
__epPropKey: true;
|
|
@@ -3854,7 +3854,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3854
3854
|
}>>;
|
|
3855
3855
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
3856
3856
|
fields: FormItemContext[];
|
|
3857
|
-
formSize: ComputedRef<"" | "
|
|
3857
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
3858
3858
|
ns: {
|
|
3859
3859
|
namespace: ComputedRef<string>;
|
|
3860
3860
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -3874,7 +3874,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3874
3874
|
cssVarBlockName: (name: string) => string;
|
|
3875
3875
|
};
|
|
3876
3876
|
formClasses: ComputedRef<(string | {
|
|
3877
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
3877
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
3878
3878
|
})[]>;
|
|
3879
3879
|
getField: (prop: string) => FormItemContext | undefined;
|
|
3880
3880
|
addField: (field: FormItemContext) => void;
|
|
@@ -3897,8 +3897,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3897
3897
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3898
3898
|
__epPropKey: true;
|
|
3899
3899
|
};
|
|
3900
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
3901
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
3900
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
3901
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
3902
3902
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
3903
3903
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3904
3904
|
readonly inline: BooleanConstructor;
|
|
@@ -3915,7 +3915,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3915
3915
|
__epPropKey: true;
|
|
3916
3916
|
};
|
|
3917
3917
|
readonly size: {
|
|
3918
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
3918
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
3919
3919
|
readonly required: false;
|
|
3920
3920
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3921
3921
|
__epPropKey: true;
|
|
@@ -3925,8 +3925,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3925
3925
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
3926
3926
|
}, {
|
|
3927
3927
|
readonly disabled: boolean;
|
|
3928
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
3929
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
3928
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
3929
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
3930
3930
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
3931
3931
|
readonly labelSuffix: string;
|
|
3932
3932
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -3951,8 +3951,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3951
3951
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3952
3952
|
__epPropKey: true;
|
|
3953
3953
|
};
|
|
3954
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
3955
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
3954
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
3955
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
3956
3956
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
3957
3957
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3958
3958
|
readonly inline: BooleanConstructor;
|
|
@@ -3969,7 +3969,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3969
3969
|
__epPropKey: true;
|
|
3970
3970
|
};
|
|
3971
3971
|
readonly size: {
|
|
3972
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
3972
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
3973
3973
|
readonly required: false;
|
|
3974
3974
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3975
3975
|
__epPropKey: true;
|
|
@@ -3987,8 +3987,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
3987
3987
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
3988
3988
|
__epPropKey: true;
|
|
3989
3989
|
};
|
|
3990
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
3991
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
3990
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
3991
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
3992
3992
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
3993
3993
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
3994
3994
|
readonly inline: BooleanConstructor;
|
|
@@ -4005,7 +4005,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4005
4005
|
__epPropKey: true;
|
|
4006
4006
|
};
|
|
4007
4007
|
readonly size: {
|
|
4008
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
4008
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
4009
4009
|
readonly required: false;
|
|
4010
4010
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
4011
4011
|
__epPropKey: true;
|
|
@@ -4016,7 +4016,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4016
4016
|
}>>;
|
|
4017
4017
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
4018
4018
|
fields: FormItemContext[];
|
|
4019
|
-
formSize: ComputedRef<"" | "
|
|
4019
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
4020
4020
|
ns: {
|
|
4021
4021
|
namespace: ComputedRef<string>;
|
|
4022
4022
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -4036,7 +4036,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4036
4036
|
cssVarBlockName: (name: string) => string;
|
|
4037
4037
|
};
|
|
4038
4038
|
formClasses: ComputedRef<(string | {
|
|
4039
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
4039
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
4040
4040
|
})[]>;
|
|
4041
4041
|
getField: (prop: string) => FormItemContext | undefined;
|
|
4042
4042
|
addField: (field: FormItemContext) => void;
|
|
@@ -4051,8 +4051,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4051
4051
|
scrollToField: (prop: FormItemProp) => void;
|
|
4052
4052
|
}, {}, {}, {}, {
|
|
4053
4053
|
readonly disabled: boolean;
|
|
4054
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
4055
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
4054
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
4055
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
4056
4056
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
4057
4057
|
readonly labelSuffix: string;
|
|
4058
4058
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -4065,14 +4065,14 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4065
4065
|
}>>;
|
|
4066
4066
|
}> & {} & ComponentCustomProperties & {} & {
|
|
4067
4067
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
4068
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
4068
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
4069
4069
|
readonly label: string | ComputedRef<string>;
|
|
4070
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
4070
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4071
4071
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4072
|
-
readonly tooltip: string |
|
|
4072
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4073
4073
|
style?: CSSProperties | undefined;
|
|
4074
4074
|
class?: any;
|
|
4075
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4075
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4076
4076
|
style?: CSSProperties | undefined;
|
|
4077
4077
|
class?: any;
|
|
4078
4078
|
} & RecordType>>;
|
|
@@ -4094,7 +4094,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4094
4094
|
};
|
|
4095
4095
|
rows: number;
|
|
4096
4096
|
autocomplete: string;
|
|
4097
|
-
type: "" | "number" | "
|
|
4097
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
4098
4098
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
4099
4099
|
step: string | number;
|
|
4100
4100
|
format: string | ProgressFn | undefined;
|
|
@@ -4133,12 +4133,12 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4133
4133
|
fieldInstance?: any;
|
|
4134
4134
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4135
4135
|
prop: string;
|
|
4136
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
4136
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4137
4137
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4138
|
-
tooltip: string |
|
|
4138
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
4139
4139
|
style?: CSSProperties | undefined;
|
|
4140
4140
|
class?: any;
|
|
4141
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4141
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
4142
4142
|
style?: CSSProperties | undefined;
|
|
4143
4143
|
class?: any;
|
|
4144
4144
|
} & RecordType>>;
|
|
@@ -4182,9 +4182,9 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4182
4182
|
$data: {};
|
|
4183
4183
|
$props: Partial<{
|
|
4184
4184
|
size: string | number;
|
|
4185
|
-
modelValue: FieldValues;
|
|
4186
4185
|
form: PlusFormProps;
|
|
4187
4186
|
visible: boolean;
|
|
4187
|
+
modelValue: FieldValues;
|
|
4188
4188
|
hasErrorTip: boolean;
|
|
4189
4189
|
hasFooter: boolean;
|
|
4190
4190
|
confirmLoading: boolean;
|
|
@@ -4196,9 +4196,9 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4196
4196
|
} & RecordType>;
|
|
4197
4197
|
}> & Omit<{
|
|
4198
4198
|
readonly size: string | number;
|
|
4199
|
-
readonly modelValue: FieldValues;
|
|
4200
4199
|
readonly form: PlusFormProps;
|
|
4201
4200
|
readonly visible: boolean;
|
|
4201
|
+
readonly modelValue: FieldValues;
|
|
4202
4202
|
readonly hasErrorTip: boolean;
|
|
4203
4203
|
readonly hasFooter: boolean;
|
|
4204
4204
|
readonly confirmLoading: boolean;
|
|
@@ -4208,10 +4208,10 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4208
4208
|
style?: CSSProperties | undefined;
|
|
4209
4209
|
class?: any;
|
|
4210
4210
|
} & RecordType>;
|
|
4211
|
-
|
|
4211
|
+
onCancel?: (() => any) | undefined;
|
|
4212
4212
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4213
4213
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
4214
|
-
|
|
4214
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4215
4215
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
4216
4216
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
4217
4217
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
@@ -4219,10 +4219,6 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4219
4219
|
type: PropType<string | number>;
|
|
4220
4220
|
default: string;
|
|
4221
4221
|
};
|
|
4222
|
-
modelValue: {
|
|
4223
|
-
type: PropType<FieldValues>;
|
|
4224
|
-
default: () => {};
|
|
4225
|
-
};
|
|
4226
4222
|
form: {
|
|
4227
4223
|
type: PropType<PlusFormProps>;
|
|
4228
4224
|
default: () => {};
|
|
@@ -4231,6 +4227,10 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4231
4227
|
type: PropType<boolean>;
|
|
4232
4228
|
default: boolean;
|
|
4233
4229
|
};
|
|
4230
|
+
modelValue: {
|
|
4231
|
+
type: PropType<FieldValues>;
|
|
4232
|
+
default: () => {};
|
|
4233
|
+
};
|
|
4234
4234
|
hasErrorTip: {
|
|
4235
4235
|
type: PropType<boolean>;
|
|
4236
4236
|
default: boolean;
|
|
@@ -4259,13 +4259,13 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4259
4259
|
default: () => {};
|
|
4260
4260
|
};
|
|
4261
4261
|
}>> & {
|
|
4262
|
-
|
|
4262
|
+
onCancel?: (() => any) | undefined;
|
|
4263
4263
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4264
4264
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
4265
|
-
|
|
4265
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4266
4266
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
4267
4267
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
4268
|
-
}, "size" | "
|
|
4268
|
+
}, "size" | "form" | "visible" | "modelValue" | "hasErrorTip" | "hasFooter" | "confirmLoading" | "cancelText" | "confirmText" | "drawer">;
|
|
4269
4269
|
$attrs: {
|
|
4270
4270
|
[x: string]: unknown;
|
|
4271
4271
|
};
|
|
@@ -4277,17 +4277,13 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4277
4277
|
}>;
|
|
4278
4278
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4279
4279
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4280
|
-
$emit: ((event: "
|
|
4280
|
+
$emit: ((event: "cancel") => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
4281
4281
|
$el: any;
|
|
4282
4282
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
4283
4283
|
size: {
|
|
4284
4284
|
type: PropType<string | number>;
|
|
4285
4285
|
default: string;
|
|
4286
4286
|
};
|
|
4287
|
-
modelValue: {
|
|
4288
|
-
type: PropType<FieldValues>;
|
|
4289
|
-
default: () => {};
|
|
4290
|
-
};
|
|
4291
4287
|
form: {
|
|
4292
4288
|
type: PropType<PlusFormProps>;
|
|
4293
4289
|
default: () => {};
|
|
@@ -4296,6 +4292,10 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4296
4292
|
type: PropType<boolean>;
|
|
4297
4293
|
default: boolean;
|
|
4298
4294
|
};
|
|
4295
|
+
modelValue: {
|
|
4296
|
+
type: PropType<FieldValues>;
|
|
4297
|
+
default: () => {};
|
|
4298
|
+
};
|
|
4299
4299
|
hasErrorTip: {
|
|
4300
4300
|
type: PropType<boolean>;
|
|
4301
4301
|
default: boolean;
|
|
@@ -4324,10 +4324,10 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
4324
4324
|
default: () => {};
|
|
4325
4325
|
};
|
|
4326
4326
|
}>> & {
|
|
4327
|
-
|
|
4327
|
+
onCancel?: (() => any) | undefined;
|
|
4328
4328
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
4329
4329
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
4330
|
-
|
|
4330
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
4331
4331
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
4332
4332
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
4333
4333
|
}, {
|
|
@@ -5077,8 +5077,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5077
5077
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
5078
5078
|
__epPropKey: true;
|
|
5079
5079
|
};
|
|
5080
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
5081
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
5080
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
5081
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
5082
5082
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
5083
5083
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
5084
5084
|
readonly inline: BooleanConstructor;
|
|
@@ -5095,7 +5095,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5095
5095
|
__epPropKey: true;
|
|
5096
5096
|
};
|
|
5097
5097
|
readonly size: {
|
|
5098
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
5098
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
5099
5099
|
readonly required: false;
|
|
5100
5100
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
5101
5101
|
__epPropKey: true;
|
|
@@ -5113,8 +5113,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5113
5113
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
5114
5114
|
__epPropKey: true;
|
|
5115
5115
|
};
|
|
5116
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
5117
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
5116
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
5117
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
5118
5118
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
5119
5119
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
5120
5120
|
readonly inline: BooleanConstructor;
|
|
@@ -5131,7 +5131,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5131
5131
|
__epPropKey: true;
|
|
5132
5132
|
};
|
|
5133
5133
|
readonly size: {
|
|
5134
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
5134
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
5135
5135
|
readonly required: false;
|
|
5136
5136
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
5137
5137
|
__epPropKey: true;
|
|
@@ -5142,7 +5142,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5142
5142
|
}>>;
|
|
5143
5143
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
5144
5144
|
fields: FormItemContext[];
|
|
5145
|
-
formSize: ComputedRef<"" | "
|
|
5145
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
5146
5146
|
ns: {
|
|
5147
5147
|
namespace: ComputedRef<string>;
|
|
5148
5148
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -5162,7 +5162,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5162
5162
|
cssVarBlockName: (name: string) => string;
|
|
5163
5163
|
};
|
|
5164
5164
|
formClasses: ComputedRef<(string | {
|
|
5165
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
5165
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
5166
5166
|
})[]>;
|
|
5167
5167
|
getField: (prop: string) => FormItemContext | undefined;
|
|
5168
5168
|
addField: (field: FormItemContext) => void;
|
|
@@ -5185,8 +5185,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5185
5185
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
5186
5186
|
__epPropKey: true;
|
|
5187
5187
|
};
|
|
5188
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
5189
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
5188
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
5189
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
5190
5190
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
5191
5191
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
5192
5192
|
readonly inline: BooleanConstructor;
|
|
@@ -5203,7 +5203,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5203
5203
|
__epPropKey: true;
|
|
5204
5204
|
};
|
|
5205
5205
|
readonly size: {
|
|
5206
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
5206
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
5207
5207
|
readonly required: false;
|
|
5208
5208
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
5209
5209
|
__epPropKey: true;
|
|
@@ -5213,8 +5213,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5213
5213
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
5214
5214
|
}, {
|
|
5215
5215
|
readonly disabled: boolean;
|
|
5216
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
5217
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
5216
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
5217
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
5218
5218
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
5219
5219
|
readonly labelSuffix: string;
|
|
5220
5220
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -5239,8 +5239,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5239
5239
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
5240
5240
|
__epPropKey: true;
|
|
5241
5241
|
};
|
|
5242
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
5243
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
5242
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
5243
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
5244
5244
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
5245
5245
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
5246
5246
|
readonly inline: BooleanConstructor;
|
|
@@ -5257,7 +5257,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5257
5257
|
__epPropKey: true;
|
|
5258
5258
|
};
|
|
5259
5259
|
readonly size: {
|
|
5260
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
5260
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
5261
5261
|
readonly required: false;
|
|
5262
5262
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
5263
5263
|
__epPropKey: true;
|
|
@@ -5275,8 +5275,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5275
5275
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
5276
5276
|
__epPropKey: true;
|
|
5277
5277
|
};
|
|
5278
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
5279
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
5278
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
5279
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
5280
5280
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
5281
5281
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
5282
5282
|
readonly inline: BooleanConstructor;
|
|
@@ -5293,7 +5293,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5293
5293
|
__epPropKey: true;
|
|
5294
5294
|
};
|
|
5295
5295
|
readonly size: {
|
|
5296
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
5296
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
5297
5297
|
readonly required: false;
|
|
5298
5298
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
5299
5299
|
__epPropKey: true;
|
|
@@ -5304,7 +5304,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5304
5304
|
}>>;
|
|
5305
5305
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
5306
5306
|
fields: FormItemContext[];
|
|
5307
|
-
formSize: ComputedRef<"" | "
|
|
5307
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
5308
5308
|
ns: {
|
|
5309
5309
|
namespace: ComputedRef<string>;
|
|
5310
5310
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -5324,7 +5324,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5324
5324
|
cssVarBlockName: (name: string) => string;
|
|
5325
5325
|
};
|
|
5326
5326
|
formClasses: ComputedRef<(string | {
|
|
5327
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
5327
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
5328
5328
|
})[]>;
|
|
5329
5329
|
getField: (prop: string) => FormItemContext | undefined;
|
|
5330
5330
|
addField: (field: FormItemContext) => void;
|
|
@@ -5339,8 +5339,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5339
5339
|
scrollToField: (prop: FormItemProp) => void;
|
|
5340
5340
|
}, {}, {}, {}, {
|
|
5341
5341
|
readonly disabled: boolean;
|
|
5342
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
5343
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
5342
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
5343
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
5344
5344
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
5345
5345
|
readonly labelSuffix: string;
|
|
5346
5346
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -5360,9 +5360,9 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5360
5360
|
confirmError: (errors: unknown) => void;
|
|
5361
5361
|
}, string, {
|
|
5362
5362
|
size: string | number;
|
|
5363
|
-
modelValue: FieldValues;
|
|
5364
5363
|
form: PlusFormProps;
|
|
5365
5364
|
visible: boolean;
|
|
5365
|
+
modelValue: FieldValues;
|
|
5366
5366
|
hasErrorTip: boolean;
|
|
5367
5367
|
hasFooter: boolean;
|
|
5368
5368
|
confirmLoading: boolean;
|
|
@@ -5397,10 +5397,6 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5397
5397
|
type: PropType<string | number>;
|
|
5398
5398
|
default: string;
|
|
5399
5399
|
};
|
|
5400
|
-
modelValue: {
|
|
5401
|
-
type: PropType<FieldValues>;
|
|
5402
|
-
default: () => {};
|
|
5403
|
-
};
|
|
5404
5400
|
form: {
|
|
5405
5401
|
type: PropType<PlusFormProps>;
|
|
5406
5402
|
default: () => {};
|
|
@@ -5409,6 +5405,10 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5409
5405
|
type: PropType<boolean>;
|
|
5410
5406
|
default: boolean;
|
|
5411
5407
|
};
|
|
5408
|
+
modelValue: {
|
|
5409
|
+
type: PropType<FieldValues>;
|
|
5410
|
+
default: () => {};
|
|
5411
|
+
};
|
|
5412
5412
|
hasErrorTip: {
|
|
5413
5413
|
type: PropType<boolean>;
|
|
5414
5414
|
default: boolean;
|
|
@@ -5437,10 +5437,10 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
5437
5437
|
default: () => {};
|
|
5438
5438
|
};
|
|
5439
5439
|
}>> & {
|
|
5440
|
-
|
|
5440
|
+
onCancel?: (() => any) | undefined;
|
|
5441
5441
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
5442
5442
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
5443
|
-
|
|
5443
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
5444
5444
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
5445
5445
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
5446
5446
|
}, "formInstance" | "drawerInstance"> & ShallowUnwrapRef<{
|
|
@@ -6190,8 +6190,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
6190
6190
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6191
6191
|
__epPropKey: true;
|
|
6192
6192
|
};
|
|
6193
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
6194
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
6193
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
6194
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
6195
6195
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
6196
6196
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
6197
6197
|
readonly inline: BooleanConstructor;
|
|
@@ -6208,7 +6208,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
6208
6208
|
__epPropKey: true;
|
|
6209
6209
|
};
|
|
6210
6210
|
readonly size: {
|
|
6211
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
6211
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
6212
6212
|
readonly required: false;
|
|
6213
6213
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6214
6214
|
__epPropKey: true;
|
|
@@ -6226,8 +6226,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
6226
6226
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6227
6227
|
__epPropKey: true;
|
|
6228
6228
|
};
|
|
6229
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
6230
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
6229
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
6230
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
6231
6231
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
6232
6232
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
6233
6233
|
readonly inline: BooleanConstructor;
|
|
@@ -6244,7 +6244,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
6244
6244
|
__epPropKey: true;
|
|
6245
6245
|
};
|
|
6246
6246
|
readonly size: {
|
|
6247
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
6247
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
6248
6248
|
readonly required: false;
|
|
6249
6249
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6250
6250
|
__epPropKey: true;
|
|
@@ -6255,7 +6255,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
6255
6255
|
}>>;
|
|
6256
6256
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
6257
6257
|
fields: FormItemContext[];
|
|
6258
|
-
formSize: ComputedRef<"" | "
|
|
6258
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
6259
6259
|
ns: {
|
|
6260
6260
|
namespace: ComputedRef<string>;
|
|
6261
6261
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -6275,7 +6275,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
6275
6275
|
cssVarBlockName: (name: string) => string;
|
|
6276
6276
|
};
|
|
6277
6277
|
formClasses: ComputedRef<(string | {
|
|
6278
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
6278
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
6279
6279
|
})[]>;
|
|
6280
6280
|
getField: (prop: string) => FormItemContext | undefined;
|
|
6281
6281
|
addField: (field: FormItemContext) => void;
|
|
@@ -6298,8 +6298,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
6298
6298
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6299
6299
|
__epPropKey: true;
|
|
6300
6300
|
};
|
|
6301
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
6302
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
6301
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
6302
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
6303
6303
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
6304
6304
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
6305
6305
|
readonly inline: BooleanConstructor;
|
|
@@ -6316,7 +6316,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
6316
6316
|
__epPropKey: true;
|
|
6317
6317
|
};
|
|
6318
6318
|
readonly size: {
|
|
6319
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
6319
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
6320
6320
|
readonly required: false;
|
|
6321
6321
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6322
6322
|
__epPropKey: true;
|
|
@@ -6326,8 +6326,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
6326
6326
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
6327
6327
|
}, {
|
|
6328
6328
|
readonly disabled: boolean;
|
|
6329
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
6330
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
6329
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
6330
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
6331
6331
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
6332
6332
|
readonly labelSuffix: string;
|
|
6333
6333
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -6352,8 +6352,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
6352
6352
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6353
6353
|
__epPropKey: true;
|
|
6354
6354
|
};
|
|
6355
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
6356
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
6355
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
6356
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
6357
6357
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
6358
6358
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
6359
6359
|
readonly inline: BooleanConstructor;
|
|
@@ -6370,7 +6370,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
6370
6370
|
__epPropKey: true;
|
|
6371
6371
|
};
|
|
6372
6372
|
readonly size: {
|
|
6373
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
6373
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
6374
6374
|
readonly required: false;
|
|
6375
6375
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6376
6376
|
__epPropKey: true;
|
|
@@ -6388,8 +6388,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
6388
6388
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6389
6389
|
__epPropKey: true;
|
|
6390
6390
|
};
|
|
6391
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
6392
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
6391
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
6392
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
6393
6393
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
6394
6394
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
6395
6395
|
readonly inline: BooleanConstructor;
|
|
@@ -6406,7 +6406,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
6406
6406
|
__epPropKey: true;
|
|
6407
6407
|
};
|
|
6408
6408
|
readonly size: {
|
|
6409
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
6409
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
6410
6410
|
readonly required: false;
|
|
6411
6411
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6412
6412
|
__epPropKey: true;
|
|
@@ -6417,7 +6417,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
6417
6417
|
}>>;
|
|
6418
6418
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
6419
6419
|
fields: FormItemContext[];
|
|
6420
|
-
formSize: ComputedRef<"" | "
|
|
6420
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
6421
6421
|
ns: {
|
|
6422
6422
|
namespace: ComputedRef<string>;
|
|
6423
6423
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -6437,7 +6437,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
6437
6437
|
cssVarBlockName: (name: string) => string;
|
|
6438
6438
|
};
|
|
6439
6439
|
formClasses: ComputedRef<(string | {
|
|
6440
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
6440
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
6441
6441
|
})[]>;
|
|
6442
6442
|
getField: (prop: string) => FormItemContext | undefined;
|
|
6443
6443
|
addField: (field: FormItemContext) => void;
|
|
@@ -6452,8 +6452,8 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
6452
6452
|
scrollToField: (prop: FormItemProp) => void;
|
|
6453
6453
|
}, {}, {}, {}, {
|
|
6454
6454
|
readonly disabled: boolean;
|
|
6455
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
6456
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
6455
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
6456
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
6457
6457
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
6458
6458
|
readonly labelSuffix: string;
|
|
6459
6459
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -6466,14 +6466,14 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
6466
6466
|
}>>;
|
|
6467
6467
|
}> & {} & ComponentCustomProperties & {} & {
|
|
6468
6468
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
6469
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
6469
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
6470
6470
|
readonly label: string | ComputedRef<string>;
|
|
6471
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
6471
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
6472
6472
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
6473
|
-
readonly tooltip: string |
|
|
6473
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
6474
6474
|
style?: CSSProperties | undefined;
|
|
6475
6475
|
class?: any;
|
|
6476
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
6476
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
6477
6477
|
style?: CSSProperties | undefined;
|
|
6478
6478
|
class?: any;
|
|
6479
6479
|
} & RecordType>>;
|
|
@@ -6495,7 +6495,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
6495
6495
|
};
|
|
6496
6496
|
rows: number;
|
|
6497
6497
|
autocomplete: string;
|
|
6498
|
-
type: "" | "number" | "
|
|
6498
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
6499
6499
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
6500
6500
|
step: string | number;
|
|
6501
6501
|
format: string | ProgressFn | undefined;
|
|
@@ -6534,12 +6534,12 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
6534
6534
|
fieldInstance?: any;
|
|
6535
6535
|
valueIsReady?: Ref<boolean> | undefined;
|
|
6536
6536
|
prop: string;
|
|
6537
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
6537
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
6538
6538
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
6539
|
-
tooltip: string |
|
|
6539
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
6540
6540
|
style?: CSSProperties | undefined;
|
|
6541
6541
|
class?: any;
|
|
6542
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
6542
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
6543
6543
|
style?: CSSProperties | undefined;
|
|
6544
6544
|
class?: any;
|
|
6545
6545
|
} & RecordType>>;
|
|
@@ -6606,29 +6606,25 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6606
6606
|
$: ComponentInternalInstance;
|
|
6607
6607
|
$data: {};
|
|
6608
6608
|
$props: Partial<{
|
|
6609
|
-
modelValue: FieldValues;
|
|
6610
6609
|
dialog: PlusDialogProps;
|
|
6611
6610
|
form: PlusFormProps;
|
|
6612
6611
|
visible: boolean;
|
|
6612
|
+
modelValue: FieldValues;
|
|
6613
6613
|
hasErrorTip: boolean;
|
|
6614
6614
|
}> & Omit<{
|
|
6615
|
-
readonly modelValue: FieldValues;
|
|
6616
6615
|
readonly dialog: PlusDialogProps;
|
|
6617
6616
|
readonly form: PlusFormProps;
|
|
6618
6617
|
readonly visible: boolean;
|
|
6618
|
+
readonly modelValue: FieldValues;
|
|
6619
6619
|
readonly hasErrorTip: boolean;
|
|
6620
|
-
|
|
6620
|
+
onCancel?: (() => any) | undefined;
|
|
6621
6621
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
6622
|
-
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
6623
6622
|
onClose?: (() => any) | undefined;
|
|
6624
|
-
|
|
6623
|
+
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
6624
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
6625
6625
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
6626
6626
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
6627
6627
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
6628
|
-
modelValue: {
|
|
6629
|
-
type: PropType<FieldValues>;
|
|
6630
|
-
default: () => {};
|
|
6631
|
-
};
|
|
6632
6628
|
dialog: {
|
|
6633
6629
|
type: PropType<PlusDialogProps>;
|
|
6634
6630
|
default: () => {};
|
|
@@ -6641,19 +6637,23 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6641
6637
|
type: PropType<boolean>;
|
|
6642
6638
|
default: boolean;
|
|
6643
6639
|
};
|
|
6640
|
+
modelValue: {
|
|
6641
|
+
type: PropType<FieldValues>;
|
|
6642
|
+
default: () => {};
|
|
6643
|
+
};
|
|
6644
6644
|
hasErrorTip: {
|
|
6645
6645
|
type: PropType<boolean>;
|
|
6646
6646
|
default: boolean;
|
|
6647
6647
|
};
|
|
6648
6648
|
}>> & {
|
|
6649
|
-
|
|
6649
|
+
onCancel?: (() => any) | undefined;
|
|
6650
6650
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
6651
|
-
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
6652
6651
|
onClose?: (() => any) | undefined;
|
|
6653
|
-
|
|
6652
|
+
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
6653
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
6654
6654
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
6655
6655
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
6656
|
-
}, "
|
|
6656
|
+
}, "dialog" | "form" | "visible" | "modelValue" | "hasErrorTip">;
|
|
6657
6657
|
$attrs: {
|
|
6658
6658
|
[x: string]: unknown;
|
|
6659
6659
|
};
|
|
@@ -6665,13 +6665,9 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6665
6665
|
}>;
|
|
6666
6666
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
6667
6667
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
6668
|
-
$emit: ((event: "
|
|
6668
|
+
$emit: ((event: "cancel") => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "close") => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
6669
6669
|
$el: any;
|
|
6670
6670
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
6671
|
-
modelValue: {
|
|
6672
|
-
type: PropType<FieldValues>;
|
|
6673
|
-
default: () => {};
|
|
6674
|
-
};
|
|
6675
6671
|
dialog: {
|
|
6676
6672
|
type: PropType<PlusDialogProps>;
|
|
6677
6673
|
default: () => {};
|
|
@@ -6684,16 +6680,20 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6684
6680
|
type: PropType<boolean>;
|
|
6685
6681
|
default: boolean;
|
|
6686
6682
|
};
|
|
6683
|
+
modelValue: {
|
|
6684
|
+
type: PropType<FieldValues>;
|
|
6685
|
+
default: () => {};
|
|
6686
|
+
};
|
|
6687
6687
|
hasErrorTip: {
|
|
6688
6688
|
type: PropType<boolean>;
|
|
6689
6689
|
default: boolean;
|
|
6690
6690
|
};
|
|
6691
6691
|
}>> & {
|
|
6692
|
-
|
|
6692
|
+
onCancel?: (() => any) | undefined;
|
|
6693
6693
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
6694
|
-
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
6695
6694
|
onClose?: (() => any) | undefined;
|
|
6696
|
-
|
|
6695
|
+
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
6696
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
6697
6697
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
6698
6698
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
6699
6699
|
}, {
|
|
@@ -6707,8 +6707,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6707
6707
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6708
6708
|
__epPropKey: true;
|
|
6709
6709
|
};
|
|
6710
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
6711
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
6710
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
6711
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
6712
6712
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
6713
6713
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
6714
6714
|
readonly inline: BooleanConstructor;
|
|
@@ -6725,7 +6725,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6725
6725
|
__epPropKey: true;
|
|
6726
6726
|
};
|
|
6727
6727
|
readonly size: {
|
|
6728
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
6728
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
6729
6729
|
readonly required: false;
|
|
6730
6730
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6731
6731
|
__epPropKey: true;
|
|
@@ -6743,8 +6743,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6743
6743
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6744
6744
|
__epPropKey: true;
|
|
6745
6745
|
};
|
|
6746
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
6747
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
6746
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
6747
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
6748
6748
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
6749
6749
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
6750
6750
|
readonly inline: BooleanConstructor;
|
|
@@ -6761,7 +6761,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6761
6761
|
__epPropKey: true;
|
|
6762
6762
|
};
|
|
6763
6763
|
readonly size: {
|
|
6764
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
6764
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
6765
6765
|
readonly required: false;
|
|
6766
6766
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6767
6767
|
__epPropKey: true;
|
|
@@ -6772,7 +6772,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6772
6772
|
}>>;
|
|
6773
6773
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
6774
6774
|
fields: FormItemContext[];
|
|
6775
|
-
formSize: ComputedRef<"" | "
|
|
6775
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
6776
6776
|
ns: {
|
|
6777
6777
|
namespace: ComputedRef<string>;
|
|
6778
6778
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -6792,7 +6792,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6792
6792
|
cssVarBlockName: (name: string) => string;
|
|
6793
6793
|
};
|
|
6794
6794
|
formClasses: ComputedRef<(string | {
|
|
6795
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
6795
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
6796
6796
|
})[]>;
|
|
6797
6797
|
getField: (prop: string) => FormItemContext | undefined;
|
|
6798
6798
|
addField: (field: FormItemContext) => void;
|
|
@@ -6815,8 +6815,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6815
6815
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6816
6816
|
__epPropKey: true;
|
|
6817
6817
|
};
|
|
6818
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
6819
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
6818
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
6819
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
6820
6820
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
6821
6821
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
6822
6822
|
readonly inline: BooleanConstructor;
|
|
@@ -6833,7 +6833,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6833
6833
|
__epPropKey: true;
|
|
6834
6834
|
};
|
|
6835
6835
|
readonly size: {
|
|
6836
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
6836
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
6837
6837
|
readonly required: false;
|
|
6838
6838
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6839
6839
|
__epPropKey: true;
|
|
@@ -6843,8 +6843,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6843
6843
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
6844
6844
|
}, {
|
|
6845
6845
|
readonly disabled: boolean;
|
|
6846
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
6847
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
6846
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
6847
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
6848
6848
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
6849
6849
|
readonly labelSuffix: string;
|
|
6850
6850
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -6869,8 +6869,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6869
6869
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6870
6870
|
__epPropKey: true;
|
|
6871
6871
|
};
|
|
6872
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
6873
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
6872
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
6873
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
6874
6874
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
6875
6875
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
6876
6876
|
readonly inline: BooleanConstructor;
|
|
@@ -6887,7 +6887,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6887
6887
|
__epPropKey: true;
|
|
6888
6888
|
};
|
|
6889
6889
|
readonly size: {
|
|
6890
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
6890
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
6891
6891
|
readonly required: false;
|
|
6892
6892
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6893
6893
|
__epPropKey: true;
|
|
@@ -6905,8 +6905,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6905
6905
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6906
6906
|
__epPropKey: true;
|
|
6907
6907
|
};
|
|
6908
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
6909
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
6908
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
6909
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
6910
6910
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
6911
6911
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
6912
6912
|
readonly inline: BooleanConstructor;
|
|
@@ -6923,7 +6923,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6923
6923
|
__epPropKey: true;
|
|
6924
6924
|
};
|
|
6925
6925
|
readonly size: {
|
|
6926
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
6926
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
6927
6927
|
readonly required: false;
|
|
6928
6928
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6929
6929
|
__epPropKey: true;
|
|
@@ -6934,7 +6934,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6934
6934
|
}>>;
|
|
6935
6935
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
6936
6936
|
fields: FormItemContext[];
|
|
6937
|
-
formSize: ComputedRef<"" | "
|
|
6937
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
6938
6938
|
ns: {
|
|
6939
6939
|
namespace: ComputedRef<string>;
|
|
6940
6940
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -6954,7 +6954,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6954
6954
|
cssVarBlockName: (name: string) => string;
|
|
6955
6955
|
};
|
|
6956
6956
|
formClasses: ComputedRef<(string | {
|
|
6957
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
6957
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
6958
6958
|
})[]>;
|
|
6959
6959
|
getField: (prop: string) => FormItemContext | undefined;
|
|
6960
6960
|
addField: (field: FormItemContext) => void;
|
|
@@ -6969,8 +6969,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6969
6969
|
scrollToField: (prop: FormItemProp) => void;
|
|
6970
6970
|
}, {}, {}, {}, {
|
|
6971
6971
|
readonly disabled: boolean;
|
|
6972
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
6973
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
6972
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
6973
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
6974
6974
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
6975
6975
|
readonly labelSuffix: string;
|
|
6976
6976
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -6990,10 +6990,10 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
6990
6990
|
close: () => void;
|
|
6991
6991
|
confirmError: (errors: unknown) => void;
|
|
6992
6992
|
}, string, {
|
|
6993
|
-
modelValue: FieldValues;
|
|
6994
6993
|
dialog: PlusDialogProps;
|
|
6995
6994
|
form: PlusFormProps;
|
|
6996
6995
|
visible: boolean;
|
|
6996
|
+
modelValue: FieldValues;
|
|
6997
6997
|
hasErrorTip: boolean;
|
|
6998
6998
|
}, {}, string, {}> & {
|
|
6999
6999
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -7016,10 +7016,6 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7016
7016
|
$nextTick: typeof nextTick;
|
|
7017
7017
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (args_0: R, args_1: R) => any : (...args: any) => any, options?: WatchOptions<boolean> | undefined): WatchStopHandle;
|
|
7018
7018
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
7019
|
-
modelValue: {
|
|
7020
|
-
type: PropType<FieldValues>;
|
|
7021
|
-
default: () => {};
|
|
7022
|
-
};
|
|
7023
7019
|
dialog: {
|
|
7024
7020
|
type: PropType<PlusDialogProps>;
|
|
7025
7021
|
default: () => {};
|
|
@@ -7032,16 +7028,20 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7032
7028
|
type: PropType<boolean>;
|
|
7033
7029
|
default: boolean;
|
|
7034
7030
|
};
|
|
7031
|
+
modelValue: {
|
|
7032
|
+
type: PropType<FieldValues>;
|
|
7033
|
+
default: () => {};
|
|
7034
|
+
};
|
|
7035
7035
|
hasErrorTip: {
|
|
7036
7036
|
type: PropType<boolean>;
|
|
7037
7037
|
default: boolean;
|
|
7038
7038
|
};
|
|
7039
7039
|
}>> & {
|
|
7040
|
-
|
|
7040
|
+
onCancel?: (() => any) | undefined;
|
|
7041
7041
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
7042
|
-
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
7043
7042
|
onClose?: (() => any) | undefined;
|
|
7044
|
-
|
|
7043
|
+
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
7044
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
7045
7045
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
7046
7046
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
7047
7047
|
}, "formInstance" | "handleConfirm" | "handleCancel"> & ShallowUnwrapRef<{
|
|
@@ -7055,8 +7055,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7055
7055
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
7056
7056
|
__epPropKey: true;
|
|
7057
7057
|
};
|
|
7058
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
7059
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
7058
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
7059
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
7060
7060
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
7061
7061
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
7062
7062
|
readonly inline: BooleanConstructor;
|
|
@@ -7073,7 +7073,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7073
7073
|
__epPropKey: true;
|
|
7074
7074
|
};
|
|
7075
7075
|
readonly size: {
|
|
7076
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
7076
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
7077
7077
|
readonly required: false;
|
|
7078
7078
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
7079
7079
|
__epPropKey: true;
|
|
@@ -7091,8 +7091,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7091
7091
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
7092
7092
|
__epPropKey: true;
|
|
7093
7093
|
};
|
|
7094
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
7095
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
7094
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
7095
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
7096
7096
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
7097
7097
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
7098
7098
|
readonly inline: BooleanConstructor;
|
|
@@ -7109,7 +7109,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7109
7109
|
__epPropKey: true;
|
|
7110
7110
|
};
|
|
7111
7111
|
readonly size: {
|
|
7112
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
7112
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
7113
7113
|
readonly required: false;
|
|
7114
7114
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
7115
7115
|
__epPropKey: true;
|
|
@@ -7120,7 +7120,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7120
7120
|
}>>;
|
|
7121
7121
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
7122
7122
|
fields: FormItemContext[];
|
|
7123
|
-
formSize: ComputedRef<"" | "
|
|
7123
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
7124
7124
|
ns: {
|
|
7125
7125
|
namespace: ComputedRef<string>;
|
|
7126
7126
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -7140,7 +7140,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7140
7140
|
cssVarBlockName: (name: string) => string;
|
|
7141
7141
|
};
|
|
7142
7142
|
formClasses: ComputedRef<(string | {
|
|
7143
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
7143
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
7144
7144
|
})[]>;
|
|
7145
7145
|
getField: (prop: string) => FormItemContext | undefined;
|
|
7146
7146
|
addField: (field: FormItemContext) => void;
|
|
@@ -7163,8 +7163,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7163
7163
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
7164
7164
|
__epPropKey: true;
|
|
7165
7165
|
};
|
|
7166
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
7167
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
7166
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
7167
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
7168
7168
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
7169
7169
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
7170
7170
|
readonly inline: BooleanConstructor;
|
|
@@ -7181,7 +7181,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7181
7181
|
__epPropKey: true;
|
|
7182
7182
|
};
|
|
7183
7183
|
readonly size: {
|
|
7184
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
7184
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
7185
7185
|
readonly required: false;
|
|
7186
7186
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
7187
7187
|
__epPropKey: true;
|
|
@@ -7191,8 +7191,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7191
7191
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
7192
7192
|
}, {
|
|
7193
7193
|
readonly disabled: boolean;
|
|
7194
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
7195
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
7194
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
7195
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
7196
7196
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
7197
7197
|
readonly labelSuffix: string;
|
|
7198
7198
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -7217,8 +7217,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7217
7217
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
7218
7218
|
__epPropKey: true;
|
|
7219
7219
|
};
|
|
7220
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
7221
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
7220
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
7221
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
7222
7222
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
7223
7223
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
7224
7224
|
readonly inline: BooleanConstructor;
|
|
@@ -7235,7 +7235,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7235
7235
|
__epPropKey: true;
|
|
7236
7236
|
};
|
|
7237
7237
|
readonly size: {
|
|
7238
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
7238
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
7239
7239
|
readonly required: false;
|
|
7240
7240
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
7241
7241
|
__epPropKey: true;
|
|
@@ -7253,8 +7253,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7253
7253
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
7254
7254
|
__epPropKey: true;
|
|
7255
7255
|
};
|
|
7256
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
7257
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
7256
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
7257
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
7258
7258
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
7259
7259
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
7260
7260
|
readonly inline: BooleanConstructor;
|
|
@@ -7271,7 +7271,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7271
7271
|
__epPropKey: true;
|
|
7272
7272
|
};
|
|
7273
7273
|
readonly size: {
|
|
7274
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
7274
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
7275
7275
|
readonly required: false;
|
|
7276
7276
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
7277
7277
|
__epPropKey: true;
|
|
@@ -7282,7 +7282,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7282
7282
|
}>>;
|
|
7283
7283
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
7284
7284
|
fields: FormItemContext[];
|
|
7285
|
-
formSize: ComputedRef<"" | "
|
|
7285
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
7286
7286
|
ns: {
|
|
7287
7287
|
namespace: ComputedRef<string>;
|
|
7288
7288
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -7302,7 +7302,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7302
7302
|
cssVarBlockName: (name: string) => string;
|
|
7303
7303
|
};
|
|
7304
7304
|
formClasses: ComputedRef<(string | {
|
|
7305
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
7305
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
7306
7306
|
})[]>;
|
|
7307
7307
|
getField: (prop: string) => FormItemContext | undefined;
|
|
7308
7308
|
addField: (field: FormItemContext) => void;
|
|
@@ -7317,8 +7317,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7317
7317
|
scrollToField: (prop: FormItemProp) => void;
|
|
7318
7318
|
}, {}, {}, {}, {
|
|
7319
7319
|
readonly disabled: boolean;
|
|
7320
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
7321
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
7320
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
7321
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
7322
7322
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
7323
7323
|
readonly labelSuffix: string;
|
|
7324
7324
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -7331,14 +7331,14 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7331
7331
|
}>>;
|
|
7332
7332
|
}> & {} & ComponentCustomProperties & {} & {
|
|
7333
7333
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
7334
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
7334
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
7335
7335
|
readonly label: string | ComputedRef<string>;
|
|
7336
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
7336
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
7337
7337
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
7338
|
-
readonly tooltip: string |
|
|
7338
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
7339
7339
|
style?: CSSProperties | undefined;
|
|
7340
7340
|
class?: any;
|
|
7341
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
7341
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
7342
7342
|
style?: CSSProperties | undefined;
|
|
7343
7343
|
class?: any;
|
|
7344
7344
|
} & RecordType>>;
|
|
@@ -7360,7 +7360,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7360
7360
|
};
|
|
7361
7361
|
rows: number;
|
|
7362
7362
|
autocomplete: string;
|
|
7363
|
-
type: "" | "number" | "
|
|
7363
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
7364
7364
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
7365
7365
|
step: string | number;
|
|
7366
7366
|
format: string | ProgressFn | undefined;
|
|
@@ -7399,12 +7399,12 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7399
7399
|
fieldInstance?: any;
|
|
7400
7400
|
valueIsReady?: Ref<boolean> | undefined;
|
|
7401
7401
|
prop: string;
|
|
7402
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
7402
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
7403
7403
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
7404
|
-
tooltip: string |
|
|
7404
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
7405
7405
|
style?: CSSProperties | undefined;
|
|
7406
7406
|
class?: any;
|
|
7407
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
7407
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
7408
7408
|
style?: CSSProperties | undefined;
|
|
7409
7409
|
class?: any;
|
|
7410
7410
|
} & RecordType>>;
|
|
@@ -7448,9 +7448,9 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7448
7448
|
$data: {};
|
|
7449
7449
|
$props: Partial<{
|
|
7450
7450
|
size: string | number;
|
|
7451
|
-
modelValue: FieldValues;
|
|
7452
7451
|
form: PlusFormProps;
|
|
7453
7452
|
visible: boolean;
|
|
7453
|
+
modelValue: FieldValues;
|
|
7454
7454
|
hasErrorTip: boolean;
|
|
7455
7455
|
hasFooter: boolean;
|
|
7456
7456
|
confirmLoading: boolean;
|
|
@@ -7462,9 +7462,9 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7462
7462
|
} & RecordType>;
|
|
7463
7463
|
}> & Omit<{
|
|
7464
7464
|
readonly size: string | number;
|
|
7465
|
-
readonly modelValue: FieldValues;
|
|
7466
7465
|
readonly form: PlusFormProps;
|
|
7467
7466
|
readonly visible: boolean;
|
|
7467
|
+
readonly modelValue: FieldValues;
|
|
7468
7468
|
readonly hasErrorTip: boolean;
|
|
7469
7469
|
readonly hasFooter: boolean;
|
|
7470
7470
|
readonly confirmLoading: boolean;
|
|
@@ -7474,10 +7474,10 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7474
7474
|
style?: CSSProperties | undefined;
|
|
7475
7475
|
class?: any;
|
|
7476
7476
|
} & RecordType>;
|
|
7477
|
-
|
|
7477
|
+
onCancel?: (() => any) | undefined;
|
|
7478
7478
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
7479
7479
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
7480
|
-
|
|
7480
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
7481
7481
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
7482
7482
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
7483
7483
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
@@ -7485,10 +7485,6 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7485
7485
|
type: PropType<string | number>;
|
|
7486
7486
|
default: string;
|
|
7487
7487
|
};
|
|
7488
|
-
modelValue: {
|
|
7489
|
-
type: PropType<FieldValues>;
|
|
7490
|
-
default: () => {};
|
|
7491
|
-
};
|
|
7492
7488
|
form: {
|
|
7493
7489
|
type: PropType<PlusFormProps>;
|
|
7494
7490
|
default: () => {};
|
|
@@ -7497,6 +7493,10 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7497
7493
|
type: PropType<boolean>;
|
|
7498
7494
|
default: boolean;
|
|
7499
7495
|
};
|
|
7496
|
+
modelValue: {
|
|
7497
|
+
type: PropType<FieldValues>;
|
|
7498
|
+
default: () => {};
|
|
7499
|
+
};
|
|
7500
7500
|
hasErrorTip: {
|
|
7501
7501
|
type: PropType<boolean>;
|
|
7502
7502
|
default: boolean;
|
|
@@ -7525,13 +7525,13 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7525
7525
|
default: () => {};
|
|
7526
7526
|
};
|
|
7527
7527
|
}>> & {
|
|
7528
|
-
|
|
7528
|
+
onCancel?: (() => any) | undefined;
|
|
7529
7529
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
7530
7530
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
7531
|
-
|
|
7531
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
7532
7532
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
7533
7533
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
7534
|
-
}, "size" | "
|
|
7534
|
+
}, "size" | "form" | "visible" | "modelValue" | "hasErrorTip" | "hasFooter" | "confirmLoading" | "cancelText" | "confirmText" | "drawer">;
|
|
7535
7535
|
$attrs: {
|
|
7536
7536
|
[x: string]: unknown;
|
|
7537
7537
|
};
|
|
@@ -7543,17 +7543,13 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7543
7543
|
}>;
|
|
7544
7544
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
7545
7545
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
7546
|
-
$emit: ((event: "
|
|
7546
|
+
$emit: ((event: "cancel") => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
7547
7547
|
$el: any;
|
|
7548
7548
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
7549
7549
|
size: {
|
|
7550
7550
|
type: PropType<string | number>;
|
|
7551
7551
|
default: string;
|
|
7552
7552
|
};
|
|
7553
|
-
modelValue: {
|
|
7554
|
-
type: PropType<FieldValues>;
|
|
7555
|
-
default: () => {};
|
|
7556
|
-
};
|
|
7557
7553
|
form: {
|
|
7558
7554
|
type: PropType<PlusFormProps>;
|
|
7559
7555
|
default: () => {};
|
|
@@ -7562,6 +7558,10 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7562
7558
|
type: PropType<boolean>;
|
|
7563
7559
|
default: boolean;
|
|
7564
7560
|
};
|
|
7561
|
+
modelValue: {
|
|
7562
|
+
type: PropType<FieldValues>;
|
|
7563
|
+
default: () => {};
|
|
7564
|
+
};
|
|
7565
7565
|
hasErrorTip: {
|
|
7566
7566
|
type: PropType<boolean>;
|
|
7567
7567
|
default: boolean;
|
|
@@ -7590,10 +7590,10 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
7590
7590
|
default: () => {};
|
|
7591
7591
|
};
|
|
7592
7592
|
}>> & {
|
|
7593
|
-
|
|
7593
|
+
onCancel?: (() => any) | undefined;
|
|
7594
7594
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
7595
7595
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
7596
|
-
|
|
7596
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
7597
7597
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
7598
7598
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
7599
7599
|
}, {
|
|
@@ -8343,8 +8343,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8343
8343
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
8344
8344
|
__epPropKey: true;
|
|
8345
8345
|
};
|
|
8346
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
8347
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
8346
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
8347
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
8348
8348
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
8349
8349
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
8350
8350
|
readonly inline: BooleanConstructor;
|
|
@@ -8361,7 +8361,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8361
8361
|
__epPropKey: true;
|
|
8362
8362
|
};
|
|
8363
8363
|
readonly size: {
|
|
8364
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
8364
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
8365
8365
|
readonly required: false;
|
|
8366
8366
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
8367
8367
|
__epPropKey: true;
|
|
@@ -8379,8 +8379,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8379
8379
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
8380
8380
|
__epPropKey: true;
|
|
8381
8381
|
};
|
|
8382
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
8383
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
8382
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
8383
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
8384
8384
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
8385
8385
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
8386
8386
|
readonly inline: BooleanConstructor;
|
|
@@ -8397,7 +8397,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8397
8397
|
__epPropKey: true;
|
|
8398
8398
|
};
|
|
8399
8399
|
readonly size: {
|
|
8400
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
8400
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
8401
8401
|
readonly required: false;
|
|
8402
8402
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
8403
8403
|
__epPropKey: true;
|
|
@@ -8408,7 +8408,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8408
8408
|
}>>;
|
|
8409
8409
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
8410
8410
|
fields: FormItemContext[];
|
|
8411
|
-
formSize: ComputedRef<"" | "
|
|
8411
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
8412
8412
|
ns: {
|
|
8413
8413
|
namespace: ComputedRef<string>;
|
|
8414
8414
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -8428,7 +8428,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8428
8428
|
cssVarBlockName: (name: string) => string;
|
|
8429
8429
|
};
|
|
8430
8430
|
formClasses: ComputedRef<(string | {
|
|
8431
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
8431
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
8432
8432
|
})[]>;
|
|
8433
8433
|
getField: (prop: string) => FormItemContext | undefined;
|
|
8434
8434
|
addField: (field: FormItemContext) => void;
|
|
@@ -8451,8 +8451,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8451
8451
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
8452
8452
|
__epPropKey: true;
|
|
8453
8453
|
};
|
|
8454
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
8455
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
8454
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
8455
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
8456
8456
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
8457
8457
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
8458
8458
|
readonly inline: BooleanConstructor;
|
|
@@ -8469,7 +8469,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8469
8469
|
__epPropKey: true;
|
|
8470
8470
|
};
|
|
8471
8471
|
readonly size: {
|
|
8472
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
8472
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
8473
8473
|
readonly required: false;
|
|
8474
8474
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
8475
8475
|
__epPropKey: true;
|
|
@@ -8479,8 +8479,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8479
8479
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
8480
8480
|
}, {
|
|
8481
8481
|
readonly disabled: boolean;
|
|
8482
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
8483
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
8482
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
8483
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
8484
8484
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
8485
8485
|
readonly labelSuffix: string;
|
|
8486
8486
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -8505,8 +8505,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8505
8505
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
8506
8506
|
__epPropKey: true;
|
|
8507
8507
|
};
|
|
8508
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
8509
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
8508
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
8509
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
8510
8510
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
8511
8511
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
8512
8512
|
readonly inline: BooleanConstructor;
|
|
@@ -8523,7 +8523,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8523
8523
|
__epPropKey: true;
|
|
8524
8524
|
};
|
|
8525
8525
|
readonly size: {
|
|
8526
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
8526
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
8527
8527
|
readonly required: false;
|
|
8528
8528
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
8529
8529
|
__epPropKey: true;
|
|
@@ -8541,8 +8541,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8541
8541
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
8542
8542
|
__epPropKey: true;
|
|
8543
8543
|
};
|
|
8544
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
8545
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
8544
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
8545
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
8546
8546
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
8547
8547
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
8548
8548
|
readonly inline: BooleanConstructor;
|
|
@@ -8559,7 +8559,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8559
8559
|
__epPropKey: true;
|
|
8560
8560
|
};
|
|
8561
8561
|
readonly size: {
|
|
8562
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
8562
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
8563
8563
|
readonly required: false;
|
|
8564
8564
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
8565
8565
|
__epPropKey: true;
|
|
@@ -8570,7 +8570,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8570
8570
|
}>>;
|
|
8571
8571
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
8572
8572
|
fields: FormItemContext[];
|
|
8573
|
-
formSize: ComputedRef<"" | "
|
|
8573
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
8574
8574
|
ns: {
|
|
8575
8575
|
namespace: ComputedRef<string>;
|
|
8576
8576
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -8590,7 +8590,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8590
8590
|
cssVarBlockName: (name: string) => string;
|
|
8591
8591
|
};
|
|
8592
8592
|
formClasses: ComputedRef<(string | {
|
|
8593
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
8593
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
8594
8594
|
})[]>;
|
|
8595
8595
|
getField: (prop: string) => FormItemContext | undefined;
|
|
8596
8596
|
addField: (field: FormItemContext) => void;
|
|
@@ -8605,8 +8605,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8605
8605
|
scrollToField: (prop: FormItemProp) => void;
|
|
8606
8606
|
}, {}, {}, {}, {
|
|
8607
8607
|
readonly disabled: boolean;
|
|
8608
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
8609
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
8608
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
8609
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
8610
8610
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
8611
8611
|
readonly labelSuffix: string;
|
|
8612
8612
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -8626,9 +8626,9 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8626
8626
|
confirmError: (errors: unknown) => void;
|
|
8627
8627
|
}, string, {
|
|
8628
8628
|
size: string | number;
|
|
8629
|
-
modelValue: FieldValues;
|
|
8630
8629
|
form: PlusFormProps;
|
|
8631
8630
|
visible: boolean;
|
|
8631
|
+
modelValue: FieldValues;
|
|
8632
8632
|
hasErrorTip: boolean;
|
|
8633
8633
|
hasFooter: boolean;
|
|
8634
8634
|
confirmLoading: boolean;
|
|
@@ -8663,10 +8663,6 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8663
8663
|
type: PropType<string | number>;
|
|
8664
8664
|
default: string;
|
|
8665
8665
|
};
|
|
8666
|
-
modelValue: {
|
|
8667
|
-
type: PropType<FieldValues>;
|
|
8668
|
-
default: () => {};
|
|
8669
|
-
};
|
|
8670
8666
|
form: {
|
|
8671
8667
|
type: PropType<PlusFormProps>;
|
|
8672
8668
|
default: () => {};
|
|
@@ -8675,6 +8671,10 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8675
8671
|
type: PropType<boolean>;
|
|
8676
8672
|
default: boolean;
|
|
8677
8673
|
};
|
|
8674
|
+
modelValue: {
|
|
8675
|
+
type: PropType<FieldValues>;
|
|
8676
|
+
default: () => {};
|
|
8677
|
+
};
|
|
8678
8678
|
hasErrorTip: {
|
|
8679
8679
|
type: PropType<boolean>;
|
|
8680
8680
|
default: boolean;
|
|
@@ -8703,10 +8703,10 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
8703
8703
|
default: () => {};
|
|
8704
8704
|
};
|
|
8705
8705
|
}>> & {
|
|
8706
|
-
|
|
8706
|
+
onCancel?: (() => any) | undefined;
|
|
8707
8707
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
8708
8708
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
8709
|
-
|
|
8709
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
8710
8710
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
8711
8711
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
8712
8712
|
}, "formInstance" | "drawerInstance"> & ShallowUnwrapRef<{
|
|
@@ -9456,8 +9456,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
9456
9456
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9457
9457
|
__epPropKey: true;
|
|
9458
9458
|
};
|
|
9459
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
9460
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
9459
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
9460
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
9461
9461
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
9462
9462
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
9463
9463
|
readonly inline: BooleanConstructor;
|
|
@@ -9474,7 +9474,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
9474
9474
|
__epPropKey: true;
|
|
9475
9475
|
};
|
|
9476
9476
|
readonly size: {
|
|
9477
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
9477
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
9478
9478
|
readonly required: false;
|
|
9479
9479
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9480
9480
|
__epPropKey: true;
|
|
@@ -9492,8 +9492,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
9492
9492
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9493
9493
|
__epPropKey: true;
|
|
9494
9494
|
};
|
|
9495
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
9496
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
9495
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
9496
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
9497
9497
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
9498
9498
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
9499
9499
|
readonly inline: BooleanConstructor;
|
|
@@ -9510,7 +9510,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
9510
9510
|
__epPropKey: true;
|
|
9511
9511
|
};
|
|
9512
9512
|
readonly size: {
|
|
9513
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
9513
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
9514
9514
|
readonly required: false;
|
|
9515
9515
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9516
9516
|
__epPropKey: true;
|
|
@@ -9521,7 +9521,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
9521
9521
|
}>>;
|
|
9522
9522
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
9523
9523
|
fields: FormItemContext[];
|
|
9524
|
-
formSize: ComputedRef<"" | "
|
|
9524
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
9525
9525
|
ns: {
|
|
9526
9526
|
namespace: ComputedRef<string>;
|
|
9527
9527
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -9541,7 +9541,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
9541
9541
|
cssVarBlockName: (name: string) => string;
|
|
9542
9542
|
};
|
|
9543
9543
|
formClasses: ComputedRef<(string | {
|
|
9544
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
9544
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
9545
9545
|
})[]>;
|
|
9546
9546
|
getField: (prop: string) => FormItemContext | undefined;
|
|
9547
9547
|
addField: (field: FormItemContext) => void;
|
|
@@ -9564,8 +9564,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
9564
9564
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9565
9565
|
__epPropKey: true;
|
|
9566
9566
|
};
|
|
9567
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
9568
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
9567
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
9568
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
9569
9569
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
9570
9570
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
9571
9571
|
readonly inline: BooleanConstructor;
|
|
@@ -9582,7 +9582,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
9582
9582
|
__epPropKey: true;
|
|
9583
9583
|
};
|
|
9584
9584
|
readonly size: {
|
|
9585
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
9585
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
9586
9586
|
readonly required: false;
|
|
9587
9587
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9588
9588
|
__epPropKey: true;
|
|
@@ -9592,8 +9592,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
9592
9592
|
onValidate?: ((prop: FormItemProp, isValid: boolean, message: string) => any) | undefined;
|
|
9593
9593
|
}, {
|
|
9594
9594
|
readonly disabled: boolean;
|
|
9595
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
9596
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
9595
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
9596
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
9597
9597
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
9598
9598
|
readonly labelSuffix: string;
|
|
9599
9599
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -9618,8 +9618,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
9618
9618
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9619
9619
|
__epPropKey: true;
|
|
9620
9620
|
};
|
|
9621
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
9622
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
9621
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
9622
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
9623
9623
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
9624
9624
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
9625
9625
|
readonly inline: BooleanConstructor;
|
|
@@ -9636,7 +9636,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
9636
9636
|
__epPropKey: true;
|
|
9637
9637
|
};
|
|
9638
9638
|
readonly size: {
|
|
9639
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
9639
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
9640
9640
|
readonly required: false;
|
|
9641
9641
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9642
9642
|
__epPropKey: true;
|
|
@@ -9654,8 +9654,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
9654
9654
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9655
9655
|
__epPropKey: true;
|
|
9656
9656
|
};
|
|
9657
|
-
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "
|
|
9658
|
-
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "
|
|
9657
|
+
readonly labelPosition: EpPropFinalized<StringConstructor, "top" | "left" | "right", unknown, "right", boolean>;
|
|
9658
|
+
readonly requireAsteriskPosition: EpPropFinalized<StringConstructor, "left" | "right", unknown, "left", boolean>;
|
|
9659
9659
|
readonly labelWidth: EpPropFinalized<readonly [StringConstructor, NumberConstructor], unknown, unknown, "", boolean>;
|
|
9660
9660
|
readonly labelSuffix: EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
9661
9661
|
readonly inline: BooleanConstructor;
|
|
@@ -9672,7 +9672,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
9672
9672
|
__epPropKey: true;
|
|
9673
9673
|
};
|
|
9674
9674
|
readonly size: {
|
|
9675
|
-
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "
|
|
9675
|
+
readonly type: PropType<EpPropMergeType<StringConstructor, "" | "large" | "default" | "small", unknown>>;
|
|
9676
9676
|
readonly required: false;
|
|
9677
9677
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
9678
9678
|
__epPropKey: true;
|
|
@@ -9683,7 +9683,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
9683
9683
|
}>>;
|
|
9684
9684
|
emit: (event: "validate", prop: FormItemProp, isValid: boolean, message: string) => void;
|
|
9685
9685
|
fields: FormItemContext[];
|
|
9686
|
-
formSize: ComputedRef<"" | "
|
|
9686
|
+
formSize: ComputedRef<"" | "large" | "default" | "small">;
|
|
9687
9687
|
ns: {
|
|
9688
9688
|
namespace: ComputedRef<string>;
|
|
9689
9689
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -9703,7 +9703,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
9703
9703
|
cssVarBlockName: (name: string) => string;
|
|
9704
9704
|
};
|
|
9705
9705
|
formClasses: ComputedRef<(string | {
|
|
9706
|
-
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "
|
|
9706
|
+
[x: string]: boolean | EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
9707
9707
|
})[]>;
|
|
9708
9708
|
getField: (prop: string) => FormItemContext | undefined;
|
|
9709
9709
|
addField: (field: FormItemContext) => void;
|
|
@@ -9718,8 +9718,8 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
9718
9718
|
scrollToField: (prop: FormItemProp) => void;
|
|
9719
9719
|
}, {}, {}, {}, {
|
|
9720
9720
|
readonly disabled: boolean;
|
|
9721
|
-
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "
|
|
9722
|
-
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "
|
|
9721
|
+
readonly labelPosition: EpPropMergeType<StringConstructor, "top" | "left" | "right", unknown>;
|
|
9722
|
+
readonly requireAsteriskPosition: EpPropMergeType<StringConstructor, "left" | "right", unknown>;
|
|
9723
9723
|
readonly labelWidth: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
9724
9724
|
readonly labelSuffix: string;
|
|
9725
9725
|
readonly showMessage: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -9732,14 +9732,14 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
9732
9732
|
}>>;
|
|
9733
9733
|
}> & {} & ComponentCustomProperties & {} & {
|
|
9734
9734
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
9735
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
9735
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "modelValue" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap">> & {
|
|
9736
9736
|
readonly label: string | ComputedRef<string>;
|
|
9737
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
9737
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
9738
9738
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
9739
|
-
readonly tooltip: string |
|
|
9739
|
+
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
9740
9740
|
style?: CSSProperties | undefined;
|
|
9741
9741
|
class?: any;
|
|
9742
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
9742
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
9743
9743
|
style?: CSSProperties | undefined;
|
|
9744
9744
|
class?: any;
|
|
9745
9745
|
} & RecordType>>;
|
|
@@ -9761,7 +9761,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
9761
9761
|
};
|
|
9762
9762
|
rows: number;
|
|
9763
9763
|
autocomplete: string;
|
|
9764
|
-
type: "" | "number" | "
|
|
9764
|
+
type: "" | "number" | "primary" | "success" | "warning" | "danger" | "info" | "text" | "default" | "search" | "color" | "reset" | "submit" | "button" | "textarea" | "time" | "circle" | "checkbox" | "radio" | "datetimerange" | "daterange" | "monthrange" | "image" | "line" | "hidden" | "range" | "date" | "year" | "years" | "month" | "dates" | "week" | "datetime" | "dashboard" | "datetime-local" | "email" | "file" | "password" | "tel" | "url";
|
|
9765
9765
|
loading: EpPropMergeType<BooleanConstructor, unknown, unknown> | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
9766
9766
|
step: string | number;
|
|
9767
9767
|
format: string | ProgressFn | undefined;
|
|
@@ -9800,12 +9800,12 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
9800
9800
|
fieldInstance?: any;
|
|
9801
9801
|
valueIsReady?: Ref<boolean> | undefined;
|
|
9802
9802
|
prop: string;
|
|
9803
|
-
modelValue: string | number | boolean | string[] | [string, string] | boolean[] |
|
|
9803
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
9804
9804
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
9805
|
-
tooltip: string |
|
|
9805
|
+
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
9806
9806
|
style?: CSSProperties | undefined;
|
|
9807
9807
|
class?: any;
|
|
9808
|
-
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
9808
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
9809
9809
|
style?: CSSProperties | undefined;
|
|
9810
9810
|
class?: any;
|
|
9811
9811
|
} & RecordType>>;
|