@maxtropy/v-components 0.1.14-beta.0 → 0.1.14-beta.10
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 +6561 -6519
- package/dist/style.css +1 -1
- package/dist/types/components/button/MxButton.vue.d.ts +34 -16
- package/dist/types/index.d.ts +1 -0
- package/dist/types/theme/index.d.ts +10 -0
- package/dist/types/theme/utils.d.ts +3 -0
- package/package.json +1 -1
|
@@ -9,25 +9,33 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
9
9
|
type: NumberConstructor;
|
|
10
10
|
default: number;
|
|
11
11
|
};
|
|
12
|
+
authCode: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
default: string;
|
|
15
|
+
};
|
|
16
|
+
noShowWhenNotAuth: {
|
|
17
|
+
type: BooleanConstructor;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
12
20
|
disabled: {
|
|
13
21
|
type: BooleanConstructor;
|
|
14
22
|
default: boolean;
|
|
15
23
|
};
|
|
16
24
|
size: {
|
|
17
|
-
readonly type: PropType<import("element-plus/es/utils
|
|
25
|
+
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
18
26
|
readonly required: false;
|
|
19
27
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
20
28
|
__epPropKey: true;
|
|
21
29
|
};
|
|
22
30
|
icon: {
|
|
23
|
-
readonly type: PropType<import("element-plus/es/utils
|
|
31
|
+
readonly type: PropType<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>>;
|
|
24
32
|
readonly required: false;
|
|
25
33
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
26
34
|
__epPropKey: true;
|
|
27
35
|
};
|
|
28
|
-
nativeType: import("element-plus/es/utils
|
|
36
|
+
nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
29
37
|
loading: BooleanConstructor;
|
|
30
|
-
loadingIcon: import("element-plus/es/utils
|
|
38
|
+
loadingIcon: 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>;
|
|
31
39
|
plain: BooleanConstructor;
|
|
32
40
|
text: BooleanConstructor;
|
|
33
41
|
link: BooleanConstructor;
|
|
@@ -37,8 +45,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
37
45
|
circle: BooleanConstructor;
|
|
38
46
|
color: StringConstructor;
|
|
39
47
|
dark: BooleanConstructor;
|
|
40
|
-
autoInsertSpace: import("element-plus/es/utils
|
|
41
|
-
tag: import("element-plus/es/utils
|
|
48
|
+
autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
49
|
+
tag: 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, "button", boolean>;
|
|
42
50
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "click"[], "click", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
43
51
|
type: {
|
|
44
52
|
type: PropType<"" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger" | "dashed">;
|
|
@@ -49,25 +57,33 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
49
57
|
type: NumberConstructor;
|
|
50
58
|
default: number;
|
|
51
59
|
};
|
|
60
|
+
authCode: {
|
|
61
|
+
type: StringConstructor;
|
|
62
|
+
default: string;
|
|
63
|
+
};
|
|
64
|
+
noShowWhenNotAuth: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
default: boolean;
|
|
67
|
+
};
|
|
52
68
|
disabled: {
|
|
53
69
|
type: BooleanConstructor;
|
|
54
70
|
default: boolean;
|
|
55
71
|
};
|
|
56
72
|
size: {
|
|
57
|
-
readonly type: PropType<import("element-plus/es/utils
|
|
73
|
+
readonly type: PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
58
74
|
readonly required: false;
|
|
59
75
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
60
76
|
__epPropKey: true;
|
|
61
77
|
};
|
|
62
78
|
icon: {
|
|
63
|
-
readonly type: PropType<import("element-plus/es/utils
|
|
79
|
+
readonly type: PropType<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>>;
|
|
64
80
|
readonly required: false;
|
|
65
81
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
66
82
|
__epPropKey: true;
|
|
67
83
|
};
|
|
68
|
-
nativeType: import("element-plus/es/utils
|
|
84
|
+
nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "button" | "reset" | "submit", unknown, "button", boolean>;
|
|
69
85
|
loading: BooleanConstructor;
|
|
70
|
-
loadingIcon: import("element-plus/es/utils
|
|
86
|
+
loadingIcon: 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>;
|
|
71
87
|
plain: BooleanConstructor;
|
|
72
88
|
text: BooleanConstructor;
|
|
73
89
|
link: BooleanConstructor;
|
|
@@ -77,8 +93,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
77
93
|
circle: BooleanConstructor;
|
|
78
94
|
color: StringConstructor;
|
|
79
95
|
dark: BooleanConstructor;
|
|
80
|
-
autoInsertSpace: import("element-plus/es/utils
|
|
81
|
-
tag: import("element-plus/es/utils
|
|
96
|
+
autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
97
|
+
tag: 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, "button", boolean>;
|
|
82
98
|
}>> & {
|
|
83
99
|
onClick?: ((...args: any[]) => any) | undefined;
|
|
84
100
|
}, {
|
|
@@ -88,16 +104,18 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{
|
|
|
88
104
|
type: "" | "default" | "text" | "success" | "warning" | "info" | "primary" | "danger" | "dashed";
|
|
89
105
|
dark: boolean;
|
|
90
106
|
wait: number;
|
|
107
|
+
authCode: string;
|
|
108
|
+
noShowWhenNotAuth: boolean;
|
|
91
109
|
disabled: boolean;
|
|
92
|
-
nativeType: import("element-plus/es/utils
|
|
110
|
+
nativeType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "button" | "reset" | "submit", unknown>;
|
|
93
111
|
loading: boolean;
|
|
94
|
-
loadingIcon: import("element-plus/es/utils
|
|
112
|
+
loadingIcon: 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>;
|
|
95
113
|
plain: boolean;
|
|
96
114
|
bg: boolean;
|
|
97
115
|
autofocus: boolean;
|
|
98
116
|
round: boolean;
|
|
99
|
-
autoInsertSpace: import("element-plus/es/utils
|
|
100
|
-
tag: import("element-plus/es/utils
|
|
117
|
+
autoInsertSpace: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
118
|
+
tag: 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>;
|
|
101
119
|
}, {}>, Partial<Record<NonNullable<string | number>, (_: {}) => any>>>;
|
|
102
120
|
export default _default;
|
|
103
121
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
package/dist/types/index.d.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import './dark/css-vars.scss';
|
|
2
|
+
import './light/css-vars.scss';
|
|
3
|
+
export declare enum Themes {
|
|
4
|
+
DARK = "dark",
|
|
5
|
+
LIGHT = "light",
|
|
6
|
+
YELLOWLIGHT = "yellow-light",
|
|
7
|
+
SAPPHIRE = "sapphire",
|
|
8
|
+
JUNTONG = "juntong"
|
|
9
|
+
}
|
|
10
|
+
export declare const useTheme: (targetTheme: Themes) => void;
|