rappel-ui 1.0.32 → 1.0.34

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 (306) hide show
  1. package/README.md +7 -1
  2. package/cjs/components/button/index.js +1 -1
  3. package/cjs/components/button/src/button-group.vue_vue_type_script_setup_true_lang.js +1 -1
  4. package/cjs/components/button/src/button.vue_vue_type_script_setup_true_lang.js +1 -1
  5. package/cjs/components/button/src/constants.d.ts +1 -1
  6. package/cjs/components/button/src/constants.js +1 -1
  7. package/cjs/components/button/src/types.d.ts +1 -0
  8. package/cjs/components/dropdown/index.d.ts +157 -0
  9. package/cjs/components/dropdown/index.js +1 -0
  10. package/cjs/components/dropdown/src/constants.d.ts +15 -0
  11. package/cjs/components/dropdown/src/constants.js +1 -0
  12. package/cjs/components/dropdown/src/dropdown-item.js +1 -0
  13. package/cjs/components/dropdown/src/dropdown-item.vue.d.ts +21 -0
  14. package/cjs/components/dropdown/src/dropdown-item.vue_vue_type_script_setup_true_lang.js +1 -0
  15. package/cjs/components/dropdown/src/dropdown-menu.js +1 -0
  16. package/cjs/components/dropdown/src/dropdown-menu.vue.d.ts +14 -0
  17. package/cjs/components/dropdown/src/dropdown-menu.vue_vue_type_script_setup_true_lang.js +1 -0
  18. package/cjs/components/dropdown/src/dropdown-submenu.js +1 -0
  19. package/cjs/components/dropdown/src/dropdown-submenu.vue.d.ts +17 -0
  20. package/cjs/components/dropdown/src/dropdown-submenu.vue_vue_type_script_setup_true_lang.js +1 -0
  21. package/cjs/components/dropdown/src/dropdown.js +1 -0
  22. package/cjs/components/dropdown/src/dropdown.vue.d.ts +51 -0
  23. package/cjs/components/dropdown/src/dropdown.vue_vue_type_script_setup_true_lang.js +1 -0
  24. package/cjs/components/dropdown/src/types.d.ts +30 -0
  25. package/cjs/components/dropdown/src/use-dropdown-emit.d.ts +13 -0
  26. package/cjs/components/dropdown/src/use-dropdown-emit.js +1 -0
  27. package/cjs/components/dropdown/style/css.d.ts +0 -0
  28. package/cjs/components/dropdown/style/css.js +2 -0
  29. package/cjs/components/dropdown/style/index.d.ts +0 -0
  30. package/cjs/components/dropdown/style/index.js +2 -0
  31. package/cjs/components/index.d.ts +1 -0
  32. package/cjs/components/index.js +1 -1
  33. package/cjs/components/message/src/use-message-emit.d.ts +8 -8
  34. package/cjs/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.js +1 -1
  35. package/cjs/components/popconfirm/src/use-popconfirm-emit.d.ts +8 -8
  36. package/cjs/components/popover/src/popover.vue_vue_type_script_setup_true_lang.js +1 -1
  37. package/cjs/components/popover/src/use-popover-emit.d.ts +8 -8
  38. package/cjs/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.js +1 -1
  39. package/cjs/components/svg-icon/src/types.d.ts +1 -1
  40. package/cjs/components/tooltip/index.d.ts +8 -1
  41. package/cjs/components/tooltip/src/tooltip.vue.d.ts +4 -1
  42. package/cjs/components/tooltip/src/tooltip.vue_vue_type_script_setup_true_lang.js +1 -1
  43. package/cjs/components/tooltip/src/types.d.ts +2 -0
  44. package/cjs/components/tooltip/src/use-tooltip-emit.d.ts +8 -8
  45. package/cjs/components/transition/src/transition.vue_vue_type_script_setup_true_lang.js +1 -1
  46. package/cjs/components/transition/src/use-transition-emit.d.ts +8 -8
  47. package/cjs/composables/use-namespace/index.d.ts +2 -0
  48. package/cjs/composables/use-namespace/index.js +1 -1
  49. package/cjs/index.d.ts +473 -454
  50. package/cjs/index.js +1 -1
  51. package/cjs/svg-icons/create-icon.d.ts +3 -12
  52. package/cjs/svg-icons/create-icon.js +1 -1
  53. package/cjs/svg-icons/get-async-icon.js +1 -1
  54. package/cjs/svg-icons/icon-names.d.ts +1 -1
  55. package/cjs/svg-icons/icon-names.js +1 -1
  56. package/cjs/svg-icons/index.d.ts +5 -0
  57. package/cjs/svg-icons/index.js +1 -1
  58. package/cjs/svg-icons/src/arrow-backward.d.ts +3 -12
  59. package/cjs/svg-icons/src/arrow-backward.js +1 -1
  60. package/cjs/svg-icons/src/arrow-down.d.ts +3 -12
  61. package/cjs/svg-icons/src/arrow-down.js +1 -1
  62. package/cjs/svg-icons/src/arrow-downward.d.ts +3 -12
  63. package/cjs/svg-icons/src/arrow-downward.js +1 -1
  64. package/cjs/svg-icons/src/arrow-forward.d.ts +3 -12
  65. package/cjs/svg-icons/src/arrow-forward.js +1 -1
  66. package/cjs/svg-icons/src/arrow-left.d.ts +3 -12
  67. package/cjs/svg-icons/src/arrow-left.js +1 -1
  68. package/cjs/svg-icons/src/arrow-right.d.ts +3 -12
  69. package/cjs/svg-icons/src/arrow-right.js +1 -1
  70. package/cjs/svg-icons/src/arrow-up.d.ts +3 -12
  71. package/cjs/svg-icons/src/arrow-up.js +1 -1
  72. package/cjs/svg-icons/src/arrow-upward.d.ts +3 -12
  73. package/cjs/svg-icons/src/arrow-upward.js +1 -1
  74. package/cjs/svg-icons/src/check-circle.d.ts +3 -12
  75. package/cjs/svg-icons/src/check-circle.js +1 -1
  76. package/cjs/svg-icons/src/check-fill.d.ts +3 -12
  77. package/cjs/svg-icons/src/check-fill.js +1 -1
  78. package/cjs/svg-icons/src/check.d.ts +3 -12
  79. package/cjs/svg-icons/src/check.js +1 -1
  80. package/cjs/svg-icons/src/close-circle.d.ts +3 -12
  81. package/cjs/svg-icons/src/close-circle.js +1 -1
  82. package/cjs/svg-icons/src/close-fill.d.ts +3 -12
  83. package/cjs/svg-icons/src/close-short.d.ts +3 -12
  84. package/cjs/svg-icons/src/close-short.js +1 -1
  85. package/cjs/svg-icons/src/close.d.ts +3 -12
  86. package/cjs/svg-icons/src/close.js +1 -1
  87. package/cjs/svg-icons/src/copy-closure.d.ts +3 -12
  88. package/cjs/svg-icons/src/copy-closure.js +1 -1
  89. package/cjs/svg-icons/src/copy.d.ts +3 -12
  90. package/cjs/svg-icons/src/copy.js +1 -1
  91. package/cjs/svg-icons/src/delete.d.ts +3 -12
  92. package/cjs/svg-icons/src/delete.js +1 -1
  93. package/cjs/svg-icons/src/exclam-fill.d.ts +3 -12
  94. package/cjs/svg-icons/src/exclam.d.ts +3 -12
  95. package/cjs/svg-icons/src/exclam.js +1 -1
  96. package/cjs/svg-icons/src/help.d.ts +3 -12
  97. package/cjs/svg-icons/src/help.js +1 -1
  98. package/cjs/svg-icons/src/info-circle.d.ts +3 -12
  99. package/cjs/svg-icons/src/info-circle.js +1 -1
  100. package/cjs/svg-icons/src/info-fill.d.ts +3 -12
  101. package/cjs/svg-icons/src/loading.d.ts +3 -12
  102. package/cjs/svg-icons/src/loading.js +1 -1
  103. package/cjs/svg-icons/src/more-dot-circle-horizontal.d.ts +3 -12
  104. package/cjs/svg-icons/src/more-dot-circle-horizontal.js +1 -1
  105. package/cjs/svg-icons/src/more-dot-circle-outline-horizontal.d.ts +3 -12
  106. package/cjs/svg-icons/src/more-dot-circle-outline-horizontal.js +1 -1
  107. package/cjs/svg-icons/src/more-dot-circle-outline-vertical.d.ts +3 -12
  108. package/cjs/svg-icons/src/more-dot-circle-outline-vertical.js +1 -1
  109. package/cjs/svg-icons/src/more-dot-circle.d.ts +3 -12
  110. package/cjs/svg-icons/src/more-dot-circle.js +1 -1
  111. package/cjs/svg-icons/src/more-dot-square-horizontal.d.ts +3 -12
  112. package/cjs/svg-icons/src/more-dot-square-horizontal.js +1 -1
  113. package/cjs/svg-icons/src/more-dot-square.d.ts +3 -12
  114. package/cjs/svg-icons/src/more-dot-square.js +1 -1
  115. package/cjs/svg-icons/src/more-line.d.ts +3 -12
  116. package/cjs/svg-icons/src/more-line.js +1 -1
  117. package/cjs/svg-icons/src/play.d.ts +34 -0
  118. package/cjs/svg-icons/src/play.js +1 -0
  119. package/cjs/svg-icons/src/search-bold.d.ts +3 -12
  120. package/cjs/svg-icons/src/search-bold.js +1 -1
  121. package/cjs/svg-icons/src/search.d.ts +3 -12
  122. package/cjs/svg-icons/src/search.js +1 -1
  123. package/cjs/svg-icons/src/star-fill.d.ts +3 -12
  124. package/cjs/svg-icons/src/star.d.ts +3 -12
  125. package/cjs/svg-icons/src/star.js +1 -1
  126. package/cjs/svg-icons/src/triangle-backward-fill.d.ts +34 -0
  127. package/cjs/svg-icons/src/triangle-backward-fill.js +1 -0
  128. package/cjs/svg-icons/src/triangle-downward-fill.d.ts +34 -0
  129. package/cjs/svg-icons/src/triangle-downward-fill.js +1 -0
  130. package/cjs/svg-icons/src/triangle-forward-fill.d.ts +34 -0
  131. package/cjs/svg-icons/src/triangle-forward-fill.js +1 -0
  132. package/cjs/svg-icons/src/triangle-upward-fill.d.ts +34 -0
  133. package/cjs/svg-icons/src/triangle-upward-fill.js +1 -0
  134. package/cjs/svg-icons/types.d.ts +1 -1
  135. package/cjs/utils/index.js +1 -1
  136. package/cjs/utils/util.d.ts +76 -94
  137. package/cjs/utils/util.js +1 -3
  138. package/cjs/utils/vue/index.js +1 -1
  139. package/dist/index.css +1 -1
  140. package/dist/index.umd.js +9 -11
  141. package/es/components/button/index.mjs +2 -2
  142. package/es/components/button/src/button-group.vue_vue_type_script_setup_true_lang.mjs +23 -12
  143. package/es/components/button/src/button.vue_vue_type_script_setup_true_lang.mjs +50 -46
  144. package/es/components/button/src/constants.d.ts +1 -1
  145. package/es/components/button/src/constants.mjs +2 -2
  146. package/es/components/button/src/types.d.ts +1 -0
  147. package/es/components/dropdown/index.d.ts +157 -0
  148. package/es/components/dropdown/index.mjs +15 -0
  149. package/es/components/dropdown/src/constants.d.ts +15 -0
  150. package/es/components/dropdown/src/constants.mjs +17 -0
  151. package/es/components/dropdown/src/dropdown-item.mjs +5 -0
  152. package/es/components/dropdown/src/dropdown-item.vue.d.ts +21 -0
  153. package/es/components/dropdown/src/dropdown-item.vue_vue_type_script_setup_true_lang.mjs +70 -0
  154. package/es/components/dropdown/src/dropdown-menu.mjs +5 -0
  155. package/es/components/dropdown/src/dropdown-menu.vue.d.ts +14 -0
  156. package/es/components/dropdown/src/dropdown-menu.vue_vue_type_script_setup_true_lang.mjs +14 -0
  157. package/es/components/dropdown/src/dropdown-submenu.mjs +5 -0
  158. package/es/components/dropdown/src/dropdown-submenu.vue.d.ts +17 -0
  159. package/es/components/dropdown/src/dropdown-submenu.vue_vue_type_script_setup_true_lang.mjs +43 -0
  160. package/es/components/dropdown/src/dropdown.mjs +5 -0
  161. package/es/components/dropdown/src/dropdown.vue.d.ts +51 -0
  162. package/es/components/dropdown/src/dropdown.vue_vue_type_script_setup_true_lang.mjs +226 -0
  163. package/es/components/dropdown/src/types.d.ts +30 -0
  164. package/es/components/dropdown/src/use-dropdown-emit.d.ts +13 -0
  165. package/es/components/dropdown/src/use-dropdown-emit.mjs +11 -0
  166. package/es/components/dropdown/style/css.d.ts +0 -0
  167. package/es/components/dropdown/style/css.mjs +2 -0
  168. package/es/components/dropdown/style/index.d.ts +0 -0
  169. package/es/components/dropdown/style/index.mjs +2 -0
  170. package/es/components/index.d.ts +1 -0
  171. package/es/components/index.mjs +11 -4
  172. package/es/components/message/src/use-message-emit.d.ts +8 -8
  173. package/es/components/popconfirm/src/popconfirm.vue_vue_type_script_setup_true_lang.mjs +6 -4
  174. package/es/components/popconfirm/src/use-popconfirm-emit.d.ts +8 -8
  175. package/es/components/popover/src/popover.vue_vue_type_script_setup_true_lang.mjs +4 -2
  176. package/es/components/popover/src/use-popover-emit.d.ts +8 -8
  177. package/es/components/svg-icon/src/svg-icon.vue_vue_type_script_setup_true_lang.mjs +2 -2
  178. package/es/components/svg-icon/src/types.d.ts +1 -1
  179. package/es/components/tooltip/index.d.ts +8 -1
  180. package/es/components/tooltip/src/tooltip.vue.d.ts +4 -1
  181. package/es/components/tooltip/src/tooltip.vue_vue_type_script_setup_true_lang.mjs +123 -111
  182. package/es/components/tooltip/src/types.d.ts +2 -0
  183. package/es/components/tooltip/src/use-tooltip-emit.d.ts +8 -8
  184. package/es/components/transition/src/transition.vue_vue_type_script_setup_true_lang.mjs +1 -1
  185. package/es/components/transition/src/use-transition-emit.d.ts +8 -8
  186. package/es/composables/use-namespace/index.d.ts +2 -0
  187. package/es/composables/use-namespace/index.mjs +2 -0
  188. package/es/index.d.ts +473 -454
  189. package/es/index.mjs +77 -71
  190. package/es/svg-icons/create-icon.d.ts +3 -12
  191. package/es/svg-icons/create-icon.mjs +3 -7
  192. package/es/svg-icons/get-async-icon.mjs +48 -42
  193. package/es/svg-icons/icon-names.d.ts +1 -1
  194. package/es/svg-icons/icon-names.mjs +1 -1
  195. package/es/svg-icons/index.d.ts +5 -0
  196. package/es/svg-icons/index.mjs +12 -2
  197. package/es/svg-icons/src/arrow-backward.d.ts +3 -12
  198. package/es/svg-icons/src/arrow-backward.mjs +3 -1
  199. package/es/svg-icons/src/arrow-down.d.ts +3 -12
  200. package/es/svg-icons/src/arrow-down.mjs +3 -1
  201. package/es/svg-icons/src/arrow-downward.d.ts +3 -12
  202. package/es/svg-icons/src/arrow-downward.mjs +3 -1
  203. package/es/svg-icons/src/arrow-forward.d.ts +3 -12
  204. package/es/svg-icons/src/arrow-forward.mjs +3 -1
  205. package/es/svg-icons/src/arrow-left.d.ts +3 -12
  206. package/es/svg-icons/src/arrow-left.mjs +3 -1
  207. package/es/svg-icons/src/arrow-right.d.ts +3 -12
  208. package/es/svg-icons/src/arrow-right.mjs +3 -1
  209. package/es/svg-icons/src/arrow-up.d.ts +3 -12
  210. package/es/svg-icons/src/arrow-up.mjs +3 -1
  211. package/es/svg-icons/src/arrow-upward.d.ts +3 -12
  212. package/es/svg-icons/src/arrow-upward.mjs +3 -1
  213. package/es/svg-icons/src/check-circle.d.ts +3 -12
  214. package/es/svg-icons/src/check-circle.mjs +3 -1
  215. package/es/svg-icons/src/check-fill.d.ts +3 -12
  216. package/es/svg-icons/src/check-fill.mjs +4 -2
  217. package/es/svg-icons/src/check.d.ts +3 -12
  218. package/es/svg-icons/src/check.mjs +3 -1
  219. package/es/svg-icons/src/close-circle.d.ts +3 -12
  220. package/es/svg-icons/src/close-circle.mjs +3 -1
  221. package/es/svg-icons/src/close-fill.d.ts +3 -12
  222. package/es/svg-icons/src/close-fill.mjs +1 -0
  223. package/es/svg-icons/src/close-short.d.ts +3 -12
  224. package/es/svg-icons/src/close-short.mjs +3 -1
  225. package/es/svg-icons/src/close.d.ts +3 -12
  226. package/es/svg-icons/src/close.mjs +3 -1
  227. package/es/svg-icons/src/copy-closure.d.ts +3 -12
  228. package/es/svg-icons/src/copy-closure.mjs +3 -1
  229. package/es/svg-icons/src/copy.d.ts +3 -12
  230. package/es/svg-icons/src/copy.mjs +3 -1
  231. package/es/svg-icons/src/delete.d.ts +3 -12
  232. package/es/svg-icons/src/delete.mjs +3 -1
  233. package/es/svg-icons/src/exclam-fill.d.ts +3 -12
  234. package/es/svg-icons/src/exclam-fill.mjs +1 -0
  235. package/es/svg-icons/src/exclam.d.ts +3 -12
  236. package/es/svg-icons/src/exclam.mjs +3 -1
  237. package/es/svg-icons/src/help.d.ts +3 -12
  238. package/es/svg-icons/src/help.mjs +3 -1
  239. package/es/svg-icons/src/info-circle.d.ts +3 -12
  240. package/es/svg-icons/src/info-circle.mjs +3 -1
  241. package/es/svg-icons/src/info-fill.d.ts +3 -12
  242. package/es/svg-icons/src/info-fill.mjs +1 -0
  243. package/es/svg-icons/src/loading.d.ts +3 -12
  244. package/es/svg-icons/src/loading.mjs +3 -1
  245. package/es/svg-icons/src/more-dot-circle-horizontal.d.ts +3 -12
  246. package/es/svg-icons/src/more-dot-circle-horizontal.mjs +3 -1
  247. package/es/svg-icons/src/more-dot-circle-outline-horizontal.d.ts +3 -12
  248. package/es/svg-icons/src/more-dot-circle-outline-horizontal.mjs +3 -1
  249. package/es/svg-icons/src/more-dot-circle-outline-vertical.d.ts +3 -12
  250. package/es/svg-icons/src/more-dot-circle-outline-vertical.mjs +3 -1
  251. package/es/svg-icons/src/more-dot-circle.d.ts +3 -12
  252. package/es/svg-icons/src/more-dot-circle.mjs +3 -1
  253. package/es/svg-icons/src/more-dot-square-horizontal.d.ts +3 -12
  254. package/es/svg-icons/src/more-dot-square-horizontal.mjs +3 -1
  255. package/es/svg-icons/src/more-dot-square.d.ts +3 -12
  256. package/es/svg-icons/src/more-dot-square.mjs +3 -1
  257. package/es/svg-icons/src/more-line.d.ts +3 -12
  258. package/es/svg-icons/src/more-line.mjs +3 -1
  259. package/es/svg-icons/src/play.d.ts +34 -0
  260. package/es/svg-icons/src/play.mjs +9 -0
  261. package/es/svg-icons/src/search-bold.d.ts +3 -12
  262. package/es/svg-icons/src/search-bold.mjs +3 -1
  263. package/es/svg-icons/src/search.d.ts +3 -12
  264. package/es/svg-icons/src/search.mjs +3 -1
  265. package/es/svg-icons/src/star-fill.d.ts +3 -12
  266. package/es/svg-icons/src/star-fill.mjs +1 -0
  267. package/es/svg-icons/src/star.d.ts +3 -12
  268. package/es/svg-icons/src/star.mjs +3 -1
  269. package/es/svg-icons/src/triangle-backward-fill.d.ts +34 -0
  270. package/es/svg-icons/src/triangle-backward-fill.mjs +9 -0
  271. package/es/svg-icons/src/triangle-downward-fill.d.ts +34 -0
  272. package/es/svg-icons/src/triangle-downward-fill.mjs +9 -0
  273. package/es/svg-icons/src/triangle-forward-fill.d.ts +34 -0
  274. package/es/svg-icons/src/triangle-forward-fill.mjs +9 -0
  275. package/es/svg-icons/src/triangle-upward-fill.d.ts +34 -0
  276. package/es/svg-icons/src/triangle-upward-fill.mjs +9 -0
  277. package/es/svg-icons/types.d.ts +1 -1
  278. package/es/utils/index.mjs +2 -2
  279. package/es/utils/util.d.ts +76 -94
  280. package/es/utils/util.mjs +41 -74
  281. package/es/utils/vue/index.mjs +4 -1
  282. package/package.json +3 -2
  283. package/theme-chalk/index.css +1 -1
  284. package/theme-chalk/re-button-group.css +1 -1
  285. package/theme-chalk/re-button.css +1 -1
  286. package/theme-chalk/re-dropdown.css +1 -0
  287. package/theme-chalk/re-message.css +1 -1
  288. package/theme-chalk/re-popconfirm.css +1 -1
  289. package/theme-chalk/re-popover.css +1 -1
  290. package/theme-chalk/re-tooltip.css +1 -1
  291. package/theme-chalk/src/button-group.scss +32 -8
  292. package/theme-chalk/src/dropdown.scss +97 -0
  293. package/theme-chalk/src/function/index.scss +1 -1
  294. package/theme-chalk/src/index.scss +1 -0
  295. package/theme-chalk/src/message.scss +2 -28
  296. package/theme-chalk/src/mixins/_button.scss +1 -1
  297. package/theme-chalk/src/mixins/_dropdown.scss +17 -0
  298. package/theme-chalk/src/mixins/_transition.scss +29 -0
  299. package/theme-chalk/src/mixins/index.scss +6 -0
  300. package/theme-chalk/src/popconfirm.scss +3 -0
  301. package/theme-chalk/src/popover.scss +3 -0
  302. package/theme-chalk/src/tooltip.scss +3 -10
  303. package/cjs/_virtual/_rolldown_dynamic_import_helper.js +0 -1
  304. package/cjs/rappel-ui/resolvers.js +0 -1
  305. package/es/_virtual/_rolldown_dynamic_import_helper.mjs +0 -9
  306. package/es/rappel-ui/resolvers.mjs +0 -18
