giime 0.0.0-dev.4 → 0.0.0-dev.6

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.
Files changed (58) hide show
  1. package/es/components/index.d.ts +1 -1
  2. package/es/components/index.mjs +1 -1
  3. package/es/components/src/test/Test.vue.d.ts +33 -0
  4. package/es/components/src/test/Test.vue.mjs +8 -0
  5. package/es/components/src/test/Test.vue.mjs.map +1 -0
  6. package/es/components/src/test/Test.vue2.mjs +55 -0
  7. package/es/components/src/test/Test.vue2.mjs.map +1 -0
  8. package/es/components/src/{text/Text.vue3.mjs → test/Test.vue3.mjs} +1 -1
  9. package/es/components/src/test/Test.vue3.mjs.map +1 -0
  10. package/es/components/src/test/index.d.ts +132 -0
  11. package/es/components/src/test/index.mjs +7 -0
  12. package/es/components/src/test/index.mjs.map +1 -0
  13. package/es/components/src/test/test.d.ts +8 -0
  14. package/es/components/src/test/test.mjs +2 -0
  15. package/es/components/src/test/test.mjs.map +1 -0
  16. package/es/giime/component.d.ts +128 -1
  17. package/es/giime/component.mjs +2 -2
  18. package/es/giime/component.mjs.map +1 -1
  19. package/es/giime/index.mjs +1 -1
  20. package/es/index.css +1 -1
  21. package/lib/components/index.d.ts +1 -1
  22. package/lib/components/index.js +2 -2
  23. package/lib/components/src/test/Test.vue.d.ts +33 -0
  24. package/lib/components/src/test/Test.vue.js +12 -0
  25. package/lib/components/src/test/Test.vue.js.map +1 -0
  26. package/lib/components/src/{text/Text.vue2.js → test/Test.vue2.js} +29 -11
  27. package/lib/components/src/test/Test.vue2.js.map +1 -0
  28. package/lib/components/src/{text/Text.vue3.js → test/Test.vue3.js} +1 -1
  29. package/lib/components/src/test/Test.vue3.js.map +1 -0
  30. package/lib/components/src/test/index.d.ts +132 -0
  31. package/lib/components/src/test/index.js +12 -0
  32. package/lib/components/src/test/index.js.map +1 -0
  33. package/lib/components/src/test/test.d.ts +8 -0
  34. package/lib/components/src/test/test.js +3 -0
  35. package/lib/components/src/test/test.js.map +1 -0
  36. package/lib/giime/component.d.ts +128 -1
  37. package/lib/giime/component.js +2 -2
  38. package/lib/giime/component.js.map +1 -1
  39. package/lib/giime/index.js +2 -2
  40. package/lib/index.css +1 -1
  41. package/package.json +1 -1
  42. package/es/components/src/text/Text.vue.d.ts +0 -2
  43. package/es/components/src/text/Text.vue.mjs +0 -8
  44. package/es/components/src/text/Text.vue.mjs.map +0 -1
  45. package/es/components/src/text/Text.vue2.mjs +0 -37
  46. package/es/components/src/text/Text.vue2.mjs.map +0 -1
  47. package/es/components/src/text/Text.vue3.mjs.map +0 -1
  48. package/es/components/src/text/index.d.ts +0 -2
  49. package/es/components/src/text/index.mjs +0 -6
  50. package/es/components/src/text/index.mjs.map +0 -1
  51. package/lib/components/src/text/Text.vue.d.ts +0 -2
  52. package/lib/components/src/text/Text.vue.js +0 -12
  53. package/lib/components/src/text/Text.vue.js.map +0 -1
  54. package/lib/components/src/text/Text.vue2.js.map +0 -1
  55. package/lib/components/src/text/Text.vue3.js.map +0 -1
  56. package/lib/components/src/text/index.d.ts +0 -2
  57. package/lib/components/src/text/index.js +0 -11
  58. package/lib/components/src/text/index.js.map +0 -1
@@ -1 +1 @@
1
- export * from './src/text';
1
+ export * from './src/test';
@@ -1,2 +1,2 @@
1
- export { GmText } from './src/text/index.mjs';
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,4 +1,4 @@
1
1
  var undefined$1 = undefined;
2
2
 
3
3
  export { undefined$1 as default };
