giime 0.0.0-dev.2 → 0.0.0-dev.21

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 (203) hide show
  1. package/README.md +11 -10
  2. package/dist/index.css +496 -0
  3. package/es/components/index.d.ts +4 -1
  4. package/es/components/index.mjs +7 -1
  5. package/es/components/index.mjs.map +1 -1
  6. package/es/components/src/cascader/Cascader.vue.mjs +7 -0
  7. package/es/components/src/cascader/Cascader.vue.mjs.map +1 -0
  8. package/es/components/src/cascader/Cascader.vue2.mjs +51 -0
  9. package/es/components/src/cascader/Cascader.vue2.mjs.map +1 -0
  10. package/es/components/src/cascader/cascader.d.ts +63 -0
  11. package/es/components/src/cascader/cascader.mjs +13 -0
  12. package/es/components/src/cascader/cascader.mjs.map +1 -0
  13. package/es/components/src/cascader/index.d.ts +6 -0
  14. package/es/components/src/cascader/index.mjs +9 -0
  15. package/es/components/src/cascader/index.mjs.map +1 -0
  16. package/es/components/src/cascaderPanel/CascaderPanel.vue.d.ts +400 -0
  17. package/es/components/src/cascaderPanel/CascaderPanel.vue.mjs +7 -0
  18. package/es/components/src/cascaderPanel/CascaderPanel.vue.mjs.map +1 -0
  19. package/es/components/src/cascaderPanel/CascaderPanel.vue2.mjs +50 -0
  20. package/es/components/src/cascaderPanel/CascaderPanel.vue2.mjs.map +1 -0
  21. package/es/components/src/cascaderPanel/cascaderPanel.d.ts +23 -0
  22. package/es/components/src/cascaderPanel/cascaderPanel.mjs +18 -0
  23. package/es/components/src/cascaderPanel/cascaderPanel.mjs.map +1 -0
  24. package/es/components/src/cascaderPanel/index.d.ts +1176 -0
  25. package/es/components/src/cascaderPanel/index.mjs +9 -0
  26. package/es/components/src/cascaderPanel/index.mjs.map +1 -0
  27. package/es/components/src/message/index.d.ts +2 -0
  28. package/es/components/src/message/index.mjs +7 -0
  29. package/es/components/src/message/index.mjs.map +1 -0
  30. package/es/components/src/message/method.d.ts +4 -0
  31. package/es/components/src/message/method.mjs +28 -0
  32. package/es/components/src/message/method.mjs.map +1 -0
  33. package/es/components/src/test/Test.vue.d.ts +243 -0
  34. package/es/components/src/test/Test.vue.mjs +8 -0
  35. package/es/components/src/test/Test.vue.mjs.map +1 -0
  36. package/es/components/src/test/Test.vue2.mjs +64 -0
  37. package/es/components/src/test/Test.vue2.mjs.map +1 -0
  38. package/es/components/src/{text/Text.vue3.mjs → test/Test.vue3.mjs} +1 -1
  39. package/es/components/src/test/Test.vue3.mjs.map +1 -0
  40. package/es/components/src/test/index.d.ts +246 -0
  41. package/es/components/src/test/index.mjs +8 -0
  42. package/es/components/src/test/index.mjs.map +1 -0
  43. package/es/components/src/test/test.d.ts +72 -0
  44. package/es/components/src/test/test.mjs +16 -0
  45. package/es/components/src/test/test.mjs.map +1 -0
  46. package/es/constants/index.d.ts +1 -0
  47. package/es/constants/index.mjs +2 -0
  48. package/es/constants/index.mjs.map +1 -0
  49. package/es/constants/key.d.ts +1 -0
  50. package/es/constants/key.mjs +4 -0
  51. package/es/constants/key.mjs.map +1 -0
  52. package/es/giime/component.d.ts +2 -1
  53. package/es/giime/component.mjs +3 -3
  54. package/es/giime/component.mjs.map +1 -1
  55. package/es/giime/defaults.d.ts +5 -0
  56. package/es/giime/defaults.mjs +8 -0
  57. package/es/giime/defaults.mjs.map +1 -0
  58. package/es/giime/index.d.ts +5 -0
  59. package/es/giime/index.mjs +17 -1
  60. package/es/giime/index.mjs.map +1 -1
  61. package/es/giime/makeInstaller.d.ts +5 -0
  62. package/es/giime/makeInstaller.mjs +19 -0
  63. package/es/giime/makeInstaller.mjs.map +1 -0
  64. package/es/giime/plugin.d.ts +3 -0
  65. package/es/giime/plugin.mjs +7 -0
  66. package/es/giime/plugin.mjs.map +1 -0
  67. package/es/giime/tailwind.css.mjs +4 -0
  68. package/es/giime/tailwind.css.mjs.map +1 -0
  69. package/es/giime/version.d.ts +1 -0
  70. package/es/giime/version.mjs +4 -0
  71. package/es/giime/version.mjs.map +1 -0
  72. package/es/index.css +493 -1
  73. package/es/utils/index.d.ts +2 -0
  74. package/es/utils/index.mjs +5 -0
  75. package/es/utils/index.mjs.map +1 -1
  76. package/es/utils/src/elementPlus/event.d.ts +1 -0
  77. package/es/utils/src/elementPlus/event.mjs +13 -0
  78. package/es/utils/src/elementPlus/event.mjs.map +1 -0
  79. package/es/utils/src/elementPlus/index.d.ts +1 -0
  80. package/es/utils/src/elementPlus/index.mjs +2 -0
  81. package/es/utils/src/elementPlus/index.mjs.map +1 -0
  82. package/es/utils/src/vue/index.d.ts +3 -0
  83. package/es/utils/src/vue/index.mjs +4 -0
  84. package/es/utils/src/vue/index.mjs.map +1 -0
  85. package/es/utils/src/vue/install.d.ts +7 -0
  86. package/es/utils/src/vue/install.mjs +35 -0
  87. package/es/utils/src/vue/install.mjs.map +1 -0
  88. package/es/utils/src/vue/resolver.d.ts +3 -0
  89. package/es/utils/src/vue/resolver.mjs +25 -0
  90. package/es/utils/src/vue/resolver.mjs.map +1 -0
  91. package/es/utils/src/vue/typescript.d.ts +5 -0
  92. package/es/utils/src/vue/typescript.mjs +2 -0
  93. package/es/utils/src/vue/typescript.mjs.map +1 -0
  94. package/lib/components/index.d.ts +4 -1
  95. package/lib/components/index.js +17 -2
  96. package/lib/components/index.js.map +1 -1
  97. package/lib/components/src/cascader/Cascader.vue.js +11 -0
  98. package/lib/components/src/cascader/Cascader.vue.js.map +1 -0
  99. package/lib/components/src/cascader/Cascader.vue2.js +55 -0
  100. package/lib/components/src/cascader/Cascader.vue2.js.map +1 -0
  101. package/lib/components/src/cascader/cascader.d.ts +63 -0
  102. package/lib/components/src/cascader/cascader.js +16 -0
  103. package/lib/components/src/cascader/cascader.js.map +1 -0
  104. package/lib/components/src/cascader/index.d.ts +6 -0
  105. package/lib/components/src/cascader/index.js +16 -0
  106. package/lib/components/src/cascader/index.js.map +1 -0
  107. package/lib/components/src/cascaderPanel/CascaderPanel.vue.d.ts +400 -0
  108. package/lib/components/src/cascaderPanel/CascaderPanel.vue.js +11 -0
  109. package/lib/components/src/cascaderPanel/CascaderPanel.vue.js.map +1 -0
  110. package/lib/components/src/cascaderPanel/CascaderPanel.vue2.js +54 -0
  111. package/lib/components/src/cascaderPanel/CascaderPanel.vue2.js.map +1 -0
  112. package/lib/components/src/cascaderPanel/cascaderPanel.d.ts +23 -0
  113. package/lib/components/src/cascaderPanel/cascaderPanel.js +22 -0
  114. package/lib/components/src/cascaderPanel/cascaderPanel.js.map +1 -0
  115. package/lib/components/src/cascaderPanel/index.d.ts +1176 -0
  116. package/lib/components/src/cascaderPanel/index.js +17 -0
  117. package/lib/components/src/cascaderPanel/index.js.map +1 -0
  118. package/lib/components/src/message/index.d.ts +2 -0
  119. package/lib/components/src/message/index.js +12 -0
  120. package/lib/components/src/message/index.js.map +1 -0
  121. package/lib/components/src/message/method.d.ts +4 -0
  122. package/lib/components/src/message/method.js +33 -0
  123. package/lib/components/src/message/method.js.map +1 -0
  124. package/lib/components/src/test/Test.vue.d.ts +243 -0
  125. package/lib/components/src/test/Test.vue.js +12 -0
  126. package/lib/components/src/test/Test.vue.js.map +1 -0
  127. package/lib/components/src/test/Test.vue2.js +68 -0
  128. package/lib/components/src/test/Test.vue2.js.map +1 -0
  129. package/lib/components/src/{text/Text.vue3.js → test/Test.vue3.js} +1 -1
  130. package/lib/components/src/test/Test.vue3.js.map +1 -0
  131. package/lib/components/src/test/index.d.ts +246 -0
  132. package/lib/components/src/test/index.js +14 -0
  133. package/lib/components/src/test/index.js.map +1 -0
  134. package/lib/components/src/test/test.d.ts +72 -0
  135. package/lib/components/src/test/test.js +18 -0
  136. package/lib/components/src/test/test.js.map +1 -0
  137. package/lib/constants/index.d.ts +1 -0
  138. package/lib/constants/index.js +8 -0
  139. package/lib/constants/index.js.map +1 -0
  140. package/lib/constants/key.d.ts +1 -0
  141. package/lib/constants/key.js +6 -0
  142. package/lib/constants/key.js.map +1 -0
  143. package/lib/giime/component.d.ts +2 -1
  144. package/lib/giime/component.js +3 -3
  145. package/lib/giime/component.js.map +1 -1
  146. package/lib/giime/defaults.d.ts +5 -0
  147. package/lib/giime/defaults.js +12 -0
  148. package/lib/giime/defaults.js.map +1 -0
  149. package/lib/giime/index.d.ts +5 -0
  150. package/lib/giime/index.js +36 -3
  151. package/lib/giime/index.js.map +1 -1
  152. package/lib/giime/makeInstaller.d.ts +5 -0
  153. package/lib/giime/makeInstaller.js +21 -0
  154. package/lib/giime/makeInstaller.js.map +1 -0
  155. package/lib/giime/plugin.d.ts +3 -0
  156. package/lib/giime/plugin.js +11 -0
  157. package/lib/giime/plugin.js.map +1 -0
  158. package/lib/giime/tailwind.css.js +8 -0
  159. package/lib/giime/tailwind.css.js.map +1 -0
  160. package/lib/giime/version.d.ts +1 -0
  161. package/lib/giime/version.js +6 -0
  162. package/lib/giime/version.js.map +1 -0
  163. package/lib/index.css +493 -1
  164. package/lib/utils/index.d.ts +2 -0
  165. package/lib/utils/index.js +12 -0
  166. package/lib/utils/index.js.map +1 -1
  167. package/lib/utils/src/elementPlus/event.d.ts +1 -0
  168. package/lib/utils/src/elementPlus/event.js +15 -0
  169. package/lib/utils/src/elementPlus/event.js.map +1 -0
  170. package/lib/utils/src/elementPlus/index.d.ts +1 -0
  171. package/lib/utils/src/elementPlus/index.js +8 -0
  172. package/lib/utils/src/elementPlus/index.js.map +1 -0
  173. package/lib/utils/src/vue/index.d.ts +3 -0
  174. package/lib/utils/src/vue/index.js +15 -0
  175. package/lib/utils/src/vue/index.js.map +1 -0
  176. package/lib/utils/src/vue/install.d.ts +7 -0
  177. package/lib/utils/src/vue/install.js +40 -0
  178. package/lib/utils/src/vue/install.js.map +1 -0
  179. package/lib/utils/src/vue/resolver.d.ts +3 -0
  180. package/lib/utils/src/vue/resolver.js +28 -0
  181. package/lib/utils/src/vue/resolver.js.map +1 -0
  182. package/lib/utils/src/vue/typescript.d.ts +5 -0
  183. package/lib/utils/src/vue/typescript.js +3 -0
  184. package/lib/utils/src/vue/typescript.js.map +1 -0
  185. package/package.json +9 -1
  186. package/es/components/src/text/Text.vue.d.ts +0 -2
  187. package/es/components/src/text/Text.vue.mjs +0 -8
  188. package/es/components/src/text/Text.vue.mjs.map +0 -1
  189. package/es/components/src/text/Text.vue2.mjs +0 -18
  190. package/es/components/src/text/Text.vue2.mjs.map +0 -1
  191. package/es/components/src/text/Text.vue3.mjs.map +0 -1
  192. package/es/components/src/text/index.d.ts +0 -2
  193. package/es/components/src/text/index.mjs +0 -6
  194. package/es/components/src/text/index.mjs.map +0 -1
  195. package/lib/components/src/text/Text.vue.d.ts +0 -2
  196. package/lib/components/src/text/Text.vue.js +0 -12
  197. package/lib/components/src/text/Text.vue.js.map +0 -1
  198. package/lib/components/src/text/Text.vue2.js +0 -22
  199. package/lib/components/src/text/Text.vue2.js.map +0 -1
  200. package/lib/components/src/text/Text.vue3.js.map +0 -1
  201. package/lib/components/src/text/index.d.ts +0 -2
  202. package/lib/components/src/text/index.js +0 -11
  203. package/lib/components/src/text/index.js.map +0 -1
