@vef-framework/components 1.0.53 → 1.0.54

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 (573) hide show
  1. package/es/index.js +1 -1
  2. package/es/internal/index.js +1 -1
  3. package/es/internal/modern-normalize.css.js +1 -1
  4. package/es/internal/utils.js +1 -1
  5. package/es/vef-access-denied/access-denied-icon.js +1 -1
  6. package/es/vef-access-denied/index.js +1 -1
  7. package/es/vef-action-buttons/index.js +2 -2
  8. package/es/vef-auto-sizer/index.js +1 -1
  9. package/es/vef-avatar/index.js +1 -1
  10. package/es/vef-avatar-group/index.js +1 -1
  11. package/es/vef-badge/index.js +1 -1
  12. package/es/vef-bool/hooks/use-bool-instance.js +1 -1
  13. package/es/vef-bool/index.js +1 -1
  14. package/es/vef-breadcrumb/index.js +1 -1
  15. package/es/vef-button/components/base-button.js +1 -1
  16. package/es/vef-button/index.js +1 -1
  17. package/es/vef-card/index.js +1 -1
  18. package/es/vef-card-meta/index.js +1 -1
  19. package/es/vef-checkbox/hooks/use-checkbox-instance.js +1 -1
  20. package/es/vef-checkbox/hooks/use-data-options.js +1 -1
  21. package/es/vef-checkbox/index.js +1 -1
  22. package/es/vef-col/index.js +1 -1
  23. package/es/vef-color-picker/index.js +1 -1
  24. package/es/vef-compact/index.js +1 -1
  25. package/es/vef-config-provider/global-style.js +1 -1
  26. package/es/vef-config-provider/hooks/use-ui-config.js +1 -1
  27. package/es/vef-config-provider/index.js +1 -1
  28. package/es/vef-config-provider/store.js +1 -1
  29. package/es/vef-container/index.js +1 -1
  30. package/es/vef-crud-page/components/crud-actions.js +1 -1
  31. package/es/vef-crud-page/components/crud-filter.js +1 -1
  32. package/es/vef-crud-page/components/crud-footer.js +1 -1
  33. package/es/vef-crud-page/components/crud-form-modal.js +1 -1
  34. package/es/vef-crud-page/components/crud-header.js +1 -1
  35. package/es/vef-crud-page/components/crud-table.js +1 -1
  36. package/es/vef-crud-page/hooks/use-action-buttons.js +1 -1
  37. package/es/vef-crud-page/hooks/use-crud-context.js +1 -1
  38. package/es/vef-crud-page/hooks/use-crud-schema.js +1 -1
  39. package/es/vef-crud-page/hooks/use-operation-buttons.js +1 -1
  40. package/es/vef-crud-page/index.js +1 -1
  41. package/es/vef-crud-page/store.js +1 -1
  42. package/es/vef-divider/index.js +1 -1
  43. package/es/vef-drawer/components/action-button-wrapper.js +1 -1
  44. package/es/vef-drawer/components/button-props.js +1 -1
  45. package/es/vef-drawer/components/cancel-action-button.js +1 -1
  46. package/es/vef-drawer/components/ok-action-button.js +1 -1
  47. package/es/vef-drawer/context.js +1 -1
  48. package/es/vef-drawer/index.js +1 -1
  49. package/es/vef-dropdown/index.js +1 -1
  50. package/es/vef-dynamic-icon/index.js +1 -1
  51. package/es/vef-dynamic-icon/props.js +1 -1
  52. package/es/vef-empty/index.js +1 -1
  53. package/es/vef-empty-placeholder/index.js +1 -1
  54. package/es/vef-error/error-icon.js +1 -1
  55. package/es/vef-error/index.js +1 -1
  56. package/es/vef-filter/components/action-buttons.js +1 -1
  57. package/es/vef-filter/components/advanced-filter.js +1 -1
  58. package/es/vef-filter/components/basic-filter.js +1 -1
  59. package/es/vef-filter/components/fields/index.js +1 -1
  60. package/es/vef-filter/components/fields/input-number.js +1 -1
  61. package/es/vef-filter/components/fields/input.js +1 -1
  62. package/es/vef-filter/components/filter-field.js +1 -1
  63. package/es/vef-filter/components/filter-item.js +1 -1
  64. package/es/vef-filter/event.js +1 -1
  65. package/es/vef-filter/helper.js +1 -1
  66. package/es/vef-filter/hooks/use-action-handlers.js +1 -1
  67. package/es/vef-filter/hooks/use-computed-values.js +1 -1
  68. package/es/vef-filter/hooks/use-filter-context.js +1 -1
  69. package/es/vef-filter/hooks/use-filter-initialization.js +1 -1
  70. package/es/vef-filter/hooks/use-filter-instance.js +1 -1
  71. package/es/vef-filter/hooks/use-filter-items.js +1 -1
  72. package/es/vef-filter/hooks/use-filter-values-change.js +1 -1
  73. package/es/vef-filter/hooks/use-label-config.js +1 -1
  74. package/es/vef-filter/index.js +1 -1
  75. package/es/vef-filter/store.js +1 -1
  76. package/es/vef-flex/index.js +1 -1
  77. package/es/vef-float-button/index.js +1 -1
  78. package/es/vef-float-button-group/index.js +1 -1
  79. package/es/vef-form/components/fields/index.js +1 -1
  80. package/es/vef-form/components/fields/input-number.js +1 -1
  81. package/es/vef-form/components/fields/input.js +1 -1
  82. package/es/vef-form/components/form-actions.js +1 -1
  83. package/es/vef-form/components/form-content.js +1 -1
  84. package/es/vef-form/components/form-field.js +1 -1
  85. package/es/vef-form/components/form-group.js +1 -1
  86. package/es/vef-form/components/form-hidden-item.js +1 -1
  87. package/es/vef-form/components/form-item.js +1 -1
  88. package/es/vef-form/components/form-row.js +1 -1
  89. package/es/vef-form/event.js +1 -1
  90. package/es/vef-form/helper.js +1 -1
  91. package/es/vef-form/hooks/use-action-handlers.js +1 -1
  92. package/es/vef-form/hooks/use-columns-layout.js +1 -1
  93. package/es/vef-form/hooks/use-computed-values.js +1 -1
  94. package/es/vef-form/hooks/use-form-context.js +1 -1
  95. package/es/vef-form/hooks/use-form-initialization.js +1 -1
  96. package/es/vef-form/hooks/use-form-instance.js +1 -1
  97. package/es/vef-form/hooks/use-form-values-change.js +1 -1
  98. package/es/vef-form/hooks/use-label-width.js +1 -1
  99. package/es/vef-form/index.js +1 -1
  100. package/es/vef-form/store.js +1 -1
  101. package/es/vef-form/validation-rules.js +1 -1
  102. package/es/vef-form-drawer/index.js +1 -1
  103. package/es/vef-form-modal/index.js +1 -1
  104. package/es/vef-generic-select/index.js +1 -1
  105. package/es/vef-grid/index.js +1 -1
  106. package/es/vef-grid/props.js +1 -1
  107. package/es/vef-grid-item/index.js +1 -1
  108. package/es/vef-icon/index.js +1 -1
  109. package/es/vef-icon-select/index.js +1 -1
  110. package/es/vef-input/hooks/use-input-instance.js +1 -1
  111. package/es/vef-input/index.js +1 -1
  112. package/es/vef-input-number/hooks/use-input-number-instance.js +1 -1
  113. package/es/vef-input-number/index.js +1 -1
  114. package/es/vef-layout/common-styles.js +1 -1
  115. package/es/vef-layout/components/content.js +1 -1
  116. package/es/vef-layout/components/font-size.js +1 -1
  117. package/es/vef-layout/components/fullscreen.js +1 -1
  118. package/es/vef-layout/components/header-action-icons.js +1 -1
  119. package/es/vef-layout/components/header-content.js +1 -1
  120. package/es/vef-layout/components/header.js +1 -1
  121. package/es/vef-layout/components/icon-boy.js +1 -1
  122. package/es/vef-layout/components/icon-girl.js +1 -1
  123. package/es/vef-layout/components/icon-menu-fold-left.js +1 -1
  124. package/es/vef-layout/components/icon-menu-unfold-left.js +1 -1
  125. package/es/vef-layout/components/menu-groups.js +1 -1
  126. package/es/vef-layout/components/message.js +1 -1
  127. package/es/vef-layout/components/search.js +1 -1
  128. package/es/vef-layout/components/sider.js +1 -1
  129. package/es/vef-layout/components/title.js +1 -1
  130. package/es/vef-layout/components/user-avatar.js +1 -1
  131. package/es/vef-layout/hooks/use-layout-context.js +1 -1
  132. package/es/vef-layout/index.js +1 -1
  133. package/es/vef-layout/logo.svg.js +1 -1
  134. package/es/vef-layout/store.js +1 -1
  135. package/es/vef-loading-placeholder/index.js +1 -1
  136. package/es/vef-login/index.js +1 -1
  137. package/es/vef-login/login-icon.js +1 -1
  138. package/es/vef-menu/index.js +1 -1
  139. package/es/vef-modal/components/action-button-wrapper.js +1 -1
  140. package/es/vef-modal/components/button-props.js +1 -1
  141. package/es/vef-modal/components/cancel-action-button.js +1 -1
  142. package/es/vef-modal/components/ok-action-button.js +1 -1
  143. package/es/vef-modal/context.js +1 -1
  144. package/es/vef-modal/index.js +1 -1
  145. package/es/vef-not-found/index.js +1 -1
  146. package/es/vef-not-found/not-found-icon.js +1 -1
  147. package/es/vef-page/index.js +1 -1
  148. package/es/vef-pagination/index.js +1 -1
  149. package/es/vef-pagination/props.js +1 -1
  150. package/es/vef-paragraph/index.js +1 -1
  151. package/es/vef-password/hooks/use-password-instance.js +1 -1
  152. package/es/vef-password/index.js +1 -1
  153. package/es/vef-popconfirm/index.js +1 -1
  154. package/es/vef-popover/index.js +1 -1
  155. package/es/vef-radio/hooks/use-data-options.js +1 -1
  156. package/es/vef-radio/hooks/use-radio-instance.js +1 -1
  157. package/es/vef-radio/index.js +1 -1
  158. package/es/vef-rate/hooks/use-rate-instance.js +1 -1
  159. package/es/vef-rate/index.js +1 -1
  160. package/es/vef-responsive-container/index.js +1 -1
  161. package/es/vef-responsive-item/index.js +1 -1
  162. package/es/vef-ribbon/index.js +1 -1
  163. package/es/vef-row/index.js +1 -1
  164. package/es/vef-scroll-area/components/scrollbar.js +1 -1
  165. package/es/vef-scroll-area/index.js +1 -1
  166. package/es/vef-select/components/option.js +1 -1
  167. package/es/vef-select/hooks/use-data-options.js +1 -1
  168. package/es/vef-select/hooks/use-field-names.js +1 -1
  169. package/es/vef-select/hooks/use-render-label.js +1 -1
  170. package/es/vef-select/hooks/use-render-option.js +1 -1
  171. package/es/vef-select/hooks/use-select-instance.js +1 -1
  172. package/es/vef-select/index.js +1 -1
  173. package/es/vef-slider/hooks/use-slider-instance.js +1 -1
  174. package/es/vef-slider/index.js +1 -1
  175. package/es/vef-sortable-list/components/overlay-item.js +1 -1
  176. package/es/vef-sortable-list/components/sortable-item.js +1 -1
  177. package/es/vef-sortable-list/hooks/use-merged-items.js +1 -1
  178. package/es/vef-sortable-list/index.js +1 -1
  179. package/es/vef-space/index.js +1 -1
  180. package/es/vef-spin/index.js +1 -1
  181. package/es/vef-splitter/index.js +1 -1
  182. package/es/vef-splitter-panel/index.js +1 -1
  183. package/es/vef-status/index.js +1 -1
  184. package/es/vef-table/components/columns/bool.js +1 -1
  185. package/es/vef-table/components/columns/code.js +1 -1
  186. package/es/vef-table/components/columns/data-dictionary.js +1 -1
  187. package/es/vef-table/components/columns/enum.js +1 -1
  188. package/es/vef-table/components/columns/file.js +1 -1
  189. package/es/vef-table/components/columns/icon.js +1 -1
  190. package/es/vef-table/components/columns/id.js +1 -1
  191. package/es/vef-table/components/columns/image.js +1 -1
  192. package/es/vef-table/components/columns/index.js +1 -1
  193. package/es/vef-table/components/columns/markdown.js +1 -1
  194. package/es/vef-table/components/columns/number.js +1 -1
  195. package/es/vef-table/components/columns/render.js +1 -1
  196. package/es/vef-table/components/columns/rich-text.js +1 -1
  197. package/es/vef-table/components/columns/text.js +1 -1
  198. package/es/vef-table/components/columns-settings.js +1 -1
  199. package/es/vef-table/components/operation-buttons.js +1 -1
  200. package/es/vef-table/components/settings-icon.js +1 -1
  201. package/es/vef-table/components/table-footer.js +1 -1
  202. package/es/vef-table/helper.js +1 -1
  203. package/es/vef-table/hooks/use-computed-batch-buttons.js +1 -1
  204. package/es/vef-table/hooks/use-computed-columns.js +1 -1
  205. package/es/vef-table/hooks/use-computed-values.js +1 -1
  206. package/es/vef-table/hooks/use-data.js +1 -1
  207. package/es/vef-table/hooks/use-default-column-configs.js +1 -1
  208. package/es/vef-table/hooks/use-display-value.js +1 -1
  209. package/es/vef-table/hooks/use-helper-columns.js +1 -1
  210. package/es/vef-table/hooks/use-operation-column-width.js +1 -1
  211. package/es/vef-table/hooks/use-pagination-props.js +1 -1
  212. package/es/vef-table/hooks/use-row-props.js +1 -1
  213. package/es/vef-table/hooks/use-row-selection-config.js +1 -1
  214. package/es/vef-table/hooks/use-selected-rows.js +1 -1
  215. package/es/vef-table/hooks/use-table-columns.js +1 -1
  216. package/es/vef-table/hooks/use-table-context.js +1 -1
  217. package/es/vef-table/hooks/use-table-instance.js +1 -1
  218. package/es/vef-table/hooks/use-table-summary.js +1 -1
  219. package/es/vef-table/hooks/use-table-width.js +1 -1
  220. package/es/vef-table/index.js +1 -1
  221. package/es/vef-table/store.js +1 -1
  222. package/es/vef-tabs/index.js +1 -1
  223. package/es/vef-tag/index.js +1 -1
  224. package/es/vef-temporal-picker/helper.js +1 -1
  225. package/es/vef-temporal-picker/hooks/use-dayjs-value.js +1 -1
  226. package/es/vef-temporal-picker/hooks/use-temporal-limit.js +1 -1
  227. package/es/vef-temporal-picker/hooks/use-temporal-picker-instance.js +1 -1
  228. package/es/vef-temporal-picker/index.js +1 -1
  229. package/es/vef-temporal-range-picker/helper.js +1 -1
  230. package/es/vef-temporal-range-picker/hooks/use-dayjs-values.js +1 -1
  231. package/es/vef-temporal-range-picker/hooks/use-temporal-limit.js +1 -1
  232. package/es/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.js +1 -1
  233. package/es/vef-temporal-range-picker/index.js +1 -1
  234. package/es/vef-temporal-range-picker/props.js +1 -1
  235. package/es/vef-text/index.js +1 -1
  236. package/es/vef-textarea/hooks/use-textarea-instance.js +1 -1
  237. package/es/vef-textarea/index.js +1 -1
  238. package/es/vef-title/index.js +1 -1
  239. package/es/vef-tooltip/index.js +1 -1
  240. package/es/vef-tree-select/hooks/use-change-handler.js +1 -1
  241. package/es/vef-tree-select/hooks/use-data-options.js +1 -1
  242. package/es/vef-tree-select/hooks/use-tree-select-instance.js +1 -1
  243. package/es/vef-tree-select/index.js +1 -1
  244. package/es/vef-virtual-grid/index.js +1 -1
  245. package/es/vef-virtual-list/index.js +1 -1
  246. package/lib/index.cjs +1 -1
  247. package/lib/internal/index.cjs +1 -1
  248. package/lib/internal/modern-normalize.css.cjs +1 -1
  249. package/lib/internal/utils.cjs +1 -1
  250. package/lib/vef-access-denied/access-denied-icon.cjs +1 -1
  251. package/lib/vef-access-denied/index.cjs +1 -1
  252. package/lib/vef-access-denied/props.cjs +1 -1
  253. package/lib/vef-action-buttons/index.cjs +2 -2
  254. package/lib/vef-action-buttons/props.cjs +1 -1
  255. package/lib/vef-auto-sizer/index.cjs +1 -1
  256. package/lib/vef-auto-sizer/props.cjs +1 -1
  257. package/lib/vef-avatar/index.cjs +1 -1
  258. package/lib/vef-avatar/props.cjs +1 -1
  259. package/lib/vef-avatar-group/index.cjs +1 -1
  260. package/lib/vef-avatar-group/props.cjs +1 -1
  261. package/lib/vef-badge/index.cjs +1 -1
  262. package/lib/vef-badge/props.cjs +1 -1
  263. package/lib/vef-bool/hooks/use-bool-instance.cjs +1 -1
  264. package/lib/vef-bool/index.cjs +1 -1
  265. package/lib/vef-bool/props.cjs +1 -1
  266. package/lib/vef-breadcrumb/index.cjs +1 -1
  267. package/lib/vef-breadcrumb/props.cjs +1 -1
  268. package/lib/vef-button/components/base-button.cjs +1 -1
  269. package/lib/vef-button/index.cjs +1 -1
  270. package/lib/vef-button/props.cjs +1 -1
  271. package/lib/vef-card/index.cjs +1 -1
  272. package/lib/vef-card/props.cjs +1 -1
  273. package/lib/vef-card-meta/index.cjs +1 -1
  274. package/lib/vef-card-meta/props.cjs +1 -1
  275. package/lib/vef-checkbox/hooks/use-checkbox-instance.cjs +1 -1
  276. package/lib/vef-checkbox/hooks/use-data-options.cjs +1 -1
  277. package/lib/vef-checkbox/index.cjs +1 -1
  278. package/lib/vef-checkbox/props.cjs +1 -1
  279. package/lib/vef-col/index.cjs +1 -1
  280. package/lib/vef-col/props.cjs +1 -1
  281. package/lib/vef-color-picker/index.cjs +1 -1
  282. package/lib/vef-color-picker/props.cjs +1 -1
  283. package/lib/vef-compact/index.cjs +1 -1
  284. package/lib/vef-compact/props.cjs +1 -1
  285. package/lib/vef-config-provider/global-style.cjs +1 -1
  286. package/lib/vef-config-provider/hooks/use-ui-config.cjs +1 -1
  287. package/lib/vef-config-provider/index.cjs +1 -1
  288. package/lib/vef-config-provider/props.cjs +1 -1
  289. package/lib/vef-config-provider/store.cjs +1 -1
  290. package/lib/vef-container/index.cjs +1 -1
  291. package/lib/vef-container/props.cjs +1 -1
  292. package/lib/vef-crud-page/components/crud-actions.cjs +1 -1
  293. package/lib/vef-crud-page/components/crud-filter.cjs +1 -1
  294. package/lib/vef-crud-page/components/crud-footer.cjs +1 -1
  295. package/lib/vef-crud-page/components/crud-form-modal.cjs +1 -1
  296. package/lib/vef-crud-page/components/crud-header.cjs +1 -1
  297. package/lib/vef-crud-page/components/crud-table.cjs +1 -1
  298. package/lib/vef-crud-page/hooks/use-action-buttons.cjs +1 -1
  299. package/lib/vef-crud-page/hooks/use-crud-context.cjs +1 -1
  300. package/lib/vef-crud-page/hooks/use-crud-schema.cjs +1 -1
  301. package/lib/vef-crud-page/hooks/use-operation-buttons.cjs +1 -1
  302. package/lib/vef-crud-page/index.cjs +1 -1
  303. package/lib/vef-crud-page/props.cjs +1 -1
  304. package/lib/vef-crud-page/store.cjs +1 -1
  305. package/lib/vef-crud-page/types.cjs +1 -1
  306. package/lib/vef-divider/index.cjs +1 -1
  307. package/lib/vef-divider/props.cjs +1 -1
  308. package/lib/vef-drawer/components/action-button-wrapper.cjs +1 -1
  309. package/lib/vef-drawer/components/button-props.cjs +1 -1
  310. package/lib/vef-drawer/components/cancel-action-button.cjs +1 -1
  311. package/lib/vef-drawer/components/ok-action-button.cjs +1 -1
  312. package/lib/vef-drawer/context.cjs +1 -1
  313. package/lib/vef-drawer/index.cjs +1 -1
  314. package/lib/vef-drawer/props.cjs +1 -1
  315. package/lib/vef-dropdown/index.cjs +1 -1
  316. package/lib/vef-dropdown/props.cjs +1 -1
  317. package/lib/vef-dynamic-icon/index.cjs +1 -1
  318. package/lib/vef-dynamic-icon/props.cjs +1 -1
  319. package/lib/vef-empty/index.cjs +1 -1
  320. package/lib/vef-empty/props.cjs +1 -1
  321. package/lib/vef-empty-placeholder/index.cjs +1 -1
  322. package/lib/vef-empty-placeholder/props.cjs +1 -1
  323. package/lib/vef-error/error-icon.cjs +1 -1
  324. package/lib/vef-error/index.cjs +1 -1
  325. package/lib/vef-error/props.cjs +1 -1
  326. package/lib/vef-filter/components/action-buttons.cjs +1 -1
  327. package/lib/vef-filter/components/advanced-filter.cjs +1 -1
  328. package/lib/vef-filter/components/basic-filter.cjs +1 -1
  329. package/lib/vef-filter/components/fields/index.cjs +1 -1
  330. package/lib/vef-filter/components/fields/input-number.cjs +1 -1
  331. package/lib/vef-filter/components/fields/input.cjs +1 -1
  332. package/lib/vef-filter/components/fields/props.cjs +1 -1
  333. package/lib/vef-filter/components/filter-field.cjs +1 -1
  334. package/lib/vef-filter/components/filter-item.cjs +1 -1
  335. package/lib/vef-filter/event.cjs +1 -1
  336. package/lib/vef-filter/helper.cjs +1 -1
  337. package/lib/vef-filter/hooks/use-action-handlers.cjs +1 -1
  338. package/lib/vef-filter/hooks/use-computed-values.cjs +1 -1
  339. package/lib/vef-filter/hooks/use-filter-context.cjs +1 -1
  340. package/lib/vef-filter/hooks/use-filter-initialization.cjs +1 -1
  341. package/lib/vef-filter/hooks/use-filter-instance.cjs +1 -1
  342. package/lib/vef-filter/hooks/use-filter-items.cjs +1 -1
  343. package/lib/vef-filter/hooks/use-filter-values-change.cjs +1 -1
  344. package/lib/vef-filter/hooks/use-label-config.cjs +1 -1
  345. package/lib/vef-filter/index.cjs +1 -1
  346. package/lib/vef-filter/props.cjs +1 -1
  347. package/lib/vef-filter/store.cjs +1 -1
  348. package/lib/vef-filter/types.cjs +1 -1
  349. package/lib/vef-flex/index.cjs +1 -1
  350. package/lib/vef-flex/props.cjs +1 -1
  351. package/lib/vef-float-button/index.cjs +1 -1
  352. package/lib/vef-float-button/props.cjs +1 -1
  353. package/lib/vef-float-button-group/index.cjs +1 -1
  354. package/lib/vef-float-button-group/props.cjs +1 -1
  355. package/lib/vef-form/components/fields/index.cjs +1 -1
  356. package/lib/vef-form/components/fields/input-number.cjs +1 -1
  357. package/lib/vef-form/components/fields/input.cjs +1 -1
  358. package/lib/vef-form/components/fields/props.cjs +1 -1
  359. package/lib/vef-form/components/form-actions.cjs +1 -1
  360. package/lib/vef-form/components/form-content.cjs +1 -1
  361. package/lib/vef-form/components/form-field.cjs +1 -1
  362. package/lib/vef-form/components/form-group.cjs +1 -1
  363. package/lib/vef-form/components/form-hidden-item.cjs +1 -1
  364. package/lib/vef-form/components/form-item.cjs +1 -1
  365. package/lib/vef-form/components/form-row.cjs +1 -1
  366. package/lib/vef-form/event.cjs +1 -1
  367. package/lib/vef-form/helper.cjs +1 -1
  368. package/lib/vef-form/hooks/use-action-handlers.cjs +1 -1
  369. package/lib/vef-form/hooks/use-columns-layout.cjs +1 -1
  370. package/lib/vef-form/hooks/use-computed-values.cjs +1 -1
  371. package/lib/vef-form/hooks/use-form-context.cjs +1 -1
  372. package/lib/vef-form/hooks/use-form-initialization.cjs +1 -1
  373. package/lib/vef-form/hooks/use-form-instance.cjs +1 -1
  374. package/lib/vef-form/hooks/use-form-values-change.cjs +1 -1
  375. package/lib/vef-form/hooks/use-label-width.cjs +1 -1
  376. package/lib/vef-form/index.cjs +1 -1
  377. package/lib/vef-form/props.cjs +1 -1
  378. package/lib/vef-form/store.cjs +1 -1
  379. package/lib/vef-form/types.cjs +1 -1
  380. package/lib/vef-form/validation-rules.cjs +1 -1
  381. package/lib/vef-form-drawer/index.cjs +1 -1
  382. package/lib/vef-form-drawer/props.cjs +1 -1
  383. package/lib/vef-form-modal/index.cjs +1 -1
  384. package/lib/vef-form-modal/props.cjs +1 -1
  385. package/lib/vef-generic-select/index.cjs +1 -1
  386. package/lib/vef-generic-select/props.cjs +1 -1
  387. package/lib/vef-grid/index.cjs +1 -1
  388. package/lib/vef-grid/props.cjs +1 -1
  389. package/lib/vef-grid-item/index.cjs +1 -1
  390. package/lib/vef-grid-item/props.cjs +1 -1
  391. package/lib/vef-icon/index.cjs +1 -1
  392. package/lib/vef-icon/props.cjs +1 -1
  393. package/lib/vef-icon-select/index.cjs +1 -1
  394. package/lib/vef-icon-select/props.cjs +1 -1
  395. package/lib/vef-input/hooks/use-input-instance.cjs +1 -1
  396. package/lib/vef-input/index.cjs +1 -1
  397. package/lib/vef-input/props.cjs +1 -1
  398. package/lib/vef-input-number/hooks/use-input-number-instance.cjs +1 -1
  399. package/lib/vef-input-number/index.cjs +1 -1
  400. package/lib/vef-input-number/props.cjs +1 -1
  401. package/lib/vef-layout/common-styles.cjs +1 -1
  402. package/lib/vef-layout/components/content.cjs +1 -1
  403. package/lib/vef-layout/components/font-size.cjs +1 -1
  404. package/lib/vef-layout/components/fullscreen.cjs +1 -1
  405. package/lib/vef-layout/components/header-action-icons.cjs +1 -1
  406. package/lib/vef-layout/components/header-content.cjs +1 -1
  407. package/lib/vef-layout/components/header.cjs +1 -1
  408. package/lib/vef-layout/components/icon-boy.cjs +1 -1
  409. package/lib/vef-layout/components/icon-girl.cjs +1 -1
  410. package/lib/vef-layout/components/icon-menu-fold-left.cjs +1 -1
  411. package/lib/vef-layout/components/icon-menu-unfold-left.cjs +1 -1
  412. package/lib/vef-layout/components/menu-groups.cjs +1 -1
  413. package/lib/vef-layout/components/message.cjs +1 -1
  414. package/lib/vef-layout/components/search.cjs +1 -1
  415. package/lib/vef-layout/components/sider.cjs +1 -1
  416. package/lib/vef-layout/components/title.cjs +1 -1
  417. package/lib/vef-layout/components/user-avatar.cjs +1 -1
  418. package/lib/vef-layout/hooks/use-layout-context.cjs +1 -1
  419. package/lib/vef-layout/index.cjs +1 -1
  420. package/lib/vef-layout/logo.svg.cjs +1 -1
  421. package/lib/vef-layout/props.cjs +1 -1
  422. package/lib/vef-layout/store.cjs +1 -1
  423. package/lib/vef-loading-placeholder/index.cjs +1 -1
  424. package/lib/vef-loading-placeholder/props.cjs +1 -1
  425. package/lib/vef-login/index.cjs +1 -1
  426. package/lib/vef-login/login-icon.cjs +1 -1
  427. package/lib/vef-login/props.cjs +1 -1
  428. package/lib/vef-menu/index.cjs +1 -1
  429. package/lib/vef-menu/props.cjs +1 -1
  430. package/lib/vef-modal/components/action-button-wrapper.cjs +1 -1
  431. package/lib/vef-modal/components/button-props.cjs +1 -1
  432. package/lib/vef-modal/components/cancel-action-button.cjs +1 -1
  433. package/lib/vef-modal/components/ok-action-button.cjs +1 -1
  434. package/lib/vef-modal/context.cjs +1 -1
  435. package/lib/vef-modal/index.cjs +1 -1
  436. package/lib/vef-modal/props.cjs +1 -1
  437. package/lib/vef-not-found/index.cjs +1 -1
  438. package/lib/vef-not-found/not-found-icon.cjs +1 -1
  439. package/lib/vef-not-found/props.cjs +1 -1
  440. package/lib/vef-page/index.cjs +1 -1
  441. package/lib/vef-page/props.cjs +1 -1
  442. package/lib/vef-pagination/index.cjs +1 -1
  443. package/lib/vef-pagination/props.cjs +1 -1
  444. package/lib/vef-paragraph/index.cjs +1 -1
  445. package/lib/vef-paragraph/props.cjs +1 -1
  446. package/lib/vef-password/hooks/use-password-instance.cjs +1 -1
  447. package/lib/vef-password/index.cjs +1 -1
  448. package/lib/vef-password/props.cjs +1 -1
  449. package/lib/vef-popconfirm/index.cjs +1 -1
  450. package/lib/vef-popconfirm/props.cjs +1 -1
  451. package/lib/vef-popover/index.cjs +1 -1
  452. package/lib/vef-popover/props.cjs +1 -1
  453. package/lib/vef-radio/hooks/use-data-options.cjs +1 -1
  454. package/lib/vef-radio/hooks/use-radio-instance.cjs +1 -1
  455. package/lib/vef-radio/index.cjs +1 -1
  456. package/lib/vef-radio/props.cjs +1 -1
  457. package/lib/vef-rate/hooks/use-rate-instance.cjs +1 -1
  458. package/lib/vef-rate/index.cjs +1 -1
  459. package/lib/vef-rate/props.cjs +1 -1
  460. package/lib/vef-responsive-container/index.cjs +1 -1
  461. package/lib/vef-responsive-container/props.cjs +1 -1
  462. package/lib/vef-responsive-item/index.cjs +1 -1
  463. package/lib/vef-responsive-item/props.cjs +1 -1
  464. package/lib/vef-ribbon/index.cjs +1 -1
  465. package/lib/vef-ribbon/props.cjs +1 -1
  466. package/lib/vef-row/index.cjs +1 -1
  467. package/lib/vef-row/props.cjs +1 -1
  468. package/lib/vef-scroll-area/components/scrollbar.cjs +1 -1
  469. package/lib/vef-scroll-area/index.cjs +1 -1
  470. package/lib/vef-scroll-area/props.cjs +1 -1
  471. package/lib/vef-select/components/option.cjs +1 -1
  472. package/lib/vef-select/hooks/use-data-options.cjs +1 -1
  473. package/lib/vef-select/hooks/use-field-names.cjs +1 -1
  474. package/lib/vef-select/hooks/use-render-label.cjs +1 -1
  475. package/lib/vef-select/hooks/use-render-option.cjs +1 -1
  476. package/lib/vef-select/hooks/use-select-instance.cjs +1 -1
  477. package/lib/vef-select/index.cjs +1 -1
  478. package/lib/vef-select/props.cjs +1 -1
  479. package/lib/vef-slider/hooks/use-slider-instance.cjs +1 -1
  480. package/lib/vef-slider/index.cjs +1 -1
  481. package/lib/vef-slider/props.cjs +1 -1
  482. package/lib/vef-sortable-list/components/overlay-item.cjs +1 -1
  483. package/lib/vef-sortable-list/components/sortable-item.cjs +1 -1
  484. package/lib/vef-sortable-list/hooks/use-merged-items.cjs +1 -1
  485. package/lib/vef-sortable-list/index.cjs +1 -1
  486. package/lib/vef-sortable-list/props.cjs +1 -1
  487. package/lib/vef-space/index.cjs +1 -1
  488. package/lib/vef-space/props.cjs +1 -1
  489. package/lib/vef-spin/index.cjs +1 -1
  490. package/lib/vef-spin/props.cjs +1 -1
  491. package/lib/vef-splitter/index.cjs +1 -1
  492. package/lib/vef-splitter/props.cjs +1 -1
  493. package/lib/vef-splitter-panel/index.cjs +1 -1
  494. package/lib/vef-splitter-panel/props.cjs +1 -1
  495. package/lib/vef-status/index.cjs +1 -1
  496. package/lib/vef-status/props.cjs +1 -1
  497. package/lib/vef-table/components/columns/bool.cjs +1 -1
  498. package/lib/vef-table/components/columns/code.cjs +1 -1
  499. package/lib/vef-table/components/columns/data-dictionary.cjs +1 -1
  500. package/lib/vef-table/components/columns/enum.cjs +1 -1
  501. package/lib/vef-table/components/columns/file.cjs +1 -1
  502. package/lib/vef-table/components/columns/icon.cjs +1 -1
  503. package/lib/vef-table/components/columns/id.cjs +1 -1
  504. package/lib/vef-table/components/columns/image.cjs +1 -1
  505. package/lib/vef-table/components/columns/index.cjs +1 -1
  506. package/lib/vef-table/components/columns/markdown.cjs +1 -1
  507. package/lib/vef-table/components/columns/number.cjs +1 -1
  508. package/lib/vef-table/components/columns/props.cjs +1 -1
  509. package/lib/vef-table/components/columns/render.cjs +1 -1
  510. package/lib/vef-table/components/columns/rich-text.cjs +1 -1
  511. package/lib/vef-table/components/columns/text.cjs +1 -1
  512. package/lib/vef-table/components/columns-settings.cjs +1 -1
  513. package/lib/vef-table/components/operation-buttons.cjs +1 -1
  514. package/lib/vef-table/components/settings-icon.cjs +1 -1
  515. package/lib/vef-table/components/table-footer.cjs +1 -1
  516. package/lib/vef-table/helper.cjs +1 -1
  517. package/lib/vef-table/hooks/use-computed-batch-buttons.cjs +1 -1
  518. package/lib/vef-table/hooks/use-computed-columns.cjs +1 -1
  519. package/lib/vef-table/hooks/use-computed-values.cjs +1 -1
  520. package/lib/vef-table/hooks/use-data.cjs +1 -1
  521. package/lib/vef-table/hooks/use-default-column-configs.cjs +1 -1
  522. package/lib/vef-table/hooks/use-display-value.cjs +1 -1
  523. package/lib/vef-table/hooks/use-helper-columns.cjs +1 -1
  524. package/lib/vef-table/hooks/use-operation-column-width.cjs +1 -1
  525. package/lib/vef-table/hooks/use-pagination-props.cjs +1 -1
  526. package/lib/vef-table/hooks/use-row-props.cjs +1 -1
  527. package/lib/vef-table/hooks/use-row-selection-config.cjs +1 -1
  528. package/lib/vef-table/hooks/use-selected-rows.cjs +1 -1
  529. package/lib/vef-table/hooks/use-table-columns.cjs +1 -1
  530. package/lib/vef-table/hooks/use-table-context.cjs +1 -1
  531. package/lib/vef-table/hooks/use-table-instance.cjs +1 -1
  532. package/lib/vef-table/hooks/use-table-summary.cjs +1 -1
  533. package/lib/vef-table/hooks/use-table-width.cjs +1 -1
  534. package/lib/vef-table/index.cjs +1 -1
  535. package/lib/vef-table/props.cjs +1 -1
  536. package/lib/vef-table/store.cjs +1 -1
  537. package/lib/vef-table/types.cjs +1 -1
  538. package/lib/vef-tabs/index.cjs +1 -1
  539. package/lib/vef-tabs/props.cjs +1 -1
  540. package/lib/vef-tag/index.cjs +1 -1
  541. package/lib/vef-tag/props.cjs +1 -1
  542. package/lib/vef-temporal-picker/helper.cjs +1 -1
  543. package/lib/vef-temporal-picker/hooks/use-dayjs-value.cjs +1 -1
  544. package/lib/vef-temporal-picker/hooks/use-temporal-limit.cjs +1 -1
  545. package/lib/vef-temporal-picker/hooks/use-temporal-picker-instance.cjs +1 -1
  546. package/lib/vef-temporal-picker/index.cjs +1 -1
  547. package/lib/vef-temporal-picker/props.cjs +1 -1
  548. package/lib/vef-temporal-range-picker/helper.cjs +1 -1
  549. package/lib/vef-temporal-range-picker/hooks/use-dayjs-values.cjs +1 -1
  550. package/lib/vef-temporal-range-picker/hooks/use-temporal-limit.cjs +1 -1
  551. package/lib/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.cjs +1 -1
  552. package/lib/vef-temporal-range-picker/index.cjs +1 -1
  553. package/lib/vef-temporal-range-picker/props.cjs +1 -1
  554. package/lib/vef-text/index.cjs +1 -1
  555. package/lib/vef-text/props.cjs +1 -1
  556. package/lib/vef-textarea/hooks/use-textarea-instance.cjs +1 -1
  557. package/lib/vef-textarea/index.cjs +1 -1
  558. package/lib/vef-textarea/props.cjs +1 -1
  559. package/lib/vef-title/index.cjs +1 -1
  560. package/lib/vef-title/props.cjs +1 -1
  561. package/lib/vef-tooltip/index.cjs +1 -1
  562. package/lib/vef-tooltip/props.cjs +1 -1
  563. package/lib/vef-tree-select/hooks/use-change-handler.cjs +1 -1
  564. package/lib/vef-tree-select/hooks/use-data-options.cjs +1 -1
  565. package/lib/vef-tree-select/hooks/use-tree-select-instance.cjs +1 -1
  566. package/lib/vef-tree-select/index.cjs +1 -1
  567. package/lib/vef-tree-select/props.cjs +1 -1
  568. package/lib/vef-virtual-grid/index.cjs +1 -1
  569. package/lib/vef-virtual-grid/props.cjs +1 -1
  570. package/lib/vef-virtual-list/index.cjs +1 -1
  571. package/lib/vef-virtual-list/props.cjs +1 -1
  572. package/package.json +4 -4
  573. package/types/vef-avatar-group/props.d.ts +1 -1
