@vef-framework/components 1.0.37 → 1.0.39

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 (587) hide show
  1. package/es/index.js +2 -2
  2. package/es/internal/index.js +1 -1
  3. package/es/internal/utils.js +1 -1
  4. package/es/vef-access-denied/access-denied-icon.js +1 -1
  5. package/es/vef-access-denied/index.js +1 -1
  6. package/es/vef-action-buttons/index.js +1 -1
  7. package/es/vef-auto-sizer/index.js +1 -1
  8. package/es/vef-avatar/index.js +1 -1
  9. package/es/vef-avatar-group/index.js +1 -1
  10. package/es/vef-badge/index.js +1 -1
  11. package/es/vef-bool/hooks/use-bool-instance.js +1 -1
  12. package/es/vef-bool/index.js +1 -1
  13. package/es/vef-button/components/base-button.js +1 -1
  14. package/es/vef-button/index.js +1 -1
  15. package/es/vef-card/index.js +1 -1
  16. package/es/vef-card-meta/index.js +1 -1
  17. package/es/vef-checkbox/hooks/use-checkbox-instance.js +1 -1
  18. package/es/vef-checkbox/hooks/use-data-options.js +1 -1
  19. package/es/vef-checkbox/index.js +1 -1
  20. package/es/vef-col/index.js +1 -1
  21. package/es/vef-color-picker/index.js +1 -1
  22. package/es/vef-compact/index.js +1 -1
  23. package/es/vef-config-provider/hooks/use-ui-config.js +1 -1
  24. package/es/vef-config-provider/index.js +12 -21
  25. package/es/vef-config-provider/reset-style.js +1 -1
  26. package/es/vef-config-provider/store.js +1 -1
  27. package/es/vef-container/index.js +1 -1
  28. package/es/vef-crud-page/components/crud-actions.js +1 -1
  29. package/es/vef-crud-page/components/crud-filter.js +1 -1
  30. package/es/vef-crud-page/components/crud-footer.js +1 -1
  31. package/es/vef-crud-page/components/crud-form-modal.js +1 -1
  32. package/es/vef-crud-page/components/crud-header.js +1 -1
  33. package/es/vef-crud-page/components/crud-table.js +1 -1
  34. package/es/vef-crud-page/hooks/use-action-buttons.js +1 -1
  35. package/es/vef-crud-page/hooks/use-crud-context.js +1 -1
  36. package/es/vef-crud-page/hooks/use-crud-schema.js +1 -1
  37. package/es/vef-crud-page/hooks/use-operation-buttons.js +1 -1
  38. package/es/vef-crud-page/index.js +1 -1
  39. package/es/vef-crud-page/store.js +1 -1
  40. package/es/vef-divider/index.js +1 -1
  41. package/es/vef-drawer/components/action-button-wrapper.js +1 -1
  42. package/es/vef-drawer/components/button-props.js +1 -1
  43. package/es/vef-drawer/components/cancel-action-button.js +1 -1
  44. package/es/vef-drawer/components/ok-action-button.js +1 -1
  45. package/es/vef-drawer/context.js +1 -1
  46. package/es/vef-drawer/index.js +1 -1
  47. package/es/vef-dropdown/index.js +1 -1
  48. package/es/vef-dynamic-icon/index.js +1 -1
  49. package/es/vef-dynamic-icon/props.js +1 -1
  50. package/es/vef-empty/index.js +1 -1
  51. package/es/vef-empty-placeholder/index.js +1 -1
  52. package/es/vef-error/error-icon.js +1 -1
  53. package/es/vef-error/index.js +1 -1
  54. package/es/vef-filter/components/action-buttons.js +1 -1
  55. package/es/vef-filter/components/advanced-filter.js +1 -1
  56. package/es/vef-filter/components/basic-filter.js +1 -1
  57. package/es/vef-filter/components/fields/index.js +1 -1
  58. package/es/vef-filter/components/fields/input-number.js +1 -1
  59. package/es/vef-filter/components/fields/input.js +1 -1
  60. package/es/vef-filter/components/filter-field.js +1 -1
  61. package/es/vef-filter/components/filter-item.js +1 -1
  62. package/es/vef-filter/event.js +1 -1
  63. package/es/vef-filter/helper.js +1 -1
  64. package/es/vef-filter/hooks/use-action-handlers.js +1 -1
  65. package/es/vef-filter/hooks/use-computed-values.js +1 -1
  66. package/es/vef-filter/hooks/use-filter-context.js +1 -1
  67. package/es/vef-filter/hooks/use-filter-initialization.js +1 -1
  68. package/es/vef-filter/hooks/use-filter-instance.js +1 -1
  69. package/es/vef-filter/hooks/use-filter-items.js +1 -1
  70. package/es/vef-filter/hooks/use-filter-values-change.js +1 -1
  71. package/es/vef-filter/hooks/use-label-config.js +1 -1
  72. package/es/vef-filter/index.js +1 -1
  73. package/es/vef-filter/store.js +1 -1
  74. package/es/vef-flex/index.js +1 -1
  75. package/es/vef-float-button/index.js +1 -1
  76. package/es/vef-float-button-group/index.js +1 -1
  77. package/es/vef-form/components/fields/index.js +1 -1
  78. package/es/vef-form/components/fields/input-number.js +1 -1
  79. package/es/vef-form/components/fields/input.js +1 -1
  80. package/es/vef-form/components/form-actions.js +1 -1
  81. package/es/vef-form/components/form-content.js +1 -1
  82. package/es/vef-form/components/form-field.js +1 -1
  83. package/es/vef-form/components/form-group.js +1 -1
  84. package/es/vef-form/components/form-hidden-item.js +1 -1
  85. package/es/vef-form/components/form-item.js +1 -1
  86. package/es/vef-form/components/form-row.js +1 -1
  87. package/es/vef-form/event.js +1 -1
  88. package/es/vef-form/helper.js +1 -1
  89. package/es/vef-form/hooks/use-action-handlers.js +1 -1
  90. package/es/vef-form/hooks/use-columns-layout.js +1 -1
  91. package/es/vef-form/hooks/use-computed-values.js +1 -1
  92. package/es/vef-form/hooks/use-form-context.js +1 -1
  93. package/es/vef-form/hooks/use-form-initialization.js +1 -1
  94. package/es/vef-form/hooks/use-form-instance.js +1 -1
  95. package/es/vef-form/hooks/use-form-values-change.js +1 -1
  96. package/es/vef-form/hooks/use-label-width.js +1 -1
  97. package/es/vef-form/index.js +1 -1
  98. package/es/vef-form/store.js +1 -1
  99. package/es/vef-form/validation-rules.js +1 -1
  100. package/es/vef-form-drawer/index.js +1 -1
  101. package/es/vef-form-modal/index.js +1 -1
  102. package/es/vef-generic-select/index.js +1 -1
  103. package/es/vef-grid/index.js +1 -1
  104. package/es/vef-grid/props.js +1 -1
  105. package/es/vef-grid-item/index.js +1 -1
  106. package/es/vef-icon/index.js +2 -2
  107. package/es/vef-icon-select/index.js +1 -1
  108. package/es/vef-input/hooks/use-input-instance.js +1 -1
  109. package/es/vef-input/index.js +1 -1
  110. package/es/vef-input-number/hooks/use-input-number-instance.js +1 -1
  111. package/es/vef-input-number/index.js +1 -1
  112. package/es/vef-layout/components/content.js +1 -1
  113. package/es/vef-layout/components/font-size.js +1 -1
  114. package/es/vef-layout/components/fullscreen.js +1 -1
  115. package/es/vef-layout/components/header-action-icons.js +1 -1
  116. package/es/vef-layout/components/header-content.js +1 -1
  117. package/es/vef-layout/components/header.js +1 -1
  118. package/es/vef-layout/components/sider.js +6 -6
  119. package/es/vef-layout/components/title.js +3 -4
  120. package/es/vef-layout/components/user-avatar.js +1 -1
  121. package/es/vef-layout/index.js +3 -3
  122. package/es/vef-layout/logo.svg.js +1 -1
  123. package/es/vef-layout/store.js +1 -1
  124. package/es/vef-loading-placeholder/index.js +1 -1
  125. package/es/vef-login/index.js +1 -1
  126. package/es/vef-login/login-icon.js +1 -1
  127. package/es/vef-menu/index.js +7 -2
  128. package/es/vef-modal/components/action-button-wrapper.js +1 -1
  129. package/es/vef-modal/components/button-props.js +1 -1
  130. package/es/vef-modal/components/cancel-action-button.js +1 -1
  131. package/es/vef-modal/components/ok-action-button.js +1 -1
  132. package/es/vef-modal/context.js +1 -1
  133. package/es/vef-modal/index.js +1 -1
  134. package/es/vef-not-found/index.js +1 -1
  135. package/es/vef-not-found/not-found-icon.js +1 -1
  136. package/es/vef-page/index.js +1 -1
  137. package/es/vef-pagination/index.js +1 -1
  138. package/es/vef-pagination/props.js +1 -1
  139. package/es/vef-paragraph/index.js +1 -1
  140. package/es/vef-password/hooks/use-password-instance.js +1 -1
  141. package/es/vef-password/index.js +1 -1
  142. package/es/vef-popconfirm/index.js +1 -1
  143. package/es/vef-popover/index.js +1 -1
  144. package/es/vef-radio/hooks/use-data-options.js +1 -1
  145. package/es/vef-radio/hooks/use-radio-instance.js +1 -1
  146. package/es/vef-radio/index.js +1 -1
  147. package/es/vef-rate/hooks/use-rate-instance.js +1 -1
  148. package/es/vef-rate/index.js +1 -1
  149. package/es/vef-responsive-container/index.js +1 -1
  150. package/es/vef-responsive-item/index.js +1 -1
  151. package/es/vef-ribbon/index.js +1 -1
  152. package/es/vef-row/index.js +1 -1
  153. package/es/vef-scroll-area/components/scrollbar.js +1 -1
  154. package/es/vef-scroll-area/index.js +1 -1
  155. package/es/vef-select/components/option.js +1 -1
  156. package/es/vef-select/hooks/use-data-options.js +1 -1
  157. package/es/vef-select/hooks/use-field-names.js +1 -1
  158. package/es/vef-select/hooks/use-render-label.js +1 -1
  159. package/es/vef-select/hooks/use-render-option.js +1 -1
  160. package/es/vef-select/hooks/use-select-instance.js +1 -1
  161. package/es/vef-select/index.js +1 -1
  162. package/es/vef-slider/hooks/use-slider-instance.js +1 -1
  163. package/es/vef-slider/index.js +1 -1
  164. package/es/vef-sortable-list/components/overlay-item.js +1 -1
  165. package/es/vef-sortable-list/components/sortable-item.js +1 -1
  166. package/es/vef-sortable-list/hooks/use-merged-items.js +1 -1
  167. package/es/vef-sortable-list/index.js +1 -1
  168. package/es/vef-space/index.js +1 -1
  169. package/es/vef-spin/index.js +1 -1
  170. package/es/vef-splitter/index.js +1 -1
  171. package/es/vef-splitter-panel/index.js +1 -1
  172. package/es/vef-status/index.js +1 -1
  173. package/es/vef-table/components/columns/bool.js +1 -1
  174. package/es/vef-table/components/columns/code.js +1 -1
  175. package/es/vef-table/components/columns/data-dictionary.js +1 -1
  176. package/es/vef-table/components/columns/enum.js +1 -1
  177. package/es/vef-table/components/columns/file.js +1 -1
  178. package/es/vef-table/components/columns/icon.js +1 -1
  179. package/es/vef-table/components/columns/id.js +1 -1
  180. package/es/vef-table/components/columns/image.js +1 -1
  181. package/es/vef-table/components/columns/index.js +1 -1
  182. package/es/vef-table/components/columns/markdown.js +1 -1
  183. package/es/vef-table/components/columns/number.js +1 -1
  184. package/es/vef-table/components/columns/render.js +1 -1
  185. package/es/vef-table/components/columns/rich-text.js +1 -1
  186. package/es/vef-table/components/columns/text.js +1 -1
  187. package/es/vef-table/components/columns-settings.js +1 -1
  188. package/es/vef-table/components/operation-buttons.js +1 -1
  189. package/es/vef-table/components/settings-icon.js +1 -1
  190. package/es/vef-table/components/table-footer.js +1 -1
  191. package/es/vef-table/helper.js +1 -1
  192. package/es/vef-table/hooks/use-computed-batch-buttons.js +1 -1
  193. package/es/vef-table/hooks/use-computed-columns.js +1 -1
  194. package/es/vef-table/hooks/use-computed-values.js +1 -1
  195. package/es/vef-table/hooks/use-data.js +1 -1
  196. package/es/vef-table/hooks/use-default-column-configs.js +1 -1
  197. package/es/vef-table/hooks/use-display-value.js +1 -1
  198. package/es/vef-table/hooks/use-helper-columns.js +1 -1
  199. package/es/vef-table/hooks/use-operation-column-width.js +1 -1
  200. package/es/vef-table/hooks/use-pagination-props.js +1 -1
  201. package/es/vef-table/hooks/use-row-props.js +1 -1
  202. package/es/vef-table/hooks/use-row-selection-config.js +1 -1
  203. package/es/vef-table/hooks/use-selected-rows.js +1 -1
  204. package/es/vef-table/hooks/use-table-columns.js +1 -1
  205. package/es/vef-table/hooks/use-table-context.js +1 -1
  206. package/es/vef-table/hooks/use-table-instance.js +1 -1
  207. package/es/vef-table/hooks/use-table-summary.js +1 -1
  208. package/es/vef-table/hooks/use-table-width.js +1 -1
  209. package/es/vef-table/index.js +1 -1
  210. package/es/vef-table/store.js +1 -1
  211. package/es/vef-tabs/index.js +1 -1
  212. package/es/vef-tag/index.js +1 -1
  213. package/es/vef-temporal-picker/helper.js +1 -1
  214. package/es/vef-temporal-picker/hooks/use-dayjs-value.js +1 -1
  215. package/es/vef-temporal-picker/hooks/use-temporal-limit.js +1 -1
  216. package/es/vef-temporal-picker/hooks/use-temporal-picker-instance.js +1 -1
  217. package/es/vef-temporal-picker/index.js +1 -1
  218. package/es/vef-temporal-range-picker/helper.js +1 -1
  219. package/es/vef-temporal-range-picker/hooks/use-dayjs-values.js +1 -1
  220. package/es/vef-temporal-range-picker/hooks/use-temporal-limit.js +1 -1
  221. package/es/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.js +1 -1
  222. package/es/vef-temporal-range-picker/index.js +1 -1
  223. package/es/vef-temporal-range-picker/props.js +1 -1
  224. package/es/vef-text/index.js +1 -1
  225. package/es/vef-textarea/hooks/use-textarea-instance.js +1 -1
  226. package/es/vef-textarea/index.js +1 -1
  227. package/es/vef-title/index.js +1 -1
  228. package/es/vef-tooltip/index.js +1 -1
  229. package/es/vef-tree-select/hooks/use-change-handler.js +1 -1
  230. package/es/vef-tree-select/hooks/use-data-options.js +1 -1
  231. package/es/vef-tree-select/hooks/use-tree-select-instance.js +1 -1
  232. package/es/vef-tree-select/index.js +1 -1
  233. package/es/vef-virtual-grid/index.js +1 -1
  234. package/es/vef-virtual-list/index.js +1 -1
  235. package/lib/index.cjs +2 -2
  236. package/lib/internal/index.cjs +1 -1
  237. package/lib/internal/utils.cjs +1 -1
  238. package/lib/vef-access-denied/access-denied-icon.cjs +1 -1
  239. package/lib/vef-access-denied/index.cjs +1 -1
  240. package/lib/vef-access-denied/props.cjs +1 -1
  241. package/lib/vef-action-buttons/index.cjs +1 -1
  242. package/lib/vef-action-buttons/props.cjs +1 -1
  243. package/lib/vef-auto-sizer/index.cjs +1 -1
  244. package/lib/vef-auto-sizer/props.cjs +1 -1
  245. package/lib/vef-avatar/index.cjs +1 -1
  246. package/lib/vef-avatar/props.cjs +1 -1
  247. package/lib/vef-avatar-group/index.cjs +1 -1
  248. package/lib/vef-avatar-group/props.cjs +1 -1
  249. package/lib/vef-badge/index.cjs +1 -1
  250. package/lib/vef-badge/props.cjs +1 -1
  251. package/lib/vef-bool/hooks/use-bool-instance.cjs +1 -1
  252. package/lib/vef-bool/index.cjs +1 -1
  253. package/lib/vef-bool/props.cjs +1 -1
  254. package/lib/vef-button/components/base-button.cjs +1 -1
  255. package/lib/vef-button/index.cjs +1 -1
  256. package/lib/vef-button/props.cjs +1 -1
  257. package/lib/vef-card/index.cjs +1 -1
  258. package/lib/vef-card/props.cjs +1 -1
  259. package/lib/vef-card-meta/index.cjs +1 -1
  260. package/lib/vef-card-meta/props.cjs +1 -1
  261. package/lib/vef-checkbox/hooks/use-checkbox-instance.cjs +1 -1
  262. package/lib/vef-checkbox/hooks/use-data-options.cjs +1 -1
  263. package/lib/vef-checkbox/index.cjs +1 -1
  264. package/lib/vef-checkbox/props.cjs +1 -1
  265. package/lib/vef-col/index.cjs +1 -1
  266. package/lib/vef-col/props.cjs +1 -1
  267. package/lib/vef-color-picker/index.cjs +1 -1
  268. package/lib/vef-color-picker/props.cjs +1 -1
  269. package/lib/vef-compact/index.cjs +1 -1
  270. package/lib/vef-compact/props.cjs +1 -1
  271. package/lib/vef-config-provider/hooks/use-ui-config.cjs +1 -1
  272. package/lib/vef-config-provider/index.cjs +12 -21
  273. package/lib/vef-config-provider/props.cjs +1 -1
  274. package/lib/vef-config-provider/reset-style.cjs +1 -1
  275. package/lib/vef-config-provider/store.cjs +1 -1
  276. package/lib/vef-container/index.cjs +1 -1
  277. package/lib/vef-container/props.cjs +1 -1
  278. package/lib/vef-crud-page/components/crud-actions.cjs +1 -1
  279. package/lib/vef-crud-page/components/crud-filter.cjs +1 -1
  280. package/lib/vef-crud-page/components/crud-footer.cjs +1 -1
  281. package/lib/vef-crud-page/components/crud-form-modal.cjs +1 -1
  282. package/lib/vef-crud-page/components/crud-header.cjs +1 -1
  283. package/lib/vef-crud-page/components/crud-table.cjs +1 -1
  284. package/lib/vef-crud-page/hooks/use-action-buttons.cjs +1 -1
  285. package/lib/vef-crud-page/hooks/use-crud-context.cjs +1 -1
  286. package/lib/vef-crud-page/hooks/use-crud-schema.cjs +1 -1
  287. package/lib/vef-crud-page/hooks/use-operation-buttons.cjs +1 -1
  288. package/lib/vef-crud-page/index.cjs +1 -1
  289. package/lib/vef-crud-page/props.cjs +1 -1
  290. package/lib/vef-crud-page/store.cjs +1 -1
  291. package/lib/vef-crud-page/types.cjs +1 -1
  292. package/lib/vef-divider/index.cjs +1 -1
  293. package/lib/vef-divider/props.cjs +1 -1
  294. package/lib/vef-drawer/components/action-button-wrapper.cjs +1 -1
  295. package/lib/vef-drawer/components/button-props.cjs +1 -1
  296. package/lib/vef-drawer/components/cancel-action-button.cjs +1 -1
  297. package/lib/vef-drawer/components/ok-action-button.cjs +1 -1
  298. package/lib/vef-drawer/context.cjs +1 -1
  299. package/lib/vef-drawer/index.cjs +1 -1
  300. package/lib/vef-drawer/props.cjs +1 -1
  301. package/lib/vef-dropdown/index.cjs +1 -1
  302. package/lib/vef-dropdown/props.cjs +1 -1
  303. package/lib/vef-dynamic-icon/index.cjs +1 -1
  304. package/lib/vef-dynamic-icon/props.cjs +1 -1
  305. package/lib/vef-empty/index.cjs +1 -1
  306. package/lib/vef-empty/props.cjs +1 -1
  307. package/lib/vef-empty-placeholder/index.cjs +1 -1
  308. package/lib/vef-empty-placeholder/props.cjs +1 -1
  309. package/lib/vef-error/error-icon.cjs +1 -1
  310. package/lib/vef-error/index.cjs +1 -1
  311. package/lib/vef-error/props.cjs +1 -1
  312. package/lib/vef-filter/components/action-buttons.cjs +1 -1
  313. package/lib/vef-filter/components/advanced-filter.cjs +1 -1
  314. package/lib/vef-filter/components/basic-filter.cjs +1 -1
  315. package/lib/vef-filter/components/fields/index.cjs +1 -1
  316. package/lib/vef-filter/components/fields/input-number.cjs +1 -1
  317. package/lib/vef-filter/components/fields/input.cjs +1 -1
  318. package/lib/vef-filter/components/fields/props.cjs +1 -1
  319. package/lib/vef-filter/components/filter-field.cjs +1 -1
  320. package/lib/vef-filter/components/filter-item.cjs +1 -1
  321. package/lib/vef-filter/event.cjs +1 -1
  322. package/lib/vef-filter/helper.cjs +1 -1
  323. package/lib/vef-filter/hooks/use-action-handlers.cjs +1 -1
  324. package/lib/vef-filter/hooks/use-computed-values.cjs +1 -1
  325. package/lib/vef-filter/hooks/use-filter-context.cjs +1 -1
  326. package/lib/vef-filter/hooks/use-filter-initialization.cjs +1 -1
  327. package/lib/vef-filter/hooks/use-filter-instance.cjs +1 -1
  328. package/lib/vef-filter/hooks/use-filter-items.cjs +1 -1
  329. package/lib/vef-filter/hooks/use-filter-values-change.cjs +1 -1
  330. package/lib/vef-filter/hooks/use-label-config.cjs +1 -1
  331. package/lib/vef-filter/index.cjs +1 -1
  332. package/lib/vef-filter/props.cjs +1 -1
  333. package/lib/vef-filter/store.cjs +1 -1
  334. package/lib/vef-filter/types.cjs +1 -1
  335. package/lib/vef-flex/index.cjs +1 -1
  336. package/lib/vef-flex/props.cjs +1 -1
  337. package/lib/vef-float-button/index.cjs +1 -1
  338. package/lib/vef-float-button/props.cjs +1 -1
  339. package/lib/vef-float-button-group/index.cjs +1 -1
  340. package/lib/vef-float-button-group/props.cjs +1 -1
  341. package/lib/vef-form/components/fields/index.cjs +1 -1
  342. package/lib/vef-form/components/fields/input-number.cjs +1 -1
  343. package/lib/vef-form/components/fields/input.cjs +1 -1
  344. package/lib/vef-form/components/fields/props.cjs +1 -1
  345. package/lib/vef-form/components/form-actions.cjs +1 -1
  346. package/lib/vef-form/components/form-content.cjs +1 -1
  347. package/lib/vef-form/components/form-field.cjs +1 -1
  348. package/lib/vef-form/components/form-group.cjs +1 -1
  349. package/lib/vef-form/components/form-hidden-item.cjs +1 -1
  350. package/lib/vef-form/components/form-item.cjs +1 -1
  351. package/lib/vef-form/components/form-row.cjs +1 -1
  352. package/lib/vef-form/event.cjs +1 -1
  353. package/lib/vef-form/helper.cjs +1 -1
  354. package/lib/vef-form/hooks/use-action-handlers.cjs +1 -1
  355. package/lib/vef-form/hooks/use-columns-layout.cjs +1 -1
  356. package/lib/vef-form/hooks/use-computed-values.cjs +1 -1
  357. package/lib/vef-form/hooks/use-form-context.cjs +1 -1
  358. package/lib/vef-form/hooks/use-form-initialization.cjs +1 -1
  359. package/lib/vef-form/hooks/use-form-instance.cjs +1 -1
  360. package/lib/vef-form/hooks/use-form-values-change.cjs +1 -1
  361. package/lib/vef-form/hooks/use-label-width.cjs +1 -1
  362. package/lib/vef-form/index.cjs +1 -1
  363. package/lib/vef-form/props.cjs +1 -1
  364. package/lib/vef-form/store.cjs +1 -1
  365. package/lib/vef-form/types.cjs +1 -1
  366. package/lib/vef-form/validation-rules.cjs +1 -1
  367. package/lib/vef-form-drawer/index.cjs +1 -1
  368. package/lib/vef-form-drawer/props.cjs +1 -1
  369. package/lib/vef-form-modal/index.cjs +1 -1
  370. package/lib/vef-form-modal/props.cjs +1 -1
  371. package/lib/vef-generic-select/index.cjs +1 -1
  372. package/lib/vef-generic-select/props.cjs +1 -1
  373. package/lib/vef-grid/index.cjs +1 -1
  374. package/lib/vef-grid/props.cjs +1 -1
  375. package/lib/vef-grid-item/index.cjs +1 -1
  376. package/lib/vef-grid-item/props.cjs +1 -1
  377. package/lib/vef-icon/index.cjs +2 -2
  378. package/lib/vef-icon/props.cjs +1 -1
  379. package/lib/vef-icon-select/index.cjs +1 -1
  380. package/lib/vef-icon-select/props.cjs +1 -1
  381. package/lib/vef-input/hooks/use-input-instance.cjs +1 -1
  382. package/lib/vef-input/index.cjs +1 -1
  383. package/lib/vef-input/props.cjs +1 -1
  384. package/lib/vef-input-number/hooks/use-input-number-instance.cjs +1 -1
  385. package/lib/vef-input-number/index.cjs +1 -1
  386. package/lib/vef-input-number/props.cjs +1 -1
  387. package/lib/vef-layout/components/content.cjs +1 -1
  388. package/lib/vef-layout/components/font-size.cjs +1 -1
  389. package/lib/vef-layout/components/fullscreen.cjs +1 -1
  390. package/lib/vef-layout/components/header-action-icons.cjs +1 -1
  391. package/lib/vef-layout/components/header-content.cjs +1 -1
  392. package/lib/vef-layout/components/header.cjs +1 -1
  393. package/lib/vef-layout/components/sider.cjs +3 -3
  394. package/lib/vef-layout/components/title.cjs +2 -3
  395. package/lib/vef-layout/components/user-avatar.cjs +1 -1
  396. package/lib/vef-layout/index.cjs +3 -3
  397. package/lib/vef-layout/logo.svg.cjs +1 -1
  398. package/lib/vef-layout/props.cjs +1 -1
  399. package/lib/vef-layout/store.cjs +1 -1
  400. package/lib/vef-loading-placeholder/index.cjs +1 -1
  401. package/lib/vef-loading-placeholder/props.cjs +1 -1
  402. package/lib/vef-login/index.cjs +1 -1
  403. package/lib/vef-login/login-icon.cjs +1 -1
  404. package/lib/vef-login/props.cjs +1 -1
  405. package/lib/vef-menu/index.cjs +7 -2
  406. package/lib/vef-menu/props.cjs +1 -1
  407. package/lib/vef-modal/components/action-button-wrapper.cjs +1 -1
  408. package/lib/vef-modal/components/button-props.cjs +1 -1
  409. package/lib/vef-modal/components/cancel-action-button.cjs +1 -1
  410. package/lib/vef-modal/components/ok-action-button.cjs +1 -1
  411. package/lib/vef-modal/context.cjs +1 -1
  412. package/lib/vef-modal/index.cjs +1 -1
  413. package/lib/vef-modal/props.cjs +1 -1
  414. package/lib/vef-not-found/index.cjs +1 -1
  415. package/lib/vef-not-found/not-found-icon.cjs +1 -1
  416. package/lib/vef-not-found/props.cjs +1 -1
  417. package/lib/vef-page/index.cjs +1 -1
  418. package/lib/vef-page/props.cjs +1 -1
  419. package/lib/vef-pagination/index.cjs +1 -1
  420. package/lib/vef-pagination/props.cjs +1 -1
  421. package/lib/vef-paragraph/index.cjs +1 -1
  422. package/lib/vef-paragraph/props.cjs +1 -1
  423. package/lib/vef-password/hooks/use-password-instance.cjs +1 -1
  424. package/lib/vef-password/index.cjs +1 -1
  425. package/lib/vef-password/props.cjs +1 -1
  426. package/lib/vef-popconfirm/index.cjs +1 -1
  427. package/lib/vef-popconfirm/props.cjs +1 -1
  428. package/lib/vef-popover/index.cjs +1 -1
  429. package/lib/vef-popover/props.cjs +1 -1
  430. package/lib/vef-radio/hooks/use-data-options.cjs +1 -1
  431. package/lib/vef-radio/hooks/use-radio-instance.cjs +1 -1
  432. package/lib/vef-radio/index.cjs +1 -1
  433. package/lib/vef-radio/props.cjs +1 -1
  434. package/lib/vef-rate/hooks/use-rate-instance.cjs +1 -1
  435. package/lib/vef-rate/index.cjs +1 -1
  436. package/lib/vef-rate/props.cjs +1 -1
  437. package/lib/vef-responsive-container/index.cjs +1 -1
  438. package/lib/vef-responsive-container/props.cjs +1 -1
  439. package/lib/vef-responsive-item/index.cjs +1 -1
  440. package/lib/vef-responsive-item/props.cjs +1 -1
  441. package/lib/vef-ribbon/index.cjs +1 -1
  442. package/lib/vef-ribbon/props.cjs +1 -1
  443. package/lib/vef-row/index.cjs +1 -1
  444. package/lib/vef-row/props.cjs +1 -1
  445. package/lib/vef-scroll-area/components/scrollbar.cjs +1 -1
  446. package/lib/vef-scroll-area/index.cjs +1 -1
  447. package/lib/vef-scroll-area/props.cjs +1 -1
  448. package/lib/vef-select/components/option.cjs +1 -1
  449. package/lib/vef-select/hooks/use-data-options.cjs +1 -1
  450. package/lib/vef-select/hooks/use-field-names.cjs +1 -1
  451. package/lib/vef-select/hooks/use-render-label.cjs +1 -1
  452. package/lib/vef-select/hooks/use-render-option.cjs +1 -1
  453. package/lib/vef-select/hooks/use-select-instance.cjs +1 -1
  454. package/lib/vef-select/index.cjs +1 -1
  455. package/lib/vef-select/props.cjs +1 -1
  456. package/lib/vef-slider/hooks/use-slider-instance.cjs +1 -1
  457. package/lib/vef-slider/index.cjs +1 -1
  458. package/lib/vef-slider/props.cjs +1 -1
  459. package/lib/vef-sortable-list/components/overlay-item.cjs +1 -1
  460. package/lib/vef-sortable-list/components/sortable-item.cjs +1 -1
  461. package/lib/vef-sortable-list/hooks/use-merged-items.cjs +1 -1
  462. package/lib/vef-sortable-list/index.cjs +1 -1
  463. package/lib/vef-sortable-list/props.cjs +1 -1
  464. package/lib/vef-space/index.cjs +1 -1
  465. package/lib/vef-space/props.cjs +1 -1
  466. package/lib/vef-spin/index.cjs +1 -1
  467. package/lib/vef-spin/props.cjs +1 -1
  468. package/lib/vef-splitter/index.cjs +1 -1
  469. package/lib/vef-splitter/props.cjs +1 -1
  470. package/lib/vef-splitter-panel/index.cjs +1 -1
  471. package/lib/vef-splitter-panel/props.cjs +1 -1
  472. package/lib/vef-status/index.cjs +1 -1
  473. package/lib/vef-status/props.cjs +1 -1
  474. package/lib/vef-table/components/columns/bool.cjs +1 -1
  475. package/lib/vef-table/components/columns/code.cjs +1 -1
  476. package/lib/vef-table/components/columns/data-dictionary.cjs +1 -1
  477. package/lib/vef-table/components/columns/enum.cjs +1 -1
  478. package/lib/vef-table/components/columns/file.cjs +1 -1
  479. package/lib/vef-table/components/columns/icon.cjs +1 -1
  480. package/lib/vef-table/components/columns/id.cjs +1 -1
  481. package/lib/vef-table/components/columns/image.cjs +1 -1
  482. package/lib/vef-table/components/columns/index.cjs +1 -1
  483. package/lib/vef-table/components/columns/markdown.cjs +1 -1
  484. package/lib/vef-table/components/columns/number.cjs +1 -1
  485. package/lib/vef-table/components/columns/props.cjs +1 -1
  486. package/lib/vef-table/components/columns/render.cjs +1 -1
  487. package/lib/vef-table/components/columns/rich-text.cjs +1 -1
  488. package/lib/vef-table/components/columns/text.cjs +1 -1
  489. package/lib/vef-table/components/columns-settings.cjs +1 -1
  490. package/lib/vef-table/components/operation-buttons.cjs +1 -1
  491. package/lib/vef-table/components/settings-icon.cjs +1 -1
  492. package/lib/vef-table/components/table-footer.cjs +1 -1
  493. package/lib/vef-table/helper.cjs +1 -1
  494. package/lib/vef-table/hooks/use-computed-batch-buttons.cjs +1 -1
  495. package/lib/vef-table/hooks/use-computed-columns.cjs +1 -1
  496. package/lib/vef-table/hooks/use-computed-values.cjs +1 -1
  497. package/lib/vef-table/hooks/use-data.cjs +1 -1
  498. package/lib/vef-table/hooks/use-default-column-configs.cjs +1 -1
  499. package/lib/vef-table/hooks/use-display-value.cjs +1 -1
  500. package/lib/vef-table/hooks/use-helper-columns.cjs +1 -1
  501. package/lib/vef-table/hooks/use-operation-column-width.cjs +1 -1
  502. package/lib/vef-table/hooks/use-pagination-props.cjs +1 -1
  503. package/lib/vef-table/hooks/use-row-props.cjs +1 -1
  504. package/lib/vef-table/hooks/use-row-selection-config.cjs +1 -1
  505. package/lib/vef-table/hooks/use-selected-rows.cjs +1 -1
  506. package/lib/vef-table/hooks/use-table-columns.cjs +1 -1
  507. package/lib/vef-table/hooks/use-table-context.cjs +1 -1
  508. package/lib/vef-table/hooks/use-table-instance.cjs +1 -1
  509. package/lib/vef-table/hooks/use-table-summary.cjs +1 -1
  510. package/lib/vef-table/hooks/use-table-width.cjs +1 -1
  511. package/lib/vef-table/index.cjs +1 -1
  512. package/lib/vef-table/props.cjs +1 -1
  513. package/lib/vef-table/store.cjs +1 -1
  514. package/lib/vef-table/types.cjs +1 -1
  515. package/lib/vef-tabs/index.cjs +1 -1
  516. package/lib/vef-tabs/props.cjs +1 -1
  517. package/lib/vef-tag/index.cjs +1 -1
  518. package/lib/vef-tag/props.cjs +1 -1
  519. package/lib/vef-temporal-picker/helper.cjs +1 -1
  520. package/lib/vef-temporal-picker/hooks/use-dayjs-value.cjs +1 -1
  521. package/lib/vef-temporal-picker/hooks/use-temporal-limit.cjs +1 -1
  522. package/lib/vef-temporal-picker/hooks/use-temporal-picker-instance.cjs +1 -1
  523. package/lib/vef-temporal-picker/index.cjs +1 -1
  524. package/lib/vef-temporal-picker/props.cjs +1 -1
  525. package/lib/vef-temporal-range-picker/helper.cjs +1 -1
  526. package/lib/vef-temporal-range-picker/hooks/use-dayjs-values.cjs +1 -1
  527. package/lib/vef-temporal-range-picker/hooks/use-temporal-limit.cjs +1 -1
  528. package/lib/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.cjs +1 -1
  529. package/lib/vef-temporal-range-picker/index.cjs +1 -1
  530. package/lib/vef-temporal-range-picker/props.cjs +1 -1
  531. package/lib/vef-text/index.cjs +1 -1
  532. package/lib/vef-text/props.cjs +1 -1
  533. package/lib/vef-textarea/hooks/use-textarea-instance.cjs +1 -1
  534. package/lib/vef-textarea/index.cjs +1 -1
  535. package/lib/vef-textarea/props.cjs +1 -1
  536. package/lib/vef-title/index.cjs +1 -1
  537. package/lib/vef-title/props.cjs +1 -1
  538. package/lib/vef-tooltip/index.cjs +1 -1
  539. package/lib/vef-tooltip/props.cjs +1 -1
  540. package/lib/vef-tree-select/hooks/use-change-handler.cjs +1 -1
  541. package/lib/vef-tree-select/hooks/use-data-options.cjs +1 -1
  542. package/lib/vef-tree-select/hooks/use-tree-select-instance.cjs +1 -1
  543. package/lib/vef-tree-select/index.cjs +1 -1
  544. package/lib/vef-tree-select/props.cjs +1 -1
  545. package/lib/vef-virtual-grid/index.cjs +1 -1
  546. package/lib/vef-virtual-grid/props.cjs +1 -1
  547. package/lib/vef-virtual-list/index.cjs +1 -1
  548. package/lib/vef-virtual-list/props.cjs +1 -1
  549. package/package.json +5 -5
  550. package/types/index.d.ts +0 -4
  551. package/types/vef-config-provider/props.d.ts +0 -4
  552. package/types/vef-crud-page/components/crud-table.d.ts +3 -3
  553. package/types/vef-crud-page/props.d.ts +3 -3
  554. package/types/vef-crud-page/store.d.ts +3 -3
  555. package/types/vef-crud-page/types.d.ts +5 -5
  556. package/types/vef-filter/hooks/use-action-handlers.d.ts +2 -2
  557. package/types/vef-filter/index.d.ts +2 -2
  558. package/types/vef-filter/props.d.ts +2 -2
  559. package/types/vef-filter/types.d.ts +2 -2
  560. package/types/vef-form/hooks/use-action-handlers.d.ts +2 -2
  561. package/types/vef-form/index.d.ts +2 -2
  562. package/types/vef-form/props.d.ts +2 -2
  563. package/types/vef-form/types.d.ts +2 -2
  564. package/types/vef-form-drawer/index.d.ts +2 -2
  565. package/types/vef-form-drawer/props.d.ts +2 -2
  566. package/types/vef-form-modal/index.d.ts +2 -2
  567. package/types/vef-form-modal/props.d.ts +2 -2
  568. package/types/vef-layout/components/sider.d.ts +5 -1
  569. package/types/vef-layout/props.d.ts +5 -1
  570. package/es/vef-app/helper.js +0 -3
  571. package/es/vef-app/index.js +0 -3
  572. package/es/vef-error-page/index.js +0 -3
  573. package/es/vef-not-found-page/index.js +0 -3
  574. package/lib/vef-app/helper.cjs +0 -3
  575. package/lib/vef-app/index.cjs +0 -3
  576. package/lib/vef-app/props.cjs +0 -3
  577. package/lib/vef-error-page/index.cjs +0 -3
  578. package/lib/vef-error-page/props.cjs +0 -3
  579. package/lib/vef-not-found-page/index.cjs +0 -3
  580. package/lib/vef-not-found-page/props.cjs +0 -3
  581. package/types/vef-app/helper.d.ts +0 -10
  582. package/types/vef-app/index.d.ts +0 -5
  583. package/types/vef-app/props.d.ts +0 -7
  584. package/types/vef-error-page/index.d.ts +0 -5
  585. package/types/vef-error-page/props.d.ts +0 -6
  586. package/types/vef-not-found-page/index.d.ts +0 -5
  587. package/types/vef-not-found-page/props.d.ts +0 -6
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.39, build time: 2024-12-22T14:35:26.130Z, made by Venus. */
2
2
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.stringFormatSeparator="_";
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.39, build time: 2024-12-22T14:35:26.130Z, made by Venus. */
2
2
  "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),o=require("@vef-framework/hooks"),r=require("antd"),t=require("react"),{Text:s}=r.Typography;exports.default=({variant:r,color:i,bold:l,ellipsis:n,ellipsisTip:u,ellipsisTipPlacement:a,copyable:c,copiedText:p,onCopy:d,...y})=>{const m=t.useMemo((()=>{if(n)return{tooltip:u??y.children,placement:a}}),[n,u,a,y.children]),x=o.useColorTokens(),f=t.useMemo((()=>{const e={};return"shortcut"===r?e.keyboard=!0:"strikethrough"===r?e.delete=!0:r&&(e[r]=!0),"secondary"===i?e.type="secondary":i&&(e.css={color:x.get(i)}),l&&(e.strong=!0),e}),[l,i,x,r]),h=t.useMemo((()=>{if(c)return{format:"text/plain",text:p,onCopy:d}}),[c,p,d]);return e.jsx(s,{copyable:h,ellipsis:m,...f,...y})};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.39, build time: 2024-12-22T14:35:26.130Z, made by Venus. */
