yc-pro-components 0.0.80 → 0.0.82
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 +38 -38
- package/es/components/check-card/src/index.vue.d.ts +3 -3
- package/es/components/check-card-group/index.d.ts +4 -4
- package/es/components/check-card-group/src/index.vue.d.ts +1 -1
- package/es/components/date-picker/index.d.ts +11 -11
- package/es/components/date-picker/src/index.vue.d.ts +11 -11
- package/es/components/dialog/index.d.ts +83 -83
- package/es/components/dialog/src/index.vue.d.ts +7 -7
- package/es/components/dialog-form/index.d.ts +38 -38
- package/es/components/dialog-form/src/index.vue.d.ts +10 -10
- package/es/components/display-item/index.d.ts +18 -18
- package/es/components/display-item/src/index.vue.d.ts +18 -18
- package/es/components/drawer-form/index.d.ts +126 -126
- package/es/components/drawer-form/src/index.vue.d.ts +29 -29
- package/es/components/form/index.d.ts +49 -49
- package/es/components/form/src/form-content.vue.d.ts +28 -28
- package/es/components/form/src/index.vue.d.ts +16 -16
- package/es/components/form-item/index.d.ts +66 -66
- package/es/components/form-item/src/index.vue.d.ts +19 -19
- package/es/components/input-tag/index.d.ts +1 -1
- package/es/components/input-tag/src/index.vue.d.ts +1 -1
- package/es/components/page/index.d.ts +390 -378
- package/es/components/page/src/index.vue.d.ts +134 -130
- package/es/components/pagination/index.d.ts +11 -11
- package/es/components/pagination/src/index.vue.d.ts +2 -2
- package/es/components/popover/index.d.ts +42 -42
- package/es/components/popover/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +22 -22
- package/es/components/radio/src/index.vue.d.ts +22 -22
- 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 +171 -171
- package/es/components/search/src/index.vue.d.ts +54 -54
- 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 +6 -0
- package/es/components/table/src/index.vue.d.ts +2 -0
- package/es/components/table/src/index.vue2.mjs +30 -1
- package/es/components/table/src/table-action-bar.vue.d.ts +1 -1
- package/es/components/table/src/table-column.vue.d.ts +18 -18
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-card/index.d.ts +19 -19
- package/es/components/yc-card/src/index.vue.d.ts +1 -1
- 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-drawer/store.d.ts +5 -5
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +16 -16
- package/es/components/yc-more-actions/src/index.vue.d.ts +2 -2
- package/es/components/yc-plus-page/src/header-filter-cell.vue.d.ts +3 -3
- 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 +17 -0
- package/es/components/yc-plus-page/src/index.vue.d.ts +269 -257
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/es/components/yc-segmented/index.d.ts +1 -1
- package/es/components/yc-segmented/src/index.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +5 -5
- 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/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +402 -402
- package/es/index.css +11 -11
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.js +50 -4
- package/index.min.css +1 -1
- package/index.min.js +12 -12
- package/index.min.mjs +12 -12
- package/index.mjs +50 -4
- package/lib/components/check-card/index.d.ts +38 -38
- package/lib/components/check-card/src/index.vue.d.ts +3 -3
- package/lib/components/check-card-group/index.d.ts +4 -4
- package/lib/components/check-card-group/src/index.vue.d.ts +1 -1
- package/lib/components/date-picker/index.d.ts +11 -11
- package/lib/components/date-picker/src/index.vue.d.ts +11 -11
- package/lib/components/dialog/index.d.ts +83 -83
- package/lib/components/dialog/src/index.vue.d.ts +7 -7
- package/lib/components/dialog-form/index.d.ts +38 -38
- package/lib/components/dialog-form/src/index.vue.d.ts +10 -10
- package/lib/components/display-item/index.d.ts +18 -18
- package/lib/components/display-item/src/index.vue.d.ts +18 -18
- package/lib/components/drawer-form/index.d.ts +126 -126
- package/lib/components/drawer-form/src/index.vue.d.ts +29 -29
- package/lib/components/form/index.d.ts +49 -49
- package/lib/components/form/src/form-content.vue.d.ts +28 -28
- package/lib/components/form/src/index.vue.d.ts +16 -16
- package/lib/components/form-item/index.d.ts +66 -66
- package/lib/components/form-item/src/index.vue.d.ts +19 -19
- package/lib/components/input-tag/index.d.ts +1 -1
- package/lib/components/input-tag/src/index.vue.d.ts +1 -1
- package/lib/components/page/index.d.ts +390 -378
- package/lib/components/page/src/index.vue.d.ts +134 -130
- package/lib/components/pagination/index.d.ts +11 -11
- package/lib/components/pagination/src/index.vue.d.ts +2 -2
- package/lib/components/popover/index.d.ts +42 -42
- package/lib/components/popover/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +22 -22
- package/lib/components/radio/src/index.vue.d.ts +22 -22
- 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 +171 -171
- package/lib/components/search/src/index.vue.d.ts +54 -54
- 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 +6 -0
- package/lib/components/table/src/index.vue.d.ts +2 -0
- package/lib/components/table/src/index.vue2.js +30 -1
- package/lib/components/table/src/table-action-bar.vue.d.ts +1 -1
- package/lib/components/table/src/table-column.vue.d.ts +18 -18
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-card/index.d.ts +19 -19
- package/lib/components/yc-card/src/index.vue.d.ts +1 -1
- 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-drawer/store.d.ts +5 -5
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +16 -16
- package/lib/components/yc-more-actions/src/index.vue.d.ts +2 -2
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.d.ts +3 -3
- 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 +17 -0
- package/lib/components/yc-plus-page/src/index.vue.d.ts +269 -257
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/lib/components/yc-segmented/index.d.ts +1 -1
- package/lib/components/yc-segmented/src/index.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +5 -5
- 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/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +402 -402
- package/lib/index.css +10 -10
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/version.d.ts +1 -1
- 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 { PlusDialogProps, PlusFormProps, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/components';
|
|
5
4
|
import { FieldValues, PlusColumn, RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'yc-pro-components';
|
|
5
|
+
import { PlusDialogProps, PlusFormProps, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/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,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
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
91
90
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
92
91
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
93
|
-
onClose?: (() => any) | undefined;
|
|
94
|
-
onCancel?: (() => any) | undefined;
|
|
95
92
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
93
|
+
onCancel?: (() => any) | undefined;
|
|
94
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
95
|
+
onClose?: (() => 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
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
120
119
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
121
120
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
122
|
-
onClose?: (() => any) | undefined;
|
|
123
|
-
onCancel?: (() => any) | undefined;
|
|
124
121
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
122
|
+
onCancel?: (() => any) | undefined;
|
|
123
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
124
|
+
onClose?: (() => 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: "update:
|
|
138
|
+
$emit: ((event: "update:visible", visible: boolean) => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "cancel") => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "close") => void) & ((event: "change", values: FieldValues, column: PlusColumn) => 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,17 +150,21 @@ 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
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
163
162
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
164
163
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
165
|
-
onClose?: (() => any) | undefined;
|
|
166
|
-
onCancel?: (() => any) | undefined;
|
|
167
164
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
165
|
+
onCancel?: (() => any) | undefined;
|
|
166
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
167
|
+
onClose?: (() => any) | undefined;
|
|
168
168
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
169
169
|
}, {
|
|
170
170
|
handleConfirm: () => void;
|
|
@@ -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;
|
|
183
182
|
dialog: PlusDialogProps;
|
|
184
183
|
form: PlusFormProps;
|
|
185
184
|
visible: boolean;
|
|
185
|
+
modelValue: FieldValues;
|
|
186
186
|
hasErrorTip: boolean;
|
|
187
187
|
}, {}, string, {}> & {
|
|
188
188
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -205,10 +205,6 @@ 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
|
-
};
|
|
212
208
|
dialog: {
|
|
213
209
|
type: PropType<PlusDialogProps>;
|
|
214
210
|
default: () => {};
|
|
@@ -221,28 +217,32 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
221
217
|
type: PropType<boolean>;
|
|
222
218
|
default: boolean;
|
|
223
219
|
};
|
|
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;
|
|
230
229
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
231
230
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
232
|
-
onClose?: (() => any) | undefined;
|
|
233
|
-
onCancel?: (() => any) | undefined;
|
|
234
231
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
232
|
+
onCancel?: (() => any) | undefined;
|
|
233
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
234
|
+
onClose?: (() => any) | undefined;
|
|
235
235
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
236
|
-
}, "
|
|
236
|
+
}, "handleConfirm" | "handleCancel" | "formInstance"> & ShallowUnwrapRef<{
|
|
237
237
|
handleConfirm: () => void;
|
|
238
238
|
handleCancel: () => void;
|
|
239
239
|
formInstance: ComputedRef<FormInstance>;
|
|
240
240
|
}> & {} & ComponentCustomProperties & {} & {
|
|
241
241
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
242
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
242
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "modelValue" | "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] | boolean[] |
|
|
245
|
-
readonly hasLabel: boolean |
|
|
244
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
245
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
246
246
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
247
247
|
style?: CSSProperties | undefined;
|
|
248
248
|
class?: any;
|
|
@@ -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" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
271
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "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,8 +313,8 @@ 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] | boolean[] |
|
|
317
|
-
hasLabel: boolean |
|
|
316
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
317
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
318
318
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
319
319
|
style?: CSSProperties | undefined;
|
|
320
320
|
class?: any;
|
|
@@ -368,47 +368,43 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
368
368
|
$data: {};
|
|
369
369
|
$props: Partial<{
|
|
370
370
|
size: string | number;
|
|
371
|
-
modelValue: FieldValues;
|
|
372
371
|
form: PlusFormProps;
|
|
373
372
|
visible: boolean;
|
|
373
|
+
confirmText: string;
|
|
374
|
+
cancelText: string;
|
|
375
|
+
modelValue: FieldValues;
|
|
374
376
|
hasErrorTip: boolean;
|
|
375
377
|
hasFooter: boolean;
|
|
376
378
|
confirmLoading: boolean;
|
|
377
|
-
cancelText: string;
|
|
378
|
-
confirmText: string;
|
|
379
379
|
drawer: Partial< Mutable<DrawerProps> & {
|
|
380
380
|
style?: CSSProperties | undefined;
|
|
381
381
|
class?: any;
|
|
382
382
|
} & RecordType>;
|
|
383
383
|
}> & Omit<{
|
|
384
384
|
readonly size: string | number;
|
|
385
|
-
readonly modelValue: FieldValues;
|
|
386
385
|
readonly form: PlusFormProps;
|
|
387
386
|
readonly visible: boolean;
|
|
387
|
+
readonly confirmText: string;
|
|
388
|
+
readonly cancelText: string;
|
|
389
|
+
readonly modelValue: FieldValues;
|
|
388
390
|
readonly hasErrorTip: boolean;
|
|
389
391
|
readonly hasFooter: boolean;
|
|
390
392
|
readonly confirmLoading: boolean;
|
|
391
|
-
readonly cancelText: string;
|
|
392
|
-
readonly confirmText: string;
|
|
393
393
|
readonly drawer: Partial< Mutable<DrawerProps> & {
|
|
394
394
|
style?: CSSProperties | undefined;
|
|
395
395
|
class?: any;
|
|
396
396
|
} & RecordType>;
|
|
397
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
398
397
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
399
398
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
400
|
-
onCancel?: (() => any) | undefined;
|
|
401
399
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
400
|
+
onCancel?: (() => any) | undefined;
|
|
401
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
402
402
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
403
403
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
404
404
|
size: {
|
|
405
405
|
type: PropType<string | number>;
|
|
406
406
|
default: string;
|
|
407
407
|
};
|
|
408
|
-
modelValue: {
|
|
409
|
-
type: PropType<FieldValues>;
|
|
410
|
-
default: () => {};
|
|
411
|
-
};
|
|
412
408
|
form: {
|
|
413
409
|
type: PropType<PlusFormProps>;
|
|
414
410
|
default: () => {};
|
|
@@ -417,6 +413,18 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
417
413
|
type: PropType<boolean>;
|
|
418
414
|
default: boolean;
|
|
419
415
|
};
|
|
416
|
+
confirmText: {
|
|
417
|
+
type: PropType<string>;
|
|
418
|
+
default: string;
|
|
419
|
+
};
|
|
420
|
+
cancelText: {
|
|
421
|
+
type: PropType<string>;
|
|
422
|
+
default: string;
|
|
423
|
+
};
|
|
424
|
+
modelValue: {
|
|
425
|
+
type: PropType<FieldValues>;
|
|
426
|
+
default: () => {};
|
|
427
|
+
};
|
|
420
428
|
hasErrorTip: {
|
|
421
429
|
type: PropType<boolean>;
|
|
422
430
|
default: boolean;
|
|
@@ -429,14 +437,6 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
429
437
|
type: PropType<boolean>;
|
|
430
438
|
default: boolean;
|
|
431
439
|
};
|
|
432
|
-
cancelText: {
|
|
433
|
-
type: PropType<string>;
|
|
434
|
-
default: string;
|
|
435
|
-
};
|
|
436
|
-
confirmText: {
|
|
437
|
-
type: PropType<string>;
|
|
438
|
-
default: string;
|
|
439
|
-
};
|
|
440
440
|
drawer: {
|
|
441
441
|
type: PropType<Partial< Mutable<DrawerProps> & {
|
|
442
442
|
style?: CSSProperties | undefined;
|
|
@@ -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;
|
|
449
448
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
450
449
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
451
|
-
onCancel?: (() => any) | undefined;
|
|
452
450
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
451
|
+
onCancel?: (() => any) | undefined;
|
|
452
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
453
453
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
454
|
-
}, "size" | "
|
|
454
|
+
}, "size" | "form" | "visible" | "confirmText" | "cancelText" | "modelValue" | "hasErrorTip" | "hasFooter" | "confirmLoading" | "drawer">;
|
|
455
455
|
$attrs: {
|
|
456
456
|
[x: string]: unknown;
|
|
457
457
|
};
|
|
@@ -463,17 +463,13 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
463
463
|
}>;
|
|
464
464
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
465
465
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
466
|
-
$emit: ((event: "update:
|
|
466
|
+
$emit: ((event: "update:visible", visible: boolean) => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "cancel") => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
467
467
|
$el: any;
|
|
468
468
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
469
469
|
size: {
|
|
470
470
|
type: PropType<string | number>;
|
|
471
471
|
default: string;
|
|
472
472
|
};
|
|
473
|
-
modelValue: {
|
|
474
|
-
type: PropType<FieldValues>;
|
|
475
|
-
default: () => {};
|
|
476
|
-
};
|
|
477
473
|
form: {
|
|
478
474
|
type: PropType<PlusFormProps>;
|
|
479
475
|
default: () => {};
|
|
@@ -482,6 +478,18 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
482
478
|
type: PropType<boolean>;
|
|
483
479
|
default: boolean;
|
|
484
480
|
};
|
|
481
|
+
confirmText: {
|
|
482
|
+
type: PropType<string>;
|
|
483
|
+
default: string;
|
|
484
|
+
};
|
|
485
|
+
cancelText: {
|
|
486
|
+
type: PropType<string>;
|
|
487
|
+
default: string;
|
|
488
|
+
};
|
|
489
|
+
modelValue: {
|
|
490
|
+
type: PropType<FieldValues>;
|
|
491
|
+
default: () => {};
|
|
492
|
+
};
|
|
485
493
|
hasErrorTip: {
|
|
486
494
|
type: PropType<boolean>;
|
|
487
495
|
default: boolean;
|
|
@@ -494,14 +502,6 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
494
502
|
type: PropType<boolean>;
|
|
495
503
|
default: boolean;
|
|
496
504
|
};
|
|
497
|
-
cancelText: {
|
|
498
|
-
type: PropType<string>;
|
|
499
|
-
default: string;
|
|
500
|
-
};
|
|
501
|
-
confirmText: {
|
|
502
|
-
type: PropType<string>;
|
|
503
|
-
default: string;
|
|
504
|
-
};
|
|
505
505
|
drawer: {
|
|
506
506
|
type: PropType<Partial< Mutable<DrawerProps> & {
|
|
507
507
|
style?: CSSProperties | undefined;
|
|
@@ -510,11 +510,11 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
510
510
|
default: () => {};
|
|
511
511
|
};
|
|
512
512
|
}>> & {
|
|
513
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
514
513
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
515
514
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
516
|
-
onCancel?: (() => any) | undefined;
|
|
517
515
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
516
|
+
onCancel?: (() => any) | undefined;
|
|
517
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
518
518
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
519
519
|
}, {
|
|
520
520
|
drawerInstance: Ref<({
|
|
@@ -550,41 +550,41 @@ 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;
|
|
554
553
|
readonly title: string;
|
|
555
|
-
readonly center: boolean;
|
|
556
|
-
readonly resizable: boolean;
|
|
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>;
|
|
558
|
-
readonly ariaLevel: string;
|
|
559
|
-
readonly fullscreen: boolean;
|
|
560
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
561
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
562
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
563
554
|
readonly appendToBody: boolean;
|
|
555
|
+
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>;
|
|
564
556
|
readonly destroyOnClose: boolean;
|
|
565
557
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
558
|
+
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
566
559
|
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
567
560
|
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
568
561
|
readonly modalPenetrable: boolean;
|
|
569
562
|
readonly openDelay: number;
|
|
570
563
|
readonly closeDelay: number;
|
|
564
|
+
readonly modelValue: boolean;
|
|
571
565
|
readonly trapFocus: boolean;
|
|
572
566
|
readonly headerAriaLevel: string;
|
|
567
|
+
readonly center: boolean;
|
|
568
|
+
readonly fullscreen: boolean;
|
|
569
|
+
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
570
|
+
readonly ariaLevel: string;
|
|
571
|
+
readonly resizable: boolean;
|
|
572
|
+
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
573
573
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
574
574
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
575
|
-
readonly top?: string | undefined;
|
|
576
|
-
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
577
575
|
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
578
|
-
readonly
|
|
579
|
-
readonly
|
|
580
|
-
readonly
|
|
576
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
577
|
+
readonly top?: string | undefined;
|
|
578
|
+
readonly modalClass?: string | undefined;
|
|
581
579
|
readonly headerClass?: string | undefined;
|
|
582
580
|
readonly bodyClass?: string | undefined;
|
|
583
581
|
readonly footerClass?: string | undefined;
|
|
584
|
-
readonly
|
|
585
|
-
readonly
|
|
582
|
+
readonly zIndex?: number | undefined;
|
|
583
|
+
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
586
584
|
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
587
585
|
readonly closeIcon?: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown> | undefined;
|
|
586
|
+
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
587
|
+
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
588
588
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
589
589
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
590
590
|
onClose?: (() => any) | undefined;
|
|
@@ -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" | "title" | "appendToBody" | "appendTo" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "modelValue" | "trapFocus" | "headerAriaLevel" | "transition" | "center" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "showClose" | "ariaLevel" | "resizable" | "direction" | "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: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "
|
|
683
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "opened") => void) & ((event: "closed") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize", evt: MouseEvent, size: number) => 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,14 +920,14 @@ 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;
|
|
924
923
|
form: PlusFormProps;
|
|
925
924
|
visible: boolean;
|
|
925
|
+
confirmText: string;
|
|
926
|
+
cancelText: string;
|
|
927
|
+
modelValue: FieldValues;
|
|
926
928
|
hasErrorTip: boolean;
|
|
927
929
|
hasFooter: boolean;
|
|
928
930
|
confirmLoading: boolean;
|
|
929
|
-
cancelText: string;
|
|
930
|
-
confirmText: string;
|
|
931
931
|
drawer: Partial< Mutable<DrawerProps> & {
|
|
932
932
|
style?: CSSProperties | undefined;
|
|
933
933
|
class?: any;
|
|
@@ -957,10 +957,6 @@ 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
|
-
};
|
|
964
960
|
form: {
|
|
965
961
|
type: PropType<PlusFormProps>;
|
|
966
962
|
default: () => {};
|
|
@@ -969,6 +965,18 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
969
965
|
type: PropType<boolean>;
|
|
970
966
|
default: boolean;
|
|
971
967
|
};
|
|
968
|
+
confirmText: {
|
|
969
|
+
type: PropType<string>;
|
|
970
|
+
default: string;
|
|
971
|
+
};
|
|
972
|
+
cancelText: {
|
|
973
|
+
type: PropType<string>;
|
|
974
|
+
default: string;
|
|
975
|
+
};
|
|
976
|
+
modelValue: {
|
|
977
|
+
type: PropType<FieldValues>;
|
|
978
|
+
default: () => {};
|
|
979
|
+
};
|
|
972
980
|
hasErrorTip: {
|
|
973
981
|
type: PropType<boolean>;
|
|
974
982
|
default: boolean;
|
|
@@ -981,14 +989,6 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
981
989
|
type: PropType<boolean>;
|
|
982
990
|
default: boolean;
|
|
983
991
|
};
|
|
984
|
-
cancelText: {
|
|
985
|
-
type: PropType<string>;
|
|
986
|
-
default: string;
|
|
987
|
-
};
|
|
988
|
-
confirmText: {
|
|
989
|
-
type: PropType<string>;
|
|
990
|
-
default: string;
|
|
991
|
-
};
|
|
992
992
|
drawer: {
|
|
993
993
|
type: PropType<Partial< Mutable<DrawerProps> & {
|
|
994
994
|
style?: CSSProperties | undefined;
|
|
@@ -997,11 +997,11 @@ export declare function usePlusFormReset(visible: Ref<boolean>, options?: FormRe
|
|
|
997
997
|
default: () => {};
|
|
998
998
|
};
|
|
999
999
|
}>> & {
|
|
1000
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1001
1000
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1002
1001
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1003
|
-
onCancel?: (() => any) | undefined;
|
|
1004
1002
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1003
|
+
onCancel?: (() => any) | undefined;
|
|
1004
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1005
1005
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1006
1006
|
}, "formInstance" | "drawerInstance"> & ShallowUnwrapRef<{
|
|
1007
1007
|
drawerInstance: Ref<({
|
|
@@ -1037,41 +1037,41 @@ 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;
|
|
1041
1040
|
readonly title: string;
|
|
1042
|
-
readonly center: boolean;
|
|
1043
|
-
readonly resizable: boolean;
|
|
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>;
|
|
1045
|
-
readonly ariaLevel: string;
|
|
1046
|
-
readonly fullscreen: boolean;
|
|
1047
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
1048
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1049
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1050
1041
|
readonly appendToBody: boolean;
|
|
1042
|
+
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>;
|
|
1051
1043
|
readonly destroyOnClose: boolean;
|
|
1052
1044
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1045
|
+
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1053
1046
|
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1054
1047
|
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1055
1048
|
readonly modalPenetrable: boolean;
|
|
1056
1049
|
readonly openDelay: number;
|
|
1057
1050
|
readonly closeDelay: number;
|
|
1051
|
+
readonly modelValue: boolean;
|
|
1058
1052
|
readonly trapFocus: boolean;
|
|
1059
1053
|
readonly headerAriaLevel: string;
|
|
1054
|
+
readonly center: boolean;
|
|
1055
|
+
readonly fullscreen: boolean;
|
|
1056
|
+
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1057
|
+
readonly ariaLevel: string;
|
|
1058
|
+
readonly resizable: boolean;
|
|
1059
|
+
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
1060
1060
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1061
1061
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
1062
|
-
readonly top?: string | undefined;
|
|
1063
|
-
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
1064
1062
|
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
1065
|
-
readonly
|
|
1066
|
-
readonly
|
|
1067
|
-
readonly
|
|
1063
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
1064
|
+
readonly top?: string | undefined;
|
|
1065
|
+
readonly modalClass?: string | undefined;
|
|
1068
1066
|
readonly headerClass?: string | undefined;
|
|
1069
1067
|
readonly bodyClass?: string | undefined;
|
|
1070
1068
|
readonly footerClass?: string | undefined;
|
|
1071
|
-
readonly
|
|
1072
|
-
readonly
|
|
1069
|
+
readonly zIndex?: number | undefined;
|
|
1070
|
+
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
1073
1071
|
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1074
1072
|
readonly closeIcon?: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown> | undefined;
|
|
1073
|
+
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1074
|
+
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
1075
1075
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
1076
1076
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1077
1077
|
onClose?: (() => any) | undefined;
|
|
@@ -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" | "title" | "appendToBody" | "appendTo" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "modelValue" | "trapFocus" | "headerAriaLevel" | "transition" | "center" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "showClose" | "ariaLevel" | "resizable" | "direction" | "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: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "
|
|
1170
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "opened") => void) & ((event: "closed") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize", evt: MouseEvent, size: number) => 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,10 +1400,10 @@ 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" | "
|
|
1403
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "modelValue" | "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] | boolean[] |
|
|
1406
|
-
readonly hasLabel: boolean |
|
|
1405
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1406
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
1407
1407
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1408
1408
|
style?: CSSProperties | undefined;
|
|
1409
1409
|
class?: any;
|
|
@@ -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" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1432
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "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,8 +1474,8 @@ 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] | boolean[] |
|
|
1478
|
-
hasLabel: boolean |
|
|
1477
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1478
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
1479
1479
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1480
1480
|
style?: CSSProperties | undefined;
|
|
1481
1481
|
class?: any;
|
|
@@ -1550,29 +1550,25 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1550
1550
|
$: ComponentInternalInstance;
|
|
1551
1551
|
$data: {};
|
|
1552
1552
|
$props: Partial<{
|
|
1553
|
-
modelValue: FieldValues;
|
|
1554
1553
|
dialog: PlusDialogProps;
|
|
1555
1554
|
form: PlusFormProps;
|
|
1556
1555
|
visible: boolean;
|
|
1556
|
+
modelValue: FieldValues;
|
|
1557
1557
|
hasErrorTip: boolean;
|
|
1558
1558
|
}> & Omit<{
|
|
1559
|
-
readonly modelValue: FieldValues;
|
|
1560
1559
|
readonly dialog: PlusDialogProps;
|
|
1561
1560
|
readonly form: PlusFormProps;
|
|
1562
1561
|
readonly visible: boolean;
|
|
1562
|
+
readonly modelValue: FieldValues;
|
|
1563
1563
|
readonly hasErrorTip: boolean;
|
|
1564
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1565
1564
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1566
1565
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1567
|
-
onClose?: (() => any) | undefined;
|
|
1568
|
-
onCancel?: (() => any) | undefined;
|
|
1569
1566
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1567
|
+
onCancel?: (() => any) | undefined;
|
|
1568
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1569
|
+
onClose?: (() => 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
|
-
};
|
|
1576
1572
|
dialog: {
|
|
1577
1573
|
type: PropType<PlusDialogProps>;
|
|
1578
1574
|
default: () => {};
|
|
@@ -1585,19 +1581,23 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1585
1581
|
type: PropType<boolean>;
|
|
1586
1582
|
default: boolean;
|
|
1587
1583
|
};
|
|
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;
|
|
1594
1593
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1595
1594
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1596
|
-
onClose?: (() => any) | undefined;
|
|
1597
|
-
onCancel?: (() => any) | undefined;
|
|
1598
1595
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1596
|
+
onCancel?: (() => any) | undefined;
|
|
1597
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1598
|
+
onClose?: (() => any) | undefined;
|
|
1599
1599
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1600
|
-
}, "
|
|
1600
|
+
}, "dialog" | "form" | "visible" | "modelValue" | "hasErrorTip">;
|
|
1601
1601
|
$attrs: {
|
|
1602
1602
|
[x: string]: unknown;
|
|
1603
1603
|
};
|
|
@@ -1609,13 +1609,9 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1609
1609
|
}>;
|
|
1610
1610
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1611
1611
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1612
|
-
$emit: ((event: "update:
|
|
1612
|
+
$emit: ((event: "update:visible", visible: boolean) => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "cancel") => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "close") => void) & ((event: "change", values: FieldValues, column: PlusColumn) => 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
|
-
};
|
|
1619
1615
|
dialog: {
|
|
1620
1616
|
type: PropType<PlusDialogProps>;
|
|
1621
1617
|
default: () => {};
|
|
@@ -1628,17 +1624,21 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1628
1624
|
type: PropType<boolean>;
|
|
1629
1625
|
default: boolean;
|
|
1630
1626
|
};
|
|
1631
|
-
|
|
1632
|
-
type: PropType<
|
|
1627
|
+
modelValue: {
|
|
1628
|
+
type: PropType<FieldValues>;
|
|
1629
|
+
default: () => {};
|
|
1630
|
+
};
|
|
1631
|
+
hasErrorTip: {
|
|
1632
|
+
type: PropType<boolean>;
|
|
1633
1633
|
default: boolean;
|
|
1634
1634
|
};
|
|
1635
1635
|
}>> & {
|
|
1636
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1637
1636
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1638
1637
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1639
|
-
onClose?: (() => any) | undefined;
|
|
1640
|
-
onCancel?: (() => any) | undefined;
|
|
1641
1638
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1639
|
+
onCancel?: (() => any) | undefined;
|
|
1640
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1641
|
+
onClose?: (() => any) | undefined;
|
|
1642
1642
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1643
1643
|
}, {
|
|
1644
1644
|
handleConfirm: () => void;
|
|
@@ -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;
|
|
1657
1656
|
dialog: PlusDialogProps;
|
|
1658
1657
|
form: PlusFormProps;
|
|
1659
1658
|
visible: boolean;
|
|
1659
|
+
modelValue: FieldValues;
|
|
1660
1660
|
hasErrorTip: boolean;
|
|
1661
1661
|
}, {}, string, {}> & {
|
|
1662
1662
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -1679,10 +1679,6 @@ 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
|
-
};
|
|
1686
1682
|
dialog: {
|
|
1687
1683
|
type: PropType<PlusDialogProps>;
|
|
1688
1684
|
default: () => {};
|
|
@@ -1695,28 +1691,32 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1695
1691
|
type: PropType<boolean>;
|
|
1696
1692
|
default: boolean;
|
|
1697
1693
|
};
|
|
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;
|
|
1704
1703
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1705
1704
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1706
|
-
onClose?: (() => any) | undefined;
|
|
1707
|
-
onCancel?: (() => any) | undefined;
|
|
1708
1705
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1706
|
+
onCancel?: (() => any) | undefined;
|
|
1707
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1708
|
+
onClose?: (() => any) | undefined;
|
|
1709
1709
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1710
|
-
}, "
|
|
1710
|
+
}, "handleConfirm" | "handleCancel" | "formInstance"> & ShallowUnwrapRef<{
|
|
1711
1711
|
handleConfirm: () => void;
|
|
1712
1712
|
handleCancel: () => void;
|
|
1713
1713
|
formInstance: ComputedRef<FormInstance>;
|
|
1714
1714
|
}> & {} & ComponentCustomProperties & {} & {
|
|
1715
1715
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
1716
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
1716
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "modelValue" | "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] | boolean[] |
|
|
1719
|
-
readonly hasLabel: boolean |
|
|
1718
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1719
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
1720
1720
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1721
1721
|
style?: CSSProperties | undefined;
|
|
1722
1722
|
class?: any;
|
|
@@ -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" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
1745
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "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,8 +1787,8 @@ 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] | boolean[] |
|
|
1791
|
-
hasLabel: boolean |
|
|
1790
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1791
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
1792
1792
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
1793
1793
|
style?: CSSProperties | undefined;
|
|
1794
1794
|
class?: any;
|
|
@@ -1842,47 +1842,43 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1842
1842
|
$data: {};
|
|
1843
1843
|
$props: Partial<{
|
|
1844
1844
|
size: string | number;
|
|
1845
|
-
modelValue: FieldValues;
|
|
1846
1845
|
form: PlusFormProps;
|
|
1847
1846
|
visible: boolean;
|
|
1847
|
+
confirmText: string;
|
|
1848
|
+
cancelText: string;
|
|
1849
|
+
modelValue: FieldValues;
|
|
1848
1850
|
hasErrorTip: boolean;
|
|
1849
1851
|
hasFooter: boolean;
|
|
1850
1852
|
confirmLoading: boolean;
|
|
1851
|
-
cancelText: string;
|
|
1852
|
-
confirmText: string;
|
|
1853
1853
|
drawer: Partial< Mutable<DrawerProps> & {
|
|
1854
1854
|
style?: CSSProperties | undefined;
|
|
1855
1855
|
class?: any;
|
|
1856
1856
|
} & RecordType>;
|
|
1857
1857
|
}> & Omit<{
|
|
1858
1858
|
readonly size: string | number;
|
|
1859
|
-
readonly modelValue: FieldValues;
|
|
1860
1859
|
readonly form: PlusFormProps;
|
|
1861
1860
|
readonly visible: boolean;
|
|
1861
|
+
readonly confirmText: string;
|
|
1862
|
+
readonly cancelText: string;
|
|
1863
|
+
readonly modelValue: FieldValues;
|
|
1862
1864
|
readonly hasErrorTip: boolean;
|
|
1863
1865
|
readonly hasFooter: boolean;
|
|
1864
1866
|
readonly confirmLoading: boolean;
|
|
1865
|
-
readonly cancelText: string;
|
|
1866
|
-
readonly confirmText: string;
|
|
1867
1867
|
readonly drawer: Partial< Mutable<DrawerProps> & {
|
|
1868
1868
|
style?: CSSProperties | undefined;
|
|
1869
1869
|
class?: any;
|
|
1870
1870
|
} & RecordType>;
|
|
1871
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1872
1871
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1873
1872
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1874
|
-
onCancel?: (() => any) | undefined;
|
|
1875
1873
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1874
|
+
onCancel?: (() => any) | undefined;
|
|
1875
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1876
1876
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1877
1877
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
1878
1878
|
size: {
|
|
1879
1879
|
type: PropType<string | number>;
|
|
1880
1880
|
default: string;
|
|
1881
1881
|
};
|
|
1882
|
-
modelValue: {
|
|
1883
|
-
type: PropType<FieldValues>;
|
|
1884
|
-
default: () => {};
|
|
1885
|
-
};
|
|
1886
1882
|
form: {
|
|
1887
1883
|
type: PropType<PlusFormProps>;
|
|
1888
1884
|
default: () => {};
|
|
@@ -1891,6 +1887,18 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1891
1887
|
type: PropType<boolean>;
|
|
1892
1888
|
default: boolean;
|
|
1893
1889
|
};
|
|
1890
|
+
confirmText: {
|
|
1891
|
+
type: PropType<string>;
|
|
1892
|
+
default: string;
|
|
1893
|
+
};
|
|
1894
|
+
cancelText: {
|
|
1895
|
+
type: PropType<string>;
|
|
1896
|
+
default: string;
|
|
1897
|
+
};
|
|
1898
|
+
modelValue: {
|
|
1899
|
+
type: PropType<FieldValues>;
|
|
1900
|
+
default: () => {};
|
|
1901
|
+
};
|
|
1894
1902
|
hasErrorTip: {
|
|
1895
1903
|
type: PropType<boolean>;
|
|
1896
1904
|
default: boolean;
|
|
@@ -1903,14 +1911,6 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1903
1911
|
type: PropType<boolean>;
|
|
1904
1912
|
default: boolean;
|
|
1905
1913
|
};
|
|
1906
|
-
cancelText: {
|
|
1907
|
-
type: PropType<string>;
|
|
1908
|
-
default: string;
|
|
1909
|
-
};
|
|
1910
|
-
confirmText: {
|
|
1911
|
-
type: PropType<string>;
|
|
1912
|
-
default: string;
|
|
1913
|
-
};
|
|
1914
1914
|
drawer: {
|
|
1915
1915
|
type: PropType<Partial< Mutable<DrawerProps> & {
|
|
1916
1916
|
style?: CSSProperties | undefined;
|
|
@@ -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;
|
|
1923
1922
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1924
1923
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1925
|
-
onCancel?: (() => any) | undefined;
|
|
1926
1924
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1925
|
+
onCancel?: (() => any) | undefined;
|
|
1926
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1927
1927
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1928
|
-
}, "size" | "
|
|
1928
|
+
}, "size" | "form" | "visible" | "confirmText" | "cancelText" | "modelValue" | "hasErrorTip" | "hasFooter" | "confirmLoading" | "drawer">;
|
|
1929
1929
|
$attrs: {
|
|
1930
1930
|
[x: string]: unknown;
|
|
1931
1931
|
};
|
|
@@ -1937,17 +1937,13 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1937
1937
|
}>;
|
|
1938
1938
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1939
1939
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
1940
|
-
$emit: ((event: "update:
|
|
1940
|
+
$emit: ((event: "update:visible", visible: boolean) => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "cancel") => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
1941
1941
|
$el: any;
|
|
1942
1942
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
1943
1943
|
size: {
|
|
1944
1944
|
type: PropType<string | number>;
|
|
1945
1945
|
default: string;
|
|
1946
1946
|
};
|
|
1947
|
-
modelValue: {
|
|
1948
|
-
type: PropType<FieldValues>;
|
|
1949
|
-
default: () => {};
|
|
1950
|
-
};
|
|
1951
1947
|
form: {
|
|
1952
1948
|
type: PropType<PlusFormProps>;
|
|
1953
1949
|
default: () => {};
|
|
@@ -1956,6 +1952,18 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1956
1952
|
type: PropType<boolean>;
|
|
1957
1953
|
default: boolean;
|
|
1958
1954
|
};
|
|
1955
|
+
confirmText: {
|
|
1956
|
+
type: PropType<string>;
|
|
1957
|
+
default: string;
|
|
1958
|
+
};
|
|
1959
|
+
cancelText: {
|
|
1960
|
+
type: PropType<string>;
|
|
1961
|
+
default: string;
|
|
1962
|
+
};
|
|
1963
|
+
modelValue: {
|
|
1964
|
+
type: PropType<FieldValues>;
|
|
1965
|
+
default: () => {};
|
|
1966
|
+
};
|
|
1959
1967
|
hasErrorTip: {
|
|
1960
1968
|
type: PropType<boolean>;
|
|
1961
1969
|
default: boolean;
|
|
@@ -1968,14 +1976,6 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1968
1976
|
type: PropType<boolean>;
|
|
1969
1977
|
default: boolean;
|
|
1970
1978
|
};
|
|
1971
|
-
cancelText: {
|
|
1972
|
-
type: PropType<string>;
|
|
1973
|
-
default: string;
|
|
1974
|
-
};
|
|
1975
|
-
confirmText: {
|
|
1976
|
-
type: PropType<string>;
|
|
1977
|
-
default: string;
|
|
1978
|
-
};
|
|
1979
1979
|
drawer: {
|
|
1980
1980
|
type: PropType<Partial< Mutable<DrawerProps> & {
|
|
1981
1981
|
style?: CSSProperties | undefined;
|
|
@@ -1984,11 +1984,11 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
1984
1984
|
default: () => {};
|
|
1985
1985
|
};
|
|
1986
1986
|
}>> & {
|
|
1987
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1988
1987
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1989
1988
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
1990
|
-
onCancel?: (() => any) | undefined;
|
|
1991
1989
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
1990
|
+
onCancel?: (() => any) | undefined;
|
|
1991
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1992
1992
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
1993
1993
|
}, {
|
|
1994
1994
|
drawerInstance: Ref<({
|
|
@@ -2024,41 +2024,41 @@ 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;
|
|
2028
2027
|
readonly title: string;
|
|
2029
|
-
readonly center: boolean;
|
|
2030
|
-
readonly resizable: boolean;
|
|
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>;
|
|
2032
|
-
readonly ariaLevel: string;
|
|
2033
|
-
readonly fullscreen: boolean;
|
|
2034
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
2035
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2036
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2037
2028
|
readonly appendToBody: boolean;
|
|
2029
|
+
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>;
|
|
2038
2030
|
readonly destroyOnClose: boolean;
|
|
2039
2031
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2032
|
+
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2040
2033
|
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2041
2034
|
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2042
2035
|
readonly modalPenetrable: boolean;
|
|
2043
2036
|
readonly openDelay: number;
|
|
2044
2037
|
readonly closeDelay: number;
|
|
2038
|
+
readonly modelValue: boolean;
|
|
2045
2039
|
readonly trapFocus: boolean;
|
|
2046
2040
|
readonly headerAriaLevel: string;
|
|
2041
|
+
readonly center: boolean;
|
|
2042
|
+
readonly fullscreen: boolean;
|
|
2043
|
+
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2044
|
+
readonly ariaLevel: string;
|
|
2045
|
+
readonly resizable: boolean;
|
|
2046
|
+
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
2047
2047
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2048
2048
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2049
|
-
readonly top?: string | undefined;
|
|
2050
|
-
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
2051
2049
|
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
2052
|
-
readonly
|
|
2053
|
-
readonly
|
|
2054
|
-
readonly
|
|
2050
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
2051
|
+
readonly top?: string | undefined;
|
|
2052
|
+
readonly modalClass?: string | undefined;
|
|
2055
2053
|
readonly headerClass?: string | undefined;
|
|
2056
2054
|
readonly bodyClass?: string | undefined;
|
|
2057
2055
|
readonly footerClass?: string | undefined;
|
|
2058
|
-
readonly
|
|
2059
|
-
readonly
|
|
2056
|
+
readonly zIndex?: number | undefined;
|
|
2057
|
+
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
2060
2058
|
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2061
2059
|
readonly closeIcon?: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown> | undefined;
|
|
2060
|
+
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2061
|
+
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2062
2062
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
2063
2063
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
2064
2064
|
onClose?: (() => any) | undefined;
|
|
@@ -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" | "title" | "appendToBody" | "appendTo" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "modelValue" | "trapFocus" | "headerAriaLevel" | "transition" | "center" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "showClose" | "ariaLevel" | "resizable" | "direction" | "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: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "
|
|
2157
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "opened") => void) & ((event: "closed") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize", evt: MouseEvent, size: number) => 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,14 +2394,14 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2394
2394
|
confirmError: (errors: unknown) => void;
|
|
2395
2395
|
}, string, {
|
|
2396
2396
|
size: string | number;
|
|
2397
|
-
modelValue: FieldValues;
|
|
2398
2397
|
form: PlusFormProps;
|
|
2399
2398
|
visible: boolean;
|
|
2399
|
+
confirmText: string;
|
|
2400
|
+
cancelText: string;
|
|
2401
|
+
modelValue: FieldValues;
|
|
2400
2402
|
hasErrorTip: boolean;
|
|
2401
2403
|
hasFooter: boolean;
|
|
2402
2404
|
confirmLoading: boolean;
|
|
2403
|
-
cancelText: string;
|
|
2404
|
-
confirmText: string;
|
|
2405
2405
|
drawer: Partial< Mutable<DrawerProps> & {
|
|
2406
2406
|
style?: CSSProperties | undefined;
|
|
2407
2407
|
class?: any;
|
|
@@ -2431,10 +2431,6 @@ 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
|
-
};
|
|
2438
2434
|
form: {
|
|
2439
2435
|
type: PropType<PlusFormProps>;
|
|
2440
2436
|
default: () => {};
|
|
@@ -2443,6 +2439,18 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2443
2439
|
type: PropType<boolean>;
|
|
2444
2440
|
default: boolean;
|
|
2445
2441
|
};
|
|
2442
|
+
confirmText: {
|
|
2443
|
+
type: PropType<string>;
|
|
2444
|
+
default: string;
|
|
2445
|
+
};
|
|
2446
|
+
cancelText: {
|
|
2447
|
+
type: PropType<string>;
|
|
2448
|
+
default: string;
|
|
2449
|
+
};
|
|
2450
|
+
modelValue: {
|
|
2451
|
+
type: PropType<FieldValues>;
|
|
2452
|
+
default: () => {};
|
|
2453
|
+
};
|
|
2446
2454
|
hasErrorTip: {
|
|
2447
2455
|
type: PropType<boolean>;
|
|
2448
2456
|
default: boolean;
|
|
@@ -2455,14 +2463,6 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2455
2463
|
type: PropType<boolean>;
|
|
2456
2464
|
default: boolean;
|
|
2457
2465
|
};
|
|
2458
|
-
cancelText: {
|
|
2459
|
-
type: PropType<string>;
|
|
2460
|
-
default: string;
|
|
2461
|
-
};
|
|
2462
|
-
confirmText: {
|
|
2463
|
-
type: PropType<string>;
|
|
2464
|
-
default: string;
|
|
2465
|
-
};
|
|
2466
2466
|
drawer: {
|
|
2467
2467
|
type: PropType<Partial< Mutable<DrawerProps> & {
|
|
2468
2468
|
style?: CSSProperties | undefined;
|
|
@@ -2471,11 +2471,11 @@ export declare function usePlusFormClearValidate(visible: Ref<boolean>): {
|
|
|
2471
2471
|
default: () => {};
|
|
2472
2472
|
};
|
|
2473
2473
|
}>> & {
|
|
2474
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2475
2474
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2476
2475
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
2477
|
-
onCancel?: (() => any) | undefined;
|
|
2478
2476
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
2477
|
+
onCancel?: (() => any) | undefined;
|
|
2478
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2479
2479
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
2480
2480
|
}, "formInstance" | "drawerInstance"> & ShallowUnwrapRef<{
|
|
2481
2481
|
drawerInstance: Ref<({
|
|
@@ -2511,41 +2511,41 @@ 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;
|
|
2515
2514
|
readonly title: string;
|
|
2516
|
-
readonly center: boolean;
|
|
2517
|
-
readonly resizable: boolean;
|
|
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>;
|
|
2519
|
-
readonly ariaLevel: string;
|
|
2520
|
-
readonly fullscreen: boolean;
|
|
2521
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
2522
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2523
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2524
2515
|
readonly appendToBody: boolean;
|
|
2516
|
+
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>;
|
|
2525
2517
|
readonly destroyOnClose: boolean;
|
|
2526
2518
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2519
|
+
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2527
2520
|
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2528
2521
|
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2529
2522
|
readonly modalPenetrable: boolean;
|
|
2530
2523
|
readonly openDelay: number;
|
|
2531
2524
|
readonly closeDelay: number;
|
|
2525
|
+
readonly modelValue: boolean;
|
|
2532
2526
|
readonly trapFocus: boolean;
|
|
2533
2527
|
readonly headerAriaLevel: string;
|
|
2528
|
+
readonly center: boolean;
|
|
2529
|
+
readonly fullscreen: boolean;
|
|
2530
|
+
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2531
|
+
readonly ariaLevel: string;
|
|
2532
|
+
readonly resizable: boolean;
|
|
2533
|
+
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
2534
2534
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2535
2535
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
2536
|
-
readonly top?: string | undefined;
|
|
2537
|
-
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
2538
2536
|
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
2539
|
-
readonly
|
|
2540
|
-
readonly
|
|
2541
|
-
readonly
|
|
2537
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
2538
|
+
readonly top?: string | undefined;
|
|
2539
|
+
readonly modalClass?: string | undefined;
|
|
2542
2540
|
readonly headerClass?: string | undefined;
|
|
2543
2541
|
readonly bodyClass?: string | undefined;
|
|
2544
2542
|
readonly footerClass?: string | undefined;
|
|
2545
|
-
readonly
|
|
2546
|
-
readonly
|
|
2543
|
+
readonly zIndex?: number | undefined;
|
|
2544
|
+
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
2547
2545
|
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2548
2546
|
readonly closeIcon?: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown> | undefined;
|
|
2547
|
+
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2548
|
+
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
2549
2549
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
2550
2550
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
2551
2551
|
onClose?: (() => any) | undefined;
|
|
@@ -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" | "title" | "appendToBody" | "appendTo" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "modelValue" | "trapFocus" | "headerAriaLevel" | "transition" | "center" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "showClose" | "ariaLevel" | "resizable" | "direction" | "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: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "
|
|
2644
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "opened") => void) & ((event: "closed") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize", evt: MouseEvent, size: number) => 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,10 +2874,10 @@ 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" | "
|
|
2877
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "modelValue" | "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] | boolean[] |
|
|
2880
|
-
readonly hasLabel: boolean |
|
|
2879
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2880
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
2881
2881
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2882
2882
|
style?: CSSProperties | undefined;
|
|
2883
2883
|
class?: any;
|
|
@@ -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" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
2906
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "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,8 +2948,8 @@ 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] | boolean[] |
|
|
2952
|
-
hasLabel: boolean |
|
|
2951
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2952
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
2953
2953
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
2954
2954
|
style?: CSSProperties | undefined;
|
|
2955
2955
|
class?: any;
|
|
@@ -3026,29 +3026,25 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3026
3026
|
$: ComponentInternalInstance;
|
|
3027
3027
|
$data: {};
|
|
3028
3028
|
$props: Partial<{
|
|
3029
|
-
modelValue: FieldValues;
|
|
3030
3029
|
dialog: PlusDialogProps;
|
|
3031
3030
|
form: PlusFormProps;
|
|
3032
3031
|
visible: boolean;
|
|
3032
|
+
modelValue: FieldValues;
|
|
3033
3033
|
hasErrorTip: boolean;
|
|
3034
3034
|
}> & Omit<{
|
|
3035
|
-
readonly modelValue: FieldValues;
|
|
3036
3035
|
readonly dialog: PlusDialogProps;
|
|
3037
3036
|
readonly form: PlusFormProps;
|
|
3038
3037
|
readonly visible: boolean;
|
|
3038
|
+
readonly modelValue: FieldValues;
|
|
3039
3039
|
readonly hasErrorTip: boolean;
|
|
3040
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3041
3040
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3042
3041
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3043
|
-
onClose?: (() => any) | undefined;
|
|
3044
|
-
onCancel?: (() => any) | undefined;
|
|
3045
3042
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3043
|
+
onCancel?: (() => any) | undefined;
|
|
3044
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3045
|
+
onClose?: (() => 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
|
-
};
|
|
3052
3048
|
dialog: {
|
|
3053
3049
|
type: PropType<PlusDialogProps>;
|
|
3054
3050
|
default: () => {};
|
|
@@ -3061,19 +3057,23 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3061
3057
|
type: PropType<boolean>;
|
|
3062
3058
|
default: boolean;
|
|
3063
3059
|
};
|
|
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;
|
|
3070
3069
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3071
3070
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3072
|
-
onClose?: (() => any) | undefined;
|
|
3073
|
-
onCancel?: (() => any) | undefined;
|
|
3074
3071
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3072
|
+
onCancel?: (() => any) | undefined;
|
|
3073
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3074
|
+
onClose?: (() => any) | undefined;
|
|
3075
3075
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3076
|
-
}, "
|
|
3076
|
+
}, "dialog" | "form" | "visible" | "modelValue" | "hasErrorTip">;
|
|
3077
3077
|
$attrs: {
|
|
3078
3078
|
[x: string]: unknown;
|
|
3079
3079
|
};
|
|
@@ -3085,13 +3085,9 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3085
3085
|
}>;
|
|
3086
3086
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3087
3087
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3088
|
-
$emit: ((event: "update:
|
|
3088
|
+
$emit: ((event: "update:visible", visible: boolean) => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "cancel") => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "close") => void) & ((event: "change", values: FieldValues, column: PlusColumn) => 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
|
-
};
|
|
3095
3091
|
dialog: {
|
|
3096
3092
|
type: PropType<PlusDialogProps>;
|
|
3097
3093
|
default: () => {};
|
|
@@ -3104,17 +3100,21 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3104
3100
|
type: PropType<boolean>;
|
|
3105
3101
|
default: boolean;
|
|
3106
3102
|
};
|
|
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;
|
|
3113
3112
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3114
3113
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3115
|
-
onClose?: (() => any) | undefined;
|
|
3116
|
-
onCancel?: (() => any) | undefined;
|
|
3117
3114
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3115
|
+
onCancel?: (() => any) | undefined;
|
|
3116
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3117
|
+
onClose?: (() => any) | undefined;
|
|
3118
3118
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3119
3119
|
}, {
|
|
3120
3120
|
handleConfirm: () => void;
|
|
@@ -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;
|
|
3133
3132
|
dialog: PlusDialogProps;
|
|
3134
3133
|
form: PlusFormProps;
|
|
3135
3134
|
visible: boolean;
|
|
3135
|
+
modelValue: FieldValues;
|
|
3136
3136
|
hasErrorTip: boolean;
|
|
3137
3137
|
}, {}, string, {}> & {
|
|
3138
3138
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -3155,10 +3155,6 @@ 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
|
-
};
|
|
3162
3158
|
dialog: {
|
|
3163
3159
|
type: PropType<PlusDialogProps>;
|
|
3164
3160
|
default: () => {};
|
|
@@ -3171,28 +3167,32 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3171
3167
|
type: PropType<boolean>;
|
|
3172
3168
|
default: boolean;
|
|
3173
3169
|
};
|
|
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;
|
|
3180
3179
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3181
3180
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3182
|
-
onClose?: (() => any) | undefined;
|
|
3183
|
-
onCancel?: (() => any) | undefined;
|
|
3184
3181
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3182
|
+
onCancel?: (() => any) | undefined;
|
|
3183
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3184
|
+
onClose?: (() => any) | undefined;
|
|
3185
3185
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3186
|
-
}, "
|
|
3186
|
+
}, "handleConfirm" | "handleCancel" | "formInstance"> & ShallowUnwrapRef<{
|
|
3187
3187
|
handleConfirm: () => void;
|
|
3188
3188
|
handleCancel: () => void;
|
|
3189
3189
|
formInstance: ComputedRef<FormInstance>;
|
|
3190
3190
|
}> & {} & ComponentCustomProperties & {} & {
|
|
3191
3191
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
3192
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "
|
|
3192
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "modelValue" | "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] | boolean[] |
|
|
3195
|
-
readonly hasLabel: boolean |
|
|
3194
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3195
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
3196
3196
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
3197
3197
|
style?: CSSProperties | undefined;
|
|
3198
3198
|
class?: any;
|
|
@@ -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" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
3221
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "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,8 +3263,8 @@ 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] | boolean[] |
|
|
3267
|
-
hasLabel: boolean |
|
|
3266
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
3267
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
3268
3268
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
3269
3269
|
style?: CSSProperties | undefined;
|
|
3270
3270
|
class?: any;
|
|
@@ -3318,47 +3318,43 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3318
3318
|
$data: {};
|
|
3319
3319
|
$props: Partial<{
|
|
3320
3320
|
size: string | number;
|
|
3321
|
-
modelValue: FieldValues;
|
|
3322
3321
|
form: PlusFormProps;
|
|
3323
3322
|
visible: boolean;
|
|
3323
|
+
confirmText: string;
|
|
3324
|
+
cancelText: string;
|
|
3325
|
+
modelValue: FieldValues;
|
|
3324
3326
|
hasErrorTip: boolean;
|
|
3325
3327
|
hasFooter: boolean;
|
|
3326
3328
|
confirmLoading: boolean;
|
|
3327
|
-
cancelText: string;
|
|
3328
|
-
confirmText: string;
|
|
3329
3329
|
drawer: Partial< Mutable<DrawerProps> & {
|
|
3330
3330
|
style?: CSSProperties | undefined;
|
|
3331
3331
|
class?: any;
|
|
3332
3332
|
} & RecordType>;
|
|
3333
3333
|
}> & Omit<{
|
|
3334
3334
|
readonly size: string | number;
|
|
3335
|
-
readonly modelValue: FieldValues;
|
|
3336
3335
|
readonly form: PlusFormProps;
|
|
3337
3336
|
readonly visible: boolean;
|
|
3337
|
+
readonly confirmText: string;
|
|
3338
|
+
readonly cancelText: string;
|
|
3339
|
+
readonly modelValue: FieldValues;
|
|
3338
3340
|
readonly hasErrorTip: boolean;
|
|
3339
3341
|
readonly hasFooter: boolean;
|
|
3340
3342
|
readonly confirmLoading: boolean;
|
|
3341
|
-
readonly cancelText: string;
|
|
3342
|
-
readonly confirmText: string;
|
|
3343
3343
|
readonly drawer: Partial< Mutable<DrawerProps> & {
|
|
3344
3344
|
style?: CSSProperties | undefined;
|
|
3345
3345
|
class?: any;
|
|
3346
3346
|
} & RecordType>;
|
|
3347
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3348
3347
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3349
3348
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3350
|
-
onCancel?: (() => any) | undefined;
|
|
3351
3349
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3350
|
+
onCancel?: (() => any) | undefined;
|
|
3351
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3352
3352
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3353
3353
|
} & VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
3354
3354
|
size: {
|
|
3355
3355
|
type: PropType<string | number>;
|
|
3356
3356
|
default: string;
|
|
3357
3357
|
};
|
|
3358
|
-
modelValue: {
|
|
3359
|
-
type: PropType<FieldValues>;
|
|
3360
|
-
default: () => {};
|
|
3361
|
-
};
|
|
3362
3358
|
form: {
|
|
3363
3359
|
type: PropType<PlusFormProps>;
|
|
3364
3360
|
default: () => {};
|
|
@@ -3367,6 +3363,18 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3367
3363
|
type: PropType<boolean>;
|
|
3368
3364
|
default: boolean;
|
|
3369
3365
|
};
|
|
3366
|
+
confirmText: {
|
|
3367
|
+
type: PropType<string>;
|
|
3368
|
+
default: string;
|
|
3369
|
+
};
|
|
3370
|
+
cancelText: {
|
|
3371
|
+
type: PropType<string>;
|
|
3372
|
+
default: string;
|
|
3373
|
+
};
|
|
3374
|
+
modelValue: {
|
|
3375
|
+
type: PropType<FieldValues>;
|
|
3376
|
+
default: () => {};
|
|
3377
|
+
};
|
|
3370
3378
|
hasErrorTip: {
|
|
3371
3379
|
type: PropType<boolean>;
|
|
3372
3380
|
default: boolean;
|
|
@@ -3379,14 +3387,6 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3379
3387
|
type: PropType<boolean>;
|
|
3380
3388
|
default: boolean;
|
|
3381
3389
|
};
|
|
3382
|
-
cancelText: {
|
|
3383
|
-
type: PropType<string>;
|
|
3384
|
-
default: string;
|
|
3385
|
-
};
|
|
3386
|
-
confirmText: {
|
|
3387
|
-
type: PropType<string>;
|
|
3388
|
-
default: string;
|
|
3389
|
-
};
|
|
3390
3390
|
drawer: {
|
|
3391
3391
|
type: PropType<Partial< Mutable<DrawerProps> & {
|
|
3392
3392
|
style?: CSSProperties | undefined;
|
|
@@ -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;
|
|
3399
3398
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3400
3399
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3401
|
-
onCancel?: (() => any) | undefined;
|
|
3402
3400
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3401
|
+
onCancel?: (() => any) | undefined;
|
|
3402
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3403
3403
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3404
|
-
}, "size" | "
|
|
3404
|
+
}, "size" | "form" | "visible" | "confirmText" | "cancelText" | "modelValue" | "hasErrorTip" | "hasFooter" | "confirmLoading" | "drawer">;
|
|
3405
3405
|
$attrs: {
|
|
3406
3406
|
[x: string]: unknown;
|
|
3407
3407
|
};
|
|
@@ -3413,17 +3413,13 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3413
3413
|
}>;
|
|
3414
3414
|
$root: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3415
3415
|
$parent: ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
3416
|
-
$emit: ((event: "update:
|
|
3416
|
+
$emit: ((event: "update:visible", visible: boolean) => void) & ((event: "confirm", values: FieldValues) => void) & ((event: "cancel") => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "confirmError", errors: unknown) => void);
|
|
3417
3417
|
$el: any;
|
|
3418
3418
|
$options: ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
3419
3419
|
size: {
|
|
3420
3420
|
type: PropType<string | number>;
|
|
3421
3421
|
default: string;
|
|
3422
3422
|
};
|
|
3423
|
-
modelValue: {
|
|
3424
|
-
type: PropType<FieldValues>;
|
|
3425
|
-
default: () => {};
|
|
3426
|
-
};
|
|
3427
3423
|
form: {
|
|
3428
3424
|
type: PropType<PlusFormProps>;
|
|
3429
3425
|
default: () => {};
|
|
@@ -3432,6 +3428,18 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3432
3428
|
type: PropType<boolean>;
|
|
3433
3429
|
default: boolean;
|
|
3434
3430
|
};
|
|
3431
|
+
confirmText: {
|
|
3432
|
+
type: PropType<string>;
|
|
3433
|
+
default: string;
|
|
3434
|
+
};
|
|
3435
|
+
cancelText: {
|
|
3436
|
+
type: PropType<string>;
|
|
3437
|
+
default: string;
|
|
3438
|
+
};
|
|
3439
|
+
modelValue: {
|
|
3440
|
+
type: PropType<FieldValues>;
|
|
3441
|
+
default: () => {};
|
|
3442
|
+
};
|
|
3435
3443
|
hasErrorTip: {
|
|
3436
3444
|
type: PropType<boolean>;
|
|
3437
3445
|
default: boolean;
|
|
@@ -3444,14 +3452,6 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3444
3452
|
type: PropType<boolean>;
|
|
3445
3453
|
default: boolean;
|
|
3446
3454
|
};
|
|
3447
|
-
cancelText: {
|
|
3448
|
-
type: PropType<string>;
|
|
3449
|
-
default: string;
|
|
3450
|
-
};
|
|
3451
|
-
confirmText: {
|
|
3452
|
-
type: PropType<string>;
|
|
3453
|
-
default: string;
|
|
3454
|
-
};
|
|
3455
3455
|
drawer: {
|
|
3456
3456
|
type: PropType<Partial< Mutable<DrawerProps> & {
|
|
3457
3457
|
style?: CSSProperties | undefined;
|
|
@@ -3460,11 +3460,11 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3460
3460
|
default: () => {};
|
|
3461
3461
|
};
|
|
3462
3462
|
}>> & {
|
|
3463
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3464
3463
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3465
3464
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3466
|
-
onCancel?: (() => any) | undefined;
|
|
3467
3465
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3466
|
+
onCancel?: (() => any) | undefined;
|
|
3467
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3468
3468
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3469
3469
|
}, {
|
|
3470
3470
|
drawerInstance: Ref<({
|
|
@@ -3500,41 +3500,41 @@ 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;
|
|
3504
3503
|
readonly title: string;
|
|
3505
|
-
readonly center: boolean;
|
|
3506
|
-
readonly resizable: boolean;
|
|
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>;
|
|
3508
|
-
readonly ariaLevel: string;
|
|
3509
|
-
readonly fullscreen: boolean;
|
|
3510
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
3511
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3512
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3513
3504
|
readonly appendToBody: boolean;
|
|
3505
|
+
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>;
|
|
3514
3506
|
readonly destroyOnClose: boolean;
|
|
3515
3507
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3508
|
+
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3516
3509
|
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3517
3510
|
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3518
3511
|
readonly modalPenetrable: boolean;
|
|
3519
3512
|
readonly openDelay: number;
|
|
3520
3513
|
readonly closeDelay: number;
|
|
3514
|
+
readonly modelValue: boolean;
|
|
3521
3515
|
readonly trapFocus: boolean;
|
|
3522
3516
|
readonly headerAriaLevel: string;
|
|
3517
|
+
readonly center: boolean;
|
|
3518
|
+
readonly fullscreen: boolean;
|
|
3519
|
+
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3520
|
+
readonly ariaLevel: string;
|
|
3521
|
+
readonly resizable: boolean;
|
|
3522
|
+
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
3523
3523
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3524
3524
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3525
|
-
readonly top?: string | undefined;
|
|
3526
|
-
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
3527
3525
|
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
3528
|
-
readonly
|
|
3529
|
-
readonly
|
|
3530
|
-
readonly
|
|
3526
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
3527
|
+
readonly top?: string | undefined;
|
|
3528
|
+
readonly modalClass?: string | undefined;
|
|
3531
3529
|
readonly headerClass?: string | undefined;
|
|
3532
3530
|
readonly bodyClass?: string | undefined;
|
|
3533
3531
|
readonly footerClass?: string | undefined;
|
|
3534
|
-
readonly
|
|
3535
|
-
readonly
|
|
3532
|
+
readonly zIndex?: number | undefined;
|
|
3533
|
+
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
3536
3534
|
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
3537
3535
|
readonly closeIcon?: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown> | undefined;
|
|
3536
|
+
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
3537
|
+
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
3538
3538
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
3539
3539
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
3540
3540
|
onClose?: (() => any) | undefined;
|
|
@@ -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" | "title" | "appendToBody" | "appendTo" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "modelValue" | "trapFocus" | "headerAriaLevel" | "transition" | "center" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "showClose" | "ariaLevel" | "resizable" | "direction" | "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: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "
|
|
3633
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "opened") => void) & ((event: "closed") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize", evt: MouseEvent, size: number) => 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,14 +3870,14 @@ 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;
|
|
3874
3873
|
form: PlusFormProps;
|
|
3875
3874
|
visible: boolean;
|
|
3875
|
+
confirmText: string;
|
|
3876
|
+
cancelText: string;
|
|
3877
|
+
modelValue: FieldValues;
|
|
3876
3878
|
hasErrorTip: boolean;
|
|
3877
3879
|
hasFooter: boolean;
|
|
3878
3880
|
confirmLoading: boolean;
|
|
3879
|
-
cancelText: string;
|
|
3880
|
-
confirmText: string;
|
|
3881
3881
|
drawer: Partial< Mutable<DrawerProps> & {
|
|
3882
3882
|
style?: CSSProperties | undefined;
|
|
3883
3883
|
class?: any;
|
|
@@ -3907,10 +3907,6 @@ 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
|
-
};
|
|
3914
3910
|
form: {
|
|
3915
3911
|
type: PropType<PlusFormProps>;
|
|
3916
3912
|
default: () => {};
|
|
@@ -3919,6 +3915,18 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3919
3915
|
type: PropType<boolean>;
|
|
3920
3916
|
default: boolean;
|
|
3921
3917
|
};
|
|
3918
|
+
confirmText: {
|
|
3919
|
+
type: PropType<string>;
|
|
3920
|
+
default: string;
|
|
3921
|
+
};
|
|
3922
|
+
cancelText: {
|
|
3923
|
+
type: PropType<string>;
|
|
3924
|
+
default: string;
|
|
3925
|
+
};
|
|
3926
|
+
modelValue: {
|
|
3927
|
+
type: PropType<FieldValues>;
|
|
3928
|
+
default: () => {};
|
|
3929
|
+
};
|
|
3922
3930
|
hasErrorTip: {
|
|
3923
3931
|
type: PropType<boolean>;
|
|
3924
3932
|
default: boolean;
|
|
@@ -3931,14 +3939,6 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3931
3939
|
type: PropType<boolean>;
|
|
3932
3940
|
default: boolean;
|
|
3933
3941
|
};
|
|
3934
|
-
cancelText: {
|
|
3935
|
-
type: PropType<string>;
|
|
3936
|
-
default: string;
|
|
3937
|
-
};
|
|
3938
|
-
confirmText: {
|
|
3939
|
-
type: PropType<string>;
|
|
3940
|
-
default: string;
|
|
3941
|
-
};
|
|
3942
3942
|
drawer: {
|
|
3943
3943
|
type: PropType<Partial< Mutable<DrawerProps> & {
|
|
3944
3944
|
style?: CSSProperties | undefined;
|
|
@@ -3947,11 +3947,11 @@ export declare function usePlusFormFullReset(visible: Ref<boolean>, onReset?: ()
|
|
|
3947
3947
|
default: () => {};
|
|
3948
3948
|
};
|
|
3949
3949
|
}>> & {
|
|
3950
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3951
3950
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
3952
3951
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
3953
|
-
onCancel?: (() => any) | undefined;
|
|
3954
3952
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
3953
|
+
onCancel?: (() => any) | undefined;
|
|
3954
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
3955
3955
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
3956
3956
|
}, "formInstance" | "drawerInstance"> & ShallowUnwrapRef<{
|
|
3957
3957
|
drawerInstance: Ref<({
|
|
@@ -3987,41 +3987,41 @@ 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;
|
|
3991
3990
|
readonly title: string;
|
|
3992
|
-
readonly center: boolean;
|
|
3993
|
-
readonly resizable: boolean;
|
|
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>;
|
|
3995
|
-
readonly ariaLevel: string;
|
|
3996
|
-
readonly fullscreen: boolean;
|
|
3997
|
-
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
3998
|
-
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3999
|
-
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
4000
3991
|
readonly appendToBody: boolean;
|
|
3992
|
+
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>;
|
|
4001
3993
|
readonly destroyOnClose: boolean;
|
|
4002
3994
|
readonly closeOnClickModal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
3995
|
+
readonly closeOnPressEscape: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
4003
3996
|
readonly lockScroll: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
4004
3997
|
readonly modal: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
4005
3998
|
readonly modalPenetrable: boolean;
|
|
4006
3999
|
readonly openDelay: number;
|
|
4007
4000
|
readonly closeDelay: number;
|
|
4001
|
+
readonly modelValue: boolean;
|
|
4008
4002
|
readonly trapFocus: boolean;
|
|
4009
4003
|
readonly headerAriaLevel: string;
|
|
4004
|
+
readonly center: boolean;
|
|
4005
|
+
readonly fullscreen: boolean;
|
|
4006
|
+
readonly showClose: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
4007
|
+
readonly ariaLevel: string;
|
|
4008
|
+
readonly resizable: boolean;
|
|
4009
|
+
readonly direction: EpPropMergeType<StringConstructor, "ltr" | "rtl" | "ttb" | "btt", unknown>;
|
|
4010
4010
|
readonly withHeader: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
4011
4011
|
readonly modalFade: EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
4012
|
-
readonly top?: string | undefined;
|
|
4013
|
-
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
4014
4012
|
readonly width?: EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown> | undefined;
|
|
4015
|
-
readonly
|
|
4016
|
-
readonly
|
|
4017
|
-
readonly
|
|
4013
|
+
readonly beforeClose?: DialogBeforeCloseFn | undefined;
|
|
4014
|
+
readonly top?: string | undefined;
|
|
4015
|
+
readonly modalClass?: string | undefined;
|
|
4018
4016
|
readonly headerClass?: string | undefined;
|
|
4019
4017
|
readonly bodyClass?: string | undefined;
|
|
4020
4018
|
readonly footerClass?: string | undefined;
|
|
4021
|
-
readonly
|
|
4022
|
-
readonly
|
|
4019
|
+
readonly zIndex?: number | undefined;
|
|
4020
|
+
readonly transition?: EpPropMergeType<(new (...args: any[]) => string | TransitionProps) | (() => DialogTransition) | ((new (...args: any[]) => string | TransitionProps) | (() => DialogTransition))[], unknown, unknown> | undefined;
|
|
4023
4021
|
readonly alignCenter?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
4024
4022
|
readonly closeIcon?: EpPropMergeType<(new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) | ((new (...args: any[]) => (string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>) & {}) | (() => string | Component<any, any, any, ComputedOptions, MethodOptions, {}, any>))[], unknown, unknown> | undefined;
|
|
4023
|
+
readonly draggable?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
4024
|
+
readonly overflow?: EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
4025
4025
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
4026
4026
|
onResize?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
4027
4027
|
onClose?: (() => any) | undefined;
|
|
@@ -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" | "title" | "appendToBody" | "appendTo" | "destroyOnClose" | "closeOnClickModal" | "closeOnPressEscape" | "lockScroll" | "modal" | "modalPenetrable" | "openDelay" | "closeDelay" | "modelValue" | "trapFocus" | "headerAriaLevel" | "transition" | "center" | "alignCenter" | "draggable" | "overflow" | "fullscreen" | "showClose" | "ariaLevel" | "resizable" | "direction" | "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: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "
|
|
4120
|
+
$emit: ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "close") => void) & ((event: "opened") => void) & ((event: "closed") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize", evt: MouseEvent, size: number) => 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,10 +4350,10 @@ 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" | "
|
|
4353
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "modelValue" | "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] | boolean[] |
|
|
4356
|
-
readonly hasLabel: boolean |
|
|
4355
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4356
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
4357
4357
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4358
4358
|
style?: CSSProperties | undefined;
|
|
4359
4359
|
class?: any;
|
|
@@ -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" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "
|
|
4382
|
+
type: "" | "number" | "default" | "color" | "search" | "button" | "textarea" | "time" | "circle" | "image" | "line" | "text" | "warning" | "success" | "info" | "primary" | "danger" | "reset" | "submit" | "datetimerange" | "daterange" | "monthrange" | "checkbox" | "radio" | "hidden" | "email" | "tel" | "password" | "range" | "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,8 +4424,8 @@ 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] | boolean[] |
|
|
4428
|
-
hasLabel: boolean |
|
|
4427
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | Date | RecordType | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
4428
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean>;
|
|
4429
4429
|
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
4430
4430
|
style?: CSSProperties | undefined;
|
|
4431
4431
|
class?: any;
|