@hinen/pro-element-plus 1.4.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/CheckboxGroup/CheckboxGroup.vue.d.ts +2 -2
- package/dist/components/DataSelect/DataSelect.vue.d.ts +6 -6
- package/dist/components/DataTable/DataTable.vue.d.ts +7 -7
- package/dist/components/Drawer/Drawer.vue.d.ts +5 -5
- package/dist/components/EllipsisText/EllipsisText.vue.d.ts +1 -1
- package/dist/components/FormFields/FormCascadeSelect/FormCascadeSelect.vue.d.ts +8 -8
- package/dist/components/FormFields/FormCascadeSelect/props.d.ts +1 -1
- package/dist/components/FormFields/FormCheckboxGroup/FormCheckboxGroup.vue.d.ts +4 -4
- package/dist/components/FormFields/FormCheckboxGroup/props.d.ts +1 -1
- package/dist/components/FormFields/FormDatePicker/FormDatePicker.vue.d.ts +8 -8
- package/dist/components/FormFields/FormDatePicker/props.d.ts +1 -1
- package/dist/components/FormFields/FormItem/FormItem.vue.d.ts +3 -3
- package/dist/components/FormFields/FormItem/props.d.ts +1 -1
- package/dist/components/FormFields/FormItem/utils.d.ts +1 -1
- package/dist/components/FormFields/FormNumber/FormNumber.vue.d.ts +6 -6
- package/dist/components/FormFields/FormNumber/props.d.ts +1 -1
- package/dist/components/FormFields/FormRadioGroup/FormRadioGroup.vue.d.ts +4 -4
- package/dist/components/FormFields/FormRadioGroup/props.d.ts +1 -1
- package/dist/components/FormFields/FormRate/FormRate.vue.d.ts +5 -5
- package/dist/components/FormFields/FormRate/props.d.ts +1 -1
- package/dist/components/FormFields/FormSelect/FormSelect.vue.d.ts +8 -8
- package/dist/components/FormFields/FormSelect/props.d.ts +1 -1
- package/dist/components/FormFields/FormSwitch/FormSwitch.vue.d.ts +4 -4
- package/dist/components/FormFields/FormSwitch/props.d.ts +1 -1
- package/dist/components/FormFields/FormTagInput/FormTagInput.vue.d.ts +10 -10
- package/dist/components/FormFields/FormTagInput/props.d.ts +1 -1
- package/dist/components/FormFields/FormText/FormText.vue.d.ts +18 -18
- package/dist/components/FormFields/FormText/props.d.ts +1 -1
- package/dist/components/FormFields/FormTimePicker/FormTimePicker.vue.d.ts +8 -8
- package/dist/components/FormFields/FormTimePicker/props.d.ts +1 -1
- package/dist/components/FormFields/FormTreeSelect/FormTreeSelect.vue.d.ts +1 -1
- package/dist/components/FormFields/FormTreeSelect/props.d.ts +1 -1
- package/dist/components/FormFields/utils.d.ts +1 -1
- package/dist/components/Image/Image.vue.d.ts +5 -5
- package/dist/components/Modal/Modal.vue.d.ts +5 -5
- package/dist/components/QueryForm/QueryForm.vue.d.ts +2 -2
- package/dist/components/QueryForm/QueryForm.vue.d.ts.map +1 -1
- package/dist/components/QueryForm/TagContent.vue.d.ts +16 -0
- package/dist/components/QueryForm/TagContent.vue.d.ts.map +1 -0
- package/dist/components/QueryForm/contants.d.ts +2 -0
- package/dist/components/QueryForm/contants.d.ts.map +1 -0
- package/dist/components/QueryForm/types.d.ts +5 -1
- package/dist/components/QueryForm/types.d.ts.map +1 -1
- package/dist/components/QueryForm/utils.d.ts +1 -0
- package/dist/components/QueryForm/utils.d.ts.map +1 -1
- package/dist/components/RadioGroup/RadioGroup.vue.d.ts +2 -2
- package/dist/components/Select/Select.vue.d.ts +7 -6
- package/dist/components/Select/Select.vue.d.ts.map +1 -1
- package/dist/components/Select/types.d.ts +1 -0
- package/dist/components/Select/types.d.ts.map +1 -1
- package/dist/index.cjs +24 -24
- package/dist/index.js +2095 -1915
- package/dist/style.css +1 -1
- package/package.json +3 -2
|
@@ -40,8 +40,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
40
40
|
readonly default: true;
|
|
41
41
|
};
|
|
42
42
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
43
|
-
"update:modelValue": (val: import('element-plus').CheckboxGroupValueType) => void;
|
|
44
43
|
change: (val: import('element-plus').CheckboxValueType[]) => void;
|
|
44
|
+
"update:modelValue": (val: import('element-plus').CheckboxGroupValueType) => void;
|
|
45
45
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
46
46
|
options: import('vue').PropType<import('./props').CheckboxGroupOptionType[]>;
|
|
47
47
|
ariaLabel: StringConstructor;
|
|
@@ -81,8 +81,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
81
81
|
readonly default: true;
|
|
82
82
|
};
|
|
83
83
|
}>> & Readonly<{
|
|
84
|
-
"onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined;
|
|
85
84
|
onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined;
|
|
85
|
+
"onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined;
|
|
86
86
|
}>, {
|
|
87
87
|
modelValue: import('element-plus').CheckboxGroupValueType;
|
|
88
88
|
disabled: boolean;
|
|
@@ -234,11 +234,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
234
234
|
blur: () => void;
|
|
235
235
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
236
236
|
search: (value?: string | undefined) => void;
|
|
237
|
-
|
|
237
|
+
blur: (value: FocusEvent) => void;
|
|
238
238
|
change: (value: import('./props').DataSelectValueType | import('./props').DataSelectValueType[]) => void;
|
|
239
|
-
clear: () => void;
|
|
240
239
|
focus: (value: FocusEvent) => void;
|
|
241
|
-
|
|
240
|
+
"update:modelValue": (value: import('./props').DataSelectValueType | import('./props').DataSelectValueType[]) => void;
|
|
241
|
+
clear: () => void;
|
|
242
242
|
"visible-change": (visible: boolean) => void;
|
|
243
243
|
"remove-tag": (value: import('./props').DataSelectValueType) => void;
|
|
244
244
|
"popup-scroll": (data: {
|
|
@@ -474,11 +474,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
474
474
|
};
|
|
475
475
|
}>> & Readonly<{
|
|
476
476
|
onSearch?: ((value?: string | undefined) => any) | undefined;
|
|
477
|
-
|
|
477
|
+
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
478
478
|
onChange?: ((value: import('./props').DataSelectValueType | import('./props').DataSelectValueType[]) => any) | undefined;
|
|
479
|
-
onClear?: (() => any) | undefined;
|
|
480
479
|
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
481
|
-
|
|
480
|
+
"onUpdate:modelValue"?: ((value: import('./props').DataSelectValueType | import('./props').DataSelectValueType[]) => any) | undefined;
|
|
481
|
+
onClear?: (() => any) | undefined;
|
|
482
482
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
483
483
|
"onRemove-tag"?: ((value: import('./props').DataSelectValueType) => any) | undefined;
|
|
484
484
|
"onPopup-scroll"?: ((data: {
|
|
@@ -197,13 +197,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
197
197
|
getFormData: () => any;
|
|
198
198
|
getSearchParams: () => any;
|
|
199
199
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
200
|
-
select: (selection: any[], row: any) => void;
|
|
201
|
-
expandChange: (row: any, expandedRows: boolean | any[]) => void;
|
|
202
|
-
currentChange: (currentRow: any, oldCurrentRow: any) => void;
|
|
203
200
|
scroll: (event: {
|
|
204
201
|
scrollLeft: number;
|
|
205
202
|
scrollTop: number;
|
|
206
203
|
}) => void;
|
|
204
|
+
select: (selection: any[], row: any) => void;
|
|
205
|
+
expandChange: (row: any, expandedRows: boolean | any[]) => void;
|
|
206
|
+
currentChange: (currentRow: any, oldCurrentRow: any) => void;
|
|
207
207
|
selectAll: (selection: any[]) => void;
|
|
208
208
|
selectionChange: (selection: any[]) => void;
|
|
209
209
|
cellMouseEnter: (row: any, column: any, cell: HTMLTableCellElement, event: Event) => void;
|
|
@@ -391,13 +391,13 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
391
391
|
preserveExpandedContent: BooleanConstructor;
|
|
392
392
|
nativeScrollbar: BooleanConstructor;
|
|
393
393
|
}>> & Readonly<{
|
|
394
|
-
onSelect?: ((selection: any[], row: any) => any) | undefined;
|
|
395
|
-
onExpandChange?: ((row: any, expandedRows: boolean | any[]) => any) | undefined;
|
|
396
|
-
onCurrentChange?: ((currentRow: any, oldCurrentRow: any) => any) | undefined;
|
|
397
394
|
onScroll?: ((event: {
|
|
398
395
|
scrollLeft: number;
|
|
399
396
|
scrollTop: number;
|
|
400
397
|
}) => any) | undefined;
|
|
398
|
+
onSelect?: ((selection: any[], row: any) => any) | undefined;
|
|
399
|
+
onExpandChange?: ((row: any, expandedRows: boolean | any[]) => any) | undefined;
|
|
400
|
+
onCurrentChange?: ((currentRow: any, oldCurrentRow: any) => any) | undefined;
|
|
401
401
|
onSelectAll?: ((selection: any[]) => any) | undefined;
|
|
402
402
|
onSelectionChange?: ((selection: any[]) => any) | undefined;
|
|
403
403
|
onCellMouseEnter?: ((row: any, column: any, cell: HTMLTableCellElement, event: Event) => any) | undefined;
|
|
@@ -420,6 +420,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
420
420
|
onFormDataChange?: ((data: any) => any) | undefined;
|
|
421
421
|
onSearchParamsChange?: ((data: any) => any) | undefined;
|
|
422
422
|
}>, {
|
|
423
|
+
lazy: boolean;
|
|
423
424
|
border: boolean;
|
|
424
425
|
style: import('vue').CSSProperties;
|
|
425
426
|
loading: boolean;
|
|
@@ -434,7 +435,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
434
435
|
selectOnIndeterminate: boolean;
|
|
435
436
|
indent: number;
|
|
436
437
|
treeProps: import('element-plus/es/components/table/src/table/defaults').TreeProps | undefined;
|
|
437
|
-
lazy: boolean;
|
|
438
438
|
tableLayout: "fixed" | "auto";
|
|
439
439
|
scrollbarAlwaysOn: boolean;
|
|
440
440
|
flexible: boolean;
|
|
@@ -195,10 +195,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
195
195
|
readonly default: "2";
|
|
196
196
|
};
|
|
197
197
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
198
|
-
"update:modelValue": (value: boolean) => void;
|
|
199
|
-
open: () => void;
|
|
200
198
|
cancel: () => void;
|
|
201
199
|
close: () => void;
|
|
200
|
+
"update:modelValue": (value: boolean) => void;
|
|
201
|
+
open: () => void;
|
|
202
202
|
closed: () => void;
|
|
203
203
|
ok: () => void;
|
|
204
204
|
opened: () => void;
|
|
@@ -400,10 +400,10 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
400
400
|
readonly default: "2";
|
|
401
401
|
};
|
|
402
402
|
}>> & Readonly<{
|
|
403
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
404
|
-
onOpen?: (() => any) | undefined;
|
|
405
403
|
onCancel?: (() => any) | undefined;
|
|
406
404
|
onClose?: (() => any) | undefined;
|
|
405
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
406
|
+
onOpen?: (() => any) | undefined;
|
|
407
407
|
onClosed?: (() => any) | undefined;
|
|
408
408
|
onOk?: (() => any) | undefined;
|
|
409
409
|
onOpened?: (() => any) | undefined;
|
|
@@ -419,6 +419,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
419
419
|
title: string;
|
|
420
420
|
center: boolean;
|
|
421
421
|
draggable: boolean;
|
|
422
|
+
ariaLevel: string;
|
|
422
423
|
fullscreen: boolean;
|
|
423
424
|
appendToBody: boolean;
|
|
424
425
|
cancelButtonProps: Partial<import('element-plus').ButtonProps>;
|
|
@@ -440,7 +441,6 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
440
441
|
trapFocus: boolean;
|
|
441
442
|
alignCenter: boolean;
|
|
442
443
|
overflow: boolean;
|
|
443
|
-
ariaLevel: string;
|
|
444
444
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
445
445
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
446
446
|
export default _default;
|
|
@@ -143,7 +143,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
143
143
|
hideAfter: number;
|
|
144
144
|
autoClose: number;
|
|
145
145
|
enterable: boolean;
|
|
146
|
-
trigger: "
|
|
146
|
+
trigger: "click" | "contextmenu" | "focus" | "hover";
|
|
147
147
|
focusOnShow: boolean;
|
|
148
148
|
popperStyle: any;
|
|
149
149
|
truncated: boolean;
|
|
@@ -95,7 +95,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
95
95
|
};
|
|
96
96
|
error: StringConstructor;
|
|
97
97
|
validateStatus: {
|
|
98
|
-
readonly type: import('vue').PropType<"" | "
|
|
98
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
99
99
|
readonly required: false;
|
|
100
100
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
101
101
|
__epPropKey: true;
|
|
@@ -510,11 +510,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
510
510
|
formItem: import('vue').ShallowRef<FormItemInstance | undefined, FormItemInstance | undefined>;
|
|
511
511
|
field: import('vue').ShallowRef<CascaderInstance | undefined, CascaderInstance | undefined>;
|
|
512
512
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
513
|
-
|
|
513
|
+
blur: (evt: FocusEvent) => void;
|
|
514
514
|
change: (value: import('element-plus').CascaderValue | null | undefined) => void;
|
|
515
|
-
clear: () => void;
|
|
516
515
|
focus: (evt: FocusEvent) => void;
|
|
517
|
-
|
|
516
|
+
"update:modelValue": (value: import('element-plus').CascaderValue | null | undefined) => void;
|
|
517
|
+
clear: () => void;
|
|
518
518
|
visibleChange: (val: boolean) => void;
|
|
519
519
|
expandChange: (val: import('element-plus').CascaderValue) => void;
|
|
520
520
|
removeTag: (val: (string | number)[] | (string | number)) => void;
|
|
@@ -562,7 +562,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
562
562
|
};
|
|
563
563
|
error: StringConstructor;
|
|
564
564
|
validateStatus: {
|
|
565
|
-
readonly type: import('vue').PropType<"" | "
|
|
565
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
566
566
|
readonly required: false;
|
|
567
567
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
568
568
|
__epPropKey: true;
|
|
@@ -974,11 +974,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
974
974
|
default: () => {};
|
|
975
975
|
};
|
|
976
976
|
}>> & Readonly<{
|
|
977
|
-
|
|
977
|
+
onBlur?: ((evt: FocusEvent) => any) | undefined;
|
|
978
978
|
onChange?: ((value: import('element-plus').CascaderValue | null | undefined) => any) | undefined;
|
|
979
|
-
onClear?: (() => any) | undefined;
|
|
980
979
|
onFocus?: ((evt: FocusEvent) => any) | undefined;
|
|
981
|
-
|
|
980
|
+
"onUpdate:modelValue"?: ((value: import('element-plus').CascaderValue | null | undefined) => any) | undefined;
|
|
981
|
+
onClear?: (() => any) | undefined;
|
|
982
982
|
onVisibleChange?: ((val: boolean) => any) | undefined;
|
|
983
983
|
onExpandChange?: ((val: import('element-plus').CascaderValue) => any) | undefined;
|
|
984
984
|
onRemoveTag?: ((val: (string | number)[] | (string | number)) => any) | undefined;
|
|
@@ -42,7 +42,7 @@ export declare const formCascadeSelectProps: {
|
|
|
42
42
|
};
|
|
43
43
|
error: StringConstructor;
|
|
44
44
|
validateStatus: {
|
|
45
|
-
readonly type: import('vue').PropType<"" | "
|
|
45
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
46
46
|
readonly required: false;
|
|
47
47
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
48
48
|
__epPropKey: true;
|
|
@@ -66,7 +66,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
66
66
|
};
|
|
67
67
|
error: StringConstructor;
|
|
68
68
|
validateStatus: {
|
|
69
|
-
readonly type: import('vue').PropType<"" | "
|
|
69
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
70
70
|
readonly required: false;
|
|
71
71
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
72
72
|
__epPropKey: true;
|
|
@@ -179,8 +179,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
179
179
|
formItem: import('vue').ShallowRef<FormItemInstance | undefined, FormItemInstance | undefined>;
|
|
180
180
|
field: import('vue').ShallowRef<any, any>;
|
|
181
181
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
182
|
-
"update:modelValue": (val: import('element-plus').CheckboxGroupValueType) => void;
|
|
183
182
|
change: (val: import('element-plus').CheckboxValueType[]) => void;
|
|
183
|
+
"update:modelValue": (val: import('element-plus').CheckboxGroupValueType) => void;
|
|
184
184
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
185
185
|
valueEnum: import('vue').PropType<Record<string, string>>;
|
|
186
186
|
htmlFor: StringConstructor;
|
|
@@ -226,7 +226,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
226
226
|
};
|
|
227
227
|
error: StringConstructor;
|
|
228
228
|
validateStatus: {
|
|
229
|
-
readonly type: import('vue').PropType<"" | "
|
|
229
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
230
230
|
readonly required: false;
|
|
231
231
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
232
232
|
__epPropKey: true;
|
|
@@ -336,8 +336,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
336
336
|
default: () => {};
|
|
337
337
|
};
|
|
338
338
|
}>> & Readonly<{
|
|
339
|
-
"onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined;
|
|
340
339
|
onChange?: ((val: import('element-plus').CheckboxValueType[]) => any) | undefined;
|
|
340
|
+
"onUpdate:modelValue"?: ((val: import('element-plus').CheckboxGroupValueType) => any) | undefined;
|
|
341
341
|
}>, {
|
|
342
342
|
required: boolean;
|
|
343
343
|
modelValue: import('element-plus').CheckboxGroupValueType;
|
|
@@ -45,7 +45,7 @@ export declare const formCheckboxGroupProps: {
|
|
|
45
45
|
};
|
|
46
46
|
error: StringConstructor;
|
|
47
47
|
validateStatus: {
|
|
48
|
-
readonly type: PropType<"" | "
|
|
48
|
+
readonly type: PropType<"" | "error" | "success" | "validating">;
|
|
49
49
|
readonly required: false;
|
|
50
50
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
51
51
|
__epPropKey: true;
|
|
@@ -69,7 +69,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
69
69
|
};
|
|
70
70
|
error: StringConstructor;
|
|
71
71
|
validateStatus: {
|
|
72
|
-
readonly type: import('vue').PropType<"" | "
|
|
72
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
73
73
|
readonly required: false;
|
|
74
74
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
75
75
|
__epPropKey: true;
|
|
@@ -548,11 +548,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
548
548
|
formItem: import('vue').ShallowRef<FormItemInstance | undefined, FormItemInstance | undefined>;
|
|
549
549
|
field: import('vue').ShallowRef<DatePickerInstance | undefined, DatePickerInstance | undefined>;
|
|
550
550
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
551
|
-
|
|
551
|
+
blur: (value: FocusEvent) => void;
|
|
552
552
|
change: (value: import('./props').FormDatePickerValueType) => void;
|
|
553
|
-
clear: () => void;
|
|
554
553
|
focus: (value: FocusEvent) => void;
|
|
555
|
-
|
|
554
|
+
"update:modelValue": (value: import('./props').FormDatePickerValueType) => void;
|
|
555
|
+
clear: () => void;
|
|
556
556
|
"visible-change": (visibility: boolean) => void;
|
|
557
557
|
"calendar-change": (value: [Date, Date | null]) => void;
|
|
558
558
|
"panel-change": (date: Date | [Date, Date], mode: "month" | "year", view?: string | undefined) => void;
|
|
@@ -600,7 +600,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
600
600
|
};
|
|
601
601
|
error: StringConstructor;
|
|
602
602
|
validateStatus: {
|
|
603
|
-
readonly type: import('vue').PropType<"" | "
|
|
603
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
604
604
|
readonly required: false;
|
|
605
605
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
606
606
|
__epPropKey: true;
|
|
@@ -1076,11 +1076,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1076
1076
|
default: () => {};
|
|
1077
1077
|
};
|
|
1078
1078
|
}>> & Readonly<{
|
|
1079
|
-
|
|
1079
|
+
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
1080
1080
|
onChange?: ((value: import('./props').FormDatePickerValueType) => any) | undefined;
|
|
1081
|
-
onClear?: (() => any) | undefined;
|
|
1082
1081
|
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
1083
|
-
|
|
1082
|
+
"onUpdate:modelValue"?: ((value: import('./props').FormDatePickerValueType) => any) | undefined;
|
|
1083
|
+
onClear?: (() => any) | undefined;
|
|
1084
1084
|
"onVisible-change"?: ((visibility: boolean) => any) | undefined;
|
|
1085
1085
|
"onCalendar-change"?: ((value: [Date, Date | null]) => any) | undefined;
|
|
1086
1086
|
"onPanel-change"?: ((date: Date | [Date, Date], mode: "month" | "year", view?: string | undefined) => any) | undefined;
|
|
@@ -42,7 +42,7 @@ export declare const formDatePickerProps: {
|
|
|
42
42
|
};
|
|
43
43
|
error: StringConstructor;
|
|
44
44
|
validateStatus: {
|
|
45
|
-
readonly type: import('vue').PropType<"" | "
|
|
45
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
46
46
|
readonly required: false;
|
|
47
47
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
48
48
|
__epPropKey: true;
|
|
@@ -65,7 +65,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
65
65
|
};
|
|
66
66
|
error: StringConstructor;
|
|
67
67
|
validateStatus: {
|
|
68
|
-
readonly type: import('vue').PropType<"" | "
|
|
68
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
69
69
|
readonly required: false;
|
|
70
70
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
71
71
|
__epPropKey: true;
|
|
@@ -95,7 +95,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
95
95
|
}>, {
|
|
96
96
|
size: "" | "small" | "default" | "large" | undefined;
|
|
97
97
|
validateMessage: string | undefined;
|
|
98
|
-
validateState: "" | "
|
|
98
|
+
validateState: "" | "error" | "success" | "validating" | undefined;
|
|
99
99
|
validate: (trigger: string, callback?: FormValidateCallback) => import('element-plus').FormValidationResult | undefined;
|
|
100
100
|
clearValidate: () => void | undefined;
|
|
101
101
|
resetField: () => void | undefined;
|
|
@@ -143,7 +143,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
143
143
|
};
|
|
144
144
|
error: StringConstructor;
|
|
145
145
|
validateStatus: {
|
|
146
|
-
readonly type: import('vue').PropType<"" | "
|
|
146
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
147
147
|
readonly required: false;
|
|
148
148
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
149
149
|
__epPropKey: true;
|
|
@@ -45,7 +45,7 @@ export declare const formItemProps: {
|
|
|
45
45
|
};
|
|
46
46
|
error: StringConstructor;
|
|
47
47
|
validateStatus: {
|
|
48
|
-
readonly type: PropType<"" | "
|
|
48
|
+
readonly type: PropType<"" | "error" | "success" | "validating">;
|
|
49
49
|
readonly required: false;
|
|
50
50
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
51
51
|
__epPropKey: true;
|
|
@@ -11,7 +11,7 @@ export declare const getTooltipProps: (options?: string | Partial<TooltipPropsTy
|
|
|
11
11
|
hideAfter?: number | undefined;
|
|
12
12
|
autoClose?: number | undefined;
|
|
13
13
|
enterable?: boolean | undefined;
|
|
14
|
-
trigger?: "
|
|
14
|
+
trigger?: "click" | "contextmenu" | "focus" | "hover" | undefined;
|
|
15
15
|
focusOnShow?: boolean | undefined;
|
|
16
16
|
popperStyle?: any;
|
|
17
17
|
transition?: string | undefined;
|
|
@@ -79,7 +79,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
79
79
|
};
|
|
80
80
|
error: StringConstructor;
|
|
81
81
|
validateStatus: {
|
|
82
|
-
readonly type: import('vue').PropType<"" | "
|
|
82
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
83
83
|
readonly required: false;
|
|
84
84
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
85
85
|
__epPropKey: true;
|
|
@@ -336,11 +336,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
336
336
|
formItem: import('vue').ShallowRef<FormItemInstance | undefined, FormItemInstance | undefined>;
|
|
337
337
|
field: import('vue').ShallowRef<InputNumberInstance | undefined, InputNumberInstance | undefined>;
|
|
338
338
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
339
|
-
|
|
339
|
+
blur: (e: FocusEvent) => void;
|
|
340
340
|
change: (cur: number | undefined, prev: number | undefined) => void;
|
|
341
341
|
focus: (e: FocusEvent) => void;
|
|
342
|
-
blur: (e: FocusEvent) => void;
|
|
343
342
|
input: (val: number | null | undefined) => void;
|
|
343
|
+
"update:modelValue": (val: number | undefined) => void;
|
|
344
344
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
345
345
|
htmlFor: StringConstructor;
|
|
346
346
|
tooltip: {
|
|
@@ -385,7 +385,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
385
385
|
};
|
|
386
386
|
error: StringConstructor;
|
|
387
387
|
validateStatus: {
|
|
388
|
-
readonly type: import('vue').PropType<"" | "
|
|
388
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
389
389
|
readonly required: false;
|
|
390
390
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
391
391
|
__epPropKey: true;
|
|
@@ -639,11 +639,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
639
639
|
default: () => {};
|
|
640
640
|
};
|
|
641
641
|
}>> & Readonly<{
|
|
642
|
-
|
|
642
|
+
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
643
643
|
onChange?: ((cur: number | undefined, prev: number | undefined) => any) | undefined;
|
|
644
644
|
onFocus?: ((e: FocusEvent) => any) | undefined;
|
|
645
|
-
onBlur?: ((e: FocusEvent) => any) | undefined;
|
|
646
645
|
onInput?: ((val: number | null | undefined) => any) | undefined;
|
|
646
|
+
"onUpdate:modelValue"?: ((val: number | undefined) => any) | undefined;
|
|
647
647
|
}>, {
|
|
648
648
|
required: boolean;
|
|
649
649
|
readonly disabled: boolean;
|
|
@@ -42,7 +42,7 @@ export declare const formNumberProps: {
|
|
|
42
42
|
};
|
|
43
43
|
error: StringConstructor;
|
|
44
44
|
validateStatus: {
|
|
45
|
-
readonly type: import('vue').PropType<"" | "
|
|
45
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
46
46
|
readonly required: false;
|
|
47
47
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
48
48
|
__epPropKey: true;
|
|
@@ -66,7 +66,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
66
66
|
};
|
|
67
67
|
error: StringConstructor;
|
|
68
68
|
validateStatus: {
|
|
69
|
-
readonly type: import('vue').PropType<"" | "
|
|
69
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
70
70
|
readonly required: false;
|
|
71
71
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
72
72
|
__epPropKey: true;
|
|
@@ -211,8 +211,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
211
211
|
formItem: import('vue').ShallowRef<FormItemInstance | undefined, FormItemInstance | undefined>;
|
|
212
212
|
field: import('vue').ShallowRef<any, any>;
|
|
213
213
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
214
|
-
"update:modelValue": (val: string | number | boolean | undefined) => void;
|
|
215
214
|
change: (val: string | number | boolean | undefined) => void;
|
|
215
|
+
"update:modelValue": (val: string | number | boolean | undefined) => void;
|
|
216
216
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
217
217
|
valueEnum: import('vue').PropType<Record<string, string>>;
|
|
218
218
|
htmlFor: StringConstructor;
|
|
@@ -258,7 +258,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
258
258
|
};
|
|
259
259
|
error: StringConstructor;
|
|
260
260
|
validateStatus: {
|
|
261
|
-
readonly type: import('vue').PropType<"" | "
|
|
261
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
262
262
|
readonly required: false;
|
|
263
263
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
264
264
|
__epPropKey: true;
|
|
@@ -400,8 +400,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
400
400
|
default: () => {};
|
|
401
401
|
};
|
|
402
402
|
}>> & Readonly<{
|
|
403
|
-
"onUpdate:modelValue"?: ((val: string | number | boolean | undefined) => any) | undefined;
|
|
404
403
|
onChange?: ((val: string | number | boolean | undefined) => any) | undefined;
|
|
404
|
+
"onUpdate:modelValue"?: ((val: string | number | boolean | undefined) => any) | undefined;
|
|
405
405
|
}>, {
|
|
406
406
|
required: boolean;
|
|
407
407
|
modelValue: string | number | boolean;
|
|
@@ -45,7 +45,7 @@ export declare const formRadioGroupProps: {
|
|
|
45
45
|
};
|
|
46
46
|
error: StringConstructor;
|
|
47
47
|
validateStatus: {
|
|
48
|
-
readonly type: PropType<"" | "
|
|
48
|
+
readonly type: PropType<"" | "error" | "success" | "validating">;
|
|
49
49
|
readonly required: false;
|
|
50
50
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
51
51
|
__epPropKey: true;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RateInstance, FormItemInstance } from 'element-plus';
|
|
2
2
|
|
|
3
|
-
declare function __VLS_template(): Partial<Record<NonNullable<"
|
|
3
|
+
declare function __VLS_template(): Partial<Record<NonNullable<"error" | "label">, (_: {
|
|
4
4
|
label: string;
|
|
5
5
|
} | {
|
|
6
6
|
error: string;
|
|
@@ -49,7 +49,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
49
49
|
};
|
|
50
50
|
error: StringConstructor;
|
|
51
51
|
validateStatus: {
|
|
52
|
-
readonly type: import('vue').PropType<"" | "
|
|
52
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
53
53
|
readonly required: false;
|
|
54
54
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
55
55
|
__epPropKey: true;
|
|
@@ -344,8 +344,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
344
344
|
formItem: import('vue').ShallowRef<FormItemInstance | undefined, FormItemInstance | undefined>;
|
|
345
345
|
field: import('vue').ShallowRef<RateInstance | undefined, RateInstance | undefined>;
|
|
346
346
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
347
|
-
"update:modelValue": (value: number) => void;
|
|
348
347
|
change: (value: number) => void;
|
|
348
|
+
"update:modelValue": (value: number) => void;
|
|
349
349
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
350
350
|
htmlFor: StringConstructor;
|
|
351
351
|
tooltip: {
|
|
@@ -390,7 +390,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
390
390
|
};
|
|
391
391
|
error: StringConstructor;
|
|
392
392
|
validateStatus: {
|
|
393
|
-
readonly type: import('vue').PropType<"" | "
|
|
393
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
394
394
|
readonly required: false;
|
|
395
395
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
396
396
|
__epPropKey: true;
|
|
@@ -682,8 +682,8 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
682
682
|
default: () => {};
|
|
683
683
|
};
|
|
684
684
|
}>> & Readonly<{
|
|
685
|
-
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
686
685
|
onChange?: ((value: number) => any) | undefined;
|
|
686
|
+
"onUpdate:modelValue"?: ((value: number) => any) | undefined;
|
|
687
687
|
}>, {
|
|
688
688
|
required: boolean;
|
|
689
689
|
readonly modelValue: number;
|
|
@@ -42,7 +42,7 @@ export declare const formRateProps: {
|
|
|
42
42
|
};
|
|
43
43
|
error: StringConstructor;
|
|
44
44
|
validateStatus: {
|
|
45
|
-
readonly type: import('vue').PropType<"" | "
|
|
45
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
46
46
|
readonly required: false;
|
|
47
47
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
48
48
|
__epPropKey: true;
|
|
@@ -71,7 +71,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
71
71
|
};
|
|
72
72
|
error: StringConstructor;
|
|
73
73
|
validateStatus: {
|
|
74
|
-
readonly type: import('vue').PropType<"" | "
|
|
74
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
75
75
|
readonly required: false;
|
|
76
76
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
77
77
|
__epPropKey: true;
|
|
@@ -563,11 +563,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
563
563
|
field: import('vue').ShallowRef<SelectInstanceType | undefined, SelectInstanceType | undefined>;
|
|
564
564
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
565
565
|
search: (value?: string | undefined) => void;
|
|
566
|
-
|
|
566
|
+
blur: (value: FocusEvent) => void;
|
|
567
567
|
change: (value: any) => void;
|
|
568
|
-
clear: () => void;
|
|
569
568
|
focus: (value: FocusEvent) => void;
|
|
570
|
-
|
|
569
|
+
"update:modelValue": (value: any) => void;
|
|
570
|
+
clear: () => void;
|
|
571
571
|
"visible-change": (visible: boolean) => void;
|
|
572
572
|
"remove-tag": (value: any) => void;
|
|
573
573
|
"popup-scroll": (data: {
|
|
@@ -619,7 +619,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
619
619
|
};
|
|
620
620
|
error: StringConstructor;
|
|
621
621
|
validateStatus: {
|
|
622
|
-
readonly type: import('vue').PropType<"" | "
|
|
622
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
623
623
|
readonly required: false;
|
|
624
624
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
625
625
|
__epPropKey: true;
|
|
@@ -1108,11 +1108,11 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
1108
1108
|
};
|
|
1109
1109
|
}>> & Readonly<{
|
|
1110
1110
|
onSearch?: ((value?: string | undefined) => any) | undefined;
|
|
1111
|
-
|
|
1111
|
+
onBlur?: ((value: FocusEvent) => any) | undefined;
|
|
1112
1112
|
onChange?: ((value: any) => any) | undefined;
|
|
1113
|
-
onClear?: (() => any) | undefined;
|
|
1114
1113
|
onFocus?: ((value: FocusEvent) => any) | undefined;
|
|
1115
|
-
|
|
1114
|
+
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
1115
|
+
onClear?: (() => any) | undefined;
|
|
1116
1116
|
"onVisible-change"?: ((visible: boolean) => any) | undefined;
|
|
1117
1117
|
"onRemove-tag"?: ((value: any) => any) | undefined;
|
|
1118
1118
|
"onPopup-scroll"?: ((data: {
|
|
@@ -45,7 +45,7 @@ export declare const formSelectProps: {
|
|
|
45
45
|
};
|
|
46
46
|
error: StringConstructor;
|
|
47
47
|
validateStatus: {
|
|
48
|
-
readonly type: PropType<"" | "
|
|
48
|
+
readonly type: PropType<"" | "error" | "success" | "validating">;
|
|
49
49
|
readonly required: false;
|
|
50
50
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
51
51
|
__epPropKey: true;
|
|
@@ -75,7 +75,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
75
75
|
};
|
|
76
76
|
error: StringConstructor;
|
|
77
77
|
validateStatus: {
|
|
78
|
-
readonly type: import('vue').PropType<"" | "
|
|
78
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
79
79
|
readonly required: false;
|
|
80
80
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
81
81
|
__epPropKey: true;
|
|
@@ -344,9 +344,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
344
344
|
formItem: import('vue').ShallowRef<FormItemInstance | undefined, FormItemInstance | undefined>;
|
|
345
345
|
field: import('vue').ShallowRef<SwitchInstance | undefined, SwitchInstance | undefined>;
|
|
346
346
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
347
|
-
"update:modelValue": (val: string | number | boolean) => void;
|
|
348
347
|
change: (val: string | number | boolean) => void;
|
|
349
348
|
input: (val: string | number | boolean) => void;
|
|
349
|
+
"update:modelValue": (val: string | number | boolean) => void;
|
|
350
350
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
351
351
|
htmlFor: StringConstructor;
|
|
352
352
|
tooltip: {
|
|
@@ -391,7 +391,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
391
391
|
};
|
|
392
392
|
error: StringConstructor;
|
|
393
393
|
validateStatus: {
|
|
394
|
-
readonly type: import('vue').PropType<"" | "
|
|
394
|
+
readonly type: import('vue').PropType<"" | "error" | "success" | "validating">;
|
|
395
395
|
readonly required: false;
|
|
396
396
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
397
397
|
__epPropKey: true;
|
|
@@ -657,9 +657,9 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
657
657
|
default: () => {};
|
|
658
658
|
};
|
|
659
659
|
}>> & Readonly<{
|
|
660
|
-
"onUpdate:modelValue"?: ((val: string | number | boolean) => any) | undefined;
|
|
661
660
|
onChange?: ((val: string | number | boolean) => any) | undefined;
|
|
662
661
|
onInput?: ((val: string | number | boolean) => any) | undefined;
|
|
662
|
+
"onUpdate:modelValue"?: ((val: string | number | boolean) => any) | undefined;
|
|
663
663
|
}>, {
|
|
664
664
|
required: boolean;
|
|
665
665
|
readonly modelValue: string | number | boolean;
|