2
2
  "use strict";
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.39, build time: 2024-12-22T14:35:26.130Z, made by Venus. */
2
2
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");exports.useTextareaInstance=function(r){const t=e.useRef(null);return e.useImperativeHandle(r,(()=>({blur:()=>t.current?.blur(),focus:()=>t.current?.focus({preventScroll:!0})}))),t};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.39, build time: 2024-12-22T14:35:26.130Z, made by Venus. */
2
2
  "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),r=require("@vef-framework/shared"),t=require("antd"),n=require("react");require("../internal/index.cjs");const o=require("./hooks/use-textarea-instance.cjs"),u=require("../internal/utils.cjs"),{TextArea:a}=t.Input;function s(e){return""===e?null:e}const i=n.forwardRef((({defaultValue:t,value:i,size:l,clearable:c,showCount:d,onChange:v,onEnterKeyPress:f,onBlur:g,onFocus:x,...q},h)=>{const j=n.useMemo((()=>({onChange:r.isFunction(v)?e=>v(s(e.target.value)):void 0,onPressEnter:r.isFunction(f)?e=>f(s(e.target.value)):void 0,onBlur:r.isFunction(g)?e=>g(s(e.target.value)):void 0,onFocus:r.isFunction(x)?e=>x(s(e.target.value)):void 0})),[v,f,g,x]),F=o.useTextareaInstance(h);return e.jsx(a,{ref:F,allowClear:c,defaultValue:t,showCount:d,size:u.convertBasicSizeToUiSize(l),value:i,...q,...j})}));exports.default=i;
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.39, build time: 2024-12-22T14:35:26.130Z, made by Venus. */
2
2
  "use strict";
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,4 +1,4 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.39, build time: 2024-12-22T14:35:26.130Z, made by Venus. */
2
2
  "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),r=require("@emotion/react"),t=require("@vef-framework/hooks"),i=require("@vef-framework/shared"),s=require("antd"),o=require("react"),a=require("../vef-divider/index.cjs"),{Title:l}=s.Typography,n=r.css`
