@maxtropy/v-components 0.1.11-beta.8 → 0.1.11-beta.9
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/mx-vcomponents.es.js +1962 -1996
- package/dist/style.css +1 -1
- package/dist/types/components/alert/MxAlert.vue.d.ts +1 -16
- package/dist/types/components/button/MxButton.vue.d.ts +3 -3
- package/dist/types/components/checkbox/index.d.ts +4 -4
- package/dist/types/components/dialog/MxDialog.vue.d.ts +1 -1
- package/dist/types/components/dropdown/MxDropdown.vue.d.ts +3 -3
- package/dist/types/components/form/MxForm.vue.d.ts +0 -9
- package/dist/types/components/form/MxFormItem.vue.d.ts +1 -1
- package/dist/types/components/form/index.d.ts +4 -4
- package/dist/types/components/popconfirm/MxPopconfirm.vue.d.ts +7 -7
- package/dist/types/components/tag/MxTag.vue.d.ts +4 -4
- package/dist/types/components/upload/MxUpload.vue.d.ts +4 -4
- package/dist/types/components/upload/index.d.ts +1 -1
- package/dist/types/components/upload/upload.d.ts +6 -6
- package/package.json +1 -1
|
@@ -19,11 +19,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
19
19
|
type: BooleanConstructor;
|
|
20
20
|
default: boolean;
|
|
21
21
|
};
|
|
22
|
-
description: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
23
|
-
closable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
24
|
-
closeText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
25
|
-
center: BooleanConstructor;
|
|
26
|
-
effect: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "dark" | "light", unknown, "light", boolean>;
|
|
27
22
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
28
23
|
type: {
|
|
29
24
|
type: StringConstructor;
|
|
@@ -38,20 +33,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
38
33
|
type: BooleanConstructor;
|
|
39
34
|
default: boolean;
|
|
40
35
|
};
|
|
41
|
-
description: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
42
|
-
closable: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
43
|
-
closeText: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
44
|
-
center: BooleanConstructor;
|
|
45
|
-
effect: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "dark" | "light", unknown, "light", boolean>;
|
|
46
36
|
}>>, {
|
|
47
|
-
type: string;
|
|
48
37
|
title: string;
|
|
38
|
+
type: string;
|
|
49
39
|
showIcon: boolean;
|
|
50
|
-
description: string;
|
|
51
|
-
closable: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
52
|
-
closeText: string;
|
|
53
|
-
center: boolean;
|
|
54
|
-
effect: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "dark" | "light", unknown>;
|
|
55
40
|
}, {}>, Partial<Record<string | number, (_: {}) => any>> & {
|
|
56
41
|
title?(_: {}): any;
|
|
57
42
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
3
|
type: {
|
|
4
|
-
type: PropType<"" | "default" | "text" | "
|
|
4
|
+
type: PropType<"" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger" | "dashed">;
|
|
5
5
|
validator: (value: string) => boolean;
|
|
6
6
|
default: string;
|
|
7
7
|
};
|
|
@@ -19,7 +19,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
19
19
|
};
|
|
20
20
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
21
|
type: {
|
|
22
|
-
type: PropType<"" | "default" | "text" | "
|
|
22
|
+
type: PropType<"" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger" | "dashed">;
|
|
23
23
|
validator: (value: string) => boolean;
|
|
24
24
|
default: string;
|
|
25
25
|
};
|
|
@@ -38,8 +38,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
38
38
|
}>> & {
|
|
39
39
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
40
40
|
}, {
|
|
41
|
+
type: "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger" | "dashed";
|
|
41
42
|
props: Record<string, any>;
|
|
42
|
-
type: "" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger" | "dashed";
|
|
43
43
|
wait: number;
|
|
44
44
|
disabled: boolean;
|
|
45
45
|
}, {}>, Partial<Record<string | number, (_: {}) => any>>>;
|
|
@@ -104,7 +104,7 @@ export declare const MxCheckboxButton: import("element-plus/es/utils").SFCWithIn
|
|
|
104
104
|
default: undefined;
|
|
105
105
|
};
|
|
106
106
|
label: {
|
|
107
|
-
type: (BooleanConstructor | StringConstructor |
|
|
107
|
+
type: (BooleanConstructor | StringConstructor | ObjectConstructor | NumberConstructor)[];
|
|
108
108
|
};
|
|
109
109
|
indeterminate: BooleanConstructor;
|
|
110
110
|
disabled: BooleanConstructor;
|
|
@@ -148,7 +148,7 @@ export declare const MxCheckboxButton: import("element-plus/es/utils").SFCWithIn
|
|
|
148
148
|
default: undefined;
|
|
149
149
|
};
|
|
150
150
|
label: {
|
|
151
|
-
type: (BooleanConstructor | StringConstructor |
|
|
151
|
+
type: (BooleanConstructor | StringConstructor | ObjectConstructor | NumberConstructor)[];
|
|
152
152
|
};
|
|
153
153
|
indeterminate: BooleanConstructor;
|
|
154
154
|
disabled: BooleanConstructor;
|
|
@@ -201,7 +201,7 @@ export declare const MxCheckboxButton: import("element-plus/es/utils").SFCWithIn
|
|
|
201
201
|
checkboxGroup: ({
|
|
202
202
|
modelValue?: import("vue").WritableComputedRef<any> | undefined;
|
|
203
203
|
changeEvent?: ((...args: any) => any) | undefined;
|
|
204
|
-
} & import("vue").ToRefs<Pick<import("element-plus").CheckboxGroupProps, "fill" | "
|
|
204
|
+
} & import("vue").ToRefs<Pick<import("element-plus").CheckboxGroupProps, "fill" | "max" | "min" | "disabled" | "size" | "validateEvent" | "textColor">>) | undefined;
|
|
205
205
|
ns: {
|
|
206
206
|
namespace: import("vue").ComputedRef<string>;
|
|
207
207
|
b: (blockSuffix?: string | undefined) => string;
|
|
@@ -231,7 +231,7 @@ export declare const MxCheckboxButton: import("element-plus/es/utils").SFCWithIn
|
|
|
231
231
|
default: undefined;
|
|
232
232
|
};
|
|
233
233
|
label: {
|
|
234
|
-
type: (BooleanConstructor | StringConstructor |
|
|
234
|
+
type: (BooleanConstructor | StringConstructor | ObjectConstructor | NumberConstructor)[];
|
|
235
235
|
};
|
|
236
236
|
indeterminate: BooleanConstructor;
|
|
237
237
|
disabled: BooleanConstructor;
|
|
@@ -19,9 +19,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
|
|
|
19
19
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
20
20
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
21
21
|
}, {
|
|
22
|
-
size: ModalSizeType;
|
|
23
22
|
confirmButtonText: string;
|
|
24
23
|
cancelButtonText: string;
|
|
24
|
+
size: ModalSizeType;
|
|
25
25
|
bodyScroll: boolean;
|
|
26
26
|
}, {}>, {
|
|
27
27
|
default?(_: {}): any;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Component, PropType } from 'vue';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
type: {
|
|
4
|
-
type: PropType<"" | "default" | "text" | "
|
|
4
|
+
type: PropType<"" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger" | "dashed">;
|
|
5
5
|
validator: (value: string) => boolean;
|
|
6
6
|
default: string;
|
|
7
7
|
};
|
|
@@ -29,7 +29,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
29
|
};
|
|
30
30
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
31
31
|
type: {
|
|
32
|
-
type: PropType<"" | "default" | "text" | "
|
|
32
|
+
type: PropType<"" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger" | "dashed">;
|
|
33
33
|
validator: (value: string) => boolean;
|
|
34
34
|
default: string;
|
|
35
35
|
};
|
|
@@ -56,8 +56,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
56
|
default: string;
|
|
57
57
|
};
|
|
58
58
|
}>>, {
|
|
59
|
-
type: "" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger" | "dashed";
|
|
60
59
|
link: boolean;
|
|
60
|
+
type: "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger" | "dashed";
|
|
61
61
|
options: {
|
|
62
62
|
name: string;
|
|
63
63
|
command: string | number | object;
|
|
@@ -10,10 +10,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
10
10
|
type: BooleanConstructor;
|
|
11
11
|
default: boolean;
|
|
12
12
|
};
|
|
13
|
-
testState: {
|
|
14
|
-
type: PropType<"1" | "2" | "3">;
|
|
15
|
-
default: string;
|
|
16
|
-
};
|
|
17
13
|
}, {
|
|
18
14
|
/**
|
|
19
15
|
* @description Validate the whole form. Receives a callback or returns `Promise`.
|
|
@@ -44,14 +40,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
44
40
|
type: BooleanConstructor;
|
|
45
41
|
default: boolean;
|
|
46
42
|
};
|
|
47
|
-
testState: {
|
|
48
|
-
type: PropType<"1" | "2" | "3">;
|
|
49
|
-
default: string;
|
|
50
|
-
};
|
|
51
43
|
}>>, {
|
|
52
44
|
labelPosition: "top" | "right" | "left";
|
|
53
45
|
isOrigin: boolean;
|
|
54
|
-
testState: "1" | "2" | "3";
|
|
55
46
|
}, {}>, Partial<Record<string | number, (_: {}) => any>>>;
|
|
56
47
|
export default _default;
|
|
57
48
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -19,8 +19,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
19
19
|
default: boolean;
|
|
20
20
|
};
|
|
21
21
|
}>>, {
|
|
22
|
-
icon: boolean | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
23
22
|
label: string;
|
|
23
|
+
icon: boolean | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
24
24
|
}, {}>, Partial<Record<string | number, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>>>;
|
|
25
25
|
export default _default;
|
|
26
26
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -2,7 +2,7 @@ import MxForm from './MxForm.vue';
|
|
|
2
2
|
import FormItem from './MxFormItem.vue';
|
|
3
3
|
declare module 'vue' {
|
|
4
4
|
interface GlobalComponents {
|
|
5
|
-
MxForm: typeof
|
|
5
|
+
MxForm: typeof MxForm;
|
|
6
6
|
MxFormItem: typeof FormItem;
|
|
7
7
|
}
|
|
8
8
|
}
|
|
@@ -11,8 +11,8 @@ export declare const MxFormItem: {
|
|
|
11
11
|
$: import("vue").ComponentInternalInstance;
|
|
12
12
|
$data: {};
|
|
13
13
|
$props: {
|
|
14
|
-
icon?: boolean | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | undefined;
|
|
15
14
|
label?: string | undefined;
|
|
15
|
+
icon?: boolean | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | undefined;
|
|
16
16
|
key?: string | number | symbol | undefined;
|
|
17
17
|
ref?: import("vue").VNodeRef | undefined;
|
|
18
18
|
ref_for?: boolean | undefined;
|
|
@@ -81,8 +81,8 @@ export declare const MxFormItem: {
|
|
|
81
81
|
default: boolean;
|
|
82
82
|
};
|
|
83
83
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
84
|
-
icon: boolean | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
85
84
|
label: string;
|
|
85
|
+
icon: boolean | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
86
86
|
}, {}, string, {}> & {
|
|
87
87
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
88
88
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -126,8 +126,8 @@ export declare const MxFormItem: {
|
|
|
126
126
|
default: boolean;
|
|
127
127
|
};
|
|
128
128
|
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
129
|
-
icon: boolean | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
130
129
|
label: string;
|
|
130
|
+
icon: boolean | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
131
131
|
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
132
132
|
$slots: Partial<Record<string | number, (_: {}) => any>> & Partial<Record<string, (_: {}) => any>>;
|
|
133
133
|
});
|
|
@@ -2,8 +2,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
2
2
|
readonly title: StringConstructor;
|
|
3
3
|
readonly confirmButtonText: StringConstructor;
|
|
4
4
|
readonly cancelButtonText: StringConstructor;
|
|
5
|
-
readonly confirmButtonType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "
|
|
6
|
-
readonly cancelButtonType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "
|
|
5
|
+
readonly confirmButtonType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown, "primary", boolean>;
|
|
6
|
+
readonly cancelButtonType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown, "text", boolean>;
|
|
7
7
|
readonly icon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, boolean>;
|
|
8
8
|
readonly iconColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#f90", boolean>;
|
|
9
9
|
readonly hideIcon: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -18,8 +18,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
18
18
|
readonly title: StringConstructor;
|
|
19
19
|
readonly confirmButtonText: StringConstructor;
|
|
20
20
|
readonly cancelButtonText: StringConstructor;
|
|
21
|
-
readonly confirmButtonType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "
|
|
22
|
-
readonly cancelButtonType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "
|
|
21
|
+
readonly confirmButtonType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown, "primary", boolean>;
|
|
22
|
+
readonly cancelButtonType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown, "text", boolean>;
|
|
23
23
|
readonly icon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown, () => import("vue").DefineComponent<{}, {}, {}, import("vue").ComputedOptions, import("vue").MethodOptions, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, boolean>;
|
|
24
24
|
readonly iconColor: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "#f90", boolean>;
|
|
25
25
|
readonly hideIcon: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, false, boolean>;
|
|
@@ -31,13 +31,13 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
31
31
|
onConfirm?: ((e: MouseEvent) => any) | undefined;
|
|
32
32
|
onCancel?: ((e: MouseEvent) => any) | undefined;
|
|
33
33
|
}, {
|
|
34
|
-
readonly icon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
35
34
|
readonly width: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
35
|
+
readonly icon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>;
|
|
36
36
|
readonly teleported: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
37
37
|
readonly persistent: boolean;
|
|
38
38
|
readonly hideAfter: number;
|
|
39
|
-
readonly confirmButtonType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "text" | "
|
|
40
|
-
readonly cancelButtonType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "text" | "
|
|
39
|
+
readonly confirmButtonType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown>;
|
|
40
|
+
readonly cancelButtonType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "text" | "info" | "success" | "warning" | "primary" | "danger", unknown>;
|
|
41
41
|
readonly iconColor: string;
|
|
42
42
|
readonly hideIcon: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
43
43
|
}, {}>, {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type PropType } from 'vue';
|
|
2
2
|
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
3
3
|
type: {
|
|
4
|
-
type: PropType<"" | "
|
|
4
|
+
type: PropType<"" | "info" | "success" | "warning" | "primary" | "danger" | "dashed" | "invalid">;
|
|
5
5
|
validator: (value: string) => boolean;
|
|
6
6
|
default: string;
|
|
7
7
|
};
|
|
@@ -15,7 +15,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
15
15
|
};
|
|
16
16
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
17
17
|
type: {
|
|
18
|
-
type: PropType<"" | "
|
|
18
|
+
type: PropType<"" | "info" | "success" | "warning" | "primary" | "danger" | "dashed" | "invalid">;
|
|
19
19
|
validator: (value: string) => boolean;
|
|
20
20
|
default: string;
|
|
21
21
|
};
|
|
@@ -28,9 +28,9 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
28
28
|
default: string;
|
|
29
29
|
};
|
|
30
30
|
}>>, {
|
|
31
|
-
type: "" | "success" | "warning" | "info" | "primary" | "danger" | "dashed" | "invalid";
|
|
32
|
-
disabled: boolean;
|
|
33
31
|
color: string;
|
|
32
|
+
type: "" | "info" | "success" | "warning" | "primary" | "danger" | "dashed" | "invalid";
|
|
33
|
+
disabled: boolean;
|
|
34
34
|
}, {}>, Partial<Record<string | number, (_: {}) => any>>>;
|
|
35
35
|
export default _default;
|
|
36
36
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -29,7 +29,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
29
29
|
default: null;
|
|
30
30
|
};
|
|
31
31
|
beforeUpload: {
|
|
32
|
-
type: import("vue").PropType<(rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript").Awaitable<boolean | void |
|
|
32
|
+
type: import("vue").PropType<(rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript").Awaitable<boolean | void | Blob | File | null | undefined>>;
|
|
33
33
|
default: null;
|
|
34
34
|
};
|
|
35
35
|
onPreview: {
|
|
@@ -72,7 +72,7 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
72
72
|
default: null;
|
|
73
73
|
};
|
|
74
74
|
beforeUpload: {
|
|
75
|
-
type: import("vue").PropType<(rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript").Awaitable<boolean | void |
|
|
75
|
+
type: import("vue").PropType<(rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript").Awaitable<boolean | void | Blob | File | null | undefined>>;
|
|
76
76
|
default: null;
|
|
77
77
|
};
|
|
78
78
|
onPreview: {
|
|
@@ -86,10 +86,10 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
86
86
|
type: BooleanConstructor;
|
|
87
87
|
};
|
|
88
88
|
}>>, {
|
|
89
|
+
onChange: (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
89
90
|
disabled: boolean;
|
|
90
|
-
beforeUpload: (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript").Awaitable<boolean | void |
|
|
91
|
+
beforeUpload: (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript").Awaitable<boolean | void | Blob | File | null | undefined>;
|
|
91
92
|
beforeRemove: (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => import("element-plus/es/utils/typescript").Awaitable<boolean>;
|
|
92
|
-
onChange: (uploadFile: import("element-plus").UploadFile, uploadFiles: import("element-plus").UploadFiles) => void;
|
|
93
93
|
onPreview: (uploadFile: import("element-plus").UploadFile) => void;
|
|
94
94
|
drag: boolean;
|
|
95
95
|
accept: unknown[];
|
|
@@ -20,15 +20,15 @@ export declare const uploadListProps: {
|
|
|
20
20
|
new (): any;
|
|
21
21
|
readonly prototype: any;
|
|
22
22
|
})[], unknown, unknown, () => void, boolean>;
|
|
23
|
-
readonly listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
23
|
+
readonly listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "picture" | "text" | "picture-card", unknown, "text", boolean>;
|
|
24
24
|
};
|
|
25
25
|
export declare const uploadProps: {
|
|
26
|
-
readonly beforeUpload: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: ElUploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void |
|
|
27
|
-
(): (rawFile: ElUploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void |
|
|
26
|
+
readonly beforeUpload: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (rawFile: ElUploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | Blob | File | null | undefined>) | (() => (rawFile: ElUploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | Blob | File | null | undefined>) | {
|
|
27
|
+
(): (rawFile: ElUploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | Blob | File | null | undefined>;
|
|
28
28
|
new (): any;
|
|
29
29
|
readonly prototype: any;
|
|
30
|
-
} | ((new (...args: any[]) => (rawFile: ElUploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void |
|
|
31
|
-
(): (rawFile: ElUploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void |
|
|
30
|
+
} | ((new (...args: any[]) => (rawFile: ElUploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | Blob | File | null | undefined>) | (() => (rawFile: ElUploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | Blob | File | null | undefined>) | {
|
|
31
|
+
(): (rawFile: ElUploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | Blob | File | null | undefined>;
|
|
32
32
|
new (): any;
|
|
33
33
|
readonly prototype: any;
|
|
34
34
|
})[], unknown, unknown, () => void, boolean>;
|
|
@@ -119,7 +119,7 @@ export declare const uploadProps: {
|
|
|
119
119
|
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "select", boolean>;
|
|
120
120
|
readonly fileList: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]) | ((new (...args: any[]) => import("element-plus").UploadUserFile[]) | (() => import("element-plus").UploadUserFile[]))[], unknown, unknown, () => [], boolean>;
|
|
121
121
|
readonly autoUpload: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, true, boolean>;
|
|
122
|
-
readonly listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "
|
|
122
|
+
readonly listType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "picture" | "text" | "picture-card", unknown, "text", boolean>;
|
|
123
123
|
readonly httpRequest: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("element-plus").UploadRequestHandler) | (() => import("element-plus").UploadRequestHandler) | {
|
|
124
124
|
(): import("element-plus").UploadRequestHandler;
|
|
125
125
|
new (): any;
|