giime 0.0.0-dev.3 → 0.0.0-dev.5
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 -1
- package/es/components/index.mjs +1 -1
- package/es/components/src/test/Test.vue.d.ts +33 -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 +55 -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 +158 -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 +7 -0
- package/es/components/src/test/test.mjs +2 -0
- package/es/components/src/test/test.mjs.map +1 -0
- package/es/giime/component.d.ts +154 -1
- package/es/giime/component.mjs +2 -2
- package/es/giime/component.mjs.map +1 -1
- package/es/giime/index.mjs +1 -1
- package/es/{index.css → tailwindPreset.css} +1 -1
- package/lib/components/index.d.ts +1 -1
- package/lib/components/index.js +2 -2
- package/lib/components/src/test/Test.vue.d.ts +33 -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 +59 -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 +158 -0
- package/lib/components/src/test/index.js +12 -0
- package/lib/components/src/test/index.js.map +1 -0
- package/lib/components/src/test/test.d.ts +7 -0
- package/lib/components/src/test/test.js +3 -0
- package/lib/components/src/test/test.js.map +1 -0
- package/lib/giime/component.d.ts +154 -1
- package/lib/giime/component.js +2 -2
- package/lib/giime/component.js.map +1 -1
- package/lib/giime/index.js +2 -2
- package/lib/{index.css → tailwindPreset.css} +1 -1
- package/package.json +1 -1
- 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/es/components/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './src/
|
|
1
|
+
export * from './src/test';
|
package/es/components/index.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { GmTest } from './src/test/index.mjs';
|
|
2
2
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { TestProps } from './test';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<TestProps>, {
|
|
3
|
+
title: string;
|
|
4
|
+
type: string;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
finishSubmit: () => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<TestProps>, {
|
|
8
|
+
title: string;
|
|
9
|
+
type: string;
|
|
10
|
+
}>>> & {
|
|
11
|
+
onFinishSubmit?: (() => any) | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
14
|
+
title: string;
|
|
15
|
+
}, {}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithDefaults<P, D> = {
|
|
18
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
19
|
+
default: D[K];
|
|
20
|
+
}> : P[K];
|
|
21
|
+
};
|
|
22
|
+
type __VLS_Prettify<T> = {
|
|
23
|
+
[K in keyof T]: T[K];
|
|
24
|
+
} & {};
|
|
25
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
+
type __VLS_TypePropsToOption<T> = {
|
|
27
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
+
} : {
|
|
30
|
+
type: import('vue').PropType<T[K]>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -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-d1e5d5b2"], ["__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,55 @@
|
|
|
1
|
+
import { pushScopeId, popScopeId, createElementVNode, defineComponent, resolveComponent, openBlock, createElementBlock, createVNode, mergeProps, withCtx, createTextVNode, toDisplayString } from 'vue';
|
|
2
|
+
|
|
3
|
+
const _withScopeId = (n) => (pushScopeId("data-v-d1e5d5b2"), n = n(), popScopeId(), n);
|
|
4
|
+
const _hoisted_1 = { class: "gm-text gm-text-title" };
|
|
5
|
+
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode(
|
|
6
|
+
"span",
|
|
7
|
+
null,
|
|
8
|
+
"There little thoughts are the rustle of leaves; they have their whisper of joy in my mind.",
|
|
9
|
+
-1
|
|
10
|
+
/* HOISTED */
|
|
11
|
+
));
|
|
12
|
+
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
13
|
+
...{
|
|
14
|
+
name: "GmText"
|
|
15
|
+
},
|
|
16
|
+
__name: "Test",
|
|
17
|
+
props: {
|
|
18
|
+
title: { type: String, required: false, default: "test" }
|
|
19
|
+
},
|
|
20
|
+
emits: ["finishSubmit"],
|
|
21
|
+
setup(__props, { emit: __emit }) {
|
|
22
|
+
const props = __props;
|
|
23
|
+
const emit = __emit;
|
|
24
|
+
return (_ctx, _cache) => {
|
|
25
|
+
const _component_el_button = resolveComponent("el-button");
|
|
26
|
+
const _component_el_divider = resolveComponent("el-divider");
|
|
27
|
+
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
28
|
+
createVNode(
|
|
29
|
+
_component_el_button,
|
|
30
|
+
mergeProps(props, {
|
|
31
|
+
onClick: _cache[0] || (_cache[0] = ($event) => emit("finishSubmit"))
|
|
32
|
+
}),
|
|
33
|
+
{
|
|
34
|
+
default: withCtx(() => [
|
|
35
|
+
createTextVNode(
|
|
36
|
+
toDisplayString(__props.title),
|
|
37
|
+
1
|
|
38
|
+
/* TEXT */
|
|
39
|
+
)
|
|
40
|
+
]),
|
|
41
|
+
_: 1
|
|
42
|
+
/* STABLE */
|
|
43
|
+
},
|
|
44
|
+
16
|
|
45
|
+
/* FULL_PROPS */
|
|
46
|
+
),
|
|
47
|
+
createVNode(_component_el_divider),
|
|
48
|
+
_hoisted_2
|
|
49
|
+
]);
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
export { _sfc_main as default };
|
|
55
|
+
//# 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 <el-button v-bind=\"props\" @click=\"emit('finishSubmit')\">{{ title }}</el-button>\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({\n title: { type: String, required: false, default: 'test' }\n});\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":";;;;;;;;;;;;;;;;;;;;;AAaA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAGd,IAAA,MAAM,IAAO,GAAA,MAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Test.vue3.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
|
|
@@ -0,0 +1,158 @@
|
|
|
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
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
readonly type: {
|
|
11
|
+
type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
12
|
+
required: true;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
readonly icon: {
|
|
16
|
+
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>>;
|
|
17
|
+
};
|
|
18
|
+
readonly nativeType: {
|
|
19
|
+
type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>>;
|
|
20
|
+
required: true;
|
|
21
|
+
};
|
|
22
|
+
readonly loading: {
|
|
23
|
+
type: import("vue").PropType<boolean>;
|
|
24
|
+
required: true;
|
|
25
|
+
};
|
|
26
|
+
readonly loadingIcon: {
|
|
27
|
+
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>>;
|
|
28
|
+
};
|
|
29
|
+
readonly plain: {
|
|
30
|
+
type: import("vue").PropType<boolean>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
readonly text: {
|
|
34
|
+
type: import("vue").PropType<boolean>;
|
|
35
|
+
required: true;
|
|
36
|
+
};
|
|
37
|
+
readonly link: {
|
|
38
|
+
type: import("vue").PropType<boolean>;
|
|
39
|
+
required: true;
|
|
40
|
+
};
|
|
41
|
+
readonly bg: {
|
|
42
|
+
type: import("vue").PropType<boolean>;
|
|
43
|
+
required: true;
|
|
44
|
+
};
|
|
45
|
+
readonly autofocus: {
|
|
46
|
+
type: import("vue").PropType<boolean>;
|
|
47
|
+
required: true;
|
|
48
|
+
};
|
|
49
|
+
readonly round: {
|
|
50
|
+
type: import("vue").PropType<boolean>;
|
|
51
|
+
required: true;
|
|
52
|
+
};
|
|
53
|
+
readonly circle: {
|
|
54
|
+
type: import("vue").PropType<boolean>;
|
|
55
|
+
required: true;
|
|
56
|
+
};
|
|
57
|
+
readonly color: {
|
|
58
|
+
type: import("vue").PropType<string>;
|
|
59
|
+
};
|
|
60
|
+
readonly dark: {
|
|
61
|
+
type: import("vue").PropType<boolean>;
|
|
62
|
+
required: true;
|
|
63
|
+
};
|
|
64
|
+
readonly autoInsertSpace: {
|
|
65
|
+
type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
66
|
+
};
|
|
67
|
+
readonly tag: {
|
|
68
|
+
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>>;
|
|
69
|
+
required: true;
|
|
70
|
+
};
|
|
71
|
+
title: {
|
|
72
|
+
type: import("vue").PropType<string>;
|
|
73
|
+
default: string;
|
|
74
|
+
};
|
|
75
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
76
|
+
finishSubmit: () => void;
|
|
77
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
78
|
+
readonly size: {
|
|
79
|
+
type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
80
|
+
};
|
|
81
|
+
readonly disabled: {
|
|
82
|
+
type: import("vue").PropType<boolean>;
|
|
83
|
+
required: true;
|
|
84
|
+
};
|
|
85
|
+
readonly type: {
|
|
86
|
+
type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
87
|
+
required: true;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
readonly icon: {
|
|
91
|
+
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>>;
|
|
92
|
+
};
|
|
93
|
+
readonly nativeType: {
|
|
94
|
+
type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>>;
|
|
95
|
+
required: true;
|
|
96
|
+
};
|
|
97
|
+
readonly loading: {
|
|
98
|
+
type: import("vue").PropType<boolean>;
|
|
99
|
+
required: true;
|
|
100
|
+
};
|
|
101
|
+
readonly loadingIcon: {
|
|
102
|
+
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>>;
|
|
103
|
+
};
|
|
104
|
+
readonly plain: {
|
|
105
|
+
type: import("vue").PropType<boolean>;
|
|
106
|
+
required: true;
|
|
107
|
+
};
|
|
108
|
+
readonly text: {
|
|
109
|
+
type: import("vue").PropType<boolean>;
|
|
110
|
+
required: true;
|
|
111
|
+
};
|
|
112
|
+
readonly link: {
|
|
113
|
+
type: import("vue").PropType<boolean>;
|
|
114
|
+
required: true;
|
|
115
|
+
};
|
|
116
|
+
readonly bg: {
|
|
117
|
+
type: import("vue").PropType<boolean>;
|
|
118
|
+
required: true;
|
|
119
|
+
};
|
|
120
|
+
readonly autofocus: {
|
|
121
|
+
type: import("vue").PropType<boolean>;
|
|
122
|
+
required: true;
|
|
123
|
+
};
|
|
124
|
+
readonly round: {
|
|
125
|
+
type: import("vue").PropType<boolean>;
|
|
126
|
+
required: true;
|
|
127
|
+
};
|
|
128
|
+
readonly circle: {
|
|
129
|
+
type: import("vue").PropType<boolean>;
|
|
130
|
+
required: true;
|
|
131
|
+
};
|
|
132
|
+
readonly color: {
|
|
133
|
+
type: import("vue").PropType<string>;
|
|
134
|
+
};
|
|
135
|
+
readonly dark: {
|
|
136
|
+
type: import("vue").PropType<boolean>;
|
|
137
|
+
required: true;
|
|
138
|
+
};
|
|
139
|
+
readonly autoInsertSpace: {
|
|
140
|
+
type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
141
|
+
};
|
|
142
|
+
readonly tag: {
|
|
143
|
+
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>>;
|
|
144
|
+
required: true;
|
|
145
|
+
};
|
|
146
|
+
title: {
|
|
147
|
+
type: import("vue").PropType<string>;
|
|
148
|
+
default: string;
|
|
149
|
+
};
|
|
150
|
+
}>> & {
|
|
151
|
+
onFinishSubmit?: (() => any) | undefined;
|
|
152
|
+
}, {
|
|
153
|
+
readonly type: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
154
|
+
title: string;
|
|
155
|
+
}, {}>;
|
|
156
|
+
export type TestInstance = InstanceType<typeof Test>;
|
|
157
|
+
export * from './test';
|
|
158
|
+
export default GmTest;
|
|
@@ -0,0 +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":";;;AACO,MAAM,MAAS,GAAA;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"test.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/es/giime/component.d.ts
CHANGED
|
@@ -1,2 +1,155 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{
|
|
2
|
+
readonly size: {
|
|
3
|
+
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
4
|
+
};
|
|
5
|
+
readonly disabled: {
|
|
6
|
+
type: import("vue").PropType<boolean>;
|
|
7
|
+
required: true;
|
|
8
|
+
};
|
|
9
|
+
readonly type: {
|
|
10
|
+
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
11
|
+
required: true;
|
|
12
|
+
default: string;
|
|
13
|
+
};
|
|
14
|
+
readonly icon: {
|
|
15
|
+
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>>;
|
|
16
|
+
};
|
|
17
|
+
readonly nativeType: {
|
|
18
|
+
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>>;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
readonly loading: {
|
|
22
|
+
type: import("vue").PropType<boolean>;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
readonly loadingIcon: {
|
|
26
|
+
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>>;
|
|
27
|
+
};
|
|
28
|
+
readonly plain: {
|
|
29
|
+
type: import("vue").PropType<boolean>;
|
|
30
|
+
required: true;
|
|
31
|
+
};
|
|
32
|
+
readonly text: {
|
|
33
|
+
type: import("vue").PropType<boolean>;
|
|
34
|
+
required: true;
|
|
35
|
+
};
|
|
36
|
+
readonly link: {
|
|
37
|
+
type: import("vue").PropType<boolean>;
|
|
38
|
+
required: true;
|
|
39
|
+
};
|
|
40
|
+
readonly bg: {
|
|
41
|
+
type: import("vue").PropType<boolean>;
|
|
42
|
+
required: true;
|
|
43
|
+
};
|
|
44
|
+
readonly autofocus: {
|
|
45
|
+
type: import("vue").PropType<boolean>;
|
|
46
|
+
required: true;
|
|
47
|
+
};
|
|
48
|
+
readonly round: {
|
|
49
|
+
type: import("vue").PropType<boolean>;
|
|
50
|
+
required: true;
|
|
51
|
+
};
|
|
52
|
+
readonly circle: {
|
|
53
|
+
type: import("vue").PropType<boolean>;
|
|
54
|
+
required: true;
|
|
55
|
+
};
|
|
56
|
+
readonly color: {
|
|
57
|
+
type: import("vue").PropType<string>;
|
|
58
|
+
};
|
|
59
|
+
readonly dark: {
|
|
60
|
+
type: import("vue").PropType<boolean>;
|
|
61
|
+
required: true;
|
|
62
|
+
};
|
|
63
|
+
readonly autoInsertSpace: {
|
|
64
|
+
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
65
|
+
};
|
|
66
|
+
readonly tag: {
|
|
67
|
+
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>>;
|
|
68
|
+
required: true;
|
|
69
|
+
};
|
|
70
|
+
title: {
|
|
71
|
+
type: import("vue").PropType<string>;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
75
|
+
finishSubmit: () => void;
|
|
76
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
77
|
+
readonly size: {
|
|
78
|
+
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
|
|
79
|
+
};
|
|
80
|
+
readonly disabled: {
|
|
81
|
+
type: import("vue").PropType<boolean>;
|
|
82
|
+
required: true;
|
|
83
|
+
};
|
|
84
|
+
readonly type: {
|
|
85
|
+
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>>;
|
|
86
|
+
required: true;
|
|
87
|
+
default: string;
|
|
88
|
+
};
|
|
89
|
+
readonly icon: {
|
|
90
|
+
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>>;
|
|
91
|
+
};
|
|
92
|
+
readonly nativeType: {
|
|
93
|
+
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>>;
|
|
94
|
+
required: true;
|
|
95
|
+
};
|
|
96
|
+
readonly loading: {
|
|
97
|
+
type: import("vue").PropType<boolean>;
|
|
98
|
+
required: true;
|
|
99
|
+
};
|
|
100
|
+
readonly loadingIcon: {
|
|
101
|
+
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>>;
|
|
102
|
+
};
|
|
103
|
+
readonly plain: {
|
|
104
|
+
type: import("vue").PropType<boolean>;
|
|
105
|
+
required: true;
|
|
106
|
+
};
|
|
107
|
+
readonly text: {
|
|
108
|
+
type: import("vue").PropType<boolean>;
|
|
109
|
+
required: true;
|
|
110
|
+
};
|
|
111
|
+
readonly link: {
|
|
112
|
+
type: import("vue").PropType<boolean>;
|
|
113
|
+
required: true;
|
|
114
|
+
};
|
|
115
|
+
readonly bg: {
|
|
116
|
+
type: import("vue").PropType<boolean>;
|
|
117
|
+
required: true;
|
|
118
|
+
};
|
|
119
|
+
readonly autofocus: {
|
|
120
|
+
type: import("vue").PropType<boolean>;
|
|
121
|
+
required: true;
|
|
122
|
+
};
|
|
123
|
+
readonly round: {
|
|
124
|
+
type: import("vue").PropType<boolean>;
|
|
125
|
+
required: true;
|
|
126
|
+
};
|
|
127
|
+
readonly circle: {
|
|
128
|
+
type: import("vue").PropType<boolean>;
|
|
129
|
+
required: true;
|
|
130
|
+
};
|
|
131
|
+
readonly color: {
|
|
132
|
+
type: import("vue").PropType<string>;
|
|
133
|
+
};
|
|
134
|
+
readonly dark: {
|
|
135
|
+
type: import("vue").PropType<boolean>;
|
|
136
|
+
required: true;
|
|
137
|
+
};
|
|
138
|
+
readonly autoInsertSpace: {
|
|
139
|
+
type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
|
|
140
|
+
};
|
|
141
|
+
readonly tag: {
|
|
142
|
+
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>>;
|
|
143
|
+
required: true;
|
|
144
|
+
};
|
|
145
|
+
title: {
|
|
146
|
+
type: import("vue").PropType<string>;
|
|
147
|
+
default: string;
|
|
148
|
+
};
|
|
149
|
+
}>> & {
|
|
150
|
+
onFinishSubmit?: (() => any) | undefined;
|
|
151
|
+
}, {
|
|
152
|
+
readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
153
|
+
title: string;
|
|
154
|
+
}, {}>[];
|
|
2
155
|
export default _default;
|
package/es/giime/component.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.mjs","sources":["../../../../packages/giime/component.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"component.mjs","sources":["../../../../packages/giime/component.ts"],"sourcesContent":["import { GmTest } from '@giime/components/src/test';\n\n// import type { Plugin } from 'vue';\n\nexport default [GmTest];\n"],"names":[],"mappings":";;AAIA,gBAAe,CAAC,MAAM,CAAA;;;;"}
|
package/es/giime/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './tailwind.css.mjs';
|
|
2
2
|
import '../components/index.mjs';
|
|
3
3
|
import '../utils/index.mjs';
|
|
4
|
-
export {
|
|
4
|
+
export { GmTest } from '../components/src/test/index.mjs';
|
|
5
5
|
export { getTag, isBoolean, isDate, isDecimal, isError, isEven, isInteger, isNegative, isNil, isNull, isNumber, isObjectLike, isOdd, isPlainObject, isPositive, isString, isSymbol, isUndefined } from '../utils/src/is.mjs';
|
|
6
6
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './src/
|
|
1
|
+
export * from './src/test';
|
package/lib/components/index.js
CHANGED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import type { TestProps } from './test';
|
|
2
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<TestProps>, {
|
|
3
|
+
title: string;
|
|
4
|
+
type: string;
|
|
5
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
6
|
+
finishSubmit: () => void;
|
|
7
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToOption<TestProps>, {
|
|
8
|
+
title: string;
|
|
9
|
+
type: string;
|
|
10
|
+
}>>> & {
|
|
11
|
+
onFinishSubmit?: (() => any) | undefined;
|
|
12
|
+
}, {
|
|
13
|
+
readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
|
|
14
|
+
title: string;
|
|
15
|
+
}, {}>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithDefaults<P, D> = {
|
|
18
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
19
|
+
default: D[K];
|
|
20
|
+
}> : P[K];
|
|
21
|
+
};
|
|
22
|
+
type __VLS_Prettify<T> = {
|
|
23
|
+
[K in keyof T]: T[K];
|
|
24
|
+
} & {};
|
|
25
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
+
type __VLS_TypePropsToOption<T> = {
|
|
27
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
+
} : {
|
|
30
|
+
type: import('vue').PropType<T[K]>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var Test_vue_vue_type_script_setup_true_lang = require('./Test.vue2.js');
|
|
6
|
+
require('./Test.vue3.js');
|
|
7
|
+
var _pluginVue_exportHelper = require('../../../_virtual/_plugin-vue_export-helper.js');
|
|
8
|
+
|
|
9
|
+
var Test = /* @__PURE__ */ _pluginVue_exportHelper.default(Test_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-d1e5d5b2"], ["__file", "Test.vue"]]);
|
|
10
|
+
|
|
11
|
+
exports.default = Test;
|
|
12
|
+
//# sourceMappingURL=Test.vue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Test.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var vue = require('vue');
|
|
6
|
+
|
|
7
|
+
const _withScopeId = (n) => (vue.pushScopeId("data-v-d1e5d5b2"), n = n(), vue.popScopeId(), n);
|
|
8
|
+
const _hoisted_1 = { class: "gm-text gm-text-title" };
|
|
9
|
+
const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
|
|
10
|
+
"span",
|
|
11
|
+
null,
|
|
12
|
+
"There little thoughts are the rustle of leaves; they have their whisper of joy in my mind.",
|
|
13
|
+
-1
|
|
14
|
+
/* HOISTED */
|
|
15
|
+
));
|
|
16
|
+
var _sfc_main = /* @__PURE__ */ vue.defineComponent({
|
|
17
|
+
...{
|
|
18
|
+
name: "GmText"
|
|
19
|
+
},
|
|
20
|
+
__name: "Test",
|
|
21
|
+
props: {
|
|
22
|
+
title: { type: String, required: false, default: "test" }
|
|
23
|
+
},
|
|
24
|
+
emits: ["finishSubmit"],
|
|
25
|
+
setup(__props, { emit: __emit }) {
|
|
26
|
+
const props = __props;
|
|
27
|
+
const emit = __emit;
|
|
28
|
+
return (_ctx, _cache) => {
|
|
29
|
+
const _component_el_button = vue.resolveComponent("el-button");
|
|
30
|
+
const _component_el_divider = vue.resolveComponent("el-divider");
|
|
31
|
+
return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
|
|
32
|
+
vue.createVNode(
|
|
33
|
+
_component_el_button,
|
|
34
|
+
vue.mergeProps(props, {
|
|
35
|
+
onClick: _cache[0] || (_cache[0] = ($event) => emit("finishSubmit"))
|
|
36
|
+
}),
|
|
37
|
+
{
|
|
38
|
+
default: vue.withCtx(() => [
|
|
39
|
+
vue.createTextVNode(
|
|
40
|
+
vue.toDisplayString(__props.title),
|
|
41
|
+
1
|
|
42
|
+
/* TEXT */
|
|
43
|
+
)
|
|
44
|
+
]),
|
|
45
|
+
_: 1
|
|
46
|
+
/* STABLE */
|
|
47
|
+
},
|
|
48
|
+
16
|
|
49
|
+
/* FULL_PROPS */
|
|
50
|
+
),
|
|
51
|
+
vue.createVNode(_component_el_divider),
|
|
52
|
+
_hoisted_2
|
|
53
|
+
]);
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
exports.default = _sfc_main;
|
|
59
|
+
//# sourceMappingURL=Test.vue2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Test.vue2.js","sources":["../../../../../../packages/components/src/test/Test.vue"],"sourcesContent":["<template>\r\n <div class=\"gm-text gm-text-title\">\r\n <el-button v-bind=\"props\" @click=\"emit('finishSubmit')\">{{ title }}</el-button>\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({\n title: { type: String, required: false, default: 'test' }\n});\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":";;;;;;;;;;;;;;;;;;;;;;;;;AAaA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAGd,IAAA,MAAM,IAAO,GAAA,MAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|