3
3
  margin: ${i.themeVariables.marginSm} 0 ${i.themeVariables.marginLg};
4
4
  `,c=r.css`
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.39, build time: 2024-12-22T14:35:26.130Z, made by Venus. */
2
2
  "use strict";
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.39, build time: 2024-12-22T14:35:26.130Z, made by Venus. */
2
2
  "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),r=require("antd"),t=require("react"),n=t.forwardRef((({content:n,trigger:o="hover",arrow:a=!0,delay:u=.1,defaultOpened:l,opened:i,onOpenedChange:d,...s},p)=>{const c=t.useRef(null);return t.useImperativeHandle(p,(()=>c.current.nativeElement)),e.jsx(r.Tooltip,{ref:c,arrow:a,defaultOpen:l,mouseEnterDelay:u,open:i,title:n,trigger:o,onOpenChange:d,...s})}));exports.default=n;
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.39, build time: 2024-12-22T14:35:26.130Z, made by Venus. */
2
2
  "use strict";
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.39, build time: 2024-12-22T14:35:26.130Z, made by Venus. */
2
2
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vef-framework/shared"),r=require("react");exports.useChangeHandler=function(t,u){const n=r.useMemo((()=>u.reduce(((e,r)=>(e.set(r.value,r),e)),new Map)),[u]);return r.useMemo((()=>{if(e.isFunction(t))return r=>{r?e.isArray(r)?t(r,r.map((e=>n.get(e)))):t(r,n.get(r)):t(null,null)}}),[t,n])};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.39, build time: 2024-12-22T14:35:26.130Z, made by Venus. */
2
2
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vef-framework/hooks"),o=require("@vef-framework/shared"),i=require("react");exports.useDataOptions=function({value:t,multiple:a=!1,onChange:n,...s}){const{onFilterKeywordChange:r,normalizedOptions:l,defaultOption:u,isLoading:p,fallbackOptions:d,isFallbackOptionsLoading:c}=e.useComputedOptions({...s,selectedOptionValues:o.isArray(t)?t:t?[t]:[]});return i.useLayoutEffect((()=>{u&&o.isFunction(n)&&o.isNullish(t)&&n(a?[u.value]:u.value,a?[u]:u)}),[u,a,n,t]),{onFilterKeywordChange:r,normalizedOptions:l,isLoading:p,fallbackOptions:d,isFallbackOptionsLoading:c}};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.39, build time: 2024-12-22T14:35:26.130Z, made by Venus. */
2
2
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");exports.useTreeSelectInstance=function(t,r){const u=e.useRef(null);return e.useImperativeHandle(t,(()=>({blur:()=>{u.current?.blur()},focus:()=>{u.current?.focus({preventScroll:!0})},getDataOptions:()=>r}))),u};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.39, build time: 2024-12-22T14:35:26.130Z, made by Venus. */
2
2
  "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),r=require("@vef-framework/hooks"),o=require("@vef-framework/shared"),t=require("antd"),l=require("react");require("../internal/index.cjs");const a=require("../vef-loading-placeholder/index.cjs"),i=require("./hooks/use-change-handler.cjs"),n=require("./hooks/use-data-options.cjs"),s=require("./hooks/use-tree-select-instance.cjs"),u=require("../internal/utils.cjs"),c=e.jsx("div",{css:{height:140},children:e.jsx(a.default,{})}),d={showLeafIcon:!1};const h=l.memo(l.forwardRef((function({defaultValue:l,value:a,size:h,clearable:f,disabled:m,placeholder:p,variant:v,onClear:g,onBlur:j,onFocus:q,onChange:C,onSelect:S,onDeselect:x,multiple:b=!1,filterable:k=!0,filterFromRemote:T=!1,...w},F){const{normalizedOptions:z,isLoading:D}=n.useDataOptions({value:a,multiple:b,onChange:C,filterable:k,filterFromRemote:T,...w}),O=r.useOptionFilter(k,!1),y=i.useChangeHandler(C,z),B=s.useTreeSelectInstance(F,z);return e.jsx(t.TreeSelect,{ref:B,allowClear:f,css:o.styles.fullWidth,defaultValue:l,disabled:m,filterTreeNode:O,listHeight:280,loading:D,maxTagCount:b?"responsive":void 0,multiple:b,notFoundContent:D?c:void 0,placeholder:p,showSearch:k,size:u.convertBasicSizeToUiSize(h),treeCheckable:b,treeData:z,treeLine:d,value:a,variant:v,onBlur:j,onChange:y,onClear:g,onDeselect:x,onFocus:q,onSelect:S})})));h.displayName="VefTreeSelect",exports.default=h;
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.39, build time: 2024-12-22T14:35:26.130Z, made by Venus. */
2
2
  "use strict";
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,4 +1,4 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.39, build time: 2024-12-22T14:35:26.130Z, made by Venus. */
2
2
  "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),t=require("@emotion/react"),i=require("@tanstack/react-virtual"),r=require("@vef-framework/hooks"),a=require("@vef-framework/shared"),s=require("react"),l=require("../vef-auto-sizer/index.cjs"),u=require("../vef-scroll-area/index.cjs"),o={willChange:"transform"},n=t.css`
