@vef-framework/components 1.0.71 → 1.0.73

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 (628) hide show
  1. package/es/index.js +2 -2
  2. package/es/internal/chart.js +1 -1
  3. package/es/internal/index.js +2 -2
  4. package/es/internal/modern-normalize.css.js +1 -1
  5. package/es/internal/utils.js +1 -1
  6. package/es/vef-access-denied/access-denied-icon.js +1 -1
  7. package/es/vef-access-denied/index.js +1 -1
  8. package/es/vef-action-buttons/index.js +1 -1
  9. package/es/vef-area-chart/index.js +3 -0
  10. package/es/vef-auto-sizer/index.js +1 -1
  11. package/es/vef-avatar/index.js +1 -1
  12. package/es/vef-avatar-group/index.js +1 -1
  13. package/es/vef-badge/index.js +1 -1
  14. package/es/vef-bar-chart/index.js +3 -0
  15. package/es/vef-bool/hooks/use-bool-instance.js +1 -1
  16. package/es/vef-bool/index.js +1 -1
  17. package/es/vef-breadcrumb/index.js +1 -1
  18. package/es/vef-button/components/base-button.js +1 -1
  19. package/es/vef-button/index.js +1 -1
  20. package/es/vef-card/index.js +1 -1
  21. package/es/vef-card-meta/index.js +1 -1
  22. package/es/vef-chart-container/hooks/use-chart-container-context.js +1 -1
  23. package/es/vef-chart-container/index.js +3 -4
  24. package/es/vef-chart-legend-content/index.js +3 -3
  25. package/es/vef-chart-tooltip-content/index.js +8 -8
  26. package/es/vef-checkbox/hooks/use-checkbox-instance.js +1 -1
  27. package/es/vef-checkbox/hooks/use-data-options.js +1 -1
  28. package/es/vef-checkbox/index.js +1 -1
  29. package/es/vef-col/index.js +1 -1
  30. package/es/vef-color-picker/index.js +1 -1
  31. package/es/vef-compact/index.js +1 -1
  32. package/es/vef-config-provider/global-style.js +1 -1
  33. package/es/vef-config-provider/hooks/use-ui-config.js +2 -2
  34. package/es/vef-config-provider/index.js +1 -1
  35. package/es/vef-config-provider/store.js +1 -1
  36. package/es/vef-container/index.js +1 -1
  37. package/es/vef-crud-page/components/crud-actions.js +1 -1
  38. package/es/vef-crud-page/components/crud-filter.js +1 -1
  39. package/es/vef-crud-page/components/crud-footer.js +1 -1
  40. package/es/vef-crud-page/components/crud-form-modal.js +1 -1
  41. package/es/vef-crud-page/components/crud-header.js +1 -1
  42. package/es/vef-crud-page/components/crud-table.js +1 -1
  43. package/es/vef-crud-page/hooks/use-action-buttons.js +1 -1
  44. package/es/vef-crud-page/hooks/use-crud-context.js +1 -1
  45. package/es/vef-crud-page/hooks/use-crud-schema.js +1 -1
  46. package/es/vef-crud-page/hooks/use-operation-buttons.js +1 -1
  47. package/es/vef-crud-page/index.js +1 -1
  48. package/es/vef-crud-page/store.js +1 -1
  49. package/es/vef-divider/index.js +1 -1
  50. package/es/vef-drawer/components/action-button-wrapper.js +1 -1
  51. package/es/vef-drawer/components/button-props.js +1 -1
  52. package/es/vef-drawer/components/cancel-action-button.js +1 -1
  53. package/es/vef-drawer/components/ok-action-button.js +1 -1
  54. package/es/vef-drawer/context.js +1 -1
  55. package/es/vef-drawer/index.js +1 -1
  56. package/es/vef-dropdown/index.js +1 -1
  57. package/es/vef-dynamic-icon/index.js +1 -1
  58. package/es/vef-dynamic-icon/props.js +1 -1
  59. package/es/vef-empty/index.js +1 -1
  60. package/es/vef-empty-placeholder/index.js +1 -1
  61. package/es/vef-error/error-icon.js +1 -1
  62. package/es/vef-error/index.js +1 -1
  63. package/es/vef-filter/components/action-buttons.js +1 -1
  64. package/es/vef-filter/components/advanced-filter.js +1 -1
  65. package/es/vef-filter/components/basic-filter.js +1 -1
  66. package/es/vef-filter/components/fields/index.js +1 -1
  67. package/es/vef-filter/components/fields/input-number.js +1 -1
  68. package/es/vef-filter/components/fields/input.js +1 -1
  69. package/es/vef-filter/components/fields/radio.js +1 -1
  70. package/es/vef-filter/components/fields/select.js +1 -1
  71. package/es/vef-filter/components/fields/tree-select.js +1 -1
  72. package/es/vef-filter/components/filter-field.js +1 -1
  73. package/es/vef-filter/components/filter-item.js +1 -1
  74. package/es/vef-filter/event.js +1 -1
  75. package/es/vef-filter/helper.js +1 -1
  76. package/es/vef-filter/hooks/use-action-handlers.js +1 -1
  77. package/es/vef-filter/hooks/use-computed-values.js +1 -1
  78. package/es/vef-filter/hooks/use-filter-context.js +1 -1
  79. package/es/vef-filter/hooks/use-filter-initialization.js +1 -1
  80. package/es/vef-filter/hooks/use-filter-instance.js +1 -1
  81. package/es/vef-filter/hooks/use-filter-items.js +1 -1
  82. package/es/vef-filter/hooks/use-filter-values-change.js +1 -1
  83. package/es/vef-filter/hooks/use-label-config.js +1 -1
  84. package/es/vef-filter/index.js +1 -1
  85. package/es/vef-filter/store.js +1 -1
  86. package/es/vef-flex/index.js +1 -1
  87. package/es/vef-float-button/index.js +1 -1
  88. package/es/vef-float-button-group/index.js +1 -1
  89. package/es/vef-form/components/fields/icon-select.js +1 -1
  90. package/es/vef-form/components/fields/index.js +1 -1
  91. package/es/vef-form/components/fields/input-number.js +1 -1
  92. package/es/vef-form/components/fields/input.js +1 -1
  93. package/es/vef-form/components/fields/password.js +1 -1
  94. package/es/vef-form/components/fields/radio.js +1 -1
  95. package/es/vef-form/components/fields/select.js +1 -1
  96. package/es/vef-form/components/fields/textarea.js +1 -1
  97. package/es/vef-form/components/fields/tree-select.js +1 -1
  98. package/es/vef-form/components/form-actions.js +1 -1
  99. package/es/vef-form/components/form-content.js +1 -1
  100. package/es/vef-form/components/form-field.js +1 -1
  101. package/es/vef-form/components/form-group.js +1 -1
  102. package/es/vef-form/components/form-hidden-item.js +1 -1
  103. package/es/vef-form/components/form-item.js +1 -1
  104. package/es/vef-form/components/form-row.js +1 -1
  105. package/es/vef-form/event.js +1 -1
  106. package/es/vef-form/helper.js +1 -1
  107. package/es/vef-form/hooks/use-action-handlers.js +1 -1
  108. package/es/vef-form/hooks/use-columns-layout.js +1 -1
  109. package/es/vef-form/hooks/use-computed-values.js +1 -1
  110. package/es/vef-form/hooks/use-form-context.js +1 -1
  111. package/es/vef-form/hooks/use-form-initialization.js +1 -1
  112. package/es/vef-form/hooks/use-form-instance.js +1 -1
  113. package/es/vef-form/hooks/use-form-values-change.js +1 -1
  114. package/es/vef-form/hooks/use-label-width.js +1 -1
  115. package/es/vef-form/index.js +1 -1
  116. package/es/vef-form/store.js +1 -1
  117. package/es/vef-form/validation-rules.js +1 -1
  118. package/es/vef-form-drawer/index.js +1 -1
  119. package/es/vef-form-modal/index.js +1 -1
  120. package/es/vef-generic-select/index.js +1 -1
  121. package/es/vef-grid/index.js +1 -1
  122. package/es/vef-grid/props.js +1 -1
  123. package/es/vef-grid-item/index.js +1 -1
  124. package/es/vef-icon/index.js +1 -1
  125. package/es/vef-icon-select/index.js +1 -1
  126. package/es/vef-input/hooks/use-input-instance.js +1 -1
  127. package/es/vef-input/index.js +1 -1
  128. package/es/vef-input-number/hooks/use-input-number-instance.js +1 -1
  129. package/es/vef-input-number/index.js +1 -1
  130. package/es/vef-layout/common-styles.js +1 -1
  131. package/es/vef-layout/components/content.js +1 -1
  132. package/es/vef-layout/components/font-size.js +1 -1
  133. package/es/vef-layout/components/fullscreen.js +1 -1
  134. package/es/vef-layout/components/header-action-icons.js +1 -1
  135. package/es/vef-layout/components/header-content.js +1 -1
  136. package/es/vef-layout/components/header.js +1 -1
  137. package/es/vef-layout/components/icon-boy.js +1 -1
  138. package/es/vef-layout/components/icon-girl.js +1 -1
  139. package/es/vef-layout/components/icon-menu-fold-left.js +1 -1
  140. package/es/vef-layout/components/icon-menu-unfold-left.js +1 -1
  141. package/es/vef-layout/components/menu-groups.js +1 -1
  142. package/es/vef-layout/components/message.js +1 -1
  143. package/es/vef-layout/components/search.js +1 -1
  144. package/es/vef-layout/components/sider.js +1 -1
  145. package/es/vef-layout/components/title.js +1 -1
  146. package/es/vef-layout/components/user-avatar.js +1 -1
  147. package/es/vef-layout/hooks/use-layout-context.js +1 -1
  148. package/es/vef-layout/index.js +1 -1
  149. package/es/vef-layout/logo.svg.js +1 -1
  150. package/es/vef-layout/store.js +1 -1
  151. package/es/vef-line-chart/index.js +3 -0
  152. package/es/vef-loading-placeholder/index.js +1 -1
  153. package/es/vef-login/index.js +1 -1
  154. package/es/vef-login/login-icon.js +1 -1
  155. package/es/vef-menu/index.js +1 -1
  156. package/es/vef-modal/components/action-button-wrapper.js +1 -1
  157. package/es/vef-modal/components/button-props.js +1 -1
  158. package/es/vef-modal/components/cancel-action-button.js +1 -1
  159. package/es/vef-modal/components/ok-action-button.js +1 -1
  160. package/es/vef-modal/context.js +1 -1
  161. package/es/vef-modal/index.js +1 -1
  162. package/es/vef-not-found/index.js +1 -1
  163. package/es/vef-not-found/not-found-icon.js +1 -1
  164. package/es/vef-page/index.js +1 -1
  165. package/es/vef-pagination/index.js +1 -1
  166. package/es/vef-pagination/props.js +1 -1
  167. package/es/vef-paragraph/index.js +1 -1
  168. package/es/vef-password/hooks/use-password-instance.js +1 -1
  169. package/es/vef-password/index.js +1 -1
  170. package/es/vef-pie-chart/index.js +10 -0
  171. package/es/vef-popconfirm/index.js +1 -1
  172. package/es/vef-popover/index.js +1 -1
  173. package/es/vef-radio/hooks/use-data-options.js +1 -1
  174. package/es/vef-radio/hooks/use-radio-instance.js +1 -1
  175. package/es/vef-radio/index.js +1 -1
  176. package/es/vef-rate/hooks/use-rate-instance.js +1 -1
  177. package/es/vef-rate/index.js +1 -1
  178. package/es/vef-responsive-container/index.js +1 -1
  179. package/es/vef-responsive-item/index.js +1 -1
  180. package/es/vef-ribbon/index.js +1 -1
  181. package/es/vef-row/index.js +1 -1
  182. package/es/vef-scroll-area/components/scrollbar.js +1 -1
  183. package/es/vef-scroll-area/index.js +1 -1
  184. package/es/vef-select/components/option.js +1 -1
  185. package/es/vef-select/hooks/use-data-options.js +1 -1
  186. package/es/vef-select/hooks/use-field-names.js +1 -1
  187. package/es/vef-select/hooks/use-render-label.js +1 -1
  188. package/es/vef-select/hooks/use-render-option.js +1 -1
  189. package/es/vef-select/hooks/use-select-instance.js +1 -1
  190. package/es/vef-select/index.js +1 -1
  191. package/es/vef-slider/hooks/use-slider-instance.js +1 -1
  192. package/es/vef-slider/index.js +1 -1
  193. package/es/vef-sortable-list/components/overlay-item.js +1 -1
  194. package/es/vef-sortable-list/components/sortable-item.js +1 -1
  195. package/es/vef-sortable-list/hooks/use-merged-items.js +1 -1
  196. package/es/vef-sortable-list/index.js +1 -1
  197. package/es/vef-space/index.js +1 -1
  198. package/es/vef-spin/index.js +1 -1
  199. package/es/vef-splitter/index.js +1 -1
  200. package/es/vef-splitter-panel/index.js +1 -1
  201. package/es/vef-status/index.js +1 -1
  202. package/es/vef-table/components/columns/bool.js +1 -1
  203. package/es/vef-table/components/columns/code.js +1 -1
  204. package/es/vef-table/components/columns/data-dictionary.js +1 -1
  205. package/es/vef-table/components/columns/enum.js +1 -1
  206. package/es/vef-table/components/columns/file.js +1 -1
  207. package/es/vef-table/components/columns/icon.js +1 -1
  208. package/es/vef-table/components/columns/id.js +1 -1
  209. package/es/vef-table/components/columns/image.js +1 -1
  210. package/es/vef-table/components/columns/index.js +1 -1
  211. package/es/vef-table/components/columns/markdown.js +1 -1
  212. package/es/vef-table/components/columns/number.js +1 -1
  213. package/es/vef-table/components/columns/render.js +1 -1
  214. package/es/vef-table/components/columns/rich-text.js +1 -1
  215. package/es/vef-table/components/columns/text.js +1 -1
  216. package/es/vef-table/components/columns-settings.js +1 -1
  217. package/es/vef-table/components/operation-buttons.js +1 -1
  218. package/es/vef-table/components/settings-icon.js +1 -1
  219. package/es/vef-table/components/table-footer.js +1 -1
  220. package/es/vef-table/helper.js +1 -1
  221. package/es/vef-table/hooks/use-computed-batch-buttons.js +1 -1
  222. package/es/vef-table/hooks/use-computed-columns.js +1 -1
  223. package/es/vef-table/hooks/use-computed-values.js +1 -1
  224. package/es/vef-table/hooks/use-data.js +1 -1
  225. package/es/vef-table/hooks/use-default-column-configs.js +1 -1
  226. package/es/vef-table/hooks/use-display-value.js +1 -1
  227. package/es/vef-table/hooks/use-helper-columns.js +1 -1
  228. package/es/vef-table/hooks/use-operation-column-width.js +1 -1
  229. package/es/vef-table/hooks/use-pagination-props.js +1 -1
  230. package/es/vef-table/hooks/use-row-props.js +1 -1
  231. package/es/vef-table/hooks/use-row-selection-config.js +1 -1
  232. package/es/vef-table/hooks/use-selected-rows.js +1 -1
  233. package/es/vef-table/hooks/use-table-columns.js +1 -1
  234. package/es/vef-table/hooks/use-table-context.js +1 -1
  235. package/es/vef-table/hooks/use-table-instance.js +1 -1
  236. package/es/vef-table/hooks/use-table-summary.js +1 -1
  237. package/es/vef-table/hooks/use-table-width.js +1 -1
  238. package/es/vef-table/index.js +1 -1
  239. package/es/vef-table/store.js +1 -1
  240. package/es/vef-tabs/index.js +1 -1
  241. package/es/vef-tag/index.js +1 -1
  242. package/es/vef-temporal-picker/helper.js +1 -1
  243. package/es/vef-temporal-picker/hooks/use-dayjs-value.js +1 -1
  244. package/es/vef-temporal-picker/hooks/use-temporal-limit.js +1 -1
  245. package/es/vef-temporal-picker/hooks/use-temporal-picker-instance.js +1 -1
  246. package/es/vef-temporal-picker/index.js +1 -1
  247. package/es/vef-temporal-range-picker/helper.js +1 -1
  248. package/es/vef-temporal-range-picker/hooks/use-dayjs-values.js +1 -1
  249. package/es/vef-temporal-range-picker/hooks/use-temporal-limit.js +1 -1
  250. package/es/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.js +1 -1
  251. package/es/vef-temporal-range-picker/index.js +1 -1
  252. package/es/vef-temporal-range-picker/props.js +1 -1
  253. package/es/vef-text/index.js +1 -1
  254. package/es/vef-textarea/hooks/use-textarea-instance.js +1 -1
  255. package/es/vef-textarea/index.js +1 -1
  256. package/es/vef-title/index.js +1 -1
  257. package/es/vef-tooltip/index.js +1 -1
  258. package/es/vef-tree-select/hooks/use-change-handler.js +1 -1
  259. package/es/vef-tree-select/hooks/use-data-options.js +1 -1
  260. package/es/vef-tree-select/hooks/use-tree-select-instance.js +1 -1
  261. package/es/vef-tree-select/index.js +1 -1
  262. package/es/vef-virtual-grid/index.js +1 -1
  263. package/es/vef-virtual-list/index.js +1 -1
  264. package/lib/index.cjs +2 -2
  265. package/lib/internal/chart.cjs +1 -1
  266. package/lib/internal/index.cjs +2 -2
  267. package/lib/internal/modern-normalize.css.cjs +1 -1
  268. package/lib/internal/utils.cjs +1 -1
  269. package/lib/vef-access-denied/access-denied-icon.cjs +1 -1
  270. package/lib/vef-access-denied/index.cjs +1 -1
  271. package/lib/vef-access-denied/props.cjs +1 -1
  272. package/lib/vef-action-buttons/index.cjs +1 -1
  273. package/lib/vef-action-buttons/props.cjs +1 -1
  274. package/lib/vef-area-chart/index.cjs +3 -0
  275. package/lib/vef-area-chart/props.cjs +3 -0
  276. package/lib/vef-auto-sizer/index.cjs +1 -1
  277. package/lib/vef-auto-sizer/props.cjs +1 -1
  278. package/lib/vef-avatar/index.cjs +1 -1
  279. package/lib/vef-avatar/props.cjs +1 -1
  280. package/lib/vef-avatar-group/index.cjs +1 -1
  281. package/lib/vef-avatar-group/props.cjs +1 -1
  282. package/lib/vef-badge/index.cjs +1 -1
  283. package/lib/vef-badge/props.cjs +1 -1
  284. package/lib/vef-bar-chart/index.cjs +3 -0
  285. package/lib/vef-bar-chart/props.cjs +3 -0
  286. package/lib/vef-bool/hooks/use-bool-instance.cjs +1 -1
  287. package/lib/vef-bool/index.cjs +1 -1
  288. package/lib/vef-bool/props.cjs +1 -1
  289. package/lib/vef-breadcrumb/index.cjs +1 -1
  290. package/lib/vef-breadcrumb/props.cjs +1 -1
  291. package/lib/vef-button/components/base-button.cjs +1 -1
  292. package/lib/vef-button/index.cjs +1 -1
  293. package/lib/vef-button/props.cjs +1 -1
  294. package/lib/vef-card/index.cjs +1 -1
  295. package/lib/vef-card/props.cjs +1 -1
  296. package/lib/vef-card-meta/index.cjs +1 -1
  297. package/lib/vef-card-meta/props.cjs +1 -1
  298. package/lib/vef-chart-container/hooks/use-chart-container-context.cjs +1 -1
  299. package/lib/vef-chart-container/index.cjs +2 -3
  300. package/lib/vef-chart-container/props.cjs +1 -1
  301. package/lib/vef-chart-legend-content/index.cjs +2 -2
  302. package/lib/vef-chart-legend-content/props.cjs +1 -1
  303. package/lib/vef-chart-tooltip-content/index.cjs +3 -3
  304. package/lib/vef-chart-tooltip-content/props.cjs +1 -1
  305. package/lib/vef-checkbox/hooks/use-checkbox-instance.cjs +1 -1
  306. package/lib/vef-checkbox/hooks/use-data-options.cjs +1 -1
  307. package/lib/vef-checkbox/index.cjs +1 -1
  308. package/lib/vef-checkbox/props.cjs +1 -1
  309. package/lib/vef-col/index.cjs +1 -1
  310. package/lib/vef-col/props.cjs +1 -1
  311. package/lib/vef-color-picker/index.cjs +1 -1
  312. package/lib/vef-color-picker/props.cjs +1 -1
  313. package/lib/vef-compact/index.cjs +1 -1
  314. package/lib/vef-compact/props.cjs +1 -1
  315. package/lib/vef-config-provider/global-style.cjs +1 -1
  316. package/lib/vef-config-provider/hooks/use-ui-config.cjs +2 -2
  317. package/lib/vef-config-provider/index.cjs +1 -1
  318. package/lib/vef-config-provider/props.cjs +1 -1
  319. package/lib/vef-config-provider/store.cjs +1 -1
  320. package/lib/vef-container/index.cjs +1 -1
  321. package/lib/vef-container/props.cjs +1 -1
  322. package/lib/vef-crud-page/components/crud-actions.cjs +1 -1
  323. package/lib/vef-crud-page/components/crud-filter.cjs +1 -1
  324. package/lib/vef-crud-page/components/crud-footer.cjs +1 -1
  325. package/lib/vef-crud-page/components/crud-form-modal.cjs +1 -1
  326. package/lib/vef-crud-page/components/crud-header.cjs +1 -1
  327. package/lib/vef-crud-page/components/crud-table.cjs +1 -1
  328. package/lib/vef-crud-page/hooks/use-action-buttons.cjs +1 -1
  329. package/lib/vef-crud-page/hooks/use-crud-context.cjs +1 -1
  330. package/lib/vef-crud-page/hooks/use-crud-schema.cjs +1 -1
  331. package/lib/vef-crud-page/hooks/use-operation-buttons.cjs +1 -1
  332. package/lib/vef-crud-page/index.cjs +1 -1
  333. package/lib/vef-crud-page/props.cjs +1 -1
  334. package/lib/vef-crud-page/store.cjs +1 -1
  335. package/lib/vef-crud-page/types.cjs +1 -1
  336. package/lib/vef-divider/index.cjs +1 -1
  337. package/lib/vef-divider/props.cjs +1 -1
  338. package/lib/vef-drawer/components/action-button-wrapper.cjs +1 -1
  339. package/lib/vef-drawer/components/button-props.cjs +1 -1
  340. package/lib/vef-drawer/components/cancel-action-button.cjs +1 -1
  341. package/lib/vef-drawer/components/ok-action-button.cjs +1 -1
  342. package/lib/vef-drawer/context.cjs +1 -1
  343. package/lib/vef-drawer/index.cjs +1 -1
  344. package/lib/vef-drawer/props.cjs +1 -1
  345. package/lib/vef-dropdown/index.cjs +1 -1
  346. package/lib/vef-dropdown/props.cjs +1 -1
  347. package/lib/vef-dynamic-icon/index.cjs +1 -1
  348. package/lib/vef-dynamic-icon/props.cjs +1 -1
  349. package/lib/vef-empty/index.cjs +1 -1
  350. package/lib/vef-empty/props.cjs +1 -1
  351. package/lib/vef-empty-placeholder/index.cjs +1 -1
  352. package/lib/vef-empty-placeholder/props.cjs +1 -1
  353. package/lib/vef-error/error-icon.cjs +1 -1
  354. package/lib/vef-error/index.cjs +1 -1
  355. package/lib/vef-error/props.cjs +1 -1
  356. package/lib/vef-filter/components/action-buttons.cjs +1 -1
  357. package/lib/vef-filter/components/advanced-filter.cjs +1 -1
  358. package/lib/vef-filter/components/basic-filter.cjs +1 -1
  359. package/lib/vef-filter/components/fields/index.cjs +1 -1
  360. package/lib/vef-filter/components/fields/input-number.cjs +1 -1
  361. package/lib/vef-filter/components/fields/input.cjs +1 -1
  362. package/lib/vef-filter/components/fields/props.cjs +1 -1
  363. package/lib/vef-filter/components/fields/radio.cjs +1 -1
  364. package/lib/vef-filter/components/fields/select.cjs +1 -1
  365. package/lib/vef-filter/components/fields/tree-select.cjs +1 -1
  366. package/lib/vef-filter/components/filter-field.cjs +1 -1
  367. package/lib/vef-filter/components/filter-item.cjs +1 -1
  368. package/lib/vef-filter/event.cjs +1 -1
  369. package/lib/vef-filter/helper.cjs +1 -1
  370. package/lib/vef-filter/hooks/use-action-handlers.cjs +1 -1
  371. package/lib/vef-filter/hooks/use-computed-values.cjs +1 -1
  372. package/lib/vef-filter/hooks/use-filter-context.cjs +1 -1
  373. package/lib/vef-filter/hooks/use-filter-initialization.cjs +1 -1
  374. package/lib/vef-filter/hooks/use-filter-instance.cjs +1 -1
  375. package/lib/vef-filter/hooks/use-filter-items.cjs +1 -1
  376. package/lib/vef-filter/hooks/use-filter-values-change.cjs +1 -1
  377. package/lib/vef-filter/hooks/use-label-config.cjs +1 -1
  378. package/lib/vef-filter/index.cjs +1 -1
  379. package/lib/vef-filter/props.cjs +1 -1
  380. package/lib/vef-filter/store.cjs +1 -1
  381. package/lib/vef-filter/types.cjs +1 -1
  382. package/lib/vef-flex/index.cjs +1 -1
  383. package/lib/vef-flex/props.cjs +1 -1
  384. package/lib/vef-float-button/index.cjs +1 -1
  385. package/lib/vef-float-button/props.cjs +1 -1
  386. package/lib/vef-float-button-group/index.cjs +1 -1
  387. package/lib/vef-float-button-group/props.cjs +1 -1
  388. package/lib/vef-form/components/fields/icon-select.cjs +1 -1
  389. package/lib/vef-form/components/fields/index.cjs +1 -1
  390. package/lib/vef-form/components/fields/input-number.cjs +1 -1
  391. package/lib/vef-form/components/fields/input.cjs +1 -1
  392. package/lib/vef-form/components/fields/password.cjs +1 -1
  393. package/lib/vef-form/components/fields/props.cjs +1 -1
  394. package/lib/vef-form/components/fields/radio.cjs +1 -1
  395. package/lib/vef-form/components/fields/select.cjs +1 -1
  396. package/lib/vef-form/components/fields/textarea.cjs +1 -1
  397. package/lib/vef-form/components/fields/tree-select.cjs +1 -1
  398. package/lib/vef-form/components/form-actions.cjs +1 -1
  399. package/lib/vef-form/components/form-content.cjs +1 -1
  400. package/lib/vef-form/components/form-field.cjs +1 -1
  401. package/lib/vef-form/components/form-group.cjs +1 -1
  402. package/lib/vef-form/components/form-hidden-item.cjs +1 -1
  403. package/lib/vef-form/components/form-item.cjs +1 -1
  404. package/lib/vef-form/components/form-row.cjs +1 -1
  405. package/lib/vef-form/event.cjs +1 -1
  406. package/lib/vef-form/helper.cjs +1 -1
  407. package/lib/vef-form/hooks/use-action-handlers.cjs +1 -1
  408. package/lib/vef-form/hooks/use-columns-layout.cjs +1 -1
  409. package/lib/vef-form/hooks/use-computed-values.cjs +1 -1
  410. package/lib/vef-form/hooks/use-form-context.cjs +1 -1
  411. package/lib/vef-form/hooks/use-form-initialization.cjs +1 -1
  412. package/lib/vef-form/hooks/use-form-instance.cjs +1 -1
  413. package/lib/vef-form/hooks/use-form-values-change.cjs +1 -1
  414. package/lib/vef-form/hooks/use-label-width.cjs +1 -1
  415. package/lib/vef-form/index.cjs +1 -1
  416. package/lib/vef-form/props.cjs +1 -1
  417. package/lib/vef-form/store.cjs +1 -1
  418. package/lib/vef-form/types.cjs +1 -1
  419. package/lib/vef-form/validation-rules.cjs +1 -1
  420. package/lib/vef-form-drawer/index.cjs +1 -1
  421. package/lib/vef-form-drawer/props.cjs +1 -1
  422. package/lib/vef-form-modal/index.cjs +1 -1
  423. package/lib/vef-form-modal/props.cjs +1 -1
  424. package/lib/vef-generic-select/index.cjs +1 -1
  425. package/lib/vef-generic-select/props.cjs +1 -1
  426. package/lib/vef-grid/index.cjs +1 -1
  427. package/lib/vef-grid/props.cjs +1 -1
  428. package/lib/vef-grid-item/index.cjs +1 -1
  429. package/lib/vef-grid-item/props.cjs +1 -1
  430. package/lib/vef-icon/index.cjs +1 -1
  431. package/lib/vef-icon/props.cjs +1 -1
  432. package/lib/vef-icon-select/index.cjs +1 -1
  433. package/lib/vef-icon-select/props.cjs +1 -1
  434. package/lib/vef-input/hooks/use-input-instance.cjs +1 -1
  435. package/lib/vef-input/index.cjs +1 -1
  436. package/lib/vef-input/props.cjs +1 -1
  437. package/lib/vef-input-number/hooks/use-input-number-instance.cjs +1 -1
  438. package/lib/vef-input-number/index.cjs +1 -1
  439. package/lib/vef-input-number/props.cjs +1 -1
  440. package/lib/vef-layout/common-styles.cjs +1 -1
  441. package/lib/vef-layout/components/content.cjs +1 -1
  442. package/lib/vef-layout/components/font-size.cjs +1 -1
  443. package/lib/vef-layout/components/fullscreen.cjs +1 -1
  444. package/lib/vef-layout/components/header-action-icons.cjs +1 -1
  445. package/lib/vef-layout/components/header-content.cjs +1 -1
  446. package/lib/vef-layout/components/header.cjs +1 -1
  447. package/lib/vef-layout/components/icon-boy.cjs +1 -1
  448. package/lib/vef-layout/components/icon-girl.cjs +1 -1
  449. package/lib/vef-layout/components/icon-menu-fold-left.cjs +1 -1
  450. package/lib/vef-layout/components/icon-menu-unfold-left.cjs +1 -1
  451. package/lib/vef-layout/components/menu-groups.cjs +1 -1
  452. package/lib/vef-layout/components/message.cjs +1 -1
  453. package/lib/vef-layout/components/search.cjs +1 -1
  454. package/lib/vef-layout/components/sider.cjs +1 -1
  455. package/lib/vef-layout/components/title.cjs +1 -1
  456. package/lib/vef-layout/components/user-avatar.cjs +1 -1
  457. package/lib/vef-layout/hooks/use-layout-context.cjs +1 -1
  458. package/lib/vef-layout/index.cjs +1 -1
  459. package/lib/vef-layout/logo.svg.cjs +1 -1
  460. package/lib/vef-layout/props.cjs +1 -1
  461. package/lib/vef-layout/store.cjs +1 -1
  462. package/lib/vef-line-chart/index.cjs +3 -0
  463. package/lib/vef-line-chart/props.cjs +3 -0
  464. package/lib/vef-loading-placeholder/index.cjs +1 -1
  465. package/lib/vef-loading-placeholder/props.cjs +1 -1
  466. package/lib/vef-login/index.cjs +1 -1
  467. package/lib/vef-login/login-icon.cjs +1 -1
  468. package/lib/vef-login/props.cjs +1 -1
  469. package/lib/vef-menu/index.cjs +1 -1
  470. package/lib/vef-menu/props.cjs +1 -1
  471. package/lib/vef-modal/components/action-button-wrapper.cjs +1 -1
  472. package/lib/vef-modal/components/button-props.cjs +1 -1
  473. package/lib/vef-modal/components/cancel-action-button.cjs +1 -1
  474. package/lib/vef-modal/components/ok-action-button.cjs +1 -1
  475. package/lib/vef-modal/context.cjs +1 -1
  476. package/lib/vef-modal/index.cjs +1 -1
  477. package/lib/vef-modal/props.cjs +1 -1
  478. package/lib/vef-not-found/index.cjs +1 -1
  479. package/lib/vef-not-found/not-found-icon.cjs +1 -1
  480. package/lib/vef-not-found/props.cjs +1 -1
  481. package/lib/vef-page/index.cjs +1 -1
  482. package/lib/vef-page/props.cjs +1 -1
  483. package/lib/vef-pagination/index.cjs +1 -1
  484. package/lib/vef-pagination/props.cjs +1 -1
  485. package/lib/vef-paragraph/index.cjs +1 -1
  486. package/lib/vef-paragraph/props.cjs +1 -1
  487. package/lib/vef-password/hooks/use-password-instance.cjs +1 -1
  488. package/lib/vef-password/index.cjs +1 -1
  489. package/lib/vef-password/props.cjs +1 -1
  490. package/lib/vef-pie-chart/index.cjs +10 -0
  491. package/lib/vef-pie-chart/props.cjs +3 -0
  492. package/lib/vef-popconfirm/index.cjs +1 -1
  493. package/lib/vef-popconfirm/props.cjs +1 -1
  494. package/lib/vef-popover/index.cjs +1 -1
  495. package/lib/vef-popover/props.cjs +1 -1
  496. package/lib/vef-radio/hooks/use-data-options.cjs +1 -1
  497. package/lib/vef-radio/hooks/use-radio-instance.cjs +1 -1
  498. package/lib/vef-radio/index.cjs +1 -1
  499. package/lib/vef-radio/props.cjs +1 -1
  500. package/lib/vef-rate/hooks/use-rate-instance.cjs +1 -1
  501. package/lib/vef-rate/index.cjs +1 -1
  502. package/lib/vef-rate/props.cjs +1 -1
  503. package/lib/vef-responsive-container/index.cjs +1 -1
  504. package/lib/vef-responsive-container/props.cjs +1 -1
  505. package/lib/vef-responsive-item/index.cjs +1 -1
  506. package/lib/vef-responsive-item/props.cjs +1 -1
  507. package/lib/vef-ribbon/index.cjs +1 -1
  508. package/lib/vef-ribbon/props.cjs +1 -1
  509. package/lib/vef-row/index.cjs +1 -1
  510. package/lib/vef-row/props.cjs +1 -1
  511. package/lib/vef-scroll-area/components/scrollbar.cjs +1 -1
  512. package/lib/vef-scroll-area/index.cjs +1 -1
  513. package/lib/vef-scroll-area/props.cjs +1 -1
  514. package/lib/vef-select/components/option.cjs +1 -1
  515. package/lib/vef-select/hooks/use-data-options.cjs +1 -1
  516. package/lib/vef-select/hooks/use-field-names.cjs +1 -1
  517. package/lib/vef-select/hooks/use-render-label.cjs +1 -1
  518. package/lib/vef-select/hooks/use-render-option.cjs +1 -1
  519. package/lib/vef-select/hooks/use-select-instance.cjs +1 -1
  520. package/lib/vef-select/index.cjs +1 -1
  521. package/lib/vef-select/props.cjs +1 -1
  522. package/lib/vef-slider/hooks/use-slider-instance.cjs +1 -1
  523. package/lib/vef-slider/index.cjs +1 -1
  524. package/lib/vef-slider/props.cjs +1 -1
  525. package/lib/vef-sortable-list/components/overlay-item.cjs +1 -1
  526. package/lib/vef-sortable-list/components/sortable-item.cjs +1 -1
  527. package/lib/vef-sortable-list/hooks/use-merged-items.cjs +1 -1
  528. package/lib/vef-sortable-list/index.cjs +1 -1
  529. package/lib/vef-sortable-list/props.cjs +1 -1
  530. package/lib/vef-space/index.cjs +1 -1
  531. package/lib/vef-space/props.cjs +1 -1
  532. package/lib/vef-spin/index.cjs +1 -1
  533. package/lib/vef-spin/props.cjs +1 -1
  534. package/lib/vef-splitter/index.cjs +1 -1
  535. package/lib/vef-splitter/props.cjs +1 -1
  536. package/lib/vef-splitter-panel/index.cjs +1 -1
  537. package/lib/vef-splitter-panel/props.cjs +1 -1
  538. package/lib/vef-status/index.cjs +1 -1
  539. package/lib/vef-status/props.cjs +1 -1
  540. package/lib/vef-table/components/columns/bool.cjs +1 -1
  541. package/lib/vef-table/components/columns/code.cjs +1 -1
  542. package/lib/vef-table/components/columns/data-dictionary.cjs +1 -1
  543. package/lib/vef-table/components/columns/enum.cjs +1 -1
  544. package/lib/vef-table/components/columns/file.cjs +1 -1
  545. package/lib/vef-table/components/columns/icon.cjs +1 -1
  546. package/lib/vef-table/components/columns/id.cjs +1 -1
  547. package/lib/vef-table/components/columns/image.cjs +1 -1
  548. package/lib/vef-table/components/columns/index.cjs +1 -1
  549. package/lib/vef-table/components/columns/markdown.cjs +1 -1
  550. package/lib/vef-table/components/columns/number.cjs +1 -1
  551. package/lib/vef-table/components/columns/props.cjs +1 -1
  552. package/lib/vef-table/components/columns/render.cjs +1 -1
  553. package/lib/vef-table/components/columns/rich-text.cjs +1 -1
  554. package/lib/vef-table/components/columns/text.cjs +1 -1
  555. package/lib/vef-table/components/columns-settings.cjs +1 -1
  556. package/lib/vef-table/components/operation-buttons.cjs +1 -1
  557. package/lib/vef-table/components/settings-icon.cjs +1 -1
  558. package/lib/vef-table/components/table-footer.cjs +1 -1
  559. package/lib/vef-table/helper.cjs +1 -1
  560. package/lib/vef-table/hooks/use-computed-batch-buttons.cjs +1 -1
  561. package/lib/vef-table/hooks/use-computed-columns.cjs +1 -1
  562. package/lib/vef-table/hooks/use-computed-values.cjs +1 -1
  563. package/lib/vef-table/hooks/use-data.cjs +1 -1
  564. package/lib/vef-table/hooks/use-default-column-configs.cjs +1 -1
  565. package/lib/vef-table/hooks/use-display-value.cjs +1 -1
  566. package/lib/vef-table/hooks/use-helper-columns.cjs +1 -1
  567. package/lib/vef-table/hooks/use-operation-column-width.cjs +1 -1
  568. package/lib/vef-table/hooks/use-pagination-props.cjs +1 -1
  569. package/lib/vef-table/hooks/use-row-props.cjs +1 -1
  570. package/lib/vef-table/hooks/use-row-selection-config.cjs +1 -1
  571. package/lib/vef-table/hooks/use-selected-rows.cjs +1 -1
  572. package/lib/vef-table/hooks/use-table-columns.cjs +1 -1
  573. package/lib/vef-table/hooks/use-table-context.cjs +1 -1
  574. package/lib/vef-table/hooks/use-table-instance.cjs +1 -1
  575. package/lib/vef-table/hooks/use-table-summary.cjs +1 -1
  576. package/lib/vef-table/hooks/use-table-width.cjs +1 -1
  577. package/lib/vef-table/index.cjs +1 -1
  578. package/lib/vef-table/props.cjs +1 -1
  579. package/lib/vef-table/store.cjs +1 -1
  580. package/lib/vef-table/types.cjs +1 -1
  581. package/lib/vef-tabs/index.cjs +1 -1
  582. package/lib/vef-tabs/props.cjs +1 -1
  583. package/lib/vef-tag/index.cjs +1 -1
  584. package/lib/vef-tag/props.cjs +1 -1
  585. package/lib/vef-temporal-picker/helper.cjs +1 -1
  586. package/lib/vef-temporal-picker/hooks/use-dayjs-value.cjs +1 -1
  587. package/lib/vef-temporal-picker/hooks/use-temporal-limit.cjs +1 -1
  588. package/lib/vef-temporal-picker/hooks/use-temporal-picker-instance.cjs +1 -1
  589. package/lib/vef-temporal-picker/index.cjs +1 -1
  590. package/lib/vef-temporal-picker/props.cjs +1 -1
  591. package/lib/vef-temporal-range-picker/helper.cjs +1 -1
  592. package/lib/vef-temporal-range-picker/hooks/use-dayjs-values.cjs +1 -1
  593. package/lib/vef-temporal-range-picker/hooks/use-temporal-limit.cjs +1 -1
  594. package/lib/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.cjs +1 -1
  595. package/lib/vef-temporal-range-picker/index.cjs +1 -1
  596. package/lib/vef-temporal-range-picker/props.cjs +1 -1
  597. package/lib/vef-text/index.cjs +1 -1
  598. package/lib/vef-text/props.cjs +1 -1
  599. package/lib/vef-textarea/hooks/use-textarea-instance.cjs +1 -1
  600. package/lib/vef-textarea/index.cjs +1 -1
  601. package/lib/vef-textarea/props.cjs +1 -1
  602. package/lib/vef-title/index.cjs +1 -1
  603. package/lib/vef-title/props.cjs +1 -1
  604. package/lib/vef-tooltip/index.cjs +1 -1
  605. package/lib/vef-tooltip/props.cjs +1 -1
  606. package/lib/vef-tree-select/hooks/use-change-handler.cjs +1 -1
  607. package/lib/vef-tree-select/hooks/use-data-options.cjs +1 -1
  608. package/lib/vef-tree-select/hooks/use-tree-select-instance.cjs +1 -1
  609. package/lib/vef-tree-select/index.cjs +1 -1
  610. package/lib/vef-tree-select/props.cjs +1 -1
  611. package/lib/vef-virtual-grid/index.cjs +1 -1
  612. package/lib/vef-virtual-grid/props.cjs +1 -1
  613. package/lib/vef-virtual-list/index.cjs +1 -1
  614. package/lib/vef-virtual-list/props.cjs +1 -1
  615. package/package.json +4 -4
  616. package/types/index.d.ts +4 -0
  617. package/types/internal/chart.d.ts +25 -1
  618. package/types/internal/index.d.ts +1 -0
  619. package/types/vef-area-chart/index.d.ts +6 -0
  620. package/types/vef-area-chart/props.d.ts +7 -0
  621. package/types/vef-bar-chart/index.d.ts +6 -0
  622. package/types/vef-bar-chart/props.d.ts +11 -0
  623. package/types/vef-chart-container/props.d.ts +1 -1
  624. package/types/vef-chart-tooltip-content/props.d.ts +5 -0
  625. package/types/vef-line-chart/index.d.ts +6 -0
  626. package/types/vef-line-chart/props.d.ts +7 -0
  627. package/types/vef-pie-chart/index.d.ts +6 -0
  628. package/types/vef-pie-chart/props.d.ts +16 -0
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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"),t=require("antd"),r=require("react");exports.default=function VefBadge({variant:u="default",count:s,overflowCount:i,showZero:f,size:d,offset:n,color:a}){const l=o.useColorTokens(),c=r.useMemo((()=>"dot"===u?{dot:!0,color:a?l.get(a):void 0,size:"medium"===d?"default":d,offset:n}:{count:s,overflowCount:i,showZero:f,size:"medium"===d?"default":d,offset:n,color:a?l.get(a):void 0}),[u,s,i,f,d,n,a,l]);return e.jsx(t.Badge,{...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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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 */
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, made by Venus. */
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),t=require("@vef-framework/hooks"),r=require("react"),a=require("recharts"),i=require("../vef-chart-container/index.cjs"),n=require("../vef-chart-legend-content/index.cjs"),s=require("../vef-chart-tooltip-content/index.cjs");const o=r.memo((function VefBarChartBase({data:r,config:o,dataKey:c,valueFormatter:d,stack:u,...x}){const{borderRadius:l}=t.useThemeTokens();return e.jsx(i.default,{config:o,...x,children:e.jsxs(a.BarChart,{data:r,children:[e.jsx(a.CartesianGrid,{vertical:!1}),e.jsx(a.XAxis,{axisLine:!1,dataKey:c,tickLine:!1,tickMargin:8}),e.jsx(a.YAxis,{axisLine:!1,tickLine:!1,tickMargin:8}),e.jsx(a.Tooltip,{content:e.jsx(s.default,{valueFormatter:d})}),e.jsx(a.Legend,{content:e.jsx(n.VefChartLegendContent,{})}),Object.keys(o).map((t=>e.jsx(a.Bar,{dataKey:t,fill:`var(--vef-color-${t})`,radius:l,stackId:u?"vef-bar-chart":void 0},t)))]})})}));exports.default=o;
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 */
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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 +1,3 @@
1
- /*! VefFramework version: 1.0.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, made by Venus. */
2
2
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");exports.useBoolInstance=function useBoolInstance(r,u){const t=e.useRef(null),c=e.useRef(null);return e.useImperativeHandle(u,(()=>"switch"===r?{focus:()=>{t.current?.focus({preventScroll:!0})},blur:()=>{t.current?.blur()}}:{focus:()=>{c.current?.focus({preventScroll:!0})},blur:()=>{c.current?.blur()}})),{switchRef:t,checkboxRef: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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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("@vef-framework/shared"),i=require("antd"),o=require("react"),a=require("./hooks/use-bool-instance.cjs");const r=o.memo(o.forwardRef((function VefBoolBase({defaultValue:r,value:n,disabled:s,size:d,label:c,indeterminate:u,variant:l="switch",loading:f,onChange:h},m){const b=o.useMemo((()=>{if(t.isFunction(h))return"switch"===l?e=>h(e):({target:{checked:e}})=>h(e)}),[h,l]),{switchRef:k,checkboxRef:g}=a.useBoolInstance(l,m);return"switch"===l?e.jsx(i.Switch,{ref:k,defaultChecked:r,disabled:s,loading:f,size:"medium"===d?"default":d,onChange:b,...void 0===n?{}:{checked:n}}):e.jsx(i.Checkbox,{ref:g,defaultChecked:r,disabled:s,indeterminate:u,onChange:b,...void 0===n?{}:{checked:n},children:c})})));r.displayName="VefBool",exports.default=r;
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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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"),i=require("react");exports.default=function VefBreadcrumb({items:s,onClick:a}){const l=i.useMemo((()=>s.map((e=>{const{label:t,key:i,dropdownItems:s}=e;return{title:t,key:i,menu:r.isArray(s)&&s.length>0?{items:s.map((e=>({key:e.key,title:e.label}))),onClick:({key:e})=>a?.(e)}:void 0}}))),[s,a]),n=i.useCallback((({key:t,title:i})=>r.isString(t)?e.jsx("a",{className:"vef-breadcrumb-link",onClick:()=>a?.(t),children:i}):e.jsx("span",{className:"vef-breadcrumb-text",children:i})),[a]);return e.jsx(t.Breadcrumb,{itemRender:n,items:l})};
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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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"),i=require("antd"),t=require("react");require("../../internal/index.cjs");const a=require("../../internal/utils.cjs"),n=[...o.defaultColorTypes,"default","primary","error"],s=t.forwardRef((({color:o,iconPosition:t,size:s,type:l,variant:d="solid",autoInsertSpace:u,disabled:c,loading:f,...p},m)=>{const v=r.useColorTokens(),g="left"===t?"start":"right"===t?"end":void 0;if(!o||n.includes(o))return e.jsx(i.Button,{ref:m,autoInsertSpace:u,color:"error"===o?"danger":o,disabled:!f&&c,htmlType:l,iconPosition:g,loading:f,size:a.convertBasicSizeToUiSize(s),variant:d,...p});if(v.has(o))return e.jsx(i.ConfigProvider,{theme:{token:{colorPrimary:v.get(o)}},children:e.jsx(i.Button,{ref:m,autoInsertSpace:u,color:"primary",disabled:!f&&c,htmlType:l,iconPosition:g,loading:f,size:a.convertBasicSizeToUiSize(s),variant:d,...p})});throw new Error(`Invalid button color: ${o}`)}));s.displayName="VefBaseButton",exports.default=s;
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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, made by Venus. */
2
2
  "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),n=require("@vef-framework/hooks"),o=require("@vef-framework/shared"),i=require("react"),t=require("../vef-popconfirm/index.cjs"),r=require("../vef-tooltip/index.cjs"),a=require("./components/base-button.cjs"),f=i.forwardRef((({tip:f,onClick:s,disabled:l=!1,loading:c,...m},u)=>{const[d,C]=i.useState(!1),p=i.useMemo((()=>{if(m.requireConfirmation){const{onConfirmationOk:e}=m;return o.isNullish(c)?async()=>{await o.invokeMaybeAsyncFn(e,{beforeInvoke:()=>{C(!0)},onFinally:()=>{C(!1)}})}:e}}),[m.requireConfirmation,m.onConfirmationOk]),k=i.useMemo((()=>{if(!m.requireConfirmation)return s&&o.isNullish(c)?async e=>{await o.invokeMaybeAsyncFn(s,{beforeInvoke:()=>{C(!0)},onFinally:()=>{C(!1)}},e)}:s;const{confirmationMode:e="simple",confirmationTitle:n=o.defaultMessageTitle,confirmationContent:i,onConfirmationCancel:t}=m;return"simple"===e?e=>{e.stopPropagation()}:e=>{e.stopPropagation(),o.showConfirmation(n,i,p,{onCancel:t})}}),[c,s,p,m.requireConfirmation,m.confirmationMode,m.confirmationTitle,m.confirmationContent,m.onConfirmationCancel]),q=n.useContextDisabled()||l,b=e.jsx(a.default,{ref:u,disabled:q,loading:c??d,onClick:k,...o.omit(m,["requireConfirmation","confirmationMode","confirmationTitle","confirmationContent","onConfirmationOk","onConfirmationCancel"])}),M=f?e.jsx(r.default,{content:f,children:b}):b;if(m.requireConfirmation&&"simple"===m.confirmationMode){const{confirmationTitle:n=o.defaultMessageTitle,confirmationContent:i,onConfirmationCancel:r}=m;return e.jsx(t.default,{ref:u,content:i,disabled:q,title:n,onCancel:r,onOk:p,children:M})}return M})),s=i.memo(f);s.displayName="VefButton",exports.default=s;
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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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");exports.default=function VefCard({size:i="medium",showHoverEffect:o=!1,actions:s,nested:a=!1,...u}){return e.jsx(t.Card,{actions:r.isArray(s)?s:s?[s]:void 0,hoverable:o,size:"medium"===i?"default":i,type:a?"inner":void 0,...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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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("antd"),{Meta:r}=t.Card;exports.default=function VefCardMeta({...t}){return e.jsx(r,{...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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, made by Venus. */
2
2
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vef-framework/shared"),{useContextSelector:t,useContext:r,ContextProvider:o}=e.createSelectableContext({config:{}});exports.ChartContainerContextProvider=o,exports.useChartContainerContext=r,exports.useChartContainerContextSelector=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,7 +1,6 @@
1
- /*! VefFramework version: 1.0.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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/shared"),o=require("react"),a=require("recharts"),s=require("./hooks/use-chart-container-context.cjs"),c=r.css`
3
3
  display: flex;
4
- aspect-ratio: 16 / 9;
5
4
  justify-content: center;
6
5
 
7
6
  & .recharts-cartesian-axis-tick text {
@@ -51,5 +50,5 @@
51
50
  & .recharts-surface {
52
51
  outline: none;
53
52
  }
54
- `;function ChartStyle({id:r,config:o}){const a=Object.entries(o).map((([e,{color:r}])=>[e,r])).filter((([,e])=>t.isString(e)));return a.length?e.jsx("style",{dangerouslySetInnerHTML:{__html:`\n [data-chart="${r}"] {\n ${a.map((([e,r])=>`--vef-color-${e}: ${r};`)).join("\n")}\n }\n `}}):null}const n=o.forwardRef((({id:r,className:t,children:n,config:i,...l},h)=>{const d=o.useId(),u=`${r||d.replace(/:/g,"")}-chart`;return e.jsx(s.ChartContainerContextProvider,{value:{config:i},children:e.jsxs("div",{ref:h,className:t,css:c,"data-chart":u,...l,children:[e.jsx(ChartStyle,{config:i,id:u}),e.jsx(a.ResponsiveContainer,{children:n})]})})}));n.displayName="VefChartContainer",exports.default=n;
53
+ `;function ChartStyle({id:r,config:o}){const a=Object.entries(o).map((([e,{color:r}])=>[e,r])).filter((([,e])=>t.isString(e)));return a.length?e.jsx("style",{dangerouslySetInnerHTML:{__html:`\n [data-chart="${r}"] {\n ${a.map((([e,r])=>`--vef-color-${e}: ${r};`)).join("\n")}\n }\n `}}):null}const n=o.forwardRef((({id:r,className:t,children:n,config:i,aspect:l=16/9,width:h="100%",height:d,minWidth:u,minHeight:f,...m},g)=>{const p=o.useId(),k=`${r||p.replace(/:/g,"")}-chart`;return e.jsx(s.ChartContainerContextProvider,{value:{config:i},children:e.jsxs("div",{ref:g,className:t,css:c,"data-chart":k,...m,children:[e.jsx(ChartStyle,{config:i,id:k}),e.jsx(a.ResponsiveContainer,{aspect:l,height:d,minHeight:f,minWidth:u,width:h,children:n})]})})}));n.displayName="VefChartContainer",exports.default=n;
55
54
  /*! 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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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,5 +1,5 @@
1
- /*! VefFramework version: 1.0.71, build time: 2025-01-15T03:01:01.484Z, 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("@emotion/react"),a=require("@vef-framework/shared"),t=require("react"),o=require("../internal/chart.cjs"),s=require("../vef-chart-container/hooks/use-chart-container-context.cjs"),i=r.css`
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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("@emotion/react"),a=require("@vef-framework/shared"),t=require("react");require("../internal/index.cjs");const s=require("../vef-chart-container/hooks/use-chart-container-context.cjs"),o=require("../internal/chart.cjs"),i=r.css`
3
3
  ${a.styles.flexCenter}
4
4
  gap: ${a.themeVariables.margin};
5
5
  padding-top: ${a.themeVariables.marginSm};
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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,5 +1,5 @@
1
- /*! VefFramework version: 1.0.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
2
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),a=require("@emotion/react"),r=require("@vef-framework/shared"),s=require("react"),i=require("../internal/chart.cjs"),l=require("../vef-chart-container/hooks/use-chart-container-context.cjs"),t=a.css`
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, made by Venus. */
2
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("@emotion/react/jsx-runtime"),a=require("@emotion/react"),r=require("@vef-framework/shared"),s=require("react");require("../internal/index.cjs");const i=require("../vef-chart-container/hooks/use-chart-container-context.cjs"),l=require("../internal/chart.cjs"),t=a.css`
3
3
  display: grid;
4
4
  min-width: 10rem;
5
5
  align-items: start;
@@ -40,5 +40,5 @@
40
40
  `,u=a.css`
41
41
  font-weight: 500;
42
42
  font-family: ${r.themeVariables.fontFamilyCode};
43
- `,b=s.forwardRef((({active:a,payload:b,className:g,label:f,labelFormatter:p,labelClassName:v,formatter:x,valueFormatter:y,color:$},V)=>{const j=l.useChartContainerContextSelector((e=>e.config)),w=s.useMemo((()=>{if(!b?.length)return null;const[a]=b,s=`${a.dataKey||a.name||"value"}`,l=i.getPayloadConfigFromPayload(a,s,j),t=r.isString(f)?f:l?.label;return t?e.jsx("div",{className:v,css:n,children:r.isFunction(p)?p(t,b):t}):null}),[f,p,b,v,j]);return a&&b?.length?e.jsxs("div",{ref:V,className:g,css:t,children:[w,e.jsx("div",{css:o,children:b.map(((a,s)=>{const l=`${a.dataKey||a.name||"value"}`,t=i.getPayloadConfigFromPayload(a,l,j),o=$||a.payload.fill||a.color;return e.jsx("div",{css:c,children:x&&!r.isNullish(a?.value)&&a.name?x(a.value,a.name,a,s,a.payload):e.jsxs(e.Fragment,{children:[e.jsx("div",{css:d,style:{"--vef-indicator-color":o}}),e.jsxs("div",{css:m,children:[e.jsx("span",{css:h,children:t?.label||a.name}),a.value&&e.jsx("span",{css:u,children:r.isFunction(y)?y(a.value):a.value.toLocaleString()})]})]})},a.dataKey)}))})]}):null}));exports.default=b;
43
+ `,b=s.forwardRef((({active:a,payload:b,className:g,label:f,labelFormatter:p,labelClassName:v,formatter:x,valueFormatter:y,color:$,hideLabel:V=!1},j)=>{const w=i.useChartContainerContextSelector((e=>e.config)),S=s.useMemo((()=>{if(V||!b?.length)return null;const[a]=b,s=`${a.dataKey||a.name||"value"}`,i=l.getPayloadConfigFromPayload(a,s,w),t=r.isString(f)?f:i?.label;return t?e.jsx("div",{className:v,css:n,children:r.isFunction(p)?p(t,b):t}):null}),[V,b,w,f,v,p]);return a&&b?.length?e.jsxs("div",{ref:j,className:g,css:t,children:[S,e.jsx("div",{css:o,children:b.map(((a,s)=>{const i=`${a.name||a.dataKey||"value"}`,t=l.getPayloadConfigFromPayload(a,i,w),o=$||a.payload.fill||a.color;return e.jsx("div",{css:c,children:x&&!r.isNullish(a?.value)&&a.name?x(a.value,a.name,a,s,a.payload):e.jsxs(e.Fragment,{children:[e.jsx("div",{css:d,style:{"--vef-indicator-color":o}}),e.jsxs("div",{css:m,children:[e.jsx("span",{css:h,children:t?.label||a.name}),a.value&&e.jsx("span",{css:u,children:r.isFunction(y)?y(a.value):a.value.toLocaleString()})]})]})},a.dataKey)}))})]}):null}));exports.default=b;
44
44
  /*! 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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, made by Venus. */
2
2
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react");exports.useCheckboxInstance=function useCheckboxInstance(t,r){const n=e.useRef(null);return e.useImperativeHandle(t,(()=>({blur:()=>{n.current?.blur()},focus:()=>{n.current?.focus({preventScroll:!0})},getDataOptions:()=>r}))),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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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"),t=require("react");exports.useDataOptions=function useDataOptions({value:s,onChange:i,...r}){const{normalizedOptions:a,defaultOption:n,isLoading:u}=e.useComputedOptions({...r,isGrouped:!1,filterable:!1,selectedOptionValues:s}),l=t.useMemo((()=>a.reduce(((e,o)=>(e.set(o.value,o),e)),new Map)),[a]);return t.useLayoutEffect((()=>{n&&o.isFunction(i)&&o.isNullish(s)&&i([n.value],[n])}),[n,i,s]),{optionsMap:l,normalizedOptions:a,isLoading: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,4 +1,4 @@
1
- /*! VefFramework version: 1.0.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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("@emotion/react"),r=require("@vef-framework/shared"),s=require("antd"),i=require("react"),n=require("../vef-loading-placeholder/index.cjs"),t=require("../vef-tooltip/index.cjs"),a=require("./hooks/use-checkbox-instance.cjs"),u=require("./hooks/use-data-options.cjs"),{Group:c}=s.Checkbox,d=e.jsx("div",{css:o.css`
3
3
  height: ${r.themeVariables.controlHeight}
