@vef-framework-react/components 2.1.6 → 2.1.7

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 (359) hide show
  1. package/dist/cjs/charts/helpers/group.cjs +1 -1
  2. package/dist/cjs/charts/hooks/use-chart.cjs +1 -1
  3. package/dist/cjs/config-provider/global-style.cjs +1 -1
  4. package/dist/cjs/config-provider/index.cjs +1 -1
  5. package/dist/cjs/crud/components/main.cjs +1 -1
  6. package/dist/cjs/crud/components/mutation-holder.cjs +1 -1
  7. package/dist/cjs/crud/components/scene-form.cjs +1 -1
  8. package/dist/cjs/crud/components/selection-indicator.cjs +1 -1
  9. package/dist/cjs/crud/index.cjs +1 -1
  10. package/dist/cjs/crud/store.cjs +1 -1
  11. package/dist/cjs/crud/styles.cjs +1 -1
  12. package/dist/cjs/flex-card/styles.cjs +1 -1
  13. package/dist/cjs/form/components/form.cjs +1 -1
  14. package/dist/cjs/form/fields/date-picker/index.cjs +1 -1
  15. package/dist/cjs/form/fields/date-range-picker/index.cjs +1 -1
  16. package/dist/cjs/form/fields/time-picker/index.cjs +1 -1
  17. package/dist/cjs/form/fields/time-range-picker/index.cjs +1 -1
  18. package/dist/cjs/form/form-actions.cjs +1 -0
  19. package/dist/cjs/form/form.cjs +1 -1
  20. package/dist/cjs/form/helpers/create-field.cjs +1 -0
  21. package/dist/cjs/form/helpers/index.cjs +1 -1
  22. package/dist/cjs/form/index.cjs +1 -1
  23. package/dist/cjs/form/use-form.cjs +1 -1
  24. package/dist/cjs/form-drawer/index.cjs +1 -1
  25. package/dist/cjs/form-modal/index.cjs +1 -1
  26. package/dist/cjs/index.cjs +1 -1
  27. package/dist/cjs/modal/index.cjs +1 -1
  28. package/dist/cjs/modal/modal.cjs +1 -0
  29. package/dist/cjs/page/components/resize-handle.cjs +1 -1
  30. package/dist/cjs/page/components/scroll-content.cjs +1 -1
  31. package/dist/cjs/page/styles.cjs +1 -1
  32. package/dist/cjs/pro-search/components/search-actions.cjs +1 -1
  33. package/dist/cjs/pro-search/index.cjs +1 -1
  34. package/dist/cjs/pro-search/styles.cjs +1 -1
  35. package/dist/cjs/pro-table/components/column-setting-item.cjs +1 -1
  36. package/dist/cjs/pro-table/components/column-settings-panel.cjs +1 -1
  37. package/dist/cjs/pro-table/components/table.cjs +1 -1
  38. package/dist/cjs/pro-table/components/width-popover.cjs +1 -1
  39. package/dist/cjs/pro-table/hooks/use-table-columns.cjs +1 -1
  40. package/dist/cjs/pro-table/index.cjs +1 -1
  41. package/dist/cjs/select/hooks/index.cjs +1 -1
  42. package/dist/cjs/select/hooks/use-dictionary-options-select.cjs +1 -0
  43. package/dist/cjs/select/index.cjs +1 -1
  44. package/dist/cjs/upload/index.cjs +1 -1
  45. package/dist/es/_base/constants/breakpoints.js +1 -1
  46. package/dist/es/_base/constants/common.js +1 -1
  47. package/dist/es/_base/constants/css-vars.js +1 -1
  48. package/dist/es/_base/constants/event.js +1 -1
  49. package/dist/es/_base/constants/index.js +1 -1
  50. package/dist/es/_base/constants/symbols.js +1 -1
  51. package/dist/es/_base/helpers/breakpoints.js +1 -1
  52. package/dist/es/_base/helpers/color.js +1 -1
  53. package/dist/es/_base/helpers/common.js +1 -1
  54. package/dist/es/_base/helpers/event.js +1 -1
  55. package/dist/es/_base/helpers/index.js +1 -1
  56. package/dist/es/_base/helpers/message.js +1 -1
  57. package/dist/es/_base/helpers/modal.js +1 -1
  58. package/dist/es/_base/helpers/notification.js +1 -1
  59. package/dist/es/_base/helpers/props.js +1 -1
  60. package/dist/es/_base/helpers/react.js +1 -1
  61. package/dist/es/_base/hooks/index.js +1 -1
  62. package/dist/es/_base/hooks/use-theme-tokens.js +1 -1
  63. package/dist/es/_base/index.js +1 -1
  64. package/dist/es/_base/styles/common.js +1 -1
  65. package/dist/es/_base/styles/index.js +1 -1
  66. package/dist/es/_base/types/breakpoints.js +1 -1
  67. package/dist/es/_base/types/common.js +1 -1
  68. package/dist/es/_base/types/index.js +1 -1
  69. package/dist/es/action-button/index.js +1 -1
  70. package/dist/es/action-button/use-action-button.js +1 -1
  71. package/dist/es/action-group/index.js +1 -1
  72. package/dist/es/action-group/use-action-group.js +1 -1
  73. package/dist/es/action-group/use-computed-action-buttons.js +1 -1
  74. package/dist/es/affix/index.js +1 -1
  75. package/dist/es/alert/index.js +1 -1
  76. package/dist/es/anchor/index.js +1 -1
  77. package/dist/es/auto-complete/index.js +1 -1
  78. package/dist/es/avatar/index.js +1 -1
  79. package/dist/es/badge/index.js +1 -1
  80. package/dist/es/bool/index.js +1 -1
  81. package/dist/es/breadcrumb/index.js +1 -1
  82. package/dist/es/button/index.js +1 -1
  83. package/dist/es/calendar/index.js +1 -1
  84. package/dist/es/card/index.js +1 -1
  85. package/dist/es/carousel/index.js +1 -1
  86. package/dist/es/cascader/index.js +1 -1
  87. package/dist/es/center/index.js +1 -1
  88. package/dist/es/charts/chart.js +1 -1
  89. package/dist/es/charts/helpers/group.js +1 -1
  90. package/dist/es/charts/helpers/index.js +1 -1
  91. package/dist/es/charts/hooks/index.js +1 -1
  92. package/dist/es/charts/hooks/use-chart.js +1 -1
  93. package/dist/es/charts/index.js +1 -1
  94. package/dist/es/charts/themes/index.js +1 -1
  95. package/dist/es/charts/themes/walden-dark.js +1 -1
  96. package/dist/es/charts/themes/walden.js +1 -1
  97. package/dist/es/charts/themes/wonderland-dark.js +1 -1
  98. package/dist/es/charts/themes/wonderland.js +1 -1
  99. package/dist/es/checkbox/index.js +1 -1
  100. package/dist/es/code-highlighter/index.js +1 -1
  101. package/dist/es/col/index.js +1 -1
  102. package/dist/es/collapse/index.js +1 -1
  103. package/dist/es/color-picker/index.js +1 -1
  104. package/dist/es/compact/index.js +1 -1
  105. package/dist/es/config-provider/app.js +1 -1
  106. package/dist/es/config-provider/constants.js +1 -1
  107. package/dist/es/config-provider/context-holder.js +1 -1
  108. package/dist/es/config-provider/css-vars.js +1 -1
  109. package/dist/es/config-provider/dark-mode-context.js +1 -1
  110. package/dist/es/config-provider/error-fallback.js +1 -1
  111. package/dist/es/config-provider/global-style.js +1 -1
  112. package/dist/es/config-provider/index.js +1 -1
  113. package/dist/es/config-provider/theme-config.js +1 -1
  114. package/dist/es/config-provider/use-config-provider.js +5 -8
  115. package/dist/es/crud/components/action-button-group.js +1 -1
  116. package/dist/es/crud/components/index.js +1 -1
  117. package/dist/es/crud/components/main.js +3 -3
  118. package/dist/es/crud/components/mutation-holder.js +33 -23
  119. package/dist/es/crud/components/operation-button-group.js +1 -1
  120. package/dist/es/crud/components/scene-form.js +3 -1
  121. package/dist/es/crud/components/selection-indicator.js +3 -3
  122. package/dist/es/crud/components/toolbar-actions.js +1 -1
  123. package/dist/es/crud/components/toolbar.js +1 -1
  124. package/dist/es/crud/event.js +1 -1
  125. package/dist/es/crud/helpers.js +1 -1
  126. package/dist/es/crud/hooks/index.js +1 -1
  127. package/dist/es/crud/hooks/use-query-observer.js +1 -1
  128. package/dist/es/crud/hooks/use-search-values.js +1 -1
  129. package/dist/es/crud/hooks/use-selected-rows.js +1 -1
  130. package/dist/es/crud/index.js +23 -20
  131. package/dist/es/crud/store.js +10 -2
  132. package/dist/es/crud/styles.js +3 -3
  133. package/dist/es/crud-page/index.js +1 -1
  134. package/dist/es/date-picker/index.js +1 -1
  135. package/dist/es/descriptions/index.js +1 -1
  136. package/dist/es/divider/index.js +1 -1
  137. package/dist/es/drawer/index.js +1 -1
  138. package/dist/es/dropdown/index.js +1 -1
  139. package/dist/es/dynamic-icon/index.js +1 -1
  140. package/dist/es/dynamic-icon/placeholder-icon.js +1 -1
  141. package/dist/es/dynamic-icon/unknown-icon.js +1 -1
  142. package/dist/es/empty/empty.js +1 -1
  143. package/dist/es/empty/index.js +1 -1
  144. package/dist/es/flex/index.js +1 -1
  145. package/dist/es/flex-card/index.js +1 -1
  146. package/dist/es/flex-card/styles.js +2 -2
  147. package/dist/es/flip-text/index.js +1 -1
  148. package/dist/es/float-button/index.js +1 -1
  149. package/dist/es/form/components/form.js +16 -16
  150. package/dist/es/form/components/index.js +1 -1
  151. package/dist/es/form/components/reset-button.js +1 -1
  152. package/dist/es/form/components/submit-button.js +1 -1
  153. package/dist/es/form/contexts/form-context.js +1 -1
  154. package/dist/es/form/contexts/form-layout.js +1 -1
  155. package/dist/es/form/contexts/index.js +1 -1
  156. package/dist/es/form/fields/auto-complete/index.js +1 -1
  157. package/dist/es/form/fields/bool/index.js +1 -1
  158. package/dist/es/form/fields/cascader/index.js +1 -1
  159. package/dist/es/form/fields/checkbox/index.js +1 -1
  160. package/dist/es/form/fields/color-picker/index.js +1 -1
  161. package/dist/es/form/fields/date-picker/index.js +11 -10
  162. package/dist/es/form/fields/date-range-picker/index.js +23 -10
  163. package/dist/es/form/fields/index.js +1 -1
  164. package/dist/es/form/fields/input/index.js +1 -1
  165. package/dist/es/form/fields/input-number/index.js +1 -1
  166. package/dist/es/form/fields/mentions/index.js +1 -1
  167. package/dist/es/form/fields/password/index.js +1 -1
  168. package/dist/es/form/fields/radio/index.js +1 -1
  169. package/dist/es/form/fields/rate/index.js +1 -1
  170. package/dist/es/form/fields/select/index.js +1 -1
  171. package/dist/es/form/fields/slider/index.js +1 -1
  172. package/dist/es/form/fields/textarea/index.js +1 -1
  173. package/dist/es/form/fields/time-picker/index.js +11 -10
  174. package/dist/es/form/fields/time-range-picker/index.js +23 -10
  175. package/dist/es/form/fields/transfer/index.js +1 -1
  176. package/dist/es/form/fields/tree-select/index.js +1 -1
  177. package/dist/es/form/fields/upload/index.js +1 -1
  178. package/dist/es/form/form-actions.js +40 -0
  179. package/dist/es/form/form.js +5 -2
  180. package/dist/es/form/helpers/create-field.js +15 -0
  181. package/dist/es/form/helpers/index.js +2 -1
  182. package/dist/es/form/helpers/with-form-item.js +1 -1
  183. package/dist/es/form/hooks/use-form-item-props.js +1 -1
  184. package/dist/es/form/hooks/use-label-width.js +1 -1
  185. package/dist/es/form/index.js +2 -1
  186. package/dist/es/form/use-form.js +5 -10
  187. package/dist/es/form-drawer/index.js +61 -54
  188. package/dist/es/form-modal/index.js +55 -51
  189. package/dist/es/grid/context.js +1 -1
  190. package/dist/es/grid/grid-item.js +1 -1
  191. package/dist/es/grid/hooks/index.js +1 -1
  192. package/dist/es/grid/hooks/use-container-breakpoints.js +1 -1
  193. package/dist/es/grid/hooks/use-container-width.js +1 -1
  194. package/dist/es/grid/hooks/use-grid-collapsed.js +1 -1
  195. package/dist/es/grid/hooks/use-normalized-gap.js +1 -1
  196. package/dist/es/grid/hooks/use-responsive-breakpoint.js +1 -1
  197. package/dist/es/grid/hooks/use-responsive-value.js +1 -1
  198. package/dist/es/grid/index.js +1 -1
  199. package/dist/es/grid/styles.js +1 -1
  200. package/dist/es/group/index.js +1 -1
  201. package/dist/es/icon/index.js +1 -1
  202. package/dist/es/icon-button/index.js +1 -1
  203. package/dist/es/image/index.js +1 -1
  204. package/dist/es/index.js +59 -58
  205. package/dist/es/input/index.js +1 -1
  206. package/dist/es/input-number/index.js +1 -1
  207. package/dist/es/keyboard/index.js +1 -1
  208. package/dist/es/list/index.js +1 -1
  209. package/dist/es/loader/index.js +1 -1
  210. package/dist/es/logo-icon/index.js +1 -1
  211. package/dist/es/mentions/index.js +1 -1
  212. package/dist/es/menu/index.js +1 -1
  213. package/dist/es/modal/index.js +2 -3
  214. package/dist/es/modal/modal.js +60 -0
  215. package/dist/es/operation-button/index.js +1 -1
  216. package/dist/es/page/components/aside-panel.js +1 -1
  217. package/dist/es/page/components/index.js +1 -1
  218. package/dist/es/page/components/resize-handle.js +1 -1
  219. package/dist/es/page/components/scroll-content.js +2 -2
  220. package/dist/es/page/hooks/index.js +1 -1
  221. package/dist/es/page/hooks/use-page-key.js +1 -1
  222. package/dist/es/page/hooks/use-resize.js +1 -1
  223. package/dist/es/page/index.js +1 -1
  224. package/dist/es/page/styles.js +15 -15
  225. package/dist/es/page/viewport-context.js +1 -1
  226. package/dist/es/pagination/index.js +1 -1
  227. package/dist/es/permission-gate/index.js +1 -1
  228. package/dist/es/popconfirm/index.js +1 -1
  229. package/dist/es/popover/index.js +1 -1
  230. package/dist/es/pro-search/components/advanced-search-toggler.js +1 -1
  231. package/dist/es/pro-search/components/advanced-search.js +1 -1
  232. package/dist/es/pro-search/components/index.js +1 -1
  233. package/dist/es/pro-search/components/search-actions.js +5 -5
  234. package/dist/es/pro-search/index.js +4 -4
  235. package/dist/es/pro-search/styles.js +6 -6
  236. package/dist/es/pro-table/components/column-setting-item.js +13 -13
  237. package/dist/es/pro-table/components/column-settings-panel.js +6 -6
  238. package/dist/es/pro-table/components/column-settings.js +1 -1
  239. package/dist/es/pro-table/components/index.js +1 -1
  240. package/dist/es/pro-table/components/operation-button-group.js +1 -1
  241. package/dist/es/pro-table/components/ref.js +1 -1
  242. package/dist/es/pro-table/components/table-subscriber.js +1 -1
  243. package/dist/es/pro-table/components/table-summary.js +1 -1
  244. package/dist/es/pro-table/components/table-title.js +1 -1
  245. package/dist/es/pro-table/components/table.js +2 -2
  246. package/dist/es/pro-table/components/width-popover.js +5 -5
  247. package/dist/es/pro-table/context.js +1 -1
  248. package/dist/es/pro-table/event.js +1 -1
  249. package/dist/es/pro-table/hooks/index.js +1 -1
  250. package/dist/es/pro-table/hooks/use-column-settings-persistence.js +1 -1
  251. package/dist/es/pro-table/hooks/use-row-selection.js +1 -1
  252. package/dist/es/pro-table/hooks/use-table-columns.js +4 -4
  253. package/dist/es/pro-table/index.js +2 -2
  254. package/dist/es/pro-table/store.js +1 -1
  255. package/dist/es/progress/index.js +1 -1
  256. package/dist/es/qrcode/index.js +1 -1
  257. package/dist/es/radio/index.js +1 -1
  258. package/dist/es/rate/index.js +1 -1
  259. package/dist/es/result/index.js +1 -1
  260. package/dist/es/row/index.js +1 -1
  261. package/dist/es/scroll-area/index.js +1 -1
  262. package/dist/es/scroll-area/styles.js +1 -1
  263. package/dist/es/segmented/index.js +1 -1
  264. package/dist/es/select/hooks/index.js +2 -1
  265. package/dist/es/select/hooks/use-data-options-select.js +1 -1
  266. package/dist/es/select/hooks/use-dictionary-options-select.js +55 -0
  267. package/dist/es/select/index.js +2 -1
  268. package/dist/es/skeleton/index.js +1 -1
  269. package/dist/es/slider/index.js +1 -1
  270. package/dist/es/space/index.js +1 -1
  271. package/dist/es/space/space.js +1 -1
  272. package/dist/es/sparkles-text/index.js +1 -1
  273. package/dist/es/sparkles-text/sparkle.js +1 -1
  274. package/dist/es/spin/index.js +1 -1
  275. package/dist/es/split-text/index.js +1 -1
  276. package/dist/es/splitter/index.js +1 -1
  277. package/dist/es/stack/index.js +1 -1
  278. package/dist/es/statistic/index.js +1 -1
  279. package/dist/es/steps/index.js +1 -1
  280. package/dist/es/switch/index.js +1 -1
  281. package/dist/es/table/index.js +1 -1
  282. package/dist/es/table/use-pagination-props.js +1 -1
  283. package/dist/es/tabs/index.js +1 -1
  284. package/dist/es/tag/index.js +1 -1
  285. package/dist/es/time-picker/index.js +1 -1
  286. package/dist/es/timeline/index.js +1 -1
  287. package/dist/es/tooltip/index.js +1 -1
  288. package/dist/es/tour/index.js +1 -1
  289. package/dist/es/transfer/index.js +1 -1
  290. package/dist/es/tree/hooks/index.js +1 -1
  291. package/dist/es/tree/hooks/use-data-options-tree.js +1 -1
  292. package/dist/es/tree/index.js +1 -1
  293. package/dist/es/tree-select/hooks/index.js +1 -1
  294. package/dist/es/tree-select/hooks/use-data-options-tree-select.js +1 -1
  295. package/dist/es/tree-select/index.js +1 -1
  296. package/dist/es/typing-animation/index.js +1 -1
  297. package/dist/es/typography/index.js +1 -1
  298. package/dist/es/upload/index.js +1 -1
  299. package/dist/es/watermark/index.js +1 -1
  300. package/dist/types/_base/types/common.d.ts +4 -0
  301. package/dist/types/crud/components/mutation-holder.d.ts +2 -1
  302. package/dist/types/crud/index.d.ts +1 -1
  303. package/dist/types/crud/props.d.ts +7 -1
  304. package/dist/types/crud/store.d.ts +5 -1
  305. package/dist/types/crud/types.d.ts +2 -2
  306. package/dist/types/date-picker/index.d.ts +1 -1
  307. package/dist/types/dynamic-icon/index.d.ts +1 -1
  308. package/dist/types/form/components/form.d.ts +13 -4
  309. package/dist/types/form/fields/date-picker/index.d.ts +3 -3
  310. package/dist/types/form/fields/date-picker/props.d.ts +6 -1
  311. package/dist/types/form/fields/date-range-picker/index.d.ts +3 -3
  312. package/dist/types/form/fields/date-range-picker/props.d.ts +6 -1
  313. package/dist/types/form/fields/index.d.ts +4 -4
  314. package/dist/types/form/fields/time-picker/index.d.ts +3 -3
  315. package/dist/types/form/fields/time-picker/props.d.ts +6 -1
  316. package/dist/types/form/fields/time-range-picker/index.d.ts +3 -3
  317. package/dist/types/form/fields/time-range-picker/props.d.ts +6 -1
  318. package/dist/types/form/form-actions.d.ts +33 -0
  319. package/dist/types/form/form.d.ts +25 -25
  320. package/dist/types/form/helpers/create-field.d.ts +91 -0
  321. package/dist/types/form/helpers/index.d.ts +2 -0
  322. package/dist/types/form/index.d.ts +3 -0
  323. package/dist/types/form/types.d.ts +4 -1
  324. package/dist/types/form/use-form.d.ts +3 -37
  325. package/dist/types/form-drawer/props.d.ts +30 -10
  326. package/dist/types/form-modal/props.d.ts +30 -10
  327. package/dist/types/grid/index.d.ts +1 -1
  328. package/dist/types/index.d.ts +1 -1
  329. package/dist/types/modal/index.d.ts +2 -2
  330. package/dist/types/modal/modal.d.ts +11 -0
  331. package/dist/types/page/props.d.ts +1 -1
  332. package/dist/types/pro-search/props.d.ts +1 -1
  333. package/dist/types/pro-table/components/index.d.ts +1 -1
  334. package/dist/types/pro-table/components/table.d.ts +2 -1
  335. package/dist/types/pro-table/hooks/use-row-selection.d.ts +1 -1
  336. package/dist/types/pro-table/hooks/use-table-columns.d.ts +1 -1
  337. package/dist/types/pro-table/index.d.ts +1 -1
  338. package/dist/types/pro-table/props.d.ts +1 -1
  339. package/dist/types/pro-table/store.d.ts +3 -3
  340. package/dist/types/pro-table/types.d.ts +1 -1
  341. package/dist/types/select/hooks/index.d.ts +1 -0
  342. package/dist/types/select/hooks/use-dictionary-options-select.d.ts +18 -0
  343. package/dist/types/select/index.d.ts +1 -1
  344. package/package.json +10 -10
  345. package/dist/cjs/form-drawer/components/form-actions.cjs +0 -1
  346. package/dist/cjs/form-drawer/components/index.cjs +0 -1
  347. package/dist/cjs/form-modal/components/draggable-wrapper.cjs +0 -1
  348. package/dist/cjs/form-modal/components/form-actions.cjs +0 -1
  349. package/dist/cjs/form-modal/components/index.cjs +0 -1
  350. package/dist/es/form-drawer/components/form-actions.js +0 -26
  351. package/dist/es/form-drawer/components/index.js +0 -2
  352. package/dist/es/form-modal/components/draggable-wrapper.js +0 -52
  353. package/dist/es/form-modal/components/form-actions.js +0 -26
  354. package/dist/es/form-modal/components/index.js +0 -3
  355. package/dist/types/form-drawer/components/form-actions.d.ts +0 -19
  356. package/dist/types/form-drawer/components/index.d.ts +0 -1
  357. package/dist/types/form-modal/components/draggable-wrapper.d.ts +0 -9
  358. package/dist/types/form-modal/components/form-actions.d.ts +0 -19
  359. package/dist/types/form-modal/components/index.d.ts +0 -2
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
2
2
  import { DatePicker as e } from "antd";