3
3
  position: relative;
4
4
  width: var(--vef-virtual-grid-width);
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.39, build time: 2024-12-22T14:35:26.130Z, made by Venus. */
2
2
  "use strict";
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,4 +1,4 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.39, build time: 2024-12-22T14:35:26.130Z, made by Venus. */
2
2
  "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),t=require("@emotion/react"),i=require("@tanstack/react-virtual"),l=require("@vef-framework/hooks"),a=require("@vef-framework/shared"),r=require("react"),s=require("../vef-auto-sizer/index.cjs"),v=require("../vef-scroll-area/index.cjs"),o={willChange:"transform"},u=t.css`
3
3
  position: relative;
4
4
  width: var(--vef-virtual-list-width, auto);
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.39, build time: 2024-12-22T14:35:26.130Z, made by Venus. */
2
2
  "use strict";
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vef-framework/components",
3
3
  "type": "module",
4
- "version": "1.0.37",
4
+ "version": "1.0.39",
5
5
  "private": false,
6
6
  "packageManager": "pnpm@9.15.0",
7
7
  "description": "Components fundamental to the VEF framework",
@@ -41,12 +41,12 @@
41
41
  "@dnd-kit/utilities": "3.2.2",
42
42
  "@radix-ui/react-scroll-area": "1.2.1",
