@vef-framework/components 1.0.122 → 1.0.123

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 (1515) hide show
  1. package/cjs/index.cjs +194 -0
  2. package/cjs/internal/base.css.cjs +7 -0
  3. package/cjs/internal/chart.cjs +21 -0
  4. package/cjs/internal/index.cjs +10 -0
  5. package/cjs/internal/modern-normalize.css.cjs +7 -0
  6. package/cjs/internal/utils.cjs +9 -0
  7. package/cjs/vef-access-denied/access-denied-icon.cjs +933 -0
  8. package/cjs/vef-access-denied/index.cjs +68 -0
  9. package/cjs/vef-access-denied/props.cjs +4 -0
  10. package/cjs/vef-action-buttons/index.cjs +80 -0
  11. package/cjs/vef-action-buttons/props.cjs +4 -0
  12. package/cjs/vef-approval-flow-editor/components/edge.cjs +92 -0
  13. package/cjs/vef-approval-flow-editor/components/label-value.cjs +41 -0
  14. package/cjs/vef-approval-flow-editor/components/node-content.cjs +56 -0
  15. package/cjs/vef-approval-flow-editor/components/node-selector.cjs +46 -0
  16. package/cjs/vef-approval-flow-editor/components/node-toolbar.cjs +26 -0
  17. package/cjs/vef-approval-flow-editor/components/nodes/approval.cjs +29 -0
  18. package/cjs/vef-approval-flow-editor/components/nodes/condition.cjs +29 -0
  19. package/cjs/vef-approval-flow-editor/components/nodes/end.cjs +29 -0
  20. package/cjs/vef-approval-flow-editor/components/nodes/handle.cjs +29 -0
  21. package/cjs/vef-approval-flow-editor/components/nodes/index.cjs +20 -0
  22. package/cjs/vef-approval-flow-editor/components/nodes/submit.cjs +29 -0
  23. package/cjs/vef-approval-flow-editor/components/selector-content.cjs +68 -0
  24. package/cjs/vef-approval-flow-editor/components/source-handle.cjs +45 -0
  25. package/cjs/vef-approval-flow-editor/components/target-handle.cjs +14 -0
  26. package/cjs/vef-approval-flow-editor/constants.cjs +226 -0
  27. package/cjs/vef-approval-flow-editor/helper.cjs +89 -0
  28. package/cjs/vef-approval-flow-editor/hooks/use-edges-interaction.cjs +28 -0
  29. package/cjs/vef-approval-flow-editor/hooks/use-element-selection.cjs +27 -0
  30. package/cjs/vef-approval-flow-editor/hooks/use-nodes-interaction.cjs +54 -0
  31. package/cjs/vef-approval-flow-editor/index.cjs +80 -0
  32. package/cjs/vef-approval-flow-editor/models/edge-node.cjs +24 -0
  33. package/cjs/vef-approval-flow-editor/models/flow-node.cjs +113 -0
  34. package/cjs/vef-approval-flow-editor/props.cjs +4 -0
  35. package/cjs/vef-approval-flow-editor/store.cjs +21 -0
  36. package/cjs/vef-approval-flow-editor/styles.cjs +53 -0
  37. package/cjs/vef-approval-flow-editor/types.cjs +19 -0
  38. package/cjs/vef-area-chart/index.cjs +46 -0
  39. package/cjs/vef-area-chart/props.cjs +4 -0
  40. package/cjs/vef-auto-sizer/index.cjs +11 -0
  41. package/cjs/vef-auto-sizer/props.cjs +4 -0
  42. package/cjs/vef-avatar/index.cjs +25 -0
  43. package/cjs/vef-avatar/props.cjs +4 -0
  44. package/cjs/vef-avatar-group/index.cjs +30 -0
  45. package/cjs/vef-avatar-group/props.cjs +4 -0
  46. package/cjs/vef-badge/index.cjs +52 -0
  47. package/cjs/vef-badge/props.cjs +4 -0
  48. package/cjs/vef-bar-chart/index.cjs +46 -0
  49. package/cjs/vef-bar-chart/props.cjs +4 -0
  50. package/cjs/vef-bool/hooks/use-bool-instance.cjs +37 -0
  51. package/cjs/vef-bool/index.cjs +65 -0
  52. package/cjs/vef-bool/props.cjs +4 -0
  53. package/cjs/vef-breadcrumb/index.cjs +53 -0
  54. package/cjs/vef-breadcrumb/props.cjs +4 -0
  55. package/cjs/vef-button/components/base-button.cjs +78 -0
  56. package/cjs/vef-button/index.cjs +156 -0
  57. package/cjs/vef-button/props.cjs +4 -0
  58. package/cjs/vef-card/index.cjs +30 -0
  59. package/cjs/vef-card/props.cjs +4 -0
  60. package/cjs/vef-card-meta/index.cjs +17 -0
  61. package/cjs/vef-card-meta/props.cjs +4 -0
  62. package/cjs/vef-chart-container/hooks/use-chart-container-context.cjs +17 -0
  63. package/cjs/vef-chart-container/index.cjs +128 -0
  64. package/cjs/vef-chart-container/props.cjs +4 -0
  65. package/cjs/vef-chart-legend-content/index.cjs +55 -0
  66. package/cjs/vef-chart-legend-content/props.cjs +4 -0
  67. package/cjs/vef-chart-tooltip-content/index.cjs +110 -0
  68. package/cjs/vef-chart-tooltip-content/props.cjs +4 -0
  69. package/cjs/vef-checkbox/hooks/use-checkbox-instance.cjs +23 -0
  70. package/cjs/vef-checkbox/hooks/use-data-options.cjs +43 -0
  71. package/cjs/vef-checkbox/index.cjs +93 -0
  72. package/cjs/vef-checkbox/props.cjs +4 -0
  73. package/cjs/vef-code-editor/hooks/use-change-handler.cjs +13 -0
  74. package/cjs/vef-code-editor/hooks/use-config-extensions.cjs +51 -0
  75. package/cjs/vef-code-editor/hooks/use-height-props.cjs +23 -0
  76. package/cjs/vef-code-editor/hooks/use-language-extensions.cjs +120 -0
  77. package/cjs/vef-code-editor/hooks/use-setup-options.cjs +40 -0
  78. package/cjs/vef-code-editor/index.cjs +62 -0
  79. package/cjs/vef-code-editor/props.cjs +4 -0
  80. package/cjs/vef-code-editor/styles.cjs +146 -0
  81. package/cjs/vef-col/index.cjs +16 -0
  82. package/cjs/vef-col/props.cjs +4 -0
  83. package/cjs/vef-color-picker/index.cjs +51 -0
  84. package/cjs/vef-color-picker/props.cjs +4 -0
  85. package/cjs/vef-compact/index.cjs +20 -0
  86. package/cjs/vef-compact/props.cjs +4 -0
  87. package/cjs/vef-config-provider/global-style.cjs +185 -0
  88. package/cjs/vef-config-provider/hooks/use-ui-config.cjs +129 -0
  89. package/cjs/vef-config-provider/index.cjs +128 -0
  90. package/cjs/vef-config-provider/props.cjs +4 -0
  91. package/cjs/vef-config-provider/store.cjs +26 -0
  92. package/cjs/vef-container/index.cjs +23 -0
  93. package/cjs/vef-container/props.cjs +4 -0
  94. package/cjs/vef-crud-page/components/crud-actions.cjs +37 -0
  95. package/cjs/vef-crud-page/components/crud-filter.cjs +59 -0
  96. package/cjs/vef-crud-page/components/crud-footer.cjs +125 -0
  97. package/cjs/vef-crud-page/components/crud-form-modal.cjs +58 -0
  98. package/cjs/vef-crud-page/components/crud-header.cjs +34 -0
  99. package/cjs/vef-crud-page/components/crud-table.cjs +81 -0
  100. package/cjs/vef-crud-page/hooks/use-action-buttons.cjs +40 -0
  101. package/cjs/vef-crud-page/hooks/use-crud-context.cjs +23 -0
  102. package/cjs/vef-crud-page/hooks/use-crud-schema.cjs +119 -0
  103. package/cjs/vef-crud-page/hooks/use-operation-buttons.cjs +63 -0
  104. package/cjs/vef-crud-page/index.cjs +155 -0
  105. package/cjs/vef-crud-page/props.cjs +4 -0
  106. package/cjs/vef-crud-page/store.cjs +147 -0
  107. package/cjs/vef-crud-page/types.cjs +4 -0
  108. package/cjs/vef-data-grid/index.cjs +90 -0
  109. package/cjs/vef-data-grid/props.cjs +4 -0
  110. package/cjs/vef-data-table/index.cjs +14 -0
  111. package/cjs/vef-data-table/props.cjs +4 -0
  112. package/cjs/vef-divider/index.cjs +29 -0
  113. package/cjs/vef-divider/props.cjs +4 -0
  114. package/cjs/vef-drawer/components/action-button-wrapper.cjs +54 -0
  115. package/cjs/vef-drawer/components/button-props.cjs +4 -0
  116. package/cjs/vef-drawer/components/cancel-action-button.cjs +26 -0
  117. package/cjs/vef-drawer/components/ok-action-button.cjs +25 -0
  118. package/cjs/vef-drawer/context.cjs +20 -0
  119. package/cjs/vef-drawer/index.cjs +165 -0
  120. package/cjs/vef-drawer/props.cjs +4 -0
  121. package/cjs/vef-dropdown/index.cjs +97 -0
  122. package/cjs/vef-dropdown/props.cjs +4 -0
  123. package/cjs/vef-dynamic-icon/index.cjs +51 -0
  124. package/cjs/vef-dynamic-icon/props.cjs +9 -0
  125. package/cjs/vef-empty/index.cjs +42 -0
  126. package/cjs/vef-empty/props.cjs +4 -0
  127. package/cjs/vef-empty-placeholder/index.cjs +25 -0
  128. package/cjs/vef-empty-placeholder/props.cjs +4 -0
  129. package/cjs/vef-error/error-icon.cjs +762 -0
  130. package/cjs/vef-error/index.cjs +72 -0
  131. package/cjs/vef-error/props.cjs +4 -0
  132. package/cjs/vef-filter/components/action-buttons.cjs +140 -0
  133. package/cjs/vef-filter/components/advanced-filter.cjs +77 -0
  134. package/cjs/vef-filter/components/basic-filter.cjs +55 -0
  135. package/cjs/vef-filter/components/fields/index.cjs +22 -0
  136. package/cjs/vef-filter/components/fields/input-number.cjs +95 -0
  137. package/cjs/vef-filter/components/fields/input.cjs +72 -0
  138. package/cjs/vef-filter/components/fields/props.cjs +4 -0
  139. package/cjs/vef-filter/components/fields/radio.cjs +114 -0
  140. package/cjs/vef-filter/components/fields/select.cjs +145 -0
  141. package/cjs/vef-filter/components/fields/tree-select.cjs +141 -0
  142. package/cjs/vef-filter/components/filter-field.cjs +24 -0
  143. package/cjs/vef-filter/components/filter-item.cjs +117 -0
  144. package/cjs/vef-filter/event.cjs +47 -0
  145. package/cjs/vef-filter/helper.cjs +18 -0
  146. package/cjs/vef-filter/hooks/use-action-handlers.cjs +73 -0
  147. package/cjs/vef-filter/hooks/use-computed-values.cjs +58 -0
  148. package/cjs/vef-filter/hooks/use-filter-context.cjs +23 -0
  149. package/cjs/vef-filter/hooks/use-filter-initialization.cjs +40 -0
  150. package/cjs/vef-filter/hooks/use-filter-instance.cjs +29 -0
  151. package/cjs/vef-filter/hooks/use-filter-items.cjs +26 -0
  152. package/cjs/vef-filter/hooks/use-filter-values-change.cjs +33 -0
  153. package/cjs/vef-filter/hooks/use-label-config.cjs +30 -0
  154. package/cjs/vef-filter/index.cjs +152 -0
  155. package/cjs/vef-filter/props.cjs +4 -0
  156. package/cjs/vef-filter/store.cjs +76 -0
  157. package/cjs/vef-filter/types.cjs +4 -0
  158. package/cjs/vef-flex/index.cjs +36 -0
  159. package/cjs/vef-flex/props.cjs +4 -0
  160. package/cjs/vef-float-button/index.cjs +54 -0
  161. package/cjs/vef-float-button/props.cjs +4 -0
  162. package/cjs/vef-float-button-group/index.cjs +25 -0
  163. package/cjs/vef-float-button-group/props.cjs +4 -0
  164. package/cjs/vef-form/components/fields/icon-select.cjs +70 -0
  165. package/cjs/vef-form/components/fields/index.cjs +28 -0
  166. package/cjs/vef-form/components/fields/input-number.cjs +128 -0
  167. package/cjs/vef-form/components/fields/input.cjs +137 -0
  168. package/cjs/vef-form/components/fields/password.cjs +120 -0
  169. package/cjs/vef-form/components/fields/props.cjs +4 -0
  170. package/cjs/vef-form/components/fields/radio.cjs +111 -0
  171. package/cjs/vef-form/components/fields/select.cjs +243 -0
  172. package/cjs/vef-form/components/fields/textarea.cjs +114 -0
  173. package/cjs/vef-form/components/fields/tree-select.cjs +239 -0
  174. package/cjs/vef-form/components/form-actions.cjs +63 -0
  175. package/cjs/vef-form/components/form-content.cjs +151 -0
  176. package/cjs/vef-form/components/form-field.cjs +27 -0
  177. package/cjs/vef-form/components/form-group.cjs +77 -0
  178. package/cjs/vef-form/components/form-hidden-item.cjs +41 -0
  179. package/cjs/vef-form/components/form-item.cjs +84 -0
  180. package/cjs/vef-form/components/form-row.cjs +103 -0
  181. package/cjs/vef-form/event.cjs +47 -0
  182. package/cjs/vef-form/helper.cjs +18 -0
  183. package/cjs/vef-form/hooks/use-action-handlers.cjs +133 -0
  184. package/cjs/vef-form/hooks/use-columns-layout.cjs +125 -0
  185. package/cjs/vef-form/hooks/use-computed-values.cjs +58 -0
  186. package/cjs/vef-form/hooks/use-form-context.cjs +19 -0
  187. package/cjs/vef-form/hooks/use-form-initialization.cjs +48 -0
  188. package/cjs/vef-form/hooks/use-form-instance.cjs +29 -0
  189. package/cjs/vef-form/hooks/use-form-values-change.cjs +33 -0
  190. package/cjs/vef-form/hooks/use-label-width.cjs +21 -0
  191. package/cjs/vef-form/index.cjs +179 -0
  192. package/cjs/vef-form/props.cjs +4 -0
  193. package/cjs/vef-form/store.cjs +70 -0
  194. package/cjs/vef-form/types.cjs +4 -0
  195. package/cjs/vef-form/validation-rules.cjs +311 -0
  196. package/cjs/vef-form-drawer/index.cjs +103 -0
  197. package/cjs/vef-form-drawer/props.cjs +4 -0
  198. package/cjs/vef-form-modal/index.cjs +100 -0
  199. package/cjs/vef-form-modal/props.cjs +4 -0
  200. package/cjs/vef-generic-select/index.cjs +86 -0
  201. package/cjs/vef-generic-select/props.cjs +4 -0
  202. package/cjs/vef-grid/index.cjs +94 -0
  203. package/cjs/vef-grid/props.cjs +7 -0
  204. package/cjs/vef-grid-item/index.cjs +57 -0
  205. package/cjs/vef-grid-item/props.cjs +4 -0
  206. package/cjs/vef-icon/index.cjs +55 -0
  207. package/cjs/vef-icon/props.cjs +4 -0
  208. package/cjs/vef-icon-select/index.cjs +180 -0
  209. package/cjs/vef-icon-select/props.cjs +4 -0
  210. package/cjs/vef-input/hooks/use-input-instance.cjs +18 -0
  211. package/cjs/vef-input/index.cjs +69 -0
  212. package/cjs/vef-input/props.cjs +4 -0
  213. package/cjs/vef-input-number/hooks/use-input-number-instance.cjs +16 -0
  214. package/cjs/vef-input-number/index.cjs +153 -0
  215. package/cjs/vef-input-number/props.cjs +4 -0
  216. package/cjs/vef-intellisense-code-editor/hooks/use-change-handler.cjs +13 -0
  217. package/cjs/vef-intellisense-code-editor/hooks/use-editor-options.cjs +34 -0
  218. package/cjs/vef-intellisense-code-editor/hooks/use-path.cjs +33 -0
  219. package/cjs/vef-intellisense-code-editor/index.cjs +47 -0
  220. package/cjs/vef-intellisense-code-editor/loader.cjs +142 -0
  221. package/cjs/vef-intellisense-code-editor/props.cjs +4 -0
  222. package/cjs/vef-intellisense-code-editor/styles.cjs +29 -0
  223. package/cjs/vef-intellisense-code-editor/themes/github-light.json.cjs +7 -0
  224. package/cjs/vef-json-viewer/index.cjs +41 -0
  225. package/cjs/vef-json-viewer/props.cjs +4 -0
  226. package/cjs/vef-layout/common-styles.cjs +13 -0
  227. package/cjs/vef-layout/components/content.cjs +18 -0
  228. package/cjs/vef-layout/components/font-size.cjs +73 -0
  229. package/cjs/vef-layout/components/fullscreen.cjs +28 -0
  230. package/cjs/vef-layout/components/header-action-icons.cjs +43 -0
  231. package/cjs/vef-layout/components/header-content.cjs +24 -0
  232. package/cjs/vef-layout/components/header.cjs +80 -0
  233. package/cjs/vef-layout/components/icon-boy.cjs +74 -0
  234. package/cjs/vef-layout/components/icon-girl.cjs +81 -0
  235. package/cjs/vef-layout/components/icon-menu-fold-left.cjs +28 -0
  236. package/cjs/vef-layout/components/icon-menu-unfold-left.cjs +28 -0
  237. package/cjs/vef-layout/components/menu-groups.cjs +145 -0
  238. package/cjs/vef-layout/components/message.cjs +16 -0
  239. package/cjs/vef-layout/components/search.cjs +16 -0
  240. package/cjs/vef-layout/components/sider.cjs +103 -0
  241. package/cjs/vef-layout/components/title.cjs +86 -0
  242. package/cjs/vef-layout/components/user-avatar.cjs +92 -0
  243. package/cjs/vef-layout/hooks/use-layout-context.cjs +15 -0
  244. package/cjs/vef-layout/index.cjs +41 -0
  245. package/cjs/vef-layout/logo.svg.cjs +7 -0
  246. package/cjs/vef-layout/props.cjs +4 -0
  247. package/cjs/vef-layout/store.cjs +21 -0
  248. package/cjs/vef-line-chart/index.cjs +43 -0
  249. package/cjs/vef-line-chart/props.cjs +4 -0
  250. package/cjs/vef-loading-placeholder/index.cjs +49 -0
  251. package/cjs/vef-loading-placeholder/props.cjs +4 -0
  252. package/cjs/vef-login/index.cjs +190 -0
  253. package/cjs/vef-login/login-icon.cjs +673 -0
  254. package/cjs/vef-login/props.cjs +4 -0
  255. package/cjs/vef-menu/index.cjs +84 -0
  256. package/cjs/vef-menu/props.cjs +4 -0
  257. package/cjs/vef-modal/components/action-button-wrapper.cjs +54 -0
  258. package/cjs/vef-modal/components/button-props.cjs +4 -0
  259. package/cjs/vef-modal/components/cancel-action-button.cjs +23 -0
  260. package/cjs/vef-modal/components/ok-action-button.cjs +25 -0
  261. package/cjs/vef-modal/context.cjs +20 -0
  262. package/cjs/vef-modal/index.cjs +247 -0
  263. package/cjs/vef-modal/props.cjs +4 -0
  264. package/cjs/vef-not-found/index.cjs +69 -0
  265. package/cjs/vef-not-found/not-found-icon.cjs +849 -0
  266. package/cjs/vef-not-found/props.cjs +4 -0
  267. package/cjs/vef-page/index.cjs +140 -0
  268. package/cjs/vef-page/props.cjs +4 -0
  269. package/cjs/vef-pagination/index.cjs +62 -0
  270. package/cjs/vef-pagination/props.cjs +16 -0
  271. package/cjs/vef-paragraph/index.cjs +94 -0
  272. package/cjs/vef-paragraph/props.cjs +4 -0
  273. package/cjs/vef-password/hooks/use-password-instance.cjs +16 -0
  274. package/cjs/vef-password/index.cjs +72 -0
  275. package/cjs/vef-password/props.cjs +4 -0
  276. package/cjs/vef-pie-chart/index.cjs +75 -0
  277. package/cjs/vef-pie-chart/props.cjs +4 -0
  278. package/cjs/vef-popconfirm/index.cjs +61 -0
  279. package/cjs/vef-popconfirm/props.cjs +4 -0
  280. package/cjs/vef-popover/index.cjs +39 -0
  281. package/cjs/vef-popover/props.cjs +4 -0
  282. package/cjs/vef-radio/hooks/use-data-options.cjs +43 -0
  283. package/cjs/vef-radio/hooks/use-radio-instance.cjs +23 -0
  284. package/cjs/vef-radio/index.cjs +93 -0
  285. package/cjs/vef-radio/props.cjs +4 -0
  286. package/cjs/vef-rate/hooks/use-rate-instance.cjs +16 -0
  287. package/cjs/vef-rate/index.cjs +35 -0
  288. package/cjs/vef-rate/props.cjs +4 -0
  289. package/cjs/vef-responsive-container/index.cjs +62 -0
  290. package/cjs/vef-responsive-container/props.cjs +4 -0
  291. package/cjs/vef-responsive-item/index.cjs +29 -0
  292. package/cjs/vef-responsive-item/props.cjs +4 -0
  293. package/cjs/vef-ribbon/index.cjs +43 -0
  294. package/cjs/vef-ribbon/props.cjs +4 -0
  295. package/cjs/vef-row/index.cjs +17 -0
  296. package/cjs/vef-row/props.cjs +4 -0
  297. package/cjs/vef-scroll-area/components/scrollbar.cjs +64 -0
  298. package/cjs/vef-scroll-area/index.cjs +82 -0
  299. package/cjs/vef-scroll-area/props.cjs +4 -0
  300. package/cjs/vef-segment/index.cjs +41 -0
  301. package/cjs/vef-segment/props.cjs +4 -0
  302. package/cjs/vef-select/components/option.cjs +34 -0
  303. package/cjs/vef-select/hooks/use-data-options.cjs +50 -0
  304. package/cjs/vef-select/hooks/use-field-names.cjs +24 -0
  305. package/cjs/vef-select/hooks/use-render-label.cjs +32 -0
  306. package/cjs/vef-select/hooks/use-render-option.cjs +22 -0
  307. package/cjs/vef-select/hooks/use-select-instance.cjs +23 -0
  308. package/cjs/vef-select/index.cjs +105 -0
  309. package/cjs/vef-select/props.cjs +4 -0
  310. package/cjs/vef-slider/hooks/use-slider-instance.cjs +16 -0
  311. package/cjs/vef-slider/index.cjs +39 -0
  312. package/cjs/vef-slider/props.cjs +4 -0
  313. package/cjs/vef-sortable-list/components/overlay-item.cjs +39 -0
  314. package/cjs/vef-sortable-list/components/sortable-item.cjs +83 -0
  315. package/cjs/vef-sortable-list/hooks/use-merged-items.cjs +24 -0
  316. package/cjs/vef-sortable-list/index.cjs +119 -0
  317. package/cjs/vef-sortable-list/props.cjs +4 -0
  318. package/cjs/vef-space/index.cjs +30 -0
  319. package/cjs/vef-space/props.cjs +4 -0
  320. package/cjs/vef-spin/index.cjs +17 -0
  321. package/cjs/vef-spin/props.cjs +4 -0
  322. package/cjs/vef-splitter/index.cjs +25 -0
  323. package/cjs/vef-splitter/props.cjs +4 -0
  324. package/cjs/vef-splitter-panel/index.cjs +17 -0
  325. package/cjs/vef-splitter-panel/props.cjs +4 -0
  326. package/cjs/vef-status/index.cjs +42 -0
  327. package/cjs/vef-status/props.cjs +4 -0
  328. package/cjs/vef-table/components/columns/bool.cjs +96 -0
  329. package/cjs/vef-table/components/columns/code.cjs +15 -0
  330. package/cjs/vef-table/components/columns/data-dictionary.cjs +97 -0
  331. package/cjs/vef-table/components/columns/enum.cjs +106 -0
  332. package/cjs/vef-table/components/columns/file.cjs +15 -0
  333. package/cjs/vef-table/components/columns/icon.cjs +15 -0
  334. package/cjs/vef-table/components/columns/id.cjs +87 -0
  335. package/cjs/vef-table/components/columns/image.cjs +16 -0
  336. package/cjs/vef-table/components/columns/index.cjs +36 -0
  337. package/cjs/vef-table/components/columns/markdown.cjs +15 -0
  338. package/cjs/vef-table/components/columns/number.cjs +88 -0
  339. package/cjs/vef-table/components/columns/props.cjs +4 -0
  340. package/cjs/vef-table/components/columns/render.cjs +33 -0
  341. package/cjs/vef-table/components/columns/rich-text.cjs +15 -0
  342. package/cjs/vef-table/components/columns/text.cjs +93 -0
  343. package/cjs/vef-table/components/columns-settings.cjs +242 -0
  344. package/cjs/vef-table/components/operation-buttons.cjs +243 -0
  345. package/cjs/vef-table/components/settings-icon.cjs +24 -0
  346. package/cjs/vef-table/components/table-footer.cjs +121 -0
  347. package/cjs/vef-table/helper.cjs +18 -0
  348. package/cjs/vef-table/hooks/use-computed-batch-buttons.cjs +36 -0
  349. package/cjs/vef-table/hooks/use-computed-columns.cjs +23 -0
  350. package/cjs/vef-table/hooks/use-computed-values.cjs +41 -0
  351. package/cjs/vef-table/hooks/use-data.cjs +60 -0
  352. package/cjs/vef-table/hooks/use-default-column-configs.cjs +30 -0
  353. package/cjs/vef-table/hooks/use-display-value.cjs +39 -0
  354. package/cjs/vef-table/hooks/use-helper-columns.cjs +70 -0
  355. package/cjs/vef-table/hooks/use-operation-column-width.cjs +53 -0
  356. package/cjs/vef-table/hooks/use-pagination-props.cjs +47 -0
  357. package/cjs/vef-table/hooks/use-row-props.cjs +42 -0
  358. package/cjs/vef-table/hooks/use-row-selection-config.cjs +115 -0
  359. package/cjs/vef-table/hooks/use-selected-rows.cjs +29 -0
  360. package/cjs/vef-table/hooks/use-table-columns.cjs +59 -0
  361. package/cjs/vef-table/hooks/use-table-context.cjs +26 -0
  362. package/cjs/vef-table/hooks/use-table-instance.cjs +18 -0
  363. package/cjs/vef-table/hooks/use-table-summary.cjs +45 -0
  364. package/cjs/vef-table/hooks/use-table-width.cjs +16 -0
  365. package/cjs/vef-table/index.cjs +281 -0
  366. package/cjs/vef-table/props.cjs +4 -0
  367. package/cjs/vef-table/store.cjs +22 -0
  368. package/cjs/vef-table/types.cjs +4 -0
  369. package/cjs/vef-tabs/index.cjs +30 -0
  370. package/cjs/vef-tabs/props.cjs +4 -0
  371. package/cjs/vef-tag/index.cjs +33 -0
  372. package/cjs/vef-tag/props.cjs +4 -0
  373. package/cjs/vef-temporal-picker/helper.cjs +60 -0
  374. package/cjs/vef-temporal-picker/hooks/use-dayjs-value.cjs +21 -0
  375. package/cjs/vef-temporal-picker/hooks/use-temporal-limit.cjs +37 -0
  376. package/cjs/vef-temporal-picker/hooks/use-temporal-picker-instance.cjs +22 -0
  377. package/cjs/vef-temporal-picker/index.cjs +130 -0
  378. package/cjs/vef-temporal-picker/props.cjs +4 -0
  379. package/cjs/vef-temporal-range-picker/helper.cjs +60 -0
  380. package/cjs/vef-temporal-range-picker/hooks/use-dayjs-values.cjs +26 -0
  381. package/cjs/vef-temporal-range-picker/hooks/use-temporal-limit.cjs +37 -0
  382. package/cjs/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.cjs +22 -0
  383. package/cjs/vef-temporal-range-picker/index.cjs +133 -0
  384. package/cjs/vef-temporal-range-picker/props.cjs +7 -0
  385. package/cjs/vef-text/index.cjs +85 -0
  386. package/cjs/vef-text/props.cjs +4 -0
  387. package/cjs/vef-textarea/hooks/use-textarea-instance.cjs +16 -0
  388. package/cjs/vef-textarea/index.cjs +72 -0
  389. package/cjs/vef-textarea/props.cjs +4 -0
  390. package/cjs/vef-title/index.cjs +101 -0
  391. package/cjs/vef-title/props.cjs +4 -0
  392. package/cjs/vef-tooltip/index.cjs +40 -0
  393. package/cjs/vef-tooltip/props.cjs +4 -0
  394. package/cjs/vef-tree-select/hooks/use-change-handler.cjs +36 -0
  395. package/cjs/vef-tree-select/hooks/use-data-options.cjs +48 -0
  396. package/cjs/vef-tree-select/hooks/use-tree-select-instance.cjs +23 -0
  397. package/cjs/vef-tree-select/index.cjs +94 -0
  398. package/cjs/vef-tree-select/props.cjs +4 -0
  399. package/cjs/vef-virtual-grid/index.cjs +121 -0
  400. package/cjs/vef-virtual-grid/props.cjs +4 -0
  401. package/cjs/vef-virtual-list/index.cjs +234 -0
  402. package/cjs/vef-virtual-list/props.cjs +4 -0
  403. package/esm/index.js +97 -0
  404. package/esm/internal/base.css.js +3 -0
  405. package/esm/internal/chart.js +19 -0
  406. package/esm/internal/index.js +5 -0
  407. package/esm/internal/modern-normalize.css.js +3 -0
  408. package/esm/internal/utils.js +7 -0
  409. package/esm/vef-access-denied/access-denied-icon.js +929 -0
  410. package/esm/vef-access-denied/index.js +64 -0
  411. package/esm/vef-access-denied/props.js +2 -0
  412. package/esm/vef-action-buttons/index.js +76 -0
  413. package/esm/vef-action-buttons/props.js +2 -0
  414. package/esm/vef-approval-flow-editor/components/edge.js +88 -0
  415. package/esm/vef-approval-flow-editor/components/label-value.js +37 -0
  416. package/esm/vef-approval-flow-editor/components/node-content.js +52 -0
  417. package/esm/vef-approval-flow-editor/components/node-selector.js +42 -0
  418. package/esm/vef-approval-flow-editor/components/node-toolbar.js +22 -0
  419. package/esm/vef-approval-flow-editor/components/nodes/approval.js +25 -0
  420. package/esm/vef-approval-flow-editor/components/nodes/condition.js +25 -0
  421. package/esm/vef-approval-flow-editor/components/nodes/end.js +25 -0
  422. package/esm/vef-approval-flow-editor/components/nodes/handle.js +25 -0
  423. package/esm/vef-approval-flow-editor/components/nodes/index.js +18 -0
  424. package/esm/vef-approval-flow-editor/components/nodes/submit.js +25 -0
  425. package/esm/vef-approval-flow-editor/components/selector-content.js +64 -0
  426. package/esm/vef-approval-flow-editor/components/source-handle.js +41 -0
  427. package/esm/vef-approval-flow-editor/components/target-handle.js +10 -0
  428. package/esm/vef-approval-flow-editor/constants.js +219 -0
  429. package/esm/vef-approval-flow-editor/helper.js +84 -0
  430. package/esm/vef-approval-flow-editor/hooks/use-edges-interaction.js +26 -0
  431. package/esm/vef-approval-flow-editor/hooks/use-element-selection.js +25 -0
  432. package/esm/vef-approval-flow-editor/hooks/use-nodes-interaction.js +52 -0
  433. package/esm/vef-approval-flow-editor/index.js +76 -0
  434. package/esm/vef-approval-flow-editor/models/edge-node.js +21 -0
  435. package/esm/vef-approval-flow-editor/models/flow-node.js +106 -0
  436. package/esm/vef-approval-flow-editor/props.js +2 -0
  437. package/esm/vef-approval-flow-editor/store.js +17 -0
  438. package/esm/vef-approval-flow-editor/styles.js +50 -0
  439. package/esm/vef-approval-flow-editor/types.js +16 -0
  440. package/esm/vef-area-chart/index.js +42 -0
  441. package/esm/vef-area-chart/props.js +2 -0
  442. package/esm/vef-auto-sizer/index.js +7 -0
  443. package/esm/vef-auto-sizer/props.js +2 -0
  444. package/esm/vef-avatar/index.js +21 -0
  445. package/esm/vef-avatar/props.js +2 -0
  446. package/esm/vef-avatar-group/index.js +26 -0
  447. package/esm/vef-avatar-group/props.js +2 -0
  448. package/esm/vef-badge/index.js +48 -0
  449. package/esm/vef-badge/props.js +2 -0
  450. package/esm/vef-bar-chart/index.js +42 -0
  451. package/esm/vef-bar-chart/props.js +2 -0
  452. package/esm/vef-bool/hooks/use-bool-instance.js +35 -0
  453. package/esm/vef-bool/index.js +61 -0
  454. package/esm/vef-bool/props.js +2 -0
  455. package/esm/vef-breadcrumb/index.js +49 -0
  456. package/esm/vef-breadcrumb/props.js +2 -0
  457. package/esm/vef-button/components/base-button.js +74 -0
  458. package/esm/vef-button/index.js +152 -0
  459. package/esm/vef-button/props.js +2 -0
  460. package/esm/vef-card/index.js +26 -0
  461. package/esm/vef-card/props.js +2 -0
  462. package/esm/vef-card-meta/index.js +13 -0
  463. package/esm/vef-card-meta/props.js +2 -0
  464. package/esm/vef-chart-container/hooks/use-chart-container-context.js +13 -0
  465. package/esm/vef-chart-container/index.js +124 -0
  466. package/esm/vef-chart-container/props.js +2 -0
  467. package/esm/vef-chart-legend-content/index.js +50 -0
  468. package/esm/vef-chart-legend-content/props.js +2 -0
  469. package/esm/vef-chart-tooltip-content/index.js +106 -0
  470. package/esm/vef-chart-tooltip-content/props.js +2 -0
  471. package/esm/vef-checkbox/hooks/use-checkbox-instance.js +21 -0
  472. package/esm/vef-checkbox/hooks/use-data-options.js +41 -0
  473. package/esm/vef-checkbox/index.js +89 -0
  474. package/esm/vef-checkbox/props.js +2 -0
  475. package/esm/vef-code-editor/hooks/use-change-handler.js +11 -0
  476. package/esm/vef-code-editor/hooks/use-config-extensions.js +49 -0
  477. package/esm/vef-code-editor/hooks/use-height-props.js +21 -0
  478. package/esm/vef-code-editor/hooks/use-language-extensions.js +118 -0
  479. package/esm/vef-code-editor/hooks/use-setup-options.js +38 -0
  480. package/esm/vef-code-editor/index.js +58 -0
  481. package/esm/vef-code-editor/props.js +2 -0
  482. package/esm/vef-code-editor/styles.js +144 -0
  483. package/esm/vef-col/index.js +12 -0
  484. package/esm/vef-col/props.js +2 -0
  485. package/esm/vef-color-picker/index.js +47 -0
  486. package/esm/vef-color-picker/props.js +2 -0
  487. package/esm/vef-compact/index.js +16 -0
  488. package/esm/vef-compact/props.js +2 -0
  489. package/esm/vef-config-provider/global-style.js +182 -0
  490. package/esm/vef-config-provider/hooks/use-ui-config.js +127 -0
  491. package/esm/vef-config-provider/index.js +124 -0
  492. package/esm/vef-config-provider/props.js +2 -0
  493. package/esm/vef-config-provider/store.js +22 -0
  494. package/esm/vef-container/index.js +19 -0
  495. package/esm/vef-container/props.js +2 -0
  496. package/esm/vef-crud-page/components/crud-actions.js +33 -0
  497. package/esm/vef-crud-page/components/crud-filter.js +55 -0
  498. package/esm/vef-crud-page/components/crud-footer.js +121 -0
  499. package/esm/vef-crud-page/components/crud-form-modal.js +54 -0
  500. package/esm/vef-crud-page/components/crud-header.js +30 -0
  501. package/esm/vef-crud-page/components/crud-table.js +77 -0
  502. package/esm/vef-crud-page/hooks/use-action-buttons.js +38 -0
  503. package/esm/vef-crud-page/hooks/use-crud-context.js +21 -0
  504. package/esm/vef-crud-page/hooks/use-crud-schema.js +117 -0
  505. package/esm/vef-crud-page/hooks/use-operation-buttons.js +61 -0
  506. package/esm/vef-crud-page/index.js +151 -0
  507. package/esm/vef-crud-page/props.js +2 -0
  508. package/esm/vef-crud-page/store.js +143 -0
  509. package/esm/vef-crud-page/types.js +2 -0
  510. package/esm/vef-data-grid/index.js +86 -0
  511. package/esm/vef-data-grid/props.js +2 -0
  512. package/esm/vef-data-table/index.js +10 -0
  513. package/esm/vef-data-table/props.js +2 -0
  514. package/esm/vef-divider/index.js +25 -0
  515. package/esm/vef-divider/props.js +2 -0
  516. package/esm/vef-drawer/components/action-button-wrapper.js +50 -0
  517. package/esm/vef-drawer/components/button-props.js +2 -0
  518. package/esm/vef-drawer/components/cancel-action-button.js +22 -0
  519. package/esm/vef-drawer/components/ok-action-button.js +21 -0
  520. package/esm/vef-drawer/context.js +16 -0
  521. package/esm/vef-drawer/index.js +160 -0
  522. package/esm/vef-drawer/props.js +2 -0
  523. package/esm/vef-dropdown/index.js +93 -0
  524. package/esm/vef-dropdown/props.js +2 -0
  525. package/esm/vef-dynamic-icon/index.js +47 -0
  526. package/esm/vef-dynamic-icon/props.js +7 -0
  527. package/esm/vef-empty/index.js +38 -0
  528. package/esm/vef-empty/props.js +2 -0
  529. package/esm/vef-empty-placeholder/index.js +21 -0
  530. package/esm/vef-empty-placeholder/props.js +2 -0
  531. package/esm/vef-error/error-icon.js +758 -0
  532. package/esm/vef-error/index.js +68 -0
  533. package/esm/vef-error/props.js +2 -0
  534. package/esm/vef-filter/components/action-buttons.js +136 -0
  535. package/esm/vef-filter/components/advanced-filter.js +73 -0
  536. package/esm/vef-filter/components/basic-filter.js +51 -0
  537. package/esm/vef-filter/components/fields/index.js +20 -0
  538. package/esm/vef-filter/components/fields/input-number.js +91 -0
  539. package/esm/vef-filter/components/fields/input.js +68 -0
  540. package/esm/vef-filter/components/fields/props.js +2 -0
  541. package/esm/vef-filter/components/fields/radio.js +110 -0
  542. package/esm/vef-filter/components/fields/select.js +141 -0
  543. package/esm/vef-filter/components/fields/tree-select.js +137 -0
  544. package/esm/vef-filter/components/filter-field.js +20 -0
  545. package/esm/vef-filter/components/filter-item.js +113 -0
  546. package/esm/vef-filter/event.js +45 -0
  547. package/esm/vef-filter/helper.js +16 -0
  548. package/esm/vef-filter/hooks/use-action-handlers.js +71 -0
  549. package/esm/vef-filter/hooks/use-computed-values.js +56 -0
  550. package/esm/vef-filter/hooks/use-filter-context.js +19 -0
  551. package/esm/vef-filter/hooks/use-filter-initialization.js +38 -0
  552. package/esm/vef-filter/hooks/use-filter-instance.js +27 -0
  553. package/esm/vef-filter/hooks/use-filter-items.js +24 -0
  554. package/esm/vef-filter/hooks/use-filter-values-change.js +31 -0
  555. package/esm/vef-filter/hooks/use-label-config.js +28 -0
  556. package/esm/vef-filter/index.js +148 -0
  557. package/esm/vef-filter/props.js +2 -0
  558. package/esm/vef-filter/store.js +72 -0
  559. package/esm/vef-filter/types.js +2 -0
  560. package/esm/vef-flex/index.js +32 -0
  561. package/esm/vef-flex/props.js +2 -0
  562. package/esm/vef-float-button/index.js +50 -0
  563. package/esm/vef-float-button/props.js +2 -0
  564. package/esm/vef-float-button-group/index.js +21 -0
  565. package/esm/vef-float-button-group/props.js +2 -0
  566. package/esm/vef-form/components/fields/icon-select.js +66 -0
  567. package/esm/vef-form/components/fields/index.js +26 -0
  568. package/esm/vef-form/components/fields/input-number.js +124 -0
  569. package/esm/vef-form/components/fields/input.js +133 -0
  570. package/esm/vef-form/components/fields/password.js +116 -0
  571. package/esm/vef-form/components/fields/props.js +2 -0
  572. package/esm/vef-form/components/fields/radio.js +107 -0
  573. package/esm/vef-form/components/fields/select.js +239 -0
  574. package/esm/vef-form/components/fields/textarea.js +110 -0
  575. package/esm/vef-form/components/fields/tree-select.js +235 -0
  576. package/esm/vef-form/components/form-actions.js +59 -0
  577. package/esm/vef-form/components/form-content.js +147 -0
  578. package/esm/vef-form/components/form-field.js +23 -0
  579. package/esm/vef-form/components/form-group.js +73 -0
  580. package/esm/vef-form/components/form-hidden-item.js +37 -0
  581. package/esm/vef-form/components/form-item.js +80 -0
  582. package/esm/vef-form/components/form-row.js +99 -0
  583. package/esm/vef-form/event.js +45 -0
  584. package/esm/vef-form/helper.js +16 -0
  585. package/esm/vef-form/hooks/use-action-handlers.js +131 -0
  586. package/esm/vef-form/hooks/use-columns-layout.js +123 -0
  587. package/esm/vef-form/hooks/use-computed-values.js +56 -0
  588. package/esm/vef-form/hooks/use-form-context.js +15 -0
  589. package/esm/vef-form/hooks/use-form-initialization.js +46 -0
  590. package/esm/vef-form/hooks/use-form-instance.js +27 -0
  591. package/esm/vef-form/hooks/use-form-values-change.js +31 -0
  592. package/esm/vef-form/hooks/use-label-width.js +19 -0
  593. package/esm/vef-form/index.js +175 -0
  594. package/esm/vef-form/props.js +2 -0
  595. package/esm/vef-form/store.js +66 -0
  596. package/esm/vef-form/types.js +2 -0
  597. package/esm/vef-form/validation-rules.js +287 -0
  598. package/esm/vef-form-drawer/index.js +99 -0
  599. package/esm/vef-form-drawer/props.js +2 -0
  600. package/esm/vef-form-modal/index.js +96 -0
  601. package/esm/vef-form-modal/props.js +2 -0
  602. package/esm/vef-generic-select/index.js +82 -0
  603. package/esm/vef-generic-select/props.js +2 -0
  604. package/esm/vef-grid/index.js +90 -0
  605. package/esm/vef-grid/props.js +5 -0
  606. package/esm/vef-grid-item/index.js +53 -0
  607. package/esm/vef-grid-item/props.js +2 -0
  608. package/esm/vef-icon/index.js +51 -0
  609. package/esm/vef-icon/props.js +2 -0
  610. package/esm/vef-icon-select/index.js +176 -0
  611. package/esm/vef-icon-select/props.js +2 -0
  612. package/esm/vef-input/hooks/use-input-instance.js +16 -0
  613. package/esm/vef-input/index.js +65 -0
  614. package/esm/vef-input/props.js +2 -0
  615. package/esm/vef-input-number/hooks/use-input-number-instance.js +14 -0
  616. package/esm/vef-input-number/index.js +149 -0
  617. package/esm/vef-input-number/props.js +2 -0
  618. package/esm/vef-intellisense-code-editor/hooks/use-change-handler.js +11 -0
  619. package/esm/vef-intellisense-code-editor/hooks/use-editor-options.js +32 -0
  620. package/esm/vef-intellisense-code-editor/hooks/use-path.js +31 -0
  621. package/esm/vef-intellisense-code-editor/index.js +43 -0
  622. package/esm/vef-intellisense-code-editor/loader.js +121 -0
  623. package/esm/vef-intellisense-code-editor/props.js +2 -0
  624. package/esm/vef-intellisense-code-editor/styles.js +27 -0
  625. package/esm/vef-intellisense-code-editor/themes/github-light.json.js +3 -0
  626. package/esm/vef-json-viewer/index.js +37 -0
  627. package/esm/vef-json-viewer/props.js +2 -0
  628. package/esm/vef-layout/common-styles.js +11 -0
  629. package/esm/vef-layout/components/content.js +14 -0
  630. package/esm/vef-layout/components/font-size.js +69 -0
  631. package/esm/vef-layout/components/fullscreen.js +24 -0
  632. package/esm/vef-layout/components/header-action-icons.js +39 -0
  633. package/esm/vef-layout/components/header-content.js +20 -0
  634. package/esm/vef-layout/components/header.js +76 -0
  635. package/esm/vef-layout/components/icon-boy.js +70 -0
  636. package/esm/vef-layout/components/icon-girl.js +77 -0
  637. package/esm/vef-layout/components/icon-menu-fold-left.js +24 -0
  638. package/esm/vef-layout/components/icon-menu-unfold-left.js +24 -0
  639. package/esm/vef-layout/components/menu-groups.js +141 -0
  640. package/esm/vef-layout/components/message.js +12 -0
  641. package/esm/vef-layout/components/search.js +12 -0
  642. package/esm/vef-layout/components/sider.js +99 -0
  643. package/esm/vef-layout/components/title.js +82 -0
  644. package/esm/vef-layout/components/user-avatar.js +88 -0
  645. package/esm/vef-layout/hooks/use-layout-context.js +11 -0
  646. package/esm/vef-layout/index.js +37 -0
  647. package/esm/vef-layout/logo.svg.js +3 -0
  648. package/esm/vef-layout/props.js +2 -0
  649. package/esm/vef-layout/store.js +17 -0
  650. package/esm/vef-line-chart/index.js +39 -0
  651. package/esm/vef-line-chart/props.js +2 -0
  652. package/esm/vef-loading-placeholder/index.js +45 -0
  653. package/esm/vef-loading-placeholder/props.js +2 -0
  654. package/esm/vef-login/index.js +186 -0
  655. package/esm/vef-login/login-icon.js +669 -0
  656. package/esm/vef-login/props.js +2 -0
  657. package/esm/vef-menu/index.js +80 -0
  658. package/esm/vef-menu/props.js +2 -0
  659. package/esm/vef-modal/components/action-button-wrapper.js +50 -0
  660. package/esm/vef-modal/components/button-props.js +2 -0
  661. package/esm/vef-modal/components/cancel-action-button.js +19 -0
  662. package/esm/vef-modal/components/ok-action-button.js +21 -0
  663. package/esm/vef-modal/context.js +16 -0
  664. package/esm/vef-modal/index.js +242 -0
  665. package/esm/vef-modal/props.js +2 -0
  666. package/esm/vef-not-found/index.js +65 -0
  667. package/esm/vef-not-found/not-found-icon.js +845 -0
  668. package/esm/vef-not-found/props.js +2 -0
  669. package/esm/vef-page/index.js +136 -0
  670. package/esm/vef-page/props.js +2 -0
  671. package/esm/vef-pagination/index.js +58 -0
  672. package/esm/vef-pagination/props.js +14 -0
  673. package/esm/vef-paragraph/index.js +90 -0
  674. package/esm/vef-paragraph/props.js +2 -0
  675. package/esm/vef-password/hooks/use-password-instance.js +14 -0
  676. package/esm/vef-password/index.js +68 -0
  677. package/esm/vef-password/props.js +2 -0
  678. package/esm/vef-pie-chart/index.js +71 -0
  679. package/esm/vef-pie-chart/props.js +2 -0
  680. package/esm/vef-popconfirm/index.js +57 -0
  681. package/esm/vef-popconfirm/props.js +2 -0
  682. package/esm/vef-popover/index.js +35 -0
  683. package/esm/vef-popover/props.js +2 -0
  684. package/esm/vef-radio/hooks/use-data-options.js +41 -0
  685. package/esm/vef-radio/hooks/use-radio-instance.js +21 -0
  686. package/esm/vef-radio/index.js +89 -0
  687. package/esm/vef-radio/props.js +2 -0
  688. package/esm/vef-rate/hooks/use-rate-instance.js +14 -0
  689. package/esm/vef-rate/index.js +31 -0
  690. package/esm/vef-rate/props.js +2 -0
  691. package/esm/vef-responsive-container/index.js +58 -0
  692. package/esm/vef-responsive-container/props.js +2 -0
  693. package/esm/vef-responsive-item/index.js +25 -0
  694. package/esm/vef-responsive-item/props.js +2 -0
  695. package/esm/vef-ribbon/index.js +39 -0
  696. package/esm/vef-ribbon/props.js +2 -0
  697. package/esm/vef-row/index.js +13 -0
  698. package/esm/vef-row/props.js +2 -0
  699. package/esm/vef-scroll-area/components/scrollbar.js +60 -0
  700. package/esm/vef-scroll-area/index.js +78 -0
  701. package/esm/vef-scroll-area/props.js +2 -0
  702. package/esm/vef-segment/index.js +37 -0
  703. package/esm/vef-segment/props.js +2 -0
  704. package/esm/vef-select/components/option.js +30 -0
  705. package/esm/vef-select/hooks/use-data-options.js +48 -0
  706. package/esm/vef-select/hooks/use-field-names.js +22 -0
  707. package/esm/vef-select/hooks/use-render-label.js +30 -0
  708. package/esm/vef-select/hooks/use-render-option.js +20 -0
  709. package/esm/vef-select/hooks/use-select-instance.js +21 -0
  710. package/esm/vef-select/index.js +101 -0
  711. package/esm/vef-select/props.js +2 -0
  712. package/esm/vef-slider/hooks/use-slider-instance.js +14 -0
  713. package/esm/vef-slider/index.js +35 -0
  714. package/esm/vef-slider/props.js +2 -0
  715. package/esm/vef-sortable-list/components/overlay-item.js +35 -0
  716. package/esm/vef-sortable-list/components/sortable-item.js +79 -0
  717. package/esm/vef-sortable-list/hooks/use-merged-items.js +22 -0
  718. package/esm/vef-sortable-list/index.js +115 -0
  719. package/esm/vef-sortable-list/props.js +2 -0
  720. package/esm/vef-space/index.js +26 -0
  721. package/esm/vef-space/props.js +2 -0
  722. package/esm/vef-spin/index.js +13 -0
  723. package/esm/vef-spin/props.js +2 -0
  724. package/esm/vef-splitter/index.js +21 -0
  725. package/esm/vef-splitter/props.js +2 -0
  726. package/esm/vef-splitter-panel/index.js +13 -0
  727. package/esm/vef-splitter-panel/props.js +2 -0
  728. package/esm/vef-status/index.js +38 -0
  729. package/esm/vef-status/props.js +2 -0
  730. package/esm/vef-table/components/columns/bool.js +92 -0
  731. package/esm/vef-table/components/columns/code.js +11 -0
  732. package/esm/vef-table/components/columns/data-dictionary.js +93 -0
  733. package/esm/vef-table/components/columns/enum.js +102 -0
  734. package/esm/vef-table/components/columns/file.js +11 -0
  735. package/esm/vef-table/components/columns/icon.js +11 -0
  736. package/esm/vef-table/components/columns/id.js +83 -0
  737. package/esm/vef-table/components/columns/image.js +12 -0
  738. package/esm/vef-table/components/columns/index.js +34 -0
  739. package/esm/vef-table/components/columns/markdown.js +11 -0
  740. package/esm/vef-table/components/columns/number.js +84 -0
  741. package/esm/vef-table/components/columns/props.js +2 -0
  742. package/esm/vef-table/components/columns/render.js +29 -0
  743. package/esm/vef-table/components/columns/rich-text.js +11 -0
  744. package/esm/vef-table/components/columns/text.js +89 -0
  745. package/esm/vef-table/components/columns-settings.js +238 -0
  746. package/esm/vef-table/components/operation-buttons.js +239 -0
  747. package/esm/vef-table/components/settings-icon.js +20 -0
  748. package/esm/vef-table/components/table-footer.js +117 -0
  749. package/esm/vef-table/helper.js +16 -0
  750. package/esm/vef-table/hooks/use-computed-batch-buttons.js +34 -0
  751. package/esm/vef-table/hooks/use-computed-columns.js +21 -0
  752. package/esm/vef-table/hooks/use-computed-values.js +39 -0
  753. package/esm/vef-table/hooks/use-data.js +58 -0
  754. package/esm/vef-table/hooks/use-default-column-configs.js +28 -0
  755. package/esm/vef-table/hooks/use-display-value.js +37 -0
  756. package/esm/vef-table/hooks/use-helper-columns.js +68 -0
  757. package/esm/vef-table/hooks/use-operation-column-width.js +51 -0
  758. package/esm/vef-table/hooks/use-pagination-props.js +45 -0
  759. package/esm/vef-table/hooks/use-row-props.js +40 -0
  760. package/esm/vef-table/hooks/use-row-selection-config.js +113 -0
  761. package/esm/vef-table/hooks/use-selected-rows.js +27 -0
  762. package/esm/vef-table/hooks/use-table-columns.js +57 -0
  763. package/esm/vef-table/hooks/use-table-context.js +22 -0
  764. package/esm/vef-table/hooks/use-table-instance.js +16 -0
  765. package/esm/vef-table/hooks/use-table-summary.js +43 -0
  766. package/esm/vef-table/hooks/use-table-width.js +14 -0
  767. package/esm/vef-table/index.js +277 -0
  768. package/esm/vef-table/props.js +2 -0
  769. package/esm/vef-table/store.js +18 -0
  770. package/esm/vef-table/types.js +2 -0
  771. package/esm/vef-tabs/index.js +26 -0
  772. package/esm/vef-tabs/props.js +2 -0
  773. package/esm/vef-tag/index.js +29 -0
  774. package/esm/vef-tag/props.js +2 -0
  775. package/esm/vef-temporal-picker/helper.js +58 -0
  776. package/esm/vef-temporal-picker/hooks/use-dayjs-value.js +19 -0
  777. package/esm/vef-temporal-picker/hooks/use-temporal-limit.js +35 -0
  778. package/esm/vef-temporal-picker/hooks/use-temporal-picker-instance.js +20 -0
  779. package/esm/vef-temporal-picker/index.js +126 -0
  780. package/esm/vef-temporal-picker/props.js +2 -0
  781. package/esm/vef-temporal-range-picker/helper.js +58 -0
  782. package/esm/vef-temporal-range-picker/hooks/use-dayjs-values.js +24 -0
  783. package/esm/vef-temporal-range-picker/hooks/use-temporal-limit.js +35 -0
  784. package/esm/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.js +20 -0
  785. package/esm/vef-temporal-range-picker/index.js +129 -0
  786. package/esm/vef-temporal-range-picker/props.js +5 -0
  787. package/esm/vef-text/index.js +81 -0
  788. package/esm/vef-text/props.js +2 -0
  789. package/esm/vef-textarea/hooks/use-textarea-instance.js +14 -0
  790. package/esm/vef-textarea/index.js +68 -0
  791. package/esm/vef-textarea/props.js +2 -0
  792. package/esm/vef-title/index.js +97 -0
  793. package/esm/vef-title/props.js +2 -0
  794. package/esm/vef-tooltip/index.js +36 -0
  795. package/esm/vef-tooltip/props.js +2 -0
  796. package/esm/vef-tree-select/hooks/use-change-handler.js +34 -0
  797. package/esm/vef-tree-select/hooks/use-data-options.js +46 -0
  798. package/esm/vef-tree-select/hooks/use-tree-select-instance.js +21 -0
  799. package/esm/vef-tree-select/index.js +90 -0
  800. package/esm/vef-tree-select/props.js +2 -0
  801. package/esm/vef-virtual-grid/index.js +117 -0
  802. package/esm/vef-virtual-grid/props.js +2 -0
  803. package/esm/vef-virtual-list/index.js +230 -0
  804. package/esm/vef-virtual-list/props.js +2 -0
  805. package/package.json +14 -13
  806. package/types/vef-dynamic-icon/props.d.ts +1 -1
  807. package/es/index.js +0 -1
  808. package/es/internal/base.css.js +0 -491
  809. package/es/internal/chart.js +0 -1
  810. package/es/internal/index.js +0 -1
  811. package/es/internal/modern-normalize.css.js +0 -214
  812. package/es/internal/utils.js +0 -1
  813. package/es/vef-access-denied/access-denied-icon.js +0 -1
  814. package/es/vef-access-denied/index.js +0 -27
  815. package/es/vef-action-buttons/index.js +0 -1
  816. package/es/vef-approval-flow-editor/components/edge.js +0 -6
  817. package/es/vef-approval-flow-editor/components/label-value.js +0 -17
  818. package/es/vef-approval-flow-editor/components/node-content.js +0 -16
  819. package/es/vef-approval-flow-editor/components/node-selector.js +0 -12
  820. package/es/vef-approval-flow-editor/components/node-toolbar.js +0 -1
  821. package/es/vef-approval-flow-editor/components/nodes/approval.js +0 -1
  822. package/es/vef-approval-flow-editor/components/nodes/condition.js +0 -1
  823. package/es/vef-approval-flow-editor/components/nodes/end.js +0 -1
  824. package/es/vef-approval-flow-editor/components/nodes/handle.js +0 -1
  825. package/es/vef-approval-flow-editor/components/nodes/index.js +0 -1
  826. package/es/vef-approval-flow-editor/components/nodes/submit.js +0 -1
  827. package/es/vef-approval-flow-editor/components/selector-content.js +0 -24
  828. package/es/vef-approval-flow-editor/components/source-handle.js +0 -1
  829. package/es/vef-approval-flow-editor/components/target-handle.js +0 -1
  830. package/es/vef-approval-flow-editor/constants.js +0 -1
  831. package/es/vef-approval-flow-editor/helper.js +0 -1
  832. package/es/vef-approval-flow-editor/hooks/use-edges-interaction.js +0 -1
  833. package/es/vef-approval-flow-editor/hooks/use-element-selection.js +0 -1
  834. package/es/vef-approval-flow-editor/hooks/use-nodes-interaction.js +0 -1
  835. package/es/vef-approval-flow-editor/index.js +0 -1
  836. package/es/vef-approval-flow-editor/models/edge-node.js +0 -1
  837. package/es/vef-approval-flow-editor/models/flow-node.js +0 -1
  838. package/es/vef-approval-flow-editor/store.js +0 -1
  839. package/es/vef-approval-flow-editor/styles.js +0 -41
  840. package/es/vef-approval-flow-editor/types.js +0 -1
  841. package/es/vef-area-chart/index.js +0 -1
  842. package/es/vef-auto-sizer/index.js +0 -1
  843. package/es/vef-avatar/index.js +0 -1
  844. package/es/vef-avatar-group/index.js +0 -1
  845. package/es/vef-badge/index.js +0 -1
  846. package/es/vef-bar-chart/index.js +0 -1
  847. package/es/vef-bool/hooks/use-bool-instance.js +0 -1
  848. package/es/vef-bool/index.js +0 -1
  849. package/es/vef-breadcrumb/index.js +0 -1
  850. package/es/vef-button/components/base-button.js +0 -1
  851. package/es/vef-button/index.js +0 -1
  852. package/es/vef-card/index.js +0 -1
  853. package/es/vef-card-meta/index.js +0 -1
  854. package/es/vef-chart-container/hooks/use-chart-container-context.js +0 -1
  855. package/es/vef-chart-container/index.js +0 -57
  856. package/es/vef-chart-legend-content/index.js +0 -16
  857. package/es/vef-chart-tooltip-content/index.js +0 -42
  858. package/es/vef-checkbox/hooks/use-checkbox-instance.js +0 -1
  859. package/es/vef-checkbox/hooks/use-data-options.js +0 -1
  860. package/es/vef-checkbox/index.js +0 -3
  861. package/es/vef-code-editor/hooks/use-change-handler.js +0 -1
  862. package/es/vef-code-editor/hooks/use-config-extensions.js +0 -1
  863. package/es/vef-code-editor/hooks/use-height-props.js +0 -1
  864. package/es/vef-code-editor/hooks/use-language-extensions.js +0 -1
  865. package/es/vef-code-editor/hooks/use-setup-options.js +0 -1
  866. package/es/vef-code-editor/index.js +0 -1
  867. package/es/vef-code-editor/styles.js +0 -137
  868. package/es/vef-col/index.js +0 -1
  869. package/es/vef-color-picker/index.js +0 -1
  870. package/es/vef-compact/index.js +0 -1
  871. package/es/vef-config-provider/global-style.js +0 -173
  872. package/es/vef-config-provider/hooks/use-ui-config.js +0 -1
  873. package/es/vef-config-provider/index.js +0 -5
  874. package/es/vef-config-provider/store.js +0 -1
  875. package/es/vef-container/index.js +0 -1
  876. package/es/vef-crud-page/components/crud-actions.js +0 -1
  877. package/es/vef-crud-page/components/crud-filter.js +0 -1
  878. package/es/vef-crud-page/components/crud-footer.js +0 -7
  879. package/es/vef-crud-page/components/crud-form-modal.js +0 -1
  880. package/es/vef-crud-page/components/crud-header.js +0 -1
  881. package/es/vef-crud-page/components/crud-table.js +0 -1
  882. package/es/vef-crud-page/hooks/use-action-buttons.js +0 -1
  883. package/es/vef-crud-page/hooks/use-crud-context.js +0 -1
  884. package/es/vef-crud-page/hooks/use-crud-schema.js +0 -1
  885. package/es/vef-crud-page/hooks/use-operation-buttons.js +0 -1
  886. package/es/vef-crud-page/index.js +0 -1
  887. package/es/vef-crud-page/store.js +0 -1
  888. package/es/vef-data-grid/index.js +0 -1
  889. package/es/vef-data-table/index.js +0 -1
  890. package/es/vef-divider/index.js +0 -1
  891. package/es/vef-drawer/components/action-button-wrapper.js +0 -1
  892. package/es/vef-drawer/components/button-props.js +0 -1
  893. package/es/vef-drawer/components/cancel-action-button.js +0 -1
  894. package/es/vef-drawer/components/ok-action-button.js +0 -1
  895. package/es/vef-drawer/context.js +0 -1
  896. package/es/vef-drawer/index.js +0 -8
  897. package/es/vef-dropdown/index.js +0 -1
  898. package/es/vef-dynamic-icon/index.js +0 -1
  899. package/es/vef-dynamic-icon/props.js +0 -1
  900. package/es/vef-empty/index.js +0 -1
  901. package/es/vef-empty-placeholder/index.js +0 -5
  902. package/es/vef-error/error-icon.js +0 -1
  903. package/es/vef-error/index.js +0 -28
  904. package/es/vef-filter/components/action-buttons.js +0 -19
  905. package/es/vef-filter/components/advanced-filter.js +0 -9
  906. package/es/vef-filter/components/basic-filter.js +0 -19
  907. package/es/vef-filter/components/fields/index.js +0 -1
  908. package/es/vef-filter/components/fields/input-number.js +0 -1
  909. package/es/vef-filter/components/fields/input.js +0 -1
  910. package/es/vef-filter/components/fields/radio.js +0 -1
  911. package/es/vef-filter/components/fields/select.js +0 -1
  912. package/es/vef-filter/components/fields/tree-select.js +0 -1
  913. package/es/vef-filter/components/filter-field.js +0 -1
  914. package/es/vef-filter/components/filter-item.js +0 -1
  915. package/es/vef-filter/event.js +0 -1
  916. package/es/vef-filter/helper.js +0 -1
  917. package/es/vef-filter/hooks/use-action-handlers.js +0 -1
  918. package/es/vef-filter/hooks/use-computed-values.js +0 -1
  919. package/es/vef-filter/hooks/use-filter-context.js +0 -1
  920. package/es/vef-filter/hooks/use-filter-initialization.js +0 -1
  921. package/es/vef-filter/hooks/use-filter-instance.js +0 -1
  922. package/es/vef-filter/hooks/use-filter-items.js +0 -1
  923. package/es/vef-filter/hooks/use-filter-values-change.js +0 -1
  924. package/es/vef-filter/hooks/use-label-config.js +0 -1
  925. package/es/vef-filter/index.js +0 -8
  926. package/es/vef-filter/store.js +0 -1
  927. package/es/vef-flex/index.js +0 -1
  928. package/es/vef-float-button/index.js +0 -1
  929. package/es/vef-float-button-group/index.js +0 -1
  930. package/es/vef-form/components/fields/icon-select.js +0 -1
  931. package/es/vef-form/components/fields/index.js +0 -1
  932. package/es/vef-form/components/fields/input-number.js +0 -1
  933. package/es/vef-form/components/fields/input.js +0 -1
  934. package/es/vef-form/components/fields/password.js +0 -1
  935. package/es/vef-form/components/fields/radio.js +0 -1
  936. package/es/vef-form/components/fields/select.js +0 -1
  937. package/es/vef-form/components/fields/textarea.js +0 -1
  938. package/es/vef-form/components/fields/tree-select.js +0 -1
  939. package/es/vef-form/components/form-actions.js +0 -3
  940. package/es/vef-form/components/form-content.js +0 -4
  941. package/es/vef-form/components/form-field.js +0 -1
  942. package/es/vef-form/components/form-group.js +0 -11
  943. package/es/vef-form/components/form-hidden-item.js +0 -1
  944. package/es/vef-form/components/form-item.js +0 -1
  945. package/es/vef-form/components/form-row.js +0 -1
  946. package/es/vef-form/event.js +0 -1
  947. package/es/vef-form/helper.js +0 -1
  948. package/es/vef-form/hooks/use-action-handlers.js +0 -1
  949. package/es/vef-form/hooks/use-columns-layout.js +0 -1
  950. package/es/vef-form/hooks/use-computed-values.js +0 -1
  951. package/es/vef-form/hooks/use-form-context.js +0 -1
  952. package/es/vef-form/hooks/use-form-initialization.js +0 -1
  953. package/es/vef-form/hooks/use-form-instance.js +0 -1
  954. package/es/vef-form/hooks/use-form-values-change.js +0 -1
  955. package/es/vef-form/hooks/use-label-width.js +0 -1
  956. package/es/vef-form/index.js +0 -3
  957. package/es/vef-form/store.js +0 -1
  958. package/es/vef-form/validation-rules.js +0 -1
  959. package/es/vef-form-drawer/index.js +0 -1
  960. package/es/vef-form-modal/index.js +0 -1
  961. package/es/vef-generic-select/index.js +0 -1
  962. package/es/vef-grid/index.js +0 -24
  963. package/es/vef-grid/props.js +0 -1
  964. package/es/vef-grid-item/index.js +0 -1
  965. package/es/vef-icon/index.js +0 -1
  966. package/es/vef-icon-select/index.js +0 -40
  967. package/es/vef-input/hooks/use-input-instance.js +0 -1
  968. package/es/vef-input/index.js +0 -1
  969. package/es/vef-input-number/hooks/use-input-number-instance.js +0 -1
  970. package/es/vef-input-number/index.js +0 -1
  971. package/es/vef-intellisense-code-editor/hooks/use-change-handler.js +0 -1
  972. package/es/vef-intellisense-code-editor/hooks/use-editor-options.js +0 -1
  973. package/es/vef-intellisense-code-editor/hooks/use-path.js +0 -1
  974. package/es/vef-intellisense-code-editor/index.js +0 -1
  975. package/es/vef-intellisense-code-editor/loader.js +0 -1
  976. package/es/vef-intellisense-code-editor/styles.js +0 -20
  977. package/es/vef-intellisense-code-editor/themes/github-light.json.js +0 -349
  978. package/es/vef-json-viewer/index.js +0 -1
  979. package/es/vef-layout/common-styles.js +0 -4
  980. package/es/vef-layout/components/content.js +0 -1
  981. package/es/vef-layout/components/font-size.js +0 -1
  982. package/es/vef-layout/components/fullscreen.js +0 -1
  983. package/es/vef-layout/components/header-action-icons.js +0 -15
  984. package/es/vef-layout/components/header-content.js +0 -1
  985. package/es/vef-layout/components/header.js +0 -12
  986. package/es/vef-layout/components/icon-boy.js +0 -1
  987. package/es/vef-layout/components/icon-girl.js +0 -1
  988. package/es/vef-layout/components/icon-menu-fold-left.js +0 -1
  989. package/es/vef-layout/components/icon-menu-unfold-left.js +0 -1
  990. package/es/vef-layout/components/menu-groups.js +0 -32
  991. package/es/vef-layout/components/message.js +0 -1
  992. package/es/vef-layout/components/search.js +0 -1
  993. package/es/vef-layout/components/sider.js +0 -49
  994. package/es/vef-layout/components/title.js +0 -36
  995. package/es/vef-layout/components/user-avatar.js +0 -16
  996. package/es/vef-layout/hooks/use-layout-context.js +0 -1
  997. package/es/vef-layout/index.js +0 -5
  998. package/es/vef-layout/logo.svg.js +0 -1
  999. package/es/vef-layout/store.js +0 -1
  1000. package/es/vef-line-chart/index.js +0 -1
  1001. package/es/vef-loading-placeholder/index.js +0 -7
  1002. package/es/vef-login/index.js +0 -54
  1003. package/es/vef-login/login-icon.js +0 -1
  1004. package/es/vef-menu/index.js +0 -6
  1005. package/es/vef-modal/components/action-button-wrapper.js +0 -1
  1006. package/es/vef-modal/components/button-props.js +0 -1
  1007. package/es/vef-modal/components/cancel-action-button.js +0 -1
  1008. package/es/vef-modal/components/ok-action-button.js +0 -1
  1009. package/es/vef-modal/context.js +0 -1
  1010. package/es/vef-modal/index.js +0 -4
  1011. package/es/vef-not-found/index.js +0 -28
  1012. package/es/vef-not-found/not-found-icon.js +0 -1
  1013. package/es/vef-page/index.js +0 -58
  1014. package/es/vef-pagination/index.js +0 -1
  1015. package/es/vef-pagination/props.js +0 -1
  1016. package/es/vef-paragraph/index.js +0 -1
  1017. package/es/vef-password/hooks/use-password-instance.js +0 -1
  1018. package/es/vef-password/index.js +0 -1
  1019. package/es/vef-pie-chart/index.js +0 -8
  1020. package/es/vef-popconfirm/index.js +0 -1
  1021. package/es/vef-popover/index.js +0 -1
  1022. package/es/vef-radio/hooks/use-data-options.js +0 -1
  1023. package/es/vef-radio/hooks/use-radio-instance.js +0 -1
  1024. package/es/vef-radio/index.js +0 -3
  1025. package/es/vef-rate/hooks/use-rate-instance.js +0 -1
  1026. package/es/vef-rate/index.js +0 -1
  1027. package/es/vef-responsive-container/index.js +0 -5
  1028. package/es/vef-responsive-item/index.js +0 -3
  1029. package/es/vef-ribbon/index.js +0 -1
  1030. package/es/vef-row/index.js +0 -1
  1031. package/es/vef-scroll-area/components/scrollbar.js +0 -32
  1032. package/es/vef-scroll-area/index.js +0 -11
  1033. package/es/vef-segment/index.js +0 -1
  1034. package/es/vef-select/components/option.js +0 -9
  1035. package/es/vef-select/hooks/use-data-options.js +0 -1
  1036. package/es/vef-select/hooks/use-field-names.js +0 -1
  1037. package/es/vef-select/hooks/use-render-label.js +0 -8
  1038. package/es/vef-select/hooks/use-render-option.js +0 -1
  1039. package/es/vef-select/hooks/use-select-instance.js +0 -1
  1040. package/es/vef-select/index.js +0 -1
  1041. package/es/vef-slider/hooks/use-slider-instance.js +0 -1
  1042. package/es/vef-slider/index.js +0 -1
  1043. package/es/vef-sortable-list/components/overlay-item.js +0 -5
  1044. package/es/vef-sortable-list/components/sortable-item.js +0 -5
  1045. package/es/vef-sortable-list/hooks/use-merged-items.js +0 -1
  1046. package/es/vef-sortable-list/index.js +0 -1
  1047. package/es/vef-space/index.js +0 -1
  1048. package/es/vef-spin/index.js +0 -1
  1049. package/es/vef-splitter/index.js +0 -1
  1050. package/es/vef-splitter-panel/index.js +0 -1
  1051. package/es/vef-status/index.js +0 -1
  1052. package/es/vef-table/components/columns/bool.js +0 -1
  1053. package/es/vef-table/components/columns/code.js +0 -1
  1054. package/es/vef-table/components/columns/data-dictionary.js +0 -1
  1055. package/es/vef-table/components/columns/enum.js +0 -1
  1056. package/es/vef-table/components/columns/file.js +0 -1
  1057. package/es/vef-table/components/columns/icon.js +0 -1
  1058. package/es/vef-table/components/columns/id.js +0 -1
  1059. package/es/vef-table/components/columns/image.js +0 -1
  1060. package/es/vef-table/components/columns/index.js +0 -1
  1061. package/es/vef-table/components/columns/markdown.js +0 -1
  1062. package/es/vef-table/components/columns/number.js +0 -1
  1063. package/es/vef-table/components/columns/render.js +0 -1
  1064. package/es/vef-table/components/columns/rich-text.js +0 -1
  1065. package/es/vef-table/components/columns/text.js +0 -1
  1066. package/es/vef-table/components/columns-settings.js +0 -52
  1067. package/es/vef-table/components/operation-buttons.js +0 -10
  1068. package/es/vef-table/components/settings-icon.js +0 -3
  1069. package/es/vef-table/components/table-footer.js +0 -17
  1070. package/es/vef-table/helper.js +0 -1
  1071. package/es/vef-table/hooks/use-computed-batch-buttons.js +0 -1
  1072. package/es/vef-table/hooks/use-computed-columns.js +0 -1
  1073. package/es/vef-table/hooks/use-computed-values.js +0 -1
  1074. package/es/vef-table/hooks/use-data.js +0 -1
  1075. package/es/vef-table/hooks/use-default-column-configs.js +0 -1
  1076. package/es/vef-table/hooks/use-display-value.js +0 -1
  1077. package/es/vef-table/hooks/use-helper-columns.js +0 -1
  1078. package/es/vef-table/hooks/use-operation-column-width.js +0 -1
  1079. package/es/vef-table/hooks/use-pagination-props.js +0 -1
  1080. package/es/vef-table/hooks/use-row-props.js +0 -1
  1081. package/es/vef-table/hooks/use-row-selection-config.js +0 -1
  1082. package/es/vef-table/hooks/use-selected-rows.js +0 -1
  1083. package/es/vef-table/hooks/use-table-columns.js +0 -1
  1084. package/es/vef-table/hooks/use-table-context.js +0 -1
  1085. package/es/vef-table/hooks/use-table-instance.js +0 -1
  1086. package/es/vef-table/hooks/use-table-summary.js +0 -1
  1087. package/es/vef-table/hooks/use-table-width.js +0 -1
  1088. package/es/vef-table/index.js +0 -54
  1089. package/es/vef-table/store.js +0 -1
  1090. package/es/vef-tabs/index.js +0 -1
  1091. package/es/vef-tag/index.js +0 -1
  1092. package/es/vef-temporal-picker/helper.js +0 -1
  1093. package/es/vef-temporal-picker/hooks/use-dayjs-value.js +0 -1
  1094. package/es/vef-temporal-picker/hooks/use-temporal-limit.js +0 -1
  1095. package/es/vef-temporal-picker/hooks/use-temporal-picker-instance.js +0 -1
  1096. package/es/vef-temporal-picker/index.js +0 -1
  1097. package/es/vef-temporal-range-picker/helper.js +0 -1
  1098. package/es/vef-temporal-range-picker/hooks/use-dayjs-values.js +0 -1
  1099. package/es/vef-temporal-range-picker/hooks/use-temporal-limit.js +0 -1
  1100. package/es/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.js +0 -1
  1101. package/es/vef-temporal-range-picker/index.js +0 -1
  1102. package/es/vef-temporal-range-picker/props.js +0 -1
  1103. package/es/vef-text/index.js +0 -1
  1104. package/es/vef-textarea/hooks/use-textarea-instance.js +0 -1
  1105. package/es/vef-textarea/index.js +0 -1
  1106. package/es/vef-title/index.js +0 -13
  1107. package/es/vef-tooltip/index.js +0 -1
  1108. package/es/vef-tree-select/hooks/use-change-handler.js +0 -1
  1109. package/es/vef-tree-select/hooks/use-data-options.js +0 -1
  1110. package/es/vef-tree-select/hooks/use-tree-select-instance.js +0 -1
  1111. package/es/vef-tree-select/index.js +0 -1
  1112. package/es/vef-virtual-grid/index.js +0 -12
  1113. package/es/vef-virtual-list/index.js +0 -18
  1114. package/lib/index.cjs +0 -1
  1115. package/lib/internal/base.css.cjs +0 -491
  1116. package/lib/internal/chart.cjs +0 -1
  1117. package/lib/internal/index.cjs +0 -1
  1118. package/lib/internal/modern-normalize.css.cjs +0 -214
  1119. package/lib/internal/utils.cjs +0 -1
  1120. package/lib/vef-access-denied/access-denied-icon.cjs +0 -1
  1121. package/lib/vef-access-denied/index.cjs +0 -27
  1122. package/lib/vef-access-denied/props.cjs +0 -1
  1123. package/lib/vef-action-buttons/index.cjs +0 -1
  1124. package/lib/vef-action-buttons/props.cjs +0 -1
  1125. package/lib/vef-approval-flow-editor/components/edge.cjs +0 -6
  1126. package/lib/vef-approval-flow-editor/components/label-value.cjs +0 -17
  1127. package/lib/vef-approval-flow-editor/components/node-content.cjs +0 -16
  1128. package/lib/vef-approval-flow-editor/components/node-selector.cjs +0 -12
  1129. package/lib/vef-approval-flow-editor/components/node-toolbar.cjs +0 -1
  1130. package/lib/vef-approval-flow-editor/components/nodes/approval.cjs +0 -1
  1131. package/lib/vef-approval-flow-editor/components/nodes/condition.cjs +0 -1
  1132. package/lib/vef-approval-flow-editor/components/nodes/end.cjs +0 -1
  1133. package/lib/vef-approval-flow-editor/components/nodes/handle.cjs +0 -1
  1134. package/lib/vef-approval-flow-editor/components/nodes/index.cjs +0 -1
  1135. package/lib/vef-approval-flow-editor/components/nodes/submit.cjs +0 -1
  1136. package/lib/vef-approval-flow-editor/components/selector-content.cjs +0 -24
  1137. package/lib/vef-approval-flow-editor/components/source-handle.cjs +0 -1
  1138. package/lib/vef-approval-flow-editor/components/target-handle.cjs +0 -1
  1139. package/lib/vef-approval-flow-editor/constants.cjs +0 -1
  1140. package/lib/vef-approval-flow-editor/helper.cjs +0 -1
  1141. package/lib/vef-approval-flow-editor/hooks/use-edges-interaction.cjs +0 -1
  1142. package/lib/vef-approval-flow-editor/hooks/use-element-selection.cjs +0 -1
  1143. package/lib/vef-approval-flow-editor/hooks/use-nodes-interaction.cjs +0 -1
  1144. package/lib/vef-approval-flow-editor/index.cjs +0 -1
  1145. package/lib/vef-approval-flow-editor/models/edge-node.cjs +0 -1
  1146. package/lib/vef-approval-flow-editor/models/flow-node.cjs +0 -1
  1147. package/lib/vef-approval-flow-editor/props.cjs +0 -1
  1148. package/lib/vef-approval-flow-editor/store.cjs +0 -1
  1149. package/lib/vef-approval-flow-editor/styles.cjs +0 -41
  1150. package/lib/vef-approval-flow-editor/types.cjs +0 -1
  1151. package/lib/vef-area-chart/index.cjs +0 -1
  1152. package/lib/vef-area-chart/props.cjs +0 -1
  1153. package/lib/vef-auto-sizer/index.cjs +0 -1
  1154. package/lib/vef-auto-sizer/props.cjs +0 -1
  1155. package/lib/vef-avatar/index.cjs +0 -1
  1156. package/lib/vef-avatar/props.cjs +0 -1
  1157. package/lib/vef-avatar-group/index.cjs +0 -1
  1158. package/lib/vef-avatar-group/props.cjs +0 -1
  1159. package/lib/vef-badge/index.cjs +0 -1
  1160. package/lib/vef-badge/props.cjs +0 -1
  1161. package/lib/vef-bar-chart/index.cjs +0 -1
  1162. package/lib/vef-bar-chart/props.cjs +0 -1
  1163. package/lib/vef-bool/hooks/use-bool-instance.cjs +0 -1
  1164. package/lib/vef-bool/index.cjs +0 -1
  1165. package/lib/vef-bool/props.cjs +0 -1
  1166. package/lib/vef-breadcrumb/index.cjs +0 -1
  1167. package/lib/vef-breadcrumb/props.cjs +0 -1
  1168. package/lib/vef-button/components/base-button.cjs +0 -1
  1169. package/lib/vef-button/index.cjs +0 -1
  1170. package/lib/vef-button/props.cjs +0 -1
  1171. package/lib/vef-card/index.cjs +0 -1
  1172. package/lib/vef-card/props.cjs +0 -1
  1173. package/lib/vef-card-meta/index.cjs +0 -1
  1174. package/lib/vef-card-meta/props.cjs +0 -1
  1175. package/lib/vef-chart-container/hooks/use-chart-container-context.cjs +0 -1
  1176. package/lib/vef-chart-container/index.cjs +0 -57
  1177. package/lib/vef-chart-container/props.cjs +0 -1
  1178. package/lib/vef-chart-legend-content/index.cjs +0 -16
  1179. package/lib/vef-chart-legend-content/props.cjs +0 -1
  1180. package/lib/vef-chart-tooltip-content/index.cjs +0 -42
  1181. package/lib/vef-chart-tooltip-content/props.cjs +0 -1
  1182. package/lib/vef-checkbox/hooks/use-checkbox-instance.cjs +0 -1
  1183. package/lib/vef-checkbox/hooks/use-data-options.cjs +0 -1
  1184. package/lib/vef-checkbox/index.cjs +0 -3
  1185. package/lib/vef-checkbox/props.cjs +0 -1
  1186. package/lib/vef-code-editor/hooks/use-change-handler.cjs +0 -1
  1187. package/lib/vef-code-editor/hooks/use-config-extensions.cjs +0 -1
  1188. package/lib/vef-code-editor/hooks/use-height-props.cjs +0 -1
  1189. package/lib/vef-code-editor/hooks/use-language-extensions.cjs +0 -1
  1190. package/lib/vef-code-editor/hooks/use-setup-options.cjs +0 -1
  1191. package/lib/vef-code-editor/index.cjs +0 -1
  1192. package/lib/vef-code-editor/props.cjs +0 -1
  1193. package/lib/vef-code-editor/styles.cjs +0 -137
  1194. package/lib/vef-col/index.cjs +0 -1
  1195. package/lib/vef-col/props.cjs +0 -1
  1196. package/lib/vef-color-picker/index.cjs +0 -1
  1197. package/lib/vef-color-picker/props.cjs +0 -1
  1198. package/lib/vef-compact/index.cjs +0 -1
  1199. package/lib/vef-compact/props.cjs +0 -1
  1200. package/lib/vef-config-provider/global-style.cjs +0 -173
  1201. package/lib/vef-config-provider/hooks/use-ui-config.cjs +0 -1
  1202. package/lib/vef-config-provider/index.cjs +0 -5
  1203. package/lib/vef-config-provider/props.cjs +0 -1
  1204. package/lib/vef-config-provider/store.cjs +0 -1
  1205. package/lib/vef-container/index.cjs +0 -1
  1206. package/lib/vef-container/props.cjs +0 -1
  1207. package/lib/vef-crud-page/components/crud-actions.cjs +0 -1
  1208. package/lib/vef-crud-page/components/crud-filter.cjs +0 -1
  1209. package/lib/vef-crud-page/components/crud-footer.cjs +0 -7
  1210. package/lib/vef-crud-page/components/crud-form-modal.cjs +0 -1
  1211. package/lib/vef-crud-page/components/crud-header.cjs +0 -1
  1212. package/lib/vef-crud-page/components/crud-table.cjs +0 -1
  1213. package/lib/vef-crud-page/hooks/use-action-buttons.cjs +0 -1
  1214. package/lib/vef-crud-page/hooks/use-crud-context.cjs +0 -1
  1215. package/lib/vef-crud-page/hooks/use-crud-schema.cjs +0 -1
  1216. package/lib/vef-crud-page/hooks/use-operation-buttons.cjs +0 -1
  1217. package/lib/vef-crud-page/index.cjs +0 -1
  1218. package/lib/vef-crud-page/props.cjs +0 -1
  1219. package/lib/vef-crud-page/store.cjs +0 -1
  1220. package/lib/vef-crud-page/types.cjs +0 -1
  1221. package/lib/vef-data-grid/index.cjs +0 -1
  1222. package/lib/vef-data-grid/props.cjs +0 -1
  1223. package/lib/vef-data-table/index.cjs +0 -1
  1224. package/lib/vef-data-table/props.cjs +0 -1
  1225. package/lib/vef-divider/index.cjs +0 -1
  1226. package/lib/vef-divider/props.cjs +0 -1
  1227. package/lib/vef-drawer/components/action-button-wrapper.cjs +0 -1
  1228. package/lib/vef-drawer/components/button-props.cjs +0 -1
  1229. package/lib/vef-drawer/components/cancel-action-button.cjs +0 -1
  1230. package/lib/vef-drawer/components/ok-action-button.cjs +0 -1
  1231. package/lib/vef-drawer/context.cjs +0 -1
  1232. package/lib/vef-drawer/index.cjs +0 -8
  1233. package/lib/vef-drawer/props.cjs +0 -1
  1234. package/lib/vef-dropdown/index.cjs +0 -1
  1235. package/lib/vef-dropdown/props.cjs +0 -1
  1236. package/lib/vef-dynamic-icon/index.cjs +0 -1
  1237. package/lib/vef-dynamic-icon/props.cjs +0 -1
  1238. package/lib/vef-empty/index.cjs +0 -1
  1239. package/lib/vef-empty/props.cjs +0 -1
  1240. package/lib/vef-empty-placeholder/index.cjs +0 -5
  1241. package/lib/vef-empty-placeholder/props.cjs +0 -1
  1242. package/lib/vef-error/error-icon.cjs +0 -1
  1243. package/lib/vef-error/index.cjs +0 -28
  1244. package/lib/vef-error/props.cjs +0 -1
  1245. package/lib/vef-filter/components/action-buttons.cjs +0 -19
  1246. package/lib/vef-filter/components/advanced-filter.cjs +0 -9
  1247. package/lib/vef-filter/components/basic-filter.cjs +0 -19
  1248. package/lib/vef-filter/components/fields/index.cjs +0 -1
  1249. package/lib/vef-filter/components/fields/input-number.cjs +0 -1
  1250. package/lib/vef-filter/components/fields/input.cjs +0 -1
  1251. package/lib/vef-filter/components/fields/props.cjs +0 -1
  1252. package/lib/vef-filter/components/fields/radio.cjs +0 -1
  1253. package/lib/vef-filter/components/fields/select.cjs +0 -1
  1254. package/lib/vef-filter/components/fields/tree-select.cjs +0 -1
  1255. package/lib/vef-filter/components/filter-field.cjs +0 -1
  1256. package/lib/vef-filter/components/filter-item.cjs +0 -1
  1257. package/lib/vef-filter/event.cjs +0 -1
  1258. package/lib/vef-filter/helper.cjs +0 -1
  1259. package/lib/vef-filter/hooks/use-action-handlers.cjs +0 -1
  1260. package/lib/vef-filter/hooks/use-computed-values.cjs +0 -1
  1261. package/lib/vef-filter/hooks/use-filter-context.cjs +0 -1
  1262. package/lib/vef-filter/hooks/use-filter-initialization.cjs +0 -1
  1263. package/lib/vef-filter/hooks/use-filter-instance.cjs +0 -1
  1264. package/lib/vef-filter/hooks/use-filter-items.cjs +0 -1
  1265. package/lib/vef-filter/hooks/use-filter-values-change.cjs +0 -1
  1266. package/lib/vef-filter/hooks/use-label-config.cjs +0 -1
  1267. package/lib/vef-filter/index.cjs +0 -8
  1268. package/lib/vef-filter/props.cjs +0 -1
  1269. package/lib/vef-filter/store.cjs +0 -1
  1270. package/lib/vef-filter/types.cjs +0 -1
  1271. package/lib/vef-flex/index.cjs +0 -1
  1272. package/lib/vef-flex/props.cjs +0 -1
  1273. package/lib/vef-float-button/index.cjs +0 -1
  1274. package/lib/vef-float-button/props.cjs +0 -1
  1275. package/lib/vef-float-button-group/index.cjs +0 -1
  1276. package/lib/vef-float-button-group/props.cjs +0 -1
  1277. package/lib/vef-form/components/fields/icon-select.cjs +0 -1
  1278. package/lib/vef-form/components/fields/index.cjs +0 -1
  1279. package/lib/vef-form/components/fields/input-number.cjs +0 -1
  1280. package/lib/vef-form/components/fields/input.cjs +0 -1
  1281. package/lib/vef-form/components/fields/password.cjs +0 -1
  1282. package/lib/vef-form/components/fields/props.cjs +0 -1
  1283. package/lib/vef-form/components/fields/radio.cjs +0 -1
  1284. package/lib/vef-form/components/fields/select.cjs +0 -1
  1285. package/lib/vef-form/components/fields/textarea.cjs +0 -1
  1286. package/lib/vef-form/components/fields/tree-select.cjs +0 -1
  1287. package/lib/vef-form/components/form-actions.cjs +0 -3
  1288. package/lib/vef-form/components/form-content.cjs +0 -4
  1289. package/lib/vef-form/components/form-field.cjs +0 -1
  1290. package/lib/vef-form/components/form-group.cjs +0 -11
  1291. package/lib/vef-form/components/form-hidden-item.cjs +0 -1
  1292. package/lib/vef-form/components/form-item.cjs +0 -1
  1293. package/lib/vef-form/components/form-row.cjs +0 -1
  1294. package/lib/vef-form/event.cjs +0 -1
  1295. package/lib/vef-form/helper.cjs +0 -1
  1296. package/lib/vef-form/hooks/use-action-handlers.cjs +0 -1
  1297. package/lib/vef-form/hooks/use-columns-layout.cjs +0 -1
  1298. package/lib/vef-form/hooks/use-computed-values.cjs +0 -1
  1299. package/lib/vef-form/hooks/use-form-context.cjs +0 -1
  1300. package/lib/vef-form/hooks/use-form-initialization.cjs +0 -1
  1301. package/lib/vef-form/hooks/use-form-instance.cjs +0 -1
  1302. package/lib/vef-form/hooks/use-form-values-change.cjs +0 -1
  1303. package/lib/vef-form/hooks/use-label-width.cjs +0 -1
  1304. package/lib/vef-form/index.cjs +0 -3
  1305. package/lib/vef-form/props.cjs +0 -1
  1306. package/lib/vef-form/store.cjs +0 -1
  1307. package/lib/vef-form/types.cjs +0 -1
  1308. package/lib/vef-form/validation-rules.cjs +0 -1
  1309. package/lib/vef-form-drawer/index.cjs +0 -1
  1310. package/lib/vef-form-drawer/props.cjs +0 -1
  1311. package/lib/vef-form-modal/index.cjs +0 -1
  1312. package/lib/vef-form-modal/props.cjs +0 -1
  1313. package/lib/vef-generic-select/index.cjs +0 -1
  1314. package/lib/vef-generic-select/props.cjs +0 -1
  1315. package/lib/vef-grid/index.cjs +0 -24
  1316. package/lib/vef-grid/props.cjs +0 -1
  1317. package/lib/vef-grid-item/index.cjs +0 -1
  1318. package/lib/vef-grid-item/props.cjs +0 -1
  1319. package/lib/vef-icon/index.cjs +0 -1
  1320. package/lib/vef-icon/props.cjs +0 -1
  1321. package/lib/vef-icon-select/index.cjs +0 -40
  1322. package/lib/vef-icon-select/props.cjs +0 -1
  1323. package/lib/vef-input/hooks/use-input-instance.cjs +0 -1
  1324. package/lib/vef-input/index.cjs +0 -1
  1325. package/lib/vef-input/props.cjs +0 -1
  1326. package/lib/vef-input-number/hooks/use-input-number-instance.cjs +0 -1
  1327. package/lib/vef-input-number/index.cjs +0 -1
  1328. package/lib/vef-input-number/props.cjs +0 -1
  1329. package/lib/vef-intellisense-code-editor/hooks/use-change-handler.cjs +0 -1
  1330. package/lib/vef-intellisense-code-editor/hooks/use-editor-options.cjs +0 -1
  1331. package/lib/vef-intellisense-code-editor/hooks/use-path.cjs +0 -1
  1332. package/lib/vef-intellisense-code-editor/index.cjs +0 -1
  1333. package/lib/vef-intellisense-code-editor/loader.cjs +0 -1
  1334. package/lib/vef-intellisense-code-editor/props.cjs +0 -1
  1335. package/lib/vef-intellisense-code-editor/styles.cjs +0 -20
  1336. package/lib/vef-intellisense-code-editor/themes/github-light.json.cjs +0 -349
  1337. package/lib/vef-json-viewer/index.cjs +0 -1
  1338. package/lib/vef-json-viewer/props.cjs +0 -1
  1339. package/lib/vef-layout/common-styles.cjs +0 -4
  1340. package/lib/vef-layout/components/content.cjs +0 -1
  1341. package/lib/vef-layout/components/font-size.cjs +0 -1
  1342. package/lib/vef-layout/components/fullscreen.cjs +0 -1
  1343. package/lib/vef-layout/components/header-action-icons.cjs +0 -15
  1344. package/lib/vef-layout/components/header-content.cjs +0 -1
  1345. package/lib/vef-layout/components/header.cjs +0 -12
  1346. package/lib/vef-layout/components/icon-boy.cjs +0 -1
  1347. package/lib/vef-layout/components/icon-girl.cjs +0 -1
  1348. package/lib/vef-layout/components/icon-menu-fold-left.cjs +0 -1
  1349. package/lib/vef-layout/components/icon-menu-unfold-left.cjs +0 -1
  1350. package/lib/vef-layout/components/menu-groups.cjs +0 -32
  1351. package/lib/vef-layout/components/message.cjs +0 -1
  1352. package/lib/vef-layout/components/search.cjs +0 -1
  1353. package/lib/vef-layout/components/sider.cjs +0 -49
  1354. package/lib/vef-layout/components/title.cjs +0 -36
  1355. package/lib/vef-layout/components/user-avatar.cjs +0 -16
  1356. package/lib/vef-layout/hooks/use-layout-context.cjs +0 -1
  1357. package/lib/vef-layout/index.cjs +0 -5
  1358. package/lib/vef-layout/logo.svg.cjs +0 -1
  1359. package/lib/vef-layout/props.cjs +0 -1
  1360. package/lib/vef-layout/store.cjs +0 -1
  1361. package/lib/vef-line-chart/index.cjs +0 -1
  1362. package/lib/vef-line-chart/props.cjs +0 -1
  1363. package/lib/vef-loading-placeholder/index.cjs +0 -7
  1364. package/lib/vef-loading-placeholder/props.cjs +0 -1
  1365. package/lib/vef-login/index.cjs +0 -54
  1366. package/lib/vef-login/login-icon.cjs +0 -1
  1367. package/lib/vef-login/props.cjs +0 -1
  1368. package/lib/vef-menu/index.cjs +0 -6
  1369. package/lib/vef-menu/props.cjs +0 -1
  1370. package/lib/vef-modal/components/action-button-wrapper.cjs +0 -1
  1371. package/lib/vef-modal/components/button-props.cjs +0 -1
  1372. package/lib/vef-modal/components/cancel-action-button.cjs +0 -1
  1373. package/lib/vef-modal/components/ok-action-button.cjs +0 -1
  1374. package/lib/vef-modal/context.cjs +0 -1
  1375. package/lib/vef-modal/index.cjs +0 -4
  1376. package/lib/vef-modal/props.cjs +0 -1
  1377. package/lib/vef-not-found/index.cjs +0 -28
  1378. package/lib/vef-not-found/not-found-icon.cjs +0 -1
  1379. package/lib/vef-not-found/props.cjs +0 -1
  1380. package/lib/vef-page/index.cjs +0 -58
  1381. package/lib/vef-page/props.cjs +0 -1
  1382. package/lib/vef-pagination/index.cjs +0 -1
  1383. package/lib/vef-pagination/props.cjs +0 -1
  1384. package/lib/vef-paragraph/index.cjs +0 -1
  1385. package/lib/vef-paragraph/props.cjs +0 -1
  1386. package/lib/vef-password/hooks/use-password-instance.cjs +0 -1
  1387. package/lib/vef-password/index.cjs +0 -1
  1388. package/lib/vef-password/props.cjs +0 -1
  1389. package/lib/vef-pie-chart/index.cjs +0 -8
  1390. package/lib/vef-pie-chart/props.cjs +0 -1
  1391. package/lib/vef-popconfirm/index.cjs +0 -1
  1392. package/lib/vef-popconfirm/props.cjs +0 -1
  1393. package/lib/vef-popover/index.cjs +0 -1
  1394. package/lib/vef-popover/props.cjs +0 -1
  1395. package/lib/vef-radio/hooks/use-data-options.cjs +0 -1
  1396. package/lib/vef-radio/hooks/use-radio-instance.cjs +0 -1
  1397. package/lib/vef-radio/index.cjs +0 -3
  1398. package/lib/vef-radio/props.cjs +0 -1
  1399. package/lib/vef-rate/hooks/use-rate-instance.cjs +0 -1
  1400. package/lib/vef-rate/index.cjs +0 -1
  1401. package/lib/vef-rate/props.cjs +0 -1
  1402. package/lib/vef-responsive-container/index.cjs +0 -5
  1403. package/lib/vef-responsive-container/props.cjs +0 -1
  1404. package/lib/vef-responsive-item/index.cjs +0 -3
  1405. package/lib/vef-responsive-item/props.cjs +0 -1
  1406. package/lib/vef-ribbon/index.cjs +0 -1
  1407. package/lib/vef-ribbon/props.cjs +0 -1
  1408. package/lib/vef-row/index.cjs +0 -1
  1409. package/lib/vef-row/props.cjs +0 -1
  1410. package/lib/vef-scroll-area/components/scrollbar.cjs +0 -32
  1411. package/lib/vef-scroll-area/index.cjs +0 -11
  1412. package/lib/vef-scroll-area/props.cjs +0 -1
  1413. package/lib/vef-segment/index.cjs +0 -1
  1414. package/lib/vef-segment/props.cjs +0 -1
  1415. package/lib/vef-select/components/option.cjs +0 -9
  1416. package/lib/vef-select/hooks/use-data-options.cjs +0 -1
  1417. package/lib/vef-select/hooks/use-field-names.cjs +0 -1
  1418. package/lib/vef-select/hooks/use-render-label.cjs +0 -8
  1419. package/lib/vef-select/hooks/use-render-option.cjs +0 -1
  1420. package/lib/vef-select/hooks/use-select-instance.cjs +0 -1
  1421. package/lib/vef-select/index.cjs +0 -1
  1422. package/lib/vef-select/props.cjs +0 -1
  1423. package/lib/vef-slider/hooks/use-slider-instance.cjs +0 -1
  1424. package/lib/vef-slider/index.cjs +0 -1
  1425. package/lib/vef-slider/props.cjs +0 -1
  1426. package/lib/vef-sortable-list/components/overlay-item.cjs +0 -5
  1427. package/lib/vef-sortable-list/components/sortable-item.cjs +0 -5
  1428. package/lib/vef-sortable-list/hooks/use-merged-items.cjs +0 -1
  1429. package/lib/vef-sortable-list/index.cjs +0 -1
  1430. package/lib/vef-sortable-list/props.cjs +0 -1
  1431. package/lib/vef-space/index.cjs +0 -1
  1432. package/lib/vef-space/props.cjs +0 -1
  1433. package/lib/vef-spin/index.cjs +0 -1
  1434. package/lib/vef-spin/props.cjs +0 -1
  1435. package/lib/vef-splitter/index.cjs +0 -1
  1436. package/lib/vef-splitter/props.cjs +0 -1
  1437. package/lib/vef-splitter-panel/index.cjs +0 -1
  1438. package/lib/vef-splitter-panel/props.cjs +0 -1
  1439. package/lib/vef-status/index.cjs +0 -1
  1440. package/lib/vef-status/props.cjs +0 -1
  1441. package/lib/vef-table/components/columns/bool.cjs +0 -1
  1442. package/lib/vef-table/components/columns/code.cjs +0 -1
  1443. package/lib/vef-table/components/columns/data-dictionary.cjs +0 -1
  1444. package/lib/vef-table/components/columns/enum.cjs +0 -1
  1445. package/lib/vef-table/components/columns/file.cjs +0 -1
  1446. package/lib/vef-table/components/columns/icon.cjs +0 -1
  1447. package/lib/vef-table/components/columns/id.cjs +0 -1
  1448. package/lib/vef-table/components/columns/image.cjs +0 -1
  1449. package/lib/vef-table/components/columns/index.cjs +0 -1
  1450. package/lib/vef-table/components/columns/markdown.cjs +0 -1
  1451. package/lib/vef-table/components/columns/number.cjs +0 -1
  1452. package/lib/vef-table/components/columns/props.cjs +0 -1
  1453. package/lib/vef-table/components/columns/render.cjs +0 -1
  1454. package/lib/vef-table/components/columns/rich-text.cjs +0 -1
  1455. package/lib/vef-table/components/columns/text.cjs +0 -1
  1456. package/lib/vef-table/components/columns-settings.cjs +0 -52
  1457. package/lib/vef-table/components/operation-buttons.cjs +0 -10
  1458. package/lib/vef-table/components/settings-icon.cjs +0 -3
  1459. package/lib/vef-table/components/table-footer.cjs +0 -17
  1460. package/lib/vef-table/helper.cjs +0 -1
  1461. package/lib/vef-table/hooks/use-computed-batch-buttons.cjs +0 -1
  1462. package/lib/vef-table/hooks/use-computed-columns.cjs +0 -1
  1463. package/lib/vef-table/hooks/use-computed-values.cjs +0 -1
  1464. package/lib/vef-table/hooks/use-data.cjs +0 -1
  1465. package/lib/vef-table/hooks/use-default-column-configs.cjs +0 -1
  1466. package/lib/vef-table/hooks/use-display-value.cjs +0 -1
  1467. package/lib/vef-table/hooks/use-helper-columns.cjs +0 -1
  1468. package/lib/vef-table/hooks/use-operation-column-width.cjs +0 -1
  1469. package/lib/vef-table/hooks/use-pagination-props.cjs +0 -1
  1470. package/lib/vef-table/hooks/use-row-props.cjs +0 -1
  1471. package/lib/vef-table/hooks/use-row-selection-config.cjs +0 -1
  1472. package/lib/vef-table/hooks/use-selected-rows.cjs +0 -1
  1473. package/lib/vef-table/hooks/use-table-columns.cjs +0 -1
  1474. package/lib/vef-table/hooks/use-table-context.cjs +0 -1
  1475. package/lib/vef-table/hooks/use-table-instance.cjs +0 -1
  1476. package/lib/vef-table/hooks/use-table-summary.cjs +0 -1
  1477. package/lib/vef-table/hooks/use-table-width.cjs +0 -1
  1478. package/lib/vef-table/index.cjs +0 -54
  1479. package/lib/vef-table/props.cjs +0 -1
  1480. package/lib/vef-table/store.cjs +0 -1
  1481. package/lib/vef-table/types.cjs +0 -1
  1482. package/lib/vef-tabs/index.cjs +0 -1
  1483. package/lib/vef-tabs/props.cjs +0 -1
  1484. package/lib/vef-tag/index.cjs +0 -1
  1485. package/lib/vef-tag/props.cjs +0 -1
  1486. package/lib/vef-temporal-picker/helper.cjs +0 -1
  1487. package/lib/vef-temporal-picker/hooks/use-dayjs-value.cjs +0 -1
  1488. package/lib/vef-temporal-picker/hooks/use-temporal-limit.cjs +0 -1
  1489. package/lib/vef-temporal-picker/hooks/use-temporal-picker-instance.cjs +0 -1
  1490. package/lib/vef-temporal-picker/index.cjs +0 -1
  1491. package/lib/vef-temporal-picker/props.cjs +0 -1
  1492. package/lib/vef-temporal-range-picker/helper.cjs +0 -1
  1493. package/lib/vef-temporal-range-picker/hooks/use-dayjs-values.cjs +0 -1
  1494. package/lib/vef-temporal-range-picker/hooks/use-temporal-limit.cjs +0 -1
  1495. package/lib/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.cjs +0 -1
  1496. package/lib/vef-temporal-range-picker/index.cjs +0 -1
  1497. package/lib/vef-temporal-range-picker/props.cjs +0 -1
  1498. package/lib/vef-text/index.cjs +0 -1
  1499. package/lib/vef-text/props.cjs +0 -1
  1500. package/lib/vef-textarea/hooks/use-textarea-instance.cjs +0 -1
  1501. package/lib/vef-textarea/index.cjs +0 -1
  1502. package/lib/vef-textarea/props.cjs +0 -1
  1503. package/lib/vef-title/index.cjs +0 -13
  1504. package/lib/vef-title/props.cjs +0 -1
  1505. package/lib/vef-tooltip/index.cjs +0 -1
  1506. package/lib/vef-tooltip/props.cjs +0 -1
  1507. package/lib/vef-tree-select/hooks/use-change-handler.cjs +0 -1
  1508. package/lib/vef-tree-select/hooks/use-data-options.cjs +0 -1
  1509. package/lib/vef-tree-select/hooks/use-tree-select-instance.cjs +0 -1
  1510. package/lib/vef-tree-select/index.cjs +0 -1
  1511. package/lib/vef-tree-select/props.cjs +0 -1
  1512. package/lib/vef-virtual-grid/index.cjs +0 -12
  1513. package/lib/vef-virtual-grid/props.cjs +0 -1
  1514. package/lib/vef-virtual-list/index.cjs +0 -18
  1515. package/lib/vef-virtual-list/props.cjs +0 -1