3
3
  export { e as DatePicker };
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
2
2
  import { Descriptions as e } from "antd";
3
3
  export { e as Descriptions };
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
2
2
  import { Divider as e } from "antd";
3
3
  export { e as Divider };
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
2
2
  import { Drawer as e } from "antd";
3
3
  export { e as Drawer };
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
2
2
  import { Dropdown as e } from "antd";
3
3
  export { e as Dropdown };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
2
2
  import { Icon as e } from "../icon/index.js";
3
3
  import { PlaceholderIcon as t } from "./placeholder-icon.js";
4
4
  import { UnknownIcon as n } from "./unknown-icon.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
2
2
  import { globalCssVars as e } from "../_base/constants/css-vars.js";
3
3
  import { jsx as t } from "@emotion/react/jsx-runtime";
4
4
  //#region src/dynamic-icon/placeholder-icon.tsx
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
2
2
  import { jsx as e, jsxs as t } from "@emotion/react/jsx-runtime";
3
3
  //#region src/dynamic-icon/unknown-icon.tsx
4
4
  function n({ size: n = "1.2em", ...r }) {
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
2
2
  import "./empty.js";
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
2
2
  import { Flex as e } from "antd";
3
3
  export { e as Flex };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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
@@ -15,6 +15,6 @@ var n = /* @__PURE__ */ t({
15
15
  minHeight: 0
16
16
  }
17
17
  }
18
- }, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHeUIiLCJmaWxlIjoic3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSBcIkBlbW90aW9uL3JlYWN0XCI7XG5pbXBvcnQgeyBnbG9iYWxDc3NWYXJzIH0gZnJvbSBcIi4uL19iYXNlXCI7XG5cbmV4cG9ydCBjb25zdCBjb250YWluZXIgPSBjc3Moe1xuICBoZWlnaHQ6IFwiMTAwJVwiLFxuICBkaXNwbGF5OiBcImZsZXhcIixcbiAgZmxleERpcmVjdGlvbjogXCJjb2x1bW5cIixcbiAgXCImLnZlZi1jYXJkXCI6IHtcbiAgICBcIi0tdmVmLWNhcmQtaGVhZGVyLXBhZGRpbmdcIjogZ2xvYmFsQ3NzVmFycy5zcGFjaW5nTWQsXG4gICAgXCItLXZlZi1jYXJkLWJvZHktcGFkZGluZ1wiOiBnbG9iYWxDc3NWYXJzLnNwYWNpbmdNZCxcbiAgICBcIiYgPiAudmVmLWNhcmQtaGVhZFwiOiB7XG4gICAgICBmbGV4OiBcIm5vbmVcIlxuICAgIH0sXG4gICAgXCImID4gLnZlZi1jYXJkLWJvZHlcIjoge1xuICAgICAgZmxleDogXCJhdXRvXCIsXG4gICAgICBtaW5IZWlnaHQ6IDBcbiAgICB9XG4gIH1cbn0pO1xuIl19 */");
18
+ }, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFJeUIiLCJmaWxlIjoic3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSBcIkBlbW90aW9uL3JlYWN0XCI7XG5cbmltcG9ydCB7IGdsb2JhbENzc1ZhcnMgfSBmcm9tIFwiLi4vX2Jhc2VcIjtcblxuZXhwb3J0IGNvbnN0IGNvbnRhaW5lciA9IGNzcyh7XG4gIGhlaWdodDogXCIxMDAlXCIsXG4gIGRpc3BsYXk6IFwiZmxleFwiLFxuICBmbGV4RGlyZWN0aW9uOiBcImNvbHVtblwiLFxuICBcIiYudmVmLWNhcmRcIjoge1xuICAgIFwiLS12ZWYtY2FyZC1oZWFkZXItcGFkZGluZ1wiOiBnbG9iYWxDc3NWYXJzLnNwYWNpbmdNZCxcbiAgICBcIi0tdmVmLWNhcmQtYm9keS1wYWRkaW5nXCI6IGdsb2JhbENzc1ZhcnMuc3BhY2luZ01kLFxuICAgIFwiJiA+IC52ZWYtY2FyZC1oZWFkXCI6IHtcbiAgICAgIGZsZXg6IFwibm9uZVwiXG4gICAgfSxcbiAgICBcIiYgPiAudmVmLWNhcmQtYm9keVwiOiB7XG4gICAgICBmbGV4OiBcImF1dG9cIixcbiAgICAgIG1pbkhlaWdodDogMFxuICAgIH1cbiAgfVxufSk7XG4iXX0= */");
19
19
  //#endregion