@@ -0,0 +1 @@
1
+ export declare const version = "0.0.0-dev.21";
@@ -0,0 +1,6 @@
1
+ 'use strict';
2
+
3
+ const version = "0.0.0-dev.21";
4
+
5
+ exports.version = version;
6
+ //# sourceMappingURL=version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.js","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.0.0-dev.21'\n"],"names":[],"mappings":";;AAAO,MAAM,OAAU,GAAA;;;;"}
package/lib/index.css CHANGED
@@ -1,4 +1,496 @@
1
+ /*
2
+ ! tailwindcss v3.4.1 | MIT License | https://tailwindcss.com
3
+ *//*
4
+ 1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
5
+ 2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
6
+ */
1
7
 
2
- .gm-text[data-v-65b605ec] {
8
+ *,
9
+ ::before,
10
+ ::after {
11
+ box-sizing: border-box; /* 1 */
12
+ border-width: 0; /* 2 */
13
+ border-style: solid; /* 2 */
14
+ border-color: #e5e7eb; /* 2 */
15
+ }
16
+
17
+ ::before,
18
+ ::after {
19
+ --tw-content: '';
20
+ }
21
+
22
+ /*
23
+ 1. Use a consistent sensible line-height in all browsers.
24
+ 2. Prevent adjustments of font size after orientation changes in iOS.
25
+ 3. Use a more readable tab size.
26
+ 4. Use the user's configured `sans` font-family by default.
27
+ 5. Use the user's configured `sans` font-feature-settings by default.
28
+ 6. Use the user's configured `sans` font-variation-settings by default.
29
+ 7. Disable tap highlights on iOS
30
+ */
31
+
32
+ html,
33
+ :host {
34
+ line-height: 1.5; /* 1 */
35
+ -webkit-text-size-adjust: 100%; /* 2 */ /* 3 */
36
+ tab-size: 4; /* 3 */
37
+ font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
38
+ font-feature-settings: normal; /* 5 */
39
+ font-variation-settings: normal; /* 6 */
40
+ -webkit-tap-highlight-color: transparent; /* 7 */
41
+ }
42
+
43
+ /*
44
+ 1. Remove the margin in all browsers.
45
+ 2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
46
+ */
47
+
48
+ body {
49
+ margin: 0; /* 1 */
50
+ line-height: inherit; /* 2 */
51
+ }
52
+
53
+ /*
54
+ 1. Add the correct height in Firefox.
55
+ 2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
56
+ 3. Ensure horizontal rules are visible by default.
57
+ */
58
+
59
+ hr {
60
+ height: 0; /* 1 */
61
+ color: inherit; /* 2 */
62
+ border-top-width: 1px; /* 3 */
63
+ }
64
+
65
+ /*
66
+ Add the correct text decoration in Chrome, Edge, and Safari.
67
+ */
68
+
69
+ abbr:where([title]) {
70
+ -webkit-text-decoration: underline dotted;
71
+ text-decoration: underline dotted;
72
+ }
73
+
74
+ /*
75
+ Remove the default font size and weight for headings.
76
+ */
77
+
78
+ h1,
79
+ h2,
80
+ h3,
81
+ h4,
82
+ h5,
83
+ h6 {
84
+ font-size: inherit;
85
+ font-weight: inherit;
86
+ }
87
+
88
+ /*
89
+ Reset links to optimize for opt-in styling instead of opt-out.
90
+ */
91
+
92
+ a {
93
+ color: inherit;
94
+ text-decoration: inherit;
95
+ }
96
+
97
+ /*
98
+ Add the correct font weight in Edge and Safari.
99
+ */
100
+
101
+ b,
102
+ strong {
103
+ font-weight: bolder;
104
+ }
105
+
106
+ /*
107
+ 1. Use the user's configured `mono` font-family by default.
108
+ 2. Use the user's configured `mono` font-feature-settings by default.
109
+ 3. Use the user's configured `mono` font-variation-settings by default.
110
+ 4. Correct the odd `em` font sizing in all browsers.
111
+ */
112
+
113
+ code,
114
+ kbd,
115
+ samp,
116
+ pre {
117
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
118
+ font-feature-settings: normal; /* 2 */
119
+ font-variation-settings: normal; /* 3 */
120
+ font-size: 1em; /* 4 */
121
+ }
122
+
123
+ /*
124
+ Add the correct font size in all browsers.
125
+ */
126
+
127
+ small {
128
+ font-size: 80%;
129
+ }
130
+
131
+ /*
132
+ Prevent `sub` and `sup` elements from affecting the line height in all browsers.
133
+ */
134
+
135
+ sub,
136
+ sup {
137
+ font-size: 75%;
138
+ line-height: 0;
139
+ position: relative;
140
+ vertical-align: baseline;
141
+ }
142
+
143
+ sub {
144
+ bottom: -0.25em;
145
+ }
146
+
147
+ sup {
148
+ top: -0.5em;
149
+ }
150
+
151
+ /*
152
+ 1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
153
+ 2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
154
+ 3. Remove gaps between table borders by default.
155
+ */
156
+
157
+ table {
158
+ text-indent: 0; /* 1 */
159
+ border-color: inherit; /* 2 */
160
+ border-collapse: collapse; /* 3 */
161
+ }
162
+
163
+ /*
164
+ 1. Change the font styles in all browsers.
165
+ 2. Remove the margin in Firefox and Safari.
166
+ 3. Remove default padding in all browsers.
167
+ */
168
+
169
+ button,
170
+ input,
171
+ optgroup,
172
+ select,
173
+ textarea {
174
+ font-family: inherit; /* 1 */
175
+ font-feature-settings: inherit; /* 1 */
176
+ font-variation-settings: inherit; /* 1 */
177
+ font-size: 100%; /* 1 */
178
+ font-weight: inherit; /* 1 */
179
+ line-height: inherit; /* 1 */
180
+ color: inherit; /* 1 */
181
+ margin: 0; /* 2 */
182
+ padding: 0; /* 3 */
183
+ }
184
+
185
+ /*
186
+ Remove the inheritance of text transform in Edge and Firefox.
187
+ */
188
+
189
+ button,
190
+ select {
191
+ text-transform: none;
192
+ }
193
+
194
+ /*
195
+ 1. Correct the inability to style clickable types in iOS and Safari.
196
+ 2. Remove default button styles.
197
+ */
198
+
199
+ button,
200
+ [type='button'],
201
+ [type='reset'],
202
+ [type='submit'] {
203
+ -webkit-appearance: button; /* 1 */
204
+ background-color: transparent; /* 2 */
205
+ background-image: none; /* 2 */
206
+ }
207
+
208
+ /*
209
+ Use the modern Firefox focus style for all focusable elements.
210
+ */
211
+
212
+ :-moz-focusring {
213
+ outline: auto;
214
+ }
215
+
216
+ /*
217
+ Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
218
+ */
219
+
220
+ :-moz-ui-invalid {
221
+ box-shadow: none;
222
+ }
223
+
224
+ /*
225
+ Add the correct vertical alignment in Chrome and Firefox.
226
+ */
227
+
228
+ progress {
229
+ vertical-align: baseline;
230
+ }
231
+
232
+ /*
233
+ Correct the cursor style of increment and decrement buttons in Safari.
234
+ */
235
+
236
+ ::-webkit-inner-spin-button,
237
+ ::-webkit-outer-spin-button {
238
+ height: auto;
239
+ }
240
+
241
+ /*
242
+ 1. Correct the odd appearance in Chrome and Safari.
243
+ 2. Correct the outline style in Safari.
244
+ */
245
+
246
+ [type='search'] {
247
+ -webkit-appearance: textfield; /* 1 */
248
+ outline-offset: -2px; /* 2 */
249
+ }
250
+
251
+ /*
252
+ Remove the inner padding in Chrome and Safari on macOS.
253
+ */
254
+
255
+ ::-webkit-search-decoration {
256
+ -webkit-appearance: none;
257
+ }
258
+
259
+ /*
260
+ 1. Correct the inability to style clickable types in iOS and Safari.
261
+ 2. Change font properties to `inherit` in Safari.
262
+ */
263
+
264
+ ::-webkit-file-upload-button {
265
+ -webkit-appearance: button; /* 1 */
266
+ font: inherit; /* 2 */
267
+ }
268
+
269
+ /*
270
+ Add the correct display in Chrome and Safari.
271
+ */
272
+
273
+ summary {
274
+ display: list-item;
275
+ }
276
+
277
+ /*
278
+ Removes the default spacing and border for appropriate elements.
279
+ */
280
+
281
+ blockquote,
282
+ dl,
283
+ dd,
284
+ h1,
285
+ h2,
286
+ h3,
287
+ h4,
288
+ h5,
289
+ h6,
290
+ hr,
291
+ figure,
292
+ p,
293
+ pre {
294
+ margin: 0;
295
+ }
296
+
297
+ fieldset {
298
+ margin: 0;
299
+ padding: 0;
300
+ }
301
+
302
+ legend {
303
+ padding: 0;
304
+ }
305
+
306
+ ol,
307
+ ul,
308
+ menu {
309
+ list-style: none;
310
+ margin: 0;
311
+ padding: 0;
312
+ }
313
+
314
+ /*
315
+ Reset default styling for dialogs.
316
+ */
317
+ dialog {
318
+ padding: 0;
319
+ }
320
+
321
+ /*
322
+ Prevent resizing textareas horizontally by default.
323
+ */
324
+
325
+ textarea {
326
+ resize: vertical;
327
+ }
328
+
329
+ /*
330
+ 1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
331
+ 2. Set the default placeholder color to the user's configured gray 400 color.
332
+ */
333
+
334
+ input::placeholder,
335
+ textarea::placeholder {
336
+ opacity: 1; /* 1 */
337
+ color: #9ca3af; /* 2 */
338
+ }
339
+
340
+ /*
341
+ Set the default cursor for buttons.
342
+ */
343
+
344
+ button,
345
+ [role="button"] {
346
+ cursor: pointer;
347
+ }
348
+
349
+ /*
350
+ Make sure disabled buttons don't get the pointer cursor.
351
+ */
352
+ :disabled {
353
+ cursor: default;
354
+ }
355
+
356
+ /*
357
+ 1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
358
+ 2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
359
+ This can trigger a poorly considered lint error in some tools but is included by design.
360
+ */
361
+
362
+ img,
363
+ svg,
364
+ video,
365
+ canvas,
366
+ audio,
367
+ iframe,
368
+ embed,
369
+ object {
370
+ display: block; /* 1 */
371
+ vertical-align: middle; /* 2 */
372
+ }
373
+
374
+ /*
375
+ Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
376
+ */
377
+
378
+ img,
379
+ video {
380
+ max-width: 100%;
381
+ height: auto;
382
+ }
383
+
384
+ /* Make elements with the HTML hidden attribute stay hidden by default */
385
+ [hidden] {
386
+ display: none;
387
+ }
388
+
389
+ *, ::before, ::after {
390
+ --tw-border-spacing-x: 0;
391
+ --tw-border-spacing-y: 0;
392
+ --tw-translate-x: 0;
393
+ --tw-translate-y: 0;
394
+ --tw-rotate: 0;
395
+ --tw-skew-x: 0;
396
+ --tw-skew-y: 0;
397
+ --tw-scale-x: 1;
398
+ --tw-scale-y: 1;
399
+ --tw-pan-x: ;
400
+ --tw-pan-y: ;
401
+ --tw-pinch-zoom: ;
402
+ --tw-scroll-snap-strictness: proximity;
403
+ --tw-gradient-from-position: ;
404
+ --tw-gradient-via-position: ;
405
+ --tw-gradient-to-position: ;
406
+ --tw-ordinal: ;
407
+ --tw-slashed-zero: ;
408
+ --tw-numeric-figure: ;
409
+ --tw-numeric-spacing: ;
410
+ --tw-numeric-fraction: ;
411
+ --tw-ring-inset: ;
412
+ --tw-ring-offset-width: 0px;
413
+ --tw-ring-offset-color: #fff;
414
+ --tw-ring-color: rgb(59 130 246 / 0.5);
415
+ --tw-ring-offset-shadow: 0 0 #0000;
416
+ --tw-ring-shadow: 0 0 #0000;
417
+ --tw-shadow: 0 0 #0000;
418
+ --tw-shadow-colored: 0 0 #0000;
419
+ --tw-blur: ;
420
+ --tw-brightness: ;
421
+ --tw-contrast: ;
422
+ --tw-grayscale: ;
423
+ --tw-hue-rotate: ;
424
+ --tw-invert: ;
425
+ --tw-saturate: ;
426
+ --tw-sepia: ;
427
+ --tw-drop-shadow: ;
428
+ --tw-backdrop-blur: ;
429
+ --tw-backdrop-brightness: ;
430
+ --tw-backdrop-contrast: ;
431
+ --tw-backdrop-grayscale: ;
432
+ --tw-backdrop-hue-rotate: ;
433
+ --tw-backdrop-invert: ;
434
+ --tw-backdrop-opacity: ;
435
+ --tw-backdrop-saturate: ;
436
+ --tw-backdrop-sepia: ;
437
+ }
438
+
439
+ ::backdrop {
440
+ --tw-border-spacing-x: 0;
441
+ --tw-border-spacing-y: 0;
442
+ --tw-translate-x: 0;
443
+ --tw-translate-y: 0;
444
+ --tw-rotate: 0;
445
+ --tw-skew-x: 0;
446
+ --tw-skew-y: 0;
447
+ --tw-scale-x: 1;
448
+ --tw-scale-y: 1;
449
+ --tw-pan-x: ;
450
+ --tw-pan-y: ;
451
+ --tw-pinch-zoom: ;
452
+ --tw-scroll-snap-strictness: proximity;
453
+ --tw-gradient-from-position: ;
454
+ --tw-gradient-via-position: ;
455
+ --tw-gradient-to-position: ;
456
+ --tw-ordinal: ;
457
+ --tw-slashed-zero: ;
458
+ --tw-numeric-figure: ;
459
+ --tw-numeric-spacing: ;
460
+ --tw-numeric-fraction: ;
461
+ --tw-ring-inset: ;
462
+ --tw-ring-offset-width: 0px;
463
+ --tw-ring-offset-color: #fff;
464
+ --tw-ring-color: rgb(59 130 246 / 0.5);
465
+ --tw-ring-offset-shadow: 0 0 #0000;
466
+ --tw-ring-shadow: 0 0 #0000;
467
+ --tw-shadow: 0 0 #0000;
468
+ --tw-shadow-colored: 0 0 #0000;
469
+ --tw-blur: ;
470
+ --tw-brightness: ;
471
+ --tw-contrast: ;
472
+ --tw-grayscale: ;
473
+ --tw-hue-rotate: ;
474
+ --tw-invert: ;
475
+ --tw-saturate: ;
476
+ --tw-sepia: ;
477
+ --tw-drop-shadow: ;
478
+ --tw-backdrop-blur: ;
479
+ --tw-backdrop-brightness: ;
480
+ --tw-backdrop-contrast: ;
481
+ --tw-backdrop-grayscale: ;
482
+ --tw-backdrop-hue-rotate: ;
483
+ --tw-backdrop-invert: ;
484
+ --tw-backdrop-opacity: ;
485
+ --tw-backdrop-saturate: ;
486
+ --tw-backdrop-sepia: ;
487
+ }
488
+ .gm-text-title {
489
+ font-size: var(--gm-text-title);
490
+ line-height: var(--gm-leading-title);
491
+ font-weight: 700;
492
+ }
493
+
494
+ .gm-text[data-v-d650d997] {
3
495
  color: var(--gm-text-color-primary);
4
496
  }
@@ -1 +1,3 @@
1
1
  export * from './src/is';
2
+ export * from './src/vue';
3
+ export * from './src/elementPlus';
@@ -1,6 +1,11 @@
1
1
  'use strict';
2
2
 
3
3
  var is = require('./src/is.js');
4
+ require('./src/vue/index.js');
5
+ require('./src/elementPlus/index.js');
6
+ var install = require('./src/vue/install.js');
7
+ var resolver = require('./src/vue/resolver.js');
8
+ var event = require('./src/elementPlus/event.js');
4
9
 
5
10
 
6
11
 
@@ -22,4 +27,11 @@ exports.isPositive = is.isPositive;
22
27
  exports.isString = is.isString;
23
28
  exports.isSymbol = is.isSymbol;
24
29
  exports.isUndefined = is.isUndefined;
30
+ exports.withInstall = install.withInstall;
31
+ exports.withInstallDirective = install.withInstallDirective;
32
+ exports.withInstallFunction = install.withInstallFunction;
33
+ exports.withNoopInstall = install.withNoopInstall;
34
+ exports.GiimeResolver = resolver.GiimeResolver;
35
+ exports.kebabCase = resolver.kebabCase;
36
+ exports.getGmEvent = event.getGmEvent;
25
37
  //# 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 @@
1
+ export declare const getGmEvent: (events: Record<string, any>, emit: (...args: any[]) => any) => {};
@@ -0,0 +1,15 @@
1
+ 'use strict';
2
+
3
+ const getGmEvent = (events, emit) => {
4
+ return Object.keys(events).reduce((acc, key) => {
5
+ return {
6
+ ...acc,
7
+ [key]: (...args) => {
8
+ return emit(key, ...args);
9
+ }
10
+ };
11
+ }, {});
12
+ };
13
+
14
+ exports.getGmEvent = getGmEvent;
15
+ //# sourceMappingURL=event.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"event.js","sources":["../../../../../../packages/utils/src/elementPlus/event.ts"],"sourcesContent":["export const getGmEvent = (events: Record<string, any>, emit: (...args: any[]) => any) => {\r\n return Object.keys(events).reduce((acc, key) => {\r\n return {\r\n ...acc,\r\n [key]: (...args: any[]) => {\r\n return emit(key, ...args);\r\n },\r\n };\r\n }, {});\r\n};\r\n"],"names":[],"mappings":";;AAAa,MAAA,UAAA,GAAa,CAAC,MAAA,EAA6B,IAAkC,KAAA;AACxF,EAAA,OAAO,OAAO,IAAK,CAAA,MAAM,EAAE,MAAO,CAAA,CAAC,KAAK,GAAQ,KAAA;AAC9C,IAAO,OAAA;AAAA,MACL,GAAG,GAAA;AAAA,MACH,CAAC,GAAG,GAAG,CAAA,GAAI,IAAgB,KAAA;AACzB,QAAO,OAAA,IAAA,CAAK,GAAK,EAAA,GAAG,IAAI,CAAA,CAAA;AAAA,OAC1B;AAAA,KACF,CAAA;AAAA,GACF,EAAG,EAAE,CAAA,CAAA;AACP;;;;"}
@@ -0,0 +1 @@
1
+ export * from './event';
@@ -0,0 +1,8 @@
1
+ 'use strict';
2
+
3
+ var event = require('./event.js');
4
+
5
+
6
+
7
+ exports.getGmEvent = event.getGmEvent;
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
@@ -0,0 +1,3 @@
1
+ export * from './install';
2
+ export * from './resolver';
3
+ export * from './typescript';
@@ -0,0 +1,15 @@
1
+ 'use strict';
2
+
3
+ var install = require('./install.js');
4
+ var resolver = require('./resolver.js');
5
+ require('./typescript.js');
6
+
7
+
8
+
9
+ exports.withInstall = install.withInstall;
10
+ exports.withInstallDirective = install.withInstallDirective;
11
+ exports.withInstallFunction = install.withInstallFunction;
12
+ exports.withNoopInstall = install.withNoopInstall;
13
+ exports.GiimeResolver = resolver.GiimeResolver;
14
+ exports.kebabCase = resolver.kebabCase;
15
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -0,0 +1,7 @@
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 type WithInstallReturnType<T, E extends Record<string, any> = object> = ReturnType<typeof withInstall<T, E>>;
5
+ export declare const withInstallFunction: <T>(fn: T, name: string) => SFCInstallWithContext<T>;
6
+ export declare const withInstallDirective: <T extends Directive>(directive: T, name: string) => SFCWithInstall<T>;
7
+ export declare const withNoopInstall: <T>(component: T) => SFCWithInstall<T>;
@@ -0,0 +1,40 @@
1
+ 'use strict';
2
+
3
+ var shared = require('@vue/shared');
4
+
5
+ const withInstall = (main, extra) => {
6
+ main.install = (app) => {
7
+ for (const comp of [main, ...Object.values(extra ?? {})]) {
8
+ app.component(comp.name, comp);
9
+ }
10
+ };
11
+ if (extra) {
12
+ for (const [key, comp] of Object.entries(extra)) {
13
+ main[key] = comp;
14
+ }
15
+ }
16
+ return main;
17
+ };
18
+ const withInstallFunction = (fn, name) => {
19
+ fn.install = (app) => {
20
+ fn._context = app._context;
21
+ app.config.globalProperties[name] = fn;
22
+ };
23
+ return fn;
24
+ };
25
+ const withInstallDirective = (directive, name) => {
26
+ directive.install = (app) => {
27
+ app.directive(name, directive);
28
+ };
29
+ return directive;
30
+ };
31
+ const withNoopInstall = (component) => {
32
+ component.install = shared.NOOP;
33
+ return component;
34
+ };
35
+
36
+ exports.withInstall = withInstall;
37
+ exports.withInstallDirective = withInstallDirective;
38
+ exports.withInstallFunction = withInstallFunction;
39
+ exports.withNoopInstall = withNoopInstall;
40
+ //# sourceMappingURL=install.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"install.js","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\nexport type WithInstallReturnType<T, E extends Record<string, any> = object> = ReturnType<typeof withInstall<T, E>>;\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":["NOOP"],"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;AAGa,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,GAAAA,WAAA,CAAA;AAE3C,EAAO,OAAA,SAAA,CAAA;AACT;;;;;;;"}
@@ -0,0 +1,3 @@
1
+ import type { ComponentResolver } from 'unplugin-vue-components';
2
+ export declare function kebabCase(key: string): string;
3
+ export declare const GiimeResolver: () => ComponentResolver[];
@@ -0,0 +1,28 @@
1
+ 'use strict';
2
+
3
+ function kebabCase(key) {
4
+ const result = key.replace(/([A-Z])/g, " $1").trim();
5
+ return result.split(" ").join("-").toLowerCase();
6
+ }
7
+ const GiimeResolver = () => {
8
+ return [
9
+ {
10
+ type: "component",
11
+ resolve: async (name) => {
12
+ if (!name.match(/^Gm[A-Z]/))
13
+ return;
14
+ return { name, from: "giime" };
15
+ }
16
+ },
17
+ {
18
+ type: "directive",
19
+ resolve: async () => {
20
+ return;
21
+ }
22
+ }
23
+ ];
24
+ };
25
+
26
+ exports.GiimeResolver = GiimeResolver;
27
+ exports.kebabCase = kebabCase;
28
+ //# sourceMappingURL=resolver.js.map