@@ -1 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),shared=require("@vef-framework/shared"),react=require("react"),index=require("./fields/index.cjs");function VefFormField(props){const{name,componentProps:{type}}=props,FormFieldComponent=react.useMemo(()=>{if(type==="Hidden")return()=>null;const Component=index.fieldMap[type];if(!Component)throw new shared.VefError(-9,`Unknown form field type: "${type}", please check the type of "${name}" field.`);return Component},[name,type]);return jsxRuntime.jsx(FormFieldComponent,{...props})}exports.default=VefFormField;/*! 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,11 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),react=require("@emotion/react"),shared=require("@vef-framework/shared"),react$1=require("react"),index$1=require("../../vef-empty-placeholder/index.cjs"),index=require("../../vef-title/index.cjs"),useComputedValues=require("../hooks/use-computed-values.cjs"),formRow=require("./form-row.cjs"),groupStyle=react.css`
2
- margin-bottom: ${shared.themeVariables.margin};
3
-
4
- &:last-child {
5
- margin-bottom: 0;
6
- }
7
-
8
- .vef-form-group-content {
9
- padding: 0 2px;
10
- }
11
- `;function VefFormGroupBase({title,disabled,rows},groupRef){const computedValues=useComputedValues.useComputedValues([...rows.map(({key,show})=>({key:`show-${key}`,rawValue:show,defaultValue:!0})),...rows.map(({key,disabled:rowDisabled})=>({key:`disabled-${key}`,rawValue:rowDisabled,defaultValue:disabled}))],!0),showedRows=react$1.useMemo(()=>rows.filter(({key})=>computedValues[`show-${key}`]),[computedValues,rows]);return jsxRuntime.jsxs("div",{ref:groupRef,css:groupStyle,children:[title&&jsxRuntime.jsx(index.default,{showBottomLine:!0,showLeftBar:!0,level:4,children:title}),jsxRuntime.jsx("div",{className:"vef-form-group-content",children:showedRows.length===0?jsxRuntime.jsx(index$1.default,{description:"空表单组"}):showedRows.map(({key,autoExpand:rowAutoExpand,columns})=>jsxRuntime.jsx(formRow.default,{autoExpand:rowAutoExpand,columns,disabled:computedValues[`disabled-${key}`],rowKey:key},key))})]})}const VefFormGroup=react$1.memo(react$1.forwardRef(VefFormGroupBase),(prevProps,nextProps)=>shared.isDeepEqual(shared.omit(prevProps,["rows"]),shared.omit(nextProps,["rows"])));VefFormGroup.displayName="VefFormGroup",exports.default=VefFormGroup;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),antd=require("antd"),react=require("react"),useComputedValues=require("../hooks/use-computed-values.cjs"),{Item}=antd.Form;function VefFormHiddenItemBase({item}){const{name,show}=item,[showValue]=useComputedValues.useComputedValues([{key:"show",rawValue:show,defaultValue:!0}]);return showValue?jsxRuntime.jsx(Item,{hidden:!0,name,children:jsxRuntime.jsx("input",{type:"hidden"})}):null}const VefFormHiddenItem=react.memo(VefFormHiddenItemBase,()=>!1);exports.default=VefFormHiddenItem;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),hooks=require("@vef-framework/hooks"),shared=require("@vef-framework/shared"),antd=require("antd"),react=require("react"),useComputedValues=require("../hooks/use-computed-values.cjs"),formField=require("./form-field.cjs"),{Item}=antd.Form;function VefFormItemBase({item,disabled}){const{name,show,disabled:itemDisabled,label,tip,rules,virtual:_,...componentProps}=item,formDisabled=hooks.useContextDisabled(),[showValue,disabledValue,labelValue,tipValue,rulesValue]=useComputedValues.useComputedValues([{key:"show",rawValue:show,defaultValue:!0},{key:"disabled",rawValue:itemDisabled,defaultValue:disabled},{key:"label",rawValue:label},{key:"tip",rawValue:tip},{key:"rules",rawValue:rules}]);if(!showValue)return null;const ruleObjects=shared.isArray(rulesValue)?rulesValue.flatMap(rule=>rule(item)):void 0;return jsxRuntime.jsx(Item,{label:labelValue,name,preserve:!1,rules:ruleObjects,tooltip:tipValue,children:jsxRuntime.jsx(formField.default,{componentProps,disabled:formDisabled||disabledValue,label:labelValue,name})})}const VefFormItem=react.memo(VefFormItemBase,(prevProps,nextProps)=>prevProps.disabled===nextProps.disabled);exports.default=VefFormItem;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),shared=require("@vef-framework/shared"),react=require("react"),index=require("../../vef-grid/index.cjs"),index$1=require("../../vef-grid-item/index.cjs"),useColumnsLayout=require("../hooks/use-columns-layout.cjs"),useComputedValues=require("../hooks/use-computed-values.cjs"),useFormContext=require("../hooks/use-form-context.cjs"),formHiddenItem=require("./form-hidden-item.cjs"),formItem=require("./form-item.cjs"),formItemMinWidth=240;function VefFormRowBase({rowKey,columns,disabled,autoExpand:rowAutoExpand}){const{layoutMode,autoExpand:formAutoExpand,labelPosition,labelWidth}=useFormContext.useFormContext(),formItemMinWidthToUse=labelPosition==="top"?formItemMinWidth:formItemMinWidth+(labelWidth??80),[hiddenItems,filteredColumns]=react.useMemo(()=>{const hiddenItems2=[],filteredColumns2=[];for(const column of columns){const{items,...rest}=column,filteredItems=[];for(const item of items){const{type}=item;type==="Hidden"?hiddenItems2.push(item):filteredItems.push(item)}filteredItems.length>0&&filteredColumns2.push({...rest,items:filteredItems})}return[hiddenItems2,filteredColumns2]},[columns]),computedValues=useComputedValues.useComputedValues([...filteredColumns.map(({key,show})=>({key:`show-${key}`,rawValue:show,defaultValue:!0})),...filteredColumns.map(({key,disabled:columnDisabled})=>({key:`disabled-${key}`,rawValue:columnDisabled,defaultValue:disabled}))],!0),showedColumns=react.useMemo(()=>columns.filter(({key})=>computedValues[`show-${key}`]),[computedValues,columns]),layout=useColumnsLayout.useColumnsLayout(rowKey,showedColumns,layoutMode,rowAutoExpand??formAutoExpand);return jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[hiddenItems.map(item=>{const{name}=item;return jsxRuntime.jsx(formHiddenItem.default,{item},name)}),showedColumns.length>0&&jsxRuntime.jsx(index.default,{baseWidth:formItemMinWidthToUse,gap:[0,"large"],children:showedColumns.map(column=>{const layoutProps={};if(layoutMode==="responsive"){const columnsLayout=layout;layoutProps.xs=columnsLayout.xs[column.key],layoutProps.sm=columnsLayout.sm[column.key],layoutProps.md=columnsLayout.md[column.key],layoutProps.lg=columnsLayout.lg[column.key],layoutProps.xl=columnsLayout.xl[column.key],layoutProps.xxl=columnsLayout.xxl[column.key]}else{const columnsLayout=layout;layoutProps.span=columnsLayout[column.key]}return jsxRuntime.jsx(index$1.default,{...layoutProps,children:column.items.map(item=>jsxRuntime.jsx(formItem.default,{disabled:disabled||computedValues[`disabled-${column.key}`],item},item.name))},column.key)})})]})}const VefFormRow=react.memo(VefFormRowBase,(prevProps,nextProps)=>shared.isDeepEqual(shared.omit(prevProps,["columns"]),shared.omit(nextProps,["columns"])));exports.default=VefFormRow;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const shared=require("@vef-framework/shared");var __typeError=msg=>{throw TypeError(msg)},__accessCheck=(obj,member,msg)=>member.has(obj)||__typeError("Cannot "+msg),__privateGet=(obj,member,getter)=>(__accessCheck(obj,member,"read from private field"),getter?getter.call(obj):member.get(obj)),__privateAdd=(obj,member,value)=>member.has(obj)?__typeError("Cannot add the same private member more than once"):member instanceof WeakSet?member.add(obj):member.set(obj,value),_emitter;const changeEvent=Symbol("change"),submitResultEvent=Symbol("submitResult");class FormEventBus{constructor(){__privateAdd(this,_emitter,shared.createEventEmitter())}clear(){__privateGet(this,_emitter).all.clear()}onChange(handler){__privateGet(this,_emitter).on(changeEvent,handler)}offChange(handler){__privateGet(this,_emitter).off(changeEvent,handler)}emitChange(value){__privateGet(this,_emitter).emit(changeEvent,value)}onSubmitResult(handler){__privateGet(this,_emitter).on(submitResultEvent,handler)}offSubmitResult(handler){__privateGet(this,_emitter).off(submitResultEvent,handler)}emitSubmitResult(result){__privateGet(this,_emitter).emit(submitResultEvent,result)}}_emitter=new WeakMap,exports.FormEventBus=FormEventBus;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const shared=require("@vef-framework/shared");function computeValue(value,values,scene,defaultValue){return shared.isFunction(value)&&!shared.isInternalFunction(value)?value(values,scene):shared.isExpression(value)?shared.compileDynamicFn(value,"values","scene",`return ${value.expression}`)(values,scene):value??defaultValue}exports.computeValue=computeValue;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const core=require("@vef-framework/core"),shared=require("@vef-framework/shared"),react=require("react"),store=require("../store.cjs");function useActionHandlers({submitApi,submitTip="提交中...",onBeforeSubmit,onSubmit,onSubmitSuccess,onSubmitFailure,onReset}){const[form,scene,eventBus,setIsLoading,virtualFieldNames,getValues,initialValues,invokeValueChangeHandlers]=store.useFormStore(state=>[state.form,state.scene,state.eventBus,state.setIsLoading,state.virtualFieldNames,state.getValues,state.initialValues,state.invokeValueChangeHandlers]),{useApiMutation,stubMutationApi}=core.useApiContext(),{mutate}=useApiMutation(submitApi??stubMutationApi);if(!shared.isFunction(onSubmit)&&!submitApi)throw new shared.VefError(-1,"'onSubmit' or 'submitApi' prop is required for VefForm component");const handleReset=react.useCallback(()=>{const values=getValues();form.resetFields(),invokeValueChangeHandlers(),eventBus.emitChange(initialValues),onReset?.(values,scene)},[form,getValues,onReset,scene,invokeValueChangeHandlers,initialValues,eventBus]),handleSubmit=react.useMemo(()=>shared.isFunction(onSubmit)?(submitApi&&console.warn("'submitApi' prop is ignored when 'onSubmit' prop is provided in VefForm component"),async values=>{setIsLoading(!0);let valuesToUse=values,closeLoading=null;try{const submitTipToUse=shared.isFunction(submitTip)?submitTip(values,scene):submitTip;closeLoading=shared.showLoadingMessage(submitTipToUse),shared.isFunction(onBeforeSubmit)&&(valuesToUse=await onBeforeSubmit(valuesToUse,scene));const valuesToSubmit=shared.omit(valuesToUse,virtualFieldNames);await onSubmit(valuesToSubmit,scene),eventBus.emitSubmitResult(!0)}catch(error){throw eventBus.emitSubmitResult(!1),error}finally{setIsLoading(!1),closeLoading?.()}}):async values=>{setIsLoading(!0);let valuesToUse=values,closeLoading=null;try{const submitTipToUse=shared.isFunction(submitTip)?submitTip(values,scene):submitTip;closeLoading=shared.showLoadingMessage(submitTipToUse),shared.isFunction(onBeforeSubmit)&&(valuesToUse=await onBeforeSubmit(values,scene));const toSubmitValues=shared.omit(valuesToUse,virtualFieldNames),apiResponse=await mutate(toSubmitValues);(onSubmitSuccess??(({message})=>{shared.showSuccessMessage(message)}))(apiResponse,valuesToUse,scene),eventBus.emitSubmitResult(!0)}catch(error){eventBus.emitSubmitResult(!1),onSubmitFailure?.(error,valuesToUse,scene)}finally{setIsLoading(!1),closeLoading?.()}},[onSubmit,submitApi,setIsLoading,submitTip,scene,onBeforeSubmit,virtualFieldNames,eventBus,mutate,onSubmitSuccess,onSubmitFailure]),handleSubmitFailed=react.useCallback(({values,errorFields})=>{eventBus.emitSubmitResult(!1),onSubmitFailure?.(new shared.VefError(-1,errorFields.flatMap(field=>field.errors).join(", ")),values,scene)},[eventBus,onSubmitFailure,scene]);return{handleReset,handleSubmit,handleSubmitFailed}}exports.useActionHandlers=useActionHandlers;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const shared=require("@vef-framework/shared"),react=require("react"),MAX_SPANS=24,SPAN_BASES=[{breakpoint:"xs",base:MAX_SPANS,spans:1},{breakpoint:"sm",base:MAX_SPANS/2,spans:2},{breakpoint:"md",base:MAX_SPANS/3,spans:3},{breakpoint:"lg",base:MAX_SPANS/4,spans:4},{breakpoint:"xl",base:MAX_SPANS/4,spans:4},{breakpoint:"xxl",base:MAX_SPANS/6,spans:6}],ALLOWED_SPANS=shared.unique(SPAN_BASES.map(item=>item.spans));function calculateResponsiveLayout(rowKey,columns,autoExpand){const totalSpans=columns.reduce((acc,column)=>acc+(column.span??1),0);if(!ALLOWED_SPANS.includes(totalSpans))throw new shared.VefError(-3,`The total spans of the columns of the row [${rowKey}] must be one of the following: ${ALLOWED_SPANS.join(", ")}.`);const requiredBase=24/totalSpans,layout={};for(const{breakpoint,base,spans}of SPAN_BASES)if(requiredBase>=base)layout[breakpoint]=columns.reduce((acc,column)=>(acc[column.key]=(column.span??1)*requiredBase,acc),{});else{const map={};let remainingSpans=spans,lastColumnKey=null;for(const column of columns){const requiredSpan=column.span??1;remainingSpans>=requiredSpan?(map[column.key]=requiredSpan*base,remainingSpans-=requiredSpan,lastColumnKey=column.key):(lastColumnKey&&(autoExpand&&(map[lastColumnKey]+=remainingSpans*base),remainingSpans=spans,lastColumnKey=null),requiredSpan>spans?map[column.key]=24:(map[column.key]=requiredSpan*base,remainingSpans-=requiredSpan,lastColumnKey=column.key)),remainingSpans===0&&(remainingSpans=spans,lastColumnKey=null)}remainingSpans>0&&(autoExpand&&(map[lastColumnKey]+=remainingSpans*base),lastColumnKey=null),layout[breakpoint]=map}return layout}function calculateFixedLayout(rowKey,columns){const totalSpans=columns.reduce((acc,column)=>acc+(column.span??1),0);if(totalSpans>MAX_SPANS||MAX_SPANS%totalSpans!==0)throw new shared.VefError(-3,`The total spans of the columns of the row [${rowKey}] must be less than or equal to ${MAX_SPANS} and a divisor of ${MAX_SPANS}.`);const base=MAX_SPANS/totalSpans;return columns.reduce((acc,column)=>(acc[column.key]=(column.span??1)*base,acc),{})}function useColumnsLayout(rowKey,columns,layoutMode,autoExpand){return react.useMemo(()=>columns.length===0?{}:layoutMode==="responsive"?calculateResponsiveLayout(rowKey,columns,autoExpand):calculateFixedLayout(rowKey,columns),[])}exports.useColumnsLayout=useColumnsLayout;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const hooks=require("@vef-framework/hooks"),shared=require("@vef-framework/shared"),helper=require("../helper.cjs"),store=require("../store.cjs");function useComputedValues(values,returnAsObject=!1){const[scene,eventBus,getValues]=store.useFormStore(state=>[state.scene,state.eventBus,state.getValues]),forceUpdate=hooks.useUpdater(),currentValues=getValues(),computedValues=hooks.useDeepMemo(()=>values.reduce((acc,it)=>{const{key,rawValue,defaultValue}=it,computedValue=helper.computeValue(rawValue,currentValues,scene,defaultValue);return acc[key]=computedValue,acc},{}),[currentValues,scene,values]);return hooks.useDeepLayoutEffect(()=>{const realComputedValues=values.filter(({rawValue})=>shared.isFunctionOrExpression(rawValue));if(realComputedValues.length>0){const handleChange=newValues=>{for(const value of realComputedValues){const{key,rawValue,defaultValue}=value,computedValue=computedValues[key],refreshedValue=helper.computeValue(rawValue,newValues,scene,defaultValue);if(!shared.isDeepEqual(refreshedValue,computedValue)){forceUpdate();break}}};return eventBus.onChange(handleChange),()=>{eventBus.offChange(handleChange)}}},[computedValues,eventBus,forceUpdate,scene,values]),returnAsObject?values.reduce((acc,{key})=>(acc[key]=computedValues[key],acc),{}):values.map(({key})=>computedValues[key])}exports.useComputedValues=useComputedValues;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const shared=require("@vef-framework/shared"),{useContextSelector:useFormContextSelector,useContext:useFormContext,ContextProvider:FormContextProvider}=shared.createSelectableContext({autoExpand:!0,labelPosition:"top",layoutMode:"responsive"});exports.FormContextProvider=FormContextProvider,exports.useFormContext=useFormContext,exports.useFormContextSelector=useFormContextSelector;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const shared=require("@vef-framework/shared"),react=require("react");function useFormInitialization(schema,initialValues){return react.useMemo(()=>{const mergedInitialValues={...initialValues},valueChangeHandlers={},virtualFieldNames=[];for(const group of schema){const{rows}=group;for(const row of rows){const{columns}=row;for(const column of columns){const{items}=column;for(const item of items){const{name,defaultValue,virtual}=item;!shared.isNullish(defaultValue)&&shared.isNullish(mergedInitialValues[name])&&(mergedInitialValues[name]=defaultValue),item.type!=="Hidden"&&shared.isFunction(item.onChange)&&(valueChangeHandlers[name]=item.onChange),virtual===!0&&virtualFieldNames.push(name)}}}}return{mergedInitialValues,valueChangeHandlers,virtualFieldNames}},[])}exports.useFormInitialization=useFormInitialization;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const react=require("react"),store=require("../store.cjs");function useFormInstance(ref,reset){const[form,eventBus,getValues,setValues]=store.useFormStore(state=>[state.form,state.eventBus,state.getValues,state.setValues]);react.useImperativeHandle(ref,()=>({submit:()=>new Promise((resolve,reject)=>{const handleResult=result=>{eventBus.offSubmitResult(handleResult),result?resolve():reject(result)};eventBus.onSubmitResult(handleResult),form.submit()}),reset,getValues,setValues}))}exports.useFormInstance=useFormInstance;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const shared=require("@vef-framework/shared"),react=require("react"),store=require("../store.cjs");function useFormValuesChange(onChange){const[scene,eventBus,invokeValueChangeHandlers]=store.useFormStore(state=>[state.scene,state.eventBus,state.invokeValueChangeHandlers]),handleValuesChange=react.useMemo(()=>(_,values)=>{eventBus.emitChange(values)},[eventBus]);return react.useEffect(()=>{if(shared.isFunction(onChange)){const handleChange=values=>{onChange(values,scene)};return eventBus.onChange(handleChange),()=>{eventBus.offChange(handleChange)}}},[eventBus,onChange,scene]),react.useLayoutEffect(()=>{invokeValueChangeHandlers()},[]),{handleValuesChange}}exports.useFormValuesChange=useFormValuesChange;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const shared=require("@vef-framework/shared"),react=require("react");function useLabelWidth(labelPosition,labelWidth){return react.useMemo(()=>{if(!(labelPosition==="top"||!labelWidth))return(labelWidth<60||labelWidth>120)&&shared.showWarningMessage("The labelWidth of VefForm component must be between 60 and 120, otherwise it will be 60 or 120."),Math.min(Math.max(labelWidth,60),120)},[labelPosition,labelWidth])}exports.useLabelWidth=useLabelWidth;/*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -1,3 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),react$1=require("@emotion/react"),hooks=require("@vef-framework/hooks"),shared=require("@vef-framework/shared"),antd=require("antd"),react=require("react");require("../internal/index.cjs");const formActions=require("./components/form-actions.cjs"),formContent=require("./components/form-content.cjs"),event=require("./event.cjs"),useActionHandlers=require("./hooks/use-action-handlers.cjs"),useFormContext=require("./hooks/use-form-context.cjs"),useFormInitialization=require("./hooks/use-form-initialization.cjs"),useFormInstance=require("./hooks/use-form-instance.cjs"),useFormValuesChange=require("./hooks/use-form-values-change.cjs"),useLabelWidth=require("./hooks/use-label-width.cjs"),store=require("./store.cjs"),utils=require("../internal/utils.cjs"),{useForm}=antd.Form,scrollToFirstErrorOptions={scrollMode:"if-needed",behavior:"smooth"};function VefFormBase({schema,labelAlign="right",variant,showTabs=!1,height="auto",size,disabled=!1,onChange,submissionButton,resetButton,submitApi,submitTip,onBeforeSubmit,onSubmit,onSubmitSuccess,onSubmitFailure,onReset},ref){const[labelPosition,labelWidth]=useFormContext.useFormContextSelector(ctx=>[ctx.labelPosition,ctx.labelWidth]),[form,initialValues,isLoading]=store.useFormStore(state=>[state.form,state.initialValues,state.isLoading]),{handleValuesChange}=useFormValuesChange.useFormValuesChange(onChange),{handleReset,handleSubmit,handleSubmitFailed}=useActionHandlers.useActionHandlers({submitApi,submitTip,onBeforeSubmit,onSubmit,onSubmitSuccess,onSubmitFailure,onReset});useFormInstance.useFormInstance(ref,handleReset);const labelCol=react.useMemo(()=>{if(labelWidth)return{flex:`0 0 ${labelWidth}px`}},[labelWidth]),formStyle=react.useMemo(()=>{let heightValue=height;return height==="full"?heightValue="100%":shared.isNumber(height)&&(heightValue=`${height}px`),react$1.css`
2
- height: ${heightValue};
3
- `},[height]),formDisabled=hooks.useContextDisabled()||disabled||isLoading;return jsxRuntime.jsxs(antd.Form,{labelWrap:!0,colon:!1,css:formStyle,disabled:formDisabled,form,initialValues,labelAlign,labelCol,layout:labelPosition==="top"?"vertical":"horizontal",scrollToFirstError:scrollToFirstErrorOptions,size:utils.convertBasicSizeToUiSize(size),variant,onFinish:handleSubmit,onFinishFailed:handleSubmitFailed,onValuesChange:handleValuesChange,children:[jsxRuntime.jsx(formContent.default,{height,schema,showTabs:showTabs===!0?"switch":showTabs}),jsxRuntime.jsx(formActions.default,{handleReset,resetButton,submissionButton})]})}const VefFormBaseForwarded=react.forwardRef(VefFormBase);VefFormBaseForwarded.displayName="VefFormBase";function VefFormWrapper({initialValues,scene,layoutMode="responsive",autoExpand=!1,labelPosition="top",labelWidth,...restProps},ref){const{schema}=restProps,[form]=useForm(),eventBus=hooks.useSingleton(()=>new event.FormEventBus);hooks.useUnmount(()=>{eventBus.clear()});const labelWidthToUse=useLabelWidth.useLabelWidth(labelPosition,labelWidth),formContext=react.useMemo(()=>({labelPosition,labelWidth:labelWidthToUse,autoExpand,layoutMode}),[layoutMode,autoExpand,labelPosition,labelWidthToUse]),{mergedInitialValues,valueChangeHandlers,virtualFieldNames}=useFormInitialization.useFormInitialization(schema,initialValues),initialState=react.useMemo(()=>({eventBus,form,initialValues:mergedInitialValues,scene,valueChangeHandlers,virtualFieldNames}),[eventBus,form,mergedInitialValues,scene,valueChangeHandlers,virtualFieldNames]);return jsxRuntime.jsx(store.FormStoreProvider,{initialState,children:jsxRuntime.jsx(useFormContext.FormContextProvider,{value:formContext,children:jsxRuntime.jsx(VefFormBaseForwarded,{ref,...restProps})})})}const VefForm=react.memo(react.forwardRef(VefFormWrapper),(prevProps,nextProps)=>shared.isDeepEqual(shared.omit(prevProps,["initialValues","schema"]),shared.omit(nextProps,["initialValues","schema"])));VefForm.displayName="VefForm",exports.default=VefForm;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. *//*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const shared=require("@vef-framework/shared"),{StoreProvider:FormStoreProvider,useStore:useFormStore,useStoreApi:useFormStoreApi}=shared.createComponentStore("Form",initialState=>(set,get)=>({...initialState,invokeValueChangeHandlers(values,keys){const{scene,valueChangeHandlers,initialValues,setValues}=get(),valuesToUse=values??initialValues,keySet=keys?new Set(keys):null;for(const[name,handler]of Object.entries(valueChangeHandlers))(!keySet||keySet.has(name))&&handler(valuesToUse[name]??null,{values:valuesToUse,scene,setValues})},getValues(){const{form,initialValues}=get();return form.isFieldsTouched(!0)?initialValues:form.getFieldsValue()},setValues(values){const{form,eventBus,invokeValueChangeHandlers}=get(),previousValues=form.getFieldsValue(),changedKeys=Object.keys(values).filter(key=>!shared.isDeepEqual(values[key],previousValues[key]));form.setFieldsValue(values);const currentValues=form.getFieldsValue();eventBus.emitChange(currentValues),invokeValueChangeHandlers(currentValues,changedKeys)},isLoading:!1,setIsLoading(isLoading){set({isLoading})},showActionButtons:!0,setShowActionButtons(showActionButtons){set({showActionButtons})}}));exports.FormStoreProvider=FormStoreProvider,exports.useFormStore=useFormStore,exports.useFormStoreApi=useFormStoreApi;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. *//*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const shared=require("@vef-framework/shared");function isRequired(message){return()=>[{required:!0,message}]}function isEqualsTo(target,message){return({label})=>[{validator(_,value){return shared.isDeepEqual(value,target)?Promise.resolve():Promise.reject(new shared.VefError(-2,message??`${label?`${label}的值`:"值"}必须是${target}`))}}]}function isNotEqualsTo(target,message){return({label})=>[{validator(_,value){return shared.isDeepEqual(value,target)?Promise.reject(new shared.VefError(-2,message??`${label?`${label}的值`:"值"}不能是${target}`)):Promise.resolve()}}]}function isIn(allowed,message){return()=>[{type:"enum",enum:allowed,message}]}function isMeetsMinSize(min,message){return()=>[{min,message}]}function isMeetsMaxSize(max,message){return()=>[{max,message}]}function isMeetsRangeSize(min,max,message){return()=>[{min,max,message}]}function isAlpha(message){return({label})=>[{validator(_,value){return shared.validator.isAlpha(value)?Promise.resolve():Promise.reject(new shared.VefError(-2,message??`${label??"值"}必须是字母`))}}]}function isAlphanumeric(message){return({label})=>[{validator(_,value){return shared.validator.isAlphanumeric(value)?Promise.resolve():Promise.reject(new shared.VefError(-2,message??`${label??"值"}必须是字母或数字`))}}]}function isAscii(message){return({label})=>[{validator(_,value){return shared.validator.isAscii(value)?Promise.resolve():Promise.reject(new shared.VefError(-2,message??`${label??"值"}必须是ASCII字符`))}}]}function isNumeric(message){return({label})=>[{validator(_,value){return shared.validator.isNumeric(value)?Promise.resolve():Promise.reject(new shared.VefError(-2,message??`${label??"值"}必须是数字`))}}]}function isEmail(message){return({label})=>[{validator(_,value){return shared.validator.isEmail(value)?Promise.resolve():Promise.reject(new shared.VefError(-2,message??`${label??"值"}必须是合法的邮箱`))}}]}function isHexColor(message){return({label})=>[{validator(_,value){return shared.validator.isHexColor(value)?Promise.resolve():Promise.reject(new shared.VefError(-2,message??`${label??"值"}必须是十六进制颜色`))}}]}function isIdentityCard(message){return({label})=>[{validator(_,value){return shared.validator.isIdentityCard(value)?Promise.resolve():Promise.reject(new shared.VefError(-2,message??`${label??"值"}必须是合法的身份证`))}}]}function isIp(message){return({label})=>[{validator(_,value){return shared.validator.isIp(value)?Promise.resolve():Promise.reject(new shared.VefError(-2,message??`${label??"值"}必须是合法的IP地址`))}}]}function isPort(message){return({label})=>[{validator(_,value){return shared.validator.isPort(value)?Promise.resolve():Promise.reject(new shared.VefError(-2,message??`${label??"值"}必须是合法的端口`))}}]}function isJson(message){return({label})=>[{validator(_,value){return shared.validator.isJson(value)?Promise.resolve():Promise.reject(new shared.VefError(-2,message??`${label??"值"}必须是合法的JSON`))}}]}function isUrl(message){return({label})=>[{validator(_,value){return shared.validator.isUrl(value)?Promise.resolve():Promise.reject(new shared.VefError(-2,message??`${label??"值"}必须是合法的URL`))}}]}function isUri(message){return({label})=>[{validator(_,value){return shared.validator.isUri(value)?Promise.resolve():Promise.reject(new shared.VefError(-2,message??`${label??"值"}必须是合法的URI`))}}]}function isPostalCode(message){return({label})=>[{validator(_,value){return shared.validator.isPostalCode(value)?Promise.resolve():Promise.reject(new shared.VefError(-2,message??`${label??"值"}必须是合法的邮政编码`))}}]}function isDateBefore(targetDate,message){return({label})=>[{validator(_,value){return shared.validator.isBefore(value,targetDate??shared.getNowDateString())?Promise.resolve():Promise.reject(new shared.VefError(-2,message??`${label??"值"}必须在${targetDate}之前`))}}]}function isDateAfter(targetDate,message){return({label})=>[{validator(_,value){return shared.validator.isAfter(value,targetDate??shared.getNowDateString())?Promise.resolve():Promise.reject(new shared.VefError(-2,message??`${label??"值"}必须在${targetDate}之后`))}}]}function isChineseName(message){return({label})=>[{validator(_,value){return shared.validator.isChineseName(value)?Promise.resolve():Promise.reject(new shared.VefError(-2,message??`${label??"值"}必须是中文名称`))}}]}exports.isAlpha=isAlpha,exports.isAlphanumeric=isAlphanumeric,exports.isAscii=isAscii,exports.isChineseName=isChineseName,exports.isDateAfter=isDateAfter,exports.isDateBefore=isDateBefore,exports.isEmail=isEmail,exports.isEqualsTo=isEqualsTo,exports.isHexColor=isHexColor,exports.isIdentityCard=isIdentityCard,exports.isIn=isIn,exports.isIp=isIp,exports.isJson=isJson,exports.isMeetsMaxSize=isMeetsMaxSize,exports.isMeetsMinSize=isMeetsMinSize,exports.isMeetsRangeSize=isMeetsRangeSize,exports.isNotEqualsTo=isNotEqualsTo,exports.isNumeric=isNumeric,exports.isPort=isPort,exports.isPostalCode=isPostalCode,exports.isRequired=isRequired,exports.isUri=isUri,exports.isUrl=isUrl;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),hooks=require("@vef-framework/hooks"),shared=require("@vef-framework/shared"),react=require("react"),index=require("../vef-button/index.cjs"),index$1=require("../vef-drawer/index.cjs"),index$2=require("../vef-form/index.cjs"),actionButtonWrapper=require("../vef-drawer/components/action-button-wrapper.cjs");function VefFormDrawerBase({title,open,closable,closeOnMaskClick,closeOnEscPress,destroyOnClose=!0,cancelOnClose,placement,expansionSize="medium",loading,extra,cancelButtonText,actions,onClose,onCancel,onAfterClose,onAfterOpen,submissionButtonText,disabled=!1,...formProps}){const formInstanceRef=react.useRef(null),handleSubmit=react.useCallback(async()=>{await formInstanceRef.current?.submit()},[]),formDisabled=hooks.useContextDisabled()||disabled,handleReset=react.useCallback(()=>{formInstanceRef.current?.reset()},[]),actionNode=react.useCallback(([cancelButton,submitButton])=>{const resetButton=jsxRuntime.jsx(actionButtonWrapper.default,{children:jsxRuntime.jsx(index.default,{color:"default",disabled:formDisabled,variant:"filled",onClick:handleReset,children:"重置"})},"resetActionButton");return shared.isFunction(actions)?actions([cancelButton,resetButton,submitButton]):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[cancelButton,resetButton,submitButton]})},[actions,formDisabled,handleReset]);return jsxRuntime.jsx(hooks.DisabledContextProvider,{value:formDisabled,children:jsxRuntime.jsx(index$1.default,{actions:actionNode,cancelOnClose,closable,closeOnEscPress,closeOnMaskClick,destroyOnClose,expansionSize,extra,loading,okButtonText:submissionButtonText,open,placement,title,onAfterClose,onAfterOpen,onCancel,onClose,onOk:handleSubmit,children:jsxRuntime.jsx(index$2.default,{ref:formInstanceRef,resetButton:!1,submissionButton:!1,...formProps})})})}const VefFormDrawer=react.memo(VefFormDrawerBase);VefFormDrawer.displayName="VefFormDrawer",exports.default=VefFormDrawer;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. *//*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),hooks=require("@vef-framework/hooks"),shared=require("@vef-framework/shared"),react=require("react"),index=require("../vef-button/index.cjs"),index$2=require("../vef-form/index.cjs"),index$1=require("../vef-modal/index.cjs"),actionButtonWrapper=require("../vef-modal/components/action-button-wrapper.cjs");function VefFormModalBase({submissionButtonText="提交",actions,title,open,closable,closeOnMaskClick,closeOnEscPress,destroyOnClose=!0,cancelOnClose,width="medium",loading,cancelButtonText,onClose,onCancel,onAfterOpen,onAfterClose,disabled=!1,...formProps}){const formInstanceRef=react.useRef(null),handleSubmit=react.useCallback(async()=>{await formInstanceRef.current?.submit()},[]),formDisabled=hooks.useContextDisabled()||disabled,handleReset=react.useCallback(()=>{formInstanceRef.current?.reset()},[]),actionNode=react.useCallback(([cancelButton,submitButton])=>{const resetButton=jsxRuntime.jsx(actionButtonWrapper.default,{children:jsxRuntime.jsx(index.default,{color:"default",variant:"filled",onClick:handleReset,children:"重置"})},"resetActionButton");return shared.isFunction(actions)?actions([cancelButton,resetButton,submitButton]):jsxRuntime.jsxs(jsxRuntime.Fragment,{children:[cancelButton,resetButton,submitButton]})},[actions,handleReset]);return jsxRuntime.jsx(hooks.DisabledContextProvider,{value:formDisabled,children:jsxRuntime.jsx(index$1.default,{actions:actionNode,cancelButtonText,cancelOnClose,closable,closeOnEscPress,closeOnMaskClick,destroyOnClose,loading,okButtonText:submissionButtonText,open,title,width,onAfterClose,onAfterOpen,onCancel,onClose,onOk:handleSubmit,children:jsxRuntime.jsx(index$2.default,{ref:formInstanceRef,disabled:formDisabled,resetButton:!1,submissionButton:!1,...formProps})})})}const VefFormModal=react.memo(VefFormModalBase);VefFormModal.displayName="VefFormModal",exports.default=VefFormModal;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. *//*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),Icon=require("@ant-design/icons"),shared=require("@vef-framework/shared"),antd=require("antd"),lucideReact=require("lucide-react"),react=require("react");require("../internal/index.cjs");const index=require("../vef-icon/index.cjs"),utils=require("../internal/utils.cjs"),dropdownStyle={"--vef-select-option-padding":0};function VefGenericSelect({value,size,renderLabel,placeholder,disabled,clearable,loading,variant,children,onClear}){const[opened,setOpened]=react.useState(!1),[focused,setFocused]=react.useState(!1),[keyword,setKeyword]=react.useState(),deferredKeyword=react.useDeferredValue(keyword),handleBlur=react.useCallback(()=>{setFocused(!1)},[]),handleFocus=react.useCallback(()=>{setFocused(!0)},[]),handleConfirm=react.useCallback(()=>{setOpened(!1)},[]),renderLabelToUse=react.useMemo(()=>{if(shared.isFunction(renderLabel))return({value:value2})=>renderLabel?.(value2)},[renderLabel]),suffixIcon=focused&&opened?jsxRuntime.jsx(Icon.SearchOutlined,{}):jsxRuntime.jsx(index.default,{children:jsxRuntime.jsx(lucideReact.LeafIcon,{})}),childrenToUse=react.cloneElement(children,{keyword:deferredKeyword,onConfirm:handleConfirm});return jsxRuntime.jsx(antd.Select,{showSearch:!0,allowClear:clearable,css:shared.styles.fullWidth,disabled,dropdownStyle,labelRender:renderLabelToUse,loading,notFoundContent:childrenToUse,open:opened,placeholder,popupMatchSelectWidth:!1,searchValue:keyword,size:utils.convertBasicSizeToUiSize(size),suffixIcon,value,variant,onBlur:handleBlur,onClear,onDropdownVisibleChange:setOpened,onFocus:handleFocus,onSearch:setKeyword})}exports.default=VefGenericSelect;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. *//*! 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,24 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),react=require("@emotion/react"),hooks=require("@vef-framework/hooks"),shared=require("@vef-framework/shared"),clsx=require("clsx"),react$1=require("react"),reactContainerQuery=require("react-container-query"),GRID_COLUMNS=24,gridStyle=react.css`
2
- display: grid;
3
- grid: auto-flow / repeat(${GRID_COLUMNS}, minmax(0, 1fr));
4
-
5
- > * {
6
- grid-column: span ${GRID_COLUMNS};
7
- }
8
-
9
- ${Array.from({length:GRID_COLUMNS}).map((_,index)=>`
10
- > .vef-grid-item-${index+1} {
11
- grid-column: span ${index+1};
12
- }
13
- `)}
14
-
15
- ${shared.breakpoints.map(breakpoint=>`
16
- &.vef-container-${breakpoint} {
17
- ${Array.from({length:GRID_COLUMNS}).map((_,index)=>`
18
- > .vef-grid-item-${breakpoint}-${index+1} {
19
- grid-column: span ${index+1};
20
- }
21
- `)}
22
- }
23
- `)}
24
- `;function VefGrid({baseWidth=240,gap,children}){const query=react$1.useMemo(()=>({"vef-container-xs":{minWidth:0},"vef-container-sm":{minWidth:baseWidth*2},"vef-container-md":{minWidth:baseWidth*3},"vef-container-lg":{minWidth:baseWidth*4},"vef-container-xl":{minWidth:baseWidth*5},"vef-container-xxl":{minWidth:baseWidth*6}}),[baseWidth]),containerRef=react$1.useRef(null),[classNames,setRef]=reactContainerQuery.useContainerQuery(query,{width:baseWidth*2}),normalizeGapSize=hooks.useGapSizeNormalizer(),[rowGap,columnGap]=react$1.useMemo(()=>{if(shared.isArray(gap))return[normalizeGapSize(gap[0]),normalizeGapSize(gap[1])];if(gap){const normalizedGap=normalizeGapSize(gap);return[normalizedGap,normalizedGap]}return[0,0]},[gap,normalizeGapSize]);react$1.useEffect(()=>{setRef(containerRef.current)},[containerRef,setRef]);const containerSize=hooks.useElementSize(containerRef),gapStyle=react$1.useMemo(()=>(containerSize?.width??baseWidth*2)>GRID_COLUMNS*columnGap?{gap:`${rowGap}px ${columnGap}px`}:{gap:`${rowGap}px ${Math.floor((containerSize?.width??baseWidth*2)/GRID_COLUMNS)}px`},[containerSize?.width,baseWidth,columnGap,rowGap]);return jsxRuntime.jsx("div",{ref:containerRef,className:clsx(classNames),css:gridStyle,style:gapStyle,children})}exports.default=VefGrid;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const BREAKPOINTS=["xs","sm","md","lg","xl","xxl"];exports.BREAKPOINTS=BREAKPOINTS;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),clsx=require("clsx"),react=require("react");function VefGridItem({span,xs,sm,md,lg,xl,xxl,children}){const classNames=react.useMemo(()=>{const classNames2=[];return span&&classNames2.push(`vef-grid-item-${span}`),xs&&classNames2.push(`vef-grid-item-xs-${xs}`),sm&&classNames2.push(`vef-grid-item-sm-${sm}`),md&&classNames2.push(`vef-grid-item-md-${md}`),lg&&classNames2.push(`vef-grid-item-lg-${lg}`),xl&&classNames2.push(`vef-grid-item-xl-${xl}`),xxl&&classNames2.push(`vef-grid-item-xxl-${xxl}`),classNames2},[span,xs,sm,md,lg,xl,xxl]);return jsxRuntime.jsx("div",{className:clsx(classNames),children})}exports.default=VefGridItem;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. *//*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),Icon=require("@ant-design/icons"),hooks=require("@vef-framework/hooks"),shared=require("@vef-framework/shared"),react=require("react"),VefIconBase=react.forwardRef(({size,color,children,...restProps},ref)=>{const colorTokens=hooks.useColorTokens(),style=react.useMemo(()=>{const style2={},fontSize=size==="small"?shared.themeVariables.fontSizeSm:size==="medium"?shared.themeVariables.fontSize:size==="large"?shared.themeVariables.fontSizeLg:size==="huge"?shared.themeVariables.fontSizeXl:void 0;return fontSize&&(style2.fontSize=fontSize),color&&(style2.color=colorTokens.get(color)),style2},[size,color,colorTokens]);return jsxRuntime.jsx(Icon,{ref,style,component:props=>{const svgProps=shared.omit(props,["fill"]);if(children.type===react.Suspense){const{children:icon}=children.props;return react.cloneElement(children,{children:react.cloneElement(icon,svgProps)})}return react.cloneElement(children,svgProps)},...restProps})}),VefIcon=react.memo(VefIconBase);VefIcon.displayName="VefIcon",exports.default=VefIcon;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. *//*! 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,40 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),react=require("@emotion/react"),hooks=require("@vef-framework/hooks"),shared=require("@vef-framework/shared"),react$1=require("react"),index=require("../vef-dynamic-icon/index.cjs"),props=require("../vef-dynamic-icon/props.cjs"),index$1=require("../vef-empty-placeholder/index.cjs"),index$5=require("../vef-generic-select/index.cjs"),index$3=require("../vef-space/index.cjs"),index$4=require("../vef-text/index.cjs"),index$2=require("../vef-virtual-grid/index.cjs"),iconsStyle=react.css`
2
- color: ${shared.themeVariables.colorTextSlate};
3
-
4
- .vef-icon-select-wrapper {
5
- padding: calc(${shared.themeVariables.paddingXxs} + 2px) ${shared.themeVariables.paddingXs};
6
- }
7
- `,iconItemStyle=react.css`
8
- height: 100%;
9
- display: flex;
10
- justify-content: center;
11
- align-items: center;
12
- background-color: ${shared.themeVariables.colorFillContent};
13
- border-radius: ${shared.themeVariables.borderRadius};
14
- transition: background-color ${shared.themeVariables.motionDurationMid} ${shared.themeVariables.motionEaseInOut};
15
- &:hover {
16
- cursor: pointer;
17
- background-color: ${shared.themeVariables.colorFillContentHover};
18
- }
19
-
20
- &.vef-icon-select-item-selected {
21
- background-color: ${shared.themeVariables.colorPrimaryBg};
22
- }
23
-
24
- .vef-icon {
25
- font-size: 28px;
26
- }
27
- `,iconItemSize=60,iconNames=Array.from(props.dynamicIconNames);function VefIconsContentBase({value,onChange,keyword,onConfirm}){const{paddingXS,paddingXXS}=hooks.useThemeTokens(),filteredIcons=react$1.useMemo(()=>{const trimmedKeyword=shared.trim(keyword);return trimmedKeyword?shared.cluster(iconNames.filter(name=>name.includes(trimmedKeyword)),6):shared.cluster(iconNames,6)},[keyword]),[width,height]=react$1.useMemo(()=>[6*iconItemSize+12*5+paddingXS*2,5*iconItemSize+12*4+(paddingXXS+2)*2],[paddingXXS,paddingXS]),renderItem=react$1.useCallback(({item})=>{const isSelected=item===value;return jsxRuntime.jsx("div",{className:isSelected?"vef-icon-select-item-selected":void 0,css:iconItemStyle,title:item,onClick:()=>{if(isSelected){onConfirm?.();return}onChange(item),onConfirm?.()},children:jsxRuntime.jsx(index.default,{name:item})})},[onChange,onConfirm,value]),emptyPlaceholderStyle=react$1.useMemo(()=>({width,height}),[width,height]);return filteredIcons.length===0?jsxRuntime.jsx("div",{css:iconsStyle,children:jsxRuntime.jsx("div",{className:"vef-icon-select-wrapper",style:emptyPlaceholderStyle,children:jsxRuntime.jsx(index$1.default,{description:"暂无图标",presetIcon:"simple"})})}):jsxRuntime.jsx("div",{css:iconsStyle,children:jsxRuntime.jsx(index$2.default,{className:"vef-icon-select-wrapper",columnWidth:iconItemSize,gap:"small",height,items:filteredIcons,renderItem,rowHeight:iconItemSize,width})})}const VefIconsContent=react$1.memo(VefIconsContentBase);VefIconsContent.displayName="VefIconsContent";const labelStyle=react.css`
28
- width: 100%;
29
-
30
- .vef-space-item:last-of-type {
31
- min-width: 0;
32
- }
33
-
34
- .vef-typography {
35
- line-height: inherit;
36
- font-size: inherit;
37
- font-family: inherit;
38
- color: inherit;
39
- }
40
- `;function renderLabel(name){return jsxRuntime.jsxs(index$3.default,{css:labelStyle,children:[jsxRuntime.jsx(index.default,{name}),jsxRuntime.jsx(index$4.default,{ellipsis:!0,children:name})]})}function VefIconSelect({defaultValue,value,size,placeholder,disabled,clearable,variant,onChange,onClear}){const[internalValue,setInternalValue]=react$1.useState(defaultValue??null),handleChange=react$1.useCallback(changedValue=>{if(shared.isUndefined(value)){setInternalValue(changedValue);return}onChange?.(changedValue)},[onChange,value]),handleClear=react$1.useCallback(()=>{handleChange(null),onClear?.()},[handleChange,onClear]);return jsxRuntime.jsx(index$5.default,{clearable,disabled,placeholder,renderLabel,size,value:value??internalValue,variant,onClear:handleClear,children:jsxRuntime.jsx(VefIconsContent,{value:shared.isUndefined(value)?internalValue:value,onChange:handleChange})})}exports.default=VefIconSelect;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. *//*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const react=require("react");function useInputInstance(ref){const inputRef=react.useRef(null);return react.useImperativeHandle(ref,()=>({blur:()=>inputRef.current?.blur(),focus:()=>inputRef.current?.focus({preventScroll:!0}),input:inputRef.current?.input??null,nativeElement:inputRef.current?.nativeElement??null})),inputRef}exports.useInputInstance=useInputInstance;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),shared=require("@vef-framework/shared"),antd=require("antd"),react=require("react");require("../internal/index.cjs");const useInputInstance=require("./hooks/use-input-instance.cjs"),utils=require("../internal/utils.cjs");function normalizeValue(value){return value===""?null:value}const VefInput=react.forwardRef(({defaultValue,value,clearable,size,showCount,prepend,append,onChange,onEnterKeyPress,onBlur,onFocus,...restProps},ref)=>{const eventHandlers=react.useMemo(()=>({onChange:shared.isFunction(onChange)?event=>onChange(normalizeValue(event.target.value)):void 0,onPressEnter:shared.isFunction(onEnterKeyPress)?event=>onEnterKeyPress(normalizeValue(event.target.value)):void 0,onBlur:shared.isFunction(onBlur)?event=>onBlur(normalizeValue(event.target.value)):void 0,onFocus:shared.isFunction(onFocus)?event=>onFocus(normalizeValue(event.target.value)):void 0}),[onChange,onEnterKeyPress,onBlur,onFocus]),inputRef=useInputInstance.useInputInstance(ref);return jsxRuntime.jsx(antd.Input,{ref:inputRef,addonAfter:append,addonBefore:prepend,allowClear:clearable,defaultValue,showCount,size:utils.convertBasicSizeToUiSize(size),type:"text",value,...restProps,...eventHandlers})});VefInput.displayName="VefInput",exports.default=VefInput;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. *//*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const react=require("react");function useInputNumberInstance(ref){const inputNumberRef=react.useRef(null);return react.useImperativeHandle(ref,()=>({blur:()=>inputNumberRef.current?.blur(),focus:()=>inputNumberRef.current?.focus({preventScroll:!0})})),inputNumberRef}exports.useInputNumberInstance=useInputNumberInstance;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),shared=require("@vef-framework/shared"),antd=require("antd"),react=require("react");require("../internal/index.cjs");const useInputNumberInstance=require("./hooks/use-input-number-instance.cjs"),utils=require("../internal/utils.cjs");function normalizeValue(value,useStringFormat){const number=Number.parseFloat(value);return Number.isNaN(number)?null:useStringFormat?`${number}`:number}const VefInputNumber=react.forwardRef(({size,showControls,step,min,max,prepend,append,...restProps},ref)=>{const eventHandlerGroup=react.useMemo(()=>{const{useStringFormat:useStringFormat2}=restProps;if(useStringFormat2){const{onChange:onChange3,onEnterKeyPress:onEnterKeyPress3,onBlur:onBlur3,onFocus:onFocus3}=restProps;return{stringFormat:!0,onChange:shared.isFunction(onChange3)?value2=>onChange3(value2):void 0,onPressEnter:shared.isFunction(onEnterKeyPress3)?event=>onEnterKeyPress3(normalizeValue(event.target.value,!0)):void 0,onBlur:shared.isFunction(onBlur3)?event=>onBlur3(normalizeValue(event.target.value,!0)):void 0,onFocus:shared.isFunction(onFocus3)?event=>onFocus3(normalizeValue(event.target.value,!0)):void 0}}const{onChange:onChange2,onEnterKeyPress:onEnterKeyPress2,onBlur:onBlur2,onFocus:onFocus2}=restProps;return{stringFormat:!1,onChange:shared.isFunction(onChange2)?value2=>onChange2(value2):void 0,onPressEnter:shared.isFunction(onEnterKeyPress2)?event=>onEnterKeyPress2(normalizeValue(event.target.value,!1)):void 0,onBlur:shared.isFunction(onBlur2)?event=>onBlur2(normalizeValue(event.target.value,!1)):void 0,onFocus:shared.isFunction(onFocus2)?event=>onFocus2(normalizeValue(event.target.value,!1)):void 0}},[restProps]),inputNumberRef=useInputNumberInstance.useInputNumberInstance(ref),{useStringFormat}=restProps;if(useStringFormat){const{useStringFormat:useStringFormat2,defaultValue:defaultValue2,value:value2,onChange:onChange2,onEnterKeyPress:onEnterKeyPress2,onBlur:onBlur2,onFocus:onFocus2,...commonProps2}=restProps,{stringFormat:stringFormat2}=eventHandlerGroup;if(stringFormat2){const{stringFormat:stringFormat3,...eventHandlers}=eventHandlerGroup;return jsxRuntime.jsx(antd.InputNumber,{ref:inputNumberRef,stringMode:!0,addonAfter:append,addonBefore:prepend,controls:showControls,css:shared.styles.fullWidth,defaultValue:defaultValue2,max:`${max}`,min:`${min}`,size:utils.convertBasicSizeToUiSize(size),step:`${step}`,value:value2,...commonProps2,...eventHandlers})}return}const{useStringFormat:_,defaultValue,value,onChange,onEnterKeyPress,onBlur,onFocus,...commonProps}=restProps,{stringFormat}=eventHandlerGroup;if(!stringFormat){const{stringFormat:stringFormat2,...eventHandlers}=eventHandlerGroup;return jsxRuntime.jsx(antd.InputNumber,{ref:inputNumberRef,addonAfter:append,addonBefore:prepend,controls:showControls,css:shared.styles.fullWidth,defaultValue,max,min,step,value,...commonProps,...eventHandlers})}});VefInputNumber.displayName="VefInputNumber",exports.default=VefInputNumber;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. *//*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const react=require("react");function useChangeHandler(onChange){return react.useCallback(value=>{onChange?.(value??"")},[onChange])}exports.useChangeHandler=useChangeHandler;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const hooks=require("@vef-framework/hooks"),react=require("react");function useEditorOptions(placeholder,disabled,tabSize){const{fontSize}=hooks.useThemeTokens();return react.useMemo(()=>({placeholder,readOnly:disabled,accessibilitySupport:"off",ariaRequired:!1,lineNumbers:"on",minimap:{enabled:!1},tabSize,fontSize,autoClosingBrackets:"languageDefined",autoClosingComments:"languageDefined",autoClosingDelete:"auto",autoClosingOvertype:"auto",autoClosingQuotes:"languageDefined",autoIndent:"full",autoSurround:"languageDefined",lineNumbersMinChars:3,lineDecorationsWidth:0,fixedOverflowWidgets:!0}),[placeholder,disabled,tabSize,fontSize])}exports.useEditorOptions=useEditorOptions;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const react=require("react");function usePath(path,language){return react.useMemo(()=>{if(!path)switch(language){case"typescript":return"index.ts";case"javascript":return"index.js";case"json":return"index.json";case"html":return"index.html";case"css":return"index.css";case"scss":return"index.scss";case"less":return"index.less";default:return"index"}return path},[path,language])}exports.usePath=usePath;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const jsxRuntime=require("@emotion/react/jsx-runtime"),react=require("@monaco-editor/react"),index=require("../vef-spin/index.cjs"),useChangeHandler=require("./hooks/use-change-handler.cjs"),useEditorOptions=require("./hooks/use-editor-options.cjs"),usePath=require("./hooks/use-path.cjs"),styles=require("./styles.cjs");function VefIntellisenseCodeEditor({value,language,path,placeholder,disabled,height=320,tabSize=2,onChange}){const handleChange=useChangeHandler.useChangeHandler(onChange),options=useEditorOptions.useEditorOptions(placeholder,disabled,tabSize),codePath=usePath.usePath(path,language);return jsxRuntime.jsx(react.Editor,{saveViewState:!0,css:styles.editorStyle,height,keepCurrentModel:!1,language,loading:jsxRuntime.jsx(index.default,{}),options,path:codePath,theme:"github-light",value,width:"100%",onChange:handleChange})}exports.default=VefIntellisenseCodeEditor;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const react=require("@monaco-editor/react"),monaco=require("monaco-editor"),EditorWorker=require("monaco-editor/esm/vs/editor/editor.worker?worker"),CssWorker=require("monaco-editor/esm/vs/language/css/css.worker?worker"),HtmlWorker=require("monaco-editor/esm/vs/language/html/html.worker?worker"),JsonWorker=require("monaco-editor/esm/vs/language/json/json.worker?worker"),TsWorker=require("monaco-editor/esm/vs/language/typescript/ts.worker?worker"),githubLight=require("./themes/github-light.json.cjs");function _interopNamespaceDefault(e){const n=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const k in e)if(k!=="default"){const d=Object.getOwnPropertyDescriptor(e,k);Object.defineProperty(n,k,d.get?d:{enumerable:!0,get:()=>e[k]})}}return n.default=e,Object.freeze(n)}const monaco__namespace=_interopNamespaceDefault(monaco);self.MonacoEnvironment={getWorker(_,label){return label==="json"?new JsonWorker:label==="css"||label==="scss"||label==="less"?new CssWorker:label==="html"||label==="handlebars"||label==="razor"?new HtmlWorker:label==="typescript"||label==="javascript"?new TsWorker:new EditorWorker}},monaco__namespace.editor.defineTheme("github-light",githubLight.default),monaco__namespace.languages.typescript.typescriptDefaults.setInlayHintsOptions({includeInlayVariableTypeHints:!0,includeInlayEnumMemberValueHints:!0,includeInlayFunctionParameterTypeHints:!0,includeInlayPropertyDeclarationTypeHints:!0,includeInlayFunctionLikeReturnTypeHints:!0,includeInlayParameterNameHints:"all",includeInlayParameterNameHintsWhenArgumentMatchesName:!0}),monaco__namespace.languages.typescript.typescriptDefaults.setEagerModelSync(!0),monaco__namespace.languages.typescript.typescriptDefaults.setDiagnosticsOptions({noSemanticValidation:!1,noSuggestionDiagnostics:!1,noSyntaxValidation:!1,onlyVisible:!1}),monaco__namespace.languages.typescript.typescriptDefaults.setCompilerOptions({target:monaco__namespace.languages.typescript.ScriptTarget.ES2020,lib:["ES2020"],module:monaco__namespace.languages.typescript.ModuleKind.ESNext,moduleResolution:monaco__namespace.languages.typescript.ModuleResolutionKind.NodeJs,jsx:monaco__namespace.languages.typescript.JsxEmit.React,strict:!0,skipLibCheck:!0,esModuleInterop:!0,noEmit:!0,baseUrl:".",noFallthroughCasesInSwitch:!0,allowSyntheticDefaultImports:!0}),monaco__namespace.languages.typescript.javascriptDefaults.setModeConfiguration({inlayHints:!0,codeActions:!0,completionItems:!0,definitions:!0,diagnostics:!0,documentHighlights:!0,documentSymbols:!0,hovers:!0,references:!0,onTypeFormattingEdits:!0,rename:!0,signatureHelp:!0,documentRangeFormattingEdits:!0}),monaco__namespace.languages.typescript.javascriptDefaults.setInlayHintsOptions({includeInlayVariableTypeHints:!0,includeInlayEnumMemberValueHints:!0,includeInlayFunctionParameterTypeHints:!0,includeInlayPropertyDeclarationTypeHints:!0,includeInlayFunctionLikeReturnTypeHints:!0,includeInlayParameterNameHints:"all",includeInlayParameterNameHintsWhenArgumentMatchesName:!0}),monaco__namespace.languages.typescript.javascriptDefaults.setEagerModelSync(!0),monaco__namespace.languages.typescript.javascriptDefaults.setDiagnosticsOptions({noSemanticValidation:!1,noSuggestionDiagnostics:!1,noSyntaxValidation:!1,onlyVisible:!1}),monaco__namespace.languages.typescript.javascriptDefaults.setCompilerOptions({target:monaco__namespace.languages.typescript.ScriptTarget.ES2020,lib:["ES2020"],module:monaco__namespace.languages.typescript.ModuleKind.ESNext,moduleResolution:monaco__namespace.languages.typescript.ModuleResolutionKind.NodeJs,jsx:monaco__namespace.languages.typescript.JsxEmit.React,strict:!0,skipLibCheck:!0,esModuleInterop:!0,noEmit:!0,allowJs:!0,baseUrl:".",noFallthroughCasesInSwitch:!0,allowSyntheticDefaultImports:!0}),monaco__namespace.languages.json.jsonDefaults.setDiagnosticsOptions({validate:!0});function initializeIntellisenseCodeEditor(){react.loader.config({"vs/nls":{availableLanguages:{"*":"zh-cn"}},monaco:monaco__namespace}),react.loader.init()}exports.initializeIntellisenseCodeEditor=initializeIntellisenseCodeEditor;/*! 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 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. *//*! 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,20 +0,0 @@
1
- "use strict";/*! VefFramework version: 1.0.122, build time: 2025-03-11T09:32:18.529Z, made by Venus. */Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const react=require("@emotion/react"),shared=require("@vef-framework/shared"),editorStyle=react.css`
2
- border-width: ${shared.themeVariables.lineWidth};
3
- border-style: ${shared.themeVariables.lineType};
4
- border-color: ${shared.themeVariables.colorBorder};
5
- border-radius: ${shared.themeVariables.borderRadius};
6
- overflow: hidden;
7
-
8
- &:not(:has(> .monaco-editor.focused)) {
9
- border-color: ${shared.themeVariables.colorBorder};
10
-
11
- &:hover {
12
- border-color: ${shared.themeVariables.colorPrimaryHover};
13
- }
14
- }
15
-
16
- &:has(.monaco-editor.focused) {
17
- border-color: ${shared.themeVariables.colorPrimary};
18
- box-shadow: 0 0 0 2px rgba(5, 145, 255, 0.1);
19
- }
20
- `;exports.editorStyle=editorStyle;/*! 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 */