@vef-framework-react/components 2.3.0 → 2.4.1

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 (590) hide show
  1. package/LICENSE +201 -0
  2. package/dist/cjs/_base/constants/common.cjs +1 -1
  3. package/dist/cjs/_base/constants/index.cjs +1 -1
  4. package/dist/cjs/_base/globals.cjs +1 -1
  5. package/dist/cjs/_base/helpers/breakpoints.cjs +1 -1
  6. package/dist/cjs/_base/helpers/color.cjs +1 -1
  7. package/dist/cjs/_base/helpers/common.cjs +1 -1
  8. package/dist/cjs/_base/helpers/event.cjs +1 -1
  9. package/dist/cjs/_base/helpers/index.cjs +1 -1
  10. package/dist/cjs/_base/helpers/message.cjs +1 -1
  11. package/dist/cjs/_base/helpers/modal.cjs +1 -1
  12. package/dist/cjs/_base/helpers/notification.cjs +1 -1
  13. package/dist/cjs/_base/helpers/props.cjs +1 -1
  14. package/dist/cjs/_base/helpers/react.cjs +1 -1
  15. package/dist/cjs/_base/hooks/index.cjs +1 -1
  16. package/dist/cjs/_base/hooks/use-theme-tokens.cjs +1 -1
  17. package/dist/cjs/_base/index.cjs +1 -1
  18. package/dist/cjs/_base/styles/common.cjs +1 -1
  19. package/dist/cjs/action-button/index.cjs +1 -1
  20. package/dist/cjs/action-button/use-action-button.cjs +1 -1
  21. package/dist/cjs/action-group/index.cjs +1 -1
  22. package/dist/cjs/action-group/use-action-group.cjs +1 -1
  23. package/dist/cjs/action-group/use-computed-action-buttons.cjs +1 -1
  24. package/dist/cjs/affix/index.cjs +1 -1
  25. package/dist/cjs/alert/index.cjs +1 -1
  26. package/dist/cjs/anchor/index.cjs +1 -1
  27. package/dist/cjs/auto-complete/index.cjs +1 -1
  28. package/dist/cjs/avatar/index.cjs +1 -1
  29. package/dist/cjs/badge/index.cjs +1 -1
  30. package/dist/cjs/bool/index.cjs +1 -1
  31. package/dist/cjs/border-beam/index.cjs +1 -1
  32. package/dist/cjs/breadcrumb/index.cjs +1 -1
  33. package/dist/cjs/button/index.cjs +1 -1
  34. package/dist/cjs/calendar/index.cjs +1 -1
  35. package/dist/cjs/card/index.cjs +1 -1
  36. package/dist/cjs/carousel/index.cjs +1 -1
  37. package/dist/cjs/cascader/index.cjs +1 -1
  38. package/dist/cjs/center/index.cjs +1 -1
  39. package/dist/cjs/charts/chart.cjs +1 -1
  40. package/dist/cjs/charts/helpers/group.cjs +1 -1
  41. package/dist/cjs/charts/helpers/index.cjs +1 -1
  42. package/dist/cjs/charts/hooks/index.cjs +1 -1
  43. package/dist/cjs/charts/hooks/use-chart.cjs +1 -1
  44. package/dist/cjs/charts/index.cjs +1 -1
  45. package/dist/cjs/charts/themes/index.cjs +1 -1
  46. package/dist/cjs/charts/themes/walden-dark.cjs +1 -1
  47. package/dist/cjs/charts/themes/walden.cjs +1 -1
  48. package/dist/cjs/charts/themes/wonderland-dark.cjs +1 -1
  49. package/dist/cjs/charts/themes/wonderland.cjs +1 -1
  50. package/dist/cjs/checkbox/index.cjs +1 -1
  51. package/dist/cjs/code-editor/index.cjs +1 -0
  52. package/dist/cjs/code-highlighter/index.cjs +1 -1
  53. package/dist/cjs/col/index.cjs +1 -1
  54. package/dist/cjs/collapse/index.cjs +1 -1
  55. package/dist/cjs/color-picker/index.cjs +1 -1
  56. package/dist/cjs/compact/index.cjs +1 -1
  57. package/dist/cjs/config-provider/app.cjs +1 -1
  58. package/dist/cjs/config-provider/constants.cjs +1 -1
  59. package/dist/cjs/config-provider/context-holder.cjs +1 -1
  60. package/dist/cjs/config-provider/css-vars.cjs +1 -1
  61. package/dist/cjs/config-provider/dark-mode-context.cjs +1 -1
  62. package/dist/cjs/config-provider/error-fallback.cjs +1 -1
  63. package/dist/cjs/config-provider/global-style.cjs +1 -1
  64. package/dist/cjs/config-provider/index.cjs +1 -1
  65. package/dist/cjs/config-provider/theme-config.cjs +1 -1
  66. package/dist/cjs/config-provider/use-config-provider.cjs +1 -1
  67. package/dist/cjs/crud/components/action-button-group.cjs +1 -1
  68. package/dist/cjs/crud/components/index.cjs +1 -1
  69. package/dist/cjs/crud/components/main.cjs +1 -1
  70. package/dist/cjs/crud/components/mutation-holder.cjs +1 -1
  71. package/dist/cjs/crud/components/operation-button-group.cjs +1 -1
  72. package/dist/cjs/crud/components/scene-form.cjs +1 -1
  73. package/dist/cjs/crud/components/selection-indicator.cjs +1 -1
  74. package/dist/cjs/crud/components/toolbar-actions.cjs +1 -1
  75. package/dist/cjs/crud/components/toolbar.cjs +1 -1
  76. package/dist/cjs/crud/event.cjs +1 -1
  77. package/dist/cjs/crud/helpers.cjs +1 -1
  78. package/dist/cjs/crud/hooks/index.cjs +1 -1
  79. package/dist/cjs/crud/hooks/use-query-observer.cjs +1 -1
  80. package/dist/cjs/crud/hooks/use-search-values.cjs +1 -1
  81. package/dist/cjs/crud/hooks/use-selected-rows.cjs +1 -1
  82. package/dist/cjs/crud/index.cjs +1 -1
  83. package/dist/cjs/crud/store.cjs +1 -1
  84. package/dist/cjs/crud/styles.cjs +1 -1
  85. package/dist/cjs/crud-page/index.cjs +1 -1
  86. package/dist/cjs/date-picker/index.cjs +1 -1
  87. package/dist/cjs/descriptions/index.cjs +1 -1
  88. package/dist/cjs/divider/index.cjs +1 -1
  89. package/dist/cjs/drawer/index.cjs +1 -1
  90. package/dist/cjs/dropdown/index.cjs +1 -1
  91. package/dist/cjs/dynamic-icon/index.cjs +1 -1
  92. package/dist/cjs/dynamic-icon/load-icon-node.cjs +1 -0
  93. package/dist/cjs/dynamic-icon/placeholder-icon.cjs +1 -1
  94. package/dist/cjs/dynamic-icon/unknown-icon.cjs +1 -1
  95. package/dist/cjs/editable-table/components/add-row-button.cjs +1 -0
  96. package/dist/cjs/editable-table/components/editable-cell.cjs +1 -0
  97. package/dist/cjs/editable-table/components/editable-row-actions.cjs +1 -0
  98. package/dist/cjs/editable-table/components/index.cjs +1 -0
  99. package/dist/cjs/editable-table/helpers.cjs +1 -0
  100. package/dist/cjs/editable-table/hooks/index.cjs +1 -0
  101. package/dist/cjs/editable-table/hooks/use-editable-actions.cjs +1 -0
  102. package/dist/cjs/editable-table/hooks/use-editable-columns.cjs +1 -0
  103. package/dist/cjs/editable-table/index.cjs +1 -0
  104. package/dist/cjs/editable-table/store.cjs +1 -0
  105. package/dist/cjs/empty/empty.cjs +1 -1
  106. package/dist/cjs/empty/index.cjs +1 -1
  107. package/dist/cjs/file-upload/index.cjs +1 -1
  108. package/dist/cjs/flex/index.cjs +1 -1
  109. package/dist/cjs/flex-card/index.cjs +1 -1
  110. package/dist/cjs/flex-card/styles.cjs +1 -1
  111. package/dist/cjs/flip-text/index.cjs +1 -1
  112. package/dist/cjs/float-button/index.cjs +1 -1
  113. package/dist/cjs/form/components/form.cjs +1 -1
  114. package/dist/cjs/form/components/index.cjs +1 -1
  115. package/dist/cjs/form/components/reset-button.cjs +1 -1
  116. package/dist/cjs/form/components/submit-button.cjs +1 -1
  117. package/dist/cjs/form/contexts/form-context.cjs +1 -1
  118. package/dist/cjs/form/contexts/form-layout.cjs +1 -1
  119. package/dist/cjs/form/contexts/index.cjs +1 -1
  120. package/dist/cjs/form/fields/auto-complete/index.cjs +1 -1
  121. package/dist/cjs/form/fields/bool/index.cjs +1 -1
  122. package/dist/cjs/form/fields/cascader/index.cjs +1 -1
  123. package/dist/cjs/form/fields/checkbox/index.cjs +1 -1
  124. package/dist/cjs/form/fields/code-editor/index.cjs +1 -0
  125. package/dist/cjs/form/fields/color-picker/index.cjs +1 -1
  126. package/dist/cjs/form/fields/date-picker/index.cjs +1 -1
  127. package/dist/cjs/form/fields/date-range-picker/index.cjs +1 -1
  128. package/dist/cjs/form/fields/icon-picker/index.cjs +1 -0
  129. package/dist/cjs/form/fields/index.cjs +1 -1
  130. package/dist/cjs/form/fields/input/index.cjs +1 -1
  131. package/dist/cjs/form/fields/input-number/index.cjs +1 -1
  132. package/dist/cjs/form/fields/mentions/index.cjs +1 -1
  133. package/dist/cjs/form/fields/password/index.cjs +1 -1
  134. package/dist/cjs/form/fields/radio/index.cjs +1 -1
  135. package/dist/cjs/form/fields/rate/index.cjs +1 -1
  136. package/dist/cjs/form/fields/select/index.cjs +1 -1
  137. package/dist/cjs/form/fields/slider/index.cjs +1 -1
  138. package/dist/cjs/form/fields/textarea/index.cjs +1 -1
  139. package/dist/cjs/form/fields/time-picker/index.cjs +1 -1
  140. package/dist/cjs/form/fields/time-range-picker/index.cjs +1 -1
  141. package/dist/cjs/form/fields/transfer/index.cjs +1 -1
  142. package/dist/cjs/form/fields/tree-select/index.cjs +1 -1
  143. package/dist/cjs/form/fields/upload/index.cjs +1 -1
  144. package/dist/cjs/form/form-actions.cjs +1 -1
  145. package/dist/cjs/form/form.cjs +1 -1
  146. package/dist/cjs/form/helpers/index.cjs +1 -1
  147. package/dist/cjs/form/helpers/with-form-item.cjs +1 -1
  148. package/dist/cjs/form/hooks/use-form-item-props.cjs +1 -1
  149. package/dist/cjs/form/hooks/use-label-width.cjs +1 -1
  150. package/dist/cjs/form/index.cjs +1 -1
  151. package/dist/cjs/form/use-form.cjs +1 -1
  152. package/dist/cjs/form-drawer/index.cjs +1 -1
  153. package/dist/cjs/form-modal/index.cjs +1 -1
  154. package/dist/cjs/generic-select/index.cjs +1 -0
  155. package/dist/cjs/grid/context.cjs +1 -1
  156. package/dist/cjs/grid/grid-item.cjs +1 -1
  157. package/dist/cjs/grid/hooks/index.cjs +1 -1
  158. package/dist/cjs/grid/hooks/use-container-breakpoints.cjs +1 -1
  159. package/dist/cjs/grid/hooks/use-container-width.cjs +1 -1
  160. package/dist/cjs/grid/hooks/use-grid-collapsed.cjs +1 -1
  161. package/dist/cjs/grid/hooks/use-normalized-gap.cjs +1 -1
  162. package/dist/cjs/grid/hooks/use-responsive-breakpoint.cjs +1 -1
  163. package/dist/cjs/grid/hooks/use-responsive-value.cjs +1 -1
  164. package/dist/cjs/grid/index.cjs +1 -1
  165. package/dist/cjs/grid/styles.cjs +1 -1
  166. package/dist/cjs/group/index.cjs +1 -1
  167. package/dist/cjs/icon/index.cjs +1 -1
  168. package/dist/cjs/icon-button/index.cjs +1 -1
  169. package/dist/cjs/icon-picker/icon-grid.cjs +1 -0
  170. package/dist/cjs/icon-picker/index.cjs +1 -0
  171. package/dist/cjs/image/index.cjs +1 -1
  172. package/dist/cjs/index.cjs +1 -1
  173. package/dist/cjs/input/index.cjs +1 -1
  174. package/dist/cjs/input-number/index.cjs +1 -1
  175. package/dist/cjs/keyboard/index.cjs +1 -1
  176. package/dist/cjs/list/index.cjs +1 -1
  177. package/dist/cjs/loader/index.cjs +1 -1
  178. package/dist/cjs/logo-icon/index.cjs +1 -1
  179. package/dist/cjs/mentions/index.cjs +1 -1
  180. package/dist/cjs/menu/index.cjs +1 -1
  181. package/dist/cjs/modal/index.cjs +1 -1
  182. package/dist/cjs/modal/modal.cjs +1 -1
  183. package/dist/cjs/operation-button/index.cjs +1 -1
  184. package/dist/cjs/page/components/aside-panel.cjs +1 -1
  185. package/dist/cjs/page/components/index.cjs +1 -1
  186. package/dist/cjs/page/components/resize-handle.cjs +1 -1
  187. package/dist/cjs/page/components/scroll-content.cjs +1 -1
  188. package/dist/cjs/page/entrance.cjs +1 -0
  189. package/dist/cjs/page/hooks/index.cjs +1 -1
  190. package/dist/cjs/page/hooks/use-page-key.cjs +1 -1
  191. package/dist/cjs/page/hooks/use-resize.cjs +1 -1
  192. package/dist/cjs/page/index.cjs +1 -1
  193. package/dist/cjs/page/styles.cjs +1 -1
  194. package/dist/cjs/page/viewport-context.cjs +1 -1
  195. package/dist/cjs/pagination/index.cjs +1 -1
  196. package/dist/cjs/permission-gate/index.cjs +1 -1
  197. package/dist/cjs/popconfirm/index.cjs +1 -1
  198. package/dist/cjs/popover/index.cjs +1 -1
  199. package/dist/cjs/pro-search/components/advanced-search-toggler.cjs +1 -1
  200. package/dist/cjs/pro-search/components/advanced-search.cjs +1 -1
  201. package/dist/cjs/pro-search/components/index.cjs +1 -1
  202. package/dist/cjs/pro-search/components/search-actions.cjs +1 -1
  203. package/dist/cjs/pro-search/index.cjs +1 -1
  204. package/dist/cjs/pro-search/styles.cjs +1 -1
  205. package/dist/cjs/pro-table/components/column-setting-item.cjs +1 -1
  206. package/dist/cjs/pro-table/components/column-settings-panel.cjs +1 -1
  207. package/dist/cjs/pro-table/components/column-settings.cjs +1 -1
  208. package/dist/cjs/pro-table/components/index.cjs +1 -1
  209. package/dist/cjs/pro-table/components/operation-button-group.cjs +1 -1
  210. package/dist/cjs/pro-table/components/ref.cjs +1 -1
  211. package/dist/cjs/pro-table/components/table-subscriber.cjs +1 -1
  212. package/dist/cjs/pro-table/components/table-summary.cjs +1 -1
  213. package/dist/cjs/pro-table/components/table-title.cjs +1 -1
  214. package/dist/cjs/pro-table/components/table.cjs +1 -1
  215. package/dist/cjs/pro-table/components/width-popover.cjs +1 -1
  216. package/dist/cjs/pro-table/context.cjs +1 -1
  217. package/dist/cjs/pro-table/event.cjs +1 -1
  218. package/dist/cjs/pro-table/hooks/index.cjs +1 -1
  219. package/dist/cjs/pro-table/hooks/use-column-settings-persistence.cjs +1 -1
  220. package/dist/cjs/pro-table/hooks/use-row-selection.cjs +1 -1
  221. package/dist/cjs/pro-table/hooks/use-table-columns.cjs +1 -1
  222. package/dist/cjs/pro-table/index.cjs +1 -1
  223. package/dist/cjs/pro-table/store.cjs +1 -1
  224. package/dist/cjs/progress/index.cjs +1 -1
  225. package/dist/cjs/qrcode/index.cjs +1 -1
  226. package/dist/cjs/radio/index.cjs +1 -1
  227. package/dist/cjs/rate/index.cjs +1 -1
  228. package/dist/cjs/result/index.cjs +1 -1
  229. package/dist/cjs/row/index.cjs +1 -1
  230. package/dist/cjs/scroll-area/index.cjs +1 -1
  231. package/dist/cjs/scroll-area/styles.cjs +1 -1
  232. package/dist/cjs/segmented/index.cjs +1 -1
  233. package/dist/cjs/select/hooks/index.cjs +1 -1
  234. package/dist/cjs/select/hooks/use-data-options-select.cjs +1 -1
  235. package/dist/cjs/select/hooks/use-dictionary-options-select.cjs +1 -1
  236. package/dist/cjs/select/index.cjs +1 -1
  237. package/dist/cjs/skeleton/index.cjs +1 -1
  238. package/dist/cjs/slider/index.cjs +1 -1
  239. package/dist/cjs/space/index.cjs +1 -1
  240. package/dist/cjs/space/space.cjs +1 -1
  241. package/dist/cjs/sparkles-text/index.cjs +1 -1
  242. package/dist/cjs/sparkles-text/sparkle.cjs +1 -1
  243. package/dist/cjs/spin/index.cjs +1 -1
  244. package/dist/cjs/split-text/index.cjs +1 -1
  245. package/dist/cjs/splitter/index.cjs +1 -1
  246. package/dist/cjs/stack/index.cjs +1 -1
  247. package/dist/cjs/statistic/index.cjs +1 -1
  248. package/dist/cjs/steps/index.cjs +1 -1
  249. package/dist/cjs/switch/index.cjs +1 -1
  250. package/dist/cjs/table/index.cjs +1 -1
  251. package/dist/cjs/table/use-pagination-props.cjs +1 -1
  252. package/dist/cjs/tabs/index.cjs +1 -1
  253. package/dist/cjs/tag/index.cjs +1 -1
  254. package/dist/cjs/time-picker/index.cjs +1 -1
  255. package/dist/cjs/timeline/index.cjs +1 -1
  256. package/dist/cjs/tooltip/index.cjs +1 -1
  257. package/dist/cjs/tour/index.cjs +1 -1
  258. package/dist/cjs/transfer/index.cjs +1 -1
  259. package/dist/cjs/tree/hooks/index.cjs +1 -1
  260. package/dist/cjs/tree/hooks/use-data-options-tree.cjs +1 -1
  261. package/dist/cjs/tree/index.cjs +1 -1
  262. package/dist/cjs/tree-select/hooks/index.cjs +1 -1
  263. package/dist/cjs/tree-select/hooks/use-data-options-tree-select.cjs +1 -1
  264. package/dist/cjs/tree-select/index.cjs +1 -1
  265. package/dist/cjs/typing-animation/index.cjs +1 -1
  266. package/dist/cjs/typography/index.cjs +1 -1
  267. package/dist/cjs/upload/index.cjs +1 -1
  268. package/dist/cjs/watermark/index.cjs +1 -1
  269. package/dist/es/_base/constants/breakpoints.js +1 -1
  270. package/dist/es/_base/constants/common.js +1 -1
  271. package/dist/es/_base/constants/css-vars.js +1 -1
  272. package/dist/es/_base/constants/event.js +1 -1
  273. package/dist/es/_base/constants/index.js +1 -1
  274. package/dist/es/_base/constants/symbols.js +1 -1
  275. package/dist/es/_base/constants/theme.js +1 -1
  276. package/dist/es/_base/globals.js +8 -12
  277. package/dist/es/_base/helpers/breakpoints.js +1 -1
  278. package/dist/es/_base/helpers/color.js +1 -1
  279. package/dist/es/_base/helpers/common.js +2 -5
  280. package/dist/es/_base/helpers/event.js +1 -1
  281. package/dist/es/_base/helpers/index.js +1 -1
  282. package/dist/es/_base/helpers/message.js +1 -1
  283. package/dist/es/_base/helpers/modal.js +1 -1
  284. package/dist/es/_base/helpers/notification.js +1 -1
  285. package/dist/es/_base/helpers/props.js +1 -1
  286. package/dist/es/_base/helpers/react.js +1 -1
  287. package/dist/es/_base/hooks/index.js +1 -1
  288. package/dist/es/_base/hooks/use-theme-tokens.js +1 -1
  289. package/dist/es/_base/index.js +1 -1
  290. package/dist/es/_base/styles/common.js +1 -1
  291. package/dist/es/_base/styles/index.js +1 -1
  292. package/dist/es/_base/types/breakpoints.js +1 -1
  293. package/dist/es/_base/types/common.js +1 -1
  294. package/dist/es/_base/types/index.js +1 -1
  295. package/dist/es/action-button/index.js +1 -1
  296. package/dist/es/action-button/use-action-button.js +1 -1
  297. package/dist/es/action-group/index.js +1 -1
  298. package/dist/es/action-group/use-action-group.js +1 -1
  299. package/dist/es/action-group/use-computed-action-buttons.js +1 -1
  300. package/dist/es/affix/index.js +1 -1
  301. package/dist/es/alert/index.js +1 -1
  302. package/dist/es/anchor/index.js +1 -1
  303. package/dist/es/auto-complete/index.js +1 -1
  304. package/dist/es/avatar/index.js +1 -1
  305. package/dist/es/badge/index.js +1 -1
  306. package/dist/es/bool/index.js +49 -50
  307. package/dist/es/border-beam/index.js +1 -1
  308. package/dist/es/breadcrumb/index.js +1 -1
  309. package/dist/es/button/index.js +1 -1
  310. package/dist/es/calendar/index.js +1 -1
  311. package/dist/es/card/index.js +1 -1
  312. package/dist/es/carousel/index.js +1 -1
  313. package/dist/es/cascader/index.js +1 -1
  314. package/dist/es/center/index.js +1 -1
  315. package/dist/es/charts/chart.js +1 -1
  316. package/dist/es/charts/helpers/group.js +1 -1
  317. package/dist/es/charts/helpers/index.js +1 -1
  318. package/dist/es/charts/hooks/index.js +1 -1
  319. package/dist/es/charts/hooks/use-chart.js +1 -1
  320. package/dist/es/charts/index.js +1 -1
  321. package/dist/es/charts/themes/index.js +1 -1
  322. package/dist/es/charts/themes/walden-dark.js +1 -1
  323. package/dist/es/charts/themes/walden.js +1 -1
  324. package/dist/es/charts/themes/wonderland-dark.js +1 -1
  325. package/dist/es/charts/themes/wonderland.js +1 -1
  326. package/dist/es/checkbox/index.js +1 -1
  327. package/dist/es/code-editor/index.js +219 -0
  328. package/dist/es/code-highlighter/index.js +1 -1
  329. package/dist/es/col/index.js +1 -1
  330. package/dist/es/collapse/index.js +1 -1
  331. package/dist/es/color-picker/index.js +1 -1
  332. package/dist/es/compact/index.js +1 -1
  333. package/dist/es/config-provider/app.js +1 -1
  334. package/dist/es/config-provider/constants.js +1 -1
  335. package/dist/es/config-provider/context-holder.js +1 -1
  336. package/dist/es/config-provider/css-vars.js +1 -1
  337. package/dist/es/config-provider/dark-mode-context.js +1 -1
  338. package/dist/es/config-provider/error-fallback.js +1 -1
  339. package/dist/es/config-provider/global-style.js +2 -2
  340. package/dist/es/config-provider/index.js +3 -3
  341. package/dist/es/config-provider/theme-config.js +1 -1
  342. package/dist/es/config-provider/use-config-provider.js +2 -2
  343. package/dist/es/crud/components/action-button-group.js +1 -1
  344. package/dist/es/crud/components/index.js +1 -1
  345. package/dist/es/crud/components/main.js +1 -1
  346. package/dist/es/crud/components/mutation-holder.js +1 -1
  347. package/dist/es/crud/components/operation-button-group.js +1 -1
  348. package/dist/es/crud/components/scene-form.js +1 -1
  349. package/dist/es/crud/components/selection-indicator.js +3 -3
  350. package/dist/es/crud/components/toolbar-actions.js +1 -1
  351. package/dist/es/crud/components/toolbar.js +1 -1
  352. package/dist/es/crud/event.js +1 -1
  353. package/dist/es/crud/helpers.js +1 -1
  354. package/dist/es/crud/hooks/index.js +1 -1
  355. package/dist/es/crud/hooks/use-query-observer.js +1 -1
  356. package/dist/es/crud/hooks/use-search-values.js +1 -1
  357. package/dist/es/crud/hooks/use-selected-rows.js +1 -1
  358. package/dist/es/crud/index.js +1 -1
  359. package/dist/es/crud/store.js +1 -1
  360. package/dist/es/crud/styles.js +2 -2
  361. package/dist/es/crud-page/index.js +1 -1
  362. package/dist/es/date-picker/index.js +1 -1
  363. package/dist/es/descriptions/index.js +1 -1
  364. package/dist/es/divider/index.js +1 -1
  365. package/dist/es/drawer/index.js +1 -1
  366. package/dist/es/dropdown/index.js +1 -1
  367. package/dist/es/dynamic-icon/index.js +26 -29
  368. package/dist/es/dynamic-icon/load-icon-node.js +32 -0
  369. package/dist/es/dynamic-icon/placeholder-icon.js +1 -1
  370. package/dist/es/dynamic-icon/unknown-icon.js +1 -1
  371. package/dist/es/editable-table/components/add-row-button.js +24 -0
  372. package/dist/es/editable-table/components/editable-cell.js +27 -0
  373. package/dist/es/editable-table/components/editable-row-actions.js +53 -0
  374. package/dist/es/editable-table/components/index.js +4 -0
  375. package/dist/es/editable-table/helpers.js +22 -0
  376. package/dist/es/editable-table/hooks/index.js +3 -0
  377. package/dist/es/editable-table/hooks/use-editable-actions.js +69 -0
  378. package/dist/es/editable-table/hooks/use-editable-columns.js +49 -0
  379. package/dist/es/editable-table/index.js +61 -0
  380. package/dist/es/editable-table/store.js +19 -0
  381. package/dist/es/empty/empty.js +1 -1
  382. package/dist/es/empty/index.js +1 -1
  383. package/dist/es/file-upload/index.js +1 -1
  384. package/dist/es/flex/index.js +1 -1
  385. package/dist/es/flex-card/index.js +1 -1
  386. package/dist/es/flex-card/styles.js +2 -2
  387. package/dist/es/flip-text/index.js +1 -1
  388. package/dist/es/float-button/index.js +1 -1
  389. package/dist/es/form/components/form.js +4 -2
  390. package/dist/es/form/components/index.js +1 -1
  391. package/dist/es/form/components/reset-button.js +1 -1
  392. package/dist/es/form/components/submit-button.js +1 -1
  393. package/dist/es/form/contexts/form-context.js +1 -1
  394. package/dist/es/form/contexts/form-layout.js +1 -1
  395. package/dist/es/form/contexts/index.js +1 -1
  396. package/dist/es/form/fields/auto-complete/index.js +1 -1
  397. package/dist/es/form/fields/bool/index.js +1 -1
  398. package/dist/es/form/fields/cascader/index.js +1 -1
  399. package/dist/es/form/fields/checkbox/index.js +1 -1
  400. package/dist/es/form/fields/code-editor/index.js +23 -0
  401. package/dist/es/form/fields/color-picker/index.js +1 -1
  402. package/dist/es/form/fields/date-picker/index.js +1 -1
  403. package/dist/es/form/fields/date-range-picker/index.js +1 -1
  404. package/dist/es/form/fields/icon-picker/index.js +20 -0
  405. package/dist/es/form/fields/index.js +41 -37
  406. package/dist/es/form/fields/input/index.js +1 -1
  407. package/dist/es/form/fields/input-number/index.js +1 -1
  408. package/dist/es/form/fields/mentions/index.js +1 -1
  409. package/dist/es/form/fields/password/index.js +1 -1
  410. package/dist/es/form/fields/radio/index.js +1 -1
  411. package/dist/es/form/fields/rate/index.js +1 -1
  412. package/dist/es/form/fields/select/index.js +1 -1
  413. package/dist/es/form/fields/slider/index.js +1 -1
  414. package/dist/es/form/fields/textarea/index.js +1 -1
  415. package/dist/es/form/fields/time-picker/index.js +1 -1
  416. package/dist/es/form/fields/time-range-picker/index.js +1 -1
  417. package/dist/es/form/fields/transfer/index.js +1 -1
  418. package/dist/es/form/fields/tree-select/index.js +1 -1
  419. package/dist/es/form/fields/upload/index.js +1 -1
  420. package/dist/es/form/form-actions.js +1 -1
  421. package/dist/es/form/form.js +1 -1
  422. package/dist/es/form/helpers/create-field.js +1 -1
  423. package/dist/es/form/helpers/index.js +1 -1
  424. package/dist/es/form/helpers/with-form-item.js +28 -18
  425. package/dist/es/form/hooks/use-form-item-props.js +1 -1
  426. package/dist/es/form/hooks/use-label-width.js +1 -1
  427. package/dist/es/form/index.js +1 -1
  428. package/dist/es/form/use-form.js +1 -1
  429. package/dist/es/form-drawer/index.js +13 -13
  430. package/dist/es/form-modal/index.js +12 -11
  431. package/dist/es/generic-select/index.js +57 -0
  432. package/dist/es/grid/context.js +1 -1
  433. package/dist/es/grid/grid-item.js +1 -1
  434. package/dist/es/grid/hooks/index.js +1 -1
  435. package/dist/es/grid/hooks/use-container-breakpoints.js +1 -1
  436. package/dist/es/grid/hooks/use-container-width.js +1 -1
  437. package/dist/es/grid/hooks/use-grid-collapsed.js +1 -1
  438. package/dist/es/grid/hooks/use-normalized-gap.js +1 -1
  439. package/dist/es/grid/hooks/use-responsive-breakpoint.js +1 -1
  440. package/dist/es/grid/hooks/use-responsive-value.js +1 -1
  441. package/dist/es/grid/index.js +1 -1
  442. package/dist/es/grid/styles.js +2 -2
  443. package/dist/es/group/index.js +1 -1
  444. package/dist/es/icon/index.js +1 -1
  445. package/dist/es/icon-button/index.js +2 -2
  446. package/dist/es/icon-picker/icon-grid.js +112 -0
  447. package/dist/es/icon-picker/index.js +76 -0
  448. package/dist/es/image/index.js +1 -1
  449. package/dist/es/index.js +110 -104
  450. package/dist/es/input/index.js +1 -1
  451. package/dist/es/input-number/index.js +1 -1
  452. package/dist/es/keyboard/index.js +2 -2
  453. package/dist/es/list/index.js +1 -1
  454. package/dist/es/loader/index.js +1 -1
  455. package/dist/es/logo-icon/index.js +1 -1
  456. package/dist/es/mentions/index.js +1 -1
  457. package/dist/es/menu/index.js +1 -1
  458. package/dist/es/modal/index.js +1 -1
  459. package/dist/es/modal/modal.js +1 -1
  460. package/dist/es/operation-button/index.js +2 -2
  461. package/dist/es/page/components/aside-panel.js +1 -1
  462. package/dist/es/page/components/index.js +1 -1
  463. package/dist/es/page/components/resize-handle.js +2 -3
  464. package/dist/es/page/components/scroll-content.js +8 -8
  465. package/dist/es/page/entrance.js +51 -0
  466. package/dist/es/page/hooks/index.js +1 -1
  467. package/dist/es/page/hooks/use-page-key.js +1 -1
  468. package/dist/es/page/hooks/use-resize.js +1 -1
  469. package/dist/es/page/index.js +100 -86
  470. package/dist/es/page/styles.js +3 -3
  471. package/dist/es/page/viewport-context.js +1 -1
  472. package/dist/es/pagination/index.js +1 -1
  473. package/dist/es/permission-gate/index.js +1 -1
  474. package/dist/es/popconfirm/index.js +1 -1
  475. package/dist/es/popover/index.js +1 -1
  476. package/dist/es/pro-search/components/advanced-search-toggler.js +1 -1
  477. package/dist/es/pro-search/components/advanced-search.js +1 -1
  478. package/dist/es/pro-search/components/index.js +1 -1
  479. package/dist/es/pro-search/components/search-actions.js +1 -1
  480. package/dist/es/pro-search/index.js +1 -1
  481. package/dist/es/pro-search/styles.js +5 -5
  482. package/dist/es/pro-table/components/column-setting-item.js +8 -8
  483. package/dist/es/pro-table/components/column-settings-panel.js +3 -3
  484. package/dist/es/pro-table/components/column-settings.js +1 -1
  485. package/dist/es/pro-table/components/index.js +1 -1
  486. package/dist/es/pro-table/components/operation-button-group.js +1 -1
  487. package/dist/es/pro-table/components/ref.js +1 -1
  488. package/dist/es/pro-table/components/table-subscriber.js +1 -1
  489. package/dist/es/pro-table/components/table-summary.js +1 -1
  490. package/dist/es/pro-table/components/table-title.js +1 -1
  491. package/dist/es/pro-table/components/table.js +72 -49
  492. package/dist/es/pro-table/components/width-popover.js +2 -2
  493. package/dist/es/pro-table/context.js +1 -1
  494. package/dist/es/pro-table/event.js +1 -1
  495. package/dist/es/pro-table/hooks/index.js +1 -1
  496. package/dist/es/pro-table/hooks/use-column-settings-persistence.js +1 -1
  497. package/dist/es/pro-table/hooks/use-row-selection.js +1 -1
  498. package/dist/es/pro-table/hooks/use-table-columns.js +35 -34
  499. package/dist/es/pro-table/index.js +17 -15
  500. package/dist/es/pro-table/store.js +1 -1
  501. package/dist/es/progress/index.js +1 -1
  502. package/dist/es/qrcode/index.js +1 -1
  503. package/dist/es/radio/index.js +1 -1
  504. package/dist/es/rate/index.js +1 -1
  505. package/dist/es/result/index.js +1 -1
  506. package/dist/es/row/index.js +1 -1
  507. package/dist/es/scroll-area/index.js +23 -23
  508. package/dist/es/scroll-area/styles.js +1 -1
  509. package/dist/es/segmented/index.js +1 -1
  510. package/dist/es/select/hooks/index.js +1 -1
  511. package/dist/es/select/hooks/use-data-options-select.js +2 -2
  512. package/dist/es/select/hooks/use-dictionary-options-select.js +2 -2
  513. package/dist/es/select/index.js +1 -1
  514. package/dist/es/skeleton/index.js +1 -1
  515. package/dist/es/slider/index.js +1 -1
  516. package/dist/es/space/index.js +1 -1
  517. package/dist/es/space/space.js +1 -1
  518. package/dist/es/sparkles-text/index.js +1 -1
  519. package/dist/es/sparkles-text/sparkle.js +1 -1
  520. package/dist/es/spin/index.js +1 -1
  521. package/dist/es/split-text/index.js +1 -1
  522. package/dist/es/splitter/index.js +1 -1
  523. package/dist/es/stack/index.js +1 -1
  524. package/dist/es/statistic/index.js +1 -1
  525. package/dist/es/steps/index.js +1 -1
  526. package/dist/es/switch/index.js +1 -1
  527. package/dist/es/table/index.js +54 -37
  528. package/dist/es/table/use-pagination-props.js +2 -2
  529. package/dist/es/tabs/index.js +1 -1
  530. package/dist/es/tag/index.js +1 -1
  531. package/dist/es/time-picker/index.js +1 -1
  532. package/dist/es/timeline/index.js +1 -1
  533. package/dist/es/tooltip/index.js +1 -1
  534. package/dist/es/tour/index.js +1 -1
  535. package/dist/es/transfer/index.js +1 -1
  536. package/dist/es/tree/hooks/index.js +1 -1
  537. package/dist/es/tree/hooks/use-data-options-tree.js +1 -1
  538. package/dist/es/tree/index.js +1 -1
  539. package/dist/es/tree-select/hooks/index.js +1 -1
  540. package/dist/es/tree-select/hooks/use-data-options-tree-select.js +2 -2
  541. package/dist/es/tree-select/index.js +1 -1
  542. package/dist/es/typing-animation/index.js +1 -1
  543. package/dist/es/typography/index.js +1 -1
  544. package/dist/es/upload/index.js +1 -1
  545. package/dist/es/watermark/index.js +1 -1
  546. package/dist/types/_base/globals.d.ts +14 -22
  547. package/dist/types/_base/helpers/common.d.ts +1 -7
  548. package/dist/types/_base/index.d.ts +1 -1
  549. package/dist/types/code-editor/index.d.ts +4 -0
  550. package/dist/types/code-editor/props.d.ts +197 -0
  551. package/dist/types/crud/props.d.ts +14 -1
  552. package/dist/types/dropdown/index.d.ts +1 -0
  553. package/dist/types/dynamic-icon/index.d.ts +1 -1
  554. package/dist/types/dynamic-icon/load-icon-node.d.ts +14 -0
  555. package/dist/types/editable-table/components/add-row-button.d.ts +6 -0
  556. package/dist/types/editable-table/components/editable-cell.d.ts +18 -0
  557. package/dist/types/editable-table/components/editable-row-actions.d.ts +31 -0
  558. package/dist/types/editable-table/components/index.d.ts +3 -0
  559. package/dist/types/editable-table/helpers.d.ts +10 -0
  560. package/dist/types/editable-table/hooks/index.d.ts +2 -0
  561. package/dist/types/editable-table/hooks/use-editable-actions.d.ts +29 -0
  562. package/dist/types/editable-table/hooks/use-editable-columns.d.ts +25 -0
  563. package/dist/types/editable-table/index.d.ts +14 -0
  564. package/dist/types/editable-table/props.d.ts +73 -0
  565. package/dist/types/editable-table/store.d.ts +38 -0
  566. package/dist/types/editable-table/types.d.ts +76 -0
  567. package/dist/types/form/fields/code-editor/index.d.ts +5 -0
  568. package/dist/types/form/fields/code-editor/props.d.ts +15 -0
  569. package/dist/types/form/fields/icon-picker/index.d.ts +5 -0
  570. package/dist/types/form/fields/icon-picker/props.d.ts +10 -0
  571. package/dist/types/form/fields/index.d.ts +6 -0
  572. package/dist/types/form/form.d.ts +13 -1
  573. package/dist/types/generic-select/index.d.ts +15 -0
  574. package/dist/types/generic-select/props.d.ts +181 -0
  575. package/dist/types/icon-picker/icon-grid.d.ts +37 -0
  576. package/dist/types/icon-picker/index.d.ts +13 -0
  577. package/dist/types/icon-picker/props.d.ts +86 -0
  578. package/dist/types/index.d.ts +8 -4
  579. package/dist/types/page/components/resize-handle.d.ts +1 -1
  580. package/dist/types/page/entrance.d.ts +56 -0
  581. package/dist/types/page/index.d.ts +1 -0
  582. package/dist/types/pro-table/components/table.d.ts +4 -4
  583. package/dist/types/pro-table/hooks/index.d.ts +1 -1
  584. package/dist/types/pro-table/hooks/use-table-columns.d.ts +6 -0
  585. package/dist/types/pro-table/props.d.ts +15 -1
  586. package/dist/types/scroll-area/index.d.ts +2 -2
  587. package/dist/types/scroll-area/props.d.ts +7 -0
  588. package/dist/types/table/index.d.ts +1 -1
  589. package/dist/types/table/props.d.ts +8 -0
  590. package/package.json +27 -13
