@maxtropy/v-components 0.1.11-beta.6 → 0.1.11-beta.8
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 +2019 -2010
- package/dist/style.css +1 -1
- package/dist/types/components/alert/MxAlert.vue.d.ts +16 -1
- 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 +9 -0
- 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/table/MxTableColumn.vue.d.ts +1 -22
- package/dist/types/components/table/index.d.ts +3 -38
- 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,6 +19,11 @@ 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>;
|
|
22
27
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
28
|
type: {
|
|
24
29
|
type: StringConstructor;
|
|
@@ -33,10 +38,20 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
33
38
|
type: BooleanConstructor;
|
|
34
39
|
default: boolean;
|
|
35
40
|
};
|
|
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>;
|
|
36
46
|
}>>, {
|
|
37
|
-
title: string;
|
|
38
47
|
type: string;
|
|
48
|
+
title: string;
|
|
39
49
|
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>;
|
|
40
55
|
}, {}>, Partial<Record<string | number, (_: {}) => any>> & {
|
|
41
56
|
title?(_: {}): any;
|
|
42
57
|
}>;
|
|
@@ -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" | "success" | "warning" | "info" | "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" | "success" | "warning" | "info" | "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";
|
|
42
41
|
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 | NumberConstructor | ObjectConstructor)[];
|
|
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 | NumberConstructor | ObjectConstructor)[];
|
|
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" | "disabled" | "size" | "validateEvent" | "max" | "min" | "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 | NumberConstructor | ObjectConstructor)[];
|
|
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;
|
|
22
23
|
confirmButtonText: string;
|
|
23
24
|
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" | "success" | "warning" | "info" | "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" | "success" | "warning" | "info" | "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";
|
|
59
60
|
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,6 +10,10 @@ 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
|
+
};
|
|
13
17
|
}, {
|
|
14
18
|
/**
|
|
15
19
|
* @description Validate the whole form. Receives a callback or returns `Promise`.
|
|
@@ -40,9 +44,14 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
40
44
|
type: BooleanConstructor;
|
|
41
45
|
default: boolean;
|
|
42
46
|
};
|
|
47
|
+
testState: {
|
|
48
|
+
type: PropType<"1" | "2" | "3">;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
43
51
|
}>>, {
|
|
44
52
|
labelPosition: "top" | "right" | "left";
|
|
45
53
|
isOrigin: boolean;
|
|
54
|
+
testState: "1" | "2" | "3";
|
|
46
55
|
}, {}>, Partial<Record<string | number, (_: {}) => any>>>;
|
|
47
56
|
export default _default;
|
|
48
57
|
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
|
-
label: string;
|
|
23
22
|
icon: boolean | Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
23
|
+
label: string;
|
|
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 import('element-plus')['ElForm'];
|
|
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
|
-
label?: string | undefined;
|
|
15
14
|
icon?: boolean | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | undefined;
|
|
15
|
+
label?: string | 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
|
-
label: string;
|
|
85
84
|
icon: boolean | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
85
|
+
label: string;
|
|
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
|
-
label: string;
|
|
130
129
|
icon: boolean | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
130
|
+
label: string;
|
|
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" | "success" | "warning" | "info" | "primary" | "danger", unknown, "primary", boolean>;
|
|
6
|
+
readonly cancelButtonType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "success" | "warning" | "info" | "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" | "success" | "warning" | "info" | "primary" | "danger", unknown, "primary", boolean>;
|
|
22
|
+
readonly cancelButtonType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "text" | "success" | "warning" | "info" | "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 width: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], unknown, unknown>;
|
|
35
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
|
+
readonly width: import("element-plus/es/utils").EpPropMergeType<readonly [StringConstructor, NumberConstructor], 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" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
40
|
+
readonly cancelButtonType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
41
41
|
readonly iconColor: string;
|
|
42
42
|
readonly hideIcon: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
43
43
|
}, {}>, {
|
|
@@ -1,25 +1,4 @@
|
|
|
1
|
-
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
2
|
-
type: {
|
|
3
|
-
type: StringConstructor;
|
|
4
|
-
default: string;
|
|
5
|
-
};
|
|
6
|
-
highlightCurrentRow: {
|
|
7
|
-
type: BooleanConstructor;
|
|
8
|
-
default: boolean;
|
|
9
|
-
};
|
|
10
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
-
type: {
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
default: string;
|
|
14
|
-
};
|
|
15
|
-
highlightCurrentRow: {
|
|
16
|
-
type: BooleanConstructor;
|
|
17
|
-
default: boolean;
|
|
18
|
-
};
|
|
19
|
-
}>>, {
|
|
20
|
-
type: string;
|
|
21
|
-
highlightCurrentRow: boolean;
|
|
22
|
-
}, {}>, Partial<Record<string | number, (_: {
|
|
1
|
+
declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, Partial<Record<string | number, (_: {
|
|
23
2
|
scope: any;
|
|
24
3
|
row: any;
|
|
25
4
|
index: any;
|
|
@@ -12,8 +12,6 @@ export declare const MxTableColumn: {
|
|
|
12
12
|
$: import("vue").ComponentInternalInstance;
|
|
13
13
|
$data: {};
|
|
14
14
|
$props: {
|
|
15
|
-
type?: string | undefined;
|
|
16
|
-
highlightCurrentRow?: boolean | undefined;
|
|
17
15
|
key?: string | number | symbol | undefined;
|
|
18
16
|
ref?: import("vue").VNodeRef | undefined;
|
|
19
17
|
ref_for?: boolean | undefined;
|
|
@@ -72,19 +70,7 @@ export declare const MxTableColumn: {
|
|
|
72
70
|
$parent: import("vue").ComponentPublicInstance<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | null;
|
|
73
71
|
$emit: (event: string, ...args: any[]) => void;
|
|
74
72
|
$el: any;
|
|
75
|
-
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
76
|
-
type: {
|
|
77
|
-
type: StringConstructor;
|
|
78
|
-
default: string;
|
|
79
|
-
};
|
|
80
|
-
highlightCurrentRow: {
|
|
81
|
-
type: BooleanConstructor;
|
|
82
|
-
default: boolean;
|
|
83
|
-
};
|
|
84
|
-
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
85
|
-
type: string;
|
|
86
|
-
highlightCurrentRow: boolean;
|
|
87
|
-
}, {}, string, {}> & {
|
|
73
|
+
$options: import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & {
|
|
88
74
|
beforeCreate?: ((() => void) | (() => void)[]) | undefined;
|
|
89
75
|
created?: ((() => void) | (() => void)[]) | undefined;
|
|
90
76
|
beforeMount?: ((() => void) | (() => void)[]) | undefined;
|
|
@@ -104,32 +90,11 @@ export declare const MxTableColumn: {
|
|
|
104
90
|
$forceUpdate: () => void;
|
|
105
91
|
$nextTick: typeof import("vue").nextTick;
|
|
106
92
|
$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?: import("vue").WatchOptions<boolean> | undefined): import("vue").WatchStopHandle;
|
|
107
|
-
} & Readonly<import("vue").ExtractPropTypes<{
|
|
108
|
-
type: {
|
|
109
|
-
type: StringConstructor;
|
|
110
|
-
default: string;
|
|
111
|
-
};
|
|
112
|
-
highlightCurrentRow: {
|
|
113
|
-
type: BooleanConstructor;
|
|
114
|
-
default: boolean;
|
|
115
|
-
};
|
|
116
|
-
}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
93
|
+
} & Readonly<import("vue").ExtractPropTypes<{}>> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {};
|
|
117
94
|
__isFragment?: undefined;
|
|
118
95
|
__isTeleport?: undefined;
|
|
119
96
|
__isSuspense?: undefined;
|
|
120
|
-
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
121
|
-
type: {
|
|
122
|
-
type: StringConstructor;
|
|
123
|
-
default: string;
|
|
124
|
-
};
|
|
125
|
-
highlightCurrentRow: {
|
|
126
|
-
type: BooleanConstructor;
|
|
127
|
-
default: boolean;
|
|
128
|
-
};
|
|
129
|
-
}>>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
130
|
-
type: string;
|
|
131
|
-
highlightCurrentRow: boolean;
|
|
132
|
-
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
97
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
133
98
|
$slots: Partial<Record<string | number, (_: {
|
|
134
99
|
scope: any;
|
|
135
100
|
row: any;
|
|
@@ -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<"" | "success" | "warning" | "info" | "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<"" | "success" | "warning" | "info" | "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
|
-
|
|
32
|
-
type: "" | "info" | "success" | "warning" | "primary" | "danger" | "dashed" | "invalid";
|
|
31
|
+
type: "" | "success" | "warning" | "info" | "primary" | "danger" | "dashed" | "invalid";
|
|
33
32
|
disabled: boolean;
|
|
33
|
+
color: string;
|
|
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 | File | Blob | 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 | File | Blob | 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;
|
|
90
89
|
disabled: boolean;
|
|
91
|
-
beforeUpload: (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript").Awaitable<boolean | void |
|
|
90
|
+
beforeUpload: (rawFile: import("element-plus").UploadRawFile) => import("element-plus/es/utils/typescript").Awaitable<boolean | void | File | Blob | null | undefined>;
|
|
92
91
|
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, "text" | "picture" | "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 | File | Blob | null | undefined>) | (() => (rawFile: ElUploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {
|
|
27
|
+
(): (rawFile: ElUploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | 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 | File | Blob | null | undefined>) | (() => (rawFile: ElUploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | null | undefined>) | {
|
|
31
|
+
(): (rawFile: ElUploadRawFile) => import("element-plus/es/utils").Awaitable<boolean | void | File | Blob | 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, "text" | "picture" | "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;
|