4
- //# sourceMappingURL=Text.vue3.mjs.map
4
+ //# sourceMappingURL=Test.vue3.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Test.vue3.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -0,0 +1,132 @@
1
+ import Test from './Test.vue';
2
+ export declare const GmTest: import("vue").DefineComponent<{
3
+ readonly size: {
4
+ type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
5
+ };
6
+ readonly disabled: {
7
+ type: import("vue").PropType<boolean>;
8
+ };
9
+ readonly type: {
10
+ type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>>;
11
+ default: string;
12
+ };
13
+ readonly icon: {
14
+ type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
15
+ };
16
+ readonly nativeType: {
17
+ type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>>;
18
+ };
19
+ readonly loading: {
20
+ type: import("vue").PropType<boolean>;
21
+ };
22
+ readonly loadingIcon: {
23
+ type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
24
+ };
25
+ readonly plain: {
26
+ type: import("vue").PropType<boolean>;
27
+ };
28
+ readonly text: {
29
+ type: import("vue").PropType<boolean>;
30
+ };
31
+ readonly link: {
32
+ type: import("vue").PropType<boolean>;
33
+ };
34
+ readonly bg: {
35
+ type: import("vue").PropType<boolean>;
36
+ };
37
+ readonly autofocus: {
38
+ type: import("vue").PropType<boolean>;
39
+ };
40
+ readonly round: {
41
+ type: import("vue").PropType<boolean>;
42
+ };
43
+ readonly circle: {
44
+ type: import("vue").PropType<boolean>;
45
+ };
46
+ readonly color: {
47
+ type: import("vue").PropType<string>;
48
+ };
49
+ readonly dark: {
50
+ type: import("vue").PropType<boolean>;
51
+ };
52
+ readonly autoInsertSpace: {
53
+ type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
54
+ };
55
+ readonly tag: {
56
+ type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
57
+ };
58
+ title: {
59
+ type: import("vue").PropType<string>;
60
+ default: string;
61
+ };
62
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
63
+ finishSubmit: () => void;
64
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
65
+ readonly size: {
66
+ type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
67
+ };
68
+ readonly disabled: {
69
+ type: import("vue").PropType<boolean>;
70
+ };
71
+ readonly type: {
72
+ type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>>;
73
+ default: string;
74
+ };
75
+ readonly icon: {
76
+ 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>>;
77
+ };
78
+ readonly nativeType: {
79
+ type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>>;
80
+ };
81
+ readonly loading: {
82
+ type: import("vue").PropType<boolean>;
83
+ };
84
+ readonly loadingIcon: {
85
+ 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>>;
86
+ };
87
+ readonly plain: {
88
+ type: import("vue").PropType<boolean>;
89
+ };
90
+ readonly text: {
91
+ type: import("vue").PropType<boolean>;
92
+ };
93
+ readonly link: {
94
+ type: import("vue").PropType<boolean>;
95
+ };
96
+ readonly bg: {
97
+ type: import("vue").PropType<boolean>;
98
+ };
99
+ readonly autofocus: {
100
+ type: import("vue").PropType<boolean>;
101
+ };
102
+ readonly round: {
103
+ type: import("vue").PropType<boolean>;
104
+ };
105
+ readonly circle: {
106
+ type: import("vue").PropType<boolean>;
107
+ };
108
+ readonly color: {
109
+ type: import("vue").PropType<string>;
110
+ };
111
+ readonly dark: {
112
+ type: import("vue").PropType<boolean>;
113
+ };
114
+ readonly autoInsertSpace: {
115
+ type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
116
+ };
117
+ readonly tag: {
118
+ 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>>;
119
+ };
120
+ title: {
121
+ type: import("vue").PropType<string>;
122
+ default: string;
123
+ };
124
+ }>> & {
125
+ onFinishSubmit?: (() => any) | undefined;
126
+ }, {
127
+ readonly type: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
128
+ title: string;
129
+ }, {}>;
130
+ export type TestInstance = InstanceType<typeof Test>;
131
+ export * from './test';
132
+ export default GmTest;
@@ -0,0 +1,7 @@
1
+ import Test from './Test.vue.mjs';
2
+ import './test.mjs';
3
+
4
+ const GmTest = Test;
5
+
6
+ export { GmTest, GmTest as default };
7
+ //# sourceMappingURL=index.mjs.map
@@ -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,8 @@
1
+ import type { ExtractPropTypes } from 'vue';
2
+ import type { ButtonProps as ElButtonProps } from 'element-plus';
3
+ export interface TestProps extends ExtractPropTypes<ElButtonProps> {
4
+ title?: string;
5
+ }
6
+ export interface TestEmits {
7
+ (e: 'finishSubmit'): void;
8
+ }
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=test.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,129 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>[];
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
+ };
8
+ readonly type: {
9
+ type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>>;
10
+ default: string;
11
+ };
12
+ readonly icon: {
13
+ 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>>;
14
+ };
15
+ readonly nativeType: {
16
+ type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>>;
17
+ };
18
+ readonly loading: {
19
+ type: import("vue").PropType<boolean>;
20
+ };
21
+ readonly loadingIcon: {
22
+ 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>>;
23
+ };
24
+ readonly plain: {
25
+ type: import("vue").PropType<boolean>;
26
+ };
27
+ readonly text: {
28
+ type: import("vue").PropType<boolean>;
29
+ };
30
+ readonly link: {
31
+ type: import("vue").PropType<boolean>;
32
+ };
33
+ readonly bg: {
34
+ type: import("vue").PropType<boolean>;
35
+ };
36
+ readonly autofocus: {
37
+ type: import("vue").PropType<boolean>;
38
+ };
39
+ readonly round: {
40
+ type: import("vue").PropType<boolean>;
41
+ };
42
+ readonly circle: {
43
+ type: import("vue").PropType<boolean>;
44
+ };
45
+ readonly color: {
46
+ type: import("vue").PropType<string>;
47
+ };
48
+ readonly dark: {
49
+ type: import("vue").PropType<boolean>;
50
+ };
51
+ readonly autoInsertSpace: {
52
+ type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
53
+ };
54
+ readonly tag: {
55
+ 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>>;
56
+ };
57
+ title: {
58
+ type: import("vue").PropType<string>;
59
+ default: string;
60
+ };
61
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
62
+ finishSubmit: () => void;
63
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
64
+ readonly size: {
65
+ type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
66
+ };
67
+ readonly disabled: {
68
+ type: import("vue").PropType<boolean>;
69
+ };
70
+ readonly type: {
71
+ type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>>;
72
+ default: string;
73
+ };
74
+ readonly icon: {
75
+ 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>>;
76
+ };
77
+ readonly nativeType: {
78
+ type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>>;
79
+ };
80
+ readonly loading: {
81
+ type: import("vue").PropType<boolean>;
82
+ };
83
+ readonly loadingIcon: {
84
+ 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>>;
85
+ };
86
+ readonly plain: {
87
+ type: import("vue").PropType<boolean>;
88
+ };
89
+ readonly text: {
90
+ type: import("vue").PropType<boolean>;
91
+ };
92
+ readonly link: {
93
+ type: import("vue").PropType<boolean>;
94
+ };
95
+ readonly bg: {
96
+ type: import("vue").PropType<boolean>;
97
+ };
98
+ readonly autofocus: {
99
+ type: import("vue").PropType<boolean>;
100
+ };
101
+ readonly round: {
102
+ type: import("vue").PropType<boolean>;
103
+ };
104
+ readonly circle: {
105
+ type: import("vue").PropType<boolean>;
106
+ };
107
+ readonly color: {
108
+ type: import("vue").PropType<string>;
109
+ };
110
+ readonly dark: {
111
+ type: import("vue").PropType<boolean>;
112
+ };
113
+ readonly autoInsertSpace: {
114
+ type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
115
+ };
116
+ readonly tag: {
117
+ 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>>;
118
+ };
119
+ title: {
120
+ type: import("vue").PropType<string>;
121
+ default: string;
122
+ };
123
+ }>> & {
124
+ onFinishSubmit?: (() => any) | undefined;
125
+ }, {
126
+ readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
127
+ title: string;
128
+ }, {}>[];
2
129
  export default _default;
