@vef-framework-react/components 2.1.0

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 (619) hide show
  1. package/README +17 -0
  2. package/dist/cjs/_base/constants/breakpoints.cjs +1 -0
  3. package/dist/cjs/_base/constants/common.cjs +1 -0
  4. package/dist/cjs/_base/constants/css-vars.cjs +1 -0
  5. package/dist/cjs/_base/constants/index.cjs +1 -0
  6. package/dist/cjs/_base/constants/theme.cjs +1 -0
  7. package/dist/cjs/_base/helpers/breakpoints.cjs +1 -0
  8. package/dist/cjs/_base/helpers/color.cjs +1 -0
  9. package/dist/cjs/_base/helpers/common.cjs +1 -0
  10. package/dist/cjs/_base/helpers/index.cjs +1 -0
  11. package/dist/cjs/_base/helpers/message.cjs +1 -0
  12. package/dist/cjs/_base/helpers/modal.cjs +1 -0
  13. package/dist/cjs/_base/helpers/notification.cjs +1 -0
  14. package/dist/cjs/_base/helpers/props.cjs +1 -0
  15. package/dist/cjs/_base/helpers/react.cjs +1 -0
  16. package/dist/cjs/_base/hooks/index.cjs +1 -0
  17. package/dist/cjs/_base/hooks/use-theme-tokens.cjs +1 -0
  18. package/dist/cjs/_base/index.cjs +1 -0
  19. package/dist/cjs/_base/styles/common.cjs +1 -0
  20. package/dist/cjs/_base/styles/index.cjs +0 -0
  21. package/dist/cjs/_base/types/breakpoints.cjs +0 -0
  22. package/dist/cjs/_base/types/common.cjs +0 -0
  23. package/dist/cjs/_base/types/index.cjs +0 -0
  24. package/dist/cjs/_internal/_rolldown/runtime.cjs +1 -0
  25. package/dist/cjs/action-button/index.cjs +1 -0
  26. package/dist/cjs/action-button/use-action-button.cjs +1 -0
  27. package/dist/cjs/action-group/index.cjs +1 -0
  28. package/dist/cjs/action-group/use-action-group.cjs +1 -0
  29. package/dist/cjs/action-group/use-computed-action-buttons.cjs +1 -0
  30. package/dist/cjs/affix/index.cjs +1 -0
  31. package/dist/cjs/alert/index.cjs +1 -0
  32. package/dist/cjs/anchor/index.cjs +1 -0
  33. package/dist/cjs/auto-complete/index.cjs +1 -0
  34. package/dist/cjs/avatar/index.cjs +1 -0
  35. package/dist/cjs/badge/index.cjs +1 -0
  36. package/dist/cjs/bool/index.cjs +1 -0
  37. package/dist/cjs/breadcrumb/index.cjs +1 -0
  38. package/dist/cjs/button/index.cjs +1 -0
  39. package/dist/cjs/calendar/index.cjs +1 -0
  40. package/dist/cjs/card/index.cjs +1 -0
  41. package/dist/cjs/carousel/index.cjs +1 -0
  42. package/dist/cjs/cascader/index.cjs +1 -0
  43. package/dist/cjs/center/index.cjs +1 -0
  44. package/dist/cjs/charts/chart.cjs +1 -0
  45. package/dist/cjs/charts/helpers/group.cjs +1 -0
  46. package/dist/cjs/charts/helpers/index.cjs +1 -0
  47. package/dist/cjs/charts/hooks/index.cjs +1 -0
  48. package/dist/cjs/charts/hooks/use-chart.cjs +1 -0
  49. package/dist/cjs/charts/index.cjs +1 -0
  50. package/dist/cjs/charts/themes/index.cjs +1 -0
  51. package/dist/cjs/charts/themes/walden-dark.cjs +1 -0
  52. package/dist/cjs/charts/themes/walden.cjs +1 -0
  53. package/dist/cjs/charts/themes/wonderland-dark.cjs +1 -0
  54. package/dist/cjs/charts/themes/wonderland.cjs +1 -0
  55. package/dist/cjs/checkbox/index.cjs +1 -0
  56. package/dist/cjs/code-highlighter/index.cjs +1 -0
  57. package/dist/cjs/col/index.cjs +1 -0
  58. package/dist/cjs/collapse/index.cjs +1 -0
  59. package/dist/cjs/color-picker/index.cjs +1 -0
  60. package/dist/cjs/compact/index.cjs +1 -0
  61. package/dist/cjs/config-provider/app.cjs +1 -0
  62. package/dist/cjs/config-provider/constants.cjs +1 -0
  63. package/dist/cjs/config-provider/context-holder.cjs +1 -0
  64. package/dist/cjs/config-provider/css-vars.cjs +1 -0
  65. package/dist/cjs/config-provider/dark-mode-context.cjs +1 -0
  66. package/dist/cjs/config-provider/error-fallback.cjs +1 -0
  67. package/dist/cjs/config-provider/global-style.cjs +1 -0
  68. package/dist/cjs/config-provider/index.cjs +1 -0
  69. package/dist/cjs/config-provider/theme-config.cjs +1 -0
  70. package/dist/cjs/config-provider/use-config-provider.cjs +1 -0
  71. package/dist/cjs/date-picker/index.cjs +1 -0
  72. package/dist/cjs/descriptions/index.cjs +1 -0
  73. package/dist/cjs/divider/index.cjs +1 -0
  74. package/dist/cjs/drawer/index.cjs +1 -0
  75. package/dist/cjs/dropdown/index.cjs +1 -0
  76. package/dist/cjs/dynamic-icon/index.cjs +1 -0
  77. package/dist/cjs/dynamic-icon/placeholder-icon.cjs +1 -0
  78. package/dist/cjs/dynamic-icon/unknown-icon.cjs +1 -0
  79. package/dist/cjs/empty/empty.cjs +1 -0
  80. package/dist/cjs/empty/index.cjs +1 -0
  81. package/dist/cjs/flex/index.cjs +1 -0
  82. package/dist/cjs/flip-text/index.cjs +1 -0
  83. package/dist/cjs/float-button/index.cjs +1 -0
  84. package/dist/cjs/form/components/form.cjs +1 -0
  85. package/dist/cjs/form/components/index.cjs +1 -0
  86. package/dist/cjs/form/components/reset-button.cjs +1 -0
  87. package/dist/cjs/form/components/submit-button.cjs +1 -0
  88. package/dist/cjs/form/contexts/form-context.cjs +1 -0
  89. package/dist/cjs/form/contexts/form-layout.cjs +1 -0
  90. package/dist/cjs/form/contexts/index.cjs +1 -0
  91. package/dist/cjs/form/fields/auto-complete/index.cjs +1 -0
  92. package/dist/cjs/form/fields/bool/index.cjs +1 -0
  93. package/dist/cjs/form/fields/cascader/index.cjs +1 -0
  94. package/dist/cjs/form/fields/checkbox/index.cjs +1 -0
  95. package/dist/cjs/form/fields/color-picker/index.cjs +1 -0
  96. package/dist/cjs/form/fields/date-picker/index.cjs +1 -0
  97. package/dist/cjs/form/fields/date-range-picker/index.cjs +1 -0
  98. package/dist/cjs/form/fields/index.cjs +1 -0
  99. package/dist/cjs/form/fields/input/index.cjs +1 -0
  100. package/dist/cjs/form/fields/input-number/index.cjs +1 -0
  101. package/dist/cjs/form/fields/mentions/index.cjs +1 -0
  102. package/dist/cjs/form/fields/password/index.cjs +1 -0
  103. package/dist/cjs/form/fields/radio/index.cjs +1 -0
  104. package/dist/cjs/form/fields/rate/index.cjs +1 -0
  105. package/dist/cjs/form/fields/select/index.cjs +1 -0
  106. package/dist/cjs/form/fields/slider/index.cjs +1 -0
  107. package/dist/cjs/form/fields/textarea/index.cjs +1 -0
  108. package/dist/cjs/form/fields/time-picker/index.cjs +1 -0
  109. package/dist/cjs/form/fields/time-range-picker/index.cjs +1 -0
  110. package/dist/cjs/form/fields/transfer/index.cjs +1 -0
  111. package/dist/cjs/form/fields/tree-select/index.cjs +1 -0
  112. package/dist/cjs/form/fields/upload/index.cjs +1 -0
  113. package/dist/cjs/form/form.cjs +1 -0
  114. package/dist/cjs/form/helpers/index.cjs +1 -0
  115. package/dist/cjs/form/helpers/with-form-item.cjs +1 -0
  116. package/dist/cjs/form/hooks/use-form-item-props.cjs +1 -0
  117. package/dist/cjs/form/hooks/use-label-width.cjs +1 -0
  118. package/dist/cjs/form/index.cjs +1 -0
  119. package/dist/cjs/form/use-form.cjs +1 -0
  120. package/dist/cjs/grid/context.cjs +1 -0
  121. package/dist/cjs/grid/grid-item.cjs +1 -0
  122. package/dist/cjs/grid/hooks/index.cjs +1 -0
  123. package/dist/cjs/grid/hooks/use-container-breakpoints.cjs +1 -0
  124. package/dist/cjs/grid/hooks/use-container-width.cjs +1 -0
  125. package/dist/cjs/grid/hooks/use-grid-collapsed.cjs +1 -0
  126. package/dist/cjs/grid/hooks/use-normalized-gap.cjs +1 -0
  127. package/dist/cjs/grid/hooks/use-responsive-breakpoint.cjs +1 -0
  128. package/dist/cjs/grid/hooks/use-responsive-value.cjs +1 -0
  129. package/dist/cjs/grid/index.cjs +1 -0
  130. package/dist/cjs/grid/styles.cjs +1 -0
  131. package/dist/cjs/group/index.cjs +1 -0
  132. package/dist/cjs/icon/index.cjs +1 -0
  133. package/dist/cjs/icon-button/index.cjs +1 -0
  134. package/dist/cjs/image/index.cjs +1 -0
  135. package/dist/cjs/index.cjs +1 -0
  136. package/dist/cjs/input/index.cjs +1 -0
  137. package/dist/cjs/input-number/index.cjs +1 -0
  138. package/dist/cjs/keyboard/index.cjs +1 -0
  139. package/dist/cjs/list/index.cjs +1 -0
  140. package/dist/cjs/loader/index.cjs +1 -0
  141. package/dist/cjs/mentions/index.cjs +1 -0
  142. package/dist/cjs/menu/index.cjs +1 -0
  143. package/dist/cjs/modal/index.cjs +1 -0
  144. package/dist/cjs/operation-button/index.cjs +1 -0
  145. package/dist/cjs/pagination/index.cjs +1 -0
  146. package/dist/cjs/permission-gate/index.cjs +1 -0
  147. package/dist/cjs/popconfirm/index.cjs +1 -0
  148. package/dist/cjs/popover/index.cjs +1 -0
  149. package/dist/cjs/progress/index.cjs +1 -0
  150. package/dist/cjs/qrcode/index.cjs +1 -0
  151. package/dist/cjs/radio/index.cjs +1 -0
  152. package/dist/cjs/rate/index.cjs +1 -0
  153. package/dist/cjs/result/index.cjs +1 -0
  154. package/dist/cjs/row/index.cjs +1 -0
  155. package/dist/cjs/scroll-area/index.cjs +1 -0
  156. package/dist/cjs/scroll-area/styles.cjs +1 -0
  157. package/dist/cjs/segmented/index.cjs +1 -0
  158. package/dist/cjs/select/hooks/index.cjs +1 -0
  159. package/dist/cjs/select/hooks/use-data-options-select.cjs +1 -0
  160. package/dist/cjs/select/index.cjs +1 -0
  161. package/dist/cjs/skeleton/index.cjs +1 -0
  162. package/dist/cjs/slider/index.cjs +1 -0
  163. package/dist/cjs/space/index.cjs +1 -0
  164. package/dist/cjs/space/space.cjs +1 -0
  165. package/dist/cjs/sparkles-text/index.cjs +1 -0
  166. package/dist/cjs/sparkles-text/sparkle.cjs +1 -0
  167. package/dist/cjs/spin/index.cjs +1 -0
  168. package/dist/cjs/split-text/index.cjs +1 -0
  169. package/dist/cjs/splitter/index.cjs +1 -0
  170. package/dist/cjs/stack/index.cjs +1 -0
  171. package/dist/cjs/statistic/index.cjs +1 -0
  172. package/dist/cjs/steps/index.cjs +1 -0
  173. package/dist/cjs/switch/index.cjs +1 -0
  174. package/dist/cjs/table/index.cjs +1 -0
  175. package/dist/cjs/table/use-pagination-props.cjs +1 -0
  176. package/dist/cjs/tabs/index.cjs +1 -0
  177. package/dist/cjs/tag/index.cjs +1 -0
  178. package/dist/cjs/time-picker/index.cjs +1 -0
  179. package/dist/cjs/timeline/index.cjs +1 -0
  180. package/dist/cjs/tooltip/index.cjs +1 -0
  181. package/dist/cjs/tour/index.cjs +1 -0
  182. package/dist/cjs/transfer/index.cjs +1 -0
  183. package/dist/cjs/tree/hooks/index.cjs +1 -0
  184. package/dist/cjs/tree/hooks/use-data-options-tree.cjs +1 -0
  185. package/dist/cjs/tree/index.cjs +1 -0
  186. package/dist/cjs/tree-select/hooks/index.cjs +1 -0
  187. package/dist/cjs/tree-select/hooks/use-data-options-tree-select.cjs +1 -0
  188. package/dist/cjs/tree-select/index.cjs +1 -0
  189. package/dist/cjs/typing-animation/index.cjs +1 -0
  190. package/dist/cjs/typography/index.cjs +1 -0
  191. package/dist/cjs/upload/index.cjs +1 -0
  192. package/dist/cjs/watermark/index.cjs +1 -0
  193. package/dist/es/_base/constants/breakpoints.js +13 -0
  194. package/dist/es/_base/constants/common.js +31 -0
  195. package/dist/es/_base/constants/css-vars.js +677 -0
  196. package/dist/es/_base/constants/index.js +4 -0
  197. package/dist/es/_base/constants/theme.js +5 -0
  198. package/dist/es/_base/helpers/breakpoints.js +20 -0
  199. package/dist/es/_base/helpers/color.js +11 -0
  200. package/dist/es/_base/helpers/common.js +11 -0
  201. package/dist/es/_base/helpers/index.js +9 -0
  202. package/dist/es/_base/helpers/message.js +42 -0
  203. package/dist/es/_base/helpers/modal.js +76 -0
  204. package/dist/es/_base/helpers/notification.js +54 -0
  205. package/dist/es/_base/helpers/props.js +14 -0
  206. package/dist/es/_base/helpers/react.js +8 -0
  207. package/dist/es/_base/hooks/index.js +2 -0
  208. package/dist/es/_base/hooks/use-theme-tokens.js +9 -0
  209. package/dist/es/_base/index.js +13 -0
  210. package/dist/es/_base/styles/common.js +24 -0
  211. package/dist/es/_base/styles/index.js +1 -0
  212. package/dist/es/_base/types/breakpoints.js +1 -0
  213. package/dist/es/_base/types/common.js +1 -0
  214. package/dist/es/_base/types/index.js +1 -0
  215. package/dist/es/action-button/index.js +39 -0
  216. package/dist/es/action-button/use-action-button.js +42 -0
  217. package/dist/es/action-group/index.js +12 -0
  218. package/dist/es/action-group/use-action-group.js +10 -0
  219. package/dist/es/action-group/use-computed-action-buttons.js +35 -0
  220. package/dist/es/affix/index.js +3 -0
  221. package/dist/es/alert/index.js +3 -0
  222. package/dist/es/anchor/index.js +3 -0
  223. package/dist/es/auto-complete/index.js +3 -0
  224. package/dist/es/avatar/index.js +3 -0
  225. package/dist/es/badge/index.js +3 -0
  226. package/dist/es/bool/index.js +69 -0
  227. package/dist/es/breadcrumb/index.js +3 -0
  228. package/dist/es/button/index.js +3 -0
  229. package/dist/es/calendar/index.js +3 -0
  230. package/dist/es/card/index.js +3 -0
  231. package/dist/es/carousel/index.js +3 -0
  232. package/dist/es/cascader/index.js +3 -0
  233. package/dist/es/center/index.js +16 -0
  234. package/dist/es/charts/chart.js +20 -0
  235. package/dist/es/charts/helpers/group.js +11 -0
  236. package/dist/es/charts/helpers/index.js +2 -0
  237. package/dist/es/charts/hooks/index.js +2 -0
  238. package/dist/es/charts/hooks/use-chart.js +109 -0
  239. package/dist/es/charts/index.js +4 -0
  240. package/dist/es/charts/themes/index.js +5 -0
  241. package/dist/es/charts/themes/walden-dark.js +296 -0
  242. package/dist/es/charts/themes/walden.js +279 -0
  243. package/dist/es/charts/themes/wonderland-dark.js +300 -0
  244. package/dist/es/charts/themes/wonderland.js +283 -0
  245. package/dist/es/checkbox/index.js +3 -0
  246. package/dist/es/code-highlighter/index.js +41 -0
  247. package/dist/es/col/index.js +3 -0
  248. package/dist/es/collapse/index.js +3 -0
  249. package/dist/es/color-picker/index.js +3 -0
  250. package/dist/es/compact/index.js +6 -0
  251. package/dist/es/config-provider/app.js +18 -0
  252. package/dist/es/config-provider/constants.js +26 -0
  253. package/dist/es/config-provider/context-holder.js +20 -0
  254. package/dist/es/config-provider/css-vars.js +67 -0
  255. package/dist/es/config-provider/dark-mode-context.js +9 -0
  256. package/dist/es/config-provider/error-fallback.js +49 -0
  257. package/dist/es/config-provider/global-style.js +9 -0
  258. package/dist/es/config-provider/index.js +69 -0
  259. package/dist/es/config-provider/theme-config.js +98 -0
  260. package/dist/es/config-provider/use-config-provider.js +29 -0
  261. package/dist/es/date-picker/index.js +3 -0
  262. package/dist/es/descriptions/index.js +3 -0
  263. package/dist/es/divider/index.js +3 -0
  264. package/dist/es/drawer/index.js +3 -0
  265. package/dist/es/dropdown/index.js +3 -0
  266. package/dist/es/dynamic-icon/index.js +45 -0
  267. package/dist/es/dynamic-icon/placeholder-icon.js +23 -0
  268. package/dist/es/dynamic-icon/unknown-icon.js +58 -0
  269. package/dist/es/empty/empty.js +12 -0
  270. package/dist/es/empty/index.js +2 -0
  271. package/dist/es/flex/index.js +3 -0
  272. package/dist/es/flip-text/index.js +53 -0
  273. package/dist/es/float-button/index.js +3 -0
  274. package/dist/es/form/components/form.js +38 -0
  275. package/dist/es/form/components/index.js +12 -0
  276. package/dist/es/form/components/reset-button.js +25 -0
  277. package/dist/es/form/components/submit-button.js +26 -0
  278. package/dist/es/form/contexts/form-context.js +6 -0
  279. package/dist/es/form/contexts/form-layout.js +14 -0
  280. package/dist/es/form/contexts/index.js +3 -0
  281. package/dist/es/form/fields/auto-complete/index.js +25 -0
  282. package/dist/es/form/fields/bool/index.js +19 -0
  283. package/dist/es/form/fields/cascader/index.js +21 -0
  284. package/dist/es/form/fields/checkbox/index.js +31 -0
  285. package/dist/es/form/fields/color-picker/index.js +19 -0
  286. package/dist/es/form/fields/date-picker/index.js +21 -0
  287. package/dist/es/form/fields/date-range-picker/index.js +21 -0
  288. package/dist/es/form/fields/index.js +49 -0
  289. package/dist/es/form/fields/input/index.js +24 -0
  290. package/dist/es/form/fields/input-number/index.js +22 -0
  291. package/dist/es/form/fields/mentions/index.js +22 -0
  292. package/dist/es/form/fields/password/index.js +24 -0
  293. package/dist/es/form/fields/radio/index.js +22 -0
  294. package/dist/es/form/fields/rate/index.js +20 -0
  295. package/dist/es/form/fields/select/index.js +20 -0
  296. package/dist/es/form/fields/slider/index.js +19 -0
  297. package/dist/es/form/fields/textarea/index.js +24 -0
  298. package/dist/es/form/fields/time-picker/index.js +21 -0
  299. package/dist/es/form/fields/time-range-picker/index.js +21 -0
  300. package/dist/es/form/fields/transfer/index.js +21 -0
  301. package/dist/es/form/fields/tree-select/index.js +19 -0
  302. package/dist/es/form/fields/upload/index.js +37 -0
  303. package/dist/es/form/form.js +14 -0
  304. package/dist/es/form/helpers/index.js +2 -0
  305. package/dist/es/form/helpers/with-form-item.js +33 -0
  306. package/dist/es/form/hooks/use-form-item-props.js +21 -0
  307. package/dist/es/form/hooks/use-label-width.js +12 -0
  308. package/dist/es/form/index.js +3 -0
  309. package/dist/es/form/use-form.js +16 -0
  310. package/dist/es/grid/context.js +11 -0
  311. package/dist/es/grid/grid-item.js +28 -0
  312. package/dist/es/grid/hooks/index.js +7 -0
  313. package/dist/es/grid/hooks/use-container-breakpoints.js +16 -0
  314. package/dist/es/grid/hooks/use-container-width.js +26 -0
  315. package/dist/es/grid/hooks/use-grid-collapsed.js +12 -0
  316. package/dist/es/grid/hooks/use-normalized-gap.js +26 -0
  317. package/dist/es/grid/hooks/use-responsive-breakpoint.js +11 -0
  318. package/dist/es/grid/hooks/use-responsive-value.js +19 -0
  319. package/dist/es/grid/index.js +97 -0
  320. package/dist/es/grid/styles.js +22 -0
  321. package/dist/es/group/index.js +16 -0
  322. package/dist/es/icon/index.js +33 -0
  323. package/dist/es/icon-button/index.js +31 -0
  324. package/dist/es/image/index.js +3 -0
  325. package/dist/es/index.js +109 -0
  326. package/dist/es/input/index.js +3 -0
  327. package/dist/es/input-number/index.js +3 -0
  328. package/dist/es/keyboard/index.js +39 -0
  329. package/dist/es/list/index.js +3 -0
  330. package/dist/es/loader/index.js +30 -0
  331. package/dist/es/mentions/index.js +3 -0
  332. package/dist/es/menu/index.js +3 -0
  333. package/dist/es/modal/index.js +3 -0
  334. package/dist/es/operation-button/index.js +27 -0
  335. package/dist/es/pagination/index.js +3 -0
  336. package/dist/es/permission-gate/index.js +10 -0
  337. package/dist/es/popconfirm/index.js +3 -0
  338. package/dist/es/popover/index.js +3 -0
  339. package/dist/es/progress/index.js +3 -0
  340. package/dist/es/qrcode/index.js +3 -0
  341. package/dist/es/radio/index.js +3 -0
  342. package/dist/es/rate/index.js +3 -0
  343. package/dist/es/result/index.js +3 -0
  344. package/dist/es/row/index.js +3 -0
  345. package/dist/es/scroll-area/index.js +57 -0
  346. package/dist/es/scroll-area/styles.js +37 -0
  347. package/dist/es/segmented/index.js +3 -0
  348. package/dist/es/select/hooks/index.js +2 -0
  349. package/dist/es/select/hooks/use-data-options-select.js +47 -0
  350. package/dist/es/select/index.js +4 -0
  351. package/dist/es/skeleton/index.js +3 -0
  352. package/dist/es/slider/index.js +3 -0
  353. package/dist/es/space/index.js +2 -0
  354. package/dist/es/space/space.js +13 -0
  355. package/dist/es/sparkles-text/index.js +53 -0
  356. package/dist/es/sparkles-text/sparkle.js +57 -0
  357. package/dist/es/spin/index.js +3 -0
  358. package/dist/es/split-text/index.js +151 -0
  359. package/dist/es/splitter/index.js +3 -0
  360. package/dist/es/stack/index.js +15 -0
  361. package/dist/es/statistic/index.js +3 -0
  362. package/dist/es/steps/index.js +3 -0
  363. package/dist/es/switch/index.js +3 -0
  364. package/dist/es/table/index.js +47 -0
  365. package/dist/es/table/use-pagination-props.js +50 -0
  366. package/dist/es/tabs/index.js +3 -0
  367. package/dist/es/tag/index.js +3 -0
  368. package/dist/es/time-picker/index.js +3 -0
  369. package/dist/es/timeline/index.js +3 -0
  370. package/dist/es/tooltip/index.js +3 -0
  371. package/dist/es/tour/index.js +3 -0
  372. package/dist/es/transfer/index.js +3 -0
  373. package/dist/es/tree/hooks/index.js +2 -0
  374. package/dist/es/tree/hooks/use-data-options-tree.js +40 -0
  375. package/dist/es/tree/index.js +4 -0
  376. package/dist/es/tree-select/hooks/index.js +2 -0
  377. package/dist/es/tree-select/hooks/use-data-options-tree-select.js +49 -0
  378. package/dist/es/tree-select/index.js +4 -0
  379. package/dist/es/typing-animation/index.js +46 -0
  380. package/dist/es/typography/index.js +6 -0
  381. package/dist/es/upload/index.js +62 -0
  382. package/dist/es/watermark/index.js +3 -0
  383. package/dist/types/src/_base/constants/breakpoints.d.ts +9 -0
  384. package/dist/types/src/_base/constants/common.d.ts +10 -0
  385. package/dist/types/src/_base/constants/css-vars.d.ts +673 -0
  386. package/dist/types/src/_base/constants/index.d.ts +4 -0
  387. package/dist/types/src/_base/constants/theme.d.ts +8 -0
  388. package/dist/types/src/_base/helpers/breakpoints.d.ts +7 -0
  389. package/dist/types/src/_base/helpers/color.d.ts +3 -0
  390. package/dist/types/src/_base/helpers/common.d.ts +8 -0
  391. package/dist/types/src/_base/helpers/index.d.ts +8 -0
  392. package/dist/types/src/_base/helpers/message.d.ts +11 -0
  393. package/dist/types/src/_base/helpers/modal.d.ts +31 -0
  394. package/dist/types/src/_base/helpers/notification.d.ts +17 -0
  395. package/dist/types/src/_base/helpers/props.d.ts +5 -0
  396. package/dist/types/src/_base/helpers/react.d.ts +2 -0
  397. package/dist/types/src/_base/hooks/index.d.ts +1 -0
  398. package/dist/types/src/_base/hooks/use-theme-tokens.d.ts +2 -0
  399. package/dist/types/src/_base/index.d.ts +5 -0
  400. package/dist/types/src/_base/styles/common.d.ts +4 -0
  401. package/dist/types/src/_base/styles/index.d.ts +1 -0
  402. package/dist/types/src/_base/types/breakpoints.d.ts +2 -0
  403. package/dist/types/src/_base/types/common.d.ts +41 -0
  404. package/dist/types/src/_base/types/index.d.ts +2 -0
  405. package/dist/types/src/action-button/index.d.ts +3 -0
  406. package/dist/types/src/action-button/props.d.ts +39 -0
  407. package/dist/types/src/action-button/use-action-button.d.ts +12 -0
  408. package/dist/types/src/action-group/index.d.ts +7 -0
  409. package/dist/types/src/action-group/props.d.ts +18 -0
  410. package/dist/types/src/action-group/use-action-group.d.ts +8 -0
  411. package/dist/types/src/action-group/use-computed-action-buttons.d.ts +12 -0
  412. package/dist/types/src/affix/index.d.ts +2 -0
  413. package/dist/types/src/alert/index.d.ts +2 -0
  414. package/dist/types/src/anchor/index.d.ts +4 -0
  415. package/dist/types/src/auto-complete/index.d.ts +4 -0
  416. package/dist/types/src/avatar/index.d.ts +3 -0
  417. package/dist/types/src/badge/index.d.ts +4 -0
  418. package/dist/types/src/bool/index.d.ts +4 -0
  419. package/dist/types/src/bool/props.d.ts +67 -0
  420. package/dist/types/src/breadcrumb/index.d.ts +5 -0
  421. package/dist/types/src/button/index.d.ts +3 -0
  422. package/dist/types/src/calendar/index.d.ts +2 -0
  423. package/dist/types/src/card/index.d.ts +3 -0
  424. package/dist/types/src/carousel/index.d.ts +3 -0
  425. package/dist/types/src/cascader/index.d.ts +3 -0
  426. package/dist/types/src/center/index.d.ts +4 -0
  427. package/dist/types/src/center/props.d.ts +13 -0
  428. package/dist/types/src/charts/chart.d.ts +11 -0
  429. package/dist/types/src/charts/helpers/group.d.ts +2 -0
  430. package/dist/types/src/charts/helpers/index.d.ts +1 -0
  431. package/dist/types/src/charts/hooks/index.d.ts +2 -0
  432. package/dist/types/src/charts/hooks/use-chart.d.ts +15 -0
  433. package/dist/types/src/charts/index.d.ts +4 -0
  434. package/dist/types/src/charts/themes/index.d.ts +4 -0
  435. package/dist/types/src/charts/themes/walden-dark.d.ts +1 -0
  436. package/dist/types/src/charts/themes/walden.d.ts +1 -0
  437. package/dist/types/src/charts/themes/wonderland-dark.d.ts +1 -0
  438. package/dist/types/src/charts/themes/wonderland.d.ts +1 -0
  439. package/dist/types/src/checkbox/index.d.ts +5 -0
  440. package/dist/types/src/code-highlighter/index.d.ts +3 -0
  441. package/dist/types/src/code-highlighter/props.d.ts +58 -0
  442. package/dist/types/src/col/index.d.ts +2 -0
  443. package/dist/types/src/collapse/index.d.ts +5 -0
  444. package/dist/types/src/color-picker/index.d.ts +2 -0
  445. package/dist/types/src/compact/index.d.ts +5 -0
  446. package/dist/types/src/config-provider/app.d.ts +9 -0
  447. package/dist/types/src/config-provider/constants.d.ts +22 -0
  448. package/dist/types/src/config-provider/context-holder.d.ts +6 -0
  449. package/dist/types/src/config-provider/css-vars.d.ts +6 -0
  450. package/dist/types/src/config-provider/dark-mode-context.d.ts +3 -0
  451. package/dist/types/src/config-provider/error-fallback.d.ts +3 -0
  452. package/dist/types/src/config-provider/global-style.d.ts +2 -0
  453. package/dist/types/src/config-provider/index.d.ts +5 -0
  454. package/dist/types/src/config-provider/props.d.ts +34 -0
  455. package/dist/types/src/config-provider/theme-config.d.ts +7 -0
  456. package/dist/types/src/config-provider/use-config-provider.d.ts +10 -0
  457. package/dist/types/src/date-picker/index.d.ts +5 -0
  458. package/dist/types/src/descriptions/index.d.ts +4 -0
  459. package/dist/types/src/divider/index.d.ts +2 -0
  460. package/dist/types/src/drawer/index.d.ts +2 -0
  461. package/dist/types/src/dropdown/index.d.ts +5 -0
  462. package/dist/types/src/dynamic-icon/index.d.ts +7 -0
  463. package/dist/types/src/dynamic-icon/placeholder-icon.d.ts +2 -0
  464. package/dist/types/src/dynamic-icon/props.d.ts +13 -0
  465. package/dist/types/src/dynamic-icon/unknown-icon.d.ts +2 -0
  466. package/dist/types/src/empty/empty.d.ts +2 -0
  467. package/dist/types/src/empty/index.d.ts +2 -0
  468. package/dist/types/src/flex/index.d.ts +14 -0
  469. package/dist/types/src/flip-text/index.d.ts +3 -0
  470. package/dist/types/src/flip-text/props.d.ts +32 -0
  471. package/dist/types/src/float-button/index.d.ts +2 -0
  472. package/dist/types/src/form/components/form.d.ts +10 -0
  473. package/dist/types/src/form/components/index.d.ts +11 -0
  474. package/dist/types/src/form/components/reset-button.d.ts +6 -0
  475. package/dist/types/src/form/components/submit-button.d.ts +6 -0
  476. package/dist/types/src/form/contexts/form-context.d.ts +4 -0
  477. package/dist/types/src/form/contexts/form-layout.d.ts +7 -0
  478. package/dist/types/src/form/contexts/index.d.ts +3 -0
  479. package/dist/types/src/form/fields/auto-complete/index.d.ts +5 -0
  480. package/dist/types/src/form/fields/auto-complete/props.d.ts +10 -0
  481. package/dist/types/src/form/fields/bool/index.d.ts +5 -0
  482. package/dist/types/src/form/fields/bool/props.d.ts +4 -0
  483. package/dist/types/src/form/fields/cascader/index.d.ts +5 -0
  484. package/dist/types/src/form/fields/cascader/props.d.ts +4 -0
  485. package/dist/types/src/form/fields/checkbox/index.d.ts +6 -0
  486. package/dist/types/src/form/fields/checkbox/props.d.ts +6 -0
  487. package/dist/types/src/form/fields/color-picker/index.d.ts +5 -0
  488. package/dist/types/src/form/fields/color-picker/props.d.ts +4 -0
  489. package/dist/types/src/form/fields/date-picker/index.d.ts +5 -0
  490. package/dist/types/src/form/fields/date-picker/props.d.ts +4 -0
  491. package/dist/types/src/form/fields/date-range-picker/index.d.ts +5 -0
  492. package/dist/types/src/form/fields/date-range-picker/props.d.ts +4 -0
  493. package/dist/types/src/form/fields/index.d.ts +68 -0
  494. package/dist/types/src/form/fields/input/index.d.ts +5 -0
  495. package/dist/types/src/form/fields/input/props.d.ts +10 -0
  496. package/dist/types/src/form/fields/input-number/index.d.ts +5 -0
  497. package/dist/types/src/form/fields/input-number/props.d.ts +4 -0
  498. package/dist/types/src/form/fields/mentions/index.d.ts +5 -0
  499. package/dist/types/src/form/fields/mentions/props.d.ts +4 -0
  500. package/dist/types/src/form/fields/password/index.d.ts +5 -0
  501. package/dist/types/src/form/fields/password/props.d.ts +10 -0
  502. package/dist/types/src/form/fields/radio/index.d.ts +5 -0
  503. package/dist/types/src/form/fields/radio/props.d.ts +4 -0
  504. package/dist/types/src/form/fields/rate/index.d.ts +5 -0
  505. package/dist/types/src/form/fields/rate/props.d.ts +4 -0
  506. package/dist/types/src/form/fields/select/index.d.ts +6 -0
  507. package/dist/types/src/form/fields/select/props.d.ts +5 -0
  508. package/dist/types/src/form/fields/slider/index.d.ts +5 -0
  509. package/dist/types/src/form/fields/slider/props.d.ts +4 -0
  510. package/dist/types/src/form/fields/textarea/index.d.ts +5 -0
  511. package/dist/types/src/form/fields/textarea/props.d.ts +10 -0
  512. package/dist/types/src/form/fields/time-picker/index.d.ts +5 -0
  513. package/dist/types/src/form/fields/time-picker/props.d.ts +4 -0
  514. package/dist/types/src/form/fields/time-range-picker/index.d.ts +5 -0
  515. package/dist/types/src/form/fields/time-range-picker/props.d.ts +4 -0
  516. package/dist/types/src/form/fields/transfer/index.d.ts +5 -0
  517. package/dist/types/src/form/fields/transfer/props.d.ts +4 -0
  518. package/dist/types/src/form/fields/tree-select/index.d.ts +6 -0
  519. package/dist/types/src/form/fields/tree-select/props.d.ts +5 -0
  520. package/dist/types/src/form/fields/upload/index.d.ts +5 -0
  521. package/dist/types/src/form/fields/upload/props.d.ts +4 -0
  522. package/dist/types/src/form/form.d.ts +183 -0
  523. package/dist/types/src/form/helpers/index.d.ts +1 -0
  524. package/dist/types/src/form/helpers/with-form-item.d.ts +3 -0
  525. package/dist/types/src/form/hooks/use-form-item-props.d.ts +15 -0
  526. package/dist/types/src/form/hooks/use-label-width.d.ts +7 -0
  527. package/dist/types/src/form/index.d.ts +5 -0
  528. package/dist/types/src/form/types.d.ts +17 -0
  529. package/dist/types/src/form/use-form.d.ts +38 -0
  530. package/dist/types/src/grid/context.d.ts +15 -0
  531. package/dist/types/src/grid/grid-item.d.ts +5 -0
  532. package/dist/types/src/grid/hooks/index.d.ts +6 -0
  533. package/dist/types/src/grid/hooks/use-container-breakpoints.d.ts +1 -0
  534. package/dist/types/src/grid/hooks/use-container-width.d.ts +5 -0
  535. package/dist/types/src/grid/hooks/use-grid-collapsed.d.ts +4 -0
  536. package/dist/types/src/grid/hooks/use-normalized-gap.d.ts +3 -0
  537. package/dist/types/src/grid/hooks/use-responsive-breakpoint.d.ts +2 -0
  538. package/dist/types/src/grid/hooks/use-responsive-value.d.ts +4 -0
  539. package/dist/types/src/grid/index.d.ts +8 -0
  540. package/dist/types/src/grid/props.d.ts +85 -0
  541. package/dist/types/src/grid/styles.d.ts +4 -0
  542. package/dist/types/src/group/index.d.ts +4 -0
  543. package/dist/types/src/group/props.d.ts +13 -0
  544. package/dist/types/src/icon/index.d.ts +3 -0
  545. package/dist/types/src/icon/props.d.ts +20 -0
  546. package/dist/types/src/icon-button/index.d.ts +3 -0
  547. package/dist/types/src/icon-button/props.d.ts +22 -0
  548. package/dist/types/src/image/index.d.ts +2 -0
  549. package/dist/types/src/index.d.ts +90 -0
  550. package/dist/types/src/input/index.d.ts +4 -0
  551. package/dist/types/src/input-number/index.d.ts +2 -0
  552. package/dist/types/src/keyboard/index.d.ts +3 -0
  553. package/dist/types/src/keyboard/props.d.ts +13 -0
  554. package/dist/types/src/list/index.d.ts +3 -0
  555. package/dist/types/src/loader/index.d.ts +3 -0
  556. package/dist/types/src/loader/props.d.ts +20 -0
  557. package/dist/types/src/mentions/index.d.ts +4 -0
  558. package/dist/types/src/menu/index.d.ts +5 -0
  559. package/dist/types/src/modal/index.d.ts +2 -0
  560. package/dist/types/src/operation-button/index.d.ts +3 -0
  561. package/dist/types/src/operation-button/props.d.ts +10 -0
  562. package/dist/types/src/pagination/index.d.ts +2 -0
  563. package/dist/types/src/permission-gate/index.d.ts +4 -0
  564. package/dist/types/src/permission-gate/props.d.ts +26 -0
  565. package/dist/types/src/popconfirm/index.d.ts +2 -0
  566. package/dist/types/src/popover/index.d.ts +2 -0
  567. package/dist/types/src/progress/index.d.ts +2 -0
  568. package/dist/types/src/qrcode/index.d.ts +2 -0
  569. package/dist/types/src/radio/index.d.ts +4 -0
  570. package/dist/types/src/rate/index.d.ts +2 -0
  571. package/dist/types/src/result/index.d.ts +2 -0
  572. package/dist/types/src/row/index.d.ts +2 -0
  573. package/dist/types/src/scroll-area/index.d.ts +3 -0
  574. package/dist/types/src/scroll-area/props.d.ts +49 -0
  575. package/dist/types/src/scroll-area/styles.d.ts +5 -0
  576. package/dist/types/src/segmented/index.d.ts +5 -0
  577. package/dist/types/src/select/hooks/index.d.ts +1 -0
  578. package/dist/types/src/select/hooks/use-data-options-select.d.ts +16 -0
  579. package/dist/types/src/select/index.d.ts +5 -0
  580. package/dist/types/src/skeleton/index.d.ts +8 -0
  581. package/dist/types/src/slider/index.d.ts +5 -0
  582. package/dist/types/src/space/index.d.ts +2 -0
  583. package/dist/types/src/space/props.d.ts +13 -0
  584. package/dist/types/src/space/space.d.ts +2 -0
  585. package/dist/types/src/sparkles-text/index.d.ts +3 -0
  586. package/dist/types/src/sparkles-text/props.d.ts +12 -0
  587. package/dist/types/src/sparkles-text/sparkle.d.ts +10 -0
  588. package/dist/types/src/spin/index.d.ts +2 -0
  589. package/dist/types/src/split-text/index.d.ts +4 -0
  590. package/dist/types/src/split-text/props.d.ts +78 -0
  591. package/dist/types/src/splitter/index.d.ts +2 -0
  592. package/dist/types/src/stack/index.d.ts +4 -0
  593. package/dist/types/src/stack/props.d.ts +13 -0
  594. package/dist/types/src/statistic/index.d.ts +2 -0
  595. package/dist/types/src/steps/index.d.ts +2 -0
  596. package/dist/types/src/switch/index.d.ts +2 -0
  597. package/dist/types/src/table/index.d.ts +7 -0
  598. package/dist/types/src/table/props.d.ts +13 -0
  599. package/dist/types/src/table/use-pagination-props.d.ts +9 -0
  600. package/dist/types/src/tabs/index.d.ts +4 -0
  601. package/dist/types/src/tag/index.d.ts +3 -0
  602. package/dist/types/src/time-picker/index.d.ts +2 -0
  603. package/dist/types/src/timeline/index.d.ts +4 -0
  604. package/dist/types/src/tooltip/index.d.ts +3 -0
  605. package/dist/types/src/tour/index.d.ts +4 -0
  606. package/dist/types/src/transfer/index.d.ts +3 -0
  607. package/dist/types/src/tree/hooks/index.d.ts +1 -0
  608. package/dist/types/src/tree/hooks/use-data-options-tree.d.ts +16 -0
  609. package/dist/types/src/tree/index.d.ts +5 -0
  610. package/dist/types/src/tree-select/hooks/index.d.ts +1 -0
  611. package/dist/types/src/tree-select/hooks/use-data-options-tree-select.d.ts +16 -0
  612. package/dist/types/src/tree-select/index.d.ts +3 -0
  613. package/dist/types/src/typing-animation/index.d.ts +3 -0
  614. package/dist/types/src/typing-animation/props.d.ts +25 -0
  615. package/dist/types/src/typography/index.d.ts +11 -0
  616. package/dist/types/src/upload/index.d.ts +4 -0
  617. package/dist/types/src/upload/props.d.ts +15 -0
  618. package/dist/types/src/watermark/index.d.ts +2 -0
  619. package/package.json +85 -0
