giime 0.0.0-dev.10 → 0.0.0-dev.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (86) hide show
  1. package/README.md +11 -10
  2. package/es/components/index.d.ts +1 -0
  3. package/es/components/index.mjs +1 -0
  4. package/es/components/index.mjs.map +1 -1
  5. package/es/components/src/message/index.d.ts +2 -0
  6. package/es/components/src/message/index.mjs +7 -0
  7. package/es/components/src/message/index.mjs.map +1 -0
  8. package/es/components/src/message/method.d.ts +4 -0
  9. package/es/components/src/message/method.mjs +23 -0
  10. package/es/components/src/message/method.mjs.map +1 -0
  11. package/es/components/src/test/index.d.ts +37 -37
  12. package/es/components/src/test/index.mjs +2 -1
  13. package/es/components/src/test/index.mjs.map +1 -1
  14. package/es/constants/index.d.ts +1 -0
  15. package/es/constants/index.mjs +2 -0
  16. package/es/constants/index.mjs.map +1 -0
  17. package/es/constants/key.d.ts +1 -0
  18. package/es/constants/key.mjs +4 -0
  19. package/es/constants/key.mjs.map +1 -0
  20. package/es/giime/component.d.ts +2 -242
  21. package/es/giime/component.mjs +2 -2
  22. package/es/giime/component.mjs.map +1 -1
  23. package/es/giime/defaults.d.ts +5 -0
  24. package/es/giime/defaults.mjs +8 -0
  25. package/es/giime/defaults.mjs.map +1 -0
  26. package/es/giime/index.d.ts +4 -0
  27. package/es/giime/index.mjs +7 -0
  28. package/es/giime/index.mjs.map +1 -1
  29. package/es/giime/makeInstaller.d.ts +5 -0
  30. package/es/giime/makeInstaller.mjs +19 -0
  31. package/es/giime/makeInstaller.mjs.map +1 -0
  32. package/es/giime/plugin.d.ts +3 -0
  33. package/es/giime/plugin.mjs +7 -0
  34. package/es/giime/plugin.mjs.map +1 -0
  35. package/es/giime/version.d.ts +1 -0
  36. package/es/giime/version.mjs +4 -0
  37. package/es/giime/version.mjs.map +1 -0
  38. package/es/utils/src/vue/install.d.ts +6 -0
  39. package/es/utils/src/vue/install.mjs +35 -0
  40. package/es/utils/src/vue/install.mjs.map +1 -0
  41. package/es/utils/src/vue/typescript.d.ts +5 -0
  42. package/es/utils/src/vue/typescript.mjs +2 -0
  43. package/es/utils/src/vue/typescript.mjs.map +1 -0
  44. package/lib/components/index.d.ts +1 -0
  45. package/lib/components/index.js +2 -0
  46. package/lib/components/index.js.map +1 -1
  47. package/lib/components/src/message/index.d.ts +2 -0
  48. package/lib/components/src/message/index.js +12 -0
  49. package/lib/components/src/message/index.js.map +1 -0
  50. package/lib/components/src/message/method.d.ts +4 -0
  51. package/lib/components/src/message/method.js +28 -0
  52. package/lib/components/src/message/method.js.map +1 -0
  53. package/lib/components/src/test/index.d.ts +37 -37
  54. package/lib/components/src/test/index.js +2 -1
  55. package/lib/components/src/test/index.js.map +1 -1
  56. package/lib/constants/index.d.ts +1 -0
  57. package/lib/constants/index.js +8 -0
  58. package/lib/constants/index.js.map +1 -0
  59. package/lib/constants/key.d.ts +1 -0
  60. package/lib/constants/key.js +6 -0
  61. package/lib/constants/key.js.map +1 -0
  62. package/lib/giime/component.d.ts +2 -242
  63. package/lib/giime/component.js +2 -2
  64. package/lib/giime/component.js.map +1 -1
  65. package/lib/giime/defaults.d.ts +5 -0
  66. package/lib/giime/defaults.js +12 -0
  67. package/lib/giime/defaults.js.map +1 -0
  68. package/lib/giime/index.d.ts +4 -0
  69. package/lib/giime/index.js +10 -1
  70. package/lib/giime/index.js.map +1 -1
  71. package/lib/giime/makeInstaller.d.ts +5 -0
  72. package/lib/giime/makeInstaller.js +21 -0
  73. package/lib/giime/makeInstaller.js.map +1 -0
  74. package/lib/giime/plugin.d.ts +3 -0
  75. package/lib/giime/plugin.js +11 -0
  76. package/lib/giime/plugin.js.map +1 -0
  77. package/lib/giime/version.d.ts +1 -0
  78. package/lib/giime/version.js +6 -0
  79. package/lib/giime/version.js.map +1 -0
  80. package/lib/utils/src/vue/install.d.ts +6 -0
  81. package/lib/utils/src/vue/install.js +40 -0
  82. package/lib/utils/src/vue/install.js.map +1 -0
  83. package/lib/utils/src/vue/typescript.d.ts +5 -0
  84. package/lib/utils/src/vue/typescript.js +3 -0
  85. package/lib/utils/src/vue/typescript.js.map +1 -0
  86. package/package.json +9 -1