@@ -1,6 +1,6 @@
1
- import { GmText } from '../components/src/text/index.mjs';
1
+ import { GmTest } from '../components/src/test/index.mjs';
2
2
 
3
- var component = [GmText];
3
+ var component = [GmTest];
4
4
 
5
5
  export { component as default };
6
6
  //# sourceMappingURL=component.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"component.mjs","sources":["../../../../packages/giime/component.ts"],"sourcesContent":["import { GmText } from '@giime/components/src/text';\n\n// import type { Plugin } from 'vue';\n\nexport default [GmText];\n"],"names":[],"mappings":";;AAIA,gBAAe,CAAC,MAAM,CAAA;;;;"}
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;;;;"}
@@ -1,6 +1,6 @@
1
1
  import './tailwind.css.mjs';
2
2
  import '../components/index.mjs';
3
3
  import '../utils/index.mjs';
4
- export { GmText } from '../components/src/text/index.mjs';
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
package/es/index.css CHANGED
@@ -491,6 +491,6 @@ video {
491
491
  font-weight: 700;
492
492
  }
493
493
 
494
- .gm-text[data-v-dc484482] {
494
+ .gm-text[data-v-d1e5d5b2] {
495
495
  color: var(--gm-text-color-primary);
496
496
  }
@@ -1 +1 @@
1
- export * from './src/text';
1
+ export * from './src/test';
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./src/text/index.js');
3
+ var index = require('./src/test/index.js');
4
4
 
5
5
 
6
6
 
7
- exports.GmText = index.GmText;
7
+ exports.GmTest = index.GmTest;
8
8
  //# sourceMappingURL=index.js.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,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":";;;;;;;;;;;;"}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vue = require('vue');
6
6
 
7
- const _withScopeId = (n) => (vue.pushScopeId("data-v-dc484482"), n = n(), vue.popScopeId(), n);
7
+ const _withScopeId = (n) => (vue.pushScopeId("data-v-d1e5d5b2"), n = n(), vue.popScopeId(), n);
8
8
  const _hoisted_1 = { class: "gm-text gm-text-title" };
9
9
  const _hoisted_2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ vue.createElementVNode(
10
10
  "span",
@@ -17,19 +17,37 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
17
17
  ...{
18
18
  name: "GmText"
19
19
  },
20
- __name: "Text",
21
- setup(__props) {
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;
22
28
  return (_ctx, _cache) => {
23
29
  const _component_el_button = vue.resolveComponent("el-button");
24
30
  const _component_el_divider = vue.resolveComponent("el-divider");
25
31
  return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
26
- vue.createVNode(_component_el_button, { type: "primary" }, {
27
- default: vue.withCtx(() => [
28
- vue.createTextVNode("test")
29
- ]),
30
- _: 1
31
- /* STABLE */
32
- }),
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
+ ),
33
51
  vue.createVNode(_component_el_divider),
34
52
  _hoisted_2
35
53
  ]);
@@ -38,4 +56,4 @@ var _sfc_main = /* @__PURE__ */ vue.defineComponent({
38
56
  });
39
57
 
40
58
  exports.default = _sfc_main;
41
- //# sourceMappingURL=Text.vue2.js.map
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -5,4 +5,4 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var undefined$1 = undefined;
6
6
 
7
7
  exports.default = undefined$1;
8
- //# sourceMappingURL=Text.vue3.js.map
8
+ //# sourceMappingURL=Test.vue3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Test.vue3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -0,0 +1,132 @@
1
+ import Test from './Test.vue';
2
+ export declare const GmTest: import("vue").DefineComponent<{
3
+ readonly size: {
4
+ type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
5
+ };
6
+ readonly disabled: {
7
+ type: import("vue").PropType<boolean>;
8
+ };
9
+ readonly type: {
10
+ type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>>;
11
+ default: string;
12
+ };
13
+ readonly icon: {
14
+ type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
15
+ };
16
+ readonly nativeType: {
17
+ type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>>;
18
+ };
19
+ readonly loading: {
20
+ type: import("vue").PropType<boolean>;
21
+ };
22
+ readonly loadingIcon: {
23
+ type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
24
+ };
25
+ readonly plain: {
26
+ type: import("vue").PropType<boolean>;
27
+ };
28
+ readonly text: {
29
+ type: import("vue").PropType<boolean>;
30
+ };
31
+ readonly link: {
32
+ type: import("vue").PropType<boolean>;
33
+ };
34
+ readonly bg: {
35
+ type: import("vue").PropType<boolean>;
36
+ };
37
+ readonly autofocus: {
38
+ type: import("vue").PropType<boolean>;
39
+ };
40
+ readonly round: {
41
+ type: import("vue").PropType<boolean>;
42
+ };
43
+ readonly circle: {
44
+ type: import("vue").PropType<boolean>;
45
+ };
46
+ readonly color: {
47
+ type: import("vue").PropType<string>;
48
+ };
49
+ readonly dark: {
50
+ type: import("vue").PropType<boolean>;
51
+ };
52
+ readonly autoInsertSpace: {
53
+ type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
54
+ };
55
+ readonly tag: {
56
+ type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<(new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) | ((new (...args: any[]) => (string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>) & {}) | (() => string | import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>))[], unknown, unknown>>;
57
+ };
58
+ title: {
59
+ type: import("vue").PropType<string>;
60
+ default: string;
61
+ };
62
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
63
+ finishSubmit: () => void;
64
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
65
+ readonly size: {
66
+ type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
67
+ };
68
+ readonly disabled: {
69
+ type: import("vue").PropType<boolean>;
70
+ };
71
+ readonly type: {
72
+ type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>>;
73
+ default: string;
74
+ };
75
+ readonly icon: {
76
+ 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>>;
77
+ };
78
+ readonly nativeType: {
79
+ type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>>;
80
+ };
81
+ readonly loading: {
82
+ type: import("vue").PropType<boolean>;
83
+ };
84
+ readonly loadingIcon: {
85
+ 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>>;
86
+ };
87
+ readonly plain: {
88
+ type: import("vue").PropType<boolean>;
89
+ };
90
+ readonly text: {
91
+ type: import("vue").PropType<boolean>;
92
+ };
93
+ readonly link: {
94
+ type: import("vue").PropType<boolean>;
95
+ };
96
+ readonly bg: {
97
+ type: import("vue").PropType<boolean>;
98
+ };
99
+ readonly autofocus: {
100
+ type: import("vue").PropType<boolean>;
101
+ };
102
+ readonly round: {
103
+ type: import("vue").PropType<boolean>;
104
+ };
105
+ readonly circle: {
106
+ type: import("vue").PropType<boolean>;
107
+ };
108
+ readonly color: {
109
+ type: import("vue").PropType<string>;
110
+ };
111
+ readonly dark: {
112
+ type: import("vue").PropType<boolean>;
113
+ };
114
+ readonly autoInsertSpace: {
115
+ type: import("vue").PropType<import("element-plus/es/utils/index.js").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
116
+ };
117
+ readonly tag: {
118
+ 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>>;
119
+ };
120
+ title: {
121
+ type: import("vue").PropType<string>;
122
+ default: string;
123
+ };
124
+ }>> & {
125
+ onFinishSubmit?: (() => any) | undefined;
126
+ }, {
127
+ readonly type: import("element-plus/es/utils/index.js").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
128
+ title: string;
129
+ }, {}>;
130
+ export type TestInstance = InstanceType<typeof Test>;
131
+ export * from './test';
132
+ export default GmTest;
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var Test = require('./Test.vue.js');
6
+ require('./test.js');
7
+
8
+ const GmTest = Test.default;
9
+
10
+ exports.GmTest = GmTest;
11
+ exports.default = GmTest;
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","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":["Test"],"mappings":";;;;;;;AACO,MAAM,MAAS,GAAAA;;;;;"}
@@ -0,0 +1,8 @@
1
+ import type { ExtractPropTypes } from 'vue';
2
+ import type { ButtonProps as ElButtonProps } from 'element-plus';
3
+ export interface TestProps extends ExtractPropTypes<ElButtonProps> {
4
+ title?: string;
5
+ }
6
+ export interface TestEmits {
7
+ (e: 'finishSubmit'): void;
8
+ }
@@ -0,0 +1,3 @@
1
+ 'use strict';
2
+
3
+ //# sourceMappingURL=test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"test.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
@@ -1,2 +1,129 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>[];
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
+ };
8
+ readonly type: {
9
+ type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>>;
10
+ default: string;
11
+ };
12
+ readonly icon: {
13
+ 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>>;
14
+ };
15
+ readonly nativeType: {
16
+ type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>>;
17
+ };
18
+ readonly loading: {
19
+ type: import("vue").PropType<boolean>;
20
+ };
21
+ readonly loadingIcon: {
22
+ 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>>;
23
+ };
24
+ readonly plain: {
25
+ type: import("vue").PropType<boolean>;
26
+ };
27
+ readonly text: {
28
+ type: import("vue").PropType<boolean>;
29
+ };
30
+ readonly link: {
31
+ type: import("vue").PropType<boolean>;
32
+ };
33
+ readonly bg: {
34
+ type: import("vue").PropType<boolean>;
35
+ };
36
+ readonly autofocus: {
37
+ type: import("vue").PropType<boolean>;
38
+ };
39
+ readonly round: {
40
+ type: import("vue").PropType<boolean>;
41
+ };
42
+ readonly circle: {
43
+ type: import("vue").PropType<boolean>;
44
+ };
45
+ readonly color: {
46
+ type: import("vue").PropType<string>;
47
+ };
48
+ readonly dark: {
49
+ type: import("vue").PropType<boolean>;
50
+ };
51
+ readonly autoInsertSpace: {
52
+ type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
53
+ };
54
+ readonly tag: {
55
+ 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>>;
56
+ };
57
+ title: {
58
+ type: import("vue").PropType<string>;
59
+ default: string;
60
+ };
61
+ }, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
62
+ finishSubmit: () => void;
63
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
64
+ readonly size: {
65
+ type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
66
+ };
67
+ readonly disabled: {
68
+ type: import("vue").PropType<boolean>;
69
+ };
70
+ readonly type: {
71
+ type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>>;
72
+ default: string;
73
+ };
74
+ readonly icon: {
75
+ 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>>;
76
+ };
77
+ readonly nativeType: {
78
+ type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>>;
79
+ };
80
+ readonly loading: {
81
+ type: import("vue").PropType<boolean>;
82
+ };
83
+ readonly loadingIcon: {
84
+ 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>>;
85
+ };
86
+ readonly plain: {
87
+ type: import("vue").PropType<boolean>;
88
+ };
89
+ readonly text: {
90
+ type: import("vue").PropType<boolean>;
91
+ };
92
+ readonly link: {
93
+ type: import("vue").PropType<boolean>;
94
+ };
95
+ readonly bg: {
96
+ type: import("vue").PropType<boolean>;
97
+ };
98
+ readonly autofocus: {
99
+ type: import("vue").PropType<boolean>;
100
+ };
101
+ readonly round: {
102
+ type: import("vue").PropType<boolean>;
103
+ };
104
+ readonly circle: {
105
+ type: import("vue").PropType<boolean>;
106
+ };
107
+ readonly color: {
108
+ type: import("vue").PropType<string>;
109
+ };
110
+ readonly dark: {
111
+ type: import("vue").PropType<boolean>;
112
+ };
113
+ readonly autoInsertSpace: {
114
+ type: import("vue").PropType<import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>>;
115
+ };
116
+ readonly tag: {
117
+ 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>>;
118
+ };
119
+ title: {
120
+ type: import("vue").PropType<string>;
121
+ default: string;
122
+ };
123
+ }>> & {
124
+ onFinishSubmit?: (() => any) | undefined;
125
+ }, {
126
+ readonly type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "text" | "default" | "success" | "warning" | "info" | "primary" | "danger", unknown>;
127
+ title: string;
128
+ }, {}>[];
2
129
  export default _default;
