giime 0.0.0-dev.8 → 0.0.0-dev.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/es/{index.css → component.css} +1 -1
- package/es/components/index.mjs +1 -0
- package/es/components/index.mjs.map +1 -1
- package/es/components/src/test/Test.vue.d.ts +237 -27
- package/es/components/src/test/Test.vue.mjs +1 -1
- package/es/components/src/test/Test.vue2.mjs +10 -7
- package/es/components/src/test/Test.vue2.mjs.map +1 -1
- package/es/components/src/test/index.d.ts +230 -122
- package/es/components/src/test/index.mjs +1 -1
- package/es/components/src/test/test.d.ts +68 -5
- package/es/components/src/test/test.mjs +14 -0
- package/es/components/src/test/test.mjs.map +1 -1
- package/es/giime/component.d.ts +230 -122
- package/es/giime/index.mjs +1 -0
- package/es/giime/index.mjs.map +1 -1
- package/lib/{index.css → component.css} +1 -1
- package/lib/components/index.js +2 -0
- package/lib/components/index.js.map +1 -1
- package/lib/components/src/test/Test.vue.d.ts +237 -27
- package/lib/components/src/test/Test.vue.js +1 -1
- package/lib/components/src/test/Test.vue2.js +10 -7
- package/lib/components/src/test/Test.vue2.js.map +1 -1
- package/lib/components/src/test/index.d.ts +230 -122
- package/lib/components/src/test/index.js +2 -1
- package/lib/components/src/test/index.js.map +1 -1
- package/lib/components/src/test/test.d.ts +68 -5
- package/lib/components/src/test/test.js +15 -0
- package/lib/components/src/test/test.js.map +1 -1
- package/lib/giime/component.d.ts +230 -122
- package/lib/giime/index.js +2 -0
- package/lib/giime/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,137 +1,245 @@
|
|
|
1
1
|
import Test from './Test.vue';
|
|
2
|
-
export declare const GmTest: import("vue").DefineComponent<{
|
|
3
|
-
readonly size: {
|
|
4
|
-
type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
5
|
-
};
|
|
6
|
-
readonly disabled: {
|
|
7
|
-
type: import("vue").PropType<boolean>;
|
|
8
|
-
};
|
|
9
|
-
readonly type: {
|
|
10
|
-
type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
11
|
-
default: string;
|
|
12
|
-
};
|
|
13
|
-
readonly icon: {
|
|
14
|
-
type: import("vue").PropType<import("element-plus/es/utils/index.js").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>>;
|
|
15
|
-
};
|
|
16
|
-
readonly nativeType: {
|
|
17
|
-
type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>>;
|
|
18
|
-
};
|
|
19
|
-
readonly loading: {
|
|
20
|
-
type: import("vue").PropType<boolean>;
|
|
21
|
-
};
|
|
22
|
-
readonly loadingIcon: {
|
|
23
|
-
type: import("vue").PropType<import("element-plus/es/utils/index.js").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
|
-
};
|
|
25
|
-
readonly plain: {
|
|
26
|
-
type: import("vue").PropType<boolean>;
|
|
27
|
-
};
|
|
28
|
-
readonly text: {
|
|
29
|
-
type: import("vue").PropType<boolean>;
|
|
30
|
-
};
|
|
31
|
-
readonly link: {
|
|
32
|
-
type: import("vue").PropType<boolean>;
|
|
33
|
-
};
|
|
34
|
-
readonly bg: {
|
|
35
|
-
type: import("vue").PropType<boolean>;
|
|
36
|
-
};
|
|
37
|
-
readonly autofocus: {
|
|
38
|
-
type: import("vue").PropType<boolean>;
|
|
39
|
-
};
|
|
40
|
-
readonly round: {
|
|
41
|
-
type: import("vue").PropType<boolean>;
|
|
42
|
-
};
|
|
43
|
-
readonly circle: {
|
|
44
|
-
type: import("vue").PropType<boolean>;
|
|
45
|
-
};
|
|
46
|
-
readonly color: {
|
|
47
|
-
type: import("vue").PropType<string>;
|
|
48
|
-
};
|
|
49
|
-
readonly dark: {
|
|
50
|
-
type: import("vue").PropType<boolean>;
|
|
51
|
-
};
|
|
52
|
-
readonly autoInsertSpace: {
|
|
53
|
-
type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
54
|
-
};
|
|
55
|
-
readonly tag: {
|
|
56
|
-
type: import("vue").PropType<import("element-plus/es/utils/index.js").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>>;
|
|
57
|
-
};
|
|
2
|
+
export declare const GmTest: import("@vue/runtime-core").DefineComponent<{
|
|
58
3
|
title: {
|
|
59
|
-
type:
|
|
4
|
+
type: StringConstructor;
|
|
60
5
|
default: string;
|
|
61
6
|
};
|
|
62
|
-
|
|
63
|
-
type:
|
|
64
|
-
|
|
65
|
-
|
|
7
|
+
elBtnProps: {
|
|
8
|
+
type: () => import("@vue/runtime-core").ExtractPropTypes<{
|
|
9
|
+
readonly size: {
|
|
10
|
+
readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
11
|
+
readonly required: false;
|
|
12
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
13
|
+
__epPropKey: true;
|
|
14
|
+
};
|
|
15
|
+
readonly disabled: BooleanConstructor;
|
|
16
|
+
readonly type: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
17
|
+
readonly icon: {
|
|
18
|
+
readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown>>;
|
|
19
|
+
readonly required: false;
|
|
20
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
21
|
+
__epPropKey: true;
|
|
22
|
+
};
|
|
23
|
+
readonly nativeType: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
24
|
+
readonly loading: BooleanConstructor;
|
|
25
|
+
readonly loadingIcon: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
26
|
+
readonly plain: BooleanConstructor;
|
|
27
|
+
readonly text: BooleanConstructor;
|
|
28
|
+
readonly link: BooleanConstructor;
|
|
29
|
+
readonly bg: BooleanConstructor;
|
|
30
|
+
readonly autofocus: BooleanConstructor;
|
|
31
|
+
readonly round: BooleanConstructor;
|
|
32
|
+
readonly circle: BooleanConstructor;
|
|
33
|
+
readonly color: StringConstructor;
|
|
34
|
+
readonly dark: BooleanConstructor;
|
|
35
|
+
readonly autoInsertSpace: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
36
|
+
readonly tag: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, "button", boolean>;
|
|
37
|
+
}>;
|
|
38
|
+
default: () => {
|
|
39
|
+
size: {
|
|
40
|
+
readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
41
|
+
readonly required: false;
|
|
42
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
43
|
+
__epPropKey: true;
|
|
44
|
+
};
|
|
45
|
+
disabled: BooleanConstructor;
|
|
46
|
+
type: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
47
|
+
icon: {
|
|
48
|
+
readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown>>;
|
|
49
|
+
readonly required: false;
|
|
50
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
51
|
+
__epPropKey: true;
|
|
52
|
+
};
|
|
53
|
+
nativeType: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
54
|
+
loading: BooleanConstructor;
|
|
55
|
+
loadingIcon: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
56
|
+
plain: BooleanConstructor;
|
|
57
|
+
text: BooleanConstructor;
|
|
58
|
+
link: BooleanConstructor;
|
|
59
|
+
bg: BooleanConstructor;
|
|
60
|
+
autofocus: BooleanConstructor;
|
|
61
|
+
round: BooleanConstructor;
|
|
62
|
+
circle: BooleanConstructor;
|
|
63
|
+
color: StringConstructor;
|
|
64
|
+
dark: BooleanConstructor;
|
|
65
|
+
autoInsertSpace: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
66
|
+
tag: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, "button", boolean>;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
size: {
|
|
70
|
+
readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
71
|
+
readonly required: false;
|
|
72
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
73
|
+
__epPropKey: true;
|
|
74
|
+
};
|
|
75
|
+
disabled: BooleanConstructor;
|
|
76
|
+
type: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
77
|
+
icon: {
|
|
78
|
+
readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown>>;
|
|
79
|
+
readonly required: false;
|
|
80
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
81
|
+
__epPropKey: true;
|
|
82
|
+
};
|
|
83
|
+
nativeType: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
84
|
+
loading: BooleanConstructor;
|
|
85
|
+
loadingIcon: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
86
|
+
plain: BooleanConstructor;
|
|
87
|
+
text: BooleanConstructor;
|
|
88
|
+
link: BooleanConstructor;
|
|
89
|
+
bg: BooleanConstructor;
|
|
90
|
+
autofocus: BooleanConstructor;
|
|
91
|
+
round: BooleanConstructor;
|
|
92
|
+
circle: BooleanConstructor;
|
|
93
|
+
color: StringConstructor;
|
|
94
|
+
dark: BooleanConstructor;
|
|
95
|
+
autoInsertSpace: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
96
|
+
tag: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, "button", boolean>;
|
|
97
|
+
}, {}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
66
98
|
finishSubmit: () => void;
|
|
67
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
68
|
-
readonly size: {
|
|
69
|
-
type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
70
|
-
};
|
|
71
|
-
readonly disabled: {
|
|
72
|
-
type: import("vue").PropType<boolean>;
|
|
73
|
-
};
|
|
74
|
-
readonly type: {
|
|
75
|
-
type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
76
|
-
default: string;
|
|
77
|
-
};
|
|
78
|
-
readonly icon: {
|
|
79
|
-
type: import("vue").PropType<import("element-plus/es/utils/index.js").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>>;
|
|
80
|
-
};
|
|
81
|
-
readonly nativeType: {
|
|
82
|
-
type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>>;
|
|
83
|
-
};
|
|
84
|
-
readonly loading: {
|
|
85
|
-
type: import("vue").PropType<boolean>;
|
|
86
|
-
};
|
|
87
|
-
readonly loadingIcon: {
|
|
88
|
-
type: import("vue").PropType<import("element-plus/es/utils/index.js").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>>;
|
|
89
|
-
};
|
|
90
|
-
readonly plain: {
|
|
91
|
-
type: import("vue").PropType<boolean>;
|
|
92
|
-
};
|
|
93
|
-
readonly text: {
|
|
94
|
-
type: import("vue").PropType<boolean>;
|
|
95
|
-
};
|
|
96
|
-
readonly link: {
|
|
97
|
-
type: import("vue").PropType<boolean>;
|
|
98
|
-
};
|
|
99
|
-
readonly bg: {
|
|
100
|
-
type: import("vue").PropType<boolean>;
|
|
101
|
-
};
|
|
102
|
-
readonly autofocus: {
|
|
103
|
-
type: import("vue").PropType<boolean>;
|
|
104
|
-
};
|
|
105
|
-
readonly round: {
|
|
106
|
-
type: import("vue").PropType<boolean>;
|
|
107
|
-
};
|
|
108
|
-
readonly circle: {
|
|
109
|
-
type: import("vue").PropType<boolean>;
|
|
110
|
-
};
|
|
111
|
-
readonly color: {
|
|
112
|
-
type: import("vue").PropType<string>;
|
|
113
|
-
};
|
|
114
|
-
readonly dark: {
|
|
115
|
-
type: import("vue").PropType<boolean>;
|
|
116
|
-
};
|
|
117
|
-
readonly autoInsertSpace: {
|
|
118
|
-
type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
119
|
-
};
|
|
120
|
-
readonly tag: {
|
|
121
|
-
type: import("vue").PropType<import("element-plus/es/utils/index.js").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>>;
|
|
122
|
-
};
|
|
99
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
|
|
123
100
|
title: {
|
|
124
|
-
type:
|
|
101
|
+
type: StringConstructor;
|
|
125
102
|
default: string;
|
|
126
103
|
};
|
|
127
|
-
|
|
128
|
-
type:
|
|
129
|
-
|
|
104
|
+
elBtnProps: {
|
|
105
|
+
type: () => import("@vue/runtime-core").ExtractPropTypes<{
|
|
106
|
+
readonly size: {
|
|
107
|
+
readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
108
|
+
readonly required: false;
|
|
109
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
110
|
+
__epPropKey: true;
|
|
111
|
+
};
|
|
112
|
+
readonly disabled: BooleanConstructor;
|
|
113
|
+
readonly type: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
114
|
+
readonly icon: {
|
|
115
|
+
readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown>>;
|
|
116
|
+
readonly required: false;
|
|
117
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
118
|
+
__epPropKey: true;
|
|
119
|
+
};
|
|
120
|
+
readonly nativeType: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
121
|
+
readonly loading: BooleanConstructor;
|
|
122
|
+
readonly loadingIcon: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
123
|
+
readonly plain: BooleanConstructor;
|
|
124
|
+
readonly text: BooleanConstructor;
|
|
125
|
+
readonly link: BooleanConstructor;
|
|
126
|
+
readonly bg: BooleanConstructor;
|
|
127
|
+
readonly autofocus: BooleanConstructor;
|
|
128
|
+
readonly round: BooleanConstructor;
|
|
129
|
+
readonly circle: BooleanConstructor;
|
|
130
|
+
readonly color: StringConstructor;
|
|
131
|
+
readonly dark: BooleanConstructor;
|
|
132
|
+
readonly autoInsertSpace: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
133
|
+
readonly tag: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, "button", boolean>;
|
|
134
|
+
}>;
|
|
135
|
+
default: () => {
|
|
136
|
+
size: {
|
|
137
|
+
readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
138
|
+
readonly required: false;
|
|
139
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
140
|
+
__epPropKey: true;
|
|
141
|
+
};
|
|
142
|
+
disabled: BooleanConstructor;
|
|
143
|
+
type: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
144
|
+
icon: {
|
|
145
|
+
readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown>>;
|
|
146
|
+
readonly required: false;
|
|
147
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
148
|
+
__epPropKey: true;
|
|
149
|
+
};
|
|
150
|
+
nativeType: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
151
|
+
loading: BooleanConstructor;
|
|
152
|
+
loadingIcon: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
153
|
+
plain: BooleanConstructor;
|
|
154
|
+
text: BooleanConstructor;
|
|
155
|
+
link: BooleanConstructor;
|
|
156
|
+
bg: BooleanConstructor;
|
|
157
|
+
autofocus: BooleanConstructor;
|
|
158
|
+
round: BooleanConstructor;
|
|
159
|
+
circle: BooleanConstructor;
|
|
160
|
+
color: StringConstructor;
|
|
161
|
+
dark: BooleanConstructor;
|
|
162
|
+
autoInsertSpace: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
163
|
+
tag: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, "button", boolean>;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
size: {
|
|
167
|
+
readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
168
|
+
readonly required: false;
|
|
169
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
170
|
+
__epPropKey: true;
|
|
171
|
+
};
|
|
172
|
+
disabled: BooleanConstructor;
|
|
173
|
+
type: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
174
|
+
icon: {
|
|
175
|
+
readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown>>;
|
|
176
|
+
readonly required: false;
|
|
177
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
178
|
+
__epPropKey: true;
|
|
179
|
+
};
|
|
180
|
+
nativeType: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
181
|
+
loading: BooleanConstructor;
|
|
182
|
+
loadingIcon: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
183
|
+
plain: BooleanConstructor;
|
|
184
|
+
text: BooleanConstructor;
|
|
185
|
+
link: BooleanConstructor;
|
|
186
|
+
bg: BooleanConstructor;
|
|
187
|
+
autofocus: BooleanConstructor;
|
|
188
|
+
round: BooleanConstructor;
|
|
189
|
+
circle: BooleanConstructor;
|
|
190
|
+
color: StringConstructor;
|
|
191
|
+
dark: BooleanConstructor;
|
|
192
|
+
autoInsertSpace: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
193
|
+
tag: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, "button", boolean>;
|
|
130
194
|
}>> & {
|
|
131
195
|
onFinishSubmit?: (() => any) | undefined;
|
|
132
196
|
}, {
|
|
133
|
-
|
|
197
|
+
text: boolean;
|
|
198
|
+
type: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown>;
|
|
199
|
+
disabled: boolean;
|
|
200
|
+
nativeType: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>;
|
|
201
|
+
loading: boolean;
|
|
202
|
+
loadingIcon: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown>;
|
|
203
|
+
plain: boolean;
|
|
204
|
+
link: boolean;
|
|
205
|
+
bg: boolean;
|
|
206
|
+
autofocus: boolean;
|
|
207
|
+
round: boolean;
|
|
208
|
+
circle: boolean;
|
|
209
|
+
dark: boolean;
|
|
210
|
+
autoInsertSpace: import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
211
|
+
tag: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown>;
|
|
134
212
|
title: string;
|
|
213
|
+
elBtnProps: import("@vue/runtime-core").ExtractPropTypes<{
|
|
214
|
+
readonly size: {
|
|
215
|
+
readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
216
|
+
readonly required: false;
|
|
217
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
218
|
+
__epPropKey: true;
|
|
219
|
+
};
|
|
220
|
+
readonly disabled: BooleanConstructor;
|
|
221
|
+
readonly type: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
222
|
+
readonly icon: {
|
|
223
|
+
readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown>>;
|
|
224
|
+
readonly required: false;
|
|
225
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
226
|
+
__epPropKey: true;
|
|
227
|
+
};
|
|
228
|
+
readonly nativeType: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
229
|
+
readonly loading: BooleanConstructor;
|
|
230
|
+
readonly loadingIcon: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, () => any, boolean>;
|
|
231
|
+
readonly plain: BooleanConstructor;
|
|
232
|
+
readonly text: BooleanConstructor;
|
|
233
|
+
readonly link: BooleanConstructor;
|
|
234
|
+
readonly bg: BooleanConstructor;
|
|
235
|
+
readonly autofocus: BooleanConstructor;
|
|
236
|
+
readonly round: BooleanConstructor;
|
|
237
|
+
readonly circle: BooleanConstructor;
|
|
238
|
+
readonly color: StringConstructor;
|
|
239
|
+
readonly dark: BooleanConstructor;
|
|
240
|
+
readonly autoInsertSpace: import("element-plus/es/utils/index.js").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
241
|
+
readonly tag: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, "button", boolean>;
|
|
242
|
+
}>;
|
|
135
243
|
}, {}>;
|
|
136
244
|
export type TestInstance = InstanceType<typeof Test>;
|
|
137
245
|
export * from './test';
|
|
@@ -1,9 +1,72 @@
|
|
|
1
|
+
import { buttonProps } from 'element-plus';
|
|
1
2
|
import type { ExtractPropTypes } from 'vue';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}
|
|
3
|
+
export declare const testProps: {
|
|
4
|
+
title: {
|
|
5
|
+
type: StringConstructor;
|
|
6
|
+
default: string;
|
|
7
|
+
};
|
|
8
|
+
elBtnProps: {
|
|
9
|
+
type: () => ExtractPropTypes<typeof buttonProps>;
|
|
10
|
+
default: () => {
|
|
11
|
+
size: {
|
|
12
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
13
|
+
readonly required: false;
|
|
14
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
15
|
+
__epPropKey: true;
|
|
16
|
+
};
|
|
17
|
+
disabled: BooleanConstructor;
|
|
18
|
+
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
19
|
+
icon: {
|
|
20
|
+
readonly type: import("vue").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>>;
|
|
21
|
+
readonly required: false;
|
|
22
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
23
|
+
__epPropKey: true;
|
|
24
|
+
};
|
|
25
|
+
nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
26
|
+
loading: BooleanConstructor;
|
|
27
|
+
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, () => any, boolean>;
|
|
28
|
+
plain: BooleanConstructor;
|
|
29
|
+
text: BooleanConstructor;
|
|
30
|
+
link: BooleanConstructor;
|
|
31
|
+
bg: BooleanConstructor;
|
|
32
|
+
autofocus: BooleanConstructor;
|
|
33
|
+
round: BooleanConstructor;
|
|
34
|
+
circle: BooleanConstructor;
|
|
35
|
+
color: StringConstructor;
|
|
36
|
+
dark: BooleanConstructor;
|
|
37
|
+
autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
38
|
+
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>;
|
|
39
|
+
};
|
|
40
|
+
};
|
|
41
|
+
size: {
|
|
42
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
43
|
+
readonly required: false;
|
|
44
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
45
|
+
__epPropKey: true;
|
|
46
|
+
};
|
|
47
|
+
disabled: BooleanConstructor;
|
|
48
|
+
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
49
|
+
icon: {
|
|
50
|
+
readonly type: import("vue").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>>;
|
|
51
|
+
readonly required: false;
|
|
52
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
53
|
+
__epPropKey: true;
|
|
54
|
+
};
|
|
55
|
+
nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
56
|
+
loading: BooleanConstructor;
|
|
57
|
+
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, () => any, boolean>;
|
|
58
|
+
plain: BooleanConstructor;
|
|
59
|
+
text: BooleanConstructor;
|
|
60
|
+
link: BooleanConstructor;
|
|
61
|
+
bg: BooleanConstructor;
|
|
62
|
+
autofocus: BooleanConstructor;
|
|
63
|
+
round: BooleanConstructor;
|
|
64
|
+
circle: BooleanConstructor;
|
|
65
|
+
color: StringConstructor;
|
|
66
|
+
dark: BooleanConstructor;
|
|
67
|
+
autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
68
|
+
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>;
|
|
69
|
+
};
|
|
7
70
|
export interface TestEmits {
|
|
8
71
|
(e: 'finishSubmit'): void;
|
|
9
72
|
}
|
|
@@ -1,2 +1,16 @@
|
|
|
1
|
+
import { buttonProps } from 'element-plus';
|
|
1
2
|
|
|
3
|
+
const testProps = {
|
|
4
|
+
...buttonProps,
|
|
5
|
+
title: {
|
|
6
|
+
type: String,
|
|
7
|
+
default: ""
|
|
8
|
+
},
|
|
9
|
+
elBtnProps: {
|
|
10
|
+
type: Object,
|
|
11
|
+
default: () => ({ ...buttonProps })
|
|
12
|
+
}
|
|
13
|
+
};
|
|
14
|
+
|
|
15
|
+
export { testProps };
|
|
2
16
|
//# sourceMappingURL=test.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"test.mjs","sources":["../../../../../../packages/components/src/test/test.ts"],"sourcesContent":["import { buttonProps } from 'element-plus';\r\nimport type { ExtractPropTypes } from 'vue';\r\n\r\nexport const testProps = {\r\n ...buttonProps,\r\n title: {\r\n type: String,\r\n default: '',\r\n },\r\n elBtnProps: {\r\n type: Object as () => ExtractPropTypes<typeof buttonProps>,\r\n default: () => ({ ...buttonProps }),\r\n },\r\n};\r\nexport interface TestEmits {\r\n (e: 'finishSubmit'): void;\r\n}\r\n"],"names":[],"mappings":";;AAGO,MAAM,SAAY,GAAA;AAAA,EACvB,GAAG,WAAA;AAAA,EACH,KAAO,EAAA;AAAA,IACL,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA,EACA,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,OAAO,EAAE,GAAG,WAAY,EAAA,CAAA;AAAA,GACnC;AACF;;;;"}
|