@@ -1,243 +1,3 @@
1
- declare const _default: import("@vue/runtime-core").DefineComponent<{
2
- title: {
3
- type: StringConstructor;
4
- default: string;
5
- };
6
- elBtnProps: {
7
- type: () => import("@vue/runtime-core").ExtractPropTypes<{
8
- readonly size: {
9
- readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
10
- readonly required: false;
11
- readonly validator: ((val: unknown) => boolean) | undefined;
12
- __epPropKey: true;
13
- };
14
- readonly disabled: BooleanConstructor;
15
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
16
- readonly icon: {
17
- readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown>>;
18
- readonly required: false;
19
- readonly validator: ((val: unknown) => boolean) | undefined;
20
- __epPropKey: true;
21
- };
22
- readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
23
- readonly loading: BooleanConstructor;
24
- readonly loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, () => any, boolean>;
25
- readonly plain: BooleanConstructor;
26
- readonly text: BooleanConstructor;
27
- readonly link: BooleanConstructor;
28
- readonly bg: BooleanConstructor;
29
- readonly autofocus: BooleanConstructor;
30
- readonly round: BooleanConstructor;
31
- readonly circle: BooleanConstructor;
32
- readonly color: StringConstructor;
33
- readonly dark: BooleanConstructor;
34
- readonly autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
35
- readonly tag: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, "button", boolean>;
36
- }>;
37
- default: () => {
38
- size: {
39
- readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
40
- readonly required: false;
41
- readonly validator: ((val: unknown) => boolean) | undefined;
42
- __epPropKey: true;
43
- };
44
- disabled: BooleanConstructor;
45
- type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
46
- icon: {
47
- readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown>>;
48
- readonly required: false;
49
- readonly validator: ((val: unknown) => boolean) | undefined;
50
- __epPropKey: true;
51
- };
52
- nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
53
- loading: BooleanConstructor;
54
- loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, () => any, boolean>;
55
- plain: BooleanConstructor;
56
- text: BooleanConstructor;
57
- link: BooleanConstructor;
58
- bg: BooleanConstructor;
59
- autofocus: BooleanConstructor;
60
- round: BooleanConstructor;
61
- circle: BooleanConstructor;
62
- color: StringConstructor;
63
- dark: BooleanConstructor;
64
- autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
65
- tag: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, "button", boolean>;
66
- };
67
- };
68
- size: {
69
- readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
70
- readonly required: false;
71
- readonly validator: ((val: unknown) => boolean) | undefined;
72
- __epPropKey: true;
73
- };
74
- disabled: BooleanConstructor;
75
- type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
76
- icon: {
77
- readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown>>;
78
- readonly required: false;
79
- readonly validator: ((val: unknown) => boolean) | undefined;
80
- __epPropKey: true;
81
- };
82
- nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
83
- loading: BooleanConstructor;
84
- loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, () => any, boolean>;
85
- plain: BooleanConstructor;
86
- text: BooleanConstructor;
87
- link: BooleanConstructor;
88
- bg: BooleanConstructor;
89
- autofocus: BooleanConstructor;
90
- round: BooleanConstructor;
91
- circle: BooleanConstructor;
92
- color: StringConstructor;
93
- dark: BooleanConstructor;
94
- autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
95
- tag: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, "button", boolean>;
96
- }, {}, unknown, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
97
- finishSubmit: () => void;
98
- }, string, import("@vue/runtime-core").PublicProps, Readonly<import("@vue/runtime-core").ExtractPropTypes<{
99
- title: {
100
- type: StringConstructor;
101
- default: string;
102
- };
103
- elBtnProps: {
104
- type: () => import("@vue/runtime-core").ExtractPropTypes<{
105
- readonly size: {
106
- readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
107
- readonly required: false;
108
- readonly validator: ((val: unknown) => boolean) | undefined;
109
- __epPropKey: true;
110
- };
111
- readonly disabled: BooleanConstructor;
112
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
113
- readonly icon: {
114
- readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown>>;
115
- readonly required: false;
116
- readonly validator: ((val: unknown) => boolean) | undefined;
117
- __epPropKey: true;
118
- };
119
- readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
120
- readonly loading: BooleanConstructor;
121
- readonly loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, () => any, boolean>;
122
- readonly plain: BooleanConstructor;
123
- readonly text: BooleanConstructor;
124
- readonly link: BooleanConstructor;
125
- readonly bg: BooleanConstructor;
126
- readonly autofocus: BooleanConstructor;
127
- readonly round: BooleanConstructor;
128
- readonly circle: BooleanConstructor;
129
- readonly color: StringConstructor;
130
- readonly dark: BooleanConstructor;
131
- readonly autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
132
- readonly tag: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, "button", boolean>;
133
- }>;
134
- default: () => {
135
- size: {
136
- readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
137
- readonly required: false;
138
- readonly validator: ((val: unknown) => boolean) | undefined;
139
- __epPropKey: true;
140
- };
141
- disabled: BooleanConstructor;
142
- type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
143
- icon: {
144
- readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown>>;
145
- readonly required: false;
146
- readonly validator: ((val: unknown) => boolean) | undefined;
147
- __epPropKey: true;
148
- };
149
- nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
150
- loading: BooleanConstructor;
151
- loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, () => any, boolean>;
152
- plain: BooleanConstructor;
153
- text: BooleanConstructor;
154
- link: BooleanConstructor;
155
- bg: BooleanConstructor;
156
- autofocus: BooleanConstructor;
157
- round: BooleanConstructor;
158
- circle: BooleanConstructor;
159
- color: StringConstructor;
160
- dark: BooleanConstructor;
161
- autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
162
- tag: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, "button", boolean>;
163
- };
164
- };
165
- size: {
166
- readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
167
- readonly required: false;
168
- readonly validator: ((val: unknown) => boolean) | undefined;
169
- __epPropKey: true;
170
- };
171
- disabled: BooleanConstructor;
172
- type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
173
- icon: {
174
- readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown>>;
175
- readonly required: false;
176
- readonly validator: ((val: unknown) => boolean) | undefined;
177
- __epPropKey: true;
178
- };
179
- nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
180
- loading: BooleanConstructor;
181
- loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, () => any, boolean>;
182
- plain: BooleanConstructor;
183
- text: BooleanConstructor;
184
- link: BooleanConstructor;
185
- bg: BooleanConstructor;
186
- autofocus: BooleanConstructor;
187
- round: BooleanConstructor;
188
- circle: BooleanConstructor;
189
- color: StringConstructor;
190
- dark: BooleanConstructor;
191
- autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
192
- tag: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, "button", boolean>;
193
- }>> & {
194
- onFinishSubmit?: (() => any) | undefined;
195
- }, {
196
- text: boolean;
197
- type: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown>;
198
- disabled: boolean;
199
- nativeType: import("element-plus/es/utils").EpPropMergeType<StringConstructor, "reset" | "submit" | "button", unknown>;
200
- loading: boolean;
201
- loadingIcon: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown>;
202
- plain: boolean;
203
- link: boolean;
204
- bg: boolean;
205
- autofocus: boolean;
206
- round: boolean;
207
- circle: boolean;
208
- dark: boolean;
209
- autoInsertSpace: import("element-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
210
- tag: import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown>;
211
- title: string;
212
- elBtnProps: import("@vue/runtime-core").ExtractPropTypes<{
213
- readonly size: {
214
- readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils").EpPropMergeType<StringConstructor, "" | "default" | "small" | "large", never>>;
215
- readonly required: false;
216
- readonly validator: ((val: unknown) => boolean) | undefined;
217
- __epPropKey: true;
218
- };
219
- readonly disabled: BooleanConstructor;
220
- readonly type: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "" | "default" | "success" | "warning" | "info" | "text" | "primary" | "danger", unknown, "", boolean>;
221
- readonly icon: {
222
- readonly type: import("@vue/runtime-core").PropType<import("element-plus/es/utils").EpPropMergeType<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown>>;
223
- readonly required: false;
224
- readonly validator: ((val: unknown) => boolean) | undefined;
225
- __epPropKey: true;
226
- };
227
- readonly nativeType: import("element-plus/es/utils").EpPropFinalized<StringConstructor, "reset" | "submit" | "button", unknown, "button", boolean>;
228
- readonly loading: BooleanConstructor;
229
- readonly loadingIcon: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, () => any, boolean>;
230
- readonly plain: BooleanConstructor;
231
- readonly text: BooleanConstructor;
232
- readonly link: BooleanConstructor;
233
- readonly bg: BooleanConstructor;
234
- readonly autofocus: BooleanConstructor;
235
- readonly round: BooleanConstructor;
236
- readonly circle: BooleanConstructor;
237
- readonly color: StringConstructor;
238
- readonly dark: BooleanConstructor;
239
- readonly autoInsertSpace: import("element-plus/es/utils").EpPropFinalized<BooleanConstructor, unknown, unknown, undefined, boolean>;
240
- readonly tag: import("element-plus/es/utils").EpPropFinalized<(new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) | ((new (...args: any[]) => (string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>) & {}) | (() => string | import("@vue/runtime-core").Component<any, any, any, import("@vue/runtime-core").ComputedOptions, import("@vue/runtime-core").MethodOptions>))[], unknown, unknown, "button", boolean>;
241
- }>;
242
- }, {}>[];
1
+ import type { Plugin } from 'vue';
2
+ declare const _default: Plugin[];
243
3
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import { GmTest } from '../components/src/test/index.mjs';
2
2
 
3
- var component = [GmTest];
3
+ var Components = [GmTest];
4
4
 
5
- export { component as default };
5
+ export { Components as default };
6
6
  //# sourceMappingURL=component.mjs.map
@@ -1 +1 @@
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
+ {"version":3,"file":"component.mjs","sources":["../../../../packages/giime/component.ts"],"sourcesContent":["import { GmTest } from '@giime/components/src/test';\n\nimport type { Plugin } from 'vue';\n\nexport default [GmTest] as Plugin[];\n"],"names":[],"mappings":";;AAIA,iBAAe,CAAC,MAAM,CAAA;;;;"}
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ version: string;
3
+ install: (app: any) => void;
4
+ };
5
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { makeInstaller } from './makeInstaller.mjs';
2
+ import Components from './component.mjs';
3
+ import Plugins from './plugin.mjs';
4
+
5
+ var installer = makeInstaller([...Components, ...Plugins]);
6
+
7
+ export { installer as default };
8
+ //# sourceMappingURL=defaults.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"defaults.mjs","sources":["../../../../packages/giime/defaults.ts"],"sourcesContent":["import { makeInstaller } from './makeInstaller';\nimport Components from './component';\nimport Plugins from './plugin';\n\nexport default makeInstaller([...Components, ...Plugins]);\n"],"names":[],"mappings":";;;;AAIA,gBAAe,cAAc,CAAC,GAAG,UAAY,EAAA,GAAG,OAAO,CAAC,CAAA;;;;"}
@@ -1,3 +1,7 @@
1
+ import installer from './defaults';
1
2
  import './tailwind.css';
