giime 0.0.0-dev.11 → 0.0.0-dev.13
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/components/index.d.ts +1 -0
- package/es/components/index.mjs +1 -0
- package/es/components/index.mjs.map +1 -1
- package/es/components/src/message/index.d.ts +2 -0
- package/es/components/src/message/index.mjs +7 -0
- package/es/components/src/message/index.mjs.map +1 -0
- package/es/components/src/message/method.d.ts +4 -0
- package/es/components/src/message/method.mjs +23 -0
- package/es/components/src/message/method.mjs.map +1 -0
- package/es/components/src/test/index.d.ts +37 -37
- package/es/components/src/test/index.mjs +2 -1
- package/es/components/src/test/index.mjs.map +1 -1
- package/es/constants/index.d.ts +1 -0
- package/es/constants/index.mjs +2 -0
- package/es/constants/index.mjs.map +1 -0
- package/es/constants/key.d.ts +1 -0
- package/es/constants/key.mjs +4 -0
- package/es/constants/key.mjs.map +1 -0
- package/es/giime/component.d.ts +2 -242
- package/es/giime/component.mjs +2 -2
- package/es/giime/component.mjs.map +1 -1
- package/es/giime/defaults.d.ts +5 -0
- package/es/giime/defaults.mjs +8 -0
- package/es/giime/defaults.mjs.map +1 -0
- package/es/giime/index.d.ts +4 -0
- package/es/giime/index.mjs +7 -0
- package/es/giime/index.mjs.map +1 -1
- package/es/giime/makeInstaller.d.ts +5 -0
- package/es/giime/makeInstaller.mjs +19 -0
- package/es/giime/makeInstaller.mjs.map +1 -0
- package/es/giime/plugin.d.ts +3 -0
- package/es/giime/plugin.mjs +7 -0
- package/es/giime/plugin.mjs.map +1 -0
- package/es/giime/version.d.ts +1 -0
- package/es/giime/version.mjs +4 -0
- package/es/giime/version.mjs.map +1 -0
- package/es/utils/src/vue/install.d.ts +6 -0
- package/es/utils/src/vue/install.mjs +35 -0
- package/es/utils/src/vue/install.mjs.map +1 -0
- package/es/utils/src/vue/typescript.d.ts +5 -0
- package/es/utils/src/vue/typescript.mjs +2 -0
- package/es/utils/src/vue/typescript.mjs.map +1 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +2 -0
- package/lib/components/index.js.map +1 -1
- package/lib/components/src/message/index.d.ts +2 -0
- package/lib/components/src/message/index.js +12 -0
- package/lib/components/src/message/index.js.map +1 -0
- package/lib/components/src/message/method.d.ts +4 -0
- package/lib/components/src/message/method.js +28 -0
- package/lib/components/src/message/method.js.map +1 -0
- package/lib/components/src/test/index.d.ts +37 -37
- package/lib/components/src/test/index.js +2 -1
- package/lib/components/src/test/index.js.map +1 -1
- package/lib/constants/index.d.ts +1 -0
- package/lib/constants/index.js +8 -0
- package/lib/constants/index.js.map +1 -0
- package/lib/constants/key.d.ts +1 -0
- package/lib/constants/key.js +6 -0
- package/lib/constants/key.js.map +1 -0
- package/lib/giime/component.d.ts +2 -242
- package/lib/giime/component.js +2 -2
- package/lib/giime/component.js.map +1 -1
- package/lib/giime/defaults.d.ts +5 -0
- package/lib/giime/defaults.js +12 -0
- package/lib/giime/defaults.js.map +1 -0
- package/lib/giime/index.d.ts +4 -0
- package/lib/giime/index.js +10 -1
- package/lib/giime/index.js.map +1 -1
- package/lib/giime/makeInstaller.d.ts +5 -0
- package/lib/giime/makeInstaller.js +21 -0
- package/lib/giime/makeInstaller.js.map +1 -0
- package/lib/giime/plugin.d.ts +3 -0
- package/lib/giime/plugin.js +11 -0
- package/lib/giime/plugin.js.map +1 -0
- package/lib/giime/version.d.ts +1 -0
- package/lib/giime/version.js +6 -0
- package/lib/giime/version.js.map +1 -0
- package/lib/utils/src/vue/install.d.ts +6 -0
- package/lib/utils/src/vue/install.js +40 -0
- package/lib/utils/src/vue/install.js.map +1 -0
- package/lib/utils/src/vue/typescript.d.ts +5 -0
- package/lib/utils/src/vue/typescript.js +3 -0
- package/lib/utils/src/vue/typescript.js.map +1 -0
- package/package.json +1 -1
package/es/components/index.d.ts
CHANGED
package/es/components/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../packages/components/src/message/index.ts"],"sourcesContent":["import { withInstallFunction } from '@giime/utils/src/vue/install';\r\nimport Message from './method';\r\nexport const GmMessage = withInstallFunction(Message, '$message');\r\nexport default GmMessage;\r\n"],"names":["Message"],"mappings":";;;AAEa,MAAA,SAAA,GAAY,mBAAoB,CAAAA,OAAA,EAAS,UAAU;;;;"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { ElMessage } from 'element-plus';
|
|
2
|
+
|
|
3
|
+
const messageTypes = ["success", "info", "warning", "error"];
|
|
4
|
+
const message = (options = {}, context) => {
|
|
5
|
+
return ElMessage(
|
|
6
|
+
{
|
|
7
|
+
grouping: true,
|
|
8
|
+
// duration: 5 * 1000,
|
|
9
|
+
...options
|
|
10
|
+
},
|
|
11
|
+
context
|
|
12
|
+
);
|
|
13
|
+
};
|
|
14
|
+
message.closeAll = ElMessage.closeAll;
|
|
15
|
+
message._context = ElMessage._context;
|
|
16
|
+
messageTypes.forEach((type) => {
|
|
17
|
+
message[type] = (options = {}, appContext) => {
|
|
18
|
+
return message({ ...options, type }, appContext);
|
|
19
|
+
};
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
export { message as default, messageTypes };
|
|
23
|
+
//# sourceMappingURL=method.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"method.mjs","sources":["../../../../../../packages/components/src/message/method.ts"],"sourcesContent":["import { ElMessage } from 'element-plus';\r\nimport type { Message, MessageFn, MessageOptions, MessageParamsNormalized } from 'element-plus';\r\n\r\nimport type { AppContext } from 'vue';\r\nexport const messageTypes = ['success', 'info', 'warning', 'error'] as const;\r\nconst message: MessageFn & Partial<Message> & { _context: AppContext | null } = (options = {}, context) => {\r\n return ElMessage(\r\n {\r\n grouping: true,\r\n // duration: 5 * 1000,\r\n ...(options as MessageOptions),\r\n },\r\n context,\r\n );\r\n};\r\nmessage.closeAll = ElMessage.closeAll;\r\nmessage._context = ElMessage._context;\r\nmessageTypes.forEach(type => {\r\n message[type] = (options = {}, appContext) => {\r\n return message({ ...(options as MessageParamsNormalized), type }, appContext);\r\n };\r\n});\r\nexport default message as Message;\r\n"],"names":[],"mappings":";;AAIO,MAAM,YAAe,GAAA,CAAC,SAAW,EAAA,MAAA,EAAQ,WAAW,OAAO,EAAA;AAClE,MAAM,OAA0E,GAAA,CAAC,OAAU,GAAA,IAAI,OAAY,KAAA;AACzG,EAAO,OAAA,SAAA;AAAA,IACL;AAAA,MACE,QAAU,EAAA,IAAA;AAAA;AAAA,MAEV,GAAI,OAAA;AAAA,KACN;AAAA,IACA,OAAA;AAAA,GACF,CAAA;AACF,EAAA;AACA,OAAA,CAAQ,WAAW,SAAU,CAAA,QAAA,CAAA;AAC7B,OAAA,CAAQ,WAAW,SAAU,CAAA,QAAA,CAAA;AAC7B,YAAA,CAAa,QAAQ,CAAQ,IAAA,KAAA;AAC3B,EAAA,OAAA,CAAQ,IAAI,CAAI,GAAA,CAAC,OAAU,GAAA,IAAI,UAAe,KAAA;AAC5C,IAAA,OAAO,QAAQ,EAAE,GAAI,OAAqC,EAAA,IAAA,IAAQ,UAAU,CAAA,CAAA;AAAA,GAC9E,CAAA;AACF,CAAC,CAAA;;;;"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import Test from './Test.vue';
|
|
2
|
-
export declare const GmTest: import("
|
|
2
|
+
export declare const GmTest: import("../../../utils/src/vue/typescript.js").SFCWithInstall<import("vue").DefineComponent<{
|
|
3
3
|
title: {
|
|
4
4
|
type: StringConstructor;
|
|
5
5
|
default: string;
|
|
6
6
|
};
|
|
7
7
|
elBtnProps: {
|
|
8
|
-
type: () => import("
|
|
8
|
+
type: () => import("vue").ExtractPropTypes<{
|
|
9
9
|
readonly size: {
|
|
10
|
-
readonly type: import("
|
|
10
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
11
11
|
readonly required: false;
|
|
12
12
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
13
13
|
__epPropKey: true;
|
|
@@ -15,14 +15,14 @@ export declare const GmTest: import("@vue/runtime-core").DefineComponent<{
|
|
|
15
15
|
readonly disabled: BooleanConstructor;
|
|
16
16
|
readonly type: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
17
17
|
readonly icon: {
|
|
18
|
-
readonly type: import("
|
|
18
|
+
readonly 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>>;
|
|
19
19
|
readonly required: false;
|
|
20
20
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
21
21
|
__epPropKey: true;
|
|
22
22
|
};
|
|
23
23
|
readonly nativeType: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
24
24
|
readonly loading: BooleanConstructor;
|
|
25
|
-
readonly loadingIcon: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("
|
|
25
|
+
readonly loadingIcon: import("element-plus/es/utils/index.js").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>;
|
|
26
26
|
readonly plain: BooleanConstructor;
|
|
27
27
|
readonly text: BooleanConstructor;
|
|
28
28
|
readonly link: BooleanConstructor;
|
|
@@ -33,11 +33,11 @@ export declare const GmTest: import("@vue/runtime-core").DefineComponent<{
|
|
|
33
33
|
readonly color: StringConstructor;
|
|
34
34
|
readonly dark: BooleanConstructor;
|
|
35
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("
|
|
36
|
+
readonly tag: import("element-plus/es/utils/index.js").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>;
|
|
37
37
|
}>;
|
|
38
38
|
default: () => {
|
|
39
39
|
size: {
|
|
40
|
-
readonly type: import("
|
|
40
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
41
41
|
readonly required: false;
|
|
42
42
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
43
43
|
__epPropKey: true;
|
|
@@ -45,14 +45,14 @@ export declare const GmTest: import("@vue/runtime-core").DefineComponent<{
|
|
|
45
45
|
disabled: BooleanConstructor;
|
|
46
46
|
type: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
47
47
|
icon: {
|
|
48
|
-
readonly type: import("
|
|
48
|
+
readonly 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>>;
|
|
49
49
|
readonly required: false;
|
|
50
50
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
51
51
|
__epPropKey: true;
|
|
52
52
|
};
|
|
53
53
|
nativeType: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
54
54
|
loading: BooleanConstructor;
|
|
55
|
-
loadingIcon: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("
|
|
55
|
+
loadingIcon: import("element-plus/es/utils/index.js").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>;
|
|
56
56
|
plain: BooleanConstructor;
|
|
57
57
|
text: BooleanConstructor;
|
|
58
58
|
link: BooleanConstructor;
|
|
@@ -63,11 +63,11 @@ export declare const GmTest: import("@vue/runtime-core").DefineComponent<{
|
|
|
63
63
|
color: StringConstructor;
|
|
64
64
|
dark: BooleanConstructor;
|
|
65
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("
|
|
66
|
+
tag: import("element-plus/es/utils/index.js").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>;
|
|
67
67
|
};
|
|
68
68
|
};
|
|
69
69
|
size: {
|
|
70
|
-
readonly type: import("
|
|
70
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
71
71
|
readonly required: false;
|
|
72
72
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
73
73
|
__epPropKey: true;
|
|
@@ -75,14 +75,14 @@ export declare const GmTest: import("@vue/runtime-core").DefineComponent<{
|
|
|
75
75
|
disabled: BooleanConstructor;
|
|
76
76
|
type: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
77
77
|
icon: {
|
|
78
|
-
readonly type: import("
|
|
78
|
+
readonly 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>>;
|
|
79
79
|
readonly required: false;
|
|
80
80
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
81
81
|
__epPropKey: true;
|
|
82
82
|
};
|
|
83
83
|
nativeType: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
84
84
|
loading: BooleanConstructor;
|
|
85
|
-
loadingIcon: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("
|
|
85
|
+
loadingIcon: import("element-plus/es/utils/index.js").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>;
|
|
86
86
|
plain: BooleanConstructor;
|
|
87
87
|
text: BooleanConstructor;
|
|
88
88
|
link: BooleanConstructor;
|
|
@@ -93,18 +93,18 @@ export declare const GmTest: import("@vue/runtime-core").DefineComponent<{
|
|
|
93
93
|
color: StringConstructor;
|
|
94
94
|
dark: BooleanConstructor;
|
|
95
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("
|
|
97
|
-
}, {}, unknown, {}, {}, import("
|
|
96
|
+
tag: import("element-plus/es/utils/index.js").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>;
|
|
97
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
98
98
|
finishSubmit: () => void;
|
|
99
|
-
}, string, import("
|
|
99
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
100
100
|
title: {
|
|
101
101
|
type: StringConstructor;
|
|
102
102
|
default: string;
|
|
103
103
|
};
|
|
104
104
|
elBtnProps: {
|
|
105
|
-
type: () => import("
|
|
105
|
+
type: () => import("vue").ExtractPropTypes<{
|
|
106
106
|
readonly size: {
|
|
107
|
-
readonly type: import("
|
|
107
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
108
108
|
readonly required: false;
|
|
109
109
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
110
110
|
__epPropKey: true;
|
|
@@ -112,14 +112,14 @@ export declare const GmTest: import("@vue/runtime-core").DefineComponent<{
|
|
|
112
112
|
readonly disabled: BooleanConstructor;
|
|
113
113
|
readonly type: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
114
114
|
readonly icon: {
|
|
115
|
-
readonly type: import("
|
|
115
|
+
readonly 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>>;
|
|
116
116
|
readonly required: false;
|
|
117
117
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
118
118
|
__epPropKey: true;
|
|
119
119
|
};
|
|
120
120
|
readonly nativeType: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
121
121
|
readonly loading: BooleanConstructor;
|
|
122
|
-
readonly loadingIcon: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("
|
|
122
|
+
readonly loadingIcon: import("element-plus/es/utils/index.js").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>;
|
|
123
123
|
readonly plain: BooleanConstructor;
|
|
124
124
|
readonly text: BooleanConstructor;
|
|
125
125
|
readonly link: BooleanConstructor;
|
|
@@ -130,11 +130,11 @@ export declare const GmTest: import("@vue/runtime-core").DefineComponent<{
|
|
|
130
130
|
readonly color: StringConstructor;
|
|
131
131
|
readonly dark: BooleanConstructor;
|
|
132
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("
|
|
133
|
+
readonly tag: import("element-plus/es/utils/index.js").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>;
|
|
134
134
|
}>;
|
|
135
135
|
default: () => {
|
|
136
136
|
size: {
|
|
137
|
-
readonly type: import("
|
|
137
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
138
138
|
readonly required: false;
|
|
139
139
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
140
140
|
__epPropKey: true;
|
|
@@ -142,14 +142,14 @@ export declare const GmTest: import("@vue/runtime-core").DefineComponent<{
|
|
|
142
142
|
disabled: BooleanConstructor;
|
|
143
143
|
type: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
144
144
|
icon: {
|
|
145
|
-
readonly type: import("
|
|
145
|
+
readonly 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>>;
|
|
146
146
|
readonly required: false;
|
|
147
147
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
148
148
|
__epPropKey: true;
|
|
149
149
|
};
|
|
150
150
|
nativeType: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
151
151
|
loading: BooleanConstructor;
|
|
152
|
-
loadingIcon: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("
|
|
152
|
+
loadingIcon: import("element-plus/es/utils/index.js").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>;
|
|
153
153
|
plain: BooleanConstructor;
|
|
154
154
|
text: BooleanConstructor;
|
|
155
155
|
link: BooleanConstructor;
|
|
@@ -160,11 +160,11 @@ export declare const GmTest: import("@vue/runtime-core").DefineComponent<{
|
|
|
160
160
|
color: StringConstructor;
|
|
161
161
|
dark: BooleanConstructor;
|
|
162
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("
|
|
163
|
+
tag: import("element-plus/es/utils/index.js").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>;
|
|
164
164
|
};
|
|
165
165
|
};
|
|
166
166
|
size: {
|
|
167
|
-
readonly type: import("
|
|
167
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
168
168
|
readonly required: false;
|
|
169
169
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
170
170
|
__epPropKey: true;
|
|
@@ -172,14 +172,14 @@ export declare const GmTest: import("@vue/runtime-core").DefineComponent<{
|
|
|
172
172
|
disabled: BooleanConstructor;
|
|
173
173
|
type: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
174
174
|
icon: {
|
|
175
|
-
readonly type: import("
|
|
175
|
+
readonly 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>>;
|
|
176
176
|
readonly required: false;
|
|
177
177
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
178
178
|
__epPropKey: true;
|
|
179
179
|
};
|
|
180
180
|
nativeType: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
181
181
|
loading: BooleanConstructor;
|
|
182
|
-
loadingIcon: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("
|
|
182
|
+
loadingIcon: import("element-plus/es/utils/index.js").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>;
|
|
183
183
|
plain: BooleanConstructor;
|
|
184
184
|
text: BooleanConstructor;
|
|
185
185
|
link: BooleanConstructor;
|
|
@@ -190,7 +190,7 @@ export declare const GmTest: import("@vue/runtime-core").DefineComponent<{
|
|
|
190
190
|
color: StringConstructor;
|
|
191
191
|
dark: BooleanConstructor;
|
|
192
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("
|
|
193
|
+
tag: import("element-plus/es/utils/index.js").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>;
|
|
194
194
|
}>> & {
|
|
195
195
|
onFinishSubmit?: (() => any) | undefined;
|
|
196
196
|
}, {
|
|
@@ -199,7 +199,7 @@ export declare const GmTest: import("@vue/runtime-core").DefineComponent<{
|
|
|
199
199
|
disabled: boolean;
|
|
200
200
|
nativeType: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>;
|
|
201
201
|
loading: boolean;
|
|
202
|
-
loadingIcon: import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("
|
|
202
|
+
loadingIcon: 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>;
|
|
203
203
|
plain: boolean;
|
|
204
204
|
link: boolean;
|
|
205
205
|
bg: boolean;
|
|
@@ -208,11 +208,11 @@ export declare const GmTest: import("@vue/runtime-core").DefineComponent<{
|
|
|
208
208
|
circle: boolean;
|
|
209
209
|
dark: boolean;
|
|
210
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("
|
|
211
|
+
tag: 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>;
|
|
212
212
|
title: string;
|
|
213
|
-
elBtnProps: import("
|
|
213
|
+
elBtnProps: import("vue").ExtractPropTypes<{
|
|
214
214
|
readonly size: {
|
|
215
|
-
readonly type: import("
|
|
215
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
216
216
|
readonly required: false;
|
|
217
217
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
218
218
|
__epPropKey: true;
|
|
@@ -220,14 +220,14 @@ export declare const GmTest: import("@vue/runtime-core").DefineComponent<{
|
|
|
220
220
|
readonly disabled: BooleanConstructor;
|
|
221
221
|
readonly type: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
222
222
|
readonly icon: {
|
|
223
|
-
readonly type: import("
|
|
223
|
+
readonly 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>>;
|
|
224
224
|
readonly required: false;
|
|
225
225
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
226
226
|
__epPropKey: true;
|
|
227
227
|
};
|
|
228
228
|
readonly nativeType: import("element-plus/es/utils/index.js").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
229
229
|
readonly loading: BooleanConstructor;
|
|
230
|
-
readonly loadingIcon: import("element-plus/es/utils/index.js").EpPropFinalized<(new (...args: any[]) => (string | import("
|
|
230
|
+
readonly loadingIcon: import("element-plus/es/utils/index.js").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>;
|
|
231
231
|
readonly plain: BooleanConstructor;
|
|
232
232
|
readonly text: BooleanConstructor;
|
|
233
233
|
readonly link: BooleanConstructor;
|
|
@@ -238,9 +238,9 @@ export declare const GmTest: import("@vue/runtime-core").DefineComponent<{
|
|
|
238
238
|
readonly color: StringConstructor;
|
|
239
239
|
readonly dark: BooleanConstructor;
|
|
240
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("
|
|
241
|
+
readonly tag: import("element-plus/es/utils/index.js").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>;
|
|
242
242
|
}>;
|
|
243
|
-
}, {}>;
|
|
243
|
+
}, {}>> & Record<string, any>;
|
|
244
244
|
export type TestInstance = InstanceType<typeof Test>;
|
|
245
245
|
export * from './test';
|
|
246
246
|
export default GmTest;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { withInstall } from '../../../utils/src/vue/install.mjs';
|
|
1
2
|
import Test from './Test.vue.mjs';
|
|
2
3
|
export { testProps } from './test.mjs';
|
|
3
4
|
|
|
4
|
-
const GmTest = Test;
|
|
5
|
+
const GmTest = withInstall(Test);
|
|
5
6
|
|
|
6
7
|
export { GmTest, GmTest as default };
|
|
7
8
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../../packages/components/src/test/index.ts"],"sourcesContent":["import Test from './Test.vue';\r\nexport const GmTest = Test;\r\nexport type TestInstance = InstanceType<typeof Test>;\r\nexport * from './test';\r\nexport default GmTest;\r\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../packages/components/src/test/index.ts"],"sourcesContent":["import { withInstall } from '@giime/utils/src/vue/install';\r\nimport Test from './Test.vue';\r\nexport const GmTest = withInstall(Test);\r\nexport type TestInstance = InstanceType<typeof Test>;\r\nexport * from './test';\r\nexport default GmTest;\r\n"],"names":[],"mappings":";;;;AAEa,MAAA,MAAA,GAAS,YAAY,IAAI;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './key';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const INSTALLED_KEY: unique symbol;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"key.mjs","sources":["../../../../packages/constants/key.ts"],"sourcesContent":["export const INSTALLED_KEY = Symbol('INSTALLED_KEY');\n"],"names":[],"mappings":"AAAa,MAAA,aAAA,GAAgB,OAAO,eAAe;;;;"}
|