@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,25 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { Button as e } from "../../button/index.js";
3
+ import { useFormContext as t } from "../contexts/form-context.js";
4
+ import { jsx as n } from "@emotion/react/jsx-runtime";
5
+ import { useDisabled as r } from "@vef-framework-react/core";
6
+ //#region src/form/components/reset-button.tsx
7
+ function i({ children: i = "重置", disabled: a, loading: o, onReset: s, ...c }) {
8
+ let { Subscribe: l } = t(), u = r();
9
+ return /* @__PURE__ */ n(l, {
10
+ selector: (e) => e.isSubmitting,
11
+ children: (t) => {
12
+ let r = u || a || t;
13
+ return /* @__PURE__ */ n(e, {
14
+ ...c,
15
+ disabled: o ? !1 : r,
16
+ htmlType: "reset",
17
+ loading: o,
18
+ onClick: s,
19
+ children: i
20
+ });
21
+ }
22
+ });
23
+ }
24
+ //#endregion
25
+ export { i as ResetButton };
@@ -0,0 +1,26 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { Button as e } from "../../button/index.js";
3
+ import { useFormContext as t } from "../contexts/form-context.js";
4
+ import { jsx as n } from "@emotion/react/jsx-runtime";
5
+ import { useDisabled as r } from "@vef-framework-react/core";
6
+ //#region src/form/components/submit-button.tsx
7
+ function i({ children: i = "提交", disabled: a, loading: o, onSubmit: s, ...c }) {
8
+ let { Subscribe: l } = t(), u = r();
9
+ return /* @__PURE__ */ n(l, {
10
+ selector: (e) => [!e.canSubmit, e.isSubmitting],
11
+ children: ([t, r]) => {
12
+ let l = r || o, d = u || t || a;
13
+ return /* @__PURE__ */ n(e, {
14
+ ...c,
15
+ disabled: l ? !1 : d,
16
+ htmlType: "submit",
17
+ loading: l,
18
+ type: "primary",
19
+ onClick: s,
20
+ children: i
21
+ });
22
+ }
23
+ });
24
+ }
25
+ //#endregion
26
+ export { i as SubmitButton };
@@ -0,0 +1,6 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { createFormHookContexts as e } from "@tanstack/react-form";
3
+ //#region src/form/contexts/form-context.ts
4
+ var { formContext: t, fieldContext: n, useFormContext: r, useFieldContext: i } = e();
5
+ //#endregion
6
+ export { n as fieldContext, t as formContext, i as useFieldContext, r as useFormContext };
@@ -0,0 +1,14 @@
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/form/contexts/form-layout.ts
4
+ var n = Object.freeze({
5
+ layout: "horizontal",
6
+ labelAlign: "right",
7
+ labelWidth: 100
8
+ }), r = e(n);
9
+ function i() {
10
+ return t(r);
11
+ }
12
+ var a = r.Provider;
13
+ //#endregion
14
+ export { a as FormLayoutProvider, n as defaultFormLayout, i as useFormLayout };
@@ -0,0 +1,3 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import "./form-context.js";
3
+ import "./form-layout.js";
@@ -0,0 +1,25 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { fullWidth as e } from "../../../_base/styles/common.js";
3
+ import { AutoComplete as t } from "../../../auto-complete/index.js";
4
+ import { useFieldContext as n } from "../../contexts/form-context.js";
5
+ import { withFormItem as r } from "../../helpers/with-form-item.js";
6
+ import { jsx as i } from "@emotion/react/jsx-runtime";
7
+ import { isEmpty as a } from "@vef-framework-react/shared";
8
+ import { useDisabled as o } from "@vef-framework-react/core";
9
+ //#region src/form/fields/auto-complete/index.tsx
10
+ function s({ disabled: r, preserveEmptyString: s = !1, ...c }) {
11
+ let { state: { value: l }, handleBlur: u, handleChange: d } = n(), f = o() || r;
12
+ return /* @__PURE__ */ i(t, {
13
+ ...c,
14
+ css: e,
15
+ disabled: f,
16
+ value: l,
17
+ onBlur: u,
18
+ onChange: (e) => {
19
+ d(s || !a(e) ? e : null);
20
+ }
21
+ });
22
+ }
23
+ var c = r("AutoCompleteField", s);
24
+ //#endregion
25
+ export { c as AutoCompleteField };
@@ -0,0 +1,19 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { Bool as e } from "../../../bool/index.js";
3
+ import { useFieldContext as t } from "../../contexts/form-context.js";
4
+ import { withFormItem as n } from "../../helpers/with-form-item.js";
5
+ import { jsx as r } from "@emotion/react/jsx-runtime";
6
+ import { useDisabled as i } from "@vef-framework-react/core";
7
+ //#region src/form/fields/bool/index.tsx
8
+ function a({ disabled: n, ...a }) {
9
+ let { state: { value: o }, handleChange: s } = t(), c = i() || n;
10
+ return /* @__PURE__ */ r(e, {
11
+ ...a,
12
+ disabled: c,
13
+ value: o,
14
+ onChange: s
15
+ });
16
+ }
17
+ var o = n("BoolField", a);
18
+ //#endregion
19
+ export { o as BoolField };
@@ -0,0 +1,21 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { fullWidth as e } from "../../../_base/styles/common.js";
3
+ import { Cascader as t } from "../../../cascader/index.js";
4
+ import { useFieldContext as n } from "../../contexts/form-context.js";
5
+ import { withFormItem as r } from "../../helpers/with-form-item.js";
6
+ import { jsx as i } from "@emotion/react/jsx-runtime";
7
+ import { useDisabled as a } from "@vef-framework-react/core";
8
+ //#region src/form/fields/cascader/index.tsx
9
+ function o({ disabled: r, ...o }) {
10
+ let { state: { value: s }, handleChange: c } = n(), l = a() || r;
11
+ return /* @__PURE__ */ i(t, {
12
+ ...o,
13
+ css: e,
14
+ disabled: l,
15
+ value: s,
16
+ onChange: c
17
+ });
18
+ }
19
+ var s = r("CascaderField", o);
20
+ //#endregion
21
+ export { s as CascaderField };
@@ -0,0 +1,31 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { Checkbox as e } from "../../../checkbox/index.js";
3
+ import { useFieldContext as t } from "../../contexts/form-context.js";
4
+ import { withFormItem as n } from "../../helpers/with-form-item.js";
5
+ import { jsx as r } from "@emotion/react/jsx-runtime";
6
+ import { useDisabled as i } from "@vef-framework-react/core";
7
+ //#region src/form/fields/checkbox/index.tsx
8
+ function a({ disabled: n, ...a }) {
9
+ let { state: { value: o }, handleBlur: s, handleChange: c } = t(), l = i() || n;
10
+ return /* @__PURE__ */ r(e, {
11
+ ...a,
12
+ checked: o,
13
+ disabled: l,
14
+ onBlur: s,
15
+ onChange: (e) => {
16
+ c(e.target.checked);
17
+ }
18
+ });
19
+ }
20
+ function o({ disabled: n, ...a }) {
21
+ let { state: { value: o }, handleChange: s } = t(), c = i() || n;
22
+ return /* @__PURE__ */ r(e.Group, {
23
+ ...a,
24
+ disabled: c,
25
+ value: o,
26
+ onChange: s
27
+ });
28
+ }
29
+ var s = n("CheckboxField", a), c = n("CheckboxGroupField", o);
30
+ //#endregion
31
+ export { s as CheckboxField, c as CheckboxGroupField };
@@ -0,0 +1,19 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { ColorPicker as e } from "../../../color-picker/index.js";
3
+ import { useFieldContext as t } from "../../contexts/form-context.js";
4
+ import { withFormItem as n } from "../../helpers/with-form-item.js";
5
+ import { jsx as r } from "@emotion/react/jsx-runtime";
6
+ import { useDisabled as i } from "@vef-framework-react/core";
7
+ //#region src/form/fields/color-picker/index.tsx
8
+ function a({ disabled: n, ...a }) {
9
+ let { state: { value: o }, handleChange: s } = t(), c = i() || n;
10
+ return /* @__PURE__ */ r(e, {
11
+ ...a,
12
+ disabled: c,
13
+ value: o,
14
+ onChange: s
15
+ });
16
+ }
17
+ var o = n("ColorPickerField", a);
18
+ //#endregion
19
+ export { o as ColorPickerField };
@@ -0,0 +1,21 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { fullWidth as e } from "../../../_base/styles/common.js";
3
+ import { DatePicker as t } from "../../../date-picker/index.js";
4
+ import { useFieldContext as n } from "../../contexts/form-context.js";
5
+ import { withFormItem as r } from "../../helpers/with-form-item.js";
6
+ import { jsx as i } from "@emotion/react/jsx-runtime";
7
+ import { useDisabled as a } from "@vef-framework-react/core";
8
+ //#region src/form/fields/date-picker/index.tsx
9
+ function o({ disabled: r, ...o }) {
10
+ let { state: { value: s }, handleChange: c } = n(), l = a() || r;
11
+ return /* @__PURE__ */ i(t, {
12
+ ...o,
13
+ css: e,
14
+ disabled: l,
15
+ value: s,
16
+ onChange: c
17
+ });
18
+ }
19
+ var s = r("DatePickerField", o);
20
+ //#endregion
21
+ export { s as DatePickerField };
@@ -0,0 +1,21 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { fullWidth as e } from "../../../_base/styles/common.js";
3
+ import { DatePicker as t } from "../../../date-picker/index.js";
4
+ import { useFieldContext as n } from "../../contexts/form-context.js";
5
+ import { withFormItem as r } from "../../helpers/with-form-item.js";
6
+ import { jsx as i } from "@emotion/react/jsx-runtime";
7
+ import { useDisabled as a } from "@vef-framework-react/core";
8
+ //#region src/form/fields/date-range-picker/index.tsx
9
+ function o({ disabled: r, ...o }) {
10
+ let { state: { value: s }, handleChange: c } = n(), l = a() || r;
11
+ return /* @__PURE__ */ i(t.RangePicker, {
12
+ ...o,
13
+ css: e,
14
+ disabled: l,
15
+ value: s,
16
+ onChange: c
17
+ });
18
+ }
19
+ var s = r("DateRangePickerField", o);
20
+ //#endregion
21
+ export { s as DateRangePickerField };
@@ -0,0 +1,49 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { AutoCompleteField as e } from "./auto-complete/index.js";
3
+ import { BoolField as t } from "./bool/index.js";
4
+ import { CascaderField as n } from "./cascader/index.js";
5
+ import { CheckboxField as r, CheckboxGroupField as i } from "./checkbox/index.js";
6
+ import { ColorPickerField as a } from "./color-picker/index.js";
7
+ import { DatePickerField as o } from "./date-picker/index.js";
8
+ import { DateRangePickerField as s } from "./date-range-picker/index.js";
9
+ import { InputField as c } from "./input/index.js";
10
+ import { InputNumberField as l } from "./input-number/index.js";
11
+ import { MentionsField as u } from "./mentions/index.js";
12
+ import { PasswordField as d } from "./password/index.js";
13
+ import { RadioField as f } from "./radio/index.js";
14
+ import { RateField as p } from "./rate/index.js";
15
+ import { SelectField as m } from "./select/index.js";
16
+ import { SliderField as h } from "./slider/index.js";
17
+ import { TextAreaField as g } from "./textarea/index.js";
18
+ import { TimePickerField as _ } from "./time-picker/index.js";
19
+ import { TimeRangePickerField as v } from "./time-range-picker/index.js";
20
+ import { TransferField as y } from "./transfer/index.js";
21
+ import { TreeSelectField as b } from "./tree-select/index.js";
22
+ import { UploadField as x } from "./upload/index.js";
23
+ //#region src/form/fields/index.ts
24
+ var S = {
25
+ AutoComplete: e,
26
+ Bool: t,
27
+ Cascader: n,
28
+ Checkbox: r,
29
+ CheckboxGroup: i,
30
+ ColorPicker: a,
31
+ DatePicker: o,
32
+ DateRangePicker: s,
33
+ Input: c,
34
+ InputNumber: l,
35
+ Mentions: u,
36
+ Password: d,
37
+ Radio: f,
38
+ Rate: p,
39
+ Select: m,
40
+ Slider: h,
41
+ TextArea: g,
42
+ TimePicker: _,
43
+ TimeRangePicker: v,
44
+ Transfer: y,
45
+ TreeSelect: b,
46
+ Upload: x
47
+ };
48
+ //#endregion
49
+ export { S as fieldComponents };
@@ -0,0 +1,24 @@
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 { withFormItem as t } from "../../helpers/with-form-item.js";
4
+ import { Input as n } from "../../../input/index.js";
5
+ import { jsx as r } from "@emotion/react/jsx-runtime";
6
+ import { isEmpty as i } from "@vef-framework-react/shared";
7
+ import { useDisabled as a } from "@vef-framework-react/core";
8
+ //#region src/form/fields/input/index.tsx
9
+ function o({ disabled: t, preserveEmptyString: o = !1, ...s }) {
10
+ let { state: { value: c }, handleBlur: l, handleChange: u } = e(), d = a() || t;
11
+ return /* @__PURE__ */ r(n, {
12
+ ...s,
13
+ disabled: d,
14
+ value: c,
15
+ onBlur: l,
16
+ onChange: (e) => {
17
+ let t = e.currentTarget.value;
18
+ u(o || !i(t) ? t : null);
19
+ }
20
+ });
21
+ }
22
+ var s = t("InputField", o);
23
+ //#endregion
24
+ export { s as InputField };
@@ -0,0 +1,22 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { fullWidth as e } from "../../../_base/styles/common.js";
3
+ import { useFieldContext as t } from "../../contexts/form-context.js";
4
+ import { withFormItem as n } from "../../helpers/with-form-item.js";
5
+ import { InputNumber as r } from "../../../input-number/index.js";
6
+ import { jsx as i } from "@emotion/react/jsx-runtime";
7
+ import { useDisabled as a } from "@vef-framework-react/core";
8
+ //#region src/form/fields/input-number/index.tsx
9
+ function o({ disabled: n, ...o }) {
10
+ let { state: { value: s }, handleBlur: c, handleChange: l } = t(), u = a() || n;
11
+ return /* @__PURE__ */ i(r, {
12
+ ...o,
13
+ css: e,
14
+ disabled: u,
15
+ value: s,
16
+ onBlur: c,
17
+ onChange: l
18
+ });
19
+ }
20
+ var s = n("InputNumberField", o);
21
+ //#endregion
22
+ export { s as InputNumberField };
@@ -0,0 +1,22 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { fullWidth as e } from "../../../_base/styles/common.js";
3
+ import { useFieldContext as t } from "../../contexts/form-context.js";
4
+ import { withFormItem as n } from "../../helpers/with-form-item.js";
5
+ import { Mentions as r } from "../../../mentions/index.js";
6
+ import { jsx as i } from "@emotion/react/jsx-runtime";
7
+ import { useDisabled as a } from "@vef-framework-react/core";
8
+ //#region src/form/fields/mentions/index.tsx
9
+ function o({ disabled: n, ...o }) {
10
+ let { state: { value: s }, handleBlur: c, handleChange: l } = t(), u = a() || n;
11
+ return /* @__PURE__ */ i(r, {
12
+ ...o,
13
+ css: e,
14
+ disabled: u,
15
+ value: s,
16
+ onBlur: c,
17
+ onChange: l
18
+ });
19
+ }
20
+ var s = n("MentionsField", o);
21
+ //#endregion
22
+ export { s as MentionsField };
@@ -0,0 +1,24 @@
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 { withFormItem as t } from "../../helpers/with-form-item.js";
4
+ import { Input as n } from "../../../input/index.js";
5
+ import { jsx as r } from "@emotion/react/jsx-runtime";
6
+ import { isEmpty as i } from "@vef-framework-react/shared";
7
+ import { useDisabled as a } from "@vef-framework-react/core";
8
+ //#region src/form/fields/password/index.tsx
9
+ function o({ disabled: t, preserveEmptyString: o = !1, ...s }) {
10
+ let { state: { value: c }, handleBlur: l, handleChange: u } = e(), d = a() || t;
11
+ return /* @__PURE__ */ r(n.Password, {
12
+ ...s,
13
+ disabled: d,
14
+ value: c,
15
+ onBlur: l,
16
+ onChange: (e) => {
17
+ let t = e.currentTarget.value;
18
+ u(o || !i(t) ? t : null);
19
+ }
20
+ });
21
+ }
22
+ var s = t("PasswordField", o);
23
+ //#endregion
24
+ export { s as PasswordField };
@@ -0,0 +1,22 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { Radio as e } from "../../../radio/index.js";
3
+ import { useFieldContext as t } from "../../contexts/form-context.js";
4
+ import { withFormItem as n } from "../../helpers/with-form-item.js";
5
+ import { jsx as r } from "@emotion/react/jsx-runtime";
6
+ import { useDisabled as i } from "@vef-framework-react/core";
7
+ //#region src/form/fields/radio/index.tsx
8
+ function a({ disabled: n, ...a }) {
9
+ let { state: { value: o }, handleBlur: s, handleChange: c } = t(), l = i() || n;
10
+ return /* @__PURE__ */ r(e.Group, {
11
+ ...a,
12
+ disabled: l,
13
+ value: o,
14
+ onBlur: s,
15
+ onChange: (e) => {
16
+ c(e.target.value);
17
+ }
18
+ });
19
+ }
20
+ var o = n("RadioField", a);
21
+ //#endregion
22
+ export { o as RadioField };
@@ -0,0 +1,20 @@
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 { withFormItem as t } from "../../helpers/with-form-item.js";
4
+ import { Rate as n } from "../../../rate/index.js";
5
+ import { jsx as r } from "@emotion/react/jsx-runtime";
6
+ import { useDisabled as i } from "@vef-framework-react/core";
7
+ //#region src/form/fields/rate/index.tsx
8
+ function a({ disabled: t, ...a }) {
9
+ let { state: { value: o }, handleBlur: s, handleChange: c } = e(), l = i() || t;
10
+ return /* @__PURE__ */ r(n, {
11
+ ...a,
12
+ disabled: l,
13
+ value: o,
14
+ onBlur: s,
15
+ onChange: c
16
+ });
17
+ }
18
+ var o = t("RateField", a);
19
+ //#endregion
20
+ export { o as RateField };
@@ -0,0 +1,20 @@
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 { withFormItem as t } from "../../helpers/with-form-item.js";
4
+ import { Select as n } from "../../../select/index.js";
5
+ import { jsx as r } from "@emotion/react/jsx-runtime";
6
+ import { useDisabled as i } from "@vef-framework-react/core";
7
+ //#region src/form/fields/select/index.tsx
8
+ function a({ disabled: t, ...a }) {
9
+ let { state: { value: o }, handleBlur: s, handleChange: c } = e(), l = i() || t;
10
+ return /* @__PURE__ */ r(n, {
11
+ ...a,
12
+ disabled: l,
13
+ value: o,
14
+ onBlur: s,
15
+ onChange: c
16
+ });
17
+ }
18
+ var o = t("SelectField", a);
19
+ //#endregion
20
+ export { o as SelectField };
@@ -0,0 +1,19 @@
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 { withFormItem as t } from "../../helpers/with-form-item.js";
4
+ import { Slider as n } from "../../../slider/index.js";
5
+ import { jsx as r } from "@emotion/react/jsx-runtime";
6
+ import { useDisabled as i } from "@vef-framework-react/core";
7
+ //#region src/form/fields/slider/index.tsx
8
+ function a({ disabled: t, ...a }) {
9
+ let { state: { value: o }, handleChange: s } = e(), c = i() || t;
10
+ return /* @__PURE__ */ r(n, {
11
+ ...a,
12
+ disabled: c,
13
+ value: o,
14
+ onChange: s
15
+ });
16
+ }
17
+ var o = t("SliderField", a);
18
+ //#endregion
19
+ export { o as SliderField };
@@ -0,0 +1,24 @@
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 { withFormItem as t } from "../../helpers/with-form-item.js";
4
+ import { Input as n } from "../../../input/index.js";
5
+ import { jsx as r } from "@emotion/react/jsx-runtime";
6
+ import { isEmpty as i } from "@vef-framework-react/shared";
7
+ import { useDisabled as a } from "@vef-framework-react/core";
8
+ //#region src/form/fields/textarea/index.tsx
9
+ function o({ disabled: t, preserveEmptyString: o = !1, ...s }) {
10
+ let { state: { value: c }, handleBlur: l, handleChange: u } = e(), d = a() || t;
11
+ return /* @__PURE__ */ r(n.TextArea, {
12
+ ...s,
13
+ disabled: d,
14
+ value: c,
15
+ onBlur: l,
16
+ onChange: (e) => {
17
+ let t = e.currentTarget.value;
18
+ u(o || !i(t) ? t : null);
19
+ }
20
+ });
21
+ }
22
+ var s = t("TextAreaField", o);
23
+ //#endregion
24
+ export { s as TextAreaField };
@@ -0,0 +1,21 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { fullWidth as e } from "../../../_base/styles/common.js";
3
+ import { useFieldContext as t } from "../../contexts/form-context.js";
4
+ import { withFormItem as n } from "../../helpers/with-form-item.js";
5
+ import { TimePicker as r } from "../../../time-picker/index.js";
6
+ import { jsx as i } from "@emotion/react/jsx-runtime";
7
+ import { useDisabled as a } from "@vef-framework-react/core";
8
+ //#region src/form/fields/time-picker/index.tsx
9
+ function o({ disabled: n, ...o }) {
10
+ let { state: { value: s }, handleChange: c } = t(), l = a() || n;
11
+ return /* @__PURE__ */ i(r, {
12
+ ...o,
13
+ css: e,
14
+ disabled: l,
15
+ value: s,
16
+ onChange: c
17
+ });
18
+ }
19
+ var s = n("TimePickerField", o);
20
+ //#endregion
21
+ export { s as TimePickerField };
@@ -0,0 +1,21 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { fullWidth as e } from "../../../_base/styles/common.js";
3
+ import { useFieldContext as t } from "../../contexts/form-context.js";
4
+ import { withFormItem as n } from "../../helpers/with-form-item.js";
5
+ import { TimePicker as r } from "../../../time-picker/index.js";
6
+ import { jsx as i } from "@emotion/react/jsx-runtime";
7
+ import { useDisabled as a } from "@vef-framework-react/core";
8
+ //#region src/form/fields/time-range-picker/index.tsx
9
+ function o({ disabled: n, ...o }) {
10
+ let { state: { value: s }, handleChange: c } = t(), l = a() || n;
11
+ return /* @__PURE__ */ i(r.RangePicker, {
12
+ ...o,
13
+ css: e,
14
+ disabled: l,
15
+ value: s,
16
+ onChange: c
17
+ });
18
+ }
19
+ var s = n("TimeRangePickerField", o);
20
+ //#endregion
21
+ export { s as TimeRangePickerField };
@@ -0,0 +1,21 @@
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 { withFormItem as t } from "../../helpers/with-form-item.js";
4
+ import { Transfer as n } from "../../../transfer/index.js";
5
+ import { jsx as r } from "@emotion/react/jsx-runtime";
6
+ import { useDisabled as i } from "@vef-framework-react/core";
7
+ //#region src/form/fields/transfer/index.tsx
8
+ function a({ disabled: t, ...a }) {
9
+ let { state: { value: o }, handleChange: s } = e(), c = i() || t;
10
+ return /* @__PURE__ */ r(n, {
11
+ ...a,
12
+ disabled: c,
13
+ targetKeys: o,
14
+ onChange: (e) => {
15
+ s(e);
16
+ }
17
+ });
18
+ }
19
+ var o = t("TransferField", a);
20
+ //#endregion
21
+ export { o as TransferField };
@@ -0,0 +1,19 @@
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 { withFormItem as t } from "../../helpers/with-form-item.js";
4
+ import { TreeSelect as n } from "../../../tree-select/index.js";
5
+ import { jsx as r } from "@emotion/react/jsx-runtime";
6
+ import { useDisabled as i } from "@vef-framework-react/core";
7
+ //#region src/form/fields/tree-select/index.tsx
8
+ function a({ disabled: t, ...a }) {
9
+ let { state: { value: o }, handleChange: s } = e(), c = i() || t;
10
+ return /* @__PURE__ */ r(n, {
11
+ ...a,
12
+ disabled: c,
13
+ value: o,
14
+ onChange: s
15
+ });
16
+ }
17
+ var o = t("TreeSelectField", a);
18
+ //#endregion
19
+ export { o as TreeSelectField };
@@ -0,0 +1,37 @@
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 { withFormItem as t } from "../../helpers/with-form-item.js";
4
+ import { Upload as n } from "../../../upload/index.js";
5
+ import { jsx as r } from "@emotion/react/jsx-runtime";
6
+ import { getBaseName as i, isArray as a } from "@vef-framework-react/shared";
7
+ import { useEffect as o, useMemo as s, useState as c } from "react";
8
+ import { useAppContext as l, useDisabled as u } from "@vef-framework-react/core";
9
+ //#region src/form/fields/upload/index.tsx
10
+ var d = /(?<!https?:)\/\//g;
11
+ function f({ disabled: t, maxCount: f, ...p }) {
12
+ let { state: { value: m }, handleChange: h } = e(), { fileBaseUrl: g } = l(), _ = u() || t, v = s(() => (a(m) ? m : m ? [m] : []).map((e) => {
13
+ let t = i(e);
14
+ return {
15
+ uid: e,
16
+ url: `${g}/${e}`.replaceAll(d, "/"),
17
+ name: t,
18
+ status: "done"
19
+ };
20
+ }), [m, g]), [y, b] = c(v);
21
+ return o(() => {
22
+ b((e) => [...v, ...e.filter((e) => e.status !== "done")]);
23
+ }, [v]), /* @__PURE__ */ r(n, {
24
+ ...p,
25
+ disabled: _,
26
+ fileList: y,
27
+ maxCount: f,
28
+ onChange: ({ fileList: e }) => {
29
+ b(e);
30
+ let t = e.filter((e) => e.status === "done").map((e) => e.key);
31
+ h((f ?? Infinity) > 1 ? t : t.length > 0 ? t[0] : null);
32
+ }
33
+ });
34
+ }
35
+ var p = t("UploadField", f);
36
+ //#endregion
37
+ export { p as UploadField };
@@ -0,0 +1,14 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import { fieldContext as e, formContext as t, useFormContext as n } from "./contexts/form-context.js";
3
+ import { formComponents as r } from "./components/index.js";
4
+ import { fieldComponents as i } from "./fields/index.js";
5
+ import { createFormHook as a, formOptions as o, useStore as s } from "@tanstack/react-form";
6
+ //#region src/form/form.ts
7
+ var { useAppForm: c, withForm: l, withFieldGroup: u } = a({
8
+ formContext: t,
9
+ fieldContext: e,
10
+ fieldComponents: i,
11
+ formComponents: r
12
+ }), d = n;
13
+ //#endregion
14
+ export { o as createFormOptions, c as useAppForm, d as useFormContext, s as useFormStore, u as withFieldGroup, l as withForm };
@@ -0,0 +1,2 @@
1
+ /*! @vef-framework-react/components v2.1.0 made by Venus | 2026-03-27T08:01:44.052Z */
2
+ import "./with-form-item.js";