2
3
  export * from '../components';
3
4
  export * from '../utils';
5
+ export declare const install: (app: any) => void;
6
+ export declare const version: string;
7
+ export default installer;
@@ -1,7 +1,14 @@
1
+ import installer from './defaults.mjs';
1
2
  import './tailwind.css.mjs';
2
3
  import '../components/index.mjs';
3
4
  import '../utils/index.mjs';
4
5
  export { testProps } from '../components/src/test/test.mjs';
5
6
  export { GmTest } from '../components/src/test/index.mjs';
7
+ export { GmMessage } from '../components/src/message/index.mjs';
6
8
  export { getTag, isBoolean, isDate, isDecimal, isError, isEven, isInteger, isNegative, isNil, isNull, isNumber, isObjectLike, isOdd, isPlainObject, isPositive, isString, isSymbol, isUndefined } from '../utils/src/is.mjs';
9
+
10
+ const install = installer.install;
11
+ const version = installer.version;
12
+
13
+ export { installer as default, install, version };
7
14
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;"}
1
+ {"version":3,"file":"index.mjs","sources":["../../../../packages/giime/index.ts"],"sourcesContent":["import installer from './defaults';\r\nimport './tailwind.css';\r\nexport * from '@giime/components';\r\nexport * from '@giime/utils';\r\nexport const install = installer.install;\r\nexport const version = installer.version;\r\nexport default installer;\r\n"],"names":[],"mappings":";;;;;;;;;AAIO,MAAM,UAAU,SAAU,CAAA,QAAA;AAC1B,MAAM,UAAU,SAAU,CAAA;;;;"}
@@ -0,0 +1,5 @@
1
+ import type { Plugin } from '@vue/runtime-core';
2
+ export declare const makeInstaller: (components?: Plugin[]) => {
3
+ version: string;
4
+ install: (app: any) => void;
5
+ };
@@ -0,0 +1,19 @@
1
+ import '../constants/index.mjs';
2
+ import { version } from './version.mjs';
3
+ import { INSTALLED_KEY } from '../constants/key.mjs';
4
+
5
+ const makeInstaller = (components = []) => {
6
+ const install = (app) => {
7
+ if (app[INSTALLED_KEY])
8
+ return;
9
+ app[INSTALLED_KEY] = true;
10
+ components.forEach((c) => app.use(c));
11
+ };
12
+ return {
13
+ version,
14
+ install
15
+ };
16
+ };
17
+
18
+ export { makeInstaller };
19
+ //# sourceMappingURL=makeInstaller.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"makeInstaller.mjs","sources":["../../../../packages/giime/makeInstaller.ts"],"sourcesContent":["import { INSTALLED_KEY } from '@giime/constants';\nimport { version } from './version';\nimport type { Plugin } from '@vue/runtime-core';\n\nexport const makeInstaller = (components: Plugin[] = []) => {\n const install = (app: any) => {\n if (app[INSTALLED_KEY]) return;\n\n app[INSTALLED_KEY] = true;\n components.forEach(c => app.use(c));\n };\n\n return {\n version,\n install,\n };\n};\n"],"names":[],"mappings":";;;;AAIO,MAAM,aAAgB,GAAA,CAAC,UAAuB,GAAA,EAAO,KAAA;AAC1D,EAAM,MAAA,OAAA,GAAU,CAAC,GAAa,KAAA;AAC5B,IAAA,IAAI,IAAI,aAAa,CAAA;AAAG,MAAA,OAAA;AAExB,IAAA,GAAA,CAAI,aAAa,CAAI,GAAA,IAAA,CAAA;AACrB,IAAA,UAAA,CAAW,OAAQ,CAAA,CAAA,CAAA,KAAK,GAAI,CAAA,GAAA,CAAI,CAAC,CAAC,CAAA,CAAA;AAAA,GACpC,CAAA;AAEA,EAAO,OAAA;AAAA,IACL,OAAA;AAAA,IACA,OAAA;AAAA,GACF,CAAA;AACF;;;;"}
@@ -0,0 +1,3 @@
1
+ import type { Plugin } from 'vue';
2
+ declare const _default: Plugin[];
3
+ export default _default;
@@ -0,0 +1,7 @@
1
+ import '../components/index.mjs';
2
+ import { GmMessage } from '../components/src/message/index.mjs';
3
+
4
+ var Plugins = [GmMessage];
5
+
6
+ export { Plugins as default };
7
+ //# sourceMappingURL=plugin.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"plugin.mjs","sources":["../../../../packages/giime/plugin.ts"],"sourcesContent":["import { GmMessage } from '@giime/components';\n\nimport type { Plugin } from 'vue';\n\nexport default [GmMessage] as Plugin[];\n"],"names":[],"mappings":";;;AAIA,cAAe,CAAC,SAAS,CAAA;;;;"}
@@ -0,0 +1 @@
1
+ export declare const version = "0.0.0-dev.13";
@@ -0,0 +1,4 @@
1
+ const version = "0.0.0-dev.13";
2
+
3
+ export { version };
4
+ //# sourceMappingURL=version.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.mjs","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.0.0-dev.13'\n"],"names":[],"mappings":"AAAO,MAAM,OAAU,GAAA;;;;"}
@@ -0,0 +1,6 @@
1
+ import type { Directive } from 'vue';
2
+ import type { SFCInstallWithContext, SFCWithInstall } from './typescript';
3
+ export declare const withInstall: <T, E extends Record<string, any>>(main: T, extra?: E | undefined) => SFCWithInstall<T> & E;
4
+ export declare const withInstallFunction: <T>(fn: T, name: string) => SFCInstallWithContext<T>;
5
+ export declare const withInstallDirective: <T extends Directive>(directive: T, name: string) => SFCWithInstall<T>;
6
+ export declare const withNoopInstall: <T>(component: T) => SFCWithInstall<T>;
@@ -0,0 +1,35 @@
1
+ import { NOOP } from '@vue/shared';
2
+
3
+ const withInstall = (main, extra) => {
4
+ main.install = (app) => {
5
+ for (const comp of [main, ...Object.values(extra ?? {})]) {
6
+ app.component(comp.name, comp);
7
+ }
8
+ };
9
+ if (extra) {
10
+ for (const [key, comp] of Object.entries(extra)) {
11
+ main[key] = comp;
12
+ }
13
+ }
14
+ return main;
15
+ };
16
+ const withInstallFunction = (fn, name) => {
17
+ fn.install = (app) => {
18
+ fn._context = app._context;
19
+ app.config.globalProperties[name] = fn;
20
+ };
21
+ return fn;
22
+ };
23
+ const withInstallDirective = (directive, name) => {
24
+ directive.install = (app) => {
25
+ app.directive(name, directive);
26
+ };
27
+ return directive;
28
+ };
29
+ const withNoopInstall = (component) => {
30
+ component.install = NOOP;
31
+ return component;
32
+ };
33
+
34
+ export { withInstall, withInstallDirective, withInstallFunction, withNoopInstall };
35
+ //# sourceMappingURL=install.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"install.mjs","sources":["../../../../../../packages/utils/src/vue/install.ts"],"sourcesContent":["import { NOOP } from '@vue/shared';\r\n\r\nimport type { App, Directive } from 'vue';\r\nimport type { SFCInstallWithContext, SFCWithInstall } from './typescript';\r\n\r\nexport const withInstall = <T, E extends Record<string, any>>(main: T, extra?: E) => {\r\n (main as SFCWithInstall<T>).install = (app: App<any>): void => {\r\n for (const comp of [main, ...Object.values(extra ?? {})]) {\r\n app.component(comp.name, comp);\r\n }\r\n };\r\n\r\n if (extra) {\r\n for (const [key, comp] of Object.entries(extra)) {\r\n (main as any)[key] = comp;\r\n }\r\n }\r\n return main as SFCWithInstall<T> & E;\r\n};\r\n\r\nexport const withInstallFunction = <T>(fn: T, name: string) => {\r\n (fn as SFCWithInstall<T>).install = (app: App) => {\r\n (fn as SFCInstallWithContext<T>)._context = app._context;\r\n app.config.globalProperties[name] = fn;\r\n };\r\n\r\n return fn as SFCInstallWithContext<T>;\r\n};\r\n\r\nexport const withInstallDirective = <T extends Directive>(directive: T, name: string) => {\r\n (directive as SFCWithInstall<T>).install = (app: App): void => {\r\n app.directive(name, directive);\r\n };\r\n\r\n return directive as SFCWithInstall<T>;\r\n};\r\n\r\nexport const withNoopInstall = <T>(component: T) => {\r\n (component as SFCWithInstall<T>).install = NOOP;\r\n\r\n return component as SFCWithInstall<T>;\r\n};\r\n"],"names":[],"mappings":";;AAKa,MAAA,WAAA,GAAc,CAAmC,IAAA,EAAS,KAAc,KAAA;AACnF,EAAC,IAAA,CAA2B,OAAU,GAAA,CAAC,GAAwB,KAAA;AAC7D,IAAW,KAAA,MAAA,IAAA,IAAQ,CAAC,IAAA,EAAM,GAAG,MAAA,CAAO,OAAO,KAAS,IAAA,EAAE,CAAC,CAAG,EAAA;AACxD,MAAI,GAAA,CAAA,SAAA,CAAU,IAAK,CAAA,IAAA,EAAM,IAAI,CAAA,CAAA;AAAA,KAC/B;AAAA,GACF,CAAA;AAEA,EAAA,IAAI,KAAO,EAAA;AACT,IAAA,KAAA,MAAW,CAAC,GAAK,EAAA,IAAI,KAAK,MAAO,CAAA,OAAA,CAAQ,KAAK,CAAG,EAAA;AAC/C,MAAC,IAAA,CAAa,GAAG,CAAI,GAAA,IAAA,CAAA;AAAA,KACvB;AAAA,GACF;AACA,EAAO,OAAA,IAAA,CAAA;AACT,EAAA;AAEa,MAAA,mBAAA,GAAsB,CAAI,EAAA,EAAO,IAAiB,KAAA;AAC7D,EAAC,EAAA,CAAyB,OAAU,GAAA,CAAC,GAAa,KAAA;AAChD,IAAC,EAAA,CAAgC,WAAW,GAAI,CAAA,QAAA,CAAA;AAChD,IAAI,GAAA,CAAA,MAAA,CAAO,gBAAiB,CAAA,IAAI,CAAI,GAAA,EAAA,CAAA;AAAA,GACtC,CAAA;AAEA,EAAO,OAAA,EAAA,CAAA;AACT,EAAA;AAEa,MAAA,oBAAA,GAAuB,CAAsB,SAAA,EAAc,IAAiB,KAAA;AACvF,EAAC,SAAA,CAAgC,OAAU,GAAA,CAAC,GAAmB,KAAA;AAC7D,IAAI,GAAA,CAAA,SAAA,CAAU,MAAM,SAAS,CAAA,CAAA;AAAA,GAC/B,CAAA;AAEA,EAAO,OAAA,SAAA,CAAA;AACT,EAAA;AAEa,MAAA,eAAA,GAAkB,CAAI,SAAiB,KAAA;AAClD,EAAC,UAAgC,OAAU,GAAA,IAAA,CAAA;AAE3C,EAAO,OAAA,SAAA,CAAA;AACT;;;;"}
@@ -0,0 +1,5 @@
1
+ import type { AppContext, Plugin } from 'vue';
2
+ export type SFCWithInstall<T> = T & Plugin;
3
+ export type SFCInstallWithContext<T> = SFCWithInstall<T> & {
4
+ _context: AppContext | null;
5
+ };
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=typescript.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"typescript.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1 +1,2 @@
1
1
  export * from './src/test';