4
4
  `,children:e.jsx(n.default,{})});const l=i.memo(i.forwardRef((function VefCheckboxBase({defaultValue:o,value:n,disabled:l,renderCheckboxes:h,onChange:x,...f},b){const{optionsMap:p,normalizedOptions:m,isLoading:v}=u.useDataOptions({value:n,onChange:x,...f}),j=a.useCheckboxInstance(b,m),k=i.useMemo((()=>{if(r.isFunction(x))return e=>{x(e,e.map((e=>p.get(e))))}}),[x,p]),g=i.useMemo((()=>{if(v)return;const o=m.map((o=>{const{value:r,label:i,disabled:n,description:a}=o;return a?e.jsx(t.default,{content:a,children:e.jsx(s.Checkbox,{disabled:n,value:r,children:i})},r):e.jsx(s.Checkbox,{disabled:n,value:r,children:i},r)}));return r.isFunction(h)?h(o):o}),[v,m,h]);return v?d:e.jsx(c,{ref:j,defaultValue:o,disabled:l,onChange:k,...void 0===n?{}:{value:n},children:g})})));l.displayName="VefCheckbox",exports.default=l;
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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("antd");exports.default=function VefCol({...r}){return e.jsx(t.Col,{...r})};
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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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"),i=require("react");require("../internal/index.cjs");const o=require("../internal/utils.cjs"),a=["single","gradient"];exports.default=function VefColorPicker({clearable:n,disabled:s,format:l,size:u,showText:c,trigger:d,defaultValue:f,value:g,onChange:m}){const x=i.useMemo((()=>{if(r.isFunction(m))return e=>{m(e.toCssString(),e)}}),[m]);return e.jsx(t.ColorPicker,{allowClear:n,arrow:!1,defaultValue:f,disabled:s,format:l,mode:a,showText:c,size:o.convertBasicSizeToUiSize(u),trigger:d,value:g,onChangeComplete:x})};
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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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("antd");require("../internal/index.cjs");const i=require("../internal/utils.cjs"),{Compact:r}=t.Space;exports.default=function VefCompact({size:t,...n}){return e.jsx(r,{size:i.convertBasicSizeToUiSize(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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, made by Venus. */
2
2
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@emotion/react"),r=require("@vef-framework/shared"),t=require("../internal/modern-normalize.css.cjs"),o=e.css`
3
3
  ${t.default}