43
43
  "@tanstack/react-virtual": "3.11.1",
44
- "@vef-framework/core": "1.0.37",
45
- "@vef-framework/hooks": "1.0.37",
46
- "@vef-framework/shared": "1.0.37",
44
+ "@vef-framework/core": "1.0.39",
45
+ "@vef-framework/hooks": "1.0.39",
46
+ "@vef-framework/shared": "1.0.39",
47
47
  "clsx": "2.1.1",
48
48
  "dayjs": "1.11.13",
49
- "lucide-react": "^0.468.0",
49
+ "lucide-react": "0.469.0",
50
50
  "motion": "11.14.0",
51
51
  "polished": "4.3.1",
52
52
  "react-container-query": "0.13.0",
package/types/index.d.ts CHANGED
@@ -1,7 +1,5 @@
1
1
  export { default as VefAccessDenied, type VefAccessDeniedProps } from "./vef-access-denied";
2
2
  export { default as VefActionButtons, type VefActionButtonsProps } from "./vef-action-buttons";
3
- export { default as VefApp, type VefAppProps } from "./vef-app";
4
- export { createApp } from "./vef-app/helper";
5
3
  export { default as VefAutoSizer, type VefAutoSizerProps } from "./vef-auto-sizer";
6
4
  export { default as VefAvatar, type VefAvatarProps } from "./vef-avatar";
7
5
  export { default as VefAvatarGroup, type VefAvatarGroupProps } from "./vef-avatar-group";
@@ -24,7 +22,6 @@ export { dynamicIconNames } from "./vef-dynamic-icon/props";
24
22
  export { default as VefEmpty, type VefEmptyProps } from "./vef-empty";
25
23
  export { default as VefEmptyPlaceholder, type VefEmptyPlaceholderProps } from "./vef-empty-placeholder";
26
24
  export { default as VefError, type VefErrorProps } from "./vef-error";
27
- export { default as VefErrorPage, type VefErrorPageProps } from "./vef-error-page";
28
25
  export { default as VefFilter, type FilterActionButtonConfig, type FilterContext, type FilterItem, type FilterLabelAlign, type FilterLabelPosition, type FilterSchema, type VefFilterInstance, type VefFilterProps } from "./vef-filter";
29
26
  export { default as VefFlex, type VefFlexProps } from "./vef-flex";
30
27
  export { default as VefFloatButton, type VefFloatButtonProps } from "./vef-float-button";
@@ -45,7 +42,6 @@ export { default as VefMenu, type VefMenuProps } from "./vef-menu";
45
42
  export { default as VefModal, VefModalActionButtonWrapper, type VefModalActionButtonWrapperProps, type VefModalProps } from "./vef-modal";
46
43
  export * from "./vef-modal/context";
47
44
  export { default as VefNotFound, type VefNotFoundProps } from "./vef-not-found";
48
- export { default as VefNotFoundPage, type VefNotFoundPageProps } from "./vef-not-found-page";
49
45
  export { default as VefPage, type VefPageProps } from "./vef-page";
50
46
  export { default as VefPagination, type VefPaginationProps } from "./vef-pagination";
51
47
  export { default as VefParagraph, type VefParagraphProps } from "./vef-paragraph";
@@ -5,10 +5,6 @@ import type { AppConfig } from "./hooks/use-ui-config";
5
5
  * The props of the VefConfigProvider component.
6
6
  */
