yc-pro-components 0.0.60 → 0.0.62
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 +23 -23
- package/es/components/check-card/src/index.vue.d.ts +2 -2
- package/es/components/check-card-group/index.d.ts +24 -24
- package/es/components/check-card-group/src/index.vue.d.ts +2 -2
- package/es/components/date-picker/index.d.ts +10 -10
- package/es/components/date-picker/src/index.vue.d.ts +2 -2
- package/es/components/dialog/index.d.ts +26 -26
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +28 -28
- package/es/components/dialog-form/src/index.vue.d.ts +6 -6
- package/es/components/display-item/index.d.ts +12 -12
- package/es/components/display-item/src/index.vue.d.ts +12 -12
- package/es/components/drawer-form/index.d.ts +40 -40
- package/es/components/drawer-form/src/index.vue.d.ts +10 -10
- package/es/components/form/index.d.ts +39 -39
- package/es/components/form/src/form-content.vue.d.ts +12 -12
- package/es/components/form/src/index.vue.d.ts +11 -11
- package/es/components/form-item/index.d.ts +36 -36
- package/es/components/form-item/src/index.vue.d.ts +8 -8
- package/es/components/header/index.d.ts +7 -7
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +10 -10
- package/es/components/input-tag/src/index.vue.d.ts +2 -2
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +305 -305
- package/es/components/page/src/index.vue.d.ts +103 -103
- 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 +14 -14
- package/es/components/radio/src/index.vue.d.ts +6 -6
- package/es/components/render/index.d.ts +6 -6
- package/es/components/render/src/index.vue.d.ts +2 -2
- package/es/components/search/index.d.ts +137 -137
- package/es/components/search/src/index.vue.d.ts +43 -43
- package/es/components/search/src/index.vue2.mjs +1 -1
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- 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/src/table-column.vue.d.ts +12 -12
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-count-to/index.d.ts +1 -1
- package/es/components/yc-count-to/src/normal/index.d.ts +1 -1
- 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-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +6 -6
- package/es/components/yc-more-actions/src/index.vue.d.ts +1 -1
- package/es/components/yc-plus-page/src/header-filter-cell.vue.mjs +1 -1
- package/es/components/yc-plus-page/src/header-filter-cell.vue2.mjs +0 -6
- package/es/components/yc-plus-page/src/index.vue.d.ts +208 -208
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/hooks/usePlusFormReset.d.ts +169 -169
- package/es/index.css +10 -10
- package/index.css +6 -6
- package/index.js +3 -9
- package/index.min.css +1 -1
- package/index.min.js +3 -3
- package/index.min.mjs +10 -10
- package/index.mjs +3 -9
- package/lib/components/check-card/index.d.ts +23 -23
- package/lib/components/check-card/src/index.vue.d.ts +2 -2
- package/lib/components/check-card-group/index.d.ts +24 -24
- package/lib/components/check-card-group/src/index.vue.d.ts +2 -2
- package/lib/components/date-picker/index.d.ts +10 -10
- package/lib/components/date-picker/src/index.vue.d.ts +2 -2
- package/lib/components/dialog/index.d.ts +26 -26
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +28 -28
- package/lib/components/dialog-form/src/index.vue.d.ts +6 -6
- package/lib/components/display-item/index.d.ts +12 -12
- package/lib/components/display-item/src/index.vue.d.ts +12 -12
- package/lib/components/drawer-form/index.d.ts +40 -40
- package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
- package/lib/components/form/index.d.ts +39 -39
- package/lib/components/form/src/form-content.vue.d.ts +12 -12
- package/lib/components/form/src/index.vue.d.ts +11 -11
- package/lib/components/form-item/index.d.ts +36 -36
- package/lib/components/form-item/src/index.vue.d.ts +8 -8
- package/lib/components/header/index.d.ts +7 -7
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +10 -10
- package/lib/components/input-tag/src/index.vue.d.ts +2 -2
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +305 -305
- package/lib/components/page/src/index.vue.d.ts +103 -103
- 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 +14 -14
- package/lib/components/radio/src/index.vue.d.ts +6 -6
- package/lib/components/render/index.d.ts +6 -6
- package/lib/components/render/src/index.vue.d.ts +2 -2
- package/lib/components/search/index.d.ts +137 -137
- package/lib/components/search/src/index.vue.d.ts +43 -43
- package/lib/components/search/src/index.vue2.js +1 -1
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- 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/src/table-column.vue.d.ts +12 -12
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-count-to/index.d.ts +1 -1
- package/lib/components/yc-count-to/src/normal/index.d.ts +1 -1
- 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-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +6 -6
- package/lib/components/yc-more-actions/src/index.vue.d.ts +1 -1
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.js +1 -1
- package/lib/components/yc-plus-page/src/header-filter-cell.vue2.js +0 -6
- package/lib/components/yc-plus-page/src/index.vue.d.ts +208 -208
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +2 -2
- package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/hooks/usePlusFormReset.d.ts +169 -169
- package/lib/index.css +10 -10
- 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
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EpPropMergeType, EpPropFinalized } from 'element-plus/es/utils';
|
|
2
2
|
import { LooseRequired } from '@vue/shared';
|
|
3
3
|
import { FormInstance, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, PopperEffect, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, SelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TimeSelectProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps, DrawerProps, DialogTransition, DialogBeforeCloseFn } from 'element-plus';
|
|
4
|
-
import { FieldValues, PlusColumn, RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'yc-pro-components';
|
|
5
4
|
import { PlusDialogProps, PlusFormProps, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/components';
|
|
5
|
+
import { FieldValues, PlusColumn, RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'yc-pro-components';
|
|
6
6
|
import { nextTick, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, ExtractPropTypes, PropType, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, ComponentOptionsMixin, DebuggerEvent, WatchOptions, WatchStopHandle, ShallowUnwrapRef, ComponentCustomProperties, CSSProperties, Component, TransitionProps, ComputedOptions, MethodOptions } from 'vue';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -76,25 +76,29 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
76
76
|
$: ComponentInternalInstance;
|
|
77
77
|
$data: {};
|
|
78
78
|
$props: Partial<{
|
|
79
|
+
modelValue: FieldValues;
|
|
79
80
|
dialog: PlusDialogProps;
|
|
80
81
|
form: PlusFormProps;
|
|
81
82
|
visible: boolean;
|
|
82
|
-
modelValue: FieldValues;
|
|
83
83
|
hasErrorTip: boolean;
|
|
84
84
|
}> & Omit<{
|
|
85
|
+
readonly modelValue: FieldValues;
|
|
85
86
|
readonly dialog: PlusDialogProps;
|
|
86
87
|
readonly form: PlusFormProps;
|
|
87
88
|
readonly visible: boolean;
|
|
88
|
-
readonly modelValue: FieldValues;
|
|
89
89
|
readonly hasErrorTip: boolean;
|
|
90
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
90
91
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
91
92
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
92
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
93
93
|
onClose?: (() => any) | undefined;
|
|
94
94
|
onCancel?: (() => 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
|
+
};
|
|
98
102
|
dialog: {
|
|
99
103
|
type: PropType<PlusDialogProps>;
|
|
100
104
|
default: () => {};
|
|
@@ -107,23 +111,19 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
107
111
|
type: PropType<boolean>;
|
|
108
112
|
default: boolean;
|
|
109
113
|
};
|
|
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
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
119
120
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
120
121
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
121
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
122
122
|
onClose?: (() => any) | undefined;
|
|
123
123
|
onCancel?: (() => any) | undefined;
|
|
124
124
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
125
125
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
126
|
-
}, "
|
|
126
|
+
}, "modelValue" | "dialog" | "form" | "visible" | "hasErrorTip">;
|
|
127
127
|
$attrs: {
|
|
128
128
|
[x: string]: unknown;
|
|
129
129
|
};
|
|
@@ -138,6 +138,10 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
138
138
|
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "cancel") => void) & ((event: "close") => 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
|
+
};
|
|
141
145
|
dialog: {
|
|
142
146
|
type: PropType<PlusDialogProps>;
|
|
143
147
|
default: () => {};
|
|
@@ -150,18 +154,14 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
150
154
|
type: PropType<boolean>;
|
|
151
155
|
default: boolean;
|
|
152
156
|
};
|
|
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
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
162
163
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
163
164
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
164
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
165
165
|
onClose?: (() => any) | undefined;
|
|
166
166
|
onCancel?: (() => any) | undefined;
|
|
167
167
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -179,10 +179,10 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
179
179
|
close: () => void;
|
|
180
180
|
confirmError: (errors: unknown) => void;
|
|
181
181
|
}, string, {
|
|
182
|
+
modelValue: FieldValues;
|
|
182
183
|
dialog: PlusDialogProps;
|
|
183
184
|
form: PlusFormProps;
|
|
184
185
|
visible: boolean;
|
|
185
|
-
modelValue: FieldValues;
|
|
186
186
|
hasErrorTip: boolean;
|
|
187
187
|
}, {}, string, {}> & {
|
|
188
188
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -205,6 +205,10 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
205
205
|
$nextTick: typeof nextTick;
|
|
206
206
|
$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;
|
|
207
207
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
208
|
+
modelValue: {
|
|
209
|
+
type: PropType<FieldValues>;
|
|
210
|
+
default: () => {};
|
|
211
|
+
};
|
|
208
212
|
dialog: {
|
|
209
213
|
type: PropType<PlusDialogProps>;
|
|
210
214
|
default: () => {};
|
|
@@ -217,18 +221,14 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
217
221
|
type: PropType<boolean>;
|
|
218
222
|
default: boolean;
|
|
219
223
|
};
|
|
220
|
-
modelValue: {
|
|
221
|
-
type: PropType<FieldValues>;
|
|
222
|
-
default: () => {};
|
|
223
|
-
};
|
|
224
224
|
hasErrorTip: {
|
|
225
225
|
type: PropType<boolean>;
|
|
226
226
|
default: boolean;
|
|
227
227
|
};
|
|
228
228
|
}>> & {
|
|
229
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
229
230
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
230
231
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
231
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
232
232
|
onClose?: (() => any) | undefined;
|
|
233
233
|
onCancel?: (() => any) | undefined;
|
|
234
234
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -239,9 +239,9 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
239
239
|
formInstance: ComputedRef<FormInstance>;
|
|
240
240
|
}> & {} & ComponentCustomProperties & {} & {
|
|
241
241
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
242
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
242
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
243
243
|
readonly label: string | ComputedRef<string>;
|
|
244
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
244
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
245
245
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
246
246
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
247
247
|
style?: CSSProperties | undefined;
|
|
@@ -268,7 +268,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
268
268
|
};
|
|
269
269
|
rows: number;
|
|
270
270
|
autocomplete: string;
|
|
271
|
-
type: "" | "number" | "default" | "
|
|
271
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
272
272
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
273
273
|
step: string | number;
|
|
274
274
|
format: string | ProgressFn | undefined;
|
|
@@ -313,7 +313,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
313
313
|
fieldInstance?: any;
|
|
314
314
|
valueIsReady?: Ref<boolean> | undefined;
|
|
315
315
|
prop: string;
|
|
316
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
316
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
317
317
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
318
318
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
319
319
|
style?: CSSProperties | undefined;
|
|
@@ -368,9 +368,9 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
368
368
|
$data: {};
|
|
369
369
|
$props: Partial<{
|
|
370
370
|
size: string | number;
|
|
371
|
+
modelValue: FieldValues;
|
|
371
372
|
form: PlusFormProps;
|
|
372
373
|
visible: boolean;
|
|
373
|
-
modelValue: FieldValues;
|
|
374
374
|
hasErrorTip: boolean;
|
|
375
375
|
hasFooter: boolean;
|
|
376
376
|
confirmLoading: boolean;
|
|
@@ -382,9 +382,9 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
382
382
|
} & RecordType>;
|
|
383
383
|
}> & Omit<{
|
|
384
384
|
readonly size: string | number;
|
|
385
|
+
readonly modelValue: FieldValues;
|
|
385
386
|
readonly form: PlusFormProps;
|
|
386
387
|
readonly visible: boolean;
|
|
387
|
-
readonly modelValue: FieldValues;
|
|
388
388
|
readonly hasErrorTip: boolean;
|
|
389
389
|
readonly hasFooter: boolean;
|
|
390
390
|
readonly confirmLoading: boolean;
|
|
@@ -394,9 +394,9 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
394
394
|
style?: CSSProperties | undefined;
|
|
395
395
|
class?: any;
|
|
396
396
|
} & RecordType>;
|
|
397
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
397
398
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
398
399
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
399
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
400
400
|
onCancel?: (() => any) | undefined;
|
|
401
401
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
402
402
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -405,6 +405,10 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
405
405
|
type: PropType<string | number>;
|
|
406
406
|
default: string;
|
|
407
407
|
};
|
|
408
|
+
modelValue: {
|
|
409
|
+
type: PropType<FieldValues>;
|
|
410
|
+
default: () => {};
|
|
411
|
+
};
|
|
408
412
|
form: {
|
|
409
413
|
type: PropType<PlusFormProps>;
|
|
410
414
|
default: () => {};
|
|
@@ -413,10 +417,6 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
413
417
|
type: PropType<boolean>;
|
|
414
418
|
default: boolean;
|
|
415
419
|
};
|
|
416
|
-
modelValue: {
|
|
417
|
-
type: PropType<FieldValues>;
|
|
418
|
-
default: () => {};
|
|
419
|
-
};
|
|
420
420
|
hasErrorTip: {
|
|
421
421
|
type: PropType<boolean>;
|
|
422
422
|
default: boolean;
|
|
@@ -445,13 +445,13 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
445
445
|
default: () => {};
|
|
446
446
|
};
|
|
447
447
|
}>> & {
|
|
448
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
448
449
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
449
450
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
450
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
451
451
|
onCancel?: (() => any) | undefined;
|
|
452
452
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
453
453
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
454
|
-
}, "size" | "
|
|
454
|
+
}, "size" | "modelValue" | "form" | "visible" | "hasErrorTip" | "hasFooter" | "confirmLoading" | "cancelText" | "confirmText" | "drawer">;
|
|
455
455
|
$attrs: {
|
|
456
456
|
[x: string]: unknown;
|
|
457
457
|
};
|
|
@@ -470,6 +470,10 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
470
470
|
type: PropType<string | number>;
|
|
471
471
|
default: string;
|
|
472
472
|
};
|
|
473
|
+
modelValue: {
|
|
474
|
+
type: PropType<FieldValues>;
|
|
475
|
+
default: () => {};
|
|
476
|
+
};
|
|
473
477
|
form: {
|
|
474
478
|
type: PropType<PlusFormProps>;
|
|
475
479
|
default: () => {};
|
|
@@ -478,10 +482,6 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
478
482
|
type: PropType<boolean>;
|
|
479
483
|
default: boolean;
|
|
480
484
|
};
|
|
481
|
-
modelValue: {
|
|
482
|
-
type: PropType<FieldValues>;
|
|
483
|
-
default: () => {};
|
|
484
|
-
};
|
|
485
485
|
hasErrorTip: {
|
|
486
486
|
type: PropType<boolean>;
|
|
487
487
|
default: boolean;
|
|
@@ -510,9 +510,9 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
510
510
|
default: () => {};
|
|
511
511
|
};
|
|
512
512
|
}>> & {
|
|
513
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
513
514
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
514
515
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
515
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
516
516
|
onCancel?: (() => any) | undefined;
|
|
517
517
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
518
518
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -550,11 +550,11 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
550
550
|
readonly resizable: boolean;
|
|
551
551
|
}> & Omit<{
|
|
552
552
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
553
|
+
readonly modelValue: boolean;
|
|
553
554
|
readonly title: string;
|
|
555
|
+
readonly center: boolean;
|
|
554
556
|
readonly resizable: boolean;
|
|
555
557
|
readonly appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>;
|
|
556
|
-
readonly center: boolean;
|
|
557
|
-
readonly modelValue: boolean;
|
|
558
558
|
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
559
559
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
560
560
|
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -668,7 +668,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
668
668
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
669
669
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
670
670
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
671
|
-
}, "size" | "
|
|
671
|
+
}, "size" | "modelValue" | "title" | "center" | "transition" | "resizable" | "appendTo" | "closeOnPressEscape" | "direction" | "showClose" | "overflow" | "draggable" | "ariaLevel" | "fullscreen" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
672
672
|
$attrs: {
|
|
673
673
|
[x: string]: unknown;
|
|
674
674
|
};
|
|
@@ -680,7 +680,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
680
680
|
}>;
|
|
681
681
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
682
682
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
683
|
-
$emit: ((event: "
|
|
683
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "closed") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
684
684
|
$el: any;
|
|
685
685
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
686
686
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -920,9 +920,9 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
920
920
|
confirmError: (errors: unknown) => void;
|
|
921
921
|
}, string, {
|
|
922
922
|
size: string | number;
|
|
923
|
+
modelValue: FieldValues;
|
|
923
924
|
form: PlusFormProps;
|
|
924
925
|
visible: boolean;
|
|
925
|
-
modelValue: FieldValues;
|
|
926
926
|
hasErrorTip: boolean;
|
|
927
927
|
hasFooter: boolean;
|
|
928
928
|
confirmLoading: boolean;
|
|
@@ -957,6 +957,10 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
957
957
|
type: PropType<string | number>;
|
|
958
958
|
default: string;
|
|
959
959
|
};
|
|
960
|
+
modelValue: {
|
|
961
|
+
type: PropType<FieldValues>;
|
|
962
|
+
default: () => {};
|
|
963
|
+
};
|
|
960
964
|
form: {
|
|
961
965
|
type: PropType<PlusFormProps>;
|
|
962
966
|
default: () => {};
|
|
@@ -965,10 +969,6 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
965
969
|
type: PropType<boolean>;
|
|
966
970
|
default: boolean;
|
|
967
971
|
};
|
|
968
|
-
modelValue: {
|
|
969
|
-
type: PropType<FieldValues>;
|
|
970
|
-
default: () => {};
|
|
971
|
-
};
|
|
972
972
|
hasErrorTip: {
|
|
973
973
|
type: PropType<boolean>;
|
|
974
974
|
default: boolean;
|
|
@@ -997,9 +997,9 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
997
997
|
default: () => {};
|
|
998
998
|
};
|
|
999
999
|
}>> & {
|
|
1000
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1000
1001
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1001
1002
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1002
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1003
1003
|
onCancel?: (() => any) | undefined;
|
|
1004
1004
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1005
1005
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -1037,11 +1037,11 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1037
1037
|
readonly resizable: boolean;
|
|
1038
1038
|
}> & Omit<{
|
|
1039
1039
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
1040
|
+
readonly modelValue: boolean;
|
|
1040
1041
|
readonly title: string;
|
|
1042
|
+
readonly center: boolean;
|
|
1041
1043
|
readonly resizable: boolean;
|
|
1042
1044
|
readonly appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>;
|
|
1043
|
-
readonly center: boolean;
|
|
1044
|
-
readonly modelValue: boolean;
|
|
1045
1045
|
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1046
1046
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
1047
1047
|
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1155,7 +1155,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1155
1155
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
1156
1156
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1157
1157
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1158
|
-
}, "size" | "
|
|
1158
|
+
}, "size" | "modelValue" | "title" | "center" | "transition" | "resizable" | "appendTo" | "closeOnPressEscape" | "direction" | "showClose" | "overflow" | "draggable" | "ariaLevel" | "fullscreen" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
1159
1159
|
$attrs: {
|
|
1160
1160
|
[x: string]: unknown;
|
|
1161
1161
|
};
|
|
@@ -1167,7 +1167,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1167
1167
|
}>;
|
|
1168
1168
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1169
1169
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1170
|
-
$emit: ((event: "
|
|
1170
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "closed") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
1171
1171
|
$el: any;
|
|
1172
1172
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1173
1173
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -1400,9 +1400,9 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1400
1400
|
formInstance: ComputedRef<FormInstance>;
|
|
1401
1401
|
}> & {} & ComponentCustomProperties & {} & {
|
|
1402
1402
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
1403
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1403
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1404
1404
|
readonly label: string | ComputedRef<string>;
|
|
1405
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1405
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1406
1406
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1407
1407
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1408
1408
|
style?: CSSProperties | undefined;
|
|
@@ -1429,7 +1429,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1429
1429
|
};
|
|
1430
1430
|
rows: number;
|
|
1431
1431
|
autocomplete: string;
|
|
1432
|
-
type: "" | "number" | "default" | "
|
|
1432
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1433
1433
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1434
1434
|
step: string | number;
|
|
1435
1435
|
format: string | ProgressFn | undefined;
|
|
@@ -1474,7 +1474,7 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
1474
1474
|
fieldInstance?: any;
|
|
1475
1475
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1476
1476
|
prop: string;
|
|
1477
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1477
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1478
1478
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1479
1479
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1480
1480
|
style?: CSSProperties | undefined;
|
|
@@ -1550,25 +1550,29 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1550
1550
|
$: ComponentInternalInstance;
|
|
1551
1551
|
$data: {};
|
|
1552
1552
|
$props: Partial<{
|
|
1553
|
+
modelValue: FieldValues;
|
|
1553
1554
|
dialog: PlusDialogProps;
|
|
1554
1555
|
form: PlusFormProps;
|
|
1555
1556
|
visible: boolean;
|
|
1556
|
-
modelValue: FieldValues;
|
|
1557
1557
|
hasErrorTip: boolean;
|
|
1558
1558
|
}> & Omit<{
|
|
1559
|
+
readonly modelValue: FieldValues;
|
|
1559
1560
|
readonly dialog: PlusDialogProps;
|
|
1560
1561
|
readonly form: PlusFormProps;
|
|
1561
1562
|
readonly visible: boolean;
|
|
1562
|
-
readonly modelValue: FieldValues;
|
|
1563
1563
|
readonly hasErrorTip: boolean;
|
|
1564
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1564
1565
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1565
1566
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1566
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1567
1567
|
onClose?: (() => any) | undefined;
|
|
1568
1568
|
onCancel?: (() => any) | undefined;
|
|
1569
1569
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1570
1570
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1571
1571
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1572
|
+
modelValue: {
|
|
1573
|
+
type: PropType<FieldValues>;
|
|
1574
|
+
default: () => {};
|
|
1575
|
+
};
|
|
1572
1576
|
dialog: {
|
|
1573
1577
|
type: PropType<PlusDialogProps>;
|
|
1574
1578
|
default: () => {};
|
|
@@ -1581,23 +1585,19 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1581
1585
|
type: PropType<boolean>;
|
|
1582
1586
|
default: boolean;
|
|
1583
1587
|
};
|
|
1584
|
-
modelValue: {
|
|
1585
|
-
type: PropType<FieldValues>;
|
|
1586
|
-
default: () => {};
|
|
1587
|
-
};
|
|
1588
1588
|
hasErrorTip: {
|
|
1589
1589
|
type: PropType<boolean>;
|
|
1590
1590
|
default: boolean;
|
|
1591
1591
|
};
|
|
1592
1592
|
}>> & {
|
|
1593
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1593
1594
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1594
1595
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1595
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1596
1596
|
onClose?: (() => any) | undefined;
|
|
1597
1597
|
onCancel?: (() => any) | undefined;
|
|
1598
1598
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1599
1599
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1600
|
-
}, "
|
|
1600
|
+
}, "modelValue" | "dialog" | "form" | "visible" | "hasErrorTip">;
|
|
1601
1601
|
$attrs: {
|
|
1602
1602
|
[x: string]: unknown;
|
|
1603
1603
|
};
|
|
@@ -1612,6 +1612,10 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1612
1612
|
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "cancel") => void) & ((event: "close") => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
1613
1613
|
$el: any;
|
|
1614
1614
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1615
|
+
modelValue: {
|
|
1616
|
+
type: PropType<FieldValues>;
|
|
1617
|
+
default: () => {};
|
|
1618
|
+
};
|
|
1615
1619
|
dialog: {
|
|
1616
1620
|
type: PropType<PlusDialogProps>;
|
|
1617
1621
|
default: () => {};
|
|
@@ -1624,18 +1628,14 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1624
1628
|
type: PropType<boolean>;
|
|
1625
1629
|
default: boolean;
|
|
1626
1630
|
};
|
|
1627
|
-
modelValue: {
|
|
1628
|
-
type: PropType<FieldValues>;
|
|
1629
|
-
default: () => {};
|
|
1630
|
-
};
|
|
1631
1631
|
hasErrorTip: {
|
|
1632
1632
|
type: PropType<boolean>;
|
|
1633
1633
|
default: boolean;
|
|
1634
1634
|
};
|
|
1635
1635
|
}>> & {
|
|
1636
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1636
1637
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1637
1638
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1638
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1639
1639
|
onClose?: (() => any) | undefined;
|
|
1640
1640
|
onCancel?: (() => any) | undefined;
|
|
1641
1641
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -1653,10 +1653,10 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1653
1653
|
close: () => void;
|
|
1654
1654
|
confirmError: (errors: unknown) => void;
|
|
1655
1655
|
}, string, {
|
|
1656
|
+
modelValue: FieldValues;
|
|
1656
1657
|
dialog: PlusDialogProps;
|
|
1657
1658
|
form: PlusFormProps;
|
|
1658
1659
|
visible: boolean;
|
|
1659
|
-
modelValue: FieldValues;
|
|
1660
1660
|
hasErrorTip: boolean;
|
|
1661
1661
|
}, {}, string, {}> & {
|
|
1662
1662
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -1679,6 +1679,10 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1679
1679
|
$nextTick: typeof nextTick;
|
|
1680
1680
|
$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;
|
|
1681
1681
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
1682
|
+
modelValue: {
|
|
1683
|
+
type: PropType<FieldValues>;
|
|
1684
|
+
default: () => {};
|
|
1685
|
+
};
|
|
1682
1686
|
dialog: {
|
|
1683
1687
|
type: PropType<PlusDialogProps>;
|
|
1684
1688
|
default: () => {};
|
|
@@ -1691,18 +1695,14 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1691
1695
|
type: PropType<boolean>;
|
|
1692
1696
|
default: boolean;
|
|
1693
1697
|
};
|
|
1694
|
-
modelValue: {
|
|
1695
|
-
type: PropType<FieldValues>;
|
|
1696
|
-
default: () => {};
|
|
1697
|
-
};
|
|
1698
1698
|
hasErrorTip: {
|
|
1699
1699
|
type: PropType<boolean>;
|
|
1700
1700
|
default: boolean;
|
|
1701
1701
|
};
|
|
1702
1702
|
}>> & {
|
|
1703
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1703
1704
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1704
1705
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1705
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1706
1706
|
onClose?: (() => any) | undefined;
|
|
1707
1707
|
onCancel?: (() => any) | undefined;
|
|
1708
1708
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -1713,9 +1713,9 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1713
1713
|
formInstance: ComputedRef<FormInstance>;
|
|
1714
1714
|
}> & {} & ComponentCustomProperties & {} & {
|
|
1715
1715
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
1716
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
1716
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
1717
1717
|
readonly label: string | ComputedRef<string>;
|
|
1718
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
1718
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1719
1719
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1720
1720
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1721
1721
|
style?: CSSProperties | undefined;
|
|
@@ -1742,7 +1742,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1742
1742
|
};
|
|
1743
1743
|
rows: number;
|
|
1744
1744
|
autocomplete: string;
|
|
1745
|
-
type: "" | "number" | "default" | "
|
|
1745
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
1746
1746
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
1747
1747
|
step: string | number;
|
|
1748
1748
|
format: string | ProgressFn | undefined;
|
|
@@ -1787,7 +1787,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1787
1787
|
fieldInstance?: any;
|
|
1788
1788
|
valueIsReady?: Ref<boolean> | undefined;
|
|
1789
1789
|
prop: string;
|
|
1790
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
1790
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1791
1791
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
1792
1792
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1793
1793
|
style?: CSSProperties | undefined;
|
|
@@ -1842,9 +1842,9 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1842
1842
|
$data: {};
|
|
1843
1843
|
$props: Partial<{
|
|
1844
1844
|
size: string | number;
|
|
1845
|
+
modelValue: FieldValues;
|
|
1845
1846
|
form: PlusFormProps;
|
|
1846
1847
|
visible: boolean;
|
|
1847
|
-
modelValue: FieldValues;
|
|
1848
1848
|
hasErrorTip: boolean;
|
|
1849
1849
|
hasFooter: boolean;
|
|
1850
1850
|
confirmLoading: boolean;
|
|
@@ -1856,9 +1856,9 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1856
1856
|
} & RecordType>;
|
|
1857
1857
|
}> & Omit<{
|
|
1858
1858
|
readonly size: string | number;
|
|
1859
|
+
readonly modelValue: FieldValues;
|
|
1859
1860
|
readonly form: PlusFormProps;
|
|
1860
1861
|
readonly visible: boolean;
|
|
1861
|
-
readonly modelValue: FieldValues;
|
|
1862
1862
|
readonly hasErrorTip: boolean;
|
|
1863
1863
|
readonly hasFooter: boolean;
|
|
1864
1864
|
readonly confirmLoading: boolean;
|
|
@@ -1868,9 +1868,9 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1868
1868
|
style?: CSSProperties | undefined;
|
|
1869
1869
|
class?: any;
|
|
1870
1870
|
} & RecordType>;
|
|
1871
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1871
1872
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1872
1873
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1873
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1874
1874
|
onCancel?: (() => any) | undefined;
|
|
1875
1875
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1876
1876
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -1879,6 +1879,10 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1879
1879
|
type: PropType<string | number>;
|
|
1880
1880
|
default: string;
|
|
1881
1881
|
};
|
|
1882
|
+
modelValue: {
|
|
1883
|
+
type: PropType<FieldValues>;
|
|
1884
|
+
default: () => {};
|
|
1885
|
+
};
|
|
1882
1886
|
form: {
|
|
1883
1887
|
type: PropType<PlusFormProps>;
|
|
1884
1888
|
default: () => {};
|
|
@@ -1887,10 +1891,6 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1887
1891
|
type: PropType<boolean>;
|
|
1888
1892
|
default: boolean;
|
|
1889
1893
|
};
|
|
1890
|
-
modelValue: {
|
|
1891
|
-
type: PropType<FieldValues>;
|
|
1892
|
-
default: () => {};
|
|
1893
|
-
};
|
|
1894
1894
|
hasErrorTip: {
|
|
1895
1895
|
type: PropType<boolean>;
|
|
1896
1896
|
default: boolean;
|
|
@@ -1919,13 +1919,13 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1919
1919
|
default: () => {};
|
|
1920
1920
|
};
|
|
1921
1921
|
}>> & {
|
|
1922
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1922
1923
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1923
1924
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1924
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1925
1925
|
onCancel?: (() => any) | undefined;
|
|
1926
1926
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1927
1927
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1928
|
-
}, "size" | "
|
|
1928
|
+
}, "size" | "modelValue" | "form" | "visible" | "hasErrorTip" | "hasFooter" | "confirmLoading" | "cancelText" | "confirmText" | "drawer">;
|
|
1929
1929
|
$attrs: {
|
|
1930
1930
|
[x: string]: unknown;
|
|
1931
1931
|
};
|
|
@@ -1944,6 +1944,10 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1944
1944
|
type: PropType<string | number>;
|
|
1945
1945
|
default: string;
|
|
1946
1946
|
};
|
|
1947
|
+
modelValue: {
|
|
1948
|
+
type: PropType<FieldValues>;
|
|
1949
|
+
default: () => {};
|
|
1950
|
+
};
|
|
1947
1951
|
form: {
|
|
1948
1952
|
type: PropType<PlusFormProps>;
|
|
1949
1953
|
default: () => {};
|
|
@@ -1952,10 +1956,6 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1952
1956
|
type: PropType<boolean>;
|
|
1953
1957
|
default: boolean;
|
|
1954
1958
|
};
|
|
1955
|
-
modelValue: {
|
|
1956
|
-
type: PropType<FieldValues>;
|
|
1957
|
-
default: () => {};
|
|
1958
|
-
};
|
|
1959
1959
|
hasErrorTip: {
|
|
1960
1960
|
type: PropType<boolean>;
|
|
1961
1961
|
default: boolean;
|
|
@@ -1984,9 +1984,9 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1984
1984
|
default: () => {};
|
|
1985
1985
|
};
|
|
1986
1986
|
}>> & {
|
|
1987
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1987
1988
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1988
1989
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1989
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1990
1990
|
onCancel?: (() => any) | undefined;
|
|
1991
1991
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1992
1992
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -2024,11 +2024,11 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2024
2024
|
readonly resizable: boolean;
|
|
2025
2025
|
}> & Omit<{
|
|
2026
2026
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
2027
|
+
readonly modelValue: boolean;
|
|
2027
2028
|
readonly title: string;
|
|
2029
|
+
readonly center: boolean;
|
|
2028
2030
|
readonly resizable: boolean;
|
|
2029
2031
|
readonly appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>;
|
|
2030
|
-
readonly center: boolean;
|
|
2031
|
-
readonly modelValue: boolean;
|
|
2032
2032
|
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2033
2033
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
2034
2034
|
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -2142,7 +2142,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2142
2142
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
2143
2143
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
2144
2144
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
2145
|
-
}, "size" | "
|
|
2145
|
+
}, "size" | "modelValue" | "title" | "center" | "transition" | "resizable" | "appendTo" | "closeOnPressEscape" | "direction" | "showClose" | "overflow" | "draggable" | "ariaLevel" | "fullscreen" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
2146
2146
|
$attrs: {
|
|
2147
2147
|
[x: string]: unknown;
|
|
2148
2148
|
};
|
|
@@ -2154,7 +2154,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2154
2154
|
}>;
|
|
2155
2155
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2156
2156
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2157
|
-
$emit: ((event: "
|
|
2157
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "closed") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
2158
2158
|
$el: any;
|
|
2159
2159
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2160
2160
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -2394,9 +2394,9 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2394
2394
|
confirmError: (errors: unknown) => void;
|
|
2395
2395
|
}, string, {
|
|
2396
2396
|
size: string | number;
|
|
2397
|
+
modelValue: FieldValues;
|
|
2397
2398
|
form: PlusFormProps;
|
|
2398
2399
|
visible: boolean;
|
|
2399
|
-
modelValue: FieldValues;
|
|
2400
2400
|
hasErrorTip: boolean;
|
|
2401
2401
|
hasFooter: boolean;
|
|
2402
2402
|
confirmLoading: boolean;
|
|
@@ -2431,6 +2431,10 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2431
2431
|
type: PropType<string | number>;
|
|
2432
2432
|
default: string;
|
|
2433
2433
|
};
|
|
2434
|
+
modelValue: {
|
|
2435
|
+
type: PropType<FieldValues>;
|
|
2436
|
+
default: () => {};
|
|
2437
|
+
};
|
|
2434
2438
|
form: {
|
|
2435
2439
|
type: PropType<PlusFormProps>;
|
|
2436
2440
|
default: () => {};
|
|
@@ -2439,10 +2443,6 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2439
2443
|
type: PropType<boolean>;
|
|
2440
2444
|
default: boolean;
|
|
2441
2445
|
};
|
|
2442
|
-
modelValue: {
|
|
2443
|
-
type: PropType<FieldValues>;
|
|
2444
|
-
default: () => {};
|
|
2445
|
-
};
|
|
2446
2446
|
hasErrorTip: {
|
|
2447
2447
|
type: PropType<boolean>;
|
|
2448
2448
|
default: boolean;
|
|
@@ -2471,9 +2471,9 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2471
2471
|
default: () => {};
|
|
2472
2472
|
};
|
|
2473
2473
|
}>> & {
|
|
2474
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2474
2475
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2475
2476
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
2476
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2477
2477
|
onCancel?: (() => any) | undefined;
|
|
2478
2478
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
2479
2479
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -2511,11 +2511,11 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2511
2511
|
readonly resizable: boolean;
|
|
2512
2512
|
}> & Omit<{
|
|
2513
2513
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
2514
|
+
readonly modelValue: boolean;
|
|
2514
2515
|
readonly title: string;
|
|
2516
|
+
readonly center: boolean;
|
|
2515
2517
|
readonly resizable: boolean;
|
|
2516
2518
|
readonly appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>;
|
|
2517
|
-
readonly center: boolean;
|
|
2518
|
-
readonly modelValue: boolean;
|
|
2519
2519
|
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2520
2520
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
2521
2521
|
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -2629,7 +2629,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2629
2629
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
2630
2630
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
2631
2631
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
2632
|
-
}, "size" | "
|
|
2632
|
+
}, "size" | "modelValue" | "title" | "center" | "transition" | "resizable" | "appendTo" | "closeOnPressEscape" | "direction" | "showClose" | "overflow" | "draggable" | "ariaLevel" | "fullscreen" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
2633
2633
|
$attrs: {
|
|
2634
2634
|
[x: string]: unknown;
|
|
2635
2635
|
};
|
|
@@ -2641,7 +2641,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2641
2641
|
}>;
|
|
2642
2642
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2643
2643
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
2644
|
-
$emit: ((event: "
|
|
2644
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "closed") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
2645
2645
|
$el: any;
|
|
2646
2646
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
2647
2647
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -2874,9 +2874,9 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2874
2874
|
formInstance: ComputedRef<FormInstance>;
|
|
2875
2875
|
}> & {} & ComponentCustomProperties & {} & {
|
|
2876
2876
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
2877
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
2877
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
2878
2878
|
readonly label: string | ComputedRef<string>;
|
|
2879
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
2879
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2880
2880
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2881
2881
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2882
2882
|
style?: CSSProperties | undefined;
|
|
@@ -2903,7 +2903,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2903
2903
|
};
|
|
2904
2904
|
rows: number;
|
|
2905
2905
|
autocomplete: string;
|
|
2906
|
-
type: "" | "number" | "default" | "
|
|
2906
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
2907
2907
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
2908
2908
|
step: string | number;
|
|
2909
2909
|
format: string | ProgressFn | undefined;
|
|
@@ -2948,7 +2948,7 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2948
2948
|
fieldInstance?: any;
|
|
2949
2949
|
valueIsReady?: Ref<boolean> | undefined;
|
|
2950
2950
|
prop: string;
|
|
2951
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
2951
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2952
2952
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
2953
2953
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2954
2954
|
style?: CSSProperties | undefined;
|
|
@@ -3026,25 +3026,29 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3026
3026
|
$: ComponentInternalInstance;
|
|
3027
3027
|
$data: {};
|
|
3028
3028
|
$props: Partial<{
|
|
3029
|
+
modelValue: FieldValues;
|
|
3029
3030
|
dialog: PlusDialogProps;
|
|
3030
3031
|
form: PlusFormProps;
|
|
3031
3032
|
visible: boolean;
|
|
3032
|
-
modelValue: FieldValues;
|
|
3033
3033
|
hasErrorTip: boolean;
|
|
3034
3034
|
}> & Omit<{
|
|
3035
|
+
readonly modelValue: FieldValues;
|
|
3035
3036
|
readonly dialog: PlusDialogProps;
|
|
3036
3037
|
readonly form: PlusFormProps;
|
|
3037
3038
|
readonly visible: boolean;
|
|
3038
|
-
readonly modelValue: FieldValues;
|
|
3039
3039
|
readonly hasErrorTip: boolean;
|
|
3040
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3040
3041
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3041
3042
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3042
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3043
3043
|
onClose?: (() => any) | undefined;
|
|
3044
3044
|
onCancel?: (() => any) | undefined;
|
|
3045
3045
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3046
3046
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3047
3047
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3048
|
+
modelValue: {
|
|
3049
|
+
type: PropType<FieldValues>;
|
|
3050
|
+
default: () => {};
|
|
3051
|
+
};
|
|
3048
3052
|
dialog: {
|
|
3049
3053
|
type: PropType<PlusDialogProps>;
|
|
3050
3054
|
default: () => {};
|
|
@@ -3057,23 +3061,19 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3057
3061
|
type: PropType<boolean>;
|
|
3058
3062
|
default: boolean;
|
|
3059
3063
|
};
|
|
3060
|
-
modelValue: {
|
|
3061
|
-
type: PropType<FieldValues>;
|
|
3062
|
-
default: () => {};
|
|
3063
|
-
};
|
|
3064
3064
|
hasErrorTip: {
|
|
3065
3065
|
type: PropType<boolean>;
|
|
3066
3066
|
default: boolean;
|
|
3067
3067
|
};
|
|
3068
3068
|
}>> & {
|
|
3069
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3069
3070
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3070
3071
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3071
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3072
3072
|
onClose?: (() => any) | undefined;
|
|
3073
3073
|
onCancel?: (() => any) | undefined;
|
|
3074
3074
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3075
3075
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3076
|
-
}, "
|
|
3076
|
+
}, "modelValue" | "dialog" | "form" | "visible" | "hasErrorTip">;
|
|
3077
3077
|
$attrs: {
|
|
3078
3078
|
[x: string]: unknown;
|
|
3079
3079
|
};
|
|
@@ -3088,6 +3088,10 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3088
3088
|
$emit: ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "cancel") => void) & ((event: "close") => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "update:visible", visible: boolean) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
3089
3089
|
$el: any;
|
|
3090
3090
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3091
|
+
modelValue: {
|
|
3092
|
+
type: PropType<FieldValues>;
|
|
3093
|
+
default: () => {};
|
|
3094
|
+
};
|
|
3091
3095
|
dialog: {
|
|
3092
3096
|
type: PropType<PlusDialogProps>;
|
|
3093
3097
|
default: () => {};
|
|
@@ -3100,18 +3104,14 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3100
3104
|
type: PropType<boolean>;
|
|
3101
3105
|
default: boolean;
|
|
3102
3106
|
};
|
|
3103
|
-
modelValue: {
|
|
3104
|
-
type: PropType<FieldValues>;
|
|
3105
|
-
default: () => {};
|
|
3106
|
-
};
|
|
3107
3107
|
hasErrorTip: {
|
|
3108
3108
|
type: PropType<boolean>;
|
|
3109
3109
|
default: boolean;
|
|
3110
3110
|
};
|
|
3111
3111
|
}>> & {
|
|
3112
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3112
3113
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3113
3114
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3114
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3115
3115
|
onClose?: (() => any) | undefined;
|
|
3116
3116
|
onCancel?: (() => any) | undefined;
|
|
3117
3117
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -3129,10 +3129,10 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3129
3129
|
close: () => void;
|
|
3130
3130
|
confirmError: (errors: unknown) => void;
|
|
3131
3131
|
}, string, {
|
|
3132
|
+
modelValue: FieldValues;
|
|
3132
3133
|
dialog: PlusDialogProps;
|
|
3133
3134
|
form: PlusFormProps;
|
|
3134
3135
|
visible: boolean;
|
|
3135
|
-
modelValue: FieldValues;
|
|
3136
3136
|
hasErrorTip: boolean;
|
|
3137
3137
|
}, {}, string, {}> & {
|
|
3138
3138
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -3155,6 +3155,10 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3155
3155
|
$nextTick: typeof nextTick;
|
|
3156
3156
|
$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;
|
|
3157
3157
|
} & Omit<Readonly< ExtractPropTypes<{
|
|
3158
|
+
modelValue: {
|
|
3159
|
+
type: PropType<FieldValues>;
|
|
3160
|
+
default: () => {};
|
|
3161
|
+
};
|
|
3158
3162
|
dialog: {
|
|
3159
3163
|
type: PropType<PlusDialogProps>;
|
|
3160
3164
|
default: () => {};
|
|
@@ -3167,18 +3171,14 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3167
3171
|
type: PropType<boolean>;
|
|
3168
3172
|
default: boolean;
|
|
3169
3173
|
};
|
|
3170
|
-
modelValue: {
|
|
3171
|
-
type: PropType<FieldValues>;
|
|
3172
|
-
default: () => {};
|
|
3173
|
-
};
|
|
3174
3174
|
hasErrorTip: {
|
|
3175
3175
|
type: PropType<boolean>;
|
|
3176
3176
|
default: boolean;
|
|
3177
3177
|
};
|
|
3178
3178
|
}>> & {
|
|
3179
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3179
3180
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3180
3181
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3181
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3182
3182
|
onClose?: (() => any) | undefined;
|
|
3183
3183
|
onCancel?: (() => any) | undefined;
|
|
3184
3184
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -3189,9 +3189,9 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3189
3189
|
formInstance: ComputedRef<FormInstance>;
|
|
3190
3190
|
}> & {} & ComponentCustomProperties & {} & {
|
|
3191
3191
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
3192
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
3192
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
3193
3193
|
readonly label: string | ComputedRef<string>;
|
|
3194
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
3194
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3195
3195
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3196
3196
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
3197
3197
|
style?: CSSProperties | undefined;
|
|
@@ -3218,7 +3218,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3218
3218
|
};
|
|
3219
3219
|
rows: number;
|
|
3220
3220
|
autocomplete: string;
|
|
3221
|
-
type: "" | "number" | "default" | "
|
|
3221
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
3222
3222
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
3223
3223
|
step: string | number;
|
|
3224
3224
|
format: string | ProgressFn | undefined;
|
|
@@ -3263,7 +3263,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3263
3263
|
fieldInstance?: any;
|
|
3264
3264
|
valueIsReady?: Ref<boolean> | undefined;
|
|
3265
3265
|
prop: string;
|
|
3266
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
3266
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3267
3267
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
3268
3268
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
3269
3269
|
style?: CSSProperties | undefined;
|
|
@@ -3318,9 +3318,9 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3318
3318
|
$data: {};
|
|
3319
3319
|
$props: Partial<{
|
|
3320
3320
|
size: string | number;
|
|
3321
|
+
modelValue: FieldValues;
|
|
3321
3322
|
form: PlusFormProps;
|
|
3322
3323
|
visible: boolean;
|
|
3323
|
-
modelValue: FieldValues;
|
|
3324
3324
|
hasErrorTip: boolean;
|
|
3325
3325
|
hasFooter: boolean;
|
|
3326
3326
|
confirmLoading: boolean;
|
|
@@ -3332,9 +3332,9 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3332
3332
|
} & RecordType>;
|
|
3333
3333
|
}> & Omit<{
|
|
3334
3334
|
readonly size: string | number;
|
|
3335
|
+
readonly modelValue: FieldValues;
|
|
3335
3336
|
readonly form: PlusFormProps;
|
|
3336
3337
|
readonly visible: boolean;
|
|
3337
|
-
readonly modelValue: FieldValues;
|
|
3338
3338
|
readonly hasErrorTip: boolean;
|
|
3339
3339
|
readonly hasFooter: boolean;
|
|
3340
3340
|
readonly confirmLoading: boolean;
|
|
@@ -3344,9 +3344,9 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3344
3344
|
style?: CSSProperties | undefined;
|
|
3345
3345
|
class?: any;
|
|
3346
3346
|
} & RecordType>;
|
|
3347
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3347
3348
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3348
3349
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3349
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3350
3350
|
onCancel?: (() => any) | undefined;
|
|
3351
3351
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3352
3352
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -3355,6 +3355,10 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3355
3355
|
type: PropType<string | number>;
|
|
3356
3356
|
default: string;
|
|
3357
3357
|
};
|
|
3358
|
+
modelValue: {
|
|
3359
|
+
type: PropType<FieldValues>;
|
|
3360
|
+
default: () => {};
|
|
3361
|
+
};
|
|
3358
3362
|
form: {
|
|
3359
3363
|
type: PropType<PlusFormProps>;
|
|
3360
3364
|
default: () => {};
|
|
@@ -3363,10 +3367,6 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3363
3367
|
type: PropType<boolean>;
|
|
3364
3368
|
default: boolean;
|
|
3365
3369
|
};
|
|
3366
|
-
modelValue: {
|
|
3367
|
-
type: PropType<FieldValues>;
|
|
3368
|
-
default: () => {};
|
|
3369
|
-
};
|
|
3370
3370
|
hasErrorTip: {
|
|
3371
3371
|
type: PropType<boolean>;
|
|
3372
3372
|
default: boolean;
|
|
@@ -3395,13 +3395,13 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3395
3395
|
default: () => {};
|
|
3396
3396
|
};
|
|
3397
3397
|
}>> & {
|
|
3398
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3398
3399
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3399
3400
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3400
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3401
3401
|
onCancel?: (() => any) | undefined;
|
|
3402
3402
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3403
3403
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3404
|
-
}, "size" | "
|
|
3404
|
+
}, "size" | "modelValue" | "form" | "visible" | "hasErrorTip" | "hasFooter" | "confirmLoading" | "cancelText" | "confirmText" | "drawer">;
|
|
3405
3405
|
$attrs: {
|
|
3406
3406
|
[x: string]: unknown;
|
|
3407
3407
|
};
|
|
@@ -3420,6 +3420,10 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3420
3420
|
type: PropType<string | number>;
|
|
3421
3421
|
default: string;
|
|
3422
3422
|
};
|
|
3423
|
+
modelValue: {
|
|
3424
|
+
type: PropType<FieldValues>;
|
|
3425
|
+
default: () => {};
|
|
3426
|
+
};
|
|
3423
3427
|
form: {
|
|
3424
3428
|
type: PropType<PlusFormProps>;
|
|
3425
3429
|
default: () => {};
|
|
@@ -3428,10 +3432,6 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3428
3432
|
type: PropType<boolean>;
|
|
3429
3433
|
default: boolean;
|
|
3430
3434
|
};
|
|
3431
|
-
modelValue: {
|
|
3432
|
-
type: PropType<FieldValues>;
|
|
3433
|
-
default: () => {};
|
|
3434
|
-
};
|
|
3435
3435
|
hasErrorTip: {
|
|
3436
3436
|
type: PropType<boolean>;
|
|
3437
3437
|
default: boolean;
|
|
@@ -3460,9 +3460,9 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3460
3460
|
default: () => {};
|
|
3461
3461
|
};
|
|
3462
3462
|
}>> & {
|
|
3463
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3463
3464
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3464
3465
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3465
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3466
3466
|
onCancel?: (() => any) | undefined;
|
|
3467
3467
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3468
3468
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -3500,11 +3500,11 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3500
3500
|
readonly resizable: boolean;
|
|
3501
3501
|
}> & Omit<{
|
|
3502
3502
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
3503
|
+
readonly modelValue: boolean;
|
|
3503
3504
|
readonly title: string;
|
|
3505
|
+
readonly center: boolean;
|
|
3504
3506
|
readonly resizable: boolean;
|
|
3505
3507
|
readonly appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>;
|
|
3506
|
-
readonly center: boolean;
|
|
3507
|
-
readonly modelValue: boolean;
|
|
3508
3508
|
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3509
3509
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
3510
3510
|
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -3618,7 +3618,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3618
3618
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
3619
3619
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
3620
3620
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
3621
|
-
}, "size" | "
|
|
3621
|
+
}, "size" | "modelValue" | "title" | "center" | "transition" | "resizable" | "appendTo" | "closeOnPressEscape" | "direction" | "showClose" | "overflow" | "draggable" | "ariaLevel" | "fullscreen" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
3622
3622
|
$attrs: {
|
|
3623
3623
|
[x: string]: unknown;
|
|
3624
3624
|
};
|
|
@@ -3630,7 +3630,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3630
3630
|
}>;
|
|
3631
3631
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3632
3632
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3633
|
-
$emit: ((event: "
|
|
3633
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "closed") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
3634
3634
|
$el: any;
|
|
3635
3635
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3636
3636
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -3870,9 +3870,9 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3870
3870
|
confirmError: (errors: unknown) => void;
|
|
3871
3871
|
}, string, {
|
|
3872
3872
|
size: string | number;
|
|
3873
|
+
modelValue: FieldValues;
|
|
3873
3874
|
form: PlusFormProps;
|
|
3874
3875
|
visible: boolean;
|
|
3875
|
-
modelValue: FieldValues;
|
|
3876
3876
|
hasErrorTip: boolean;
|
|
3877
3877
|
hasFooter: boolean;
|
|
3878
3878
|
confirmLoading: boolean;
|
|
@@ -3907,6 +3907,10 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3907
3907
|
type: PropType<string | number>;
|
|
3908
3908
|
default: string;
|
|
3909
3909
|
};
|
|
3910
|
+
modelValue: {
|
|
3911
|
+
type: PropType<FieldValues>;
|
|
3912
|
+
default: () => {};
|
|
3913
|
+
};
|
|
3910
3914
|
form: {
|
|
3911
3915
|
type: PropType<PlusFormProps>;
|
|
3912
3916
|
default: () => {};
|
|
@@ -3915,10 +3919,6 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3915
3919
|
type: PropType<boolean>;
|
|
3916
3920
|
default: boolean;
|
|
3917
3921
|
};
|
|
3918
|
-
modelValue: {
|
|
3919
|
-
type: PropType<FieldValues>;
|
|
3920
|
-
default: () => {};
|
|
3921
|
-
};
|
|
3922
3922
|
hasErrorTip: {
|
|
3923
3923
|
type: PropType<boolean>;
|
|
3924
3924
|
default: boolean;
|
|
@@ -3947,9 +3947,9 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3947
3947
|
default: () => {};
|
|
3948
3948
|
};
|
|
3949
3949
|
}>> & {
|
|
3950
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3950
3951
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3951
3952
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3952
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3953
3953
|
onCancel?: (() => any) | undefined;
|
|
3954
3954
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3955
3955
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
@@ -3987,11 +3987,11 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3987
3987
|
readonly resizable: boolean;
|
|
3988
3988
|
}> & Omit<{
|
|
3989
3989
|
readonly size: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
3990
|
+
readonly modelValue: boolean;
|
|
3990
3991
|
readonly title: string;
|
|
3992
|
+
readonly center: boolean;
|
|
3991
3993
|
readonly resizable: boolean;
|
|
3992
3994
|
readonly appendTo: EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>) | ((new (...args: any[]) => string | HTMLElement) | (() => EpPropMergeType<(new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement) | ((new (...args: any[]) => string | HTMLElement) | (() => string | HTMLElement))[], unknown, unknown>))[], unknown, unknown>;
|
|
3993
|
-
readonly center: boolean;
|
|
3994
|
-
readonly modelValue: boolean;
|
|
3995
3995
|
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3996
3996
|
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
3997
3997
|
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -4105,7 +4105,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
4105
4105
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
4106
4106
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
4107
4107
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
4108
|
-
}, "size" | "
|
|
4108
|
+
}, "size" | "modelValue" | "title" | "center" | "transition" | "resizable" | "appendTo" | "closeOnPressEscape" | "direction" | "showClose" | "overflow" | "draggable" | "ariaLevel" | "fullscreen" | "appendToBody" | "destroyOnClose" | "closeOnClickModal" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "trapFocus" | "headerAriaLevel" | "alignCenter" | "withHeader" | "modalFade">;
|
|
4109
4109
|
$attrs: {
|
|
4110
4110
|
[x: string]: unknown;
|
|
4111
4111
|
};
|
|
@@ -4117,7 +4117,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
4117
4117
|
}>;
|
|
4118
4118
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4119
4119
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
4120
|
-
$emit: ((event: "
|
|
4120
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "closed") => void) & ((event: "opened") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
4121
4121
|
$el: any;
|
|
4122
4122
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
4123
4123
|
readonly direction: EpPropFinalized<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown, "rtl", boolean>;
|
|
@@ -4350,9 +4350,9 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
4350
4350
|
formInstance: ComputedRef<FormInstance>;
|
|
4351
4351
|
}> & {} & ComponentCustomProperties & {} & {
|
|
4352
4352
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
4353
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
4353
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
4354
4354
|
readonly label: string | ComputedRef<string>;
|
|
4355
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
4355
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4356
4356
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4357
4357
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4358
4358
|
style?: CSSProperties | undefined;
|
|
@@ -4379,7 +4379,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
4379
4379
|
};
|
|
4380
4380
|
rows: number;
|
|
4381
4381
|
autocomplete: string;
|
|
4382
|
-
type: "" | "number" | "default" | "
|
|
4382
|
+
type: "" | "number" | "default" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "color" | "primary" | "success" | "warning" | "info" | "danger" | "reset" | "submit" | "hidden" | "range" | "password" | "email" | "tel" | "url" | "date" | "year" | "years" | "month" | "months" | "dates" | "week" | "datetime" | "yearrange" | "dashboard" | "datetime-local" | "file" | undefined;
|
|
4383
4383
|
loading: boolean | EpPropMergeType<StringConstructor, "lazy" | "eager", unknown> | undefined;
|
|
4384
4384
|
step: string | number;
|
|
4385
4385
|
format: string | ProgressFn | undefined;
|
|
@@ -4424,7 +4424,7 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
4424
4424
|
fieldInstance?: any;
|
|
4425
4425
|
valueIsReady?: Ref<boolean> | undefined;
|
|
4426
4426
|
prop: string;
|
|
4427
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
4427
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4428
4428
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
4429
4429
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4430
4430
|
style?: CSSProperties | undefined;
|