4
4
 
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
2
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vef-framework/hooks"),o=require("@vef-framework/shared"),r=require("antd"),t=require("antd/locale/zh_CN"),i=require("dayjs"),n=require("dayjs/locale/zh-cn");i.locale(n),console.log("locale",t);const l={blue:"#3b82f6",purple:"#8b5cf6",cyan:"#06b6d4",green:"#22c55e",pink:"#ec4899",red:"#ef4444",orange:"#f97316",yellow:"#eab308",volcano:"#f43f5e",lime:"#84cc16",gold:"#fbbf24",geekblue:"#6366f1",magenta:"#eb2f96"},a={medium:{fontSize:14,controlHeight:32},large:{fontSize:16,controlHeight:36}},f={medium:{Button:{contentFontSizeSM:12}},large:{Button:{contentFontSizeSM:14}}};exports.useUiConfig=function useUiConfig(i){return e.useDeepMemo((()=>function generateUiConfig({primaryColor:e="#0064fa",fontSize:i="medium"}){if(!Reflect.has(l,e)&&!o.isValidColor(e))throw new Error(`Invalid primary color: ${e}`);if(!(i in a))throw new Error(`Invalid font size: ${i}`);const n=a[i],c=f[i];return{messageFoldThreshold:1,messageDuration:3,notificationFoldThreshold:3,notificationDuration:5,locale:Reflect.has(t,"default")?Reflect.get(t,"default"):t,iconPrefixCls:"vef-icon",prefixCls:"vef",virtual:!0,componentSize:"middle",variant:"outlined",theme:{cssVar:{prefix:"vef"},hashed:!1,algorithm:r.theme.defaultAlgorithm,token:{borderRadius:6,colorBgBase:"#ffffff",colorPrimary:Reflect.has(l,e)?l[e]:e,colorInfo:"#0ea5e9",colorSuccess:"#22c55e",colorWarning:"#f97316",colorError:"#ef4444",colorLink:"#6366f1",colorTextBase:"#171717",colorBgLayout:"#f5f6fb",colorBgSpotlight:"rgba(23, 23, 23, 0.8)",zIndexPopupBase:10,wireframe:!0,...n,...l},components:o.assign({Table:{},Tooltip:{paddingSM:16,paddingXS:12},Button:{},TreeSelect:{titleHeight:n.controlHeight},Spin:{contentHeight:"auto"}},c)}}}(i)),[i])};
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, made by Venus. */
2
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vef-framework/hooks"),o=require("@vef-framework/shared"),r=require("antd"),t=require("antd/locale/zh_CN"),i=require("dayjs"),n=require("dayjs/locale/zh-cn");i.locale(n);const l={blue:"#3b82f6",purple:"#8b5cf6",cyan:"#06b6d4",green:"#22c55e",pink:"#ec4899",red:"#ef4444",orange:"#f97316",yellow:"#eab308",volcano:"#f43f5e",lime:"#84cc16",gold:"#fbbf24",geekblue:"#6366f1",magenta:"#eb2f96"},a={medium:{fontSize:14,controlHeight:32},large:{fontSize:16,controlHeight:36}},f={medium:{Button:{contentFontSizeSM:12}},large:{Button:{contentFontSizeSM:14}}};exports.useUiConfig=function useUiConfig(i){return e.useDeepMemo((()=>function generateUiConfig({primaryColor:e="#0064fa",fontSize:i="medium"}){if(!Reflect.has(l,e)&&!o.isValidColor(e))throw new Error(`Invalid primary color: ${e}`);if(!(i in a))throw new Error(`Invalid font size: ${i}`);const n=a[i],c=f[i];return{messageFoldThreshold:1,messageDuration:3,notificationFoldThreshold:3,notificationDuration:5,locale:Reflect.has(t,"default")?Reflect.get(t,"default"):t,iconPrefixCls:"vef-icon",prefixCls:"vef",virtual:!0,componentSize:"middle",variant:"outlined",theme:{cssVar:{prefix:"vef"},hashed:!1,algorithm:r.theme.defaultAlgorithm,token:{borderRadius:6,colorBgBase:"#ffffff",colorPrimary:Reflect.has(l,e)?l[e]:e,colorInfo:"#0ea5e9",colorSuccess:"#22c55e",colorWarning:"#f97316",colorError:"#ef4444",colorLink:"#6366f1",colorTextBase:"#171717",colorBgLayout:"#f5f6fb",colorBgSpotlight:"rgba(23, 23, 23, 0.8)",zIndexPopupBase:10,wireframe:!0,...n,...l},components:o.assign({Table:{},Tooltip:{paddingSM:16,paddingXS:12},Button:{},TreeSelect:{titleHeight:n.controlHeight},Spin:{contentHeight:"auto"}},c)}}}(i)),[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,4 +1,4 @@
1
- /*! VefFramework version: 1.0.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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/cache"),o=require("@emotion/react"),i=require("@vef-framework/core"),t=require("antd"),n=require("react"),s=require("react-error-boundary"),a=require("../vef-error/index.cjs"),c=require("./global-style.cjs"),l=require("./hooks/use-ui-config.cjs"),u=require("./store.cjs");function UiConfigProvider({children:r}){const o=u.useConfigStore((e=>e)),i=l.useUiConfig(o);n.useLayoutEffect((()=>{const{messageFoldThreshold:r,messageDuration:o,notificationFoldThreshold:n,notificationDuration:s,...a}=i;t.ConfigProvider.config({holderRender:i=>e.jsx(t.ConfigProvider,{...a,children:e.jsx(t.App,{component:"div",message:{maxCount:r,duration:o},notification:{maxCount:n,duration:s,showProgress:!0,pauseOnHover:!0,placement:"topRight",stack:{threshold:3}},children:i})})}),document.documentElement.style.setProperty("--vef-color-primary",i.theme?.token?.colorPrimary??null)}),[i]);const{messageFoldThreshold:s,messageDuration:a,notificationDuration:c,...d}=i;return e.jsx(t.ConfigProvider,{...d,children:e.jsx(t.App,{component:"div",message:{maxCount:s,duration:a},notification:{maxCount:s,duration:c,showProgress:!0,pauseOnHover:!0,placement:"topRight",stack:{threshold:3}},children:r})})}function FallbackComponent({error:r,resetErrorBoundary:o}){return e.jsx(a.default,{error:r,reset:o})}const d=r({key:"vef"});exports.default=function VefConfigProvider({apiClient:r,dataDictionaryApi:t,loginApi:n,logoutApi:a,fetchAuthenticatedUserApi:l,permissionChecker:h,children:m,...p}){return e.jsx(i.AuthContextProvider,{permissionChecker:h,children:e.jsx(i.ApiContextProvider,{client:r,dataDictionaryApi:t,fetchAuthenticatedUserApi:l,loginApi:n,logoutApi:a,children:e.jsx(u.ConfigStoreProvider,{initialState:p,children:e.jsxs(o.CacheProvider,{value:d,children:[e.jsx(o.Global,{styles:[c.globalStyle,c.nprogressStyle,o.css`
3
3
  :root {
4
4
  font-size: ${"medium"===(p.fontSize??"medium")?"14px":"16px"};
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, made by Venus. */
2
2
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vef-framework/shared"),{StoreProvider:r,useStore:o,useStoreApi:t}=e.createComponentStore("Config",(({fontSize:e="large",primaryColor:r="#0064fa"})=>o=>({fontSize:e,primaryColor:r,setFontSize:e=>o({fontSize:e}),setPrimaryColor:e=>o({primaryColor:e})})));exports.ConfigStoreProvider=r,exports.useConfigStore=o,exports.useConfigStoreApi=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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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("antd"),r=require("../vef-scroll-area/index.cjs"),{BackTop:s}=t.FloatButton;exports.default=function VefContainer({className:t,style:a,children:l}){return e.jsxs(r.default,{className:t,style:a,children:[l,e.jsx(s,{})]})};
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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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("@vef-framework/hooks"),r=require("react"),o=require("../../vef-action-buttons/index.cjs"),s=require("../hooks/use-action-buttons.cjs"),u=require("../hooks/use-crud-context.cjs"),i=require("../store.cjs");exports.default=function VefCrudActions({tableApi:n,tableApiParams:c,actionButtons:a}){const l=i.useCrudStore((e=>e.confirmedFilterValues)),d=n.useIsFetching(r.useMemo((()=>({...c,...l})),[c,l])),x=u.useCrudContext(),f=s.useActionButtons(a);return e.jsx(t.DisabledContextProvider,{value:d,children:e.jsx(o.default,{buttons:f,context:x,useFlexContainer:!1})})};
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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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("react"),r=require("../../vef-action-buttons/index.cjs"),s=require("../../vef-filter/index.cjs"),o=require("../../vef-title/index.cjs"),u=require("../hooks/use-action-buttons.cjs"),i=require("../hooks/use-crud-context.cjs"),n=require("../store.cjs");exports.default=function VefCrudFilter({title:l,tableApi:a,tableApiParams:c,filterSchema:d,actionButtons:f}){const[x,j,m]=n.useCrudStore((e=>[e.setFilterValues,e.confirmedFilterValues,e.setConfirmedFilterValues])),C=a.useIsFetching(t.useMemo((()=>({...c,...j})),[c,j])),b=i.useCrudContext(),h=u.useActionButtons(f),q=t.useCallback((()=>m(null)),[m]);return e.jsx(s.default,{loading:C,prefix:e.jsx(o.default,{noPaddingBottom:!0,showLeftBar:!0,level:5,children:l}),schema:d,extraActionButtons:e.jsx(r.default,{buttons:h,context:b,useFlexContainer:!1}),onChange:x,onConfirm:m,onReset:q})};
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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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/core"),s=require("@vef-framework/hooks"),i=require("@vef-framework/shared"),o=require("lucide-react"),n=require("react"),c=require("../../vef-action-buttons/index.cjs"),u=require("../../vef-button/index.cjs"),a=require("../../vef-divider/index.cjs"),l=require("../../vef-flex/index.cjs"),d=require("../../vef-icon/index.cjs"),f=require("../../vef-text/index.cjs"),x=require("../hooks/use-crud-context.cjs"),m=require("../store.cjs"),h=r.css`
3
3
  height: 100%;
