@vef-framework/components 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (499) hide show
  1. package/README.md +27 -0
  2. package/dist/index.d.ts +65 -0
  3. package/dist/index.js +3 -0
  4. package/dist/internal/index.d.ts +1 -0
  5. package/dist/internal/index.js +3 -0
  6. package/dist/internal/utils.d.ts +9 -0
  7. package/dist/internal/utils.js +3 -0
  8. package/dist/vef-access-denied/access-denied-icon.d.ts +4 -0
  9. package/dist/vef-access-denied/access-denied-icon.js +3 -0
  10. package/dist/vef-access-denied/index.d.ts +5 -0
  11. package/dist/vef-access-denied/index.js +29 -0
  12. package/dist/vef-access-denied/props.d.ts +18 -0
  13. package/dist/vef-action-buttons/index.d.ts +6 -0
  14. package/dist/vef-action-buttons/index.js +3 -0
  15. package/dist/vef-action-buttons/props.d.ts +23 -0
  16. package/dist/vef-badge/index.d.ts +5 -0
  17. package/dist/vef-badge/index.js +3 -0
  18. package/dist/vef-badge/props.d.ts +28 -0
  19. package/dist/vef-bool/hooks/use-bool-instance.d.ts +6 -0
  20. package/dist/vef-bool/hooks/use-bool-instance.js +3 -0
  21. package/dist/vef-bool/index.d.ts +4 -0
  22. package/dist/vef-bool/index.js +3 -0
  23. package/dist/vef-bool/props.d.ts +63 -0
  24. package/dist/vef-button/components/base-button.d.ts +9 -0
  25. package/dist/vef-button/components/base-button.js +3 -0
  26. package/dist/vef-button/index.d.ts +4 -0
  27. package/dist/vef-button/index.js +3 -0
  28. package/dist/vef-button/props.d.ts +79 -0
  29. package/dist/vef-card/index.d.ts +5 -0
  30. package/dist/vef-card/index.js +3 -0
  31. package/dist/vef-card/props.d.ts +27 -0
  32. package/dist/vef-card-meta/index.d.ts +5 -0
  33. package/dist/vef-card-meta/index.js +3 -0
  34. package/dist/vef-card-meta/props.d.ts +7 -0
  35. package/dist/vef-checkbox/hooks/use-checkbox-instance.d.ts +11 -0
  36. package/dist/vef-checkbox/hooks/use-checkbox-instance.js +3 -0
  37. package/dist/vef-checkbox/hooks/use-data-options.d.ts +34 -0
  38. package/dist/vef-checkbox/hooks/use-data-options.js +3 -0
  39. package/dist/vef-checkbox/index.d.ts +6 -0
  40. package/dist/vef-checkbox/index.js +5 -0
  41. package/dist/vef-checkbox/props.d.ts +41 -0
  42. package/dist/vef-col/index.d.ts +5 -0
  43. package/dist/vef-col/index.js +3 -0
  44. package/dist/vef-col/props.d.ts +5 -0
  45. package/dist/vef-color-picker/index.d.ts +5 -0
  46. package/dist/vef-color-picker/index.js +3 -0
  47. package/dist/vef-color-picker/props.d.ts +28 -0
  48. package/dist/vef-compact/index.d.ts +5 -0
  49. package/dist/vef-compact/index.js +3 -0
  50. package/dist/vef-compact/props.d.ts +11 -0
  51. package/dist/vef-config-provider/fonts/din/bold.woff2.js +3 -0
  52. package/dist/vef-config-provider/fonts/din/regular.woff2.js +3 -0
  53. package/dist/vef-config-provider/hooks/use-ui-config.d.ts +46 -0
  54. package/dist/vef-config-provider/hooks/use-ui-config.js +3 -0
  55. package/dist/vef-config-provider/index.d.ts +5 -0
  56. package/dist/vef-config-provider/index.js +111 -0
  57. package/dist/vef-config-provider/props.d.ts +24 -0
  58. package/dist/vef-config-provider/reset-style.d.ts +4 -0
  59. package/dist/vef-config-provider/reset-style.js +257 -0
  60. package/dist/vef-config-provider/store.d.ts +12 -0
  61. package/dist/vef-config-provider/store.js +3 -0
  62. package/dist/vef-container/index.d.ts +5 -0
  63. package/dist/vef-container/index.js +3 -0
  64. package/dist/vef-container/props.d.ts +6 -0
  65. package/dist/vef-crud-page/components/crud-actions.d.ts +21 -0
  66. package/dist/vef-crud-page/components/crud-actions.js +3 -0
  67. package/dist/vef-crud-page/components/crud-filter.d.ts +31 -0
  68. package/dist/vef-crud-page/components/crud-filter.js +3 -0
  69. package/dist/vef-crud-page/components/crud-footer.d.ts +31 -0
  70. package/dist/vef-crud-page/components/crud-footer.js +9 -0
  71. package/dist/vef-crud-page/components/crud-form-modal.d.ts +18 -0
  72. package/dist/vef-crud-page/components/crud-form-modal.js +3 -0
  73. package/dist/vef-crud-page/components/crud-header.d.ts +32 -0
  74. package/dist/vef-crud-page/components/crud-header.js +3 -0
  75. package/dist/vef-crud-page/components/crud-table.d.ts +57 -0
  76. package/dist/vef-crud-page/components/crud-table.js +3 -0
  77. package/dist/vef-crud-page/hooks/use-action-buttons.d.ts +16 -0
  78. package/dist/vef-crud-page/hooks/use-action-buttons.js +3 -0
  79. package/dist/vef-crud-page/hooks/use-crud-context.d.ts +8 -0
  80. package/dist/vef-crud-page/hooks/use-crud-context.js +3 -0
  81. package/dist/vef-crud-page/hooks/use-crud-schema.d.ts +17 -0
  82. package/dist/vef-crud-page/hooks/use-crud-schema.js +3 -0
  83. package/dist/vef-crud-page/hooks/use-operation-buttons.d.ts +11 -0
  84. package/dist/vef-crud-page/hooks/use-operation-buttons.js +3 -0
  85. package/dist/vef-crud-page/index.d.ts +6 -0
  86. package/dist/vef-crud-page/index.js +3 -0
  87. package/dist/vef-crud-page/props.d.ts +84 -0
  88. package/dist/vef-crud-page/store.d.ts +119 -0
  89. package/dist/vef-crud-page/store.js +3 -0
  90. package/dist/vef-crud-page/types.d.ts +173 -0
  91. package/dist/vef-divider/index.d.ts +5 -0
  92. package/dist/vef-divider/index.js +3 -0
  93. package/dist/vef-divider/props.d.ts +25 -0
  94. package/dist/vef-drawer/components/action-button-wrapper.d.ts +14 -0
  95. package/dist/vef-drawer/components/action-button-wrapper.js +3 -0
  96. package/dist/vef-drawer/components/button-props.d.ts +15 -0
  97. package/dist/vef-drawer/components/button-props.js +2 -0
  98. package/dist/vef-drawer/components/cancel-action-button.d.ts +4 -0
  99. package/dist/vef-drawer/components/cancel-action-button.js +3 -0
  100. package/dist/vef-drawer/components/ok-action-button.d.ts +4 -0
  101. package/dist/vef-drawer/components/ok-action-button.js +3 -0
  102. package/dist/vef-drawer/context.d.ts +27 -0
  103. package/dist/vef-drawer/context.js +3 -0
  104. package/dist/vef-drawer/index.d.ts +5 -0
  105. package/dist/vef-drawer/index.js +10 -0
  106. package/dist/vef-drawer/props.d.ts +97 -0
  107. package/dist/vef-dropdown/index.d.ts +4 -0
  108. package/dist/vef-dropdown/index.js +3 -0
  109. package/dist/vef-dropdown/props.d.ts +68 -0
  110. package/dist/vef-empty/index.d.ts +5 -0
  111. package/dist/vef-empty/index.js +3 -0
  112. package/dist/vef-empty/props.d.ts +7 -0
  113. package/dist/vef-empty-placeholder/index.d.ts +5 -0
  114. package/dist/vef-empty-placeholder/index.js +7 -0
  115. package/dist/vef-empty-placeholder/props.d.ts +6 -0
  116. package/dist/vef-error/error-icon.d.ts +4 -0
  117. package/dist/vef-error/error-icon.js +3 -0
  118. package/dist/vef-error/index.d.ts +5 -0
  119. package/dist/vef-error/index.js +30 -0
  120. package/dist/vef-error/props.d.ts +18 -0
  121. package/dist/vef-filter/components/action-buttons.d.ts +3 -0
  122. package/dist/vef-filter/components/action-buttons.js +21 -0
  123. package/dist/vef-filter/components/advanced-filter.d.ts +13 -0
  124. package/dist/vef-filter/components/advanced-filter.js +11 -0
  125. package/dist/vef-filter/components/basic-filter.d.ts +14 -0
  126. package/dist/vef-filter/components/basic-filter.js +21 -0
  127. package/dist/vef-filter/components/fields/index.d.ts +9 -0
  128. package/dist/vef-filter/components/fields/index.js +3 -0
  129. package/dist/vef-filter/components/fields/input-number.d.ts +4 -0
  130. package/dist/vef-filter/components/fields/input-number.js +3 -0
  131. package/dist/vef-filter/components/fields/input.d.ts +4 -0
  132. package/dist/vef-filter/components/fields/input.js +3 -0
  133. package/dist/vef-filter/components/fields/props.d.ts +32 -0
  134. package/dist/vef-filter/components/filter-field.d.ts +4 -0
  135. package/dist/vef-filter/components/filter-field.js +3 -0
  136. package/dist/vef-filter/components/filter-item.d.ts +15 -0
  137. package/dist/vef-filter/components/filter-item.js +3 -0
  138. package/dist/vef-filter/event.d.ts +12 -0
  139. package/dist/vef-filter/event.js +3 -0
  140. package/dist/vef-filter/helper.d.ts +10 -0
  141. package/dist/vef-filter/helper.js +3 -0
  142. package/dist/vef-filter/hooks/use-action-handlers.d.ts +20 -0
  143. package/dist/vef-filter/hooks/use-action-handlers.js +3 -0
  144. package/dist/vef-filter/hooks/use-computed-values.d.ts +42 -0
  145. package/dist/vef-filter/hooks/use-computed-values.js +3 -0
  146. package/dist/vef-filter/hooks/use-filter-context.d.ts +8 -0
  147. package/dist/vef-filter/hooks/use-filter-context.js +3 -0
  148. package/dist/vef-filter/hooks/use-filter-initialization.d.ts +7 -0
  149. package/dist/vef-filter/hooks/use-filter-initialization.js +3 -0
  150. package/dist/vef-filter/hooks/use-filter-instance.d.ts +10 -0
  151. package/dist/vef-filter/hooks/use-filter-instance.js +3 -0
  152. package/dist/vef-filter/hooks/use-filter-items.d.ts +13 -0
  153. package/dist/vef-filter/hooks/use-filter-items.js +3 -0
  154. package/dist/vef-filter/hooks/use-filter-values-change.d.ts +11 -0
  155. package/dist/vef-filter/hooks/use-filter-values-change.js +3 -0
  156. package/dist/vef-filter/hooks/use-label-config.d.ts +14 -0
  157. package/dist/vef-filter/hooks/use-label-config.js +3 -0
  158. package/dist/vef-filter/index.d.ts +8 -0
  159. package/dist/vef-filter/index.js +10 -0
  160. package/dist/vef-filter/props.d.ts +106 -0
  161. package/dist/vef-filter/store.d.ts +77 -0
  162. package/dist/vef-filter/store.js +3 -0
  163. package/dist/vef-filter/types.d.ts +224 -0
  164. package/dist/vef-flex/index.d.ts +5 -0
  165. package/dist/vef-flex/index.js +3 -0
  166. package/dist/vef-flex/props.d.ts +12 -0
  167. package/dist/vef-float-button/index.d.ts +5 -0
  168. package/dist/vef-float-button/index.js +3 -0
  169. package/dist/vef-float-button/props.d.ts +26 -0
  170. package/dist/vef-float-button-group/index.d.ts +5 -0
  171. package/dist/vef-float-button-group/index.js +3 -0
  172. package/dist/vef-float-button-group/props.d.ts +11 -0
  173. package/dist/vef-form/components/fields/index.d.ts +10 -0
  174. package/dist/vef-form/components/fields/index.js +3 -0
  175. package/dist/vef-form/components/fields/input-number.d.ts +5 -0
  176. package/dist/vef-form/components/fields/input-number.js +3 -0
  177. package/dist/vef-form/components/fields/input.d.ts +5 -0
  178. package/dist/vef-form/components/fields/input.js +3 -0
  179. package/dist/vef-form/components/fields/props.d.ts +33 -0
  180. package/dist/vef-form/components/form-actions.d.ts +20 -0
  181. package/dist/vef-form/components/form-actions.js +5 -0
  182. package/dist/vef-form/components/form-content.d.ts +18 -0
  183. package/dist/vef-form/components/form-content.js +6 -0
  184. package/dist/vef-form/components/form-field.d.ts +5 -0
  185. package/dist/vef-form/components/form-field.js +3 -0
  186. package/dist/vef-form/components/form-group.d.ts +22 -0
  187. package/dist/vef-form/components/form-group.js +13 -0
  188. package/dist/vef-form/components/form-hidden-item.d.ts +14 -0
  189. package/dist/vef-form/components/form-hidden-item.js +3 -0
  190. package/dist/vef-form/components/form-item.d.ts +18 -0
  191. package/dist/vef-form/components/form-item.js +3 -0
  192. package/dist/vef-form/components/form-row.d.ts +26 -0
  193. package/dist/vef-form/components/form-row.js +3 -0
  194. package/dist/vef-form/event.d.ts +15 -0
  195. package/dist/vef-form/event.js +3 -0
  196. package/dist/vef-form/helper.d.ts +11 -0
  197. package/dist/vef-form/helper.js +3 -0
  198. package/dist/vef-form/hooks/use-action-handlers.d.ts +14 -0
  199. package/dist/vef-form/hooks/use-action-handlers.js +3 -0
  200. package/dist/vef-form/hooks/use-columns-layout.d.ts +12 -0
  201. package/dist/vef-form/hooks/use-columns-layout.js +3 -0
  202. package/dist/vef-form/hooks/use-computed-values.d.ts +42 -0
  203. package/dist/vef-form/hooks/use-computed-values.js +3 -0
  204. package/dist/vef-form/hooks/use-form-context.d.ts +6 -0
  205. package/dist/vef-form/hooks/use-form-context.js +3 -0
  206. package/dist/vef-form/hooks/use-form-initialization.d.ts +14 -0
  207. package/dist/vef-form/hooks/use-form-initialization.js +3 -0
  208. package/dist/vef-form/hooks/use-form-instance.d.ts +10 -0
  209. package/dist/vef-form/hooks/use-form-instance.js +3 -0
  210. package/dist/vef-form/hooks/use-form-values-change.d.ts +11 -0
  211. package/dist/vef-form/hooks/use-form-values-change.js +3 -0
  212. package/dist/vef-form/hooks/use-label-width.d.ts +9 -0
  213. package/dist/vef-form/hooks/use-label-width.js +3 -0
  214. package/dist/vef-form/index.d.ts +8 -0
  215. package/dist/vef-form/index.js +5 -0
  216. package/dist/vef-form/props.d.ts +158 -0
  217. package/dist/vef-form/store.d.ts +89 -0
  218. package/dist/vef-form/store.js +3 -0
  219. package/dist/vef-form/types.d.ts +335 -0
  220. package/dist/vef-form/validation-rules.d.ts +175 -0
  221. package/dist/vef-form/validation-rules.js +3 -0
  222. package/dist/vef-form-drawer/index.d.ts +9 -0
  223. package/dist/vef-form-drawer/index.js +3 -0
  224. package/dist/vef-form-drawer/props.d.ts +17 -0
  225. package/dist/vef-form-modal/index.d.ts +9 -0
  226. package/dist/vef-form-modal/index.js +3 -0
  227. package/dist/vef-form-modal/props.d.ts +20 -0
  228. package/dist/vef-grid/index.d.ts +5 -0
  229. package/dist/vef-grid/index.js +14 -0
  230. package/dist/vef-grid/props.d.ts +25 -0
  231. package/dist/vef-grid/props.js +3 -0
  232. package/dist/vef-grid-item/index.d.ts +5 -0
  233. package/dist/vef-grid-item/index.js +3 -0
  234. package/dist/vef-grid-item/props.d.ts +34 -0
  235. package/dist/vef-icon/index.d.ts +4 -0
  236. package/dist/vef-icon/index.js +3 -0
  237. package/dist/vef-icon/props.d.ts +12 -0
  238. package/dist/vef-input/hooks/use-input-instance.d.ts +12 -0
  239. package/dist/vef-input/hooks/use-input-instance.js +3 -0
  240. package/dist/vef-input/index.d.ts +4 -0
  241. package/dist/vef-input/index.js +3 -0
  242. package/dist/vef-input/props.d.ts +67 -0
  243. package/dist/vef-input-number/hooks/use-input-number-instance.d.ts +12 -0
  244. package/dist/vef-input-number/hooks/use-input-number-instance.js +3 -0
  245. package/dist/vef-input-number/index.d.ts +4 -0
  246. package/dist/vef-input-number/index.js +3 -0
  247. package/dist/vef-input-number/props.d.ts +124 -0
  248. package/dist/vef-loading-placeholder/index.d.ts +5 -0
  249. package/dist/vef-loading-placeholder/index.js +7 -0
  250. package/dist/vef-loading-placeholder/props.d.ts +6 -0
  251. package/dist/vef-login/index.d.ts +5 -0
  252. package/dist/vef-login/index.js +53 -0
  253. package/dist/vef-login/login-icon.d.ts +4 -0
  254. package/dist/vef-login/login-icon.js +3 -0
  255. package/dist/vef-login/props.d.ts +57 -0
  256. package/dist/vef-modal/components/action-button-wrapper.d.ts +14 -0
  257. package/dist/vef-modal/components/action-button-wrapper.js +3 -0
  258. package/dist/vef-modal/components/button-props.d.ts +15 -0
  259. package/dist/vef-modal/components/button-props.js +2 -0
  260. package/dist/vef-modal/components/cancel-action-button.d.ts +4 -0
  261. package/dist/vef-modal/components/cancel-action-button.js +3 -0
  262. package/dist/vef-modal/components/ok-action-button.d.ts +4 -0
  263. package/dist/vef-modal/components/ok-action-button.js +3 -0
  264. package/dist/vef-modal/context.d.ts +27 -0
  265. package/dist/vef-modal/context.js +3 -0
  266. package/dist/vef-modal/index.d.ts +5 -0
  267. package/dist/vef-modal/index.js +6 -0
  268. package/dist/vef-modal/props.d.ts +88 -0
  269. package/dist/vef-not-found/index.d.ts +5 -0
  270. package/dist/vef-not-found/index.js +30 -0
  271. package/dist/vef-not-found/not-found-icon.d.ts +4 -0
  272. package/dist/vef-not-found/not-found-icon.js +3 -0
  273. package/dist/vef-not-found/props.d.ts +18 -0
  274. package/dist/vef-page/index.d.ts +5 -0
  275. package/dist/vef-page/index.js +59 -0
  276. package/dist/vef-page/props.d.ts +29 -0
  277. package/dist/vef-pagination/index.d.ts +4 -0
  278. package/dist/vef-pagination/index.js +3 -0
  279. package/dist/vef-pagination/props.d.ts +59 -0
  280. package/dist/vef-pagination/props.js +3 -0
  281. package/dist/vef-paragraph/index.d.ts +5 -0
  282. package/dist/vef-paragraph/index.js +3 -0
  283. package/dist/vef-paragraph/props.d.ts +55 -0
  284. package/dist/vef-password/hooks/use-password-instance.d.ts +13 -0
  285. package/dist/vef-password/hooks/use-password-instance.js +3 -0
  286. package/dist/vef-password/index.d.ts +4 -0
  287. package/dist/vef-password/index.js +3 -0
  288. package/dist/vef-password/props.d.ts +58 -0
  289. package/dist/vef-popconfirm/index.d.ts +5 -0
  290. package/dist/vef-popconfirm/index.js +3 -0
  291. package/dist/vef-popconfirm/props.d.ts +33 -0
  292. package/dist/vef-popover/index.d.ts +5 -0
  293. package/dist/vef-popover/index.js +3 -0
  294. package/dist/vef-popover/props.d.ts +29 -0
  295. package/dist/vef-radio/hooks/use-data-options.d.ts +35 -0
  296. package/dist/vef-radio/hooks/use-data-options.js +3 -0
  297. package/dist/vef-radio/hooks/use-radio-instance.d.ts +11 -0
  298. package/dist/vef-radio/hooks/use-radio-instance.js +3 -0
  299. package/dist/vef-radio/index.d.ts +7 -0
  300. package/dist/vef-radio/index.js +5 -0
  301. package/dist/vef-radio/props.d.ts +59 -0
  302. package/dist/vef-rate/hooks/use-rate-instance.d.ts +12 -0
  303. package/dist/vef-rate/hooks/use-rate-instance.js +3 -0
  304. package/dist/vef-rate/index.d.ts +4 -0
  305. package/dist/vef-rate/index.js +3 -0
  306. package/dist/vef-rate/props.d.ts +25 -0
  307. package/dist/vef-responsive-container/index.d.ts +4 -0
  308. package/dist/vef-responsive-container/index.js +7 -0
  309. package/dist/vef-responsive-container/props.d.ts +21 -0
  310. package/dist/vef-responsive-item/index.d.ts +4 -0
  311. package/dist/vef-responsive-item/index.js +5 -0
  312. package/dist/vef-responsive-item/props.d.ts +12 -0
  313. package/dist/vef-ribbon/index.d.ts +5 -0
  314. package/dist/vef-ribbon/index.js +3 -0
  315. package/dist/vef-ribbon/props.d.ts +15 -0
  316. package/dist/vef-row/index.d.ts +5 -0
  317. package/dist/vef-row/index.js +3 -0
  318. package/dist/vef-row/props.d.ts +7 -0
  319. package/dist/vef-scroll-area/components/scrollbar.d.ts +2 -0
  320. package/dist/vef-scroll-area/components/scrollbar.js +34 -0
  321. package/dist/vef-scroll-area/index.d.ts +4 -0
  322. package/dist/vef-scroll-area/index.js +10 -0
  323. package/dist/vef-scroll-area/props.d.ts +24 -0
  324. package/dist/vef-select/components/option.d.ts +7 -0
  325. package/dist/vef-select/components/option.js +11 -0
  326. package/dist/vef-select/hooks/use-data-options.d.ts +37 -0
  327. package/dist/vef-select/hooks/use-data-options.js +3 -0
  328. package/dist/vef-select/hooks/use-field-names.d.ts +9 -0
  329. package/dist/vef-select/hooks/use-field-names.js +3 -0
  330. package/dist/vef-select/hooks/use-label-render.d.ts +11 -0
  331. package/dist/vef-select/hooks/use-label-render.js +10 -0
  332. package/dist/vef-select/hooks/use-option-render.d.ts +11 -0
  333. package/dist/vef-select/hooks/use-option-render.js +3 -0
  334. package/dist/vef-select/hooks/use-select-instance.d.ts +11 -0
  335. package/dist/vef-select/hooks/use-select-instance.js +3 -0
  336. package/dist/vef-select/index.d.ts +7 -0
  337. package/dist/vef-select/index.js +3 -0
  338. package/dist/vef-select/props.d.ts +153 -0
  339. package/dist/vef-slider/hooks/use-slider-instance.d.ts +12 -0
  340. package/dist/vef-slider/hooks/use-slider-instance.js +3 -0
  341. package/dist/vef-slider/index.d.ts +4 -0
  342. package/dist/vef-slider/index.js +3 -0
  343. package/dist/vef-slider/props.d.ts +72 -0
  344. package/dist/vef-sortable-list/components/overlay-item.d.ts +9 -0
  345. package/dist/vef-sortable-list/components/overlay-item.js +7 -0
  346. package/dist/vef-sortable-list/components/sortable-item.d.ts +21 -0
  347. package/dist/vef-sortable-list/components/sortable-item.js +7 -0
  348. package/dist/vef-sortable-list/hooks/use-merged-items.d.ts +10 -0
  349. package/dist/vef-sortable-list/hooks/use-merged-items.js +3 -0
  350. package/dist/vef-sortable-list/index.d.ts +7 -0
  351. package/dist/vef-sortable-list/index.js +3 -0
  352. package/dist/vef-sortable-list/props.d.ts +77 -0
  353. package/dist/vef-space/index.d.ts +5 -0
  354. package/dist/vef-space/index.js +3 -0
  355. package/dist/vef-space/props.d.ts +12 -0
  356. package/dist/vef-spin/index.d.ts +5 -0
  357. package/dist/vef-spin/index.js +3 -0
  358. package/dist/vef-spin/props.d.ts +12 -0
  359. package/dist/vef-splitter/index.d.ts +5 -0
  360. package/dist/vef-splitter/index.js +3 -0
  361. package/dist/vef-splitter/props.d.ts +16 -0
  362. package/dist/vef-splitter-panel/index.d.ts +5 -0
  363. package/dist/vef-splitter-panel/index.js +3 -0
  364. package/dist/vef-splitter-panel/props.d.ts +6 -0
  365. package/dist/vef-status/index.d.ts +5 -0
  366. package/dist/vef-status/index.js +3 -0
  367. package/dist/vef-status/props.d.ts +17 -0
  368. package/dist/vef-table/components/columns/bool.d.ts +5 -0
  369. package/dist/vef-table/components/columns/bool.js +3 -0
  370. package/dist/vef-table/components/columns/code.d.ts +4 -0
  371. package/dist/vef-table/components/columns/code.js +3 -0
  372. package/dist/vef-table/components/columns/data-dictionary.d.ts +4 -0
  373. package/dist/vef-table/components/columns/data-dictionary.js +3 -0
  374. package/dist/vef-table/components/columns/enum.d.ts +4 -0
  375. package/dist/vef-table/components/columns/enum.js +3 -0
  376. package/dist/vef-table/components/columns/file.d.ts +4 -0
  377. package/dist/vef-table/components/columns/file.js +3 -0
  378. package/dist/vef-table/components/columns/icon.d.ts +4 -0
  379. package/dist/vef-table/components/columns/icon.js +3 -0
  380. package/dist/vef-table/components/columns/id.d.ts +4 -0
  381. package/dist/vef-table/components/columns/id.js +3 -0
  382. package/dist/vef-table/components/columns/image.d.ts +4 -0
  383. package/dist/vef-table/components/columns/image.js +3 -0
  384. package/dist/vef-table/components/columns/index.d.ts +31 -0
  385. package/dist/vef-table/components/columns/index.js +3 -0
  386. package/dist/vef-table/components/columns/markdown.d.ts +4 -0
  387. package/dist/vef-table/components/columns/markdown.js +3 -0
  388. package/dist/vef-table/components/columns/number.d.ts +4 -0
  389. package/dist/vef-table/components/columns/number.js +3 -0
  390. package/dist/vef-table/components/columns/props.d.ts +24 -0
  391. package/dist/vef-table/components/columns/render.d.ts +4 -0
  392. package/dist/vef-table/components/columns/render.js +3 -0
  393. package/dist/vef-table/components/columns/rich-text.d.ts +4 -0
  394. package/dist/vef-table/components/columns/rich-text.js +3 -0
  395. package/dist/vef-table/components/columns/text.d.ts +4 -0
  396. package/dist/vef-table/components/columns/text.js +3 -0
  397. package/dist/vef-table/components/columns-settings.d.ts +2 -0
  398. package/dist/vef-table/components/columns-settings.js +54 -0
  399. package/dist/vef-table/components/operation-buttons.d.ts +22 -0
  400. package/dist/vef-table/components/operation-buttons.js +12 -0
  401. package/dist/vef-table/components/settings-icon.d.ts +2 -0
  402. package/dist/vef-table/components/settings-icon.js +5 -0
  403. package/dist/vef-table/components/table-footer.d.ts +34 -0
  404. package/dist/vef-table/components/table-footer.js +19 -0
  405. package/dist/vef-table/helper.d.ts +12 -0
  406. package/dist/vef-table/helper.js +3 -0
  407. package/dist/vef-table/hooks/use-computed-batch-buttons.d.ts +13 -0
  408. package/dist/vef-table/hooks/use-computed-batch-buttons.js +3 -0
  409. package/dist/vef-table/hooks/use-computed-columns.d.ts +10 -0
  410. package/dist/vef-table/hooks/use-computed-columns.js +3 -0
  411. package/dist/vef-table/hooks/use-computed-values.d.ts +45 -0
  412. package/dist/vef-table/hooks/use-computed-values.js +3 -0
  413. package/dist/vef-table/hooks/use-data.d.ts +11 -0
  414. package/dist/vef-table/hooks/use-data.js +3 -0
  415. package/dist/vef-table/hooks/use-default-column-configs.d.ts +9 -0
  416. package/dist/vef-table/hooks/use-default-column-configs.js +3 -0
  417. package/dist/vef-table/hooks/use-display-value.d.ts +32 -0
  418. package/dist/vef-table/hooks/use-display-value.js +3 -0
  419. package/dist/vef-table/hooks/use-helper-columns.d.ts +6 -0
  420. package/dist/vef-table/hooks/use-helper-columns.js +3 -0
  421. package/dist/vef-table/hooks/use-merged-value.d.ts +10 -0
  422. package/dist/vef-table/hooks/use-merged-value.js +3 -0
  423. package/dist/vef-table/hooks/use-operation-column-width.d.ts +11 -0
  424. package/dist/vef-table/hooks/use-operation-column-width.js +3 -0
  425. package/dist/vef-table/hooks/use-pagination-props.d.ts +17 -0
  426. package/dist/vef-table/hooks/use-pagination-props.js +3 -0
  427. package/dist/vef-table/hooks/use-row-props.d.ts +11 -0
  428. package/dist/vef-table/hooks/use-row-props.js +3 -0
  429. package/dist/vef-table/hooks/use-row-selection-config.d.ts +11 -0
  430. package/dist/vef-table/hooks/use-row-selection-config.js +3 -0
  431. package/dist/vef-table/hooks/use-table-columns.d.ts +12 -0
  432. package/dist/vef-table/hooks/use-table-columns.js +3 -0
  433. package/dist/vef-table/hooks/use-table-context.d.ts +9 -0
  434. package/dist/vef-table/hooks/use-table-context.js +3 -0
  435. package/dist/vef-table/hooks/use-table-instance.d.ts +10 -0
  436. package/dist/vef-table/hooks/use-table-instance.js +3 -0
  437. package/dist/vef-table/hooks/use-table-summary.d.ts +10 -0
  438. package/dist/vef-table/hooks/use-table-summary.js +3 -0
  439. package/dist/vef-table/hooks/use-table-width.d.ts +9 -0
  440. package/dist/vef-table/hooks/use-table-width.js +3 -0
  441. package/dist/vef-table/index.d.ts +7 -0
  442. package/dist/vef-table/index.js +56 -0
  443. package/dist/vef-table/props.d.ts +330 -0
  444. package/dist/vef-table/store.d.ts +21 -0
  445. package/dist/vef-table/store.js +3 -0
  446. package/dist/vef-table/types.d.ts +481 -0
  447. package/dist/vef-tabs/index.d.ts +5 -0
  448. package/dist/vef-tabs/index.js +3 -0
  449. package/dist/vef-tabs/props.d.ts +12 -0
  450. package/dist/vef-tag/index.d.ts +5 -0
  451. package/dist/vef-tag/index.js +3 -0
  452. package/dist/vef-tag/props.d.ts +20 -0
  453. package/dist/vef-temporal-picker/hooks/use-dayjs-value.d.ts +10 -0
  454. package/dist/vef-temporal-picker/hooks/use-dayjs-value.js +3 -0
  455. package/dist/vef-temporal-picker/hooks/use-temporal-formats.d.ts +8 -0
  456. package/dist/vef-temporal-picker/hooks/use-temporal-formats.js +3 -0
  457. package/dist/vef-temporal-picker/hooks/use-temporal-limit.d.ts +13 -0
  458. package/dist/vef-temporal-picker/hooks/use-temporal-limit.js +3 -0
  459. package/dist/vef-temporal-picker/hooks/use-temporal-picker-instance.d.ts +12 -0
  460. package/dist/vef-temporal-picker/hooks/use-temporal-picker-instance.js +3 -0
  461. package/dist/vef-temporal-picker/index.d.ts +5 -0
  462. package/dist/vef-temporal-picker/index.js +3 -0
  463. package/dist/vef-temporal-picker/props.d.ts +101 -0
  464. package/dist/vef-temporal-range-picker/hooks/use-dayjs-values.d.ts +10 -0
  465. package/dist/vef-temporal-range-picker/hooks/use-dayjs-values.js +3 -0
  466. package/dist/vef-temporal-range-picker/hooks/use-temporal-formats.d.ts +8 -0
  467. package/dist/vef-temporal-range-picker/hooks/use-temporal-formats.js +3 -0
  468. package/dist/vef-temporal-range-picker/hooks/use-temporal-limit.d.ts +13 -0
  469. package/dist/vef-temporal-range-picker/hooks/use-temporal-limit.js +3 -0
  470. package/dist/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.d.ts +12 -0
  471. package/dist/vef-temporal-range-picker/hooks/use-temporal-range-picker-instance.js +3 -0
  472. package/dist/vef-temporal-range-picker/index.d.ts +5 -0
  473. package/dist/vef-temporal-range-picker/index.js +3 -0
  474. package/dist/vef-temporal-range-picker/props.d.ts +82 -0
  475. package/dist/vef-temporal-range-picker/props.js +3 -0
  476. package/dist/vef-text/index.d.ts +5 -0
  477. package/dist/vef-text/index.js +3 -0
  478. package/dist/vef-text/props.d.ts +47 -0
  479. package/dist/vef-textarea/hooks/use-textarea-instance.d.ts +13 -0
  480. package/dist/vef-textarea/hooks/use-textarea-instance.js +3 -0
  481. package/dist/vef-textarea/index.d.ts +4 -0
  482. package/dist/vef-textarea/index.js +3 -0
  483. package/dist/vef-textarea/props.d.ts +58 -0
  484. package/dist/vef-title/index.d.ts +5 -0
  485. package/dist/vef-title/index.js +15 -0
  486. package/dist/vef-title/props.d.ts +39 -0
  487. package/dist/vef-tooltip/index.d.ts +5 -0
  488. package/dist/vef-tooltip/index.js +3 -0
  489. package/dist/vef-tooltip/props.d.ts +30 -0
  490. package/dist/vef-tree-select/hooks/use-change-handler.d.ts +10 -0
  491. package/dist/vef-tree-select/hooks/use-change-handler.js +3 -0
  492. package/dist/vef-tree-select/hooks/use-data-options.d.ts +36 -0
  493. package/dist/vef-tree-select/hooks/use-data-options.js +3 -0
  494. package/dist/vef-tree-select/hooks/use-tree-select-instance.d.ts +11 -0
  495. package/dist/vef-tree-select/hooks/use-tree-select-instance.js +3 -0
  496. package/dist/vef-tree-select/index.d.ts +7 -0
  497. package/dist/vef-tree-select/index.js +3 -0
  498. package/dist/vef-tree-select/props.d.ts +142 -0
  499. package/package.json +56 -0