@@ -0,0 +1,33 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { useFieldContext as e } from "../contexts/form-context.js";
3
+ import { useFormItemProps as t } from "../hooks/use-form-item-props.js";
4
+ import { jsx as n } from "@emotion/react/jsx-runtime";
5
+ import { Form as r } from "antd";
6
+ //#region src/form/helpers/with-form-item.tsx
7
+ function i(e, t) {
8
+ if (e) return "validating";
9
+ if (!t) return "error";
10
+ }
11
+ function a(a, o) {
12
+ function s({ layout: a, label: s, labelAlign: c, labelWidth: l, extra: u, noWrapper: d, required: f, ...p }) {
13
+ let m = t({
14
+ layout: a,
15
+ label: s,
16
+ labelAlign: c,
17
+ labelWidth: l,
18
+ extra: u,
19
+ required: f,
20
+ noWrapper: d
21
+ }), { state: { meta: { errors: h, isValid: g, isValidating: _ } } } = e(), v = h.length > 0 ? h[0].message : null;
22
+ return /* @__PURE__ */ n(r.Item, {
23
+ ...m,
24
+ hasFeedback: _,
25
+ help: v,
26
+ validateStatus: i(_, g),
27
+ children: /* @__PURE__ */ n(o, { ...p })
28
+ });
29
+ }
30
+ return s.displayName = a, s;
31
+ }
32
+ //#endregion
33
+ export { a as withFormItem };
@@ -0,0 +1,21 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { useFormLayout as e } from "../contexts/form-layout.js";
3
+ import { useLabelWidth as t } from "./use-label-width.js";
4
+ import { useMemo as n } from "react";
5
+ //#region src/form/hooks/use-form-item-props.ts
6
+ function r(r) {
7
+ let { layout: i, label: a, labelAlign: o, labelWidth: s, extra: c, noWrapper: l, required: u } = r, d = e(), f = i ?? d.layout, p = t(f, s ?? d.labelWidth), m = n(() => {
8
+ if (!(f === "vertical" || !p)) return { flex: `0 0 ${p}px` };
9
+ }, [p, f]);
10
+ return {
11
+ layout: f,
12
+ label: a,
13
+ labelAlign: o ?? d.labelAlign,
14
+ labelCol: m,
15
+ extra: c,
16
+ noStyle: l,
17
+ required: u
18
+ };
19
+ }
20
+ //#endregion
21
+ export { r as useFormItemProps };
@@ -0,0 +1,12 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { showWarningMessage as e } from "../../_base/helpers/message.js";
3
+ import { useMemo as t } from "react";
4
+ //#region src/form/hooks/use-label-width.ts
5
+ var n = 60, r = 120;
6
+ function i(i, a) {
7
+ return t(() => {
8
+ if (!(i === "vertical" || !a)) return (a < n || a > r) && e(`The labelWidth of Form component must be between ${n} and ${r}.`), Math.min(Math.max(a, n), r);
9
+ }, [i, a]);
10
+ }
11
+ //#endregion
12
+ export { i as useLabelWidth };
@@ -0,0 +1,3 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import "./form.js";
3
+ import "./use-form.js";
@@ -0,0 +1,16 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { useAppForm as e } from "./form.js";
3
+ import { jsx as t } from "@emotion/react/jsx-runtime";
4
+ import { useMemo as n } from "react";
5
+ //#region src/form/use-form.tsx
6
+ function r(r) {
7
+ let i = e(r);
8
+ return n(() => {
9
+ let { AppForm: e, Form: n } = i, r = (r) => /* @__PURE__ */ t(e, { children: /* @__PURE__ */ t(n, { ...r }) });
10
+ return new Proxy(i, { get(e, t, n) {
11
+ return t === "Form" ? r : Reflect.get(e, t, n);
12
+ } });
13
+ }, [i]);
14
+ }
15
+ //#endregion
16
+ export { r as useForm };
@@ -0,0 +1,11 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { createContext as e, use as t } from "react";
3
+ //#region src/grid/context.ts
4
+ var n = e(null), r = n.Provider;
5
+ function i() {
6
+ let e = t(n);
7
+ if (!e) throw Error("GridItem must be used as direct child of Grid");
8
+ return e;
9
+ }
10
+ //#endregion
11
+ export { r as GridContextProvider, i as useGridContext };
@@ -0,0 +1,28 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { useGridContext as e } from "./context.js";
3
+ import { gridItem as t } from "./styles.js";
4
+ import { jsx as n } from "@emotion/react/jsx-runtime";
5
+ import { useMemo as r } from "react";
6
+ function i({ span: i = 1, offset: a = 0, suffix: o = !1, style: s, ...c }) {
7
+ let { gridColumns: l } = e(), u = r(() => {
8
+ let e = i, t = a;
9
+ return {
10
+ "--vef-grid-item-column": o ? `${l + 1 - e} / span ${e}` : `span ${e}`,
11
+ ...t > 0 && !o ? { "--vef-grid-item-margin-left": `calc(100% * ${t} / ${e})` } : {},
12
+ ...s
13
+ };
14
+ }, [
15
+ i,
16
+ a,
17
+ o,
18
+ l,
19
+ s
20
+ ]);
21
+ return /* @__PURE__ */ n("div", {
22
+ ...c,
23
+ css: t,
24
+ style: u
25
+ });
26
+ }
27
+ //#endregion
28
+ export { i as GridItem };
@@ -0,0 +1,7 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import "./use-container-breakpoints.js";
3
+ import "./use-container-width.js";
4
+ import "./use-grid-collapsed.js";
5
+ import "./use-normalized-gap.js";
6
+ import "./use-responsive-breakpoint.js";
7
+ import "./use-responsive-value.js";
@@ -0,0 +1,16 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { useMemo as e } from "react";
3
+ //#region src/grid/hooks/use-container-breakpoints.ts
4
+ function t(t) {
5
+ return e(() => ({
6
+ xxs: t,
7
+ xs: t * 2,
8
+ sm: t * 3,
9
+ md: t * 4,
10
+ lg: t * 5,
11
+ xl: t * 6,
12
+ xxl: t * 7
13
+ }), [t]);
14
+ }
15
+ //#endregion
16
+ export { t as useContainerBreakpoints };
@@ -0,0 +1,26 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { useEffect as e, useRef as t, useState as n } from "react";
3
+ import { useIsomorphicEffect as r } from "@vef-framework-react/hooks";
4
+ //#region src/grid/hooks/use-container-width.ts
5
+ function i() {
6
+ let i = t(0), a = t(null), [o, s] = n(0);
7
+ return r(() => {
8
+ a.current && s(a.current.getBoundingClientRect().width);
9
+ }, []), e(() => {
10
+ if (a.current) {
11
+ let e = new ResizeObserver(([e]) => {
12
+ e && (i.current && cancelAnimationFrame(i.current), i.current = requestAnimationFrame(() => {
13
+ s(e.contentBoxSize.at(0)?.inlineSize ?? e.contentRect.width);
14
+ }));
15
+ });
16
+ return e.observe(a.current, { box: "content-box" }), () => {
17
+ e.disconnect(), i.current && cancelAnimationFrame(i.current);
18
+ };
19
+ }
20
+ }, []), {
21
+ containerWidth: o,
22
+ containerRef: a
23
+ };
24
+ }
25
+ //#endregion
26
+ export { i as useContainerWidth };
@@ -0,0 +1,12 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { useGridContext as e } from "../context.js";
3
+ //#region src/grid/hooks/use-grid-collapsed.ts
4
+ function t() {
5
+ let { isCollapsed: t, setCollapsed: n } = e();
6
+ return {
7
+ isCollapsed: t,
8
+ setCollapsed: n
9
+ };
10
+ }
11
+ //#endregion
12
+ export { t as useGridCollapsed };
@@ -0,0 +1,26 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { useThemeTokens as e } from "../../_base/hooks/use-theme-tokens.js";
3
+ import { isNumber as t, isString as n } from "@vef-framework-react/shared";
4
+ import { useMemo as r } from "react";
5
+ //#region src/grid/hooks/use-normalized-gap.ts
6
+ function i([t, n]) {
7
+ let i = e();
8
+ return r(() => [a(t, i), a(n, i)], [
9
+ n,
10
+ t,
11
+ i
12
+ ]);
13
+ }
14
+ function a(e, { margin: r, marginSM: i, marginXS: a, marginMD: o, marginLG: s }) {
15
+ if (t(e)) return e;
16
+ if (n(e)) switch (e) {
17
+ case "extra-small": return a;
18
+ case "small": return i;
19
+ case "medium": return r;
20
+ case "large": return o;
21
+ case "extra-large": return s;
22
+ }
23
+ return 0;
24
+ }
25
+ //#endregion
26
+ export { i as useNormalizedGap };
@@ -0,0 +1,11 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { useMemo as e } from "react";
3
+ //#region src/grid/hooks/use-responsive-breakpoint.ts
4
+ function t(t, n) {
5
+ return e(() => {
6
+ for (let [e, r] of Object.entries(t)) if (n <= r) return e;
7
+ return "xxl";
8
+ }, [n, t]);
9
+ }
10
+ //#endregion
11
+ export { t as useResponsiveBreakpoint };
@@ -0,0 +1,19 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { breakpoints as e } from "../../_base/constants/breakpoints.js";
3
+ import { isPlainObject as t } from "@vef-framework-react/shared";
4
+ import "react";
5
+ function n(n, r) {
6
+ if (t(n)) {
7
+ let t = n[r];
8
+ if (t) return t;
9
+ let i = Object.keys(e), a = i.indexOf(r);
10
+ for (; a--;) {
11
+ let e = n[i[a]];
12
+ if (e) return e;
13
+ }
14
+ return;
15
+ }
16
+ return n;
17
+ }
18
+ //#endregion
19
+ export { n as getResponsiveValue };
@@ -0,0 +1,97 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { GridContextProvider as e } from "./context.js";
3
+ import { grid as t } from "./styles.js";
4
+ import { GridItem as n } from "./grid-item.js";
5
+ import { useContainerBreakpoints as r } from "./hooks/use-container-breakpoints.js";
6
+ import { useContainerWidth as i } from "./hooks/use-container-width.js";
7
+ import "./hooks/use-grid-collapsed.js";
8
+ import { useNormalizedGap as a } from "./hooks/use-normalized-gap.js";
9
+ import { useResponsiveBreakpoint as o } from "./hooks/use-responsive-breakpoint.js";
10
+ import { getResponsiveValue as s } from "./hooks/use-responsive-value.js";
11
+ import { jsx as c } from "@emotion/react/jsx-runtime";
12
+ import { Children as l, cloneElement as u, isValidElement as d, useCallback as f, useMemo as p, useState as m } from "react";
13
+ import { useMergedRef as h } from "@vef-framework-react/hooks";
14
+ import { clsx as g } from "@vef-framework-react/core";
15
+ //#region src/grid/index.tsx
16
+ function _(e, t, r, i, a) {
17
+ let o = [];
18
+ l.forEach(e, (e) => {
19
+ if (!d(e) || e.type !== n) return;
20
+ let t = e, r = t.props, i = s(r.span ?? 1, a) ?? 1;
21
+ if (i === 0) return;
22
+ let c = s(r.offset ?? 0, a) ?? 0;
23
+ o.push({
24
+ element: t,
25
+ span: i,
26
+ offset: c
27
+ });
28
+ });
29
+ let c = 0, f = o.at(-1);
30
+ f?.element.props.suffix === !0 && (c = f.span);
31
+ let p = 0, m = !1;
32
+ return o.map(({ element: e, span: n, offset: a }, s) => {
33
+ let l = Math.min(n + a, t);
34
+ if (!m && r) {
35
+ let e = p % t;
36
+ l + e > t && (p += t - e), l + p + c > i * t ? m = !0 : p += l;
37
+ }
38
+ if (m) {
39
+ let { props: t } = e;
40
+ return u(e, {
41
+ className: s === o.length - 1 && t.suffix === !0 ? t.className : g(t.className, "hidden"),
42
+ span: n,
43
+ offset: a
44
+ });
45
+ }
46
+ return u(e, {
47
+ key: e.key || s,
48
+ span: l,
49
+ offset: a
50
+ });
51
+ });
52
+ }
53
+ function v({ baseWidth: n = 240, gap: s = 0, columnGap: l, rowGap: u, defaultIsCollapsed: d = !1, isCollapsed: g, collapsedRows: v = 1, onCollapseChange: y, style: b, children: x, ref: S, ...C }) {
54
+ let [w, T] = m(d), E = g !== void 0, D = E ? g : w, O = f((e) => {
55
+ let t = e || !D;
56
+ E || T(t), y?.(t);
57
+ }, [
58
+ E,
59
+ D,
60
+ y
61
+ ]), { containerRef: k, containerWidth: A } = i(), j = h(k, S), M = o(r(n), A), [N, P] = a([u ?? s, l ?? s]), F = p(() => A > 24 * P ? {
62
+ "--vef-grid-row-gap": `${N}px`,
63
+ "--vef-grid-column-gap": `${P}px`,
64
+ ...b
65
+ } : {
66
+ "--vef-grid-row-gap": `${N}px`,
67
+ "--vef-grid-column-gap": `${Math.floor(A / 24)}px`,
68
+ ...b
69
+ }, [
70
+ A,
71
+ P,
72
+ N,
73
+ b
74
+ ]), I = p(() => ({
75
+ gridColumns: 24,
76
+ isCollapsed: D,
77
+ setCollapsed: O
78
+ }), [D, O]), L = p(() => _(x, 24, D, v, M), [
79
+ x,
80
+ D,
81
+ v,
82
+ M
83
+ ]);
84
+ return /* @__PURE__ */ c("div", {
85
+ ...C,
86
+ ref: j,
87
+ css: t,
88
+ style: F,
89
+ children: /* @__PURE__ */ c(e, {
90
+ value: I,
91
+ children: L
92
+ })
93
+ });
94
+ }
95
+ v.Item = n;
96
+ //#endregion
97
+ export { v as Grid };
@@ -0,0 +1,22 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { css as e } from "@emotion/react";
3
+ //#region src/grid/styles.ts
4
+ function t() {
5
+ return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
6
+ }
7
+ var n = /* @__PURE__ */ e({
8
+ display: "grid",
9
+ width: "100%",
10
+ gridTemplateColumns: "repeat(24, minmax(0, 1fr))",
11
+ columnGap: "var(--vef-grid-column-gap, 0)",
12
+ rowGap: "var(--vef-grid-row-gap, 0)"
13
+ }, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJb0IiLCJmaWxlIjoic3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSBcIkBlbW90aW9uL3JlYWN0XCI7XG5cbmV4cG9ydCBjb25zdCBncmlkQ29sdW1ucyA9IDI0O1xuXG5leHBvcnQgY29uc3QgZ3JpZCA9IGNzcyh7XG4gIGRpc3BsYXk6IFwiZ3JpZFwiLFxuICB3aWR0aDogXCIxMDAlXCIsXG4gIGdyaWRUZW1wbGF0ZUNvbHVtbnM6IGByZXBlYXQoJHtncmlkQ29sdW1uc30sIG1pbm1heCgwLCAxZnIpKWAsXG4gIGNvbHVtbkdhcDogXCJ2YXIoLS12ZWYtZ3JpZC1jb2x1bW4tZ2FwLCAwKVwiLFxuICByb3dHYXA6IFwidmFyKC0tdmVmLWdyaWQtcm93LWdhcCwgMClcIlxufSk7XG5cbmV4cG9ydCBjb25zdCBncmlkSXRlbSA9IGNzcyh7XG4gIGdyaWRDb2x1bW46IFwidmFyKC0tdmVmLWdyaWQtaXRlbS1jb2x1bW4sIHNwYW4gMSlcIixcbiAgbWFyZ2luTGVmdDogXCJ2YXIoLS12ZWYtZ3JpZC1pdGVtLW1hcmdpbi1sZWZ0LCAwKVwiLFxuICBcIiYuaGlkZGVuXCI6IHtcbiAgICBkaXNwbGF5OiBcIm5vbmVcIlxuICB9XG59KTtcbiJdfQ== */"), r = process.env.NODE_ENV === "production" ? {
14
+ name: "6308ym",
15
+ styles: "grid-column:var(--vef-grid-item-column, span 1);margin-left:var(--vef-grid-item-margin-left, 0);&.hidden{display:none;}"
16
+ } : {
17
+ name: "6308ym",
18
+ styles: "grid-column:var(--vef-grid-item-column, span 1);margin-left:var(--vef-grid-item-margin-left, 0);&.hidden{display:none;}/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFZd0IiLCJmaWxlIjoic3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSBcIkBlbW90aW9uL3JlYWN0XCI7XG5cbmV4cG9ydCBjb25zdCBncmlkQ29sdW1ucyA9IDI0O1xuXG5leHBvcnQgY29uc3QgZ3JpZCA9IGNzcyh7XG4gIGRpc3BsYXk6IFwiZ3JpZFwiLFxuICB3aWR0aDogXCIxMDAlXCIsXG4gIGdyaWRUZW1wbGF0ZUNvbHVtbnM6IGByZXBlYXQoJHtncmlkQ29sdW1uc30sIG1pbm1heCgwLCAxZnIpKWAsXG4gIGNvbHVtbkdhcDogXCJ2YXIoLS12ZWYtZ3JpZC1jb2x1bW4tZ2FwLCAwKVwiLFxuICByb3dHYXA6IFwidmFyKC0tdmVmLWdyaWQtcm93LWdhcCwgMClcIlxufSk7XG5cbmV4cG9ydCBjb25zdCBncmlkSXRlbSA9IGNzcyh7XG4gIGdyaWRDb2x1bW46IFwidmFyKC0tdmVmLWdyaWQtaXRlbS1jb2x1bW4sIHNwYW4gMSlcIixcbiAgbWFyZ2luTGVmdDogXCJ2YXIoLS12ZWYtZ3JpZC1pdGVtLW1hcmdpbi1sZWZ0LCAwKVwiLFxuICBcIiYuaGlkZGVuXCI6IHtcbiAgICBkaXNwbGF5OiBcIm5vbmVcIlxuICB9XG59KTtcbiJdfQ== */",
19
+ toString: t
20
+ };
21
+ //#endregion
22
+ export { n as grid, r as gridItem };
@@ -0,0 +1,16 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { Flex as e } from "../flex/index.js";
3
+ import { jsx as t } from "@emotion/react/jsx-runtime";
4
+ //#region src/group/index.tsx
5
+ function n({ ref: n, children: r, gap: i = "small", align: a = "center", ...o }) {
6
+ return /* @__PURE__ */ t(e, {
7
+ ref: n,
8
+ align: a,
9
+ gap: i,
10
+ orientation: "horizontal",
11
+ ...o,
12
+ children: r
13
+ });
14
+ }
15
+ //#endregion
16
+ export { n as Group };
@@ -0,0 +1,33 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { jsx as e } from "@emotion/react/jsx-runtime";
3
+ import "@emotion/react";
4
+ import { Icon as t } from "lucide-react";
5
+ //#region src/icon/index.tsx
6
+ function n() {
7
+ return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
8
+ }
9
+ var r = process.env.NODE_ENV === "production" ? {
10
+ name: "8sxzyi",
11
+ styles: "display:inline-flex;justify-content:center;align-items:center;color:inherit;font-style:normal;line-height:0;text-transform:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:-0.25em"
12
+ } : {
13
+ name: "8sxzyi",
14
+ styles: "display:inline-flex;justify-content:center;align-items:center;color:inherit;font-style:normal;line-height:0;text-transform:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;vertical-align:-0.25em/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFLa0IiLCJmaWxlIjoiaW5kZXgudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBJY29uUHJvcHMgfSBmcm9tIFwiLi9wcm9wc1wiO1xuXG5pbXBvcnQgeyBjc3MgfSBmcm9tIFwiQGVtb3Rpb24vcmVhY3RcIjtcbmltcG9ydCB7IEljb24gYXMgTHVjaWRlSWNvbiB9IGZyb20gXCJsdWNpZGUtcmVhY3RcIjtcblxuY29uc3QgaWNvblN0eWxlID0gY3NzKHtcbiAgZGlzcGxheTogXCJpbmxpbmUtZmxleFwiLFxuICBqdXN0aWZ5Q29udGVudDogXCJjZW50ZXJcIixcbiAgYWxpZ25JdGVtczogXCJjZW50ZXJcIixcbiAgY29sb3I6IFwiaW5oZXJpdFwiLFxuICBmb250U3R5bGU6IFwibm9ybWFsXCIsXG4gIGxpbmVIZWlnaHQ6IDAsXG4gIHRleHRUcmFuc2Zvcm06IFwibm9uZVwiLFxuICB0ZXh0UmVuZGVyaW5nOiBcIm9wdGltaXplTGVnaWJpbGl0eVwiLFxuICBXZWJraXRGb250U21vb3RoaW5nOiBcImFudGlhbGlhc2VkXCIsXG4gIE1vek9zeEZvbnRTbW9vdGhpbmc6IFwiZ3JheXNjYWxlXCIsXG4gIHZlcnRpY2FsQWxpZ246IFwiLTAuMjVlbVwiXG59KTtcblxuZXhwb3J0IGZ1bmN0aW9uIEljb24oe1xuICBjb21wb25lbnQ6IENvbXBvbmVudCxcbiAgaWNvbk5vZGUsXG4gIGNsYXNzTmFtZSxcbiAgc3R5bGUsXG4gIC4uLnByb3BzXG59OiBJY29uUHJvcHMpIHtcbiAgcmV0dXJuIChcbiAgICA8c3BhblxuICAgICAgY2xhc3NOYW1lPXtjbGFzc05hbWV9XG4gICAgICBjc3M9e2ljb25TdHlsZX1cbiAgICAgIHN0eWxlPXtzdHlsZX1cbiAgICA+XG4gICAgICB7XG4gICAgICAgIGljb25Ob2RlXG4gICAgICAgICAgPyA8THVjaWRlSWNvbiBpY29uTm9kZT17aWNvbk5vZGV9IHNpemU9XCIxLjJlbVwiIHsuLi5wcm9wc30gLz5cbiAgICAgICAgICA6IDxDb21wb25lbnQgc2l6ZT1cIjEuMmVtXCIgey4uLnByb3BzfSAvPlxuICAgICAgfVxuICAgIDwvc3Bhbj5cbiAgKTtcbn1cblxuZXhwb3J0IHsgdHlwZSBJY29uUHJvcHMgfSBmcm9tIFwiLi9wcm9wc1wiO1xuIl19 */",
15
+ toString: n
16
+ };
17
+ function i({ component: n, iconNode: i, className: a, style: o, ...s }) {
18
+ return /* @__PURE__ */ e("span", {
19
+ className: a,
20
+ css: r,
21
+ style: o,
22
+ children: i ? /* @__PURE__ */ e(t, {
23
+ iconNode: i,
24
+ size: "1.2em",
25
+ ...s
26
+ }) : /* @__PURE__ */ e(n, {
27
+ size: "1.2em",
28
+ ...s
29
+ })
30
+ });
31
+ }
32
+ //#endregion
33
+ export { i as Icon };
@@ -0,0 +1,31 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { globalCssVars as e } from "../_base/constants/css-vars.js";
3
+ import { Button as t } from "../button/index.js";
4
+ import { Tooltip as n } from "../tooltip/index.js";
5
+ import { jsx as r } from "@emotion/react/jsx-runtime";
6
+ import { isNullish as i } from "@vef-framework-react/shared";
7
+ import { cloneElement as a } from "react";
8
+ import { css as o } from "@emotion/react";
9
+ //#region src/icon-button/index.tsx
10
+ var s = /* @__PURE__ */ o({
11
+ padding: 0,
12
+ width: e.controlHeight,
13
+ "&.vef-btn-sm": { width: e.controlHeightSm },
14
+ "&.vef-btn-lg": { width: e.controlHeightLg }
15
+ }, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFVb0IiLCJmaWxlIjoiaW5kZXgudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBJY29uQnV0dG9uUHJvcHMgfSBmcm9tIFwiLi9wcm9wc1wiO1xuXG5pbXBvcnQgeyBjc3MgfSBmcm9tIFwiQGVtb3Rpb24vcmVhY3RcIjtcbmltcG9ydCB7IGlzTnVsbGlzaCB9IGZyb20gXCJAdmVmLWZyYW1ld29yay1yZWFjdC9zaGFyZWRcIjtcbmltcG9ydCB7IGNsb25lRWxlbWVudCB9IGZyb20gXCJyZWFjdFwiO1xuXG5pbXBvcnQgeyBnbG9iYWxDc3NWYXJzIH0gZnJvbSBcIi4uL19iYXNlXCI7XG5pbXBvcnQgeyBCdXR0b24gfSBmcm9tIFwiLi4vYnV0dG9uXCI7XG5pbXBvcnQgeyBUb29sdGlwIH0gZnJvbSBcIi4uL3Rvb2x0aXBcIjtcblxuY29uc3QgYnV0dG9uU3R5bGUgPSBjc3Moe1xuICBwYWRkaW5nOiAwLFxuICB3aWR0aDogZ2xvYmFsQ3NzVmFycy5jb250cm9sSGVpZ2h0LFxuICBcIiYudmVmLWJ0bi1zbVwiOiB7XG4gICAgd2lkdGg6IGdsb2JhbENzc1ZhcnMuY29udHJvbEhlaWdodFNtXG4gIH0sXG4gIFwiJi52ZWYtYnRuLWxnXCI6IHtcbiAgICB3aWR0aDogZ2xvYmFsQ3NzVmFycy5jb250cm9sSGVpZ2h0TGdcbiAgfVxufSk7XG5cbmV4cG9ydCBmdW5jdGlvbiBJY29uQnV0dG9uKHtcbiAgaWNvbixcbiAgdGlwLFxuICB0aXBEZWxheSxcbiAgcGxhY2VtZW50LFxuICAuLi5wcm9wc1xufTogSWNvbkJ1dHRvblByb3BzKSB7XG4gIGNvbnN0IGJ1dHRvbk5vZGUgPSAoXG4gICAgPEJ1dHRvblxuICAgICAgY3NzPXtidXR0b25TdHlsZX1cbiAgICAgIHR5cGU9XCJ0ZXh0XCJcbiAgICAgIHsuLi5wcm9wc31cbiAgICA+XG4gICAgICB7XG4gICAgICAgIGNsb25lRWxlbWVudChpY29uLCB7XG4gICAgICAgICAgc2l6ZTogXCIxLjJlbVwiXG4gICAgICAgIH0pXG4gICAgICB9XG4gICAgPC9CdXR0b24+XG4gICk7XG5cbiAgcmV0dXJuIGlzTnVsbGlzaCh0aXApXG4gICAgPyBidXR0b25Ob2RlXG4gICAgOiAoXG4gICAgICAgIDxUb29sdGlwXG4gICAgICAgICAgbW91c2VFbnRlckRlbGF5PXt0aXBEZWxheX1cbiAgICAgICAgICBwbGFjZW1lbnQ9e3BsYWNlbWVudH1cbiAgICAgICAgICB0aXRsZT17dGlwfVxuICAgICAgICA+XG4gICAgICAgICAge2J1dHRvbk5vZGV9XG4gICAgICAgIDwvVG9vbHRpcD5cbiAgICAgICk7XG59XG5cbmV4cG9ydCB7IHR5cGUgSWNvbkJ1dHRvblByb3BzIH0gZnJvbSBcIi4vcHJvcHNcIjtcbiJdfQ== */");
16
+ function c({ icon: e, tip: o, tipDelay: c, placement: l, ...u }) {
17
+ let d = /* @__PURE__ */ r(t, {
18
+ css: s,
19
+ type: "text",
20
+ ...u,
21
+ children: a(e, { size: "1.2em" })
22
+ });
23
+ return i(o) ? d : /* @__PURE__ */ r(n, {
24
+ mouseEnterDelay: c,
25
+ placement: l,
26
+ title: o,
27
+ children: d
28
+ });
29
+ }
30
+ //#endregion
31
+ export { c as IconButton };
@@ -0,0 +1,3 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { Image as e } from "antd";
3
+ export { e as Image };
@@ -0,0 +1,109 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { breakpoints as e } from "./_base/constants/breakpoints.js";
3
+ import { colors as t, fullSizes as n, presetColors as r, semanticColors as i, semanticSceneIcons as a, semanticSceneLabels as o, semanticScenes as s, sizes as c } from "./_base/constants/common.js";
4
+ import { globalCssVars as l } from "./_base/constants/css-vars.js";
5
+ import { resolveBreakpointValue as u } from "./_base/helpers/breakpoints.js";
6
+ import { isPresetColor as d, isSemanticColor as f } from "./_base/helpers/color.js";
7
+ import { getSpacingValue as p, mapSize as m } from "./_base/helpers/common.js";
8
+ import { closeAllMessages as h, showErrorMessage as g, showInfoMessage as _, showLoadingMessage as v, showSuccessMessage as y, showWarningMessage as b } from "./_base/helpers/message.js";
9
+ import { showConfirm as x, showErrorAlert as S, showInfoAlert as C, showSuccessAlert as w, showWarningAlert as T } from "./_base/helpers/modal.js";
10
+ import { closeAllNotifications as E, showErrorNotification as D, showInfoNotification as O, showSuccessNotification as k, showWarningNotification as A } from "./_base/helpers/notification.js";
11
+ import { isFragment as j } from "./_base/helpers/react.js";
12
+ import { useThemeTokens as M } from "./_base/hooks/use-theme-tokens.js";
13
+ import { Button as N } from "./button/index.js";
14
+ import { Icon as P } from "./icon/index.js";
15
+ import { Popconfirm as F } from "./popconfirm/index.js";
16
+ import { ActionButton as I } from "./action-button/index.js";
17
+ import { Flex as L } from "./flex/index.js";
18
+ import { Group as R } from "./group/index.js";
19
+ import { ActionGroup as z } from "./action-group/index.js";
20
+ import { Affix as B } from "./affix/index.js";
21
+ import { Alert as V } from "./alert/index.js";
22
+ import { Anchor as H } from "./anchor/index.js";
23
+ import { AutoComplete as U } from "./auto-complete/index.js";
24
+ import { Avatar as W } from "./avatar/index.js";
25
+ import { Badge as G } from "./badge/index.js";
26
+ import { Checkbox as K } from "./checkbox/index.js";
27
+ import { Radio as q } from "./radio/index.js";
28
+ import { Switch as J } from "./switch/index.js";
29
+ import { Bool as Y } from "./bool/index.js";
30
+ import { Breadcrumb as X } from "./breadcrumb/index.js";
31
+ import { Calendar as Z } from "./calendar/index.js";
32
+ import { Card as Q } from "./card/index.js";
33
+ import { Carousel as $ } from "./carousel/index.js";
34
+ import { Cascader as ee } from "./cascader/index.js";
35
+ import { Center as te } from "./center/index.js";
36
+ import { useIsDarkMode as ne } from "./config-provider/dark-mode-context.js";
37
+ import { ConfigProvider as re } from "./config-provider/index.js";
38
+ import { useChart as ie } from "./charts/hooks/use-chart.js";
39
+ import { Chart as ae } from "./charts/chart.js";
40
+ import { connectCharts as oe, disconnectCharts as se } from "./charts/helpers/group.js";
41
+ import { CodeHighlighter as ce } from "./code-highlighter/index.js";
42
+ import { Col as le } from "./col/index.js";
43
+ import { Collapse as ue } from "./collapse/index.js";
44
+ import { ColorPicker as de } from "./color-picker/index.js";
45
+ import { Compact as fe } from "./compact/index.js";
46
+ import { DatePicker as pe } from "./date-picker/index.js";
47
+ import { Descriptions as me } from "./descriptions/index.js";
48
+ import { Divider as he } from "./divider/index.js";
49
+ import { Drawer as ge } from "./drawer/index.js";
50
+ import { Dropdown as _e } from "./dropdown/index.js";
51
+ import { DynamicIcon as ve } from "./dynamic-icon/index.js";
52
+ import ye from "./empty/empty.js";
53
+ import { FlipText as be } from "./flip-text/index.js";
54
+ import { FloatButton as xe } from "./float-button/index.js";
55
+ import { Input as Se } from "./input/index.js";
56
+ import { InputNumber as Ce } from "./input-number/index.js";
57
+ import { Mentions as we } from "./mentions/index.js";
58
+ import { Rate as Te } from "./rate/index.js";
59
+ import { Spin as Ee } from "./spin/index.js";
60
+ import { Loader as De } from "./loader/index.js";
61
+ import { useDataOptionsSelect as Oe } from "./select/hooks/use-data-options-select.js";
62
+ import { Select as ke } from "./select/index.js";
63
+ import { Slider as Ae } from "./slider/index.js";
64
+ import { TimePicker as je } from "./time-picker/index.js";
65
+ import { Transfer as Me } from "./transfer/index.js";
66
+ import { useDataOptionsTreeSelect as Ne } from "./tree-select/hooks/use-data-options-tree-select.js";
67
+ import { TreeSelect as Pe } from "./tree-select/index.js";
68
+ import { Image as Fe } from "./image/index.js";
69
+ import { Upload as Ie } from "./upload/index.js";
70
+ import { createFormOptions as Le, useFormContext as Re, useFormStore as ze, withFieldGroup as Be, withForm as Ve } from "./form/form.js";
71
+ import { useForm as He } from "./form/use-form.js";
72
+ import { useGridCollapsed as Ue } from "./grid/hooks/use-grid-collapsed.js";
73
+ import { Grid as We } from "./grid/index.js";
74
+ import { Tooltip as Ge } from "./tooltip/index.js";
75
+ import { IconButton as Ke } from "./icon-button/index.js";
76
+ import { Keyboard as qe } from "./keyboard/index.js";
77
+ import { List as Je } from "./list/index.js";
78
+ import { Menu as Ye } from "./menu/index.js";
79
+ import { Modal as Xe } from "./modal/index.js";
80
+ import { PermissionGate as Ze } from "./permission-gate/index.js";
81
+ import { OperationButton as Qe } from "./operation-button/index.js";
82
+ import { Pagination as $e } from "./pagination/index.js";
83
+ import { Popover as et } from "./popover/index.js";
84
+ import { Progress as tt } from "./progress/index.js";
85
+ import { QRCode as nt } from "./qrcode/index.js";
86
+ import { Result as rt } from "./result/index.js";
87
+ import { Row as it } from "./row/index.js";
88
+ import { ScrollArea as at } from "./scroll-area/index.js";
89
+ import { Segmented as ot } from "./segmented/index.js";
90
+ import { Skeleton as st } from "./skeleton/index.js";
91
+ import ct from "./space/space.js";
92
+ import { SparklesText as lt } from "./sparkles-text/index.js";
93
+ import { SplitText as ut } from "./split-text/index.js";
94
+ import { Splitter as dt } from "./splitter/index.js";
95
+ import { Stack as ft } from "./stack/index.js";
96
+ import { Statistic as pt } from "./statistic/index.js";
97
+ import { Steps as mt } from "./steps/index.js";
98
+ import { pageSizeOptions as ht, usePaginationProps as gt } from "./table/use-pagination-props.js";
99
+ import { Table as _t } from "./table/index.js";
100
+ import { Tabs as vt } from "./tabs/index.js";
101
+ import { Tag as yt } from "./tag/index.js";
102
+ import { Timeline as bt } from "./timeline/index.js";
103
+ import { Tour as xt } from "./tour/index.js";
104
+ import { useDataOptionsTree as St } from "./tree/hooks/use-data-options-tree.js";
105
+ import { Tree as Ct } from "./tree/index.js";
106
+ import { TypingAnimation as wt } from "./typing-animation/index.js";
107
+ import { Link as Tt, Paragraph as Et, Text as Dt, Title as Ot } from "./typography/index.js";
108
+ import { Watermark as kt } from "./watermark/index.js";
109
+ export { I as ActionButton, z as ActionGroup, B as Affix, V as Alert, H as Anchor, U as AutoComplete, W as Avatar, G as Badge, Y as Bool, X as Breadcrumb, N as Button, Z as Calendar, Q as Card, $ as Carousel, ee as Cascader, te as Center, ae as Chart, K as Checkbox, ce as CodeHighlighter, le as Col, ue as Collapse, de as ColorPicker, fe as Compact, re as ConfigProvider, pe as DatePicker, me as Descriptions, he as Divider, ge as Drawer, _e as Dropdown, ve as DynamicIcon, ye as Empty, L as Flex, be as FlipText, xe as FloatButton, We as Grid, R as Group, P as Icon, Ke as IconButton, Fe as Image, Se as Input, Ce as InputNumber, qe as Keyboard, Tt as Link, Je as List, De as Loader, we as Mentions, Ye as Menu, Xe as Modal, Qe as OperationButton, $e as Pagination, Et as Paragraph, Ze as PermissionGate, F as Popconfirm, et as Popover, tt as Progress, nt as QRCode, q as Radio, Te as Rate, rt as Result, it as Row, at as ScrollArea, ot as Segmented, ke as Select, st as Skeleton, Ae as Slider, ct as Space, lt as SparklesText, Ee as Spin, ut as SplitText, dt as Splitter, ft as Stack, pt as Statistic, mt as Steps, J as Switch, _t as Table, vt as Tabs, yt as Tag, Dt as Text, je as TimePicker, bt as Timeline, Ot as Title, Ge as Tooltip, xt as Tour, Me as Transfer, Ct as Tree, Pe as TreeSelect, wt as TypingAnimation, Ie as Upload, kt as Watermark, e as breakpoints, h as closeAllMessages, E as closeAllNotifications, t as colors, oe as connectCharts, Le as createFormOptions, se as disconnectCharts, n as fullSizes, p as getSpacingValue, l as globalCssVars, j as isFragment, d as isPresetColor, f as isSemanticColor, m as mapSize, ht as pageSizeOptions, r as presetColors, u as resolveBreakpointValue, i as semanticColors, a as semanticSceneIcons, o as semanticSceneLabels, s as semanticScenes, x as showConfirm, S as showErrorAlert, g as showErrorMessage, D as showErrorNotification, C as showInfoAlert, _ as showInfoMessage, O as showInfoNotification, v as showLoadingMessage, w as showSuccessAlert, y as showSuccessMessage, k as showSuccessNotification, T as showWarningAlert, b as showWarningMessage, A as showWarningNotification, c as sizes, ie as useChart, Oe as useDataOptionsSelect, St as useDataOptionsTree, Ne as useDataOptionsTreeSelect, He as useForm, Re as useFormContext, ze as useFormStore, Ue as useGridCollapsed, ne as useIsDarkMode, gt as usePaginationProps, M as useThemeTokens, Be as withFieldGroup, Ve as withForm };
@@ -0,0 +1,3 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { Input as e } from "antd";
3
+ export { e as Input };
@@ -0,0 +1,3 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { InputNumber as e } from "antd";
3
+ export { e as InputNumber };
@@ -0,0 +1,39 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { globalCssVars as e } from "../_base/constants/css-vars.js";
3
+ import { jsx as t } from "@emotion/react/jsx-runtime";
4
+ import { useMemo as n } from "react";
5
+ import { css as r } from "@emotion/react";
6
+ //#region src/keyboard/index.tsx
7
+ var i = /* @__PURE__ */ r({
8
+ "--vef-keyboard-size": e.fontSize,
9
+ "--vef-keyboard-height": "1.6em",
10
+ fontFamily: e.fontFamilyCode,
11
+ fontWeight: "bold",
12
+ fontSize: "var(--vef-keyboard-size)",
13
+ lineHeight: 1,
14
+ color: e.colorTextLabel,
15
+ borderRadius: e.borderRadiusSm,
16
+ border: `${e.lineWidth} ${e.lineType}`,
17
+ borderBlockEndWidth: "3px",
18
+ borderColor: e.colorBorder,
19
+ backgroundColor: e.colorFillQuaternary,
20
+ unicodeBidi: "embed",
21
+ textAlign: "center",
22
+ paddingInline: "0.45em",
23
+ height: "var(--vef-keyboard-height)",
24
+ display: "inline-flex",
25
+ alignItems: "center",
26
+ justifyContent: "center"
27
+ }, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFPc0IiLCJmaWxlIjoiaW5kZXgudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHR5cGUgeyBLZXlib2FyZFByb3BzIH0gZnJvbSBcIi4vcHJvcHNcIjtcblxuaW1wb3J0IHsgY3NzIH0gZnJvbSBcIkBlbW90aW9uL3JlYWN0XCI7XG5pbXBvcnQgeyB1c2VNZW1vIH0gZnJvbSBcInJlYWN0XCI7XG5cbmltcG9ydCB7IGdsb2JhbENzc1ZhcnMgfSBmcm9tIFwiLi4vX2Jhc2VcIjtcblxuY29uc3Qga2V5Ym9hcmRTdHlsZSA9IGNzcyh7XG4gIFwiLS12ZWYta2V5Ym9hcmQtc2l6ZVwiOiBnbG9iYWxDc3NWYXJzLmZvbnRTaXplLFxuICBcIi0tdmVmLWtleWJvYXJkLWhlaWdodFwiOiBcIjEuNmVtXCIsXG4gIGZvbnRGYW1pbHk6IGdsb2JhbENzc1ZhcnMuZm9udEZhbWlseUNvZGUsXG4gIGZvbnRXZWlnaHQ6IFwiYm9sZFwiLFxuICBmb250U2l6ZTogXCJ2YXIoLS12ZWYta2V5Ym9hcmQtc2l6ZSlcIixcbiAgbGluZUhlaWdodDogMSxcbiAgY29sb3I6IGdsb2JhbENzc1ZhcnMuY29sb3JUZXh0TGFiZWwsXG4gIGJvcmRlclJhZGl1czogZ2xvYmFsQ3NzVmFycy5ib3JkZXJSYWRpdXNTbSxcbiAgYm9yZGVyOiBgJHtnbG9iYWxDc3NWYXJzLmxpbmVXaWR0aH0gJHtnbG9iYWxDc3NWYXJzLmxpbmVUeXBlfWAsXG4gIGJvcmRlckJsb2NrRW5kV2lkdGg6IFwiM3B4XCIsXG4gIGJvcmRlckNvbG9yOiBnbG9iYWxDc3NWYXJzLmNvbG9yQm9yZGVyLFxuICBiYWNrZ3JvdW5kQ29sb3I6IGdsb2JhbENzc1ZhcnMuY29sb3JGaWxsUXVhdGVybmFyeSxcbiAgdW5pY29kZUJpZGk6IFwiZW1iZWRcIixcbiAgdGV4dEFsaWduOiBcImNlbnRlclwiLFxuICBwYWRkaW5nSW5saW5lOiBcIjAuNDVlbVwiLFxuICBoZWlnaHQ6IFwidmFyKC0tdmVmLWtleWJvYXJkLWhlaWdodClcIixcbiAgZGlzcGxheTogXCJpbmxpbmUtZmxleFwiLFxuICBhbGlnbkl0ZW1zOiBcImNlbnRlclwiLFxuICBqdXN0aWZ5Q29udGVudDogXCJjZW50ZXJcIlxufSk7XG5cbmV4cG9ydCBmdW5jdGlvbiBLZXlib2FyZCh7XG4gIHNpemUgPSBcIm1lZGl1bVwiLFxuICBzdHlsZSxcbiAgLi4ucHJvcHNcbn06IEtleWJvYXJkUHJvcHMpIHtcbiAgY29uc3QgbWVyZ2VkU3R5bGUgPSB1c2VNZW1vKCgpID0+IHtcbiAgICByZXR1cm4ge1xuICAgICAgLi4uc3R5bGUsXG4gICAgICBcIi0tdmVmLWtleWJvYXJkLXNpemVcIjogc2l6ZSA9PT0gXCJzbWFsbFwiID8gZ2xvYmFsQ3NzVmFycy5mb250U2l6ZVNtIDogc2l6ZSA9PT0gXCJsYXJnZVwiID8gZ2xvYmFsQ3NzVmFycy5mb250U2l6ZUxnIDogZ2xvYmFsQ3NzVmFycy5mb250U2l6ZVxuICAgIH07XG4gIH0sIFtzaXplLCBzdHlsZV0pO1xuXG4gIHJldHVybiAoXG4gICAgPGtiZFxuICAgICAgY3NzPXtrZXlib2FyZFN0eWxlfVxuICAgICAgc3R5bGU9e21lcmdlZFN0eWxlfVxuICAgICAgey4uLnByb3BzfVxuICAgIC8+XG4gICk7XG59XG5cbmV4cG9ydCB7IHR5cGUgS2V5Ym9hcmRQcm9wcyB9IGZyb20gXCIuL3Byb3BzXCI7XG4iXX0= */");
28
+ function a({ size: r = "medium", style: a, ...o }) {
29
+ return /* @__PURE__ */ t("kbd", {
30
+ css: i,
31
+ style: n(() => ({
32
+ ...a,
33
+ "--vef-keyboard-size": r === "small" ? e.fontSizeSm : r === "large" ? e.fontSizeLg : e.fontSize
34
+ }), [r, a]),
35
+ ...o
36
+ });
37
+ }
38
+ //#endregion
39
+ export { a as Keyboard };