@@ -1,4 +1,4 @@
1
- /*! VefFramework version: 1.0.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsxs as r,jsx as e}from"@emotion/react/jsx-runtime";import{css as o}from"@emotion/react";import{Root as t,Viewport as l,Corner as i}from"@radix-ui/react-scroll-area";import{isNumber as a}from"@vef-framework/shared";import{forwardRef as s,useMemo as c}from"react";import h from"./components/scrollbar.js";const m=o`
3
3
  position: relative;
4
4
  overflow: hidden;
@@ -1,4 +1,4 @@
1
- /*! VefFramework version: 1.0.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsxs as e,jsx as i}from"@emotion/react/jsx-runtime";import{css as r}from"@emotion/react";import{themeVariables as o}from"@vef-framework/shared";import{memo as t}from"react";import l from"../../vef-text/index.js";const s=r`
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{useComputedOptions as o}from"@vef-framework/hooks";import{isArray as e,isFunction as a,isNullish as i}from"@vef-framework/shared";import{useLayoutEffect as n}from"react";function r({value:r,grouped:t=!1,multiple:l=!1,onChange:s,...p}){const{onFilterKeywordChange:d,normalizedOptions:f,defaultOption:m,isLoading:u,fallbackOptions:c,isFallbackOptionsLoading:g}=o({...p,isGrouped:t,selectedOptionValues:e(r)?r:r?[r]:[]});return n((()=>{m&&a(s)&&i(r)&&s(l?[m.value]:m.value,l?[m]:m)}),[m,l,s,r]),{onFilterKeywordChange:d,normalizedOptions:f,isLoading:u,fallbackOptions:c,isFallbackOptionsLoading:g}}export{r as useDataOptions};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{useMemo as l}from"react";function e(e){return l((()=>e?{label:"label",value:"value",options:"children",groupLabel:"label"}:{label:"label",value:"value"}),[e])}export{e as useFieldNames};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as i}from"@emotion/react/jsx-runtime";import{LoadingOutlined as r}from"@ant-design/icons";import{css as e}from"@emotion/react";import{useCallback as n}from"react";import t from"../../vef-spin/index.js";const o=e`
3
3
  display: inline-flex;
4
4
  align-items: center;
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as o}from"@emotion/react/jsx-runtime";import{isFunction as r}from"@vef-framework/shared";import{useMemo as e}from"react";import t from"../components/option.js";function i(i){return e((()=>r(i)?({data:o},{index:r})=>i({...o,index:r}):({data:{label:r,description:e}})=>o(t,{description:e,label:r??"Missing Label"})),[i])}export{i as useRenderOption};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{useRef as r,useImperativeHandle as t}from"react";function n(n,o){const u=r(null);return t(n,(()=>({blur:()=>{u.current?.blur()},focus:()=>{u.current?.focus({preventScroll:!0})},getDataOptions:()=>o}))),u}export{n as useSelectInstance};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as e}from"@emotion/react/jsx-runtime";import{useOptionFilter as o}from"@vef-framework/hooks";import{styles as r}from"@vef-framework/shared";import{Select as t}from"antd";import{memo as i,forwardRef as n}from"react";import"../internal/index.js";import l from"../vef-loading-placeholder/index.js";import{useDataOptions as a}from"./hooks/use-data-options.js";import{useFieldNames as s}from"./hooks/use-field-names.js";import{useRenderLabel as m}from"./hooks/use-render-label.js";import{useRenderOption as d}from"./hooks/use-render-option.js";import{useSelectInstance as p}from"./hooks/use-select-instance.js";import{convertBasicSizeToUiSize as f}from"../internal/utils.js";const u=e("div",{css:{height:140},children:e(l,{})});const c=i(n((function({defaultValue:i,value:n,size:l,clearable:c,disabled:h,placeholder:v,variant:g,onClear:C,onBlur:k,onFocus:b,onChange:j,onSelect:F,onDeselect:x,multiple:O=!1,grouped:w=!1,maxCount:S,renderOption:R,filterable:z=!0,filterFromRemote:V=!1,...y},B){const{onFilterKeywordChange:D,normalizedOptions:L,isLoading:N,fallbackOptions:A,isFallbackOptionsLoading:H}=a({value:n,grouped:w,multiple:O,onChange:j,filterable:z,filterFromRemote:V,...y}),K=d(R),T=o(z,V),W=s(w),q=m(H,A),E=p(B,L);return e(t,{ref:E,defaultActiveFirstOption:!0,allowClear:c,css:r.fullWidth,defaultValue:i,disabled:h,fieldNames:W,filterOption:T,labelRender:q,listHeight:280,loading:N,maxCount:O?S:void 0,maxTagCount:O?"responsive":void 0,mode:O?"multiple":void 0,notFoundContent:N?u:void 0,optionRender:K,options:L,placeholder:v,showSearch:z,size:f(l),value:n,variant:g,onBlur:k,onChange:j,onClear:C,onDeselect:x,onFocus:b,onSearch:D,onSelect:F})})));c.displayName="VefSelect";export{c as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{useRef as r,useImperativeHandle as u}from"react";function t(t){const c=r(null);return u(t,(()=>({blur:()=>c.current?.blur(),focus:()=>c.current?.focus()}))),c}export{t as useSliderInstance};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as t}from"@emotion/react/jsx-runtime";import{Slider as r}from"antd";import{forwardRef as e,useMemo as o}from"react";import{useSliderInstance as m}from"./hooks/use-slider-instance.js";const n=e((({step:e,tipFormatter:n,onChange:a,...i},s)=>{const p=o((()=>{if(n)return{formatter:t=>n(t)}}),[n]),f=m(s);return t(r,{ref:f,step:"mark"===e?null:e,tooltip:p,onChange:a,...i})}));n.displayName="VefSlider";export{n as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as e,jsxs as n,Fragment as o}from"@emotion/react/jsx-runtime";import{HolderOutlined as t}from"@ant-design/icons";import{css as r}from"@emotion/react";const s=e(t,{}),a=r`
3
3
  cursor: move;
4
4
  user-select: none;
@@ -1,4 +1,4 @@
1
- /*! VefFramework version: 1.0.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as e,jsxs as t}from"@emotion/react/jsx-runtime";import{HolderOutlined as i}from"@ant-design/icons";import{useSortable as r}from"@dnd-kit/sortable";import{CSS as n}from"@dnd-kit/utilities";import{css as s}from"@emotion/react";const o=e(i,{}),a=s`
3
3
  cursor: move;
4
4
  user-select: none;
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{isNullish as r}from"@vef-framework/shared";import{useState as e,useCallback as o}from"react";function t(t,f,m){if(r(t)&&r(f))throw new Error("At least one of `defaultItems` and `items` must be provided for VefSortableList component.");const[n,a]=e(t??[]);return[f??n,o((r=>{f?m?.(r(f)):a(r)}),[f,m])]}export{t as useMergedItems};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as e,jsxs as t}from"@emotion/react/jsx-runtime";import{useSensors as r,useSensor as i,PointerSensor as o,DndContext as m,closestCenter as a,DragOverlay as s}from"@dnd-kit/core";import{restrictToParentElement as n,restrictToWindowEdges as d}from"@dnd-kit/modifiers";import{arrayMove as c,SortableContext as l,verticalListSortingStrategy as p,horizontalListSortingStrategy as f}from"@dnd-kit/sortable";import{isFunction as u}from"@vef-framework/shared";import{useMemo as y,useState as v,useCallback as h,memo as g}from"react";import x from"./components/overlay-item.js";import k from"./components/sortable-item.js";import{useMergedItems as N}from"./hooks/use-merged-items.js";const b=g((function({defaultItems:g,items:b,itemKey:j="id",className:S,style:D,orientation:w="vertical",useOverlay:C=!0,restrictStrategy:E="parent",onChange:I,...K}){const[L,O]=N(g,b,I),V=r(i(o)),q=y((()=>u(j)?j:e=>e[j]),[j]),[z,A]=v(),B=h((({active:e})=>{A(L[e.data.current.index])}),[L]),F=h((({active:e,over:t})=>{t&&e.id!==t.id&&O((r=>c(r,e.data.current.index,t.data.current.index)))}),[O]),G=L.map((e=>q(e))),{itemClassName:H,itemStyle:J,disabled:M,...P}=K;return e(m,{collisionDetection:a,sensors:V,modifiers:["parent"===E?n:d],onDragEnd:F,onDragStart:B,children:e(l,{items:G,strategy:"vertical"===w?p:f,children:t("div",{className:S,style:D,children:[L.map(((t,r)=>{const i=q(t);return e(k,{item:t,itemIndex:r,itemKey:i,...K},i)})),C&&e(s,{className:H,style:J,wrapperElement:"div",modifiers:["parent"===E?n:d],children:z&&e(x,{item:z,...P})})]})})})}));b.displayName="VefSortableList";export{b as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as r}from"@emotion/react/jsx-runtime";import{useGapSizeNormalizer as o}from"@vef-framework/hooks";import{isArray as m}from"@vef-framework/shared";import{Space as t}from"antd";import{useMemo as e}from"react";function f({gap:f,...a}){const i=o(),p=e((()=>m(f)?f.map((r=>i(r))):f?i(f):f),[f,i]);return r(t,{size:p,...a})}export{f as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as t}from"@emotion/react/jsx-runtime";import{Spin as e}from"antd";function r({size:r,...i}){return t(e,{size:"medium"===r?"default":r,...i})}export{r as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as t}from"@emotion/react/jsx-runtime";import{Splitter as o}from"antd";function e({orientation:e,onResizeBegin:n,...r}){return t(o,{layout:e,onResizeStart:n,...r})}export{e as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as t}from"@emotion/react/jsx-runtime";import{Splitter as o}from"antd";const{Panel:r}=o;function n({...o}){return t(r,{...o})}export{n as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as t}from"@emotion/react/jsx-runtime";import{useColorTokens as o}from"@vef-framework/hooks";import{Badge as r}from"antd";import{useMemo as e}from"react";function a({processing:a=!1,color:f="default",children:n}){const u=o(),i=e((()=>{if("default"===f)return{status:"default",text:n};if(u.has(f))return{status:a?"processing":"default",color:u.get(f),text:n};throw new Error(`Invalid color value "${f}" of VefStatus component. Color must be either "default" or a valid color token.`)}),[f,u,a,n]);return t(r,{...i})}export{a as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as e}from"@emotion/react/jsx-runtime";import{css as o}from"@emotion/react";import{VefError as t,isString as r,isNullish as a,isDeepEqual as l}from"@vef-framework/shared";import{useMemo as i,memo as m}from"react";import u from"../../../vef-text/index.js";import{useComputedValues as n}from"../../hooks/use-computed-values.js";const c=m((function({value:l,record:m,rowIndex:c,columnProps:f}){if("Boolean"!==f.type)throw new t(-1,"Column type must be Boolean");const{defaultValue:d,trueText:s="是",falseText:p="否",bold:w,italic:x,color:h,width:V}=f,[b,k,v]=n([{key:"bold",rawValue:w,defaultValue:!1},{key:"italic",rawValue:x,defaultValue:!1},{key:"color",rawValue:h}],l,m,c),y=i((()=>r(v)?v:v?!a(l)&&Object.hasOwn(v,l)?v[l]:v["*"]:void 0),[v,l]),j=i((()=>l?l?s:p:d),[l,s,p,d]),B=i((()=>{if(V)return o({maxWidth:`${V}px !important`})}),[V]);return e(u,{bold:b,color:y,css:B,italic:k,children:j})}),l);export{c as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as e}from"@emotion/react/jsx-runtime";function r({value:r}){return e("span",{children:r})}export{r as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as e}from"@emotion/react/jsx-runtime";import{css as o}from"@emotion/react";import{VefError as t,isString as r,isNullish as a}from"@vef-framework/shared";import{useMemo as i}from"react";import l from"../../../vef-text/index.js";import{useComputedValues as m}from"../../hooks/use-computed-values.js";const u="Name";function c({value:c,record:n,rowIndex:s,columnProps:d}){if("DataDictionary"!==d.type)throw new t(-1,"Column type must be DataDictionary");const{name:f,defaultValue:p,ellipsis:w,bold:h,italic:x,color:y,width:V}=d,[b,k,v]=m([{key:"bold",rawValue:h,defaultValue:!1},{key:"italic",rawValue:x,defaultValue:!1},{key:"color",rawValue:y}],c,n,s),$=i((()=>r(v)?v:v?!a(c)&&Object.hasOwn(v,c)?v[c]:v["*"]:void 0),[v,c]),j=i((()=>a(c)||a(n[`${f}${u}`])?p:n[`${f}${u}`]),[c,n,f,p]),D=i((()=>{if(V)return o({maxWidth:`${V}px !important`})}),[V]);return e(l,{bold:b,color:$,css:D,ellipsis:w,italic:k,children:j})}export{c as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as e}from"@emotion/react/jsx-runtime";import{css as o}from"@emotion/react";import{VefError as r,isString as t,isNullish as i}from"@vef-framework/shared";import{useMemo as l}from"react";import a from"../../../vef-tag/index.js";import m from"../../../vef-text/index.js";import{useComputedValues as n}from"../../hooks/use-computed-values.js";const c="Name",s=o({color:"inherit",fontSize:"inherit"});function u({value:u,record:d,rowIndex:f,columnProps:p}){if("Enum"!==p.type)throw new r(-1,"Column type must be Enum");const{name:h,defaultValue:w,showAsTag:x=!0,bold:b,italic:v,ellipsis:V,color:j,width:k}=p,[y,$,g]=n([{key:"bold",rawValue:b,defaultValue:!1},{key:"italic",rawValue:v,defaultValue:!1},{key:"color",rawValue:j}],u,d,f),E=l((()=>t(g)?g:g?!i(u)&&Object.hasOwn(g,u)?g[u]:g["*"]:void 0),[g,u]),O=l((()=>i(u)||i(d[`${h}${c}`])?w:d[`${h}${c}`]),[u,d,h,w]),z=l((()=>{if(k)return o({maxWidth:`${k}px !important`})}),[k]);return x?e(a,{color:E,children:e(m,{bold:y,css:s,italic:$,children:O})}):e(m,{bold:y,color:E,css:z,ellipsis:V,italic:$,children:O})}export{u as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as e}from"@emotion/react/jsx-runtime";function r({value:r}){return e("span",{children:r})}export{r as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as e}from"@emotion/react/jsx-runtime";function r({value:r}){return e("span",{children:r})}export{r as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as e}from"@emotion/react/jsx-runtime";import{css as o}from"@emotion/react";import{VefError as r,isNullish as t}from"@vef-framework/shared";import{useMemo as a}from"react";import l from"../../../vef-text/index.js";import{useComputedValues as i}from"../../hooks/use-computed-values.js";const m=/Id$/;function u({value:u,record:c,rowIndex:n,columnProps:s}){if("Id"!==s.type)throw new r(-1,"Column type must be Id");const{name:d,defaultValue:f,ellipsis:p,bold:w,italic:x,color:h,width:V}=s,[k,y,b]=i([{key:"bold",rawValue:w,defaultValue:!1},{key:"italic",rawValue:x,defaultValue:!1},{key:"color",rawValue:h}],u,c,n),v=a((()=>{const e=d.replace(m,"Name");return t(u)||t(c[e])?f:c[e]}),[u,c,d,f]),I=a((()=>{if(V)return o({maxWidth:`${V}px !important`})}),[V]);return e(l,{bold:k,color:b,css:I,ellipsis:p,italic:y,children:v})}export{u as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as r}from"@emotion/react/jsx-runtime";import{extractBaseName as e}from"@vef-framework/shared";function t({value:t}){return r("img",{alt:e(t),src:t})}export{t as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import o from"./bool.js";import r from"./code.js";import m from"./data-dictionary.js";import t from"./enum.js";import i from"./file.js";import e from"./icon.js";import p from"./id.js";import s from"./image.js";import f from"./markdown.js";import j from"./number.js";import n from"./render.js";import a from"./rich-text.js";import d from"./text.js";const c={Text:d,Number:j,Enum:t,Boolean:o,DataDictionary:m,Id:p,Render:n,Markdown:f,Icon:e,File:i,RichText:a,Image:s,Code:r};export{c as columnComponents};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as e}from"@emotion/react/jsx-runtime";function r({value:r}){return e("span",{children:r})}export{r as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as e}from"@emotion/react/jsx-runtime";import{css as r}from"@emotion/react";import{VefError as o,isNullish as t}from"@vef-framework/shared";import{useMemo as a}from"react";import l from"../../../vef-text/index.js";import{useComputedValues as u}from"../../hooks/use-computed-values.js";import{useDisplayValue as i}from"../../hooks/use-display-value.js";function m({value:m,record:f,rowIndex:s,columnProps:d}){if("Number"!==d.type)throw new o(-1,"Column type must be Number");const{defaultValue:p,formatter:c,prefix:n,suffix:x,bold:w,italic:h,color:V,width:b}=d,k=i(m,f,s,{defaultValue:p,formatter:c,prefix:n,suffix:x}),[y,v,j]=u([{key:"bold",rawValue:w,defaultValue:!1},{key:"italic",rawValue:h,defaultValue:!1},{key:"color",rawValue:V}],m,f,s),N=a((()=>{if(b)return r({maxWidth:`${b}px !important`})}),[b]);return t(k)?null:e(l,{bold:y,color:j,css:N,italic:v,children:k})}export{m as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as r}from"@emotion/react/jsx-runtime";import{css as e}from"@emotion/react";import{VefError as t}from"@vef-framework/shared";import{useMemo as o}from"react";function m({value:m,record:n,rowIndex:i,columnProps:d}){if("Render"!==d.type)throw new t(-1,"Column type must be Render");const{render:a,width:f}=d,p=a?.(m,n,i),c=o((()=>{if(f)return e({maxWidth:`${f}px !important`})}),[f]);return r("div",{css:c,children:p})}export{m as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as e}from"@emotion/react/jsx-runtime";function r({value:r}){return e("span",{children:r})}export{r as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as e}from"@emotion/react/jsx-runtime";import{css as o}from"@emotion/react";import{VefError as r,isNullish as t}from"@vef-framework/shared";import{useMemo as l}from"react";import i from"../../../vef-text/index.js";import{useComputedValues as a}from"../../hooks/use-computed-values.js";import{useDisplayValue as u}from"../../hooks/use-display-value.js";function f({value:f,record:m,rowIndex:s,columnProps:p}){if("Text"!==p.type)throw new r(-1,"Column type must be Text");const{defaultValue:c,formatter:d,prefix:n,suffix:x,ellipsis:w,bold:y,italic:h,color:V,copyable:b,width:k}=p,[v,j,T]=a([{key:"bold",rawValue:y,defaultValue:!1},{key:"italic",rawValue:h,defaultValue:!1},{key:"color",rawValue:V}],f,m,s),C=u(f,m,s,{defaultValue:c,formatter:d,prefix:n,suffix:x}),I=l((()=>{if(k)return o({maxWidth:`${k}px !important`})}),[k]);return t(C)?null:e(i,{bold:v,color:T,copyable:b,css:I,ellipsis:w,ellipsisTip:w?C:void 0,italic:j,children:C})}export{f as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsxs as e,jsx as n,Fragment as t}from"@emotion/react/jsx-runtime";import{RollbackOutlined as i,VerticalRightOutlined as l,VerticalLeftOutlined as a}from"@ant-design/icons";import{css as o}from"@emotion/react";import{themeVariables as r}from"@vef-framework/shared";import{Checkbox as s}from"antd";import{useMemo as d,useCallback as m,memo as c}from"react";import f from"../../vef-bool/index.js";import u from"../../vef-button/index.js";import p from"../../vef-divider/index.js";import g from"../../vef-sortable-list/index.js";import v from"../../vef-text/index.js";import{useTableContextSelector as h}from"../hooks/use-table-context.js";const b=o`
3
3
  width: 260px;
4
4
  padding: ${r.paddingSm};
@@ -1,4 +1,4 @@
1
- /*! VefFramework version: 1.0.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsxs as e,jsx as n}from"@emotion/react/jsx-runtime";import{MoreOutlined as o}from"@ant-design/icons";import{css as t}from"@emotion/react";import{useComputedActionButtons as i}from"@vef-framework/hooks";import{invokeMaybeAsyncFn as r,showConfirmation as l}from"@vef-framework/shared";import{useMemo as c,useState as a,useCallback as s}from"react";import d from"../../vef-button/index.js";import m from"../../vef-dropdown/index.js";import f from"../../vef-flex/index.js";import p from"../../vef-popconfirm/index.js";import{useTableContextSelector as h}from"../hooks/use-table-context.js";const u=t`
3
3
  .vef-btn-sm {
4
4
  --vef-control-height-sm: 24px;
@@ -1,4 +1,4 @@
1
- /*! VefFramework version: 1.0.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as o}from"@emotion/react/jsx-runtime";import{css as r}from"@emotion/react";import{themeVariables as t}from"@vef-framework/shared";import{SettingsIcon as e}from"lucide-react";import{memo as m}from"react";import i from"../../vef-icon/index.js";import{useTableContextSelector as c}from"../hooks/use-table-context.js";const n=r`
3
3
  color: ${t.colorPrimary};
4
4
  `;const a=m((function(){const r=c((o=>o.columnConfigMapHasChanged));return o(i,{css:r?n:void 0,children:o(e,{})})}),(()=>!1));export{a as default};
@@ -1,4 +1,4 @@
1
- /*! VefFramework version: 1.0.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsxs as o,jsx as e}from"@emotion/react/jsx-runtime";import{css as i}from"@emotion/react";import{themeVariables as t,invokeMaybeAsyncFn as n}from"@vef-framework/shared";import{useMemo as r,memo as a}from"react";import l from"../../vef-button/index.js";import c from"../../vef-pagination/index.js";import m from"../../vef-text/index.js";import{useTableContextSelector as d}from"../hooks/use-table-context.js";const f=i`
3
3
  width: 100%;
4
4
  display: flex;
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{isFunction as r,isExpression as e,compileDynamicFn as n}from"@vef-framework/shared";function o(o,t,f,u,i){if(r(o))return o(t,f,u);if(e(o)){return n(o,"value","record","rowIndex",`return ${o.expression}`)(t,f,u)}return o??i}export{o as computeValue};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{useComputedActionButtons as e}from"@vef-framework/hooks";import{useMemo as t}from"react";function o(o,c){const{externalContext:r,isFetching:n,refetch:s,selectedKeys:i,selectedRecords:d}=c,f=t((()=>({isFetching:n,refetch:s,selectedKeys:i,selectedRecords:d,...r??{}})),[r,n,s,i,d]);return{computedBatchActionButtons:e(o,f),batchActionButtonContext:f}}export{o as useComputedBatchActionButtons};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{useMemo as e}from"react";function r(r,t){return e((()=>r.map((e=>{const{name:r}=e,o=t.get(r);return{...e,show:o.show,fixed:o.fixed}})).sort(((e,r)=>t.get(e.name).order-t.get(r.name).order))),[r,t])}export{r as useComputedColumns};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{useDeepMemo as e}from"@vef-framework/hooks";import{computeValue as r}from"../helper.js";function o(o,t,u,a,f=!1){const m=e((()=>o.reduce(((e,o)=>{const{key:f,rawValue:m,defaultValue:n}=o,c=r(m,t,u,a,n);return e[f]=c,e}),{})),[u,a,t,o]);return f?o.reduce(((e,{key:r})=>(e[r]=m[r],e)),{}):o.map((({key:e})=>m[e]))}export{o as useComputedValues};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{useDataQuery as e}from"@vef-framework/hooks";import{isNumber as a,isArray as t}from"@vef-framework/shared";function i({apiParams:i,...r},o,s){const{data:n,isLoading:f,isFetching:h,isSuccess:d,refetch:m}=e({apiParams:o?{...s,...i}:i,keepPreviousData:!0,staleTime:0,...r});if(d)if(o){if(!Object.hasOwn(n,"total")||!Object.hasOwn(n,"items"))throw new Error("The paginated data of VefTable is invalid. The data must contain the `total` and `items` properties. Please check the data.");if(!a(n.total))throw new Error("The `total` property of the paginated data of VefTable is invalid. It must be a number.");if(!t(n.items))throw new Error("The `items` property of the paginated data of VefTable is invalid. It must be an array.")}else if(!t(n))throw new Error("The data of VefTable is invalid. It must be an array.");return{data:o?n?.items:n,isFetching:h,isLoading:f,total:o?n?.total:void 0,refetch:m}}export{i as useData};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{useMemo as e}from"react";function t(t){return e((()=>{const e=new Map;let o=1;for(const r of t){const{name:t,title:n,fixed:f,configurable:i}=r;e.set(t,{title:n??t,show:!0,fixed:f,order:o++,configurable:i??!0})}return e}),[t])}export{t as useDefaultColumnConfigs};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{isNullish as r,isFunction as e,isExpression as t,compileDynamicFn as o}from"@vef-framework/shared";import{useMemo as f}from"react";function n(n,u,i,a){const{defaultValue:m,formatter:d,prefix:p,suffix:s}=a,x=r(n)?m:n;return f((()=>{if(e(d))return d(n,u,i);if(t(d)){return o(d,"value","record","rowIndex",`return ${d.expression}`)(n,u,i)}return r(x)?void 0:`${p??""}${x}${s??""}`}),[d,x,p,s,n,u,i])}export{n as useDisplayValue};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as o}from"@emotion/react/jsx-runtime";import{useAuthorizedItems as t}from"@vef-framework/hooks";import{isDeepEqual as e}from"@vef-framework/shared";import{useMemo as r}from"react";import n from"../components/columns-settings.js";import i from"../components/operation-buttons.js";import m from"../components/settings-icon.js";import{useOperationColumnWidth as s}from"./use-operation-column-width.js";function p({showRowNumber:p,operationButtons:u,maxVisibleOperationButtons:f,size:l}){const a=r((()=>{if(p)return{key:"_rowNumber",title:"#",align:"center",fixed:"left",width:48,shouldCellUpdate:()=>!1,render:(o,t,e)=>e+1}}),[p]),d=t(u??[]),c=s(d,f??3,l);return{rowNumberColumn:a,operationColumn:r((()=>{if(d&&d.length>0)return{key:"_operationButtons",title:"操作",align:"center",fixed:"right",filterIcon:()=>o(m,{}),filterDropdown:()=>o(n,{}),width:c,shouldCellUpdate:(o,t)=>!e(o,t),render:(t,e,r)=>o(i,{maxVisibleOperationButtons:f??3,operationButtons:d,record:e,rowIndex:r})}}),[d,f,c])}}export{p as useHelperColumns};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{useThemeTokens as r}from"@vef-framework/hooks";import{max as t}from"@vef-framework/shared";import{useMemo as e}from"react";function n(n,f,m="medium"){const{Button:a}=r(),c="large"===m?16:8,u=a?.contentFontSizeSM??16;return e((()=>{if(0===n.length)return 0;if(n.length>f){const r=new Set;for(let e=0;e<f;e++){const e=t(n,(t=>r.has(t)?0:t.label.length));e&&r.add(e)}return o(Array.from(r),u,c,!0)}return o(n,u,c,!1)}),[c,u,f,n])}function o(r,t,e,n){const o=t+4;return r.map((r=>{const t=r.label.length*o+8;return r.icon?t+o+8:t})).reduce(((r,t)=>r+t),0)+(n?o+8:0)+2*e}export{n as useOperationColumnWidth};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{useState as e,useMemo as a}from"react";import{defaultPageSizeOptions as i}from"../../vef-pagination/props.js";function r(r,p){const[n,o]=e({page:1,size:i[2]}),s=a((()=>{if(r)return(e,a)=>{o({page:e,size:a})}}),[r,o]);return{paginationProps:a((()=>{if(r)return{pageNumber:n.page,pageSize:n.size,size:"small"===p?"small":"medium",onChange:s}}),[s,r,n.page,n.size,p]),paginationParams:n}}export{r as usePaginationProps};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{useMemo as e}from"react";function o({enableRowClick:o=!1,enableRowClickForSelection:n=!1,onRowClick:l,disabledSelection:i,handleRowClickSelection:r}){return e((()=>{if(o)return(e,o)=>{const t=i?.(e)??!1;return{style:{cursor:t?"not-allowed":"pointer"},onClick:t?void 0:()=>{n||l?.(e,o??-1),r?.(e)}}}}),[i,o,n,r,l])}export{o as useRowProps};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{isFunction as e}from"@vef-framework/shared";import{useMemo as o}from"react";import{useSelectedRows as t}from"./use-selected-rows.js";function l({rowKey:l,selectedKeys:c,defaultSelectedKeys:s,selectable:n,enableRowClick:r,enableRowClickForSelection:i,multipleSelection:d=!0,showSelectAllCheckbox:a=!0,disabledSelection:f,onRowSelect:u,onRowDeselect:w,onRowSelectionChange:S}){const{selectedKeys:h,selectedRecords:R,onChange:p}=t({selectedKeys:c,defaultSelectedKeys:s,onRowSelectionChange:S}),y=o((()=>{if(r&&i)return o=>{const t=e(l)?l(o):o[l];if(h.includes(t)){if(!d)return;const c=h.filter((e=>e!==t)),s=R.current.filter((o=>(e(l)?l(o):o[l])!==t));p(c,s),w?.(t,o)}else{const e=[t];d&&e.push(...h);const l=[o];d&&l.push(...R.current),p(e,l),u?.(t,o)}}}),[r,i,d,p,w,u,l,h,R]);return{rowSelectionConfig:o((()=>{if(!n)return;return{fixed:!0,hideSelectAll:!a,preserveSelectedRowKeys:!1,selectedRowKeys:h,type:d?"checkbox":"radio",getCheckboxProps:e(f)?e=>({disabled:f(e)}):void 0,onChange:(e,o)=>{p(e,o)},onSelect:e(u)||e(w)?(o,t)=>{const c=e(l)?l(o):o[l];t?u?.(c,o):w?.(c,o)}:void 0}}),[n,a,h,d,f,u,w,p,l]),handleRowClickSelection:y,selectedKeys:h,selectedRecords:R}}export{l as useRowSelectionConfig};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{useState as e,useRef as t,useCallback as c}from"react";function n({selectedKeys:n,defaultSelectedKeys:o,onRowSelectionChange:r}){const[s,d]=e(o??[]),l=n??s,a=t([]),u=c(((e,t)=>{n||d(e),a.current=t,r?.(e,t)}),[r,n]);return{selectedKeys:l,selectedRecords:a,onChange:u}}export{n as useSelectedRows};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as e}from"@emotion/react/jsx-runtime";import{isNumber as r,isDeepEqual as t}from"@vef-framework/shared";import{useMemo as o}from"react";import{columnComponents as n}from"../components/columns/index.js";function m(m,i,d){return o((()=>{const o=[],a=m.map((o=>{const{title:m,show:i,sort:d,fixed:a,dependentColumnNames:p,...s}=o,u=r(d)?{multiple:d}:!!d||void 0,l=n[o.type];return{key:s.name,dataIndex:s.name,title:m||s.name,fixed:a,hidden:!(i??1),sorter:u,align:s.align,width:s.width,shouldCellUpdate:(e,r)=>!t(p.map((r=>e[r])),p.map((e=>r[e]))),render:(r,t,o)=>e(l,{columnProps:s,record:t,rowIndex:o,value:r})}}));return i&&o.push(i),o.push(...a),d&&o.push(d),o}),[m,i,d])}export{m as useTableColumns};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{createSelectableContext as e,noop as o}from"@vef-framework/shared";const{useContextSelector:n,useContext:t,ContextProvider:r}=e({isFetching:!1,refetch:()=>Promise.resolve({}),selectedKeys:[],selectedRecords:[],defaultColumnConfigMap:new Map,columnConfigMap:new Map,setColumnConfigMap:o,columnConfigMapHasChanged:!1}),s=n,a=t;export{r as TableContextProvider,a as useTableContext,s as useTableContextSelector};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{useRef as t,useImperativeHandle as r}from"react";function a(a,e,n){const c=t(null);return r(a,(()=>({getData:()=>e,refetch:async()=>{await n()}}))),c}export{a as useTableInstance};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as m}from"@emotion/react/jsx-runtime";import{isFunction as r}from"@vef-framework/shared";import{Table as n}from"antd";import{useMemo as o}from"react";const{Summary:a}=n,{Row:e,Cell:t}=a;function i(n){const i=o((()=>n.filter((m=>r(m.summary))).map((m=>{const{name:r,summary:n,summaryColSpan:o}=m;return{name:r,summary:n,summaryColSpan:o??1}}))),[n]);return o((()=>{if(0!==i.length)return r=>m(a,{fixed:"bottom",children:m(e,{children:i.map((({name:n,summary:o,summaryColSpan:a},e)=>m(t,{colSpan:a,index:e,children:o(r)},n)))})})}),[i])}export{i as useTableSummary};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{useMemo as r}from"react";function t(t,e){return r((()=>{const r=t.filter((r=>!0!==r.hidden)).map((r=>r.width??r.minWidth??160)).reduce(((r,t)=>r+t),0);return e?r+40:r}),[t,e])}export{t as useTableWidth};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as e}from"@emotion/react/jsx-runtime";import{css as o}from"@emotion/react";import{themeVariables as t,isDeepEqual as n,isNumber as l}from"@vef-framework/shared";import{Table as i}from"antd";import{useMemo as r,useState as a,useDeferredValue as s,forwardRef as c,memo as m}from"react";import"../internal/index.js";import u from"./components/table-footer.js";import{useComputedBatchActionButtons as f}from"./hooks/use-computed-batch-buttons.js";import{useComputedColumns as d}from"./hooks/use-computed-columns.js";import{useData as p}from"./hooks/use-data.js";import{useDefaultColumnConfigs as h}from"./hooks/use-default-column-configs.js";import{useHelperColumns as b}from"./hooks/use-helper-columns.js";import{usePaginationProps as w}from"./hooks/use-pagination-props.js";import{useRowProps as g}from"./hooks/use-row-props.js";import{useRowSelectionConfig as C}from"./hooks/use-row-selection-config.js";import{useTableColumns as k}from"./hooks/use-table-columns.js";import{TableContextProvider as x}from"./hooks/use-table-context.js";import{useTableInstance as S}from"./hooks/use-table-instance.js";import{useTableSummary as y}from"./hooks/use-table-summary.js";import{useTableWidth as R}from"./hooks/use-table-width.js";import{convertBasicSizeToUiSize as j}from"../internal/utils.js";const v=o`
3
3
  height: 100%;
4
4
 
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{createComponentStore as e}from"@vef-framework/shared";const{StoreProvider:o,useStore:r,useStoreApi:a}=e("Table",(e=>o=>({changeSize:e=>o({size:e}),columnConfigMap:new Map,...e})));export{o as TableStoreProvider,r as useTableStore,a as useTableStoreApi};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as t}from"@emotion/react/jsx-runtime";import{Tabs as i}from"antd";import"../internal/index.js";import{convertBasicSizeToUiSize as n}from"../internal/utils.js";const r={inkBar:!0,tabPane:!0};function e({size:e,...o}){return t(i,{animated:r,size:n(e),...o})}export{e as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as o}from"@emotion/react/jsx-runtime";import{Tag as r}from"antd";import{useMemo as e}from"react";function t({closable:t=!1,color:n,inverse:c=!1,...i}){const l=e((()=>c?`${n}-inverse`:n),[n,c]);return o(r,{closeIcon:t?null:void 0,color:l,...i})}export{t as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  const Y=["YYYY"],M=["YYYY-Q季度"],m=["YYYY-MM","YYYY/MM","YYYY.MM","YYYYMM"],D=["YYYY-wo"],H=["YYYY-MM-DD","YYYY/MM/DD","YYYY.MM.DD","YYYYMMDD","YY/MM/DD","YY.MM.DD","YYMMDD"],s=["HH:mm:ss","HH.mm.ss","HHmmss"],e=["HH"],t=["HH:mm","HH.mm","HHmm"],r=["YYYY-MM-DD HH:mm:ss","YYYY/MM/DD HH:mm:ss","YYYY.MM.DD HH.mm.ss","YYYYMMDDHHmmss","YY/MM/DD HH:mm:ss","YY.MM.DD HH:mm:ss","YY.MM.DD HH.mm.ss","YYMMDDHHmmss"];function n(n){return"year"===n?Y:"quarter"===n?M:"month"===n?m:"week"===n?D:"datetime"===n?r:"date"===n?H:"time"===n?s:"hour"===n?e:"minute"===n?t:[]}export{n as getTemporalFormats};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{isNullish as r,isArray as o}from"@vef-framework/shared";import m from"dayjs";import{useMemo as t}from"react";function e(e,f){return t((()=>r(e)?e:o(e)?e.map((r=>m(r,f))):m(e,f)),[e,f])}export{e as useDayjsValue};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{isFunction as e}from"@vef-framework/shared";import a from"dayjs";import{useMemo as t}from"react";function r({maxDate:r,minDate:i,disabledDate:o,disabledTime:m}){const[d,f]=t((()=>[i?a(i):void 0,r?a(r):void 0]),[i,r]);return{minDateValue:d,maxDateValue:f,disabledTimeValue:t((()=>{if(e(m))return e=>m(e.toDate())}),[m]),disabledDateValue:t((()=>{if(e(o))return(e,{from:a})=>o(e.toDate(),a?.toDate())}),[o])}}export{r as useTemporalLimit};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{useRef as r,useImperativeHandle as t}from"react";function u(u){const c=r(null);return t(u,(()=>({blur:()=>{c.current?.blur()},focus:()=>{c.current?.focus({preventScroll:!0})}}))),c}export{u as useTemporalPickerInstance};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as e}from"@emotion/react/jsx-runtime";import{isFunction as a,isArray as t}from"@vef-framework/shared";import{TimePicker as i,DatePicker as l}from"antd";import{useMemo as o,memo as m,forwardRef as r}from"react";import"../internal/index.js";import{getTemporalFormats as u}from"./helper.js";import{useDayjsValue as n}from"./hooks/use-dayjs-value.js";import{useTemporalLimit as s}from"./hooks/use-temporal-limit.js";import{useTemporalPickerInstance as d}from"./hooks/use-temporal-picker-instance.js";import{convertBasicSizeToUiSize as p}from"../internal/utils.js";const f=m(r((function({defaultValue:m,value:r,clearable:f,size:D,mode:h="date",multiple:c=!1,minDate:b,maxDate:V,disabledTime:j,disabledDate:k,hourStep:x,minuteStep:S,secondStep:v,onChange:C,...w},T){const g=u(h),z=n(r,g),y=n(m,g),{minDateValue:N,maxDateValue:P,disabledTimeValue:q,disabledDateValue:A}=s({maxDate:V,minDate:b,disabledTime:j,disabledDate:k}),B=d(T),E=o((()=>{if(a(C))return(e,a)=>{if(!e)return void C(null,null);const i=t(e)?e.map((e=>e.toDate())):e.toDate();C(a,i)}}),[C]);return"time"===h||"hour"===h||"minute"===h?e(i,{ref:B,allowClear:f,defaultValue:y,disabledTime:q,format:g,hourStep:x,minuteStep:S,multiple:c,secondStep:v,showNow:"hour"!==h,size:p(D),value:z,onChange:E,...w}):e(l,"datetime"===h?{ref:B,allowClear:f,defaultValue:y,disabledDate:A,disabledTime:q,format:g,hourStep:x,maxDate:P,minDate:N,minuteStep:S,multiple:c,picker:"date",size:p(D),value:z,onChange:E,...w}:{ref:B,allowClear:f,defaultValue:y,disabledDate:A,format:g,maxDate:P,minDate:N,multiple:c,picker:h,size:p(D),value:z,onChange:E,...w})})));f.displayName="VefTemporalPicker";export{f as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  const Y=["YYYY"],M=["YYYY-Q季度"],m=["YYYY-MM","YYYY/MM","YYYY.MM","YYYYMM"],D=["YYYY-wo"],H=["YYYY-MM-DD","YYYY/MM/DD","YYYY.MM.DD","YYYYMMDD","YY/MM/DD","YY.MM.DD","YYMMDD"],s=["HH:mm:ss","HH.mm.ss","HHmmss"],e=["HH"],t=["HH:mm","HH.mm","HHmm"],r=["YYYY-MM-DD HH:mm:ss","YYYY/MM/DD HH:mm:ss","YYYY.MM.DD HH.mm.ss","YYYYMMDDHHmmss","YY/MM/DD HH:mm:ss","YY.MM.DD HH:mm:ss","YY.MM.DD HH.mm.ss","YYMMDDHHmmss"];function n(n){return"year"===n?Y:"quarter"===n?M:"month"===n?m:"week"===n?D:"datetime"===n?r:"date"===n?H:"time"===n?s:"hour"===n?e:"minute"===n?t:[]}export{n as getTemporalFormats};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{isNullish as r,isArray as o}from"@vef-framework/shared";import t from"dayjs";import{useMemo as m}from"react";import{stringFormatSeparator as e}from"../props.js";function f(f,p){return m((()=>{if(r(f))return f;if(o(f))return f.map((r=>t(r,p)));const[m,i]=f.split(e);return[t(m,p),t(i,p)]}),[f,p])}export{f as useDayjsValues};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{isFunction as e}from"@vef-framework/shared";import a from"dayjs";import{useMemo as t}from"react";function r({maxDate:r,minDate:i,disabledDate:o,disabledTime:m}){const[d,f]=t((()=>[i?a(i):void 0,r?a(r):void 0]),[i,r]);return{minDateValue:d,maxDateValue:f,disabledTimeValue:t((()=>{if(e(m))return e=>m(e.toDate())}),[m]),disabledDateValue:t((()=>{if(e(o))return(e,{from:a})=>o(e.toDate(),a?.toDate())}),[o])}}export{r as useTemporalLimit};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{useRef as r,useImperativeHandle as t}from"react";function u(u){const c=r(null);return t(u,(()=>({blur:()=>{c.current?.blur()},focus:()=>{c.current?.focus({preventScroll:!0})}}))),c}export{u as useTemporalRangePickerInstance};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as e}from"@emotion/react/jsx-runtime";import{isFunction as a}from"@vef-framework/shared";import{TimePicker as t,DatePicker as i}from"antd";import{useMemo as r,memo as o,forwardRef as m}from"react";import"../internal/index.js";import{getTemporalFormats as l}from"./helper.js";import{useDayjsValues as n}from"./hooks/use-dayjs-values.js";import{useTemporalLimit as s}from"./hooks/use-temporal-limit.js";import{useTemporalRangePickerInstance as d}from"./hooks/use-temporal-range-picker-instance.js";import{stringFormatSeparator as u}from"./props.js";import{convertBasicSizeToUiSize as p}from"../internal/utils.js";const f=o(m((function({defaultValue:o,value:m,clearable:f,mode:c="date",size:D,useStringFormat:h=!1,maxDate:b,minDate:j,disabledTime:k,disabledDate:S,hourStep:g,minuteStep:V,secondStep:x,onChange:v,...C},T){const w=l(c),z=n(m,w),P=n(m,w),{minDateValue:R,maxDateValue:y,disabledTimeValue:F,disabledDateValue:N}=s({maxDate:b,minDate:j,disabledTime:k,disabledDate:S}),q=d(T),A=r((()=>{if(a(v))return(e,a)=>{if(!e)return void v(null,null);const t=[e[0].toDate(),e[1].toDate()];v(h?a.join(u):a,t)}}),[v,h]);return"time"===c||"hour"===c||"minute"===c?e(t.RangePicker,{ref:q,allowClear:f,defaultValue:P,disabledTime:F,format:w,hourStep:g,minuteStep:V,secondStep:x,size:p(D),value:z,onChange:A,...C}):e(i.RangePicker,"datetime"===c?{ref:q,showTime:!0,allowClear:f,defaultValue:P,disabledDate:N,disabledTime:F,format:w,hourStep:g,maxDate:y,minDate:R,minuteStep:V,picker:"date",secondStep:x,size:p(D),value:z,onChange:A,...C}:{ref:q,allowClear:f,defaultValue:P,disabledDate:N,format:w,maxDate:y,minDate:R,picker:c,size:p(D),value:z,onChange:A,...C})})));f.displayName="VefTemporalRangePicker";export{f as default};
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.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  const o="_";export{o as stringFormatSeparator};
3
3
  /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +1,3 @@
1
- /*! VefFramework version: 1.0.53, build time: 2024-12-27T04:12:54.912Z, made by Venus. */
1
+ /*! VefFramework version: 1.0.54, build time: 2024-12-30T01:13:29.892Z, made by Venus. */
2
2
  import{jsx as o}from"@emotion/react/jsx-runtime";import{useColorTokens as t}from"@vef-framework/hooks";import{Typography as e}from"antd";import{useMemo as r}from"react";const{Text:i}=e;function n({variant:e,color:n,bold:l,ellipsis:s,ellipsisTip:p,ellipsisTipPlacement:c,copyable:a,copiedText:m,onCopy:f,...d}){const u=r((()=>{if(s)return{tooltip:p??d.children,placement:c}}),[s,p,c,d.children]),y=t(),h=r((()=>{const o={};return"shortcut"===e?o.keyboard=!0:"strikethrough"===e?o.delete=!0:e&&(o[e]=!0),"secondary"===n?o.type="secondary":n&&(o.css={color:y.get(n)}),l&&(o.strong=!0),o}),[l,n,y,e]),x=r((()=>{if(a)return{format:"text/plain",text:m,onCopy:f}}),[a,m,f]);return o(i,{copyable:x,ellipsis:u,...h,...d})}export{n as default};
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 */