@@ -2,9 +2,9 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index = require('../components/src/text/index.js');
5
+ var index = require('../components/src/test/index.js');
6
6
 
7
- var component = [index.GmText];
7
+ var component = [index.GmTest];
8
8
 
9
9
  exports.default = component;
10
10
  //# sourceMappingURL=component.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"component.js","sources":["../../../../packages/giime/component.ts"],"sourcesContent":["import { GmText } from '@giime/components/src/text';\n\n// import type { Plugin } from 'vue';\n\nexport default [GmText];\n"],"names":["GmText"],"mappings":";;;;;;AAIA,gBAAe,CAACA,YAAM,CAAA;;;;"}
1
+ {"version":3,"file":"component.js","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":["GmTest"],"mappings":";;;;;;AAIA,gBAAe,CAACA,YAAM,CAAA;;;;"}
@@ -3,12 +3,12 @@
3
3
  require('./tailwind.css.js');
4
4
  require('../components/index.js');
5
5
  require('../utils/index.js');
6
- var index = require('../components/src/text/index.js');
6
+ var index = require('../components/src/test/index.js');
7
7
  var is = require('../utils/src/is.js');
8
8
 
9
9
 
10
10
 
11
- exports.GmText = index.GmText;
11
+ exports.GmTest = index.GmTest;
12
12
  exports.getTag = is.getTag;