20
20
  export { n as container };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
2
2
  import { FloatButton as e } from "antd";
3
3
  export { e as FloatButton };
@@ -1,12 +1,12 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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";
5
5
  import { useMemo as i } from "react";
6
6
  import { DisabledProvider as a } from "@vef-framework-react/core";
7
7
  //#region src/form/components/form.tsx
8
- function o({ layout: o = n.layout, labelAlign: s = n.labelAlign, labelWidth: c = n.labelWidth, disabled: l = !1, children: u, ...d }) {
9
- let { handleSubmit: f, reset: p } = e(), m = i(() => ({
8
+ function o({ layout: o = n.layout, labelAlign: s = n.labelAlign, labelWidth: c = n.labelWidth, disabled: l = !1, component: u, children: d, ...f }) {
9
+ let p = u ?? "form", { handleSubmit: m, reset: h } = e(), g = i(() => ({
10
10
  layout: o,
11
11
  labelAlign: s,
12
12
  labelWidth: c
@@ -14,22 +14,22 @@ function o({ layout: o = n.layout, labelAlign: s = n.labelAlign, labelWidth: c =
14
14
  o,
15
15
  s,
16
16
  c
17
- ]);
18
- function h(e) {
19
- e.preventDefault(), p();
20
- }
21
- function g(e) {
22
- e.preventDefault(), f();
23
- }
24
- return /* @__PURE__ */ r("form", {
25
- ...d,
26
- onReset: h,
27
- onSubmit: g,
17
+ ]), _ = p === "form";
18
+ return /* @__PURE__ */ r(p, {
19
+ ...f,
20
+ ..._ && {
21
+ onReset: (e) => {
22
+ e.preventDefault(), h();
23
+ },
24
+ onSubmit: (e) => {
25
+ e.preventDefault(), m();
26
+ }
27
+ },
28
28
  children: /* @__PURE__ */ r(t, {
29
- value: m,
29
+ value: g,
30
30
  children: /* @__PURE__ */ r(a, {
31
31
  value: l,
32
- children: u
32
+ children: d
33
33
  })
34
34
  })
35
35
  });
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
2
2
  import "./form-context.js";
3
3
  import "./form-layout.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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,21 +1,22 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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";
5
5
  import { DatePicker as r } from "../../../date-picker/index.js";
6
6
  import { jsx as i } from "@emotion/react/jsx-runtime";
7
- import { useDisabled as a } from "@vef-framework-react/core";
7
+ import { tryParseDate as a } from "@vef-framework-react/shared";
8
+ import { useDisabled as o } from "@vef-framework-react/core";
8
9
  //#region src/form/fields/date-picker/index.tsx
9
- function o({ disabled: n, ...o }) {
10
- let { state: { value: s }, handleChange: c } = t(), l = a() || n;
10
+ function s({ disabled: n, valueAsObject: s, ...c }) {
11
+ let { state: { value: l }, handleChange: u } = t(), d = o() || n;
11
12
  return /* @__PURE__ */ i(r, {
12
- ...o,
13
+ ...c,
13
14
  css: e,
14
- disabled: l,
15
- value: s,
16
- onChange: c
15
+ disabled: d,
16
+ value: typeof l == "string" ? a(l) : l,
17
+ onChange: s ? u : (e, t) => u(t || null)
17
18
  });
18
19
  }
19
- var s = n("DatePickerField", o);
20
+ var c = n("DatePickerField", s);
20
21
  //#endregion
21
- export { s as DatePickerField };
22
+ export { c as DatePickerField };
@@ -1,21 +1,34 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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";
5
5
  import { DatePicker as r } from "../../../date-picker/index.js";
6
6
  import { jsx as i } from "@emotion/react/jsx-runtime";
7
- import { useDisabled as a } from "@vef-framework-react/core";
7
+ import { isArray as a, isNullish as o, isString as s, parseDate as c } from "@vef-framework-react/shared";
8
+ import { useDisabled as l } from "@vef-framework-react/core";
8
9
  //#region src/form/fields/date-range-picker/index.tsx
9
- function o({ disabled: n, ...o }) {
10
- let { state: { value: s }, handleChange: c } = t(), l = a() || n;
10
+ function u(e) {
11
+ if (a(e)) {
12
+ let [t, n] = e;
13
+ return [s(t) ? c(t) : t, s(n) ? c(n) : n];
14
+ }
15
+ return e;
16
+ }
17
+ function d({ disabled: n, valueAsObject: a, ...s }) {
18
+ let { state: { value: c }, handleChange: d } = t(), f = l() || n;
11
19
  return /* @__PURE__ */ i(r.RangePicker, {
12
- ...o,
20
+ ...s,
13
21
  css: e,
14
- disabled: l,
15
- value: s,
16
- onChange: c
22
+ disabled: f,
23
+ value: u(c),
24
+ onChange: a ? (e) => {
25
+ if (e) {
26
+ let [t, n] = e;
27
+ !o(t) && !o(n) && d([t, n]);
28
+ }
29
+ } : (e, t) => d(t)
17
30
  });
18
31
  }
19
- var s = n("DateRangePickerField", o);
32
+ var f = n("DateRangePickerField", d);
20
33
  //#endregion
21
- export { s as DateRangePickerField };
34
+ export { f as DateRangePickerField };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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,21 +1,22 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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";
5
5
  import { TimePicker as r } from "../../../time-picker/index.js";
6
6
  import { jsx as i } from "@emotion/react/jsx-runtime";
7
- import { useDisabled as a } from "@vef-framework-react/core";
7
+ import { tryParseDate as a } from "@vef-framework-react/shared";
8
+ import { useDisabled as o } from "@vef-framework-react/core";
8
9
  //#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;
10
+ function s({ disabled: n, valueAsObject: s, ...c }) {
11
+ let { state: { value: l }, handleChange: u } = t(), d = o() || n;
11
12
  return /* @__PURE__ */ i(r, {
12
- ...o,
13
+ ...c,
13
14
  css: e,
14
- disabled: l,
15
- value: s,
16
- onChange: c
15
+ disabled: d,
16
+ value: typeof l == "string" ? a(l) : l,
17
+ onChange: s ? u : (e, t) => u(t || null)
17
18
  });
18
19
  }
19
- var s = n("TimePickerField", o);
20
+ var c = n("TimePickerField", s);
20
21
  //#endregion
21
- export { s as TimePickerField };
22
+ export { c as TimePickerField };
@@ -1,21 +1,34 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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";
5
5
  import { TimePicker as r } from "../../../time-picker/index.js";
6
6
  import { jsx as i } from "@emotion/react/jsx-runtime";
7
- import { useDisabled as a } from "@vef-framework-react/core";
7
+ import { isArray as a, isNullish as o, isString as s, parseDate as c } from "@vef-framework-react/shared";
8
+ import { useDisabled as l } from "@vef-framework-react/core";
8
9
  //#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;
10
+ function u(e) {
11
+ if (a(e)) {
12
+ let [t, n] = e;
13
+ return [s(t) ? c(t) : t, s(n) ? c(n) : n];
14
+ }
15
+ return e;
16
+ }
17
+ function d({ disabled: n, valueAsObject: a, ...s }) {
18
+ let { state: { value: c }, handleChange: d } = t(), f = l() || n;
11
19
  return /* @__PURE__ */ i(r.RangePicker, {
12
- ...o,
20
+ ...s,
13
21
  css: e,
14
- disabled: l,
15
- value: s,
16
- onChange: c
22
+ disabled: f,
23
+ value: u(c),
24
+ onChange: a ? (e) => {
25
+ if (e) {
26
+ let [t, n] = e;
27
+ !o(t) && !o(n) && d([t, n]);
28
+ }
29
+ } : (e, t) => d(t)
17
30
  });
18
31
  }
19
- var s = n("TimeRangePickerField", o);
32
+ var f = n("TimeRangePickerField", d);
20
33
  //#endregion
21
- export { s as TimeRangePickerField };
34
+ export { f as TimeRangePickerField };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
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 { Upload as n } from "../../../upload/index.js";
@@ -0,0 +1,40 @@
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
2
+ import { Icon as e } from "../icon/index.js";
3
+ import { useFormContext as t } from "./form.js";
4
+ import { Fragment as n, jsx as r, jsxs as i } from "@emotion/react/jsx-runtime";
5
+ import { memo as a, useCallback as o } from "react";
6
+ import { CheckIcon as s } from "lucide-react";
7
+ var c = {
8
+ children: "提交",
9
+ icon: /* @__PURE__ */ r(e, { component: s })
10
+ }, l = { children: "重置" };
11
+ function u({ submitButtonProps: e = c }) {
12
+ let { SubmitButton: n, handleSubmit: i } = t();
13
+ return /* @__PURE__ */ r(n, {
14
+ ...e,
15
+ onSubmit: i
16
+ });
17
+ }
18
+ var d = a(u);
19
+ d.displayName = "DefaultSubmitButton";
20
+ function f({ resetButtonProps: e = l, onReset: n }) {
21
+ let { ResetButton: i, reset: a } = t(), s = o(() => {
22
+ a(), n?.();
23
+ }, [a, n]);
24
+ return e ? /* @__PURE__ */ r(i, {
25
+ ...e,
26
+ onReset: s
27
+ }) : null;
28
+ }
29
+ var p = a(f);
30
+ p.displayName = "DefaultResetButton";
31
+ function m({ submitButtonProps: e = c, resetButtonProps: t = l, onReset: a }) {
32
+ return /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r(p, {
33
+ resetButtonProps: t,
34
+ onReset: a
35
+ }), /* @__PURE__ */ r(d, { submitButtonProps: e })] });
36
+ }
37
+ var h = a(m);
38
+ h.displayName = "FormActions";
39
+ //#endregion
40
+ export { p as DefaultResetButton, d as DefaultSubmitButton, h as FormActions };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
2
2
  import { fieldContext as e, formContext as t, useFormContext as n } from "./contexts/form-context.js";
3
3
  import { formComponents as r } from "./components/index.js";
4
4
  import { fieldComponents as i } from "./fields/index.js";
@@ -9,6 +9,9 @@ var { useAppForm: c, withForm: l, withFieldGroup: u } = a({
9
9
  fieldContext: e,
10
10
  fieldComponents: i,
11
11
  formComponents: r
12
- }), d = n;
12
+ });
13
+ function d() {
14
+ return n();
15
+ }
13
16
  //#endregion
14
17
  export { o as createFormOptions, c as useAppForm, d as useFormContext, s as useFormStore, u as withFieldGroup, l as withForm };
@@ -0,0 +1,15 @@
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
2
+ //#region src/form/helpers/create-field.ts
3
+ function e(e) {
4
+ return e;
5
+ }
6
+ function t(t, n) {
7
+ return {
8
+ name: t,
9
+ validators: n.validators ? e(n.validators) : void 0,
10
+ render: n.render,
11
+ meta: n.meta
12
+ };
13
+ }
14
+ //#endregion
15
+ export { t as createField };
@@ -1,2 +1,3 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
2
+ import "./create-field.js";
2
3
  import "./with-form-item.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
2
2
  import { useFieldContext as e } from "../contexts/form-context.js";
3
3
  import { useFormItemProps as t } from "../hooks/use-form-item-props.js";
4
4
  import { jsx as n } from "@emotion/react/jsx-runtime";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
2
2
  import { useFormLayout as e } from "../contexts/form-layout.js";
3
3
  import { useLabelWidth as t } from "./use-label-width.js";
4
4
  import { useMemo as n } from "react";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.6 made by Venus | 2026-04-01T03:01:33.796Z */
1
+ /*! @vef-framework-react/components v2.1.7 made by Venus | 2026-04-24T14:03:19.726Z */
2
2
  import { showWarningMessage as e } from "../../_base/helpers/message.js";
3
3
  import { useMemo as t } from "react";
4
4
  //#region src/form/hooks/use-label-width.ts