@@ -0,0 +1,69 @@
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
+ import { showErrorMessage as e } from "../../_base/helpers/message.js";
3
+ import { useEditableTableStoreApi as t } from "../store.js";
4
+ import { get as n, isNullish as r } from "@vef-framework-react/shared";
5
+ import { useEffect as i, useRef as a } from "react";
6
+ //#region src/editable-table/hooks/use-editable-actions.ts
7
+ function o(e) {
8
+ if (typeof e == "string") return e || void 0;
9
+ if (e && typeof e == "object" && "message" in e) {
10
+ let { message: t } = e;
11
+ return typeof t == "string" ? t : void 0;
12
+ }
13
+ }
14
+ function s({ value: s, onChange: c, form: l, getKey: u, rowKeyField: d, createRecord: f }) {
15
+ let p = t(), m = a(s), h = a(c), g = a(0);
16
+ m.current = s, h.current = c, i(() => {
17
+ p.setState({
18
+ addRow: () => {
19
+ let e = f?.() ?? {}, t = d !== null && r(n(e, d)) ? {
20
+ ...e,
21
+ [d]: `__temp_${g.current++}`
22
+ } : e, i = [...m.current, t];
23
+ h.current?.(i), l.reset(t), p.setState((e) => {
24
+ e.editingKey = u(t);
25
+ });
26
+ },
27
+ cancel: () => {
28
+ p.setState((e) => {
29
+ e.editingKey = null;
30
+ });
31
+ },
32
+ deleteRow: (e) => {
33
+ let t = m.current.filter((t) => u(t) !== e);
34
+ h.current?.(t), p.setState((t) => {
35
+ t.editingKey === e && (t.editingKey = null);
36
+ });
37
+ },
38
+ save: async () => {
39
+ let { editingKey: t } = p.getState();
40
+ if (t === null) return;
41
+ let n = await l.validateAllFields("submit");
42
+ if (n.length > 0) {
43
+ e(n.flat().map((e) => o(e)).find(Boolean) ?? "请检查表单填写是否正确");
44
+ return;
45
+ }
46
+ let { values: r } = l.state, i = m.current.map((e) => u(e) === t ? {
47
+ ...e,
48
+ ...r
49
+ } : e);
50
+ h.current?.(i), p.setState((e) => {
51
+ e.editingKey = null;
52
+ });
53
+ },
54
+ startEdit: (e, t) => {
55
+ l.reset(t), p.setState((t) => {
56
+ t.editingKey = e;
57
+ });
58
+ }
59
+ });
60
+ }, [
61
+ p,
62
+ l,
63
+ u,
64
+ d,
65
+ f
66
+ ]);
67
+ }
68
+ //#endregion
69
+ export { s as useEditableActions };
@@ -0,0 +1,49 @@
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
+ import { EditableCell as e } from "../components/editable-cell.js";
3
+ import { EditableRowActions as t } from "../components/editable-row-actions.js";
4
+ import { jsx as n } from "@emotion/react/jsx-runtime";
5
+ import { useMemo as r } from "react";
6
+ //#region src/editable-table/hooks/use-editable-columns.tsx
7
+ function i(i, a, o) {
8
+ return r(() => {
9
+ let r = i.map((t) => ({
10
+ align: t.align,
11
+ className: t.className,
12
+ dataIndex: t.dataIndex,
13
+ ellipsis: t.ellipsis,
14
+ fixed: t.fixed,
15
+ key: t.key ?? t.dataIndex,
16
+ minWidth: t.minWidth,
17
+ title: t.title,
18
+ width: t.width,
19
+ render: (r, i, o) => /* @__PURE__ */ n(e, {
20
+ column: t,
21
+ index: o,
22
+ row: i,
23
+ rowKey: a(i),
24
+ value: r
25
+ })
26
+ }));
27
+ return o.enabled && r.push({
28
+ align: "center",
29
+ key: "__editable_operations",
30
+ title: o.title ?? "操作",
31
+ width: o.width,
32
+ render: (e, r, i) => /* @__PURE__ */ n(t, {
33
+ deletable: o.deletable(r),
34
+ editable: o.editable(r),
35
+ extra: o.extra,
36
+ index: i,
37
+ row: r,
38
+ rowKey: a(r),
39
+ texts: o.texts
40
+ })
41
+ }), r;
42
+ }, [
43
+ i,
44
+ a,
45
+ o
46
+ ]);
47
+ }
48
+ //#endregion
49
+ export { i as useEditableColumns };
@@ -0,0 +1,61 @@
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
+ import { Stack as e } from "../stack/index.js";
3
+ import { Table as t } from "../table/index.js";
4
+ import { useForm as n } from "../form/use-form.js";
5
+ import { EditableTableStoreProvider as r } from "./store.js";
6
+ import { AddRowButton as i } from "./components/add-row-button.js";
7
+ import { useEditableActions as a } from "./hooks/use-editable-actions.js";
8
+ import { useEditableColumns as o } from "./hooks/use-editable-columns.js";
9
+ import "./helpers.js";
10
+ import { jsx as s, jsxs as c } from "@emotion/react/jsx-runtime";
11
+ import { get as l, isFunction as u, stringify as d } from "@vef-framework-react/shared";
12
+ import { useMemo as f } from "react";
13
+ //#region src/editable-table/index.tsx
14
+ function p(e) {
15
+ if (u(e)) return (t) => d(e(t));
16
+ let t = e ?? "key";
17
+ return (e) => d(l(e, t));
18
+ }
19
+ function m(e, t) {
20
+ if (u(e)) return e;
21
+ let n = e ?? t;
22
+ return () => n;
23
+ }
24
+ function h({ value: r, onChange: l, columns: d, rowKey: h, canEdit: g, canDelete: _, creatable: v, createRecord: y, renderRowActions: b, operationColumn: x, size: S, pagination: C }) {
25
+ let w = n({ defaultValues: {} }), T = f(() => p(h), [h]), E = u(h) ? null : h ?? "key", D = f(() => m(g, !0), [g]), O = f(() => m(_, !1), [_]), k = o(d, T, f(() => ({
26
+ deletable: O,
27
+ editable: D,
28
+ enabled: !0,
29
+ extra: b,
30
+ texts: x?.texts,
31
+ title: x?.title,
32
+ width: x?.width
33
+ }), [
34
+ O,
35
+ D,
36
+ x,
37
+ b
38
+ ]));
39
+ return a({
40
+ createRecord: y,
41
+ form: w,
42
+ getKey: T,
43
+ onChange: l,
44
+ rowKeyField: E,
45
+ value: r
46
+ }), /* @__PURE__ */ s(w.AppForm, { children: /* @__PURE__ */ c(e, {
47
+ gap: "small",
48
+ children: [/* @__PURE__ */ s(t, {
49
+ columns: k,
50
+ dataSource: r,
51
+ pagination: C ?? !1,
52
+ rowKey: T,
53
+ size: S
54
+ }), v ? /* @__PURE__ */ s(i, {}) : null]
55
+ }) });
56
+ }
57
+ function g(e) {
58
+ return /* @__PURE__ */ s(r, { children: /* @__PURE__ */ s(h, { ...e }) });
59
+ }
60
+ //#endregion
61
+ export { g as EditableTable };
@@ -0,0 +1,19 @@
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
+ import { createThrowNotImplementedFn as e } from "@vef-framework-react/shared";
3
+ import { createComponentStore as t } from "@vef-framework-react/core";
4
+ //#region src/editable-table/store.ts
5
+ var { StoreProvider: n, useStore: r, useStoreApi: i } = t("EditableTable", (t) => ({
6
+ editingKey: null,
7
+ setEditingKey: (e) => {
8
+ t((t) => {
9
+ t.editingKey = e;
10
+ });
11
+ },
12
+ startEdit: e("startEdit"),
13
+ save: e("save"),
14
+ cancel: e("cancel"),
15
+ addRow: e("addRow"),
16
+ deleteRow: e("deleteRow")
17
+ }));
18
+ //#endregion
19
+ export { n as EditableTableStoreProvider, r as useEditableTableStore, i as useEditableTableStoreApi };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { jsx as e } from "@emotion/react/jsx-runtime";
3
3
  import { Empty as t } from "antd";