@@ -0,0 +1,4 @@
1
+ import type { VefDropdownProps } from "./props";
2
+ declare const VefDropdown: import("react").NamedExoticComponent<VefDropdownProps>;
3
+ export type { VefDropdownProps };
4
+ export default VefDropdown;
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import{jsx as e}from"@emotion/react/jsx-runtime";import{useNormalizedMenuItems as o,useDeepCompareMemo as t}from"@vef-framework/hooks";import{Dropdown as r}from"antd";import{isFunction as i}from"@vef-framework/shared";import{useMemo as n,memo as a}from"react";const l=a((({disabled:a,placement:l,children:m,items:s,trigger:d="hover",onClick:c,...f})=>{const p=n((()=>[d]),[d]),u=o(s),v=t((()=>{const{enableSelection:e}=f;if(e){const{defaultValue:e,value:o,onChange:t}=f;return{items:u,selectable:!0,defaultSelectedKeys:e?[e]:void 0,selectedKeys:o?[o]:void 0,onSelect:i(t)?({selectedKeys:e,domEvent:o})=>{o.stopPropagation(),t(e[0])}:void 0}}return{items:u,selectable:!1,onClick:i(c)?({key:e,domEvent:o})=>{o.stopPropagation(),c(e)}:void 0}}),[u,c,f]);return e(r,{disabled:a,menu:v,placement:l,trigger:p,children:m})}));l.displayName="VefDropdown";export{l as default};
3
+ /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -0,0 +1,68 @@
1
+ import type { Consumer, IdValue, MenuItem } from "@vef-framework/shared";
2
+ import type { DropDownProps } from "antd";
3
+ /**
4
+ * The trigger mode of the dropdown.
5
+ */
6
+ export type DropdownTrigger = "hover" | "click" | "contextMenu";
7
+ /**
8
+ * The base props of the VefDropdown component.
9
+ */
10
+ interface VefBaseDropdownProps extends Pick<DropDownProps, "disabled" | "placement" | "children"> {
11
+ /**
12
+ * The items of the dropdown.
13
+ */
14
+ items: MenuItem[];
15
+ /**
16
+ * The trigger mode of the dropdown.
17
+ * @default "hover"
18
+ */
19
+ trigger?: DropdownTrigger;
20
+ /**
21
+ * Whether to enable selection.
22
+ * @default false
23
+ */
24
+ enableSelection?: boolean;
25
+ /**
26
+ * The callback function when the dropdown item is clicked.
27
+ */
28
+ onClick?: Consumer<string>;
29
+ }
30
+ /**
31
+ * The props of the VefDropdown component in default mode.
32
+ */
33
+ interface VefDefaultDropdownProps extends VefBaseDropdownProps {
34
+ /**
35
+ * Whether to enable selection.
36
+ * @default false
37
+ */
38
+ enableSelection?: false;
39
+ }
40
+ /**
41
+ * The props of the VefDropdown component in selection mode.
42
+ */
43
+ interface VefSelectionDropdownProps extends VefBaseDropdownProps {
44
+ /**
45
+ * Whether to enable selection.
46
+ * @default true
47
+ */
48
+ enableSelection: true;
49
+ /**
50
+ * The default selected value of the dropdown.
51
+ * Used in uncontrolled mode.
52
+ */
53
+ defaultValue?: IdValue;
54
+ /**
55
+ * The selected value of the dropdown.
56
+ * Used in controlled mode.
57
+ */
58
+ value?: IdValue;
59
+ /**
60
+ * The callback function when the selected value is changed.
61
+ */
62
+ onChange?: Consumer<IdValue>;
63
+ }
64
+ /**
65
+ * The props of the VefDropdown component.
66
+ */
67
+ export type VefDropdownProps = VefDefaultDropdownProps | VefSelectionDropdownProps;
68
+ export {};
@@ -0,0 +1,5 @@
1
+ import type { FC } from "react";
2
+ import type { VefEmptyProps } from "./props";
3
+ declare const VefEmpty: FC<VefEmptyProps>;
4
+ export type { VefEmptyProps };
5
+ export default VefEmpty;
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import{jsx as t}from"@emotion/react/jsx-runtime";import{Empty as o}from"antd";const r=r=>t(o,{...r});export{r as default};
3
+ /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -0,0 +1,7 @@
1
+ import type { Except } from "@vef-framework/shared";
2
+ import type { EmptyProps } from "antd";
3
+ /**
4
+ * The props of VefEmpty component.
5
+ */
6
+ export interface VefEmptyProps extends Except<EmptyProps, "prefixCls" | "rootClassName"> {
7
+ }
@@ -0,0 +1,5 @@
1
+ import type { FC } from "react";
2
+ import type { VefEmptyPlaceholderProps } from "./props";
3
+ declare const VefEmptyPlaceholder: FC<VefEmptyPlaceholderProps>;
4
+ export type { VefEmptyPlaceholderProps };
5
+ export default VefEmptyPlaceholder;
@@ -0,0 +1,7 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import{jsx as e}from"@emotion/react/jsx-runtime";import{css as r}from"@emotion/react";import{themeVariables as o,styles as t}from"@vef-framework/shared";import i from"../vef-empty/index.js";const m=r`
3
+ height: 100%;
4
+ padding: ${o.paddingLg};
5
+ ${t.flexCenter}
6
+ `,d=r=>e("div",{css:m,children:e(i,{...r})});export{d as default};
7
+ /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -0,0 +1,6 @@
1
+ import type { VefEmptyProps } from "../vef-empty/props";
2
+ /**
3
+ * The props of VefEmptyPlaceholder component.
4
+ */
5
+ export interface VefEmptyPlaceholderProps extends VefEmptyProps {
6
+ }
@@ -0,0 +1,4 @@
1
+ import type { SVGProps } from "react";
2
+ declare function SvgErrorIcon(props: SVGProps<SVGSVGElement>): import("@emotion/react/jsx-runtime").JSX.Element;
3
+ declare const Memo: import("react").MemoExoticComponent<typeof SvgErrorIcon>;
4
+ export default Memo;
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import{jsxs as o,jsx as r}from"@emotion/react/jsx-runtime";import{memo as t}from"react";const e=t((function(t){return o("svg",{viewBox:"0 0 1024 1024",xmlns:"http://www.w3.org/2000/svg",...t,children:[o("defs",{children:[o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__a",spreadMethod:"pad",x1:-.136,x2:.5,y1:.5,y2:.472,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__b",spreadMethod:"pad",x1:-.136,x2:.5,y1:.5,y2:.472,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__c",spreadMethod:"pad",x1:0,x2:1,y1:-.031,y2:-.031,children:[r("stop",{offset:0,stopColor:"#fff5de"}),r("stop",{offset:1,stopColor:"#fbd2ac"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__d",spreadMethod:"pad",x1:-.136,x2:.5,y1:.5,y2:.476,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__e",spreadMethod:"pad",x1:-.136,x2:.5,y1:.5,y2:.476,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__f",spreadMethod:"pad",x1:-.136,x2:.5,y1:.5,y2:.476,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__g",spreadMethod:"pad",x1:-.136,x2:.5,y1:.5,y2:.476,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__h",spreadMethod:"pad",x1:-.136,x2:.5,y1:.5,y2:.434,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__i",spreadMethod:"pad",x1:.431,x2:.603,y1:-.065,y2:0,children:[r("stop",{offset:.032,stopColor:"#afdef9"}),r("stop",{offset:1,stopColor:"#7cc9f9"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__j",spreadMethod:"pad",x1:.059,x2:.6,y1:.609,y2:.371,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__k",spreadMethod:"pad",x1:.445,x2:.583,y1:-.065,y2:0,children:[r("stop",{offset:.032,stopColor:"#afdef9"}),r("stop",{offset:1,stopColor:"#7cc9f9"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__l",spreadMethod:"pad",x1:.284,x2:.5,y1:.87,y2:.305,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__m",spreadMethod:"pad",x1:.431,x2:.603,y1:-.065,y2:0,children:[r("stop",{offset:.032,stopColor:"#afdef9"}),r("stop",{offset:1,stopColor:"#7cc9f9"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__n",spreadMethod:"pad",x1:.802,x2:.402,y1:.781,y2:.012,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__o",spreadMethod:"pad",x1:.17,x2:.731,y1:.776,y2:.273,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__p",spreadMethod:"pad",x1:0,x2:.85,y1:.669,y2:.361,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__q",spreadMethod:"pad",x1:0,x2:.85,y1:.644,y2:.382,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__r",spreadMethod:"pad",x1:0,x2:.85,y1:.639,y2:.385,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__s",spreadMethod:"pad",x1:.492,x2:.5,y1:.87,y2:.305,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__t",spreadMethod:"pad",x1:-.541,x2:.5,y1:.571,y2:.463,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__u",spreadMethod:"pad",x1:.224,x2:.5,y1:-.089,y2:.774,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__v",spreadMethod:"pad",x1:.454,x2:.5,y1:-.115,y2:.786,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__w",spreadMethod:"pad",x1:.477,x2:.5,y1:-.115,y2:.786,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__x",spreadMethod:"pad",x1:.439,x2:.5,y1:-.115,y2:.786,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__y",spreadMethod:"pad",x1:0,x2:1.132,y1:.776,y2:.776,children:[r("stop",{offset:0,stopColor:"#98d6fa"}),r("stop",{offset:1,stopColor:"#47b0f1"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__z",spreadMethod:"pad",x1:0,x2:1,y1:-.118,y2:-.118,children:[r("stop",{offset:0,stopColor:"#f5dda7"}),r("stop",{offset:1,stopColor:"#fa9a41"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__A",spreadMethod:"pad",x1:.863,x2:0,y1:-.028,y2:-.028,children:[r("stop",{offset:0,stopColor:"#1d181c"}),r("stop",{offset:.3,stopColor:"#2c2422"}),r("stop",{offset:.5,stopColor:"#42352c"}),r("stop",{offset:.7,stopColor:"#57352c"}),r("stop",{offset:1,stopColor:"#923629"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__B",spreadMethod:"pad",x1:.863,x2:0,y1:-.028,y2:-.028,children:[r("stop",{offset:0,stopColor:"#1d181c"}),r("stop",{offset:.3,stopColor:"#2c2422"}),r("stop",{offset:.5,stopColor:"#42352c"}),r("stop",{offset:.7,stopColor:"#57352c"}),r("stop",{offset:1,stopColor:"#923629"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__C",spreadMethod:"pad",x1:1,x2:.006,y1:-.03,y2:-.03,children:[r("stop",{offset:0,stopColor:"#ffb859"}),r("stop",{offset:1,stopColor:"#f97b61"})]}),o("linearGradient",{gradientUnits:"objectBoundingBox",id:"error-icon_svg__D",spreadMethod:"pad",x1:1,x2:.006,y1:-.03,y2:-.03,children:[r("stop",{offset:0,stopColor:"#ffb859"}),r("stop",{offset:1,stopColor:"#f97b61"})]})]}),r("path",{d:"M0 0h1024v1024H0Z",fill:"none"}),r("path",{d:"M76.8 581.8 72 559.4l-4.2-23.8-3.6-28.8-1.9-26.5-.2-22.1.3-11.2.8-11.2 1.2-11.2 1.7-11.2 2.1-10.9 2.7-10.6 2.5-7.9 2.8-7.7 3.1-7.4 3.5-7.1 3.9-7 4.3-6.6 4.7-6.3 5.2-6 5.6-5.6 6.1-5.2 6.6-4.8 7.2-4.4 5.9-3 6.4-2.8 6.7-2.5 7.3-2.2 7.7-1.9 17.7-3.4 16.8-2.8 15.8-2.2 16-1.8 29.3-2.5 21.2-1.1 56.2-2.4 22.6-1.8 10.4-1.2 10.3-1.6 9.9-2.2 9.4-2.5 6.9-2.3 6.8-2.7 6.6-3 6.5-3.5 6.1-3.8 6.2-4.3 6-4.9 22.9-21.2 14.4-11.9 12.4-8.6 6.1-3.6 5.6-2.8 5.2-2.2 5.3-1.8 5.2-1.3 10-1.4 10.5-.2 8.1.5 28.8 2.6 7.3.3 7.4-.4 7.5-.9 7.4-1.4 7.5-1.8 7.5-2.2 14.5-5.4 17.6-8.2 9.8-5.2 17.9-10.6 28.7-18.8 12.7-6.2 8.9-3.6 13.3-4.4 15.5-4 17.2-2.7 8.8-.8 9.2-.3 9.5.3 14.3 1.6 14.6 3.3 7.2 2.2 7.1 2.8 7.3 3.4 7.2 3.9 6.9 4.4 6.9 5 6.9 5.8 6.8 6.5 5.1 5.4 10 12.5 9.8 14.9 8.6 16.1 4.2 9.1 4.1 9.9 7.4 21.1 6.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:"url(#error-icon_svg__p)"}),r("path",{d:"m927.4 802 15.3-.5 5.8-1.3 2.5-1.1 2.1-1.5 1.6-1.9 1-1.6 1.1-4.5.2-3-.3-3.9-.8-3.7-1.3-3.5-1.8-3.3-2.1-3.1-2.6-2.7-3-2.4-3.2-2.1-3.5-1.7-3.8-1.2-3.9-.7-4.2-.3-4.2.3-3.9.7-3.8 1.2-3.5 1.7-3.2 2.1-3 2.4-2.6 2.7-2.1 3.1-1.8 3.3-1.3 3.5-.8 3.7-.3 3.9.2 3 1.3 4.4 1 1.7 1.9 1.9 2.2 1.5 2.8 1.1 6.2 1.3z",fill:"url(#error-icon_svg__q)"}),r("path",{d:"m960.6 802 10.5-.4 4.2-1.4 2.3-2.1.7-1.4.7-4.1-.3-3.2-.9-3-1.4-2.7-1.9-2.5-2.2-2-2.7-1.8-2.9-1.3-3.2-.8-3.5-.3-3.5.3-3.2.8-2.9 1.3-2.7 1.8-2.2 2-1.9 2.5-1.4 2.7-.9 3-.3 3.2.2 2.3.6 1.8.8 1.4 2.5 2.1 4.6 1.4z",fill:"url(#error-icon_svg__r)"}),r("path",{d:"m411 379 22.3.2 1.3.5 2 2 .7 2.8v359.8l-.7 2.8-2 2-1.3.5-1.5.2-22.3-.2-1.2-.5-2-2-.8-2.8V384.5l.2-1.5 1.4-2.4 2.4-1.4z",fill:"url(#error-icon_svg__s)"}),r("path",{d:"m241.8 408.5 349 28.7 45.2 76.4-51 69.7-349-28.7.7-69.7Z",fill:"url(#error-icon_svg__t)"}),r("path",{d:"m353.9 527.8 1.2-16.2-35.1-2.5.8-10.9 28.6 2 1.2-16.2-28.7-2 .7-9.9 33.9 2.4 1.2-16.2-57-4-4.9 69.4zm29.5 2.1 1.6-21.4.8-3.1 1.2-2.4 1.4-1.8 1.8-1.4 2-1 2.5-.5h3l2.2.9 1.9.1 1.4-20-2.6-.6-3.2.1-2.8.5-2.5 1-2.2 1.4-2.1 2-1.8 2.5-1.7 3.2.7-10.2-18.5-1.3-3.5 50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4.2 4.7 9.8 2.5 6.5.7 3.9v3.8z",fill:"url(#error-icon_svg__u)"}),r("path",{d:"m453.6 753.5-4.3-14.9-4.3-13-4.2-11.2-4.2-9.7-4.1-8.3-4.1-7-5.8-8.5-2.6-5.5-1.3-5.6.1-5.3 1.4-4.3 1.1-1.9 1.4-1.4 1.7-1 4.3-.2 2.4.3 4.4 1.9 3.9 3.5 3.7 5.1 2.1 3.9 3.8 9 2.1 6.3 2.7 9.9 2.8 13.2 1.5 11.6.6 9.3-.4 10-.6 4.8-1.1 4.5-.8 1.8z",fill:"url(#error-icon_svg__v)"}),r("path",{d:"m455.5 746.3 1.3-5.8.9-6.3.4-7.1-.1-7.8-.7-8.7-1.3-9.6-1.9-10.7-7.1-20.6-1.7-6.5-.9-4.4-.5-7.2.3-2.6.7-2.2 1-1.8 1.3-1.7 1.6-1.2 2.1-1 2.7-.7 3.5-.4 1.8.4 3.9 1.6 3.5 3.1 3.3 5.1 1.3 3.5 2.2 8.9.7 5.6.6 13.8-.3 8.2-.6 9.8-2.3 13.5-2.9 11.5-6.7 21.3-1.7.6h-2z",fill:"url(#error-icon_svg__w)"}),r("path",{d:"m460 751.8-.1-12.2.3-11.2.9-10.2 1.4-9.2 1.7-8.4 2.2-7.6 2.5-6.8 2.8-6.2 3.2-5.6 3.5-5 5.4-6.2 2.3-1.7 2.6-1.2 2.9-.8 3.8-.2 1.8.5 1.7.7 1.4 1.3 1.3 1.7.9 2 .6 2.7.3 3.7-2 7.6-1.6 4.8-2.6 6.2-3.2 6.5-4.6 7.8-7.9 11.1-5.3 6.6-4.8 7.6-2.1 4-3.1 7.4-1.6 5.7-.5 2.8-.7.9-1.3.7z",fill:"url(#error-icon_svg__x)"}),r("path",{d:"m376 757.1 11.6-2.3 7.4-1.9 4.4-1.5 2.3-1.1 4.7-3.7 3-1.8 3.9-1.8 4.3-1.6 4.7-1.2 3.3-.4 6.4.2 3.1.8 3 1.4 2.9 2 1.3-1.4 2-1.2 2.2-.9 2.6-.5h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A)"}),r("path",{d:"m579.6 751.7-2.1 8-1.7 8.7-1.2 9-.6 9 .1 11.9.6 5.7 1 5.6 1.3 5.2 1.7 4.8 1.7 3.4 4 6 2.4 2.5 2.7 2.2 3.1 1.8 3.3 1.5 3.8 1.1 11.1 1.6 13.8.5 41.3-.3 61.9.1 14.1-.2 11.8-.7 7.7-1 6.4-1.3 5.4-1.6 3.9-1.7 3.3-2 2.8-2.2 2.2-2.6 1.5-2.3 1.1-2.5 1.4-6.3.2-3.8-.4-3.2-.7-2.9-1.3-2.6-1.6-2.3-4.4-4-5.8-3.2-9.1-3-5.2-1.1-7.9-1.1-8.3-.7-16-.4-19.4.1-26.4-1.2-59.8-1z",fill:"url(#error-icon_svg__B)"}),r("path",{d:"m702.5 661.1-12-11.1-3-2.5-4-4.1-2.1-3.2-1.1-2.6-.5-2.5.2-3.8.8-2.3-6.4.2-10.7 1.4-6.8 1.5-9.7 3.1-10.6 4.7-5.4 3-5.6 3.7-5.3 4-5.4 4.7-5.4 5.5-7.5 9.1-7.2 11.1-5.7 11.8-2.4 6.5-3.1 9.9-2.6 10-2.1 10.1-2.9 18.4-2.1 23.6 3.8 3.1 3.9 2.3 4.6 2.1 11.7 3.8 13.1 2.6 15.8 1.6 10 .4h10l11.5-.5 13.2-.9 21.3-40.1 14.8-27.1 2-4.1 1.5-4.4 1-4.6.5-5v-5.4l-.6-5.7-1.2-6.3-2-6.7-2.7-7.4z",fill:"url(#error-icon_svg__C)"}),r("path",{d:"m844.2 714.6-37.8 13.7 1.4 3.8 37.7-13.8Z",fillRule:"evenodd"}),r("path",{d:"m799.9 732 8.3-4.1 3.6-2.6 2.5-.6h1.2l.6.4-.2 1.8-1.6 1.8 5.1-1.1 7.7-3.5 1.9-.2 1.3.2.9.7.6 1.2.1 1.9-1.2 3.2-1.2 1.6-3.1 2.6-4.6 1.8-6.1.5-3.9-.4-5.9 1z",fill:"#efba9e"}),r("path",{d:"m804.5 728.6-85 32.1-22.5-89-2.3-4.6-2.5-3.9-2.8-3.2-3-2.7-3.2-2.1-3.6-1.7-3.9-1.1-4.2-.7-4.7-.1-5.2.5-3.9 2.1-3.2 2.5-2.8 2.7-2.3 3.2-1.8 3.3-1.4 3.7-.9 3.8-.4 4 .1 4.1 1.8 9.2 4.1 13.9 6 16.7 7.5 17.7 4.1 8.6 7.3 13.1 5.9 8.6 12.6 13.8 6 4.7 3.1 1.8 3.4 1.4 3.6.8 3.7.3 4.3-.3 4.9-1 7.3-2.9 14.5-6.8 25.5-12.8 40.9-21.4z",fill:"url(#error-icon_svg__D)"})]})}));export{e as default};
3
+ /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -0,0 +1,5 @@
1
+ import type { FC } from "react";
2
+ import type { VefErrorProps } from "./props";
3
+ declare const VefError: FC<VefErrorProps>;
4
+ export type { VefErrorProps };
5
+ export default VefError;
@@ -0,0 +1,30 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import{jsx as r,jsxs as e,Fragment as o}from"@emotion/react/jsx-runtime";import{RedoOutlined as i}from"@ant-design/icons";import{css as t}from"@emotion/react";import{styles as n,themeVariables as c}from"@vef-framework/shared";import s from"../vef-button/index.js";import a from"./error-icon.js";const l=t`
3
+ height: 100%;
4
+ ${n.flexCenter}
5
+ `,m=t`
6
+ width: 40%;
7
+ position: relative;
8
+ top: -60px;
9
+ display: flex;
10
+ flex-direction: column;
11
+ align-items: center;
12
+ justify-content: center;
13
+ row-gap: ${c.margin};
14
+
15
+ > svg {
16
+ width: 70%;
17
+ }
18
+
19
+ > span {
20
+ font-size: ${c.fontSizeLg};
21
+ font-weight: 500;
22
+ color: ${c.colorTextTertiary};
23
+
24
+ > span {
25
+ padding-left: ${c.paddingSm};
26
+ color: ${c.colorErrorText};
27
+ }
28
+ }
29
+ `,d=({error:t,reset:n,componentStack:c})=>r("div",{css:l,children:e("div",{css:m,children:[r(a,{}),e("span",{children:["发生错误:",r("span",{children:t.message}),c&&e(o,{children:["组件堆栈:",r("span",{children:c})]})]}),r(s,{color:"primary",icon:r(i,{}),size:"large",onClick:n,children:"重试一下"})]})});export{d as default};
30
+ /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -0,0 +1,18 @@
1
+ import type { Handler } from "@vef-framework/shared";
2
+ /**
3
+ * The props for the VefError component
4
+ */
5
+ export interface VefErrorProps {
6
+ /**
7
+ * The error object
8
+ */
9
+ error: Error;
10
+ /**
11
+ * The reset function
12
+ */
13
+ reset: Handler;
14
+ /**
15
+ * The component stack
16
+ */
17
+ componentStack?: string;
18
+ }
@@ -0,0 +1,3 @@
1
+ import { type ObjectType } from "@vef-framework/shared";
2
+ declare function VefActionButtons<T extends ObjectType>(): import("@emotion/react/jsx-runtime").JSX.Element;
3
+ export default VefActionButtons;
@@ -0,0 +1,21 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import{jsx as t,jsxs as i}from"@emotion/react/jsx-runtime";import{SearchOutlined as e,DownOutlined as o}from"@ant-design/icons";import{css as n}from"@emotion/react";import{useThemeTokens as r}from"@vef-framework/hooks";import{themeVariables as a,omit as l}from"@vef-framework/shared";import{motion as c}from"motion/react";import s from"../../vef-button/index.js";import m from"../../vef-flex/index.js";import{useFilterContextSelector as p}from"../hooks/use-filter-context.js";import{useFilterStore as f}from"../store.js";const d={text:"搜索",icon:t(e,{})},h={text:"重置"},x=n`
3
+ &.vef-btn {
4
+ --vef-button-padding-inline: 0;
5
+
6
+ gap: ${a.marginXxs};
7
+ }
8
+
9
+ .vef-collapse-button-text {
10
+ position: relative;
11
+ width: calc(${a.fontSize} * 2 + 4px);
12
+ height: calc(${a.controlHeight} - 4px);
13
+ text-align: center;
14
+ line-height: calc(${a.controlHeight} - 4px);
15
+
16
+ > span {
17
+ position: absolute;
18
+ }
19
+ }
20
+ `;function u(){const[e,n,a]=f((t=>[t.isLoading,t.isAdvancedFilterVisible,t.setIsAdvancedFilterVisible])),[u,g=d,v=h,b,k,y]=p((t=>[t.externalLoading,t.confirmationButton,t.resetButton,t.showCollapseButton,t.handleReset,t.extraActionButtons])),{controlHeight:j}=r(),w=(j-4)/2;return i(m,{align:"center",gap:"medium",children:[b&&i(s,{color:"primary",css:x,variant:"link",onClick:()=>a(!n),children:[i("span",{className:"vef-collapse-button-text",children:[t(c.span,{initial:!1,animate:{opacity:n?1:0,y:n?0:-w},children:"收起"}),t(c.span,{initial:!1,animate:{opacity:n?0:1,y:n?w:0},children:"展开"})]}),t(c.span,{initial:!1,animate:{rotate:n?-180:0,transition:{bounce:0}},children:t(o,{})})]}),v&&t(s,{color:"default",variant:"filled",onClick:k,...l(v,["text"]),children:v.text}),g&&t(s,{color:"primary",icon:g.icon,loading:u||e,type:"submit",...l(g,["text"]),children:g.text}),y]})}export{u as default};
21
+ /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -0,0 +1,13 @@
1
+ import { type ObjectType } from "@vef-framework/shared";
2
+ import type { FilterItem } from "../types";
3
+ /**
4
+ * The props of the advanced filter.
5
+ */
6
+ export interface VefAdvancedFilterProps<T extends ObjectType> {
7
+ /**
8
+ * The advanced filter items.
9
+ */
10
+ items: Array<FilterItem<T>>;
11
+ }
12
+ declare function VefAdvancedFilter<T extends ObjectType>({ items, }: VefAdvancedFilterProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
13
+ export default VefAdvancedFilter;
@@ -0,0 +1,11 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import{jsx as o}from"@emotion/react/jsx-runtime";import{css as e}from"@emotion/react";import{themeVariables as i}from"@vef-framework/shared";import{motion as r}from"motion/react";import t from"../../vef-responsive-container/index.js";import n from"../../vef-responsive-item/index.js";import{useFilterContextSelector as a}from"../hooks/use-filter-context.js";import{useLabelConfig as l}from"../hooks/use-label-config.js";import m from"./filter-item.js";const s=e`
3
+ overflow: hidden;
4
+ `,d=e`
5
+ margin-top: ${i.margin};
6
+ background-color: ${i.colorFillAlter};
7
+ padding: ${i.padding};
8
+ border-radius: ${i.borderRadiusLg};
9
+ border: ${i.lineWidth} ${i.lineType} ${i.colorBorderSecondary};
10
+ `,p={opacity:1,height:"auto",transition:{type:"spring",bounce:0,duration:.3}},c={opacity:0,height:0};function f({items:e}){const[i,f,h]=a((o=>[o.labelPosition,o.labelAlign,o.labelWidth])),{labelWidthToUse:b,labelCol:g}=l(i,h),u="top"===i?200:200+(b??80);return o(r.div,{animate:p,css:s,exit:c,initial:c,children:o(t,{baseItemWidth:u,css:d,gap:"large",children:e.map((e=>{const{name:r,span:t}=e;return o(n,{span:t??1,children:o(m,{item:e,labelAlign:f,labelCol:g,layout:"top"===i?"vertical":"horizontal"})},r)}))})})}export{f as default};
11
+ /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -0,0 +1,14 @@
1
+ import { type ObjectType } from "@vef-framework/shared";
2
+ import type { VefFilterProps } from "../props";
3
+ import type { FilterItem } from "../types";
4
+ /**
5
+ * The props of the basic filter.
6
+ */
7
+ export interface VefBasicFilterProps<T extends ObjectType> extends Pick<VefFilterProps<T>, "prefix"> {
8
+ /**
9
+ * The basic filter items.
10
+ */
11
+ items: Array<FilterItem<T>>;
12
+ }
13
+ declare function VefBasicFilter<T extends ObjectType>({ items, prefix, }: VefBasicFilterProps<T>): import("@emotion/react/jsx-runtime").JSX.Element;
14
+ export default VefBasicFilter;
@@ -0,0 +1,21 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import{jsxs as e,Fragment as i,jsx as t}from"@emotion/react/jsx-runtime";import{css as r}from"@emotion/react";import{themeVariables as m}from"@vef-framework/shared";import{Form as s}from"antd";import n from"clsx";import f from"./action-buttons.js";import a from"./filter-item.js";const c=r`
3
+ &.vef-filter-basic-items-with-prefix {
4
+ display: grid;
5
+ grid-template-columns: max-content 1fr;
6
+ align-items: center;
7
+ gap: ${m.margin};
8
+ }
9
+
10
+ .vef-filter-basic-items-prefix {
11
+ }
12
+
13
+ &.vef-filter-basic-items-content, .vef-filter-basic-items-content {
14
+ display: flex;
15
+ flex-wrap: wrap;
16
+ align-items: center;
17
+ justify-content: flex-end;
18
+ gap: ${m.margin};
19
+ }
20
+ `;function o({items:r,prefix:m}){const o=n({"vef-filter-basic-items-with-prefix":!!m,"vef-filter-basic-items-content":!m}),l=e(i,{children:[r.map((e=>{const{name:i}=e;return t(a,{item:e},i)})),t(s.Item,{children:t(f,{})})]});return e("div",{className:o,css:c,children:[m&&t("div",{className:"vef-filter-basic-items-prefix",children:m}),m?t("div",{className:"vef-filter-basic-items-content",children:l}):l]})}export{o as default};
21
+ /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -0,0 +1,9 @@
1
+ import type { ObjectType, StringKey } from "@vef-framework/shared";
2
+ import type { ReactElement } from "react";
3
+ import type { VefFilterFieldProps } from "./props";
4
+ export * from "./props";
5
+ type FilterFieldMap = Record<string, <T extends ObjectType, K extends StringKey<T>>(props: VefFilterFieldProps<T, K>) => ReactElement>;
6
+ /**
7
+ * The map of the form fields.
8
+ */
9
+ export declare const fieldMap: FilterFieldMap;
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import p from"./input.js";import r from"./input-number.js";import"./props.js";const t={Input:p,InputNumber:r};export{t as fieldMap};
3
+ /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -0,0 +1,4 @@
1
+ import { type ObjectType, type StringKey } from "@vef-framework/shared";
2
+ import type { VefFilterFieldProps } from "./props";
3
+ declare function InputNumber<T extends ObjectType, K extends StringKey<T>>({ label, disabled, value, onChange, componentProps, }: VefFilterFieldProps<T, K>): import("@emotion/react/jsx-runtime").JSX.Element;
4
+ export default InputNumber;
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import{jsx as e}from"@emotion/react/jsx-runtime";import{VefError as r,isString as o,isFunction as t}from"@vef-framework/shared";import{useMemo as a}from"react";import n from"../../../vef-input-number/index.js";import{useComputedValues as s}from"../../hooks/use-computed-values.js";import{useFilterStore as u}from"../../store.js";function l({label:l,disabled:i,value:m,onChange:f,componentProps:p}){if("InputNumber"!==p.type)throw new r(-9,'Oops! Something went wrong. The type of the filter field is not "InputNumber", but rendered.');const{onChange:d,onEnterKeyPress:c,placeholder:h,prefix:x,suffix:V,max:w,min:v}=p,[y,b]=u((e=>[e.form,e.setValues])),[g,k,j,C,P]=s([{key:"placeholder",rawValue:h,defaultValue:l?o(l)?`请输入${l}`:"请输入":void 0},{key:"max",rawValue:w},{key:"min",rawValue:v},{key:"prefix",rawValue:x},{key:"suffix",rawValue:V}]),E=a((()=>{const e={onChange:e=>{if(f?.(e),t(d)){const r=y.getFieldsValue();d(e,{values:r,setValues:b})}}};return t(c)&&(e.onPressEnter=e=>{const r=y.getFieldsValue();c(e,{values:r,setValues:b})}),e}),[y,f,c,d,b]);return e(n,{disabled:i,max:k,min:j,placeholder:g,prefix:C,suffix:P,value:m,...E})}export{l as default};
3
+ /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -0,0 +1,4 @@
1
+ import { type ObjectType, type StringKey } from "@vef-framework/shared";
2
+ import type { VefFilterFieldProps } from "./props";
3
+ declare function Input<T extends ObjectType, K extends StringKey<T>>({ label, disabled, value, onChange, componentProps, }: VefFilterFieldProps<T, K>): import("@emotion/react/jsx-runtime").JSX.Element;
4
+ export default Input;
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import{jsx as e}from"@emotion/react/jsx-runtime";import{VefError as o,isString as t,isFunction as r}from"@vef-framework/shared";import{useMemo as s}from"react";import n from"../../../vef-input/index.js";import{useComputedValues as a}from"../../hooks/use-computed-values.js";import{useFilterStore as l}from"../../store.js";function u({label:u,disabled:i,value:m,onChange:p,componentProps:d}){if("Input"!==d.type)throw new o(-9,'Oops! Something went wrong. The type of the filter field is not "Input", but rendered.');const{onChange:f,onEnterKeyPress:c,placeholder:h}=d,[v,g]=l((e=>[e.form,e.setValues])),[V]=a([{key:"placeholder",rawValue:h,defaultValue:u?t(u)?`请输入${u}`:"请输入":void 0}]),w=s((()=>{const e={onChange:e=>{if(p?.(e),r(f)){const o=v.getFieldsValue();f(e,{values:o,setValues:g})}}};return r(c)&&(e.onPressEnter=e=>{const o=v.getFieldsValue();c(e,{values:o,setValues:g})}),e}),[v,p,c,f,g]);return e(n,{clearable:!0,disabled:i,placeholder:V,value:m,...w})}export{u as default};
3
+ /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -0,0 +1,32 @@
1
+ import type { Consumer, Except, MaybeNull, ObjectType, StringKey } from "@vef-framework/shared";
2
+ import type { ReactNode } from "react";
3
+ import type { FilterItem, FilterItemBase } from "../../types";
4
+ /**
5
+ * The props of the filter field.
6
+ */
7
+ export interface VefFilterFieldProps<T extends ObjectType, K extends StringKey<T>> {
8
+ /**
9
+ * The name of the field.
10
+ */
11
+ name: K;
12
+ /**
13
+ * The label of the field.
14
+ */
15
+ label?: ReactNode;
16
+ /**
17
+ * Whether the field is disabled.
18
+ */
19
+ disabled: boolean;
20
+ /**
21
+ * The value of the field.
22
+ */
23
+ value?: MaybeNull<T[K]>;
24
+ /**
25
+ * The change handler of the field.
26
+ */
27
+ onChange?: Consumer<MaybeNull<T[K]>>;
28
+ /**
29
+ * The component props of the field.
30
+ */
31
+ componentProps: Except<FilterItem<T>, keyof FilterItemBase<T, K>>;
32
+ }
@@ -0,0 +1,4 @@
1
+ import { type ObjectType, type StringKey } from "@vef-framework/shared";
2
+ import { type VefFilterFieldProps } from "./fields";
3
+ declare function VefFilterField<T extends ObjectType, K extends StringKey<T>>(props: VefFilterFieldProps<T, K>): import("@emotion/react/jsx-runtime").JSX.Element;
4
+ export default VefFilterField;
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import{jsx as e}from"@emotion/react/jsx-runtime";import{VefError as r}from"@vef-framework/shared";import{useMemo as t}from"react";import{fieldMap as o}from"./fields/index.js";function n(n){const{name:f,componentProps:{type:i}}=n,m=t((()=>{const e=o[i];if(!e)throw new r(-9,`Unknown filter field type: "${i}", please check the type of "${f}" field.`);return e}),[f,i]);return e(m,{...n})}export{n as default};
3
+ /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -0,0 +1,15 @@
1
+ import type { ObjectType, StringKey } from "@vef-framework/shared";
2
+ import { type FormItemProps } from "antd";
3
+ import type { FilterItem } from "../types";
4
+ /**
5
+ * The props of the filter item.
6
+ */
7
+ export interface VefFilterItemProps<T extends ObjectType, K extends StringKey<T>> extends Pick<FormItemProps, "layout" | "labelAlign" | "labelCol"> {
8
+ /**
9
+ * The item of the filter.
10
+ */
11
+ item: FilterItem<T, K>;
12
+ }
13
+ declare function VefFilterItemBase<T extends ObjectType, K extends StringKey<T>>({ item: { name, show, disabled, label, tip, required, width, advanced, span: _, virtual: __, ...componentProps }, ...restProps }: VefFilterItemProps<T, K>): import("@emotion/react/jsx-runtime").JSX.Element | null;
14
+ declare const VefFilterItem: typeof VefFilterItemBase;
15
+ export default VefFilterItem;
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import{jsx as e}from"@emotion/react/jsx-runtime";import{useContextDisabled as r}from"@vef-framework/hooks";import{Form as a}from"antd";import{isEqual as t,omit as l}from"@vef-framework/shared";import{useMemo as o,memo as i}from"react";import{useComputedValues as u}from"../hooks/use-computed-values.js";import m from"./filter-field.js";const{Item:d}=a;const s=i((function({item:{name:a,show:t,disabled:l,label:i,tip:s,required:f,width:n,advanced:p=!1,span:w,virtual:c,...h},...k}){const V=r(),[b,v,y,j,q,x]=u([{key:"show",rawValue:t,defaultValue:!0},{key:"disabled",rawValue:l,defaultValue:!1},{key:"label",rawValue:i},{key:"tip",rawValue:s},{key:"required",rawValue:f,defaultValue:!1},{key:"width",rawValue:n,defaultValue:i?220:180}]),I=o((()=>{if(q)return[{required:!0}]}),[q]),P=o((()=>{if(!p)return{width:x}}),[p,x]);return b?e(d,{css:P,help:!1,label:y,name:a,preserve:!1,rules:I,tooltip:j,...k,children:e(m,{componentProps:h,disabled:V||v,label:y,name:a})}):null}),((e,r)=>t(l(e,["item"]),l(r,["item"]))));export{s as default};
3
+ /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -0,0 +1,12 @@
1
+ import { type Consumer, type ObjectType } from "@vef-framework/shared";
2
+ import type { FilterValues } from "./types";
3
+ export declare class FilterEventBus<T extends ObjectType = any> {
4
+ #private;
5
+ clear(): void;
6
+ onChange(handler: Consumer<FilterValues<T>>): void;
7
+ offChange(handler: Consumer<FilterValues<T>>): void;
8
+ emitChange(value: FilterValues<T>): void;
9
+ onSubmitResult(handler: Consumer<boolean>): void;
10
+ offSubmitResult(handler: Consumer<boolean>): void;
11
+ emitSubmitResult(value: boolean): void;
12
+ }
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import{createEventEmitter as e}from"@vef-framework/shared";var t,a=e=>{throw TypeError(e)},o=(e,t,o)=>(((e,t,o)=>{t.has(e)||a("Cannot "+o)})(e,t,"read from private field"),o?o.call(e):t.get(e));const s=Symbol("change"),r=Symbol("submitResult");class i{constructor(){var o,s,r;o=this,s=t,r=e(),s.has(o)?a("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(o):s.set(o,r)}clear(){o(this,t).all.clear()}onChange(e){o(this,t).on(s,e)}offChange(e){o(this,t).off(s,e)}emitChange(e){o(this,t).emit(s,e)}onSubmitResult(e){o(this,t).on(r,e)}offSubmitResult(e){o(this,t).off(r,e)}emitSubmitResult(e){o(this,t).emit(r,e)}}t=new WeakMap;export{i as FilterEventBus};
3
+ /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -0,0 +1,10 @@
1
+ import { type MaybeUndefined, type ObjectType } from "@vef-framework/shared";
2
+ import type { FilterComputedType } from "./types";
3
+ /**
4
+ * Decide the value with default value.
5
+ *
6
+ * @param value - The value to decide.
7
+ * @param values - The filter values.
8
+ * @param defaultValue - The default value to use if value is undefined.
9
+ */
10
+ export declare function computeValue<Values extends ObjectType, ComputedValue>(value: MaybeUndefined<FilterComputedType<Values, ComputedValue>>, values: Values, defaultValue: ComputedValue): ComputedValue;
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import{isFunction as r,isExpression as e,compileDynamicFn as n}from"@vef-framework/shared";function t(t,f,o){if(r(t))return t(f);if(e(t)){return n(t,"values",`return ${t.expression}`)(f)}return t??o}export{t as computeValue};
3
+ /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -0,0 +1,20 @@
1
+ import type { FormProps } from "antd";
2
+ import { type Handler, type Mapper, type ObjectType } from "@vef-framework/shared";
3
+ import type { VefFilterProps } from "../props";
4
+ import type { FilterSchema, FilterVirtualKeys } from "../types";
5
+ type ConfirmFailedHandler<T extends ObjectType> = NonNullable<FormProps<T>["onFinishFailed"]>;
6
+ /**
7
+ * The hook for handling the action handlers of the filter.
8
+ *
9
+ * @param props - The props of the filter.
10
+ * @param props.onBeforeConfirm - The callback function before the filter is confirmed.
11
+ * @param props.onConfirm - The callback function when the filter is confirmed.
12
+ * @param props.onReset - The callback function when the filter is reset.
13
+ * @returns The action handlers of the filter.
14
+ */
15
+ export declare function useActionHandlers<Values extends ObjectType, Schema extends FilterSchema<Values>, VirtualKeys extends FilterVirtualKeys<Schema>>({ onBeforeConfirm, onConfirm, onReset, }: Pick<VefFilterProps<Values, Schema, VirtualKeys>, "onBeforeConfirm" | "onConfirm" | "onReset">): {
16
+ handleReset: Handler;
17
+ handleConfirm?: Mapper<Values, Promise<void>>;
18
+ handleConfirmFailed: ConfirmFailedHandler<Values>;
19
+ };
20
+ export {};
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import{isFunction as e,omit as t,showWarningMessage as r}from"@vef-framework/shared";import{useCallback as i,useMemo as n}from"react";import{useFilterStore as o}from"../store.js";function a({onBeforeConfirm:a,onConfirm:s,onReset:l}){const[m,f,u,d,h,c,C]=o((e=>[e.form,e.eventBus,e.getValues,e.initialValues,e.invokeValueChangeHandlers,e.virtualFieldNames,e.setIsLoading]));return{handleReset:i((()=>{const e=u();m.resetFields(),h(),f.emitChange(d),l?.(e)}),[f,m,u,d,h,l]),handleConfirm:n((()=>{if(e(s))return async r=>{C(!0);let i=r;try{e(a)&&(i=await a(i));const r=t(i,c);await s(r),f.emitSubmitResult(!0)}catch(e){throw f.emitSubmitResult(!1),e}finally{C(!1)}}}),[a,s,f,C,c]),handleConfirmFailed:i((({errorFields:e})=>{f.emitSubmitResult(!1),e.length>0&&r(e.flatMap((e=>e.errors)).join(", "))}),[f])}}export{a as useActionHandlers};
3
+ /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -0,0 +1,42 @@
1
+ import { type ObjectType } from "@vef-framework/shared";
2
+ import type { FilterComputedType } from "../types";
3
+ type ExtractValueType<T> = T extends {
4
+ rawValue: FilterComputedType<any, infer ComputedValue>;
5
+ } ? T extends {
6
+ defaultValue: NonNullable<ComputedValue>;
7
+ } ? NonNullable<ComputedValue> : ComputedValue : never;
8
+ type ComputedValueTuple<T extends ReadonlyArray<ComputedValue<any, unknown>>> = {
9
+ [K in keyof T]: ExtractValueType<T[K]>;
10
+ };
11
+ type ComputedValueRecord<T extends ReadonlyArray<ComputedValue<any, unknown>>> = {
12
+ [K in T[number]["key"]]: ExtractValueType<Extract<T[number], {
13
+ key: K;
14
+ }>>;
15
+ };
16
+ type ComputedValueResult<A extends ReadonlyArray<ComputedValue<any, unknown>>, R extends boolean> = R extends true ? ComputedValueRecord<A> : ComputedValueTuple<A>;
17
+ /**
18
+ * The computed value.
19
+ */
20
+ export interface ComputedValue<Values extends ObjectType, ComputedValue> {
21
+ /**
22
+ * The key of the computed value.
23
+ */
24
+ key: string;
25
+ /**
26
+ * The raw value of the computed value.
27
+ */
28
+ rawValue?: FilterComputedType<Values, ComputedValue>;
29
+ /**
30
+ * The default value of the computed value.
31
+ */
32
+ defaultValue?: ComputedValue;
33
+ }
34
+ /**
35
+ * Use the computed values.
36
+ *
37
+ * @param values The computed values.
38
+ * @param returnAsObject Whether to return the computed values as an object.
39
+ * @returns The computed values.
40
+ */
41
+ export declare function useComputedValues<Values extends ObjectType, T extends ReadonlyArray<ComputedValue<any, unknown>>, R extends boolean = false>(values: T, returnAsObject?: R): ComputedValueResult<T, R>;
42
+ export {};
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import{useUpdate as e,useDeepCompareMemo as r,useDeepCompareLayoutEffect as o}from"@vef-framework/hooks";import{isFunctionOrExpression as t,isEqual as a}from"@vef-framework/shared";import{computeValue as f}from"../helper.js";import{useFilterStore as n}from"../store.js";function u(u,s=!1){const[l,m]=n((e=>[e.eventBus,e.getValues])),c=e(),i=m(),k=r((()=>u.reduce(((e,r)=>{const{key:o,rawValue:t,defaultValue:a}=r,n=f(t,i,a);return e[o]=n,e}),{})),[i,u]);return o((()=>{const e=u.filter((({rawValue:e})=>t(e)));if(e.length>0){const r=r=>{for(const o of e){const{key:e,rawValue:t,defaultValue:n}=o,u=k[e],s=f(t,r,n);if(!a(s,u)){c();break}}};return l.onChange(r),()=>{l.offChange(r)}}}),[k,l,c,u]),s?u.reduce(((e,{key:r})=>(e[r]=k[r],e)),{}):u.map((({key:e})=>k[e]))}export{u as useComputedValues};
3
+ /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -0,0 +1,8 @@
1
+ import type { InternalFilterContext } from "../types";
2
+ declare const FilterContextProvider: import("react").ComponentType<{
3
+ value: InternalFilterContext;
4
+ children: import("react").ReactNode;
5
+ }>;
6
+ declare const useFilterContextSelector: <R>(selector: import("@vef-framework/shared").Mapper<InternalFilterContext, R>) => R;
7
+ declare const useFilterContext: import("@vef-framework/shared").Provider<InternalFilterContext>;
8
+ export { FilterContextProvider, useFilterContext, useFilterContextSelector, };
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import{createSelectableContext as e,noop as o}from"@vef-framework/shared";const{useContextSelector:t,useContext:r,ContextProvider:l}=e({labelPosition:"top",labelAlign:"right",externalLoading:!1,showCollapseButton:!1,handleReset:o}),n=t,a=r;export{l as FilterContextProvider,a as useFilterContext,n as useFilterContextSelector};
3
+ /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */
@@ -0,0 +1,7 @@
1
+ import type { BiConsumer, MaybeNull, ObjectType, StringKey } from "@vef-framework/shared";
2
+ import type { FilterContext, FilterItem } from "../types";
3
+ export declare function useFilterInitialization<Values extends ObjectType, Schema extends ReadonlyArray<FilterItem<Values>>>(schema: Schema, initialValues?: Partial<Values>): {
4
+ mergedInitialValues: Partial<Values>;
5
+ valueChangeHandlers: Record<StringKey<Values>, BiConsumer<MaybeNull<Values[StringKey<Values>]>, FilterContext<Values>>>;
6
+ virtualFieldNames: StringKey<Values>[];
7
+ };
@@ -0,0 +1,3 @@
1
+ /*! VefFramework version: 1.0.5, build time: 2024-12-10T10:24:47.065Z, made by Venus. */
2
+ import{isNullish as e,isFunction as r}from"@vef-framework/shared";import{useMemo as a}from"react";function t(t,n){return a((()=>{const a={...n},o={},u=[];for(const n of t){const{name:t,onChange:l,defaultValue:f,virtual:i}=n;!e(f)&&e(a[t])&&(a[t]=f),r(l)&&(o[t]=l),!0===i&&u.push(t)}return{mergedInitialValues:a,valueChangeHandlers:o,virtualFieldNames:u}}),[])}export{t as useFilterInitialization};
3
+ /*! VefFramework is a blazingly high-level, modern, flexible, easy-to-use UI framework made by Venus. Follow me on Github: https://github.com/ilxqx! @ilxqx */