13
13
  exports.isBoolean = is.isBoolean;
14
14
  exports.isDate = is.isDate;
package/lib/index.css CHANGED
@@ -491,6 +491,6 @@ video {
491
491
  font-weight: 700;
492
492
  }
493
493
 
494
- .gm-text[data-v-dc484482] {
494
+ .gm-text[data-v-d1e5d5b2] {
495
495
  color: var(--gm-text-color-primary);
496
496
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "giime",
3
- "version": "0.0.0-dev.4",
3
+ "version": "0.0.0-dev.6",
4
4
  "description": "A Component Library for Vue 3",
5
5
  "keywords": [
6
6
  "giime",
@@ -1,2 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
- export default _default;
@@ -1,8 +0,0 @@
1
- import _sfc_main from './Text.vue2.mjs';
2
- import './Text.vue3.mjs';
3
- import _export_sfc from '../../../_virtual/_plugin-vue_export-helper.mjs';
4
-
5
- var Text = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-dc484482"], ["__file", "Text.vue"]]);
6
-
7
- export { Text as default };
8
- //# sourceMappingURL=Text.vue.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Text.vue.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -1,37 +0,0 @@
1
- import { pushScopeId, popScopeId, createElementVNode, defineComponent, resolveComponent, openBlock, createElementBlock, createVNode, withCtx, createTextVNode } from 'vue';
2
-
3
- const _withScopeId = (n) => (pushScopeId("data-v-dc484482"), 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: "Text",
17
- setup(__props) {
18
- return (_ctx, _cache) => {
19
- const _component_el_button = resolveComponent("el-button");
20
- const _component_el_divider = resolveComponent("el-divider");
21
- return openBlock(), createElementBlock("div", _hoisted_1, [
22
- createVNode(_component_el_button, { type: "primary" }, {
23
- default: withCtx(() => [
24
- createTextVNode("test")
25
- ]),
26
- _: 1
27
- /* STABLE */
28
- }),
29
- createVNode(_component_el_divider),
30
- _hoisted_2
31
- ]);
32
- };
33
- }
34
- });
35
-
36
- export { _sfc_main as default };
37
- //# sourceMappingURL=Text.vue2.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Text.vue2.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Text.vue3.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1,2 +0,0 @@
1
- export declare const GmText: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
- export default GmText;
@@ -1,6 +0,0 @@
1
- import Text from './Text.vue.mjs';
2
-
3
- const GmText = Text;
4
-
5
- export { GmText, GmText as default };
6
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.mjs","sources":["../../../../../../packages/components/src/text/index.ts"],"sourcesContent":["import Text from './Text.vue';\r\nexport const GmText = Text;\r\nexport default GmText;\r\n"],"names":[],"mappings":";;AACO,MAAM,MAAS,GAAA;;;;"}
@@ -1,2 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
- export default _default;
@@ -1,12 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var Text_vue_vue_type_script_setup_true_lang = require('./Text.vue2.js');
6
- require('./Text.vue3.js');
7
- var _pluginVue_exportHelper = require('../../../_virtual/_plugin-vue_export-helper.js');
8
-
9
- var Text = /* @__PURE__ */ _pluginVue_exportHelper.default(Text_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-dc484482"], ["__file", "Text.vue"]]);
10
-
11
- exports.default = Text;
12
- //# sourceMappingURL=Text.vue.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Text.vue.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Text.vue2.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Text.vue3.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
@@ -1,2 +0,0 @@
1
- export declare const GmText: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
2
- export default GmText;
@@ -1,11 +0,0 @@
1
- 'use strict';
2
-
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
- var Text = require('./Text.vue.js');
6
-
7
- const GmText = Text.default;
8
-
9
- exports.GmText = GmText;
10
- exports.default = GmText;
11
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sources":["../../../../../../packages/components/src/text/index.ts"],"sourcesContent":["import Text from './Text.vue';\r\nexport const GmText = Text;\r\nexport default GmText;\r\n"],"names":["Text"],"mappings":";;;;;;AACO,MAAM,MAAS,GAAAA;;;;;"}