giime 0.0.0-dev.1 → 0.0.0-dev.11
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/README.md +16 -0
- package/es/components/index.d.ts +1 -1
- package/es/components/index.mjs +2 -1
- package/es/components/index.mjs.map +1 -1
- package/es/components/src/test/Test.vue.d.ts +243 -0
- package/es/components/src/test/Test.vue.mjs +8 -0
- package/es/components/src/test/Test.vue.mjs.map +1 -0
- package/es/components/src/test/Test.vue2.mjs +64 -0
- package/es/components/src/test/Test.vue2.mjs.map +1 -0
- package/es/components/src/{text/Text.vue3.mjs → test/Test.vue3.mjs} +1 -1
- package/es/components/src/test/Test.vue3.mjs.map +1 -0
- package/es/components/src/test/index.d.ts +246 -0
- package/es/components/src/test/index.mjs +7 -0
- package/es/components/src/test/index.mjs.map +1 -0
- package/es/components/src/test/test.d.ts +72 -0
- package/es/components/src/test/test.mjs +16 -0
- package/es/components/src/test/test.mjs.map +1 -0
- package/es/giime/component.d.ts +242 -1
- package/es/giime/component.mjs +2 -2
- package/es/giime/component.mjs.map +1 -1
- package/es/giime/index.d.ts +1 -0
- package/es/giime/index.mjs +3 -1
- package/es/giime/index.mjs.map +1 -1
- package/es/giime/tailwind.css.mjs +4 -0
- package/es/giime/tailwind.css.mjs.map +1 -0
- package/es/index.css +494 -2
- package/es/theme-chalk/tailwindPreset.d.ts +93 -0
- package/es/theme-chalk/tailwindPreset.mjs +70 -0
- package/es/theme-chalk/tailwindPreset.mjs.map +1 -0
- package/lib/components/index.d.ts +1 -1
- package/lib/components/index.js +4 -2
- package/lib/components/index.js.map +1 -1
- package/lib/components/src/test/Test.vue.d.ts +243 -0
- package/lib/components/src/test/Test.vue.js +12 -0
- package/lib/components/src/test/Test.vue.js.map +1 -0
- package/lib/components/src/test/Test.vue2.js +68 -0
- package/lib/components/src/test/Test.vue2.js.map +1 -0
- package/lib/components/src/{text/Text.vue3.js → test/Test.vue3.js} +1 -1
- package/lib/components/src/test/Test.vue3.js.map +1 -0
- package/lib/components/src/test/index.d.ts +246 -0
- package/lib/components/src/test/index.js +13 -0
- package/lib/components/src/test/index.js.map +1 -0
- package/lib/components/src/test/test.d.ts +72 -0
- package/lib/components/src/test/test.js +18 -0
- package/lib/components/src/test/test.js.map +1 -0
- package/lib/giime/component.d.ts +242 -1
- package/lib/giime/component.js +2 -2
- package/lib/giime/component.js.map +1 -1
- package/lib/giime/index.d.ts +1 -0
- package/lib/giime/index.js +5 -2
- package/lib/giime/index.js.map +1 -1
- package/lib/giime/tailwind.css.js +8 -0
- package/lib/giime/tailwind.css.js.map +1 -0
- package/lib/index.css +494 -2
- package/lib/theme-chalk/tailwindPreset.d.ts +93 -0
- package/lib/theme-chalk/tailwindPreset.js +74 -0
- package/lib/theme-chalk/tailwindPreset.js.map +1 -0
- package/package.json +9 -1
- package/theme-chalk/index.css +61 -0
- package/es/components/src/text/Text.vue.d.ts +0 -2
- package/es/components/src/text/Text.vue.mjs +0 -8
- package/es/components/src/text/Text.vue.mjs.map +0 -1
- package/es/components/src/text/Text.vue2.mjs +0 -18
- package/es/components/src/text/Text.vue2.mjs.map +0 -1
- package/es/components/src/text/Text.vue3.mjs.map +0 -1
- package/es/components/src/text/index.d.ts +0 -2
- package/es/components/src/text/index.mjs +0 -6
- package/es/components/src/text/index.mjs.map +0 -1
- package/lib/components/src/text/Text.vue.d.ts +0 -2
- package/lib/components/src/text/Text.vue.js +0 -12
- package/lib/components/src/text/Text.vue.js.map +0 -1
- package/lib/components/src/text/Text.vue2.js +0 -22
- package/lib/components/src/text/Text.vue2.js.map +0 -1
- package/lib/components/src/text/Text.vue3.js.map +0 -1
- package/lib/components/src/text/index.d.ts +0 -2
- package/lib/components/src/text/index.js +0 -11
- package/lib/components/src/text/index.js.map +0 -1
package/README.md
CHANGED
|
@@ -17,6 +17,22 @@
|
|
|
17
17
|
pnpm add giime
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
+
## 待办项
|
|
21
|
+
|
|
22
|
+
- [] 组件自动导入
|
|
23
|
+
- ~~[] css如何分块~~
|
|
24
|
+
- [x] 接入tailwind
|
|
25
|
+
- [] 接入pinia
|
|
26
|
+
- [x] 实现playground(测试操场)
|
|
27
|
+
|
|
28
|
+
## 组件
|
|
29
|
+
|
|
30
|
+
- [] 按钮
|
|
31
|
+
- [] 输入框
|
|
32
|
+
- [] 抽屉表单
|
|
33
|
+
- [] 弹窗表单
|
|
34
|
+
- [] 表格
|
|
35
|
+
|
|
20
36
|
## 贡献
|
|
21
37
|
|
|
22
38
|
如果您有兴趣帮助改进Giime,欢迎提交Pull Request或创建Issue。
|
package/es/components/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './src/
|
|
1
|
+
export * from './src/test';
|
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,243 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
title: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
elBtnProps: {
|
|
7
|
+
type: () => import("vue").ExtractPropTypes<{
|
|
8
|
+
readonly size: {
|
|
9
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
10
|
+
readonly required: false;
|
|
11
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
12
|
+
__epPropKey: true;
|
|
13
|
+
};
|
|
14
|
+
readonly disabled: BooleanConstructor;
|
|
15
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
16
|
+
readonly icon: {
|
|
17
|
+
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>>;
|
|
18
|
+
readonly required: false;
|
|
19
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
20
|
+
__epPropKey: true;
|
|
21
|
+
};
|
|
22
|
+
readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
23
|
+
readonly loading: BooleanConstructor;
|
|
24
|
+
readonly 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>;
|
|
25
|
+
readonly plain: BooleanConstructor;
|
|
26
|
+
readonly text: BooleanConstructor;
|
|
27
|
+
readonly link: BooleanConstructor;
|
|
28
|
+
readonly bg: BooleanConstructor;
|
|
29
|
+
readonly autofocus: BooleanConstructor;
|
|
30
|
+
readonly round: BooleanConstructor;
|
|
31
|
+
readonly circle: BooleanConstructor;
|
|
32
|
+
readonly color: StringConstructor;
|
|
33
|
+
readonly dark: BooleanConstructor;
|
|
34
|
+
readonly autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
35
|
+
readonly 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>;
|
|
36
|
+
}>;
|
|
37
|
+
default: () => {
|
|
38
|
+
size: {
|
|
39
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
40
|
+
readonly required: false;
|
|
41
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
42
|
+
__epPropKey: true;
|
|
43
|
+
};
|
|
44
|
+
disabled: BooleanConstructor;
|
|
45
|
+
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
46
|
+
icon: {
|
|
47
|
+
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>>;
|
|
48
|
+
readonly required: false;
|
|
49
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
50
|
+
__epPropKey: true;
|
|
51
|
+
};
|
|
52
|
+
nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
53
|
+
loading: BooleanConstructor;
|
|
54
|
+
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>;
|
|
55
|
+
plain: BooleanConstructor;
|
|
56
|
+
text: BooleanConstructor;
|
|
57
|
+
link: BooleanConstructor;
|
|
58
|
+
bg: BooleanConstructor;
|
|
59
|
+
autofocus: BooleanConstructor;
|
|
60
|
+
round: BooleanConstructor;
|
|
61
|
+
circle: BooleanConstructor;
|
|
62
|
+
color: StringConstructor;
|
|
63
|
+
dark: BooleanConstructor;
|
|
64
|
+
autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
65
|
+
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>;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
size: {
|
|
69
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
70
|
+
readonly required: false;
|
|
71
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
72
|
+
__epPropKey: true;
|
|
73
|
+
};
|
|
74
|
+
disabled: BooleanConstructor;
|
|
75
|
+
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
76
|
+
icon: {
|
|
77
|
+
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>>;
|
|
78
|
+
readonly required: false;
|
|
79
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
80
|
+
__epPropKey: true;
|
|
81
|
+
};
|
|
82
|
+
nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
83
|
+
loading: BooleanConstructor;
|
|
84
|
+
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>;
|
|
85
|
+
plain: BooleanConstructor;
|
|
86
|
+
text: BooleanConstructor;
|
|
87
|
+
link: BooleanConstructor;
|
|
88
|
+
bg: BooleanConstructor;
|
|
89
|
+
autofocus: BooleanConstructor;
|
|
90
|
+
round: BooleanConstructor;
|
|
91
|
+
circle: BooleanConstructor;
|
|
92
|
+
color: StringConstructor;
|
|
93
|
+
dark: BooleanConstructor;
|
|
94
|
+
autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
95
|
+
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>;
|
|
96
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
97
|
+
finishSubmit: () => void;
|
|
98
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
99
|
+
title: {
|
|
100
|
+
type: StringConstructor;
|
|
101
|
+
default: string;
|
|
102
|
+
};
|
|
103
|
+
elBtnProps: {
|
|
104
|
+
type: () => import("vue").ExtractPropTypes<{
|
|
105
|
+
readonly size: {
|
|
106
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
107
|
+
readonly required: false;
|
|
108
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
109
|
+
__epPropKey: true;
|
|
110
|
+
};
|
|
111
|
+
readonly disabled: BooleanConstructor;
|
|
112
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
113
|
+
readonly icon: {
|
|
114
|
+
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>>;
|
|
115
|
+
readonly required: false;
|
|
116
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
117
|
+
__epPropKey: true;
|
|
118
|
+
};
|
|
119
|
+
readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
120
|
+
readonly loading: BooleanConstructor;
|
|
121
|
+
readonly 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>;
|
|
122
|
+
readonly plain: BooleanConstructor;
|
|
123
|
+
readonly text: BooleanConstructor;
|
|
124
|
+
readonly link: BooleanConstructor;
|
|
125
|
+
readonly bg: BooleanConstructor;
|
|
126
|
+
readonly autofocus: BooleanConstructor;
|
|
127
|
+
readonly round: BooleanConstructor;
|
|
128
|
+
readonly circle: BooleanConstructor;
|
|
129
|
+
readonly color: StringConstructor;
|
|
130
|
+
readonly dark: BooleanConstructor;
|
|
131
|
+
readonly autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
132
|
+
readonly 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>;
|
|
133
|
+
}>;
|
|
134
|
+
default: () => {
|
|
135
|
+
size: {
|
|
136
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
137
|
+
readonly required: false;
|
|
138
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
139
|
+
__epPropKey: true;
|
|
140
|
+
};
|
|
141
|
+
disabled: BooleanConstructor;
|
|
142
|
+
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
143
|
+
icon: {
|
|
144
|
+
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>>;
|
|
145
|
+
readonly required: false;
|
|
146
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
147
|
+
__epPropKey: true;
|
|
148
|
+
};
|
|
149
|
+
nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
150
|
+
loading: BooleanConstructor;
|
|
151
|
+
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>;
|
|
152
|
+
plain: BooleanConstructor;
|
|
153
|
+
text: BooleanConstructor;
|
|
154
|
+
link: BooleanConstructor;
|
|
155
|
+
bg: BooleanConstructor;
|
|
156
|
+
autofocus: BooleanConstructor;
|
|
157
|
+
round: BooleanConstructor;
|
|
158
|
+
circle: BooleanConstructor;
|
|
159
|
+
color: StringConstructor;
|
|
160
|
+
dark: BooleanConstructor;
|
|
161
|
+
autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
162
|
+
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>;
|
|
163
|
+
};
|
|
164
|
+
};
|
|
165
|
+
size: {
|
|
166
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
167
|
+
readonly required: false;
|
|
168
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
169
|
+
__epPropKey: true;
|
|
170
|
+
};
|
|
171
|
+
disabled: BooleanConstructor;
|
|
172
|
+
type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
173
|
+
icon: {
|
|
174
|
+
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>>;
|
|
175
|
+
readonly required: false;
|
|
176
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
177
|
+
__epPropKey: true;
|
|
178
|
+
};
|
|
179
|
+
nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
180
|
+
loading: BooleanConstructor;
|
|
181
|
+
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>;
|
|
182
|
+
plain: BooleanConstructor;
|
|
183
|
+
text: BooleanConstructor;
|
|
184
|
+
link: BooleanConstructor;
|
|
185
|
+
bg: BooleanConstructor;
|
|
186
|
+
autofocus: BooleanConstructor;
|
|
187
|
+
round: BooleanConstructor;
|
|
188
|
+
circle: BooleanConstructor;
|
|
189
|
+
color: StringConstructor;
|
|
190
|
+
dark: BooleanConstructor;
|
|
191
|
+
autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
192
|
+
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>;
|
|
193
|
+
}>> & {
|
|
194
|
+
onFinishSubmit?: (() => any) | undefined;
|
|
195
|
+
}, {
|
|
196
|
+
text: boolean;
|
|
197
|
+
type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown>;
|
|
198
|
+
disabled: boolean;
|
|
199
|
+
nativeType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>;
|
|
200
|
+
loading: boolean;
|
|
201
|
+
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>;
|
|
202
|
+
plain: boolean;
|
|
203
|
+
link: boolean;
|
|
204
|
+
bg: boolean;
|
|
205
|
+
autofocus: boolean;
|
|
206
|
+
round: boolean;
|
|
207
|
+
circle: boolean;
|
|
208
|
+
dark: boolean;
|
|
209
|
+
autoInsertSpace: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
210
|
+
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>;
|
|
211
|
+
title: string;
|
|
212
|
+
elBtnProps: import("vue").ExtractPropTypes<{
|
|
213
|
+
readonly size: {
|
|
214
|
+
readonly type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
215
|
+
readonly required: false;
|
|
216
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
217
|
+
__epPropKey: true;
|
|
218
|
+
};
|
|
219
|
+
readonly disabled: BooleanConstructor;
|
|
220
|
+
readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
|
|
221
|
+
readonly icon: {
|
|
222
|
+
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>>;
|
|
223
|
+
readonly required: false;
|
|
224
|
+
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
225
|
+
__epPropKey: true;
|
|
226
|
+
};
|
|
227
|
+
readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
|
|
228
|
+
readonly loading: BooleanConstructor;
|
|
229
|
+
readonly 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>;
|
|
230
|
+
readonly plain: BooleanConstructor;
|
|
231
|
+
readonly text: BooleanConstructor;
|
|
232
|
+
readonly link: BooleanConstructor;
|
|
233
|
+
readonly bg: BooleanConstructor;
|
|
234
|
+
readonly autofocus: BooleanConstructor;
|
|
235
|
+
readonly round: BooleanConstructor;
|
|
236
|
+
readonly circle: BooleanConstructor;
|
|
237
|
+
readonly color: StringConstructor;
|
|
238
|
+
readonly dark: BooleanConstructor;
|
|
239
|
+
readonly autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
|
|
240
|
+
readonly 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>;
|
|
241
|
+
}>;
|
|
242
|
+
}, {}>;
|
|
243
|
+
export default _default;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import _sfc_main from './Test.vue2.mjs';
|
|
2
|
+
import './Test.vue3.mjs';
|
|
3
|
+
import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.mjs';
|
|
4
|
+
|
|
5
|
+
var Test = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d650d997"], ["__file", "Test.vue"]]);
|
|
6
|
+
|
|
7
|
+
export { Test as default };
|
|
8
|
+
//# sourceMappingURL=Test.vue.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Test.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { pushScopeId, popScopeId, createElementVNode, defineComponent, resolveComponent, openBlock, createElementBlock, createTextVNode, toDisplayString, createVNode, mergeProps, withCtx } from 'vue';
|
|
2
|
+
import { testProps } from './test.mjs';
|
|
3
|
+
|
|
4
|
+
const _withScopeId = (n) => (pushScopeId("data-v-d650d997"), n = n(), popScopeId(), n);
|
|
5
|
+
const _hoisted_1 = { class: "gm-text gm-text-title" };
|
|
6
|
+
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
7
|
+
"span",
|
|
8
|
+
null,
|
|
9
|
+
"There little thoughts are the rustle of leaves; they have their whisper of joy in my mind.",
|
|
10
|
+
-1
|
|
11
|
+
/* HOISTED */
|
|
12
|
+
));
|
|
13
|
+
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
14
|
+
...{
|
|
15
|
+
name: "GmText"
|
|
16
|
+
},
|
|
17
|
+
__name: "Test",
|
|
18
|
+
props: testProps,
|
|
19
|
+
emits: ["finishSubmit"],
|
|
20
|
+
setup(__props, { emit: __emit }) {
|
|
21
|
+
const props = __props;
|
|
22
|
+
const emit = __emit;
|
|
23
|
+
return (_ctx, _cache) => {
|
|
24
|
+
const _component_el_button = resolveComponent("el-button");
|
|
25
|
+
const _component_el_divider = resolveComponent("el-divider");
|
|
26
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
27
|
+
createTextVNode(
|
|
28
|
+
toDisplayString(props) + " ",
|
|
29
|
+
1
|
|
30
|
+
/* TEXT */
|
|
31
|
+
),
|
|
32
|
+
createVNode(
|
|
33
|
+
_component_el_button,
|
|
34
|
+
mergeProps(props, {
|
|
35
|
+
onClick: _cache[0] || (_cache[0] = ($event) => emit("finishSubmit"))
|
|
36
|
+
}),
|
|
37
|
+
{
|
|
38
|
+
default: withCtx(() => [
|
|
39
|
+
createTextVNode(
|
|
40
|
+
toDisplayString(_ctx.title),
|
|
41
|
+
1
|
|
42
|
+
/* TEXT */
|
|
43
|
+
)
|
|
44
|
+
]),
|
|
45
|
+
_: 1
|
|
46
|
+
/* STABLE */
|
|
47
|
+
},
|
|
48
|
+
16
|
|
49
|
+
/* FULL_PROPS */
|
|
50
|
+
),
|
|
51
|
+
createTextVNode(
|
|
52
|
+
" " + toDisplayString(props.title) + " " + toDisplayString(props.type) + " ",
|
|
53
|
+
1
|
|
54
|
+
/* TEXT */
|
|
55
|
+
),
|
|
56
|
+
createVNode(_component_el_divider),
|
|
57
|
+
_hoisted_2
|
|
58
|
+
]);
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
export { _sfc_main as default };
|
|
64
|
+
//# sourceMappingURL=Test.vue2.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Test.vue2.mjs","sources":["../../../../../../packages/components/src/test/Test.vue"],"sourcesContent":["<template>\r\n <div class=\"gm-text gm-text-title\">\r\n {{ props }}\r\n <el-button v-bind=\"props\" @click=\"emit('finishSubmit')\">{{ title }}</el-button>\r\n {{ props.title }}\r\n {{ props.type }}\r\n <el-divider />\r\n <span>There little thoughts are the rustle of leaves; they have their whisper of joy in my mind.</span>\r\n </div>\r\n</template>\r\n<script lang=\"ts\" setup>\r\nimport { type TestEmits, testProps } from './test';\r\n\r\ndefineOptions({\r\n name: 'GmText',\r\n});\r\nconst props = defineProps(testProps);\r\nconst emit = defineEmits([\"finishSubmit\"]);\r\n</script>\r\n<style scoped>\r\n.gm-text {\r\n color: var(--gm-text-color-primary);\r\n}\r\n</style>\r\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;AAgBA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AACd,IAAA,MAAM,IAAO,GAAA,MAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Test.vue3.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|