2
+ export * from './src/message';
@@ -1,10 +1,12 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./src/test/index.js');
4
+ var index$1 = require('./src/message/index.js');
4
5
  var test = require('./src/test/test.js');
5
6
 
6
7
 
7
8
 
8
9
  exports.GmTest = index.GmTest;
10
+ exports.GmMessage = index$1.GmMessage;
9
11
  exports.testProps = test.testProps;
10
12
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;"}
@@ -0,0 +1,2 @@
1
+ export declare const GmMessage: import("../../../utils/src/vue/typescript").SFCInstallWithContext<import("element-plus").Message>;
2
+ export default GmMessage;
@@ -0,0 +1,12 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var install = require('../../../utils/src/vue/install.js');
6
+ var method = require('./method.js');
7
+
8
+ const GmMessage = install.withInstallFunction(method.default, "$message");
9
+
10
+ exports.GmMessage = GmMessage;
11
+ exports.default = GmMessage;
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../packages/components/src/message/index.ts"],"sourcesContent":["import { withInstallFunction } from '@giime/utils/src/vue/install';\r\nimport Message from './method';\r\nexport const GmMessage = withInstallFunction(Message, '$message');\r\nexport default GmMessage;\r\n"],"names":["withInstallFunction","Message"],"mappings":";;;;;;;AAEa,MAAA,SAAA,GAAYA,2BAAoB,CAAAC,cAAA,EAAS,UAAU;;;;;"}
@@ -0,0 +1,4 @@
1
+ import type { Message } from 'element-plus';
2
+ export declare const messageTypes: readonly ["success", "info", "warning", "error"];
3
+ declare const _default: Message;
4
+ export default _default;
@@ -0,0 +1,28 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var elementPlus = require('element-plus');
6
+
7
+ const messageTypes = ["success", "info", "warning", "error"];
8
+ const message = (options = {}, context) => {
9
+ return elementPlus.ElMessage(
10
+ {
11
+ grouping: true,
12
+ // duration: 5 * 1000,
13
+ ...options
14
+ },
15
+ context
16
+ );
17
+ };
18
+ message.closeAll = elementPlus.ElMessage.closeAll;
19
+ message._context = elementPlus.ElMessage._context;
20
+ messageTypes.forEach((type) => {
21
+ message[type] = (options = {}, appContext) => {
22
+ return message({ ...options, type }, appContext);
23
+ };
24
+ });
25
+
26
+ exports.default = message;
27
+ exports.messageTypes = messageTypes;
28
+ //# sourceMappingURL=method.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"method.js","sources":["../../../../../../packages/components/src/message/method.ts"],"sourcesContent":["import { ElMessage } from 'element-plus';\r\nimport type { Message, MessageFn, MessageOptions, MessageParamsNormalized } from 'element-plus';\r\n\r\nimport type { AppContext } from 'vue';\r\nexport const messageTypes = ['success', 'info', 'warning', 'error'] as const;\r\nconst message: MessageFn & Partial<Message> & { _context: AppContext | null } = (options = {}, context) => {\r\n return ElMessage(\r\n {\r\n grouping: true,\r\n // duration: 5 * 1000,\r\n ...(options as MessageOptions),\r\n },\r\n context,\r\n );\r\n};\r\nmessage.closeAll = ElMessage.closeAll;\r\nmessage._context = ElMessage._context;\r\nmessageTypes.forEach(type => {\r\n message[type] = (options = {}, appContext) => {\r\n return message({ ...(options as MessageParamsNormalized), type }, appContext);\r\n };\r\n});\r\nexport default message as Message;\r\n"],"names":["ElMessage"],"mappings":";;;;;;AAIO,MAAM,YAAe,GAAA,CAAC,SAAW,EAAA,MAAA,EAAQ,WAAW,OAAO,EAAA;AAClE,MAAM,OAA0E,GAAA,CAAC,OAAU,GAAA,IAAI,OAAY,KAAA;AACzG,EAAO,OAAAA,qBAAA;AAAA,IACL;AAAA,MACE,QAAU,EAAA,IAAA;AAAA;AAAA,MAEV,GAAI,OAAA;AAAA,KACN;AAAA,IACA,OAAA;AAAA,GACF,CAAA;AACF,EAAA;AACA,OAAA,CAAQ,WAAWA,qBAAU,CAAA,QAAA,CAAA;AAC7B,OAAA,CAAQ,WAAWA,qBAAU,CAAA,QAAA,CAAA;AAC7B,YAAA,CAAa,QAAQ,CAAQ,IAAA,KAAA;AAC3B,EAAA,OAAA,CAAQ,IAAI,CAAI,GAAA,CAAC,OAAU,GAAA,IAAI,UAAe,KAAA;AAC5C,IAAA,OAAO,QAAQ,EAAE,GAAI,OAAqC,EAAA,IAAA,IAAQ,UAAU,CAAA,CAAA;AAAA,GAC9E,CAAA;AACF,CAAC,CAAA;;;;;"}