@@ -6,11 +6,7 @@ export declare const Search: DefineComponent<ExtractPropTypes<{
6
6
  };
7
7
  color: {
8
8
  type: StringConstructor;
9
- default: string | undefined;
10
- };
11
- fill: {
12
- type: StringConstructor;
13
- default: string | undefined;
9
+ default: string;
14
10
  };
15
11
  spin: {
16
12
  type: BooleanConstructor;
@@ -25,11 +21,7 @@ export declare const Search: DefineComponent<ExtractPropTypes<{
25
21
  };
26
22
  color: {
27
23
  type: StringConstructor;
28
- default: string | undefined;
29
- };
30
- fill: {
31
- type: StringConstructor;
32
- default: string | undefined;
24
+ default: string;
33
25
  };
34
26
  spin: {
35
27
  type: BooleanConstructor;
@@ -37,7 +29,6 @@ export declare const Search: DefineComponent<ExtractPropTypes<{
37
29
  };
38
30
  }>> & Readonly<{}>, {
39
31
  size: string | number;
40
- fill: string;
41
- color: string;
42
32
  spin: boolean;
33
+ color: string;
43
34
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any> | undefined;
@@ -1,7 +1,9 @@
1
1
  import { createIcon as e } from "../create-icon.mjs";
2
+ //#region packages/svg-icons/src/search.ts
2
3
  var t = e({
3
4
  name: "search",
4
- path: "M4 10A6 6 0 1 0 16 10 A6 6 0 1 0 4 10M20 20 L14.5 14.5"
5
+ path: "M4 10A6 6 0 1 0 16 10 A6 6 0 1 0 4 10M20 20 L14.5 14.5",
6
+ stroke: "currentColor"
5
7
  });
6
8
  //#endregion
7
9
  export { t as Search };
@@ -6,11 +6,7 @@ export declare const StarFill: DefineComponent<ExtractPropTypes<{
6
6
  };
7
7
  color: {
8
8
  type: StringConstructor;
9
- default: string | undefined;
10
- };
11
- fill: {
12
- type: StringConstructor;
13
- default: string | undefined;
9
+ default: string;
14
10
  };
15
11
  spin: {
16
12
  type: BooleanConstructor;
@@ -25,11 +21,7 @@ export declare const StarFill: DefineComponent<ExtractPropTypes<{
25
21
  };
26
22
  color: {
27
23
  type: StringConstructor;
28
- default: string | undefined;
29
- };
30
- fill: {
31
- type: StringConstructor;
32
- default: string | undefined;
24
+ default: string;
33
25
  };
34
26
  spin: {
35
27
  type: BooleanConstructor;
@@ -37,7 +29,6 @@ export declare const StarFill: DefineComponent<ExtractPropTypes<{
37
29
  };
38
30
  }>> & Readonly<{}>, {
39
31
  size: string | number;
40
- fill: string;
41
- color: string;
42
32
  spin: boolean;
33
+ color: string;
43
34
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any> | undefined;
@@ -1,4 +1,5 @@
1
1
  import { createIcon as e } from "../create-icon.mjs";
2
+ //#region packages/svg-icons/src/star-fill.ts
2
3
  var t = e({
3
4
  name: "star-fill",
4
5
  path: "M12 1L15 8.86L23.41 9.29L16.86 14.58L19.05 22.71L12 18.11L4.95 22.71L7.14 14.58L0.59 9.29L9 8.86L12 1",
@@ -6,11 +6,7 @@ export declare const Star: DefineComponent<ExtractPropTypes<{
6
6
  };
7
7
  color: {
8
8
  type: StringConstructor;
9
- default: string | undefined;
10
- };
11
- fill: {
12
- type: StringConstructor;
13
- default: string | undefined;
9
+ default: string;
14
10
  };
15
11
  spin: {
16
12
  type: BooleanConstructor;
@@ -25,11 +21,7 @@ export declare const Star: DefineComponent<ExtractPropTypes<{
25
21
  };
26
22
  color: {
27
23
  type: StringConstructor;
28
- default: string | undefined;
29
- };
30
- fill: {
31
- type: StringConstructor;
32
- default: string | undefined;
24
+ default: string;
33
25
  };
34
26
  spin: {
35
27
  type: BooleanConstructor;
@@ -37,7 +29,6 @@ export declare const Star: DefineComponent<ExtractPropTypes<{
37
29
  };
38
30
  }>> & Readonly<{}>, {
39
31
  size: string | number;
40
- fill: string;
41
- color: string;
42
32
  spin: boolean;
33
+ color: string;
43
34
  }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any> | undefined;
@@ -1,7 +1,9 @@
1
1
  import { createIcon as e } from "../create-icon.mjs";
2
+ //#region packages/svg-icons/src/star.ts
2
3
  var t = e({
3
4
  name: "star",
4
- path: "M12 2L14.63 9.25L22 9.64L16.26 14.51L18.18 22L12 17.77L5.82 22L7.74 14.51L2 9.64L9.37 9.25L12 2"
5
+ path: "M12 2L14.63 9.25L22 9.64L16.26 14.51L18.18 22L12 17.77L5.82 22L7.74 14.51L2 9.64L9.37 9.25L12 2",
6
+ stroke: "currentColor"
5
7
  });
6
8
  //#endregion
7
9
  export { t as Star };
@@ -0,0 +1,34 @@
1
+ import { DefineComponent, ExtractPropTypes, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ export declare const TriangleBackwardFill: DefineComponent<ExtractPropTypes<{
3
+ size: {
4
+ type: (StringConstructor | NumberConstructor)[];
5
+ default: string;
6
+ };
7
+ color: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ spin: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ }>, () => VNode<RendererNode, RendererElement, {
16
+ [key: string]: any;
17
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
18
+ size: {
19
+ type: (StringConstructor | NumberConstructor)[];
20
+ default: string;
21
+ };
22
+ color: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ spin: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ }>> & Readonly<{}>, {
31
+ size: string | number;
32
+ spin: boolean;
33
+ color: string;
34
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any> | undefined;
@@ -0,0 +1,9 @@
1
+ import { createIcon as e } from "../create-icon.mjs";
2
+ //#region packages/svg-icons/src/triangle-backward-fill.ts
3
+ var t = e({
4
+ name: "triangle-backward-fill",
5
+ path: "M8 5L15 12L8 19L8 5Z",
6
+ fill: "currentColor"
7
+ });
8
+ //#endregion
9
+ export { t as TriangleBackwardFill };
@@ -0,0 +1,34 @@
1
+ import { DefineComponent, ExtractPropTypes, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ export declare const TriangleDownwardFill: DefineComponent<ExtractPropTypes<{
3
+ size: {
4
+ type: (StringConstructor | NumberConstructor)[];
5
+ default: string;
6
+ };
7
+ color: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ spin: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ }>, () => VNode<RendererNode, RendererElement, {
16
+ [key: string]: any;
17
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
18
+ size: {
19
+ type: (StringConstructor | NumberConstructor)[];
20
+ default: string;
21
+ };
22
+ color: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ spin: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ }>> & Readonly<{}>, {
31
+ size: string | number;
32
+ spin: boolean;
33
+ color: string;
34
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any> | undefined;
@@ -0,0 +1,9 @@
1
+ import { createIcon as e } from "../create-icon.mjs";
2
+ //#region packages/svg-icons/src/triangle-downward-fill.ts
3
+ var t = e({
4
+ name: "triangle-downward-fill",
5
+ path: "M5 9L12 16L19 9L5 9Z",
6
+ fill: "currentColor"
7
+ });
8
+ //#endregion
9
+ export { t as TriangleDownwardFill };
@@ -0,0 +1,34 @@
1
+ import { DefineComponent, ExtractPropTypes, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ export declare const TriangleForwardFill: DefineComponent<ExtractPropTypes<{
3
+ size: {
4
+ type: (StringConstructor | NumberConstructor)[];
5
+ default: string;
6
+ };
7
+ color: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ spin: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ }>, () => VNode<RendererNode, RendererElement, {
16
+ [key: string]: any;
17
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
18
+ size: {
19
+ type: (StringConstructor | NumberConstructor)[];
20
+ default: string;
21
+ };
22
+ color: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ spin: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ }>> & Readonly<{}>, {
31
+ size: string | number;
32
+ spin: boolean;
33
+ color: string;
34
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any> | undefined;
@@ -0,0 +1,9 @@
1
+ import { createIcon as e } from "../create-icon.mjs";
2
+ //#region packages/svg-icons/src/triangle-forward-fill.ts
3
+ var t = e({
4
+ name: "triangle-forward-fill",
5
+ path: "M15 5L8 12L15 19L15 5Z",
6
+ fill: "currentColor"
7
+ });
8
+ //#endregion
9
+ export { t as TriangleForwardFill };
@@ -0,0 +1,34 @@
1
+ import { DefineComponent, ExtractPropTypes, VNode, RendererNode, RendererElement, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ export declare const TriangleUpwardFill: DefineComponent<ExtractPropTypes<{
3
+ size: {
4
+ type: (StringConstructor | NumberConstructor)[];
5
+ default: string;
6
+ };
7
+ color: {
8
+ type: StringConstructor;
9
+ default: string;
10
+ };
11
+ spin: {
12
+ type: BooleanConstructor;
13
+ default: boolean;
14
+ };
15
+ }>, () => VNode<RendererNode, RendererElement, {
16
+ [key: string]: any;
17
+ }>, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly< ExtractPropTypes<{
18
+ size: {
19
+ type: (StringConstructor | NumberConstructor)[];
20
+ default: string;
21
+ };
22
+ color: {
23
+ type: StringConstructor;
24
+ default: string;
25
+ };
26
+ spin: {
27
+ type: BooleanConstructor;
28
+ default: boolean;
29
+ };
30
+ }>> & Readonly<{}>, {
31
+ size: string | number;
32
+ spin: boolean;
33
+ color: string;
34
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any> | undefined;
@@ -0,0 +1,9 @@
1
+ import { createIcon as e } from "../create-icon.mjs";
2
+ //#region packages/svg-icons/src/triangle-upward-fill.ts
3
+ var t = e({
4
+ name: "triangle-upward-fill",
5
+ path: "M5 16L12 9L19 16L5 16Z",
6
+ fill: "currentColor"
7
+ });
8
+ //#endregion
9
+ export { t as TriangleUpwardFill };
@@ -1,7 +1,7 @@
1
1
  export interface SvgIconMeta {
2
2
  name: string;
3
3
  path: string;
4
+ stroke?: string;
4
5
  fill?: string;
5
6
  fillRule?: 'inherit' | 'nonzero' | 'evenodd';
6
- color?: string;
7
7
  }
@@ -1,3 +1,3 @@
1
1
  import { INSTALLED_KEY as e, createGlobalInstaller as t, toLowerCase as n, toPascalCase as r, withInstall as i, withMultiInstall as a } from "./vue/index.mjs";
2
- import { autoCalcFileSize as o, buildTree as s, copyText as c, createColors as l, createOverload as u, deepClone as d, deleteKeys as f, flatArr as p, getCssVarsByPrefix as m, getEqualOpacityColor as h, hasOwnProperty as g, hexToRGB as _, isPlainObject as v, joinURLs as y, lineBreakToComma as b, mixedColor as x, omitEmptyKeys as S, paramsToFormData as C, readTxtByEncodes as w, readTxtFile as T, rgbToHex as E, setURLSearchParams as D, singleton as O, toKebabCase as k, toPx as A, transitionSize as j } from "./util.mjs";
3
- export { e as INSTALLED_KEY, o as autoCalcFileSize, s as buildTree, c as copyText, l as createColors, t as createGlobalInstaller, u as createOverload, d as deepClone, f as deleteKeys, p as flatArr, m as getCssVarsByPrefix, h as getEqualOpacityColor, g as hasOwnProperty, _ as hexToRGB, v as isPlainObject, y as joinURLs, b as lineBreakToComma, x as mixedColor, S as omitEmptyKeys, C as paramsToFormData, w as readTxtByEncodes, T as readTxtFile, E as rgbToHex, D as setURLSearchParams, O as singleton, k as toKebabCase, n as toLowerCase, r as toPascalCase, A as toPx, j as transitionSize, i as withInstall, a as withMultiInstall };
2
+ import { autoCalcFileSize as o, buildTree as s, copyText as c, createColors as l, deepClone as u, deepLoopOptions as d, deleteKeys as f, flatArr as p, getCssVarsByPrefix as m, getEqualOpacityColor as h, hasOwnProperty as g, hexToRGB as _, isPlainObject as v, joinURLs as y, mixedColor as b, omitEmptyKeys as x, paramsToFormData as S, rgbToHex as C, setURLSearchParams as w, toKebabCase as T, toPx as E, transitionSize as D } from "./util.mjs";
3
+ export { e as INSTALLED_KEY, o as autoCalcFileSize, s as buildTree, c as copyText, l as createColors, t as createGlobalInstaller, u as deepClone, d as deepLoopOptions, f as deleteKeys, p as flatArr, m as getCssVarsByPrefix, h as getEqualOpacityColor, g as hasOwnProperty, _ as hexToRGB, v as isPlainObject, y as joinURLs, b as mixedColor, x as omitEmptyKeys, S as paramsToFormData, C as rgbToHex, w as setURLSearchParams, T as toKebabCase, n as toLowerCase, r as toPascalCase, E as toPx, D as transitionSize, i as withInstall, a as withMultiInstall };
@@ -1,75 +1,39 @@
1
1
  /**
2
- * 将对象转换为 FormData 对象
3
- * @param { Object } params 要转换的对象
4
- * @returns 转换后的 FormData 对象
2
+ * Convert objects to FormData objects
3
+ * @param { Object } params - objects to convert
4
+ * @returns - converted FormData object
5
5
  */
6
6
  export declare function paramsToFormData(params: Record<string, any>): FormData;
7
7
  /**
8
- * 设置URLSearchParams对象并返回新的URL字符串
9
- * @param { string } urlString - URL字符串
10
- * @param { Object } params - 要设置的参数对象
11
- * @returns { string }设置参数后的新的URL字符串
8
+ * Set URLSearchParams object and return a new URL string
9
+ * @param { string } urlString - URL string
10
+ * @param { Object } params - parameters to set in the URLSearchParams object
11
+ * @returns { string } - new URL string with updated search parameters
12
12
  */
13
13
  export declare function setURLSearchParams(urlString: string, params: Record<string, any>): string;
14
14
  /**
15
- * 合并URL字符串
16
- * @param { string[] } ...urls 可变参数: URL字符串参数
17
- * @returns { string } 合并后的URL字符串
15
+ * Merge URL strings
16
+ * @param { string[] } ...urls -Variable parameters: URL string parameters
17
+ * @returns { string } -merged URL string
18
18
  */
19
19
  export declare function joinURLs(...urls: string[]): string;
20
20
  /**
21
- * 深度拷贝
21
+ * deep clone
22
22
  * @param arr
23
23
  * @returns
24
24
  */
25
25
  export declare function deepClone(arr: any[]): any[] | null;
26
26
  /**
27
- * 自动将文件大小转换成合适的带单位大小
28
- * @param byte {number} - 文件大小(B)
27
+ * Automatically convert file size to a suitable unit size
28
+ * @param byte {number} - file size(B)
29
29
  * @returns
30
30
  */
31
31
  export declare function autoCalcFileSize(byte: number): string;
32
32
  /**
33
- * 根据编码读取txt文件
34
- * @param file {File} - 文件对象
35
- * @param encode {string} - 编码格式
36
- * @returns
37
- */
38
- export declare function readTxtFile(file: File, encode: string): Promise<string>;
39
- /**
40
- * 用不同编码读取txt文件
41
- * @param file {File} - 文件对象
42
- * @param encodes {string[]} - 编码格式数组
43
- * @returns
44
- */
45
- export declare function readTxtByEncodes(file: File, encodes?: string[]): Promise<string>;
46
- /**
47
- * 将以逗号或者换行符分隔的字符串转为只用逗号分隔的字符串――去除空格和重复逗号
48
- * @param str {string} - 以逗号或者换行符分隔的字符串
49
- */
50
- export declare function lineBreakToComma(str: string): string;
51
- /**
52
- * 单例模式函数
53
- * @param {Function} fn - 要执行的函数 / class类
54
- */
55
- export declare function singleton(fn: (...args: unknown[]) => unknown): unknown;
56
- /**
57
- * 函数重载
58
- * @example
59
- * const overload = createOverload()
60
- * overload.add('string', (arg: string) => { console.log('string', arg) })
61
- * overload.add('number','string', (arg1: number, arg2: string) => { console.log('number,string', arg1, arg2) })
62
- * @returns {Function} 重载函数
63
- */
64
- export declare function createOverload(): {
65
- (...args: any[]): any;
66
- add(...args: any[]): void;
67
- };
68
- /**
69
- * 平铺数据构建树结构
70
- * @param data {Array} - 数据源
71
- * @param props {Object} - 属性映射
72
- * @returns {Array} - 树结构
33
+ * flat to tree
34
+ * @param data {Array} - original data
35
+ * @param props {Object} - props map
36
+ * @returns {Array} - tree data
73
37
  */
74
38
  export declare function buildTree(data: any[], props?: {
75
39
  label: string;
@@ -83,80 +47,95 @@ export declare function hexToRGB(hexColor: string): {
83
47
  b: number;
84
48
  };
85
49
  /**
86
- * r,g,b 输入可以浮点数,最终输出 #rrggbb
50
+ * Input can be float number, and the final output: #rrggbb
87
51
  * @param r 0‑255
88
52
  * @param g 0‑255
89
53
  * @param b 0‑255
90
54
  */
91
55
  export declare function rgbToHex(r: number, g: number, b: number): string;
92
56
  /**
93
- * 计算半透明颜色与白色背景混合后的等效不透明颜色值
94
- * @param hexColor 原始十六进制颜色值 (例如 '#a895ff')
95
- * @param opacity 透明度值 (0-1之间,默认为0.9)
96
- * @returns 等效的不透明颜色值 (十六进制格式)
57
+ * Calculate the equivalent color value of transparency
58
+ * @param hexColor - (e.g., '#a895ff')
59
+ * @param opacity - (between 0-1, default is 1)
60
+ * @returns the equivalent opaque color value (hexadecimal format)
97
61
  */
98
62
  export declare function getEqualOpacityColor(hexColor: string, bgcolor?: string, opacity?: number): string;
99
63
  /**
100
64
  * Mixed color(Hexadecimal)
101
- * @param baseColor 原始颜色(十六进制, 例如 '#a895ff')
102
- * @param mixColor 混入颜色(十六进制,例如 '#000000')
103
- * @param ratio 混合比率 (0-1, 0表示完全不改变,1表示完全变为混入色)
104
- * @returns 调整后的颜色值
65
+ * @param originColor -original color(Hexadecimal, eg: '#a895ff')
66
+ * @param mixColor -mixed color(Hexadecimal, eg: '#000000')
67
+ * @param ratio -Mixing ratio (0-1, 0 means no change at all, 1 means completely mixed color)
68
+ * @returns -mixed color value
105
69
  */
106
- export declare function mixedColor(baseColor: string, mixColor: string, ratio?: number): string;
70
+ export declare function mixedColor(originColor: string, mixColor: string, ratio?: number): string;
107
71
  /**
108
72
  * @description 创建层次颜色数组,包含一个变暗的颜色(hover/active)和多个透明度的等值颜色值
109
73
  * @param baseColor - 基础颜色的十六进制字符串 (例如 '#a895ff')
110
- * @param isDark - 是否为暗色模式,默认为false
111
- * @param darkDegree - 变暗程度,默认为0.12,取值范围为0-1,0表示不变,1表示完全变为黑色
74
+ * @param bgcolor - 背景颜色的十六进制字符串,默认为 '#ffffff'
75
+ * @param mixColor - 混入颜色的十六进制字符串
76
+ * @param mixRatio - 混入颜色比率,取值范围为0-1,0表示不变,1表示完全变为混入颜色
112
77
  * @param opacityLevels - 透明度数组,默认为 [0.9, 0.8, 0.7, 0.6, 0.5, 0.4, 0.3, 0.2, 0.1]
113
78
  * @returns 层次颜色数组
114
79
  */
115
80
  export declare function createColors(baseColor: string, bgcolor: string | undefined, mixColor: string, mixRatio?: number, opacityLevels?: number[]): string[];
116
81
  /**
117
- * @description 判断对象是否具有指定的键.
82
+ * @description Whether the object has the specified key
118
83
  *
119
- * @param { Record<string, unknown> } obj - 待判断的对象.
120
- * @param { string } key - 待判断的键.
121
- * @returns { boolean } - 是否具有指定的键
84
+ * @param { Record<string, unknown> } obj - the object to be judged.
85
+ * @param { string } key - the key to check.
86
+ * @returns { boolean } - true or false
122
87
  */
123
88
  export declare function hasOwnProperty(obj: Record<string, unknown>, key: string): boolean;
124
89
  /**
125
- * @description 判断对象是否为普通对象.
90
+ * @description whether the object is a plain object.
126
91
  *
127
- * @param { unknown } obj - 待判断的对象.
128
- * @returns { boolean } - 是否为普通对象
92
+ * @param { unknown } obj - the object to be judged.
93
+ * @returns { boolean } - true or false
129
94
  */
130
95
  export declare function isPlainObject(obj: unknown): boolean;
131
96
  /**
132
- * @description 删除对象中的指定键.
97
+ * @description delete object keys.
133
98
  *
134
- * @param { Record<string, unknown> } obj - 目标对象.
135
- * @param { string[] } keys - 要删除的键/键数组.
136
- * @returns { Record<string, unknown> } - 删除键后的新对象
99
+ * @param { Record<string, unknown> } obj - target object.
100
+ * @param { string[] } keys - keys to delete.
101
+ * @returns { Record<string, unknown> } - new object after deleting keys
137
102
  */
138
103
  export declare function deleteKeys<T extends Record<string, unknown>, K extends keyof T>(obj: T, keys: K[] | K): Omit<T, K>;
139
104
  /**
140
- * @description 数组深度扁平化,支持数组子元素为基本类型、对象、数组.
105
+ * @description Recursive array flattening, supporting array sub-elements as basic types, objects, and arrays.
141
106
  *
142
- * @param { Record<string, unknown>[] } arr - 目标数组.
143
- * @param { string } key - 拍平的键.
144
- * @returns { Record<string, unknown>[] } - 拍平后的数组
107
+ * @param { Record<string, unknown>[] } arr - original array.
108
+ * @param { string } key - flattened key.
109
+ * @returns { Record<string, unknown>[] } - flattened array
145
110
  */
146
111
  export declare function flatArr<T extends Record<string, unknown>, K extends keyof T>(arr: T[], key?: K): T[];
147
112
  /**
148
- * @description 删除对象中的空值.
113
+ * @description 递归处理选项数组为常规的 label、value、children 结构,支持自定义字段和是否保留原字段.
114
+ *
115
+ * @param { Record<string, unknown>[] } arr - 选项数组.
116
+ * @param { [{ label?: string; value?: string; children?: string }?, boolean?] } args - 配置参数.
117
+ * @returns { Record<string, unknown>[] } - 处理后的选项数组
118
+ */
119
+ export declare function deepLoopOptions(arr: Record<string, unknown>[], ...args: [{
120
+ label?: string;
121
+ value?: string;
122
+ children?: string;
123
+ }?, boolean?]): {
124
+ [x: string]: unknown;
125
+ }[];
126
+ /**
127
+ * @description remove object empty keys.
149
128
  *
150
- * @param { Record<string, unknown> } obj - 目标对象.
151
- * @param { unknown[] } emptyValues - 空值数组 (默认为 ['', undefined, null],支持数组和对象的空值判断['', undefined,
152
- * null, {}, [], false, 0])
153
- * @returns { Partial<T> | T } - 删除空值后的新对象
129
+ * @param { Record<string, unknown> } obj - target object.
130
+ * @param { unknown[] } emptyValues - empty value array (default is ['', undefined, null], supports empty value judgment for arrays and objects ['',
131
+ * null, {}, [], false, 0])
132
+ * @returns { Partial<T> | T } - new object after removing empty values
154
133
  */
155
134
  export declare function omitEmptyKeys<T extends Record<string, unknown> & {
156
135
  length?: never;
157
136
  }>(obj: T, emptyValues?: unknown[]): Partial<T> | T;
158
137
  /**
159
- * 元素宽高过渡效果
138
+ * element sizes transition
160
139
  * @param dom
161
140
  * @param property
162
141
  * @param show
@@ -164,26 +143,29 @@ export declare function omitEmptyKeys<T extends Record<string, unknown> & {
164
143
  */
165
144
  export declare function transitionSize(dom: HTMLElement | undefined, property: "height" | "width" | undefined, show: boolean, transition?: string): void;
166
145
  /**
167
- * 复制文本到剪贴板
168
- * @param {string} text - 需要复制的文本
146
+ * copy text to clipboard
147
+ * @param {string} text - text to copy
169
148
  * @returns {Promise<any>}
170
149
  */
171
150
  export declare function copyText(text: string): Promise<any>;
172
151
  /**
173
- * 转为带 px 的尺寸值
174
- * @param value 数字 / 纯数字字符串 / 带单位字符串
175
- * @returns 带单位 CSS 值
152
+ * Convert to a size value with px unit
153
+ * @param value number / pure number string / string with unit
154
+ * @returns CSS value with unit
176
155
  */
177
156
  export declare function toPx(val?: string | number): string | undefined;
178
157
  /**
179
- *
158
+ * Get CSS variables by prefix
180
159
  * @param prefix
181
160
  * @param element
182
161
  * @returns
183
162
  */
184
163
  export declare function getCssVarsByPrefix(prefix: string, element?: HTMLElement): {};
185
164
  /**
186
- * 将大驼峰命名转换为短横线命名 (kebab-case)
187
- * 例如: ReFilterPanel -> re-filter-panel
165
+ * Convert PascalCase to kebab-case
166
+ * @param str {string} - PascalCase string
167
+ * @returns {string} - kebab-case string
168
+ * @example
169
+ * ReFilterPanel -> re-filter-panel
188
170
  */
189
171
  export declare function toKebabCase(str: string): string;