@vef-framework-react/components 2.1.4 → 2.1.5

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 (421) hide show
  1. package/dist/cjs/_base/constants/event.cjs +1 -0
  2. package/dist/cjs/_base/constants/index.cjs +1 -1
  3. package/dist/cjs/_base/constants/symbols.cjs +1 -0
  4. package/dist/cjs/_base/helpers/event.cjs +1 -0
  5. package/dist/cjs/_base/helpers/index.cjs +1 -1
  6. package/dist/cjs/_base/index.cjs +1 -1
  7. package/dist/cjs/charts/chart.cjs +1 -1
  8. package/dist/cjs/charts/hooks/use-chart.cjs +1 -1
  9. package/dist/cjs/config-provider/context-holder.cjs +1 -1
  10. package/dist/cjs/config-provider/use-config-provider.cjs +1 -1
  11. package/dist/cjs/crud/components/action-button-group.cjs +1 -0
  12. package/dist/cjs/crud/components/index.cjs +1 -0
  13. package/dist/cjs/crud/components/main.cjs +1 -0
  14. package/dist/cjs/crud/components/mutation-holder.cjs +1 -0
  15. package/dist/cjs/crud/components/operation-button-group.cjs +1 -0
  16. package/dist/cjs/crud/components/scene-form.cjs +1 -0
  17. package/dist/cjs/crud/components/selection-indicator.cjs +1 -0
  18. package/dist/cjs/crud/components/toolbar-actions.cjs +1 -0
  19. package/dist/cjs/crud/components/toolbar.cjs +1 -0
  20. package/dist/cjs/crud/event.cjs +1 -0
  21. package/dist/cjs/crud/helpers.cjs +1 -0
  22. package/dist/cjs/crud/hooks/index.cjs +1 -0
  23. package/dist/cjs/crud/hooks/use-query-observer.cjs +1 -0
  24. package/dist/cjs/crud/hooks/use-search-values.cjs +1 -0
  25. package/dist/cjs/crud/hooks/use-selected-rows.cjs +1 -0
  26. package/dist/cjs/crud/index.cjs +1 -0
  27. package/dist/cjs/crud/store.cjs +1 -0
  28. package/dist/cjs/crud/styles.cjs +1 -0
  29. package/dist/cjs/crud-page/index.cjs +1 -0
  30. package/dist/cjs/flex-card/index.cjs +1 -0
  31. package/dist/cjs/flex-card/styles.cjs +1 -0
  32. package/dist/cjs/form-drawer/components/form-actions.cjs +1 -0
  33. package/dist/cjs/form-drawer/components/index.cjs +1 -0
  34. package/dist/cjs/form-drawer/index.cjs +1 -0
  35. package/dist/cjs/form-modal/components/draggable-wrapper.cjs +1 -0
  36. package/dist/cjs/form-modal/components/form-actions.cjs +1 -0
  37. package/dist/cjs/form-modal/components/index.cjs +1 -0
  38. package/dist/cjs/form-modal/index.cjs +1 -0
  39. package/dist/cjs/grid/hooks/use-container-width.cjs +1 -1
  40. package/dist/cjs/grid/index.cjs +1 -1
  41. package/dist/cjs/index.cjs +1 -1
  42. package/dist/cjs/logo-icon/index.cjs +1 -0
  43. package/dist/cjs/page/components/aside-panel.cjs +1 -0
  44. package/dist/cjs/page/components/index.cjs +1 -0
  45. package/dist/cjs/page/components/resize-handle.cjs +1 -0
  46. package/dist/cjs/page/components/scroll-content.cjs +1 -0
  47. package/dist/cjs/page/hooks/index.cjs +1 -0
  48. package/dist/cjs/page/hooks/use-page-key.cjs +1 -0
  49. package/dist/cjs/page/hooks/use-resize.cjs +1 -0
  50. package/dist/cjs/page/index.cjs +1 -0
  51. package/dist/cjs/page/styles.cjs +1 -0
  52. package/dist/cjs/page/viewport-context.cjs +1 -0
  53. package/dist/cjs/pro-search/components/advanced-search-toggler.cjs +1 -0
  54. package/dist/cjs/pro-search/components/advanced-search.cjs +1 -0
  55. package/dist/cjs/pro-search/components/index.cjs +1 -0
  56. package/dist/cjs/pro-search/components/search-actions.cjs +1 -0
  57. package/dist/cjs/pro-search/index.cjs +1 -0
  58. package/dist/cjs/pro-search/styles.cjs +1 -0
  59. package/dist/cjs/pro-table/components/column-setting-item.cjs +1 -0
  60. package/dist/cjs/pro-table/components/column-settings-panel.cjs +1 -0
  61. package/dist/cjs/pro-table/components/column-settings.cjs +1 -0
  62. package/dist/cjs/pro-table/components/index.cjs +1 -0
  63. package/dist/cjs/pro-table/components/operation-button-group.cjs +1 -0
  64. package/dist/cjs/pro-table/components/ref.cjs +1 -0
  65. package/dist/cjs/pro-table/components/table-subscriber.cjs +1 -0
  66. package/dist/cjs/pro-table/components/table-summary.cjs +1 -0
  67. package/dist/cjs/pro-table/components/table-title.cjs +1 -0
  68. package/dist/cjs/pro-table/components/table.cjs +1 -0
  69. package/dist/cjs/pro-table/components/width-popover.cjs +1 -0
  70. package/dist/cjs/pro-table/context.cjs +1 -0
  71. package/dist/cjs/pro-table/event.cjs +1 -0
  72. package/dist/cjs/pro-table/hooks/index.cjs +1 -0
  73. package/dist/cjs/pro-table/hooks/use-column-settings-persistence.cjs +1 -0
  74. package/dist/cjs/pro-table/hooks/use-row-selection.cjs +1 -0
  75. package/dist/cjs/pro-table/hooks/use-table-columns.cjs +1 -0
  76. package/dist/cjs/pro-table/index.cjs +1 -0
  77. package/dist/cjs/pro-table/store.cjs +1 -0
  78. package/dist/cjs/select/hooks/use-data-options-select.cjs +1 -1
  79. package/dist/cjs/table/index.cjs +1 -1
  80. package/dist/cjs/tree/hooks/use-data-options-tree.cjs +1 -1
  81. package/dist/cjs/tree-select/hooks/use-data-options-tree-select.cjs +1 -1
  82. package/dist/es/_base/constants/breakpoints.js +1 -1
  83. package/dist/es/_base/constants/common.js +1 -1
  84. package/dist/es/_base/constants/css-vars.js +1 -1
  85. package/dist/es/_base/constants/event.js +5 -0
  86. package/dist/es/_base/constants/index.js +3 -1
  87. package/dist/es/_base/constants/symbols.js +5 -0
  88. package/dist/es/_base/helpers/breakpoints.js +1 -1
  89. package/dist/es/_base/helpers/color.js +1 -1
  90. package/dist/es/_base/helpers/common.js +1 -1
  91. package/dist/es/_base/helpers/event.js +14 -0
  92. package/dist/es/_base/helpers/index.js +2 -1
  93. package/dist/es/_base/helpers/message.js +1 -1
  94. package/dist/es/_base/helpers/modal.js +1 -1
  95. package/dist/es/_base/helpers/notification.js +1 -1
  96. package/dist/es/_base/helpers/props.js +1 -1
  97. package/dist/es/_base/helpers/react.js +1 -1
  98. package/dist/es/_base/hooks/index.js +1 -1
  99. package/dist/es/_base/hooks/use-theme-tokens.js +1 -1
  100. package/dist/es/_base/index.js +4 -1
  101. package/dist/es/_base/styles/common.js +1 -1
  102. package/dist/es/_base/styles/index.js +1 -1
  103. package/dist/es/_base/types/breakpoints.js +1 -1
  104. package/dist/es/_base/types/common.js +1 -1
  105. package/dist/es/_base/types/index.js +1 -1
  106. package/dist/es/action-button/index.js +1 -1
  107. package/dist/es/action-button/use-action-button.js +1 -1
  108. package/dist/es/action-group/index.js +1 -1
  109. package/dist/es/action-group/use-action-group.js +1 -1
  110. package/dist/es/action-group/use-computed-action-buttons.js +1 -1
  111. package/dist/es/affix/index.js +1 -1
  112. package/dist/es/alert/index.js +1 -1
  113. package/dist/es/anchor/index.js +1 -1
  114. package/dist/es/auto-complete/index.js +1 -1
  115. package/dist/es/avatar/index.js +1 -1
  116. package/dist/es/badge/index.js +1 -1
  117. package/dist/es/bool/index.js +1 -1
  118. package/dist/es/breadcrumb/index.js +1 -1
  119. package/dist/es/button/index.js +1 -1
  120. package/dist/es/calendar/index.js +1 -1
  121. package/dist/es/card/index.js +1 -1
  122. package/dist/es/carousel/index.js +1 -1
  123. package/dist/es/cascader/index.js +1 -1
  124. package/dist/es/center/index.js +1 -1
  125. package/dist/es/charts/chart.js +6 -6
  126. package/dist/es/charts/helpers/group.js +1 -1
  127. package/dist/es/charts/helpers/index.js +1 -1
  128. package/dist/es/charts/hooks/index.js +1 -1
  129. package/dist/es/charts/hooks/use-chart.js +11 -11
  130. package/dist/es/charts/index.js +1 -1
  131. package/dist/es/charts/themes/index.js +1 -1
  132. package/dist/es/charts/themes/walden-dark.js +1 -1
  133. package/dist/es/charts/themes/walden.js +1 -1
  134. package/dist/es/charts/themes/wonderland-dark.js +1 -1
  135. package/dist/es/charts/themes/wonderland.js +1 -1
  136. package/dist/es/checkbox/index.js +1 -1
  137. package/dist/es/code-highlighter/index.js +1 -1
  138. package/dist/es/col/index.js +1 -1
  139. package/dist/es/collapse/index.js +1 -1
  140. package/dist/es/color-picker/index.js +1 -1
  141. package/dist/es/compact/index.js +1 -1
  142. package/dist/es/config-provider/app.js +1 -1
  143. package/dist/es/config-provider/constants.js +1 -1
  144. package/dist/es/config-provider/context-holder.js +5 -5
  145. package/dist/es/config-provider/css-vars.js +1 -1
  146. package/dist/es/config-provider/dark-mode-context.js +1 -1
  147. package/dist/es/config-provider/error-fallback.js +1 -1
  148. package/dist/es/config-provider/global-style.js +1 -1
  149. package/dist/es/config-provider/index.js +1 -1
  150. package/dist/es/config-provider/theme-config.js +1 -1
  151. package/dist/es/config-provider/use-config-provider.js +8 -8
  152. package/dist/es/crud/components/action-button-group.js +13 -0
  153. package/dist/es/crud/components/index.js +7 -0
  154. package/dist/es/crud/components/main.js +43 -0
  155. package/dist/es/crud/components/mutation-holder.js +32 -0
  156. package/dist/es/crud/components/operation-button-group.js +18 -0
  157. package/dist/es/crud/components/scene-form.js +48 -0
  158. package/dist/es/crud/components/selection-indicator.js +72 -0
  159. package/dist/es/crud/components/toolbar-actions.js +14 -0
  160. package/dist/es/crud/components/toolbar.js +29 -0
  161. package/dist/es/crud/event.js +8 -0
  162. package/dist/es/crud/helpers.js +18 -0
  163. package/dist/es/crud/hooks/index.js +4 -0
  164. package/dist/es/crud/hooks/use-query-observer.js +28 -0
  165. package/dist/es/crud/hooks/use-search-values.js +8 -0
  166. package/dist/es/crud/hooks/use-selected-rows.js +8 -0
  167. package/dist/es/crud/index.js +44 -0
  168. package/dist/es/crud/store.js +66 -0
  169. package/dist/es/crud/styles.js +20 -0
  170. package/dist/es/crud-page/index.js +23 -0
  171. package/dist/es/date-picker/index.js +1 -1
  172. package/dist/es/descriptions/index.js +1 -1
  173. package/dist/es/divider/index.js +1 -1
  174. package/dist/es/drawer/index.js +1 -1
  175. package/dist/es/dropdown/index.js +1 -1
  176. package/dist/es/dynamic-icon/index.js +1 -1
  177. package/dist/es/dynamic-icon/placeholder-icon.js +1 -1
  178. package/dist/es/dynamic-icon/unknown-icon.js +1 -1
  179. package/dist/es/empty/empty.js +1 -1
  180. package/dist/es/empty/index.js +1 -1
  181. package/dist/es/flex/index.js +1 -1
  182. package/dist/es/flex-card/index.js +14 -0
  183. package/dist/es/flex-card/styles.js +20 -0
  184. package/dist/es/flip-text/index.js +1 -1
  185. package/dist/es/float-button/index.js +1 -1
  186. package/dist/es/form/components/form.js +1 -1
  187. package/dist/es/form/components/index.js +1 -1
  188. package/dist/es/form/components/reset-button.js +1 -1
  189. package/dist/es/form/components/submit-button.js +1 -1
  190. package/dist/es/form/contexts/form-context.js +1 -1
  191. package/dist/es/form/contexts/form-layout.js +1 -1
  192. package/dist/es/form/contexts/index.js +1 -1
  193. package/dist/es/form/fields/auto-complete/index.js +1 -1
  194. package/dist/es/form/fields/bool/index.js +1 -1
  195. package/dist/es/form/fields/cascader/index.js +1 -1
  196. package/dist/es/form/fields/checkbox/index.js +1 -1
  197. package/dist/es/form/fields/color-picker/index.js +1 -1
  198. package/dist/es/form/fields/date-picker/index.js +8 -8
  199. package/dist/es/form/fields/date-range-picker/index.js +8 -8
  200. package/dist/es/form/fields/index.js +1 -1
  201. package/dist/es/form/fields/input/index.js +1 -1
  202. package/dist/es/form/fields/input-number/index.js +1 -1
  203. package/dist/es/form/fields/mentions/index.js +1 -1
  204. package/dist/es/form/fields/password/index.js +1 -1
  205. package/dist/es/form/fields/radio/index.js +1 -1
  206. package/dist/es/form/fields/rate/index.js +1 -1
  207. package/dist/es/form/fields/select/index.js +1 -1
  208. package/dist/es/form/fields/slider/index.js +8 -8
  209. package/dist/es/form/fields/textarea/index.js +1 -1
  210. package/dist/es/form/fields/time-picker/index.js +1 -1
  211. package/dist/es/form/fields/time-range-picker/index.js +1 -1
  212. package/dist/es/form/fields/transfer/index.js +1 -1
  213. package/dist/es/form/fields/tree-select/index.js +1 -1
  214. package/dist/es/form/fields/upload/index.js +1 -1
  215. package/dist/es/form/form.js +1 -1
  216. package/dist/es/form/helpers/index.js +1 -1
  217. package/dist/es/form/helpers/with-form-item.js +1 -1
  218. package/dist/es/form/hooks/use-form-item-props.js +1 -1
  219. package/dist/es/form/hooks/use-label-width.js +1 -1
  220. package/dist/es/form/index.js +1 -1
  221. package/dist/es/form/use-form.js +1 -1
  222. package/dist/es/form-drawer/components/form-actions.js +26 -0
  223. package/dist/es/form-drawer/components/index.js +2 -0
  224. package/dist/es/form-drawer/index.js +82 -0
  225. package/dist/es/form-modal/components/draggable-wrapper.js +52 -0
  226. package/dist/es/form-modal/components/form-actions.js +26 -0
  227. package/dist/es/form-modal/components/index.js +3 -0
  228. package/dist/es/form-modal/index.js +72 -0
  229. package/dist/es/grid/context.js +1 -1
  230. package/dist/es/grid/grid-item.js +1 -1
  231. package/dist/es/grid/hooks/index.js +1 -1
  232. package/dist/es/grid/hooks/use-container-breakpoints.js +1 -1
  233. package/dist/es/grid/hooks/use-container-width.js +6 -6
  234. package/dist/es/grid/hooks/use-grid-collapsed.js +1 -1
  235. package/dist/es/grid/hooks/use-normalized-gap.js +1 -1
  236. package/dist/es/grid/hooks/use-responsive-breakpoint.js +1 -1
  237. package/dist/es/grid/hooks/use-responsive-value.js +1 -1
  238. package/dist/es/grid/index.js +14 -14
  239. package/dist/es/grid/styles.js +1 -1
  240. package/dist/es/group/index.js +1 -1
  241. package/dist/es/icon/index.js +1 -1
  242. package/dist/es/icon-button/index.js +1 -1
  243. package/dist/es/image/index.js +1 -1
  244. package/dist/es/index.js +121 -106
  245. package/dist/es/input/index.js +1 -1
  246. package/dist/es/input-number/index.js +1 -1
  247. package/dist/es/keyboard/index.js +1 -1
  248. package/dist/es/list/index.js +1 -1
  249. package/dist/es/loader/index.js +1 -1
  250. package/dist/es/logo-icon/index.js +24 -0
  251. package/dist/es/mentions/index.js +1 -1
  252. package/dist/es/menu/index.js +1 -1
  253. package/dist/es/modal/index.js +1 -1
  254. package/dist/es/operation-button/index.js +1 -1
  255. package/dist/es/page/components/aside-panel.js +49 -0
  256. package/dist/es/page/components/index.js +4 -0
  257. package/dist/es/page/components/resize-handle.js +18 -0
  258. package/dist/es/page/components/scroll-content.js +55 -0
  259. package/dist/es/page/hooks/index.js +3 -0
  260. package/dist/es/page/hooks/use-page-key.js +12 -0
  261. package/dist/es/page/hooks/use-resize.js +32 -0
  262. package/dist/es/page/index.js +127 -0
  263. package/dist/es/page/styles.js +122 -0
  264. package/dist/es/page/viewport-context.js +12 -0
  265. package/dist/es/pagination/index.js +1 -1
  266. package/dist/es/permission-gate/index.js +1 -1
  267. package/dist/es/popconfirm/index.js +1 -1
  268. package/dist/es/popover/index.js +1 -1
  269. package/dist/es/pro-search/components/advanced-search-toggler.js +28 -0
  270. package/dist/es/pro-search/components/advanced-search.js +32 -0
  271. package/dist/es/pro-search/components/index.js +4 -0
  272. package/dist/es/pro-search/components/search-actions.js +25 -0
  273. package/dist/es/pro-search/index.js +57 -0
  274. package/dist/es/pro-search/styles.js +44 -0
  275. package/dist/es/pro-table/components/column-setting-item.js +170 -0
  276. package/dist/es/pro-table/components/column-settings-panel.js +93 -0
  277. package/dist/es/pro-table/components/column-settings.js +30 -0
  278. package/dist/es/pro-table/components/index.js +9 -0
  279. package/dist/es/pro-table/components/operation-button-group.js +18 -0
  280. package/dist/es/pro-table/components/ref.js +14 -0
  281. package/dist/es/pro-table/components/table-subscriber.js +17 -0
  282. package/dist/es/pro-table/components/table-summary.js +12 -0
  283. package/dist/es/pro-table/components/table-title.js +12 -0
  284. package/dist/es/pro-table/components/table.js +102 -0
  285. package/dist/es/pro-table/components/width-popover.js +76 -0
  286. package/dist/es/pro-table/context.js +13 -0
  287. package/dist/es/pro-table/event.js +8 -0
  288. package/dist/es/pro-table/hooks/index.js +4 -0
  289. package/dist/es/pro-table/hooks/use-column-settings-persistence.js +60 -0
  290. package/dist/es/pro-table/hooks/use-row-selection.js +29 -0
  291. package/dist/es/pro-table/hooks/use-table-columns.js +109 -0
  292. package/dist/es/pro-table/index.js +70 -0
  293. package/dist/es/pro-table/store.js +94 -0
  294. package/dist/es/progress/index.js +1 -1
  295. package/dist/es/qrcode/index.js +1 -1
  296. package/dist/es/radio/index.js +1 -1
  297. package/dist/es/rate/index.js +1 -1
  298. package/dist/es/result/index.js +1 -1
  299. package/dist/es/row/index.js +1 -1
  300. package/dist/es/scroll-area/index.js +1 -1
  301. package/dist/es/scroll-area/styles.js +1 -1
  302. package/dist/es/segmented/index.js +1 -1
  303. package/dist/es/select/hooks/index.js +1 -1
  304. package/dist/es/select/hooks/use-data-options-select.js +11 -11
  305. package/dist/es/select/index.js +1 -1
  306. package/dist/es/skeleton/index.js +1 -1
  307. package/dist/es/slider/index.js +1 -1
  308. package/dist/es/space/index.js +1 -1
  309. package/dist/es/space/space.js +1 -1
  310. package/dist/es/sparkles-text/index.js +1 -1
  311. package/dist/es/sparkles-text/sparkle.js +1 -1
  312. package/dist/es/spin/index.js +1 -1
  313. package/dist/es/split-text/index.js +1 -1
  314. package/dist/es/splitter/index.js +1 -1
  315. package/dist/es/stack/index.js +1 -1
  316. package/dist/es/statistic/index.js +1 -1
  317. package/dist/es/steps/index.js +1 -1
  318. package/dist/es/switch/index.js +1 -1
  319. package/dist/es/table/index.js +29 -28
  320. package/dist/es/table/use-pagination-props.js +1 -1
  321. package/dist/es/tabs/index.js +1 -1
  322. package/dist/es/tag/index.js +1 -1
  323. package/dist/es/time-picker/index.js +1 -1
  324. package/dist/es/timeline/index.js +1 -1
  325. package/dist/es/tooltip/index.js +1 -1
  326. package/dist/es/tour/index.js +1 -1
  327. package/dist/es/transfer/index.js +1 -1
  328. package/dist/es/tree/hooks/index.js +1 -1
  329. package/dist/es/tree/hooks/use-data-options-tree.js +8 -8
  330. package/dist/es/tree/index.js +1 -1
  331. package/dist/es/tree-select/hooks/index.js +1 -1
  332. package/dist/es/tree-select/hooks/use-data-options-tree-select.js +11 -11
  333. package/dist/es/tree-select/index.js +1 -1
  334. package/dist/es/typing-animation/index.js +1 -1
  335. package/dist/es/typography/index.js +1 -1
  336. package/dist/es/upload/index.js +1 -1
  337. package/dist/es/watermark/index.js +1 -1
  338. package/dist/types/_base/constants/event.d.ts +1 -0
  339. package/dist/types/_base/constants/index.d.ts +2 -0
  340. package/dist/types/_base/constants/symbols.d.ts +2 -0
  341. package/dist/types/_base/helpers/event.d.ts +3 -0
  342. package/dist/types/_base/helpers/index.d.ts +1 -0
  343. package/dist/types/_base/types/common.d.ts +4 -0
  344. package/dist/types/crud/components/action-button-group.d.ts +8 -0
  345. package/dist/types/crud/components/index.d.ts +6 -0
  346. package/dist/types/crud/components/main.d.ts +6 -0
  347. package/dist/types/crud/components/mutation-holder.d.ts +10 -0
  348. package/dist/types/crud/components/operation-button-group.d.ts +8 -0
  349. package/dist/types/crud/components/scene-form.d.ts +7 -0
  350. package/dist/types/crud/components/selection-indicator.d.ts +6 -0
  351. package/dist/types/crud/components/toolbar-actions.d.ts +6 -0
  352. package/dist/types/crud/components/toolbar.d.ts +8 -0
  353. package/dist/types/crud/event.d.ts +3 -0
  354. package/dist/types/crud/helpers.d.ts +20 -0
  355. package/dist/types/crud/hooks/index.d.ts +3 -0
  356. package/dist/types/crud/hooks/use-query-observer.d.ts +6 -0
  357. package/dist/types/crud/hooks/use-search-values.d.ts +2 -0
  358. package/dist/types/crud/hooks/use-selected-rows.d.ts +2 -0
  359. package/dist/types/crud/index.d.ts +8 -0
  360. package/dist/types/crud/props.d.ts +171 -0
  361. package/dist/types/crud/store.d.ts +146 -0
  362. package/dist/types/crud/styles.d.ts +3 -0
  363. package/dist/types/crud/types.d.ts +55 -0
  364. package/dist/types/crud-page/index.d.ts +3 -0
  365. package/dist/types/crud-page/props.d.ts +57 -0
  366. package/dist/types/dynamic-icon/index.d.ts +1 -1
  367. package/dist/types/flex-card/index.d.ts +3 -0
  368. package/dist/types/flex-card/props.d.ts +2 -0
  369. package/dist/types/flex-card/styles.d.ts +2 -0
  370. package/dist/types/form-drawer/components/form-actions.d.ts +19 -0
  371. package/dist/types/form-drawer/components/index.d.ts +1 -0
  372. package/dist/types/form-drawer/index.d.ts +5 -0
  373. package/dist/types/form-drawer/props.d.ts +80 -0
  374. package/dist/types/form-modal/components/draggable-wrapper.d.ts +9 -0
  375. package/dist/types/form-modal/components/form-actions.d.ts +19 -0
  376. package/dist/types/form-modal/components/index.d.ts +2 -0
  377. package/dist/types/form-modal/index.d.ts +5 -0
  378. package/dist/types/form-modal/props.d.ts +81 -0
  379. package/dist/types/index.d.ts +11 -1
  380. package/dist/types/logo-icon/index.d.ts +3 -0
  381. package/dist/types/logo-icon/props.d.ts +4 -0
  382. package/dist/types/page/components/aside-panel.d.ts +11 -0
  383. package/dist/types/page/components/index.d.ts +3 -0
  384. package/dist/types/page/components/resize-handle.d.ts +7 -0
  385. package/dist/types/page/components/scroll-content.d.ts +8 -0
  386. package/dist/types/page/hooks/index.d.ts +2 -0
  387. package/dist/types/page/hooks/use-page-key.d.ts +1 -0
  388. package/dist/types/page/hooks/use-resize.d.ts +15 -0
  389. package/dist/types/page/index.d.ts +4 -0
  390. package/dist/types/page/props.d.ts +140 -0
  391. package/dist/types/page/styles.d.ts +17 -0
  392. package/dist/types/page/viewport-context.d.ts +7 -0
  393. package/dist/types/pro-search/components/advanced-search-toggler.d.ts +7 -0
  394. package/dist/types/pro-search/components/advanced-search.d.ts +6 -0
  395. package/dist/types/pro-search/components/index.d.ts +3 -0
  396. package/dist/types/pro-search/components/search-actions.d.ts +10 -0
  397. package/dist/types/pro-search/index.d.ts +5 -0
  398. package/dist/types/pro-search/props.d.ts +66 -0
  399. package/dist/types/pro-search/styles.d.ts +6 -0
  400. package/dist/types/pro-table/components/column-setting-item.d.ts +12 -0
  401. package/dist/types/pro-table/components/column-settings-panel.d.ts +2 -0
  402. package/dist/types/pro-table/components/column-settings.d.ts +6 -0
  403. package/dist/types/pro-table/components/index.d.ts +8 -0
  404. package/dist/types/pro-table/components/operation-button-group.d.ts +7 -0
  405. package/dist/types/pro-table/components/ref.d.ts +3 -0
  406. package/dist/types/pro-table/components/table-subscriber.d.ts +9 -0
  407. package/dist/types/pro-table/components/table-summary.d.ts +7 -0
  408. package/dist/types/pro-table/components/table-title.d.ts +7 -0
  409. package/dist/types/pro-table/components/table.d.ts +12 -0
  410. package/dist/types/pro-table/components/width-popover.d.ts +9 -0
  411. package/dist/types/pro-table/context.d.ts +5 -0
  412. package/dist/types/pro-table/event.d.ts +16 -0
  413. package/dist/types/pro-table/hooks/index.d.ts +3 -0
  414. package/dist/types/pro-table/hooks/use-column-settings-persistence.d.ts +7 -0
  415. package/dist/types/pro-table/hooks/use-row-selection.d.ts +7 -0
  416. package/dist/types/pro-table/hooks/use-table-columns.d.ts +13 -0
  417. package/dist/types/pro-table/index.d.ts +11 -0
  418. package/dist/types/pro-table/props.d.ts +127 -0
  419. package/dist/types/pro-table/store.d.ts +105 -0
  420. package/dist/types/pro-table/types.d.ts +103 -0
  421. package/package.json +6 -6
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/components v2.1.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
2
2
  import "./empty.js";
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/components v2.1.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
2
2
  import { Flex as e } from "antd";