4
4
  //#region src/empty/empty.tsx
@@ -1,2 +1,2 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import "./empty.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { Upload as e } from "../upload/index.js";
3
3
  import { jsx as t } from "@emotion/react/jsx-runtime";
4
4
  import { useCallback as n, useMemo as r } from "react";
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { Flex as e } from "antd";
3
3
  export { e as Flex };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { Card as e } from "../card/index.js";
3
3
  import { container as t } from "./styles.js";
4
4
  import { jsx as n } from "@emotion/react/jsx-runtime";
@@ -1,8 +1,8 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { globalCssVars as e } from "../_base/constants/css-vars.js";
3
3
  import { css as t } from "@emotion/react";
4
4
  //#region src/flex-card/styles.ts
5
- var n = /* @__PURE__ */ t({
5
+ var n = /*#__PURE__*/ t({
6
6
  height: "100%",
7
7
  display: "flex",
8
8
  flexDirection: "column",
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { Center as e } from "../center/index.js";
3
3
  import { jsx as t } from "@emotion/react/jsx-runtime";
4
4
  import { Children as n } from "react";
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { FloatButton as e } from "antd";
3
3
  export { e as FloatButton };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { useFormContext as e } from "../contexts/form-context.js";
3
3
  import { FormLayoutProvider as t, defaultFormLayout as n } from "../contexts/form-layout.js";
4
4
  import { jsx as r } from "@emotion/react/jsx-runtime";
@@ -22,7 +22,9 @@ function o({ layout: o = n.layout, labelAlign: s = n.labelAlign, labelWidth: c =
22
22
  e.preventDefault(), h();
23
23
  },
24
24
  onSubmit: (e) => {
25
- e.preventDefault(), m();
25
+ e.preventDefault(), m().catch((e) => {
26
+ console.error("[Form] submit failed:", e);
27
+ });
26
28
  }
27
29
  },
28
30
  children: /* @__PURE__ */ r(t, {
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { Form as e } from "./form.js";
3
3
  import { ResetButton as t } from "./reset-button.js";
4
4
  import { SubmitButton as n } from "./submit-button.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { Button as e } from "../../button/index.js";
3
3
  import { useFormContext as t } from "../contexts/form-context.js";
4
4
  import { jsx as n } from "@emotion/react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { Button as e } from "../../button/index.js";
3
3
  import { useFormContext as t } from "../contexts/form-context.js";
4
4
  import { jsx as n } from "@emotion/react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { createFormHookContexts as e } from "@tanstack/react-form";
3
3
  //#region src/form/contexts/form-context.ts
4
4
  var { formContext: t, fieldContext: n, useFormContext: r, useFieldContext: i } = e();
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { createContext as e, use as t } from "react";
3
3
  //#region src/form/contexts/form-layout.ts
4
4
  var n = Object.freeze({
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import "./form-context.js";
3
3
  import "./form-layout.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { fullWidth as e } from "../../../_base/styles/common.js";
3
3
  import { AutoComplete as t } from "../../../auto-complete/index.js";
4
4
  import { useFieldContext as n } from "../../contexts/form-context.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { Bool as e } from "../../../bool/index.js";
3
3
  import { useFieldContext as t } from "../../contexts/form-context.js";
4
4
  import { withFormItem as n } from "../../helpers/with-form-item.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { fullWidth as e } from "../../../_base/styles/common.js";
3
3
  import { Cascader as t } from "../../../cascader/index.js";
4
4
  import { useFieldContext as n } from "../../contexts/form-context.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { Checkbox as e } from "../../../checkbox/index.js";
3
3
  import { useFieldContext as t } from "../../contexts/form-context.js";
4
4
  import { withFormItem as n } from "../../helpers/with-form-item.js";
@@ -0,0 +1,23 @@
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
+ import { CodeEditor as e } from "../../../code-editor/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 { isEmpty as i } from "@vef-framework-react/shared";
7
+ import { useDisabled as a } from "@vef-framework-react/core";
8
+ //#region src/form/fields/code-editor/index.tsx
9
+ function o({ disabled: n, readOnly: o, preserveEmptyString: s = !1, ...c }) {
10
+ let { state: { value: l }, handleBlur: u, handleChange: d } = t(), f = a() || n || o;
11
+ return /* @__PURE__ */ r(e, {
12
+ ...c,
13
+ readOnly: f,
14
+ value: l ?? "",
15
+ onBlur: u,
16
+ onChange: (e) => {
17
+ d(s || !i(e) ? e : null);
18
+ }
19
+ });
20
+ }
21
+ var s = n("CodeEditorField", o);
22
+ //#endregion
23
+ export { s as CodeEditorField };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { ColorPicker as e } from "../../../color-picker/index.js";
3
3
  import { useFieldContext as t } from "../../contexts/form-context.js";
4
4
  import { withFormItem as n } from "../../helpers/with-form-item.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { fullWidth as e } from "../../../_base/styles/common.js";
3
3
  import { useFieldContext as t } from "../../contexts/form-context.js";
4
4
  import { withFormItem as n } from "../../helpers/with-form-item.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { fullWidth as e } from "../../../_base/styles/common.js";
3
3
  import { useFieldContext as t } from "../../contexts/form-context.js";
4
4
  import { withFormItem as n } from "../../helpers/with-form-item.js";
@@ -0,0 +1,20 @@
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
+ import { useFieldContext as e } from "../../contexts/form-context.js";
3
+ import { withFormItem as t } from "../../helpers/with-form-item.js";
4
+ import { IconPicker as n } from "../../../icon-picker/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/icon-picker/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: (e) => c(e ?? void 0)
16
+ });
17
+ }
18
+ var o = t("IconPickerField", a);
19
+ //#endregion
20
+ export { o as IconPickerField };
@@ -1,49 +1,53 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { AutoCompleteField as e } from "./auto-complete/index.js";
3
3
  import { BoolField as t } from "./bool/index.js";
4
4
  import { CascaderField as n } from "./cascader/index.js";
5
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";
6
+ import { CodeEditorField as a } from "./code-editor/index.js";
7
+ import { ColorPickerField as o } from "./color-picker/index.js";
8
+ import { DatePickerField as s } from "./date-picker/index.js";
9
+ import { DateRangePickerField as c } from "./date-range-picker/index.js";
10
+ import { IconPickerField as l } from "./icon-picker/index.js";
11
+ import { InputField as u } from "./input/index.js";
12
+ import { InputNumberField as d } from "./input-number/index.js";
13
+ import { MentionsField as f } from "./mentions/index.js";
14
+ import { PasswordField as p } from "./password/index.js";
15
+ import { RadioField as m } from "./radio/index.js";
16
+ import { RateField as h } from "./rate/index.js";
17
+ import { SelectField as g } from "./select/index.js";
18
+ import { SliderField as _ } from "./slider/index.js";
19
+ import { TextAreaField as v } from "./textarea/index.js";
20
+ import { TimePickerField as y } from "./time-picker/index.js";
21
+ import { TimeRangePickerField as b } from "./time-range-picker/index.js";
22
+ import { TransferField as x } from "./transfer/index.js";
23
+ import { TreeSelectField as S } from "./tree-select/index.js";
24
+ import { UploadField as C } from "./upload/index.js";
23
25
  //#region src/form/fields/index.ts
24
- var S = {
26
+ var w = {
25
27
  AutoComplete: e,
26
28
  Bool: t,
27
29
  Cascader: n,
28
30
  Checkbox: r,
29
31
  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
32
+ CodeEditor: a,
33
+ ColorPicker: o,
34
+ DatePicker: s,
35
+ DateRangePicker: c,
36
+ IconPicker: l,
37
+ Input: u,
38
+ InputNumber: d,
39
+ Mentions: f,
40
+ Password: p,
41
+ Radio: m,
42
+ Rate: h,
43
+ Select: g,
44
+ Slider: _,
45
+ TextArea: v,
46
+ TimePicker: y,
47
+ TimeRangePicker: b,
48
+ Transfer: x,
49
+ TreeSelect: S,
50
+ Upload: C
47
51
  };
48
52
  //#endregion
49
- export { S as fieldComponents };
53
+ export { w as fieldComponents };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { useFieldContext as e } from "../../contexts/form-context.js";
3
3
  import { withFormItem as t } from "../../helpers/with-form-item.js";
4
4
  import { Input as n } from "../../../input/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { fullWidth as e } from "../../../_base/styles/common.js";
3
3
  import { useFieldContext as t } from "../../contexts/form-context.js";
4
4
  import { withFormItem as n } from "../../helpers/with-form-item.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { fullWidth as e } from "../../../_base/styles/common.js";
3
3
  import { useFieldContext as t } from "../../contexts/form-context.js";
4
4
  import { withFormItem as n } from "../../helpers/with-form-item.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { useFieldContext as e } from "../../contexts/form-context.js";
3
3
  import { withFormItem as t } from "../../helpers/with-form-item.js";
4
4
  import { Input as n } from "../../../input/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { Radio as e } from "../../../radio/index.js";
3
3
  import { useFieldContext as t } from "../../contexts/form-context.js";
4
4
  import { withFormItem as n } from "../../helpers/with-form-item.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { useFieldContext as e } from "../../contexts/form-context.js";
3
3
  import { withFormItem as t } from "../../helpers/with-form-item.js";
4
4
  import { Rate as n } from "../../../rate/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { useFieldContext as e } from "../../contexts/form-context.js";
3
3
  import { withFormItem as t } from "../../helpers/with-form-item.js";
4
4
  import { Select as n } from "../../../select/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { Slider as e } from "../../../slider/index.js";
3
3
  import { useFieldContext as t } from "../../contexts/form-context.js";
4
4
  import { withFormItem as n } from "../../helpers/with-form-item.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { useFieldContext as e } from "../../contexts/form-context.js";
3
3
  import { withFormItem as t } from "../../helpers/with-form-item.js";
4
4
  import { Input as n } from "../../../input/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { fullWidth as e } from "../../../_base/styles/common.js";
3
3
  import { useFieldContext as t } from "../../contexts/form-context.js";
4
4
  import { withFormItem as n } from "../../helpers/with-form-item.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { fullWidth as e } from "../../../_base/styles/common.js";
3
3
  import { useFieldContext as t } from "../../contexts/form-context.js";
4
4
  import { withFormItem as n } from "../../helpers/with-form-item.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { useFieldContext as e } from "../../contexts/form-context.js";
3
3
  import { withFormItem as t } from "../../helpers/with-form-item.js";
4
4
  import { Transfer as n } from "../../../transfer/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { useFieldContext as e } from "../../contexts/form-context.js";
3
3
  import { withFormItem as t } from "../../helpers/with-form-item.js";
4
4
  import { TreeSelect as n } from "../../../tree-select/index.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.3.0 made by Venus | 2026-05-22T09:39:50.380Z */
1
+ /*! @vef-framework-react/components v2.4.1 made by Venus | 2026-06-17T13:09:40.551Z */
2
2
  import { useFieldContext as e } from "../../contexts/form-context.js";
3
3
  import { withFormItem as t } from "../../helpers/with-form-item.js";
4
4
  import { FileUpload as n } from "../../../file-upload/index.js";