7
7
  export interface VefConfigProviderProps extends AppConfig, ChildrenProps {
8
- /**
9
- * Whether to show the dev assistant component.
10
- */
11
- showDevAssistant?: boolean;
12
8
  /**
13
9
  * The api client.
14
10
  */
@@ -1,5 +1,5 @@
1
1
  import type { Except, MutationApi, ObjectType, PaginationParams, PaginationResult, QueryApi, QueryConfig, StringKey } from "@vef-framework/shared";
2
- import type { CrudContext, CrudFilterVirtualKeys, CrudFormApis, CrudSchema } from "../types";
2
+ import type { CrudContext, CrudFilterVirtualKey, CrudFormApis, CrudSchema } from "../types";
3
3
  import { type TableSchema, type VefTableProps } from "../../vef-table";
4
4
  /**
5
5
  * The base props of VefCrudTable component.
@@ -33,7 +33,7 @@ type DefaultCrudTableProps<Record extends ObjectType, Params extends ObjectType,
33
33
  /**
34
34
  * The api of the table.
35
35
  */
36
- api: Readonly<QueryApi<Params & Except<Pick<Record, FilterKeys[number]>, CrudFilterVirtualKeys<Schema>>, Record[]>>;
36
+ api: Readonly<QueryApi<Params & Except<Pick<Record, FilterKeys[number]>, CrudFilterVirtualKey<Schema>>, Record[]>>;
37
37
  };
38
38
  /**
39
39
  * The props of VefCrudTable component without pagination.
@@ -46,7 +46,7 @@ type PaginatedCrudTableProps<Record extends ObjectType, Params extends ObjectTyp
46
46
  /**
47
47
  * The api of the table.
48
48
  */
49
- api: Readonly<QueryApi<Params & PaginationParams & Except<Pick<Record, FilterKeys[number]>, CrudFilterVirtualKeys<Schema>>, PaginationResult<Record>>>;
49
+ api: Readonly<QueryApi<Params & PaginationParams & Except<Pick<Record, FilterKeys[number]>, CrudFilterVirtualKey<Schema>>, PaginationResult<Record>>>;
50
50
  };
51
51
  /**
52
52
  * The props of VefCrudTable component.
@@ -2,7 +2,7 @@ import type { ActionButton, AnyValue, EmptyObject, Except, Mapper, MaybePromise,
2
2
  import type { ReactNode } from "react";
3
3
  import type { FilterValues } from "../vef-filter/types";
4
4
  import type { VefTableProps } from "../vef-table";
5
- import type { BatchActionButtonContext, CrudContext, CrudFilterVirtualKeys, CrudFormApis, CrudFormScene, CrudSchema, FormEventHandlers } from "./types";
5
+ import type { BatchActionButtonContext, CrudContext, CrudFilterVirtualKey, CrudFormApis, CrudFormScene, CrudSchema, FormEventHandlers } from "./types";
6
6
  /**
7
7
  * The props of VefCrudPage component.
8
8
  */
@@ -65,7 +65,7 @@ type VefDefaultCrudPageProps<Record extends ObjectType = ObjectValue, Params ext
65
65
  /**
66
66
  * The api of the table.
67
67
  */
68
- tableApi: Readonly<QueryApi<Params & Except<Pick<Record, FilterKeys[number]>, CrudFilterVirtualKeys<Schema>>, Record[]>>;
68
+ tableApi: Readonly<QueryApi<Params & Except<Pick<Record, FilterKeys[number]>, CrudFilterVirtualKey<Schema>>, Record[]>>;
69
69
  };
70
70
  /**
71
71
  * The paginated props of VefCrudPage component.
@@ -79,6 +79,6 @@ type VefPaginatedCrudPageProps<Record extends ObjectType = ObjectValue, Params e
79
79
  /**
80
80
  * The api of the table.
81
81
  */
82
- tableApi: Readonly<QueryApi<Params & PaginationParams & Except<Pick<Record, FilterKeys[number]>, CrudFilterVirtualKeys<Schema>>, PaginationResult<Record>>>;
82
+ tableApi: Readonly<QueryApi<Params & PaginationParams & Except<Pick<Record, FilterKeys[number]>, CrudFilterVirtualKey<Schema>>, PaginationResult<Record>>>;
83
83
  };
84
84
  export {};
@@ -2,7 +2,7 @@ import type { RefObject } from "react";
2
2
  import { type AnyValue, type ChildrenProps, type Consumer, type Except, type Handler, type IdValue, type Mapper, type MaybeNull, type MaybePromise, type ObjectType, type StringKey, type TriMapper } from "@vef-framework/shared";
3
3
  import type { FilterValues } from "../vef-filter/types";
4
4
  import type { VefTableInstance } from "../vef-table";
5
- import type { CrudFilterVirtualKeys, CrudFormApis, CrudFormScene, CrudSchema, FormBehaviorConfig, FormEventHandlers, FormInfo } from "./types";
5
+ import type { CrudFilterVirtualKey, CrudFormApis, CrudFormScene, CrudSchema, FormBehaviorConfig, FormEventHandlers, FormInfo } from "./types";
6
6
  /**
7
7
  * The selected info.
8
8
  */
@@ -74,11 +74,11 @@ export interface CrudState<Record extends ObjectType, FilterKeys extends Readonl
74
74
  /**
75
75
  * The confirmed values of the filter.
76
76
  */
77
- confirmedFilterValues: MaybeNull<Except<Pick<Record, FilterKeys[number]>, CrudFilterVirtualKeys<Schema>>>;
77
+ confirmedFilterValues: MaybeNull<Except<Pick<Record, FilterKeys[number]>, CrudFilterVirtualKey<Schema>>>;
78
78
  /**
79
79
  * The function to set the confirmed values of the filter.
80
80
  */
81
- setConfirmedFilterValues: Consumer<MaybeNull<Except<Pick<Record, FilterKeys[number]>, CrudFilterVirtualKeys<Schema>>>>;
81
+ setConfirmedFilterValues: Consumer<MaybeNull<Except<Pick<Record, FilterKeys[number]>, CrudFilterVirtualKey<Schema>>>>;
82
82
  /**
83
83
  * The selected info.
84
84
  */
@@ -137,9 +137,9 @@ type CrudItemUnion<Record extends ObjectType, FilterKeys extends StringKey<Recor
137
137
  */
138
138
  export type CrudSchema<Record extends ObjectType = ObjectValue, FilterKeys extends ReadonlyArray<StringKey<Record>> = [], FormKeys extends ReadonlyArray<StringKey<Record>> = []> = NonEmptyTuple<CrudItemUnion<Record, FilterKeys[number], FormKeys[number], UnionToTuple<StringKey<Record>>>>;
139
139
  /**
140
- * The virtual keys of the crud filter.
140
+ * The virtual key of the crud filter.
141
141
  */