4
4
  display: flex;
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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-form-modal/index.cjs"),r=require("../store.cjs");exports.default=function VefCrudFormModal({formSchema:t,formApis:n}){const[i,{scene:s,title:u,width:c},{onBeforeSubmit:m,onSubmitSuccess:a},l,f,d]=r.useCrudStore((e=>[e.isFormOpen,e.currentFormInfo,e.currentFormEventHandlers,e.currentFormInitialValues,e.isFormLoading,e.closeForm])),p=n[s];if(!p)throw new Error(`Form api for scene ${s} not found, please check the formApis props of VefCrudPage component.`);return e.jsx(o.default,{initialValues:l,loading:f,open:i,scene:s,schema:t,submitApi:p,title:u,width:c,onBeforeSubmit:m,onClose:d,onSubmitSuccess:a})};
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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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("react"),r=require("./crud-filter.cjs");const i=t.memo((function VefCrudHeaderBase({title:t,tableApi:i,tableApiParams:a,filterItems:l,actionButtons:u}){return l.length>0?e.jsx(r.default,{actionButtons:u,filterSchema:l,tableApi:i,tableApiParams:a,title:t}):null}));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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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("react"),s=require("../../vef-table/index.cjs"),o=require("../hooks/use-crud-context.cjs"),a=require("../hooks/use-operation-buttons.cjs"),r=require("../store.cjs");const n=t.memo((function VefCrudTableBase({api:n,apiParams:l,deletionApi:u,paginated:c,schema:i,selectable:d,operationButtons:m,...p}){const[f,x,S]=r.useCrudStore((e=>[e.confirmedFilterValues,e.selectedInfo,e.setSelectedInfo])),b=t.useMemo((()=>({...l,...f})),[l,f]),C=t.useCallback(((e,t)=>{S({selectedKeys:e,selectedRecords:t})}),[S]),j=a.useOperationButtons(u,m),y=t.useRef(null),h=r.useCrudStoreApi();t.useEffect((()=>{h.setState({tableInstanceRef:y})}),[h]);const g=o.useCrudContext();return c?e.jsx(s.default,{ref:y,multipleSelection:!0,paginated:!0,api:n,apiParams:b,externalContext:g,operationButtons:j,schema:i,selectable:d,selectedKeys:x.selectedKeys,selectionSummary:!1,onRowSelectionChange:C,...p}):e.jsx(s.default,{ref:y,multipleSelection:!0,api:n,apiParams:b,externalContext:g,schema:i,selectable:d,selectedKeys:x.selectedKeys,selectionSummary:!1,onRowSelectionChange:C,...p})}));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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, made by Venus. */
2
2
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@emotion/react/jsx-runtime"),r=require("@vef-framework/shared"),o=require("lucide-react"),t=require("react"),c=require("../../vef-icon/index.cjs"),n=require("../store.cjs");exports.useActionButtons=function useActionButtons(i){const s=n.useCrudStore((e=>e.formApiKeys)),u=Reflect.has(s,r.creationFormScene),a=Reflect.get(s,r.creationFormScene);return t.useMemo((()=>u?[...i??[],{label:"创建",key:`_${r.creationFormScene}`,icon:e.jsx(c.default,{children:e.jsx(o.PlusIcon,{})}),color:"primary",permissions:[a],onClick:({openForm:e,refetch:o})=>e({scene:r.creationFormScene,title:"创建",onSubmitSuccess:()=>{o()}})}]:i??[]),[u,i,a])};
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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, made by Venus. */
2
2
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react"),t=require("../store.cjs");exports.useCrudContext=function useCrudContext(){const[r,o,u]=t.useCrudStore((e=>[e.openForm,e.filterValues,e.tableInstanceRef]));return e.useMemo((()=>({openForm:r,filterValues:o,refetch:async()=>{await(u.current?.refetch())}})),[r,o,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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, made by Venus. */
2
2
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vef-framework/shared"),s=require("react");exports.useCrudSchema=function useCrudSchema(t){return s.useMemo((()=>{const s=[],o=[],r=new Set,l={};for(const u of t){const{filter:t,form:n,...c}=u,{name:a,title:i}=c;if(s.push(c),t){const{label:s,advanced:r,...l}=t,u={name:a,label:r&&e.isNullish(s)?i:s,advanced:r,...l};("Input"===u.type||"InputNumber"===u.type)&&e.isNullish(s)&&e.isNullish(u.placeholder)&&(u.placeholder=e.isString(i)?`请输入${i}`:"请输入"),o.push(u)}if(n){const{group:s,row:t,column:o,filterValueAsDefault:u,label:c,...f}=n,p=`${s??1}`,m=l[p]??{};l[p]||(l[p]=m);const h=`${t??1}`,d=m[h]??{};m[h]||(m[h]=d);const y=`${o??1}`,b=d[y]??[];d[y]||(d[y]=b),"Hidden"===f.type?b.push({name:a,...f}):b.push({name:a,label:e.isNullish(c)?i:c,...f}),u&&r.add(a)}}const u=[],n=Object.keys(l).sort();for(const e of n){const s=l[e],t=[],o=Object.keys(s).sort();for(const e of o){const o=s[e],r=[],l=Object.keys(o).sort();for(const e of l){const s={key:e,items:o[e]};r.push(s)}t.push({key:e,columns:r})}u.push({key:e,rows:t})}return{tableSchema:s,filterItems:o,formGroups:u,filterValueAsDefaultKeys:Array.from(r)}}),[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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, made by Venus. */
2
2
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@emotion/react/jsx-runtime"),r=require("@vef-framework/core"),o=require("@vef-framework/shared"),i=require("lucide-react"),t=require("react"),n=require("../../vef-icon/index.cjs"),s=require("../store.cjs");exports.useOperationButtons=function useOperationButtons(c,u){const{useApiMutation:a,stubMutationApi:l}=r.useApiContext(),m=a(c??l),f=s.useCrudStore((e=>e.formApiKeys)),d=Reflect.has(f,o.modificationFormScene);return t.useMemo((()=>{const r=[...u??[]];return d&&r.push({key:"_modification",label:"修改",icon:e.jsx(n.default,{children:e.jsx(i.PencilIcon,{})}),color:"primary",onClick:({record:e,openForm:r,refetch:i})=>{r({scene:o.modificationFormScene,title:"修改",initialValues:e,onSubmitSuccess:()=>{i()}})}}),c&&r.push({key:"_deletion",label:"删除",icon:e.jsx(n.default,{children:e.jsx(i.TrashIcon,{})}),color:"error",requireConfirmation:!0,confirmationMode:"simple",onClick:async({record:e,refetch:r})=>{const{message:i}=await m.mutate(e);o.showSuccessMessage(i),r()}}),r}),[c,m,u,d])};
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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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("@vef-framework/shared"),s=require("react"),r=require("../vef-card/index.cjs"),o=require("../vef-page/index.cjs"),a=require("./components/crud-actions.cjs"),i=require("./components/crud-footer.cjs"),u=require("./components/crud-form-modal.cjs"),l=require("./components/crud-header.cjs"),c=require("./components/crud-table.cjs"),n=require("./hooks/use-crud-schema.cjs"),m=require("./store.cjs");function VefCrudPageBase({title:s,actionButtons:n,batchActionButtons:f,tableSchema:d,filterItems:p,formGroups:b,tableApiParams:h,formApis:A,deletionApi:j,batchDeletionApi:S,selectionSummary:x,...q}){const{selectedKeys:g}=m.useCrudStore((e=>e.selectedInfo)),P=!t.isNullish(S)||!t.isNullish(f)&&f.length>0;let y;if(q.paginated){const{tableApi:t,...s}=q;y=e.jsx(c.default,{showRowNumber:!0,api:t,apiParams:h,deletionApi:j,schema:d,selectable:P,...s})}else{const{tableApi:t,...s}=q;y=e.jsx(c.default,{showRowNumber:!0,api:t,apiParams:h,deletionApi:j,schema:d,selectable:P,...s})}const{tableApi:B}=q;return e.jsx(o.default,{scrollable:!0,title:s,actions:e.jsx(a.default,{actionButtons:n,tableApi:B,tableApiParams:h}),footer:g.length>0&&e.jsx(i.default,{batchActionButtons:f,batchDeletionApi:S,selectionSummary:x,tableApi:B,tableApiParams:h}),header:e.jsx(l.default,{actionButtons:n,filterItems:p,tableApi:B,tableApiParams:h,title:s}),children:e.jsxs(r.default,{children:[y,A&&Object.keys(A).length>0&&b.length>0&&e.jsx(u.default,{formApis:A,formSchema:b})]})})}exports.default=function VefCrudPage({schema:t,formApis:r,onFormOpen:o,onBeforeSubmit:a,onSubmitSuccess:i,...u}){const{tableSchema:l,filterItems:c,formGroups:f,filterValueAsDefaultKeys:d}=n.useCrudSchema(t),p=s.useMemo((()=>{const e=r??{};return Object.keys(e).reduce(((t,s)=>(e[s]&&(t[s]=e[s].key),t)),{})}),[r]),b=s.useMemo((()=>({filterValueAsDefaultKeys:d,formApiKeys:p,onBeforeSubmit:a,onFormOpen:o,onSubmitSuccess:i})),[d,p,a,o,i]);return e.jsx(m.CrudStoreProvider,{initialState:b,children:e.jsx(VefCrudPageBase,{filterItems:c,formApis:r,formGroups:f,tableSchema:l,...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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, made by Venus. */
2
2
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vef-framework/shared"),{StoreProvider:r,useStore:s,useStoreApi:o}=e.createComponentStore("Crud",(({filterValueAsDefaultKeys:r,formApiKeys:s,onFormOpen:o,onBeforeSubmit:n,onSubmitSuccess:t})=>(i,u)=>({onFormOpen:o,onBeforeSubmit:n,onSubmitSuccess:t,currentFormInfo:{scene:e.creationFormScene,title:"创建",width:"medium"},currentFormEventHandlers:{},currentFormInitialValues:{},isFormOpen:!1,openForm:async({initialValues:s,width:o,onBeforeSubmit:n,onSubmitSuccess:t,showSuccessTip:c=!0,successTipType:l="message",...a})=>{const{filterValues:m,onFormOpen:F,closeForm:d,onBeforeSubmit:S,onSubmitSuccess:f,setIsFormLoading:p}=u(),b={...r.reduce(((r,s)=>{const o=m[s];return e.isNullish(o)||(r[s]=o),r}),{}),...s},V=e.isFunction(n)||e.isFunction(S)?async(e,r)=>{const s=await(n?.(e,r));return await(S?.(s??e,r))??s}:void 0,y=e.isFunction(t)||e.isFunction(f)?e.mergeFns((({message:r})=>{c&&("message"===l?e.showSuccessMessage(r):e.showSuccessAlert(r)),d()}),t,f):void 0;i({isFormOpen:!0,currentFormInfo:{...a,width:o??"medium"},currentFormEventHandlers:{onBeforeSubmit:V,onSubmitSuccess:y},isFormLoading:Boolean(F)}),F?await e.invokeMaybeAsyncFn(F,{onSuccess:e=>{i({currentFormInitialValues:e})},onFinally:()=>{p(!1)}},b,m,a.scene):i({currentFormInitialValues:b})},closeForm:()=>{i({isFormOpen:!1,currentFormInitialValues:{},currentFormEventHandlers:{}})},isFormLoading:!1,setIsFormLoading:e=>{i({isFormLoading:e})},filterValueAsDefaultKeys:r,filterValues:{},setFilterValues:e=>{i({filterValues:e})},confirmedFilterValues:null,setConfirmedFilterValues:e=>{i({confirmedFilterValues:e})},selectedInfo:{selectedKeys:[],selectedRecords:[]},setSelectedInfo:e=>{i({selectedInfo:e})},formApiKeys:s,tableInstanceRef:{current:null}})));exports.CrudStoreProvider=r,exports.useCrudStore=s,exports.useCrudStoreApi=o;
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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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("antd");exports.default=function VefDivider({orientation:i,title:r,titlePosition:n,titleEdgeMargin:o,...a}){return e.jsx(t.Divider,{children:r,orientation:n,orientationMargin:o,type:i,...a})};
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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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("react"),n=require("../context.cjs");exports.default=function VefDrawerActionButtonWrapper({children:o}){const[i,s]=n.useDrawerContextSelector((e=>[e.isDisabled,e.setIsDisabled])),[a,l]=t.useState(!1),{disabled:c,loading:u,onClick:d}=o.props,b=t.useMemo((()=>{if(d)return async e=>{await r.invokeMaybeAsyncFn(d,{beforeInvoke:()=>{l(!0),s(!0)},onFinally:()=>{l(!1),s(!1)}},e)}}),[d,s]),f=t.cloneElement(o,{disabled:i||c,loading:a||u,onClick:b});return e.jsx(e.Fragment,{children:f})};
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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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("../../vef-button/index.cjs"),r=require("./action-button-wrapper.cjs");exports.default=function VefCancelActionButton({text:n,onClick:o}){return e.jsx(r.default,{children:e.jsx(t.default,{color:"default",variant:"text",onClick:o,children: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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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("lucide-react"),t=require("../../vef-button/index.cjs"),i=require("../../vef-icon/index.cjs"),n=require("./action-button-wrapper.cjs");exports.default=function VefOkActionButton({text:o,onClick:c}){return e.jsx(n.default,{children:e.jsx(t.default,{color:"primary",icon:e.jsx(i.default,{children:e.jsx(r.CheckIcon,{})}),onClick:c,children:o})})};
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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, made by Venus. */
2
2
  "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("@vef-framework/shared"),{ContextProvider:t,useContext:r,useContextSelector:o}=e.createSelectableContext({isDisabled:!1,setIsDisabled:e.noop,isFullyOpened:!1,isFullyClosed:!1});exports.DrawerContextProvider=t,exports.useDrawerContext=r,exports.useDrawerContextSelector=o;
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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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"),o=require("@vef-framework/shared"),n=require("antd"),s=require("react"),l=require("./components/cancel-action-button.cjs"),r=require("./components/ok-action-button.cjs"),a=require("./context.cjs"),i=require("./components/action-button-wrapper.cjs"),c=t.css`
3
3
  .vef-drawer-footer {
4
4
  display: flex;
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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("@vef-framework/hooks"),o=require("@vef-framework/shared"),s=require("antd"),n=require("react");const i=n.memo((function VefDropdownBase({className:i,disabled:l,placement:r,children:a,items:c,trigger:d="hover",selectable:u=!1,deselectable:m=!1,multiple:p=!1,defaultSelectedKeys:y,selectedKeys:f,onChange:k,onSelect:v,onDeselect:g,onClick:h}){const b=n.useMemo((()=>[d]),[d]),P=t.useNormalizedMenuItems(c),D=t.useDeepMemo((()=>({items:P,selectable:u,unselectable:m?"on":"off",multiple:p,defaultSelectedKeys:y,selectedKeys:f,onSelect:o.isFunction(k)||o.isFunction(v)?({key:e,keyPath:t,selectedKeys:o,domEvent:s})=>{s.stopPropagation(),k?.(o),v?.(e,t)}:void 0,onDeselect:o.isFunction(k)||o.isFunction(g)?({key:e,keyPath:t,selectedKeys:o,domEvent:s})=>{s.stopPropagation(),k?.(o),g?.(e,t)}:void 0,onClick:o.isFunction(h)?({key:e,keyPath:t,domEvent:o})=>{o.stopPropagation(),h(e,t)}:void 0})),[y,p,P,k,h,g,v,u,f,m]);return e.jsx(s.Dropdown,{className:i,disabled:l,menu:D,placement:r,trigger:b,children:a})}));i.displayName="VefDropdown",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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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.71, build time: 2025-01-15T03:01:01.484Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.73, build time: 2025-01-15T10:02:40.112Z, 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"),t=require("lucide-react/dynamicIconImports"),o=require("react"),i=require("../vef-icon/index.cjs");function SvgPlaceholder(){const{colorFillContent:t}=r.useThemeTokens();return e.jsx("svg",{"aria-label":"Loading icon",height:"1em",role:"img",viewBox:"0 0 100 100",width:"1em",xmlns:"http://www.w3.org/2000/svg",children:e.jsx("rect",{fill:t,height:"100",rx:"20",width:"100"})})}const n=e.jsx(SvgPlaceholder,{}),s=new Map,l=o.forwardRef((({name:r,...l},c)=>{if(!s.has(r)){const e=o.lazy(t[r]);s.set(r,e)}const a=s.get(r);return e.jsx(i.default,{ref:c,...l,children:e.jsx(o.Suspense,{fallback:n,children:e.jsx(a,{})})})}));l.displayName="VefDynamicIcon",exports.default=l;
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 */