3
3
  export { e as Flex };
@@ -0,0 +1,14 @@
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
2
+ import { Card as e } from "../card/index.js";
3
+ import { container as t } from "./styles.js";
4
+ import { jsx as n } from "@emotion/react/jsx-runtime";
5
+ //#region src/flex-card/index.tsx
6
+ function r({ variant: r = "outlined", ...i }) {
7
+ return /* @__PURE__ */ n(e, {
8
+ css: t,
9
+ variant: r,
10
+ ...i
11
+ });
12
+ }
13
+ //#endregion
14
+ export { r as FlexCard };
@@ -0,0 +1,20 @@
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
2
+ import { globalCssVars as e } from "../_base/constants/css-vars.js";
3
+ import { css as t } from "@emotion/react";
4
+ //#region src/flex-card/styles.ts
5
+ var n = /* @__PURE__ */ t({
6
+ height: "100%",
7
+ display: "flex",
8
+ flexDirection: "column",
9
+ "&.vef-card": {
10
+ "--vef-card-header-padding": e.spacingMd,
11
+ "--vef-card-body-padding": e.spacingMd,
12
+ "& > .vef-card-head": { flex: "none" },
13
+ "& > .vef-card-body": {
14
+ flex: "auto",
15
+ minHeight: 0
16
+ }
17
+ }
18
+ }, process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN0eWxlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFHeUIiLCJmaWxlIjoic3R5bGVzLnRzIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgY3NzIH0gZnJvbSBcIkBlbW90aW9uL3JlYWN0XCI7XG5pbXBvcnQgeyBnbG9iYWxDc3NWYXJzIH0gZnJvbSBcIi4uL19iYXNlXCI7XG5cbmV4cG9ydCBjb25zdCBjb250YWluZXIgPSBjc3Moe1xuICBoZWlnaHQ6IFwiMTAwJVwiLFxuICBkaXNwbGF5OiBcImZsZXhcIixcbiAgZmxleERpcmVjdGlvbjogXCJjb2x1bW5cIixcbiAgXCImLnZlZi1jYXJkXCI6IHtcbiAgICBcIi0tdmVmLWNhcmQtaGVhZGVyLXBhZGRpbmdcIjogZ2xvYmFsQ3NzVmFycy5zcGFjaW5nTWQsXG4gICAgXCItLXZlZi1jYXJkLWJvZHktcGFkZGluZ1wiOiBnbG9iYWxDc3NWYXJzLnNwYWNpbmdNZCxcbiAgICBcIiYgPiAudmVmLWNhcmQtaGVhZFwiOiB7XG4gICAgICBmbGV4OiBcIm5vbmVcIlxuICAgIH0sXG4gICAgXCImID4gLnZlZi1jYXJkLWJvZHlcIjoge1xuICAgICAgZmxleDogXCJhdXRvXCIsXG4gICAgICBtaW5IZWlnaHQ6IDBcbiAgICB9XG4gIH1cbn0pO1xuIl19 */");
19
+ //#endregion
20
+ export { n as container };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
2
2
  import { FloatButton as e } from "antd";
3
3
  export { e as FloatButton };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
2
2
  import "./form-context.js";
3
3
  import "./form-layout.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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,14 +1,14 @@
1
- /*! @vef-framework-react/components v2.1.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
2
2
  import { fullWidth as e } from "../../../_base/styles/common.js";
3
- import { DatePicker as t } from "../../../date-picker/index.js";
4
- import { useFieldContext as n } from "../../contexts/form-context.js";
5
- import { withFormItem as r } from "../../helpers/with-form-item.js";
3
+ import { useFieldContext as t } from "../../contexts/form-context.js";
4
+ import { withFormItem as n } from "../../helpers/with-form-item.js";
5
+ import { DatePicker as r } from "../../../date-picker/index.js";
6
6
  import { jsx as i } from "@emotion/react/jsx-runtime";
7
7
  import { useDisabled as a } from "@vef-framework-react/core";
8
8
  //#region src/form/fields/date-picker/index.tsx
9
- function o({ disabled: r, ...o }) {
10
- let { state: { value: s }, handleChange: c } = n(), l = a() || r;
11
- return /* @__PURE__ */ i(t, {
9
+ function o({ disabled: n, ...o }) {
10
+ let { state: { value: s }, handleChange: c } = t(), l = a() || n;
11
+ return /* @__PURE__ */ i(r, {
12
12
  ...o,
13
13
  css: e,
14
14
  disabled: l,
@@ -16,6 +16,6 @@ function o({ disabled: r, ...o }) {
16
16
  onChange: c
17
17
  });
18
18
  }
19
- var s = r("DatePickerField", o);
19
+ var s = n("DatePickerField", o);
20
20
  //#endregion
21
21
  export { s as DatePickerField };
@@ -1,14 +1,14 @@
1
- /*! @vef-framework-react/components v2.1.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
2
2
  import { fullWidth as e } from "../../../_base/styles/common.js";
3
- import { DatePicker as t } from "../../../date-picker/index.js";
4
- import { useFieldContext as n } from "../../contexts/form-context.js";
5
- import { withFormItem as r } from "../../helpers/with-form-item.js";
3
+ import { useFieldContext as t } from "../../contexts/form-context.js";
4
+ import { withFormItem as n } from "../../helpers/with-form-item.js";
5
+ import { DatePicker as r } from "../../../date-picker/index.js";
6
6
  import { jsx as i } from "@emotion/react/jsx-runtime";
7
7
  import { useDisabled as a } from "@vef-framework-react/core";
8
8
  //#region src/form/fields/date-range-picker/index.tsx
9
- function o({ disabled: r, ...o }) {
10
- let { state: { value: s }, handleChange: c } = n(), l = a() || r;
11
- return /* @__PURE__ */ i(t.RangePicker, {
9
+ function o({ disabled: n, ...o }) {
10
+ let { state: { value: s }, handleChange: c } = t(), l = a() || n;
11
+ return /* @__PURE__ */ i(r.RangePicker, {
12
12
  ...o,
13
13
  css: e,
14
14
  disabled: l,
@@ -16,6 +16,6 @@ function o({ disabled: r, ...o }) {
16
16
  onChange: c
17
17
  });
18
18
  }
19
- var s = r("DateRangePickerField", o);
19
+ var s = n("DateRangePickerField", o);
20
20
  //#endregion
21
21
  export { s as DateRangePickerField };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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,19 +1,19 @@
1
- /*! @vef-framework-react/components v2.1.4 made by Venus | 2026-03-30T03:49:21.089Z */
2
- import { useFieldContext as e } from "../../contexts/form-context.js";
3
- import { withFormItem as t } from "../../helpers/with-form-item.js";
4
- import { Slider as n } from "../../../slider/index.js";
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
2
+ import { Slider as e } from "../../../slider/index.js";
3
+ import { useFieldContext as t } from "../../contexts/form-context.js";
4
+ import { withFormItem as n } from "../../helpers/with-form-item.js";
5
5
  import { jsx as r } from "@emotion/react/jsx-runtime";
6
6
  import { useDisabled as i } from "@vef-framework-react/core";
7
7
  //#region src/form/fields/slider/index.tsx
8
- function a({ disabled: t, ...a }) {
9
- let { state: { value: o }, handleChange: s } = e(), c = i() || t;
10
- return /* @__PURE__ */ r(n, {
8
+ function a({ disabled: n, ...a }) {
9
+ let { state: { value: o }, handleChange: s } = t(), c = i() || n;
10
+ return /* @__PURE__ */ r(e, {
11
11
  ...a,
12
12
  disabled: c,
13
13
  value: o,
14
14
  onChange: s
15
15
  });
16
16
  }
17
- var o = t("SliderField", a);
17
+ var o = n("SliderField", a);
18
18
  //#endregion
19
19
  export { o as SliderField };
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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";
@@ -1,2 +1,2 @@
1
- /*! @vef-framework-react/components v2.1.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
2
2
  import "./with-form-item.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
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
@@ -1,3 +1,3 @@
1
- /*! @vef-framework-react/components v2.1.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
2
2
  import "./form.js";
3
3
  import "./use-form.js";
@@ -1,4 +1,4 @@
1
- /*! @vef-framework-react/components v2.1.4 made by Venus | 2026-03-30T03:49:21.089Z */
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
2
2
  import { useAppForm as e } from "./form.js";
3
3
  import { jsx as t } from "@emotion/react/jsx-runtime";
4
4
  import { useMemo as n } from "react";
@@ -0,0 +1,26 @@
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
2
+ import { Icon as e } from "../../icon/index.js";
3
+ import { useFormContext as t } from "../../form/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, resetButtonProps: a = l, onReset: s }) {
12
+ let { ResetButton: u, SubmitButton: d, handleSubmit: f, reset: p } = t(), m = o(() => {
13
+ p(), s?.();
14
+ }, [p, s]);
15
+ return /* @__PURE__ */ i(n, { children: [a && /* @__PURE__ */ r(u, {
16
+ ...a,
17
+ onReset: m
18
+ }), /* @__PURE__ */ r(d, {
19
+ ...e,
20
+ onSubmit: f
21
+ })] });
22
+ }
23
+ var d = a(u);
24
+ d.displayName = "FormActions";
25
+ //#endregion
26
+ export { d as FormActions };
@@ -0,0 +1,2 @@
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
2
+ import "./form-actions.js";
@@ -0,0 +1,82 @@
1
+ /*! @vef-framework-react/components v2.1.5 made by Venus | 2026-03-31T12:34:37.574Z */
2
+ import { Center as e } from "../center/index.js";
3
+ import { useForm as t } from "../form/use-form.js";
4
+ import { Drawer as n } from "../drawer/index.js";
5
+ import r from "../empty/empty.js";
6
+ import { FormActions as i } from "./components/form-actions.js";
7
+ import { jsx as a } from "@emotion/react/jsx-runtime";
8
+ import { isFunction as o } from "@vef-framework-react/shared";
9
+ import { memo as s, useCallback as c, useMemo as l } from "react";
10
+ import "@emotion/react";
11
+ import { useMutation as u } from "@vef-framework-react/core";
12
+ //#region src/form-drawer/index.tsx
13
+ function d() {
14
+ return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
15
+ }
16
+ var f = process.env.NODE_ENV === "production" ? {
17
+ name: "13udsys",
18
+ styles: "height:100%"
19
+ } : {
20
+ name: "13udsys",
21
+ styles: "height:100%/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoi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t0aXRsZX1cbiAgICAgIG9uQ2xvc2U9e2hhbmRsZUNhbmNlbH1cbiAgICA+XG4gICAgICA8Rm9ybSBjc3M9e2Zvcm1TdHlsZX0gZGlzYWJsZWQ9e2Rpc2FibGVkIHx8IGlzUGVuZGluZ30+XG4gICAgICAgIHtyZW5kZXJGb3JtQ29udGVudChjaGlsZHJlbiwgZm9ybUFwaSl9XG4gICAgICA8L0Zvcm0+XG4gICAgPC9EcmF3ZXI+XG4gICk7XG59KSBhcyAoPFRWYWx1ZXMgZXh0ZW5kcyBvYmplY3QsIFREYXRhID0gdW5rbm93bj4ocHJvcHM6IEZvcm1EcmF3ZXJQcm9wczxUVmFsdWVzLCBURGF0YT4pID0+IEF3YWl0YWJsZTxSZWFjdE5vZGU+KSAmIFBpY2s8RkMsIFwiZGlzcGxheU5hbWVcIj47XG5Gb3JtRHJhd2VyLmRpc3BsYXlOYW1lID0gXCJGb3JtRHJhd2VyXCI7XG5cbmV4cG9ydCB0eXBlIHsgRm9ybURyYXdlclByb3BzIH0gZnJvbSBcIi4vcHJvcHNcIjtcbiJdfQ== */",
22
+ toString: d
23
+ }, p = /* @__PURE__ */ a(e, { children: /* @__PURE__ */ a(r, { description: "请提供表单内容" }) });
24
+ function m(e, t) {
25
+ return o(e) ? e(t) : e || p;
26
+ }
27
+ var h = s(({ open: e = !1, title: r, width: s, placement: d = "right", resizable: p, defaultValues: h, disabled: g = !1, renderActions: _, submitButtonProps: v, resetButtonProps: y, mutationFn: b, mutationMeta: x, children: S, beforeSubmit: C, afterSubmit: w, onClose: T, onSubmit: E, onReset: D }) => {
28
+ let O = t({
29
+ defaultValues: h,
30
+ onSubmit: async ({ value: e }) => {
31
+ let t = e;
32
+ o(C) && (t = await C(t)), o(E) && await E(t), b ? await P(t) : E || M();
33
+ }
34
+ }), { Form: k, AppForm: A, reset: j } = O, M = c(() => {
35
+ j(), T?.();
36
+ }, [T, j]), { isPending: N, mutateAsync: P } = u({
37
+ mutationKey: [b?.key],
38
+ mutationFn: b,
39
+ onSuccess: async ({ data: e }, t) => {
40
+ o(w) && await w(t, e), M();
41
+ },
42
+ meta: x
43
+ }), F = c(() => {
44
+ D?.(h);
45
+ }, [h, D]), I = c(() => {
46
+ N || M();
47
+ }, [M, N]), L = l(() => ({ wrapper: { width: s } }), [s]), R = l(() => new Proxy(O, { get(e, t, n) {
48
+ if (t === "reset") {
49
+ let r = Reflect.get(e, t, n);
50
+ return () => {
51
+ r(), F();
52
+ };
53
+ }
54
+ return Reflect.get(e, t, n);
55
+ } }), [O, F]);
56
+ return /* @__PURE__ */ a(n, {
57
+ destroyOnHidden: !0,
58
+ footer: _ ? (() => {
59
+ let e = _(R);
60
+ return e ? /* @__PURE__ */ a(A, { children: e }) : null;
61
+ })() : /* @__PURE__ */ a(A, { children: /* @__PURE__ */ a(i, {
62
+ resetButtonProps: y,
63
+ submitButtonProps: v,
64
+ onReset: F
65
+ }) }),
66
+ keyboard: !1,
67
+ open: e,
68
+ placement: d,
69
+ resizable: p,
70
+ styles: L,
71
+ title: r,
72
+ onClose: I,
73
+ children: /* @__PURE__ */ a(k, {
74
+ css: f,
75
+ disabled: g || N,
76
+ children: m(S, O)
77
+ })
78
+ });
79
+ });
80
+ h.displayName = "FormDrawer";
81
+ //#endregion
82
+ export { h as FormDrawer };