142
- export type CrudFilterVirtualKeys<T extends readonly unknown[]> = {
142
+ export type CrudFilterVirtualKey<T extends readonly unknown[]> = {
143
143
  [K in keyof T]: T[K] extends {
144
144
  name: infer N;
145
145
  filter: infer F;
@@ -148,9 +148,9 @@ export type CrudFilterVirtualKeys<T extends readonly unknown[]> = {
148
148
  } ? N : never : never;
149
149
  }[number];
150
150
  /**
151
- * The virtual keys of the crud form.
151
+ * The virtual key of the crud form.
152
152
  */
153
- export type CrudFormVirtualKeys<T extends readonly unknown[]> = {
153
+ export type CrudFormVirtualKey<T extends readonly unknown[]> = {
154
154
  [K in keyof T]: T[K] extends {
155
155
  name: infer N;
156
156
  form: infer F;
@@ -162,7 +162,7 @@ export type CrudFormVirtualKeys<T extends readonly unknown[]> = {
162
162
  * The apis of the form.
163
163
  */
164
164
  export type CrudFormApis<Record extends ObjectType, FormKeys extends ReadonlyArray<StringKey<Record>>, FormResult, Schema extends CrudSchema<Record, never, FormKeys>> = {
165
- [K in FormScene]?: Readonly<MutationApi<Except<Pick<Record, FormKeys[number]>, CrudFormVirtualKeys<Schema>>, FormResult>>;
165
+ [K in FormScene]?: Readonly<MutationApi<Except<Pick<Record, FormKeys[number]>, CrudFormVirtualKey<Schema>>, FormResult>>;
166
166
  };
167
167
  /**
168
168
  * The form scene of the crud.
@@ -1,7 +1,7 @@
1
1
  import type { FormProps } from "antd";
2
2
  import { type Handler, type Mapper, type ObjectType } from "@vef-framework/shared";
3
3
  import type { VefFilterProps } from "../props";
4
- import type { FilterSchema, FilterVirtualKeys } from "../types";
4
+ import type { FilterSchema, FilterVirtualKey } from "../types";
5
5
  type ConfirmFailedHandler<T extends ObjectType> = NonNullable<FormProps<T>["onFinishFailed"]>;
6
6
  /**
7
7
  * The hook for handling the action handlers of the filter.
@@ -12,7 +12,7 @@ type ConfirmFailedHandler<T extends ObjectType> = NonNullable<FormProps<T>["onFi
12
12
  * @param props.onReset - The callback function when the filter is reset.
13
13
  * @returns The action handlers of the filter.
14
14
  */
15
- export declare function useActionHandlers<Values extends ObjectType, Schema extends FilterSchema<Values>, VirtualKeys extends FilterVirtualKeys<Schema>>({ onBeforeConfirm, onConfirm, onReset, }: Pick<VefFilterProps<Values, Schema, VirtualKeys>, "onBeforeConfirm" | "onConfirm" | "onReset">): {
15
+ export declare function useActionHandlers<Values extends ObjectType, Schema extends FilterSchema<Values>, VirtualKeys extends FilterVirtualKey<Schema>>({ onBeforeConfirm, onConfirm, onReset, }: Pick<VefFilterProps<Values, Schema, VirtualKeys>, "onBeforeConfirm" | "onConfirm" | "onReset">): {
16
16
  handleReset: Handler;
17
17
  handleConfirm?: Mapper<Values, Promise<void>>;
18
18
  handleConfirmFailed: ConfirmFailedHandler<Values>;
@@ -1,7 +1,7 @@
1
1
  import { type ObjectType, type ObjectValue } from "@vef-framework/shared";
2
2
  import { type FC, type ReactNode, type RefAttributes } from "react";
3
3
  import type { VefFilterInstance, VefFilterProps } from "./props";
4
- import type { FilterActionButtonConfig, FilterContext, FilterItem, FilterLabelAlign, FilterLabelPosition, FilterSchema, FilterVirtualKeys } from "./types";
5
- declare const VefFilter: (<Values extends ObjectType = ObjectValue, Schema extends FilterSchema<Values> = FilterSchema<Values>, VirtualKeys extends FilterVirtualKeys<Schema> = FilterVirtualKeys<Schema>>(props: VefFilterProps<Values, Schema, VirtualKeys> & RefAttributes<VefFilterInstance<Values>>) => ReactNode) & Pick<FC, "displayName">;
4
+ import type { FilterActionButtonConfig, FilterContext, FilterItem, FilterLabelAlign, FilterLabelPosition, FilterSchema, FilterVirtualKey } from "./types";
5
+ declare const VefFilter: (<Values extends ObjectType = ObjectValue, Schema extends FilterSchema<Values> = FilterSchema<Values>, VirtualKeys extends FilterVirtualKey<Schema> = FilterVirtualKey<Schema>>(props: VefFilterProps<Values, Schema, VirtualKeys> & RefAttributes<VefFilterInstance<Values>>) => ReactNode) & Pick<FC, "displayName">;
6
6
  export type { FilterActionButtonConfig, FilterContext, FilterItem, FilterLabelAlign, FilterLabelPosition, FilterSchema, VefFilterInstance, VefFilterProps };
7
7
  export default VefFilter;
@@ -1,6 +1,6 @@
1
1
  import type { BasicSize, Consumer, Except, FormItemVariant, Handler, Mapper, MaybePromise, ObjectType, ObjectValue, Provider } from "@vef-framework/shared";
2
2
  import type { ReactNode } from "react";
3
- import type { FilterActionButtonConfig, FilterLabelAlign, FilterLabelPosition, FilterSchema, FilterValues, FilterVirtualKeys } from "./types";
3
+ import type { FilterActionButtonConfig, FilterLabelAlign, FilterLabelPosition, FilterSchema, FilterValues, FilterVirtualKey } from "./types";
4
4
  /**
5
5
  * The instance of the VefFilter component.
6
6
  *
@@ -30,7 +30,7 @@ export interface VefFilterInstance<Values extends ObjectType = ObjectValue> {
30
30
  * @param Values - The type of the filter values.
31
31
  * @param Schema - The type of the filter schema.
32
32
  */
33
- export interface VefFilterProps<Values extends ObjectType = ObjectValue, Schema extends FilterSchema<Values> = FilterSchema<Values>, VirtualKeys extends FilterVirtualKeys<Schema> = FilterVirtualKeys<Schema>> {
33
+ export interface VefFilterProps<Values extends ObjectType = ObjectValue, Schema extends FilterSchema<Values> = FilterSchema<Values>, VirtualKeys extends FilterVirtualKey<Schema> = FilterVirtualKey<Schema>> {
34
34
  /**
35
35
  * The schema of the filter.
36
36
  */
@@ -94,9 +94,9 @@ export interface FilterContext<Values extends ObjectType> {
94
94
  setValues: Consumer<FilterValues<Values>>;
95
95
  }
96
96
  /**
97
- * The virtual keys of the filter.
97
+ * The virtual key of the filter.
98
98
  */
99
- export type FilterVirtualKeys<T extends ReadonlyArray<FilterItem<any, string>>> = FilterVirtualItems<T>[number];
99
+ export type FilterVirtualKey<T extends ReadonlyArray<FilterItem<any, string>>> = FilterVirtualItems<T>[number];
100
100
  type FilterVirtualItems<T extends ReadonlyArray<FilterItem<any, string>>> = {
101
101
  [K in keyof T]: T[K]["virtual"] extends true ? T[K]["name"] : never;
102
102
  };
@@ -1,12 +1,12 @@
1
1
  import type { FormProps } from "antd";
2
2
  import { type Handler, type Mapper, type ObjectType } from "@vef-framework/shared";
3
3
  import type { VefFormProps } from "../props";
4
- import type { FormScene, FormSchema, FormVirtualKeys } from "../types";
4
+ import type { FormScene, FormSchema, FormVirtualKey } from "../types";
5
5
  type SubmitFailedHandler<Values extends ObjectType> = NonNullable<FormProps<Values>["onFinishFailed"]>;
6
6
  /**
7
7
  * The use action handlers hook.
8
8
  */
9
- export declare function useActionHandlers<Values extends ObjectType, Result, Scene extends FormScene, Schema extends FormSchema<Values, Scene>, VirtualKeys extends FormVirtualKeys<Schema>>({ submitApi, submitTip, onBeforeSubmit, onSubmit, onSubmitSuccess, onSubmitFailure, onReset, }: Pick<VefFormProps<Values, Result, Scene, Schema, VirtualKeys>, "submitApi" | "submitTip" | "onBeforeSubmit" | "onSubmit" | "onSubmitSuccess" | "onSubmitFailure" | "onReset">): {
9
+ export declare function useActionHandlers<Values extends ObjectType, Result, Scene extends FormScene, Schema extends FormSchema<Values, Scene>, VirtualKeys extends FormVirtualKey<Schema>>({ submitApi, submitTip, onBeforeSubmit, onSubmit, onSubmitSuccess, onSubmitFailure, onReset, }: Pick<VefFormProps<Values, Result, Scene, Schema, VirtualKeys>, "submitApi" | "submitTip" | "onBeforeSubmit" | "onSubmit" | "onSubmitSuccess" | "onSubmitFailure" | "onReset">): {
10
10
  handleReset: Handler;
11
11
  handleSubmit: Mapper<Values, Promise<void>>;
12
12
  handleSubmitFailed: SubmitFailedHandler<Values>;
@@ -1,7 +1,7 @@
1
1
  import { type AnyValue, type ObjectType, type ObjectValue } from "@vef-framework/shared";
2
2
  import { type FC, type ReactNode, type RefAttributes } from "react";
3
3
  import type { VefFormInstance, VefFormProps } from "./props";
4
- import type { FormActionButtonConfig, FormColumn, FormContext, FormGroup, FormItem, FormLabelAlign, FormLabelPosition, FormLayoutMode, FormRow, FormScene, FormSchema, FormTabsUse, FormValidationRule, FormVirtualKeys } from "./types";
5
- declare const VefForm: (<Values extends ObjectType = ObjectValue, Result = AnyValue, Scene extends FormScene = FormScene, Schema extends FormSchema<Values, Scene> = FormSchema<Values, Scene>, VirtualKeys extends FormVirtualKeys<Schema> = FormVirtualKeys<Schema>>(props: VefFormProps<Values, Result, Scene, Schema, VirtualKeys> & RefAttributes<VefFormInstance<Values>>) => ReactNode) & Pick<FC, "displayName">;
4
+ import type { FormActionButtonConfig, FormColumn, FormContext, FormGroup, FormItem, FormLabelAlign, FormLabelPosition, FormLayoutMode, FormRow, FormScene, FormSchema, FormTabsUse, FormValidationRule, FormVirtualKey } from "./types";
5
+ declare const VefForm: (<Values extends ObjectType = ObjectValue, Result = AnyValue, Scene extends FormScene = FormScene, Schema extends FormSchema<Values, Scene> = FormSchema<Values, Scene>, VirtualKeys extends FormVirtualKey<Schema> = FormVirtualKey<Schema>>(props: VefFormProps<Values, Result, Scene, Schema, VirtualKeys> & RefAttributes<VefFormInstance<Values>>) => ReactNode) & Pick<FC, "displayName">;
6
6
  export type { FormActionButtonConfig, FormColumn, FormContext, FormGroup, FormItem, FormLabelAlign, FormLabelPosition, FormLayoutMode, FormRow, FormScene, FormSchema, FormTabsUse, FormValidationRule, VefFormInstance, VefFormProps };
7
7
  export default VefForm;
@@ -1,6 +1,6 @@
1
1
  import type { AnyValue, ApiResponse, BasicSize, BiConsumer, BiMapper, Consumer, Except, FormItemVariant, Handler, LengthValue, LiteralUnion, MaybePromise, MutationApi, ObjectType, ObjectValue, Provider, TriConsumer, VefError } from "@vef-framework/shared";
2
2
  import type { ReactNode } from "react";
3
- import type { FormActionButtonConfig, FormLabelAlign, FormLabelPosition, FormLayoutMode, FormScene, FormSchema, FormTabsUse, FormValues, FormVirtualKeys } from "./types";
3
+ import type { FormActionButtonConfig, FormLabelAlign, FormLabelPosition, FormLayoutMode, FormScene, FormSchema, FormTabsUse, FormValues, FormVirtualKey } from "./types";
4
4
  /**
5
5
  * The instance of the VefForm component.
6
6
  *
@@ -33,7 +33,7 @@ export interface VefFormInstance<Values extends ObjectType = ObjectValue> {
33
33
  * @param Schema - The type of the form schema.
34
34
  * @param VirtualKeys - The type of the virtual keys of the form.
35
35
  */
36
- export interface VefFormProps<Values extends ObjectType = ObjectValue, Result = AnyValue, Scene extends FormScene = FormScene, Schema extends FormSchema<Values, Scene> = FormSchema<Values, Scene>, VirtualKeys extends FormVirtualKeys<Schema> = FormVirtualKeys<Schema>> {
36
+ export interface VefFormProps<Values extends ObjectType = ObjectValue, Result = AnyValue, Scene extends FormScene = FormScene, Schema extends FormSchema<Values, Scene> = FormSchema<Values, Scene>, VirtualKeys extends FormVirtualKey<Schema> = FormVirtualKey<Schema>> {
37
37
  /**
38
38
  * The scene of the form.
39
39
  */
@@ -104,9 +104,9 @@ export interface InternalFormContext {
104
104
  autoExpand: boolean;
105
105
  }
106
106
  /**
107
- * The virtual keys of the form.
107
+ * The virtual key of the form.
108
108
  */
109
- export type FormVirtualKeys<S extends ReadonlyArray<FormGroup<any, any, any>>> = FormVirtualItems<FlattenFormItem<S>>[number];
109
+ export type FormVirtualKey<S extends ReadonlyArray<FormGroup<any, any, any>>> = FormVirtualItems<FlattenFormItem<S>>[number];
110
110
  type FormVirtualItems<T extends ReadonlyArray<FormItem<any, any, any>>> = {
111
111
  [K in keyof T]: T[K]["virtual"] extends true ? T[K]["name"] : never;
112
112
  };
@@ -1,9 +1,9 @@
1
1
  import { type AnyValue, type ObjectType, type ObjectValue } from "@vef-framework/shared";
2
2
  import { type FC } from "react";
3
- import type { FormVirtualKeys } from "../vef-form/types";
3
+ import type { FormVirtualKey } from "../vef-form/types";
4
4
  import type { VefFormDrawerProps } from "./props";
5
5
  import { type FormScene, type FormSchema } from "../vef-form";
6
- declare function VefFormDrawerBase<Values extends ObjectType = ObjectValue, Result = AnyValue, Scene extends FormScene = FormScene, Schema extends FormSchema<Values, Scene> = FormSchema<Values, Scene>, VirtualKeys extends FormVirtualKeys<Schema> = FormVirtualKeys<Schema>>({ title, open, closable, closeOnMaskClick, closeOnEscPress, destroyOnClose, cancelOnClose, placement, expansionSize, loading, extra, cancelButtonText, actions, onClose, onCancel, onAfterClose, onAfterOpen, submissionButtonText, disabled, ...formProps }: VefFormDrawerProps<Values, Result, Scene, Schema, VirtualKeys>): import("@emotion/react/jsx-runtime").JSX.Element;
6
+ declare function VefFormDrawerBase<Values extends ObjectType = ObjectValue, Result = AnyValue, Scene extends FormScene = FormScene, Schema extends FormSchema<Values, Scene> = FormSchema<Values, Scene>, VirtualKeys extends FormVirtualKey<Schema> = FormVirtualKey<Schema>>({ title, open, closable, closeOnMaskClick, closeOnEscPress, destroyOnClose, cancelOnClose, placement, expansionSize, loading, extra, cancelButtonText, actions, onClose, onCancel, onAfterClose, onAfterOpen, submissionButtonText, disabled, ...formProps }: VefFormDrawerProps<Values, Result, Scene, Schema, VirtualKeys>): import("@emotion/react/jsx-runtime").JSX.Element;
7
7
  declare const VefFormDrawer: typeof VefFormDrawerBase & Pick<FC, "displayName">;
8
8
  export type { VefFormDrawerProps };
9
9
  export default VefFormDrawer;
@@ -2,8 +2,8 @@ import type { AnyValue, Except, Mapper, ObjectType, ObjectValue } from "@vef-fra
2
2
  import type { ReactElement, ReactNode } from "react";
3
3
  import type { VefDrawerProps } from "../vef-drawer";
4
4
  import type { FormScene, FormSchema, VefFormProps } from "../vef-form";
5
- import type { FormVirtualKeys } from "../vef-form/types";
6
- export interface VefFormDrawerProps<Values extends ObjectType = ObjectValue, Result = AnyValue, Scene extends FormScene = FormScene, Schema extends FormSchema<Values, Scene> = FormSchema<Values, Scene>, VirtualKeys extends FormVirtualKeys<Schema> = FormVirtualKeys<Schema>> extends Except<VefFormProps<Values, Result, Scene, Schema, VirtualKeys>, "submissionButton" | "resetButton">, Except<VefDrawerProps, "showCancelButton" | "okButtonText" | "actions" | "onOk" | "children"> {
5
+ import type { FormVirtualKey } from "../vef-form/types";
6
+ export interface VefFormDrawerProps<Values extends ObjectType = ObjectValue, Result = AnyValue, Scene extends FormScene = FormScene, Schema extends FormSchema<Values, Scene> = FormSchema<Values, Scene>, VirtualKeys extends FormVirtualKey<Schema> = FormVirtualKey<Schema>> extends Except<VefFormProps<Values, Result, Scene, Schema, VirtualKeys>, "submissionButton" | "resetButton">, Except<VefDrawerProps, "showCancelButton" | "okButtonText" | "actions" | "onOk" | "children"> {
7
7
  /**
8
8
  * The text of the submission button.
9
9
  * @default "提交"
@@ -1,9 +1,9 @@
1
1
  import { type AnyValue, type ObjectType, type ObjectValue } from "@vef-framework/shared";
2
2
  import { type FC } from "react";
3
- import type { FormVirtualKeys } from "../vef-form/types";
3
+ import type { FormVirtualKey } from "../vef-form/types";
4
4
  import type { VefFormModalProps } from "./props";
5
5
  import { type FormScene, type FormSchema } from "../vef-form";
6
- declare function VefFormModalBase<Values extends ObjectType = ObjectValue, Result = AnyValue, Scene extends FormScene = FormScene, Schema extends FormSchema<Values, Scene> = FormSchema<Values, Scene>, VirtualKeys extends FormVirtualKeys<Schema> = FormVirtualKeys<Schema>>({ submissionButtonText, actions, title, open, closable, closeOnMaskClick, closeOnEscPress, destroyOnClose, cancelOnClose, width, loading, cancelButtonText, onClose, onCancel, onAfterOpen, onAfterClose, disabled, ...formProps }: VefFormModalProps<Values, Result, Scene, Schema, VirtualKeys>): import("@emotion/react/jsx-runtime").JSX.Element;
6
+ declare function VefFormModalBase<Values extends ObjectType = ObjectValue, Result = AnyValue, Scene extends FormScene = FormScene, Schema extends FormSchema<Values, Scene> = FormSchema<Values, Scene>, VirtualKeys extends FormVirtualKey<Schema> = FormVirtualKey<Schema>>({ submissionButtonText, actions, title, open, closable, closeOnMaskClick, closeOnEscPress, destroyOnClose, cancelOnClose, width, loading, cancelButtonText, onClose, onCancel, onAfterOpen, onAfterClose, disabled, ...formProps }: VefFormModalProps<Values, Result, Scene, Schema, VirtualKeys>): import("@emotion/react/jsx-runtime").JSX.Element;
7
7
  declare const VefFormModal: typeof VefFormModalBase & Pick<FC, "displayName">;
8
8
  export type { VefFormModalProps };
9
9
  export default VefFormModal;
@@ -1,12 +1,12 @@
1
1
  import type { AnyValue, Except, Mapper, ObjectType, ObjectValue } from "@vef-framework/shared";
2
2
  import type { ReactElement, ReactNode } from "react";
3
3
  import type { FormSchema, VefFormProps } from "../vef-form";
4
- import type { FormScene, FormVirtualKeys } from "../vef-form/types";
4
+ import type { FormScene, FormVirtualKey } from "../vef-form/types";
5
5
  import type { VefModalProps } from "../vef-modal";
6
6
  /**
7
7
  * The props of the VefFormModal component.
8
8
  */
9
- export interface VefFormModalProps<Values extends ObjectType = ObjectValue, Result = AnyValue, Scene extends FormScene = FormScene, Schema extends FormSchema<Values, Scene> = FormSchema<Values, Scene>, VirtualKeys extends FormVirtualKeys<Schema> = FormVirtualKeys<Schema>> extends Except<VefFormProps<Values, Result, Scene, Schema, VirtualKeys>, "submissionButton" | "resetButton">, Except<VefModalProps, "showCancelButton" | "okButtonText" | "actions" | "onOk" | "children"> {
9
+ export interface VefFormModalProps<Values extends ObjectType = ObjectValue, Result = AnyValue, Scene extends FormScene = FormScene, Schema extends FormSchema<Values, Scene> = FormSchema<Values, Scene>, VirtualKeys extends FormVirtualKey<Schema> = FormVirtualKey<Schema>> extends Except<VefFormProps<Values, Result, Scene, Schema, VirtualKeys>, "submissionButton" | "resetButton">, Except<VefModalProps, "showCancelButton" | "okButtonText" | "actions" | "onOk" | "children"> {
10
10
  /**
11
11
  * The text of the submission button.
12
12
  * @default "提交"
@@ -1,4 +1,4 @@
1
- import { type MenuItem } from "@vef-framework/shared";
1
+ import { type Consumer, type IdValue, type MenuItem } from "@vef-framework/shared";
2
2
  import { type VefTitleProps } from "./title";
3
3
  /**
4
4
  * The props of the layout sider component.
@@ -8,6 +8,10 @@ interface VefSiderProps extends VefTitleProps {
8
8
  * The items of the sider.
9
9
  */
10
10
  items: MenuItem[];
11
+ /**
12
+ * The on menu switch callback.
13
+ */
14
+ onMenuSwitch?: Consumer<IdValue>;
11
15
  }
12
16
  declare const VefSider: import("react").NamedExoticComponent<VefSiderProps>;
13
17
  export default VefSider;
@@ -1,4 +1,4 @@
1
- import type { ChildrenProps, MenuItem } from "@vef-framework/shared";
1
+ import type { ChildrenProps, Consumer, IdValue, MenuItem } from "@vef-framework/shared";
2
2
  import type { ReactNode } from "react";
3
3
  /**
4
4
  * The props of the VefLayout component.
@@ -16,4 +16,8 @@ export interface VefLayoutProps extends Required<ChildrenProps> {
16
16
  * The menu items of the system.
17
17
  */
18
18
  menuItems?: MenuItem[];
19
+ /**
20
+ * The on menu switch callback.
21
+ */
22
+ onMenuSwitch?: Consumer<IdValue>;
19
23
  }
@@ -1,3 +0,0 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.407Z, made by Venus. */
2
- import{jsx as e}from"@emotion/react/jsx-runtime";import{createRoot as r}from"react-dom/client";import t from"./index.js";function n(){const n=r(document.getElementById("root"),{identifierPrefix:"vef-"});return{render:r=>{n.render(e(t,{...r}))},unmount:()=>n.unmount()}}export{n as createApp};
3
- /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +0,0 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.407Z, made by Venus. */
2
- import{jsx as r}from"@emotion/react/jsx-runtime";import{VefRouterProvider as o}from"@vef-framework/core";import{StrictMode as e}from"react";import t from"../vef-config-provider/index.js";const i=({router:i,...m})=>r(e,{children:r(t,{...m,children:r(o,{router:i})})});export{i as default};
3
- /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +0,0 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.407Z, made by Venus. */
2
- import{jsx as r}from"@emotion/react/jsx-runtime";import e from"../vef-error/index.js";const o=({error:o,info:t,reset:n})=>r(e,{componentStack:t?.componentStack,error:o,reset:n});export{o as default};
3
- /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +0,0 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.407Z, made by Venus. */
2
- import{jsx as o}from"@emotion/react/jsx-runtime";import{useNavigate as r,useLocation as t}from"@vef-framework/core";import{useCallback as e}from"react";import m from"../vef-not-found/index.js";const n=()=>{const n=r(),a=e((()=>n({to:"/"})),[n]),{pathname:f}=t();return o(m,{uri:f,onNavigateHome:a})};export{n as default};
3
- /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +0,0 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@emotion/react/jsx-runtime"),t=require("react-dom/client"),r=require("./index.cjs");exports.createApp=function(){const n=t.createRoot(document.getElementById("root"),{identifierPrefix:"vef-"});return{render:t=>{n.render(e.jsx(r.default,{...t}))},unmount:()=>n.unmount()}};
3
- /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +0,0 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
2
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),r=require("@vef-framework/core"),t=require("react"),o=require("../vef-config-provider/index.cjs");exports.default=({router:i,...u})=>e.jsx(t.StrictMode,{children:e.jsx(o.default,{...u,children:e.jsx(r.VefRouterProvider,{router:i})})});
3
- /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +0,0 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
2
- "use strict";
3
- /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +0,0 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
2
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),r=require("../vef-error/index.cjs");exports.default=({error:t,info:o,reset:s})=>e.jsx(r.default,{componentStack:o?.componentStack,error:t,reset:s});
3
- /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +0,0 @@
1
- /*! VefFramework version: 1.0.37, build time: 2024-12-21T13:19:32.408Z, made by Venus. */